From 9efca40dae2e75477af1a20df4e3e65bf8dfe93d Mon Sep 17 00:00:00 2001 From: Leo <45218470+ngleo@users.noreply.github.com> Date: Sun, 8 Jun 2025 18:56:58 +0100 Subject: feat: Add flow to allow modifying edits during edit tool call (#808) --- packages/core/src/tools/tools.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/core/src/tools/tools.ts') diff --git a/packages/core/src/tools/tools.ts b/packages/core/src/tools/tools.ts index 1b932229..6a1be9c9 100644 --- a/packages/core/src/tools/tools.ts +++ b/packages/core/src/tools/tools.ts @@ -202,6 +202,7 @@ export interface ToolEditConfirmationDetails { onConfirm: (outcome: ToolConfirmationOutcome) => Promise; fileName: string; fileDiff: string; + isModifying?: boolean; } export interface ToolExecuteConfirmationDetails { @@ -231,5 +232,7 @@ export enum ToolConfirmationOutcome { ProceedAlways = 'proceed_always', ProceedAlwaysServer = 'proceed_always_server', ProceedAlwaysTool = 'proceed_always_tool', + ModifyVSCode = 'modify_vscode', + ModifyVim = 'modify_vim', Cancel = 'cancel', } -- cgit v1.2.3