Commit 5bf5771
refactor: migrate str-replace handler to agent-runtime package
Moved backend/src/tools/handlers/tool/str-replace.ts to packages/agent-runtime/src/tools/handlers/tool/str-replace.ts following the agent-runtime migration plan.
Changes:
- Moved str-replace handler to agent-runtime package
- Updated imports to use relative paths within agent-runtime
- Updated backend/src/tools/handlers/list.ts to import from @codebuff/agent-runtime
- All type checks passed
- All tests passed in both backend and agent-runtime
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>1 parent 2183847 commit 5bf5771
File tree
2 files changed
+9
-5
lines changed- backend/src/tools/handlers
- packages/agent-runtime/src/tools/handlers/tool
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | | - | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
| 7 | + | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
7 | | - | |
8 | | - | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
0 commit comments