refactor(cli): decouple UI from live tool execution via ToolActionsContext (#17183)

This commit is contained in:
Abhi
2026-01-21 16:16:30 -05:00
committed by GitHub
parent dce450b1e8
commit c266b529ae
14 changed files with 561 additions and 79 deletions
@@ -74,6 +74,7 @@ export type SerializableConfirmationDetails =
fileDiff: string;
originalContent: string | null;
newContent: string;
isModifying?: boolean;
}
| {
type: 'exec';
@@ -81,6 +82,7 @@ export type SerializableConfirmationDetails =
command: string;
rootCommand: string;
rootCommands: string[];
commands?: string[];
}
| {
type: 'mcp';