feat: Add flow to allow modifying edits during edit tool call (#808)

This commit is contained in:
Leo
2025-06-08 18:56:58 +01:00
committed by GitHub
parent 584286cfd9
commit 9efca40dae
14 changed files with 520 additions and 6 deletions

View File

@@ -202,6 +202,7 @@ export interface ToolEditConfirmationDetails {
onConfirm: (outcome: ToolConfirmationOutcome) => Promise<void>;
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',
}