diff options
| author | joshualitt <[email protected]> | 2025-08-06 10:50:02 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-06 17:50:02 +0000 |
| commit | 6133bea388a2de69c71a6be6f1450707f2ce4dfb (patch) | |
| tree | 367de1d618069ea80e47d7e86c4fb8f82ad032a7 /packages/core/src/tools/edit.ts | |
| parent | 882a97aff998b2f19731e9966d135f1db5a59914 (diff) | |
feat(core): Introduce `DeclarativeTool` and `ToolInvocation`. (#5613)
Diffstat (limited to 'packages/core/src/tools/edit.ts')
| -rw-r--r-- | packages/core/src/tools/edit.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/core/src/tools/edit.ts b/packages/core/src/tools/edit.ts index 0d129e42..853ad4c1 100644 --- a/packages/core/src/tools/edit.ts +++ b/packages/core/src/tools/edit.ts @@ -26,7 +26,7 @@ import { Config, ApprovalMode } from '../config/config.js'; import { ensureCorrectEdit } from '../utils/editCorrector.js'; import { DEFAULT_DIFF_OPTIONS } from './diffOptions.js'; import { ReadFileTool } from './read-file.js'; -import { ModifiableTool, ModifyContext } from './modifiable-tool.js'; +import { ModifiableDeclarativeTool, ModifyContext } from './modifiable-tool.js'; /** * Parameters for the Edit tool @@ -72,7 +72,7 @@ interface CalculatedEdit { */ export class EditTool extends BaseTool<EditToolParams, ToolResult> - implements ModifiableTool<EditToolParams> + implements ModifiableDeclarativeTool<EditToolParams> { static readonly Name = 'replace'; |
