diff options
| author | Olcan <[email protected]> | 2025-04-25 14:05:58 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-25 14:05:58 -0700 |
| commit | 7087c0508ea9260abaa31b0cd8f206d3b11cf21b (patch) | |
| tree | 748adf1d30936ec421306bf4ad3664728011269d /packages/server/src/tools/terminal.ts | |
| parent | 1a64268bb058049d94a9265c839265607606ec88 (diff) | |
more consistent confirmations, TODO to improve write confirmations, drop "description" from execution confirmation, add confirmation to new (still dummy) shell tool (#176)
Diffstat (limited to 'packages/server/src/tools/terminal.ts')
| -rw-r--r-- | packages/server/src/tools/terminal.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/server/src/tools/terminal.ts b/packages/server/src/tools/terminal.ts index 0d5c3d96..64b8e652 100644 --- a/packages/server/src/tools/terminal.ts +++ b/packages/server/src/tools/terminal.ts @@ -253,12 +253,10 @@ Use this tool for running build steps (\`npm install\`, \`make\`), linters (\`es if (this.shouldAlwaysExecuteCommands.get(rootCommand)) { return false; } - const description = this.getDescription(params); const confirmationDetails: ToolExecuteConfirmationDetails = { title: 'Confirm Shell Command', command: params.command, rootCommand, - description: `Execute in '${this.currentCwd}':\n${description}`, onConfirm: async (outcome: ToolConfirmationOutcome) => { if (outcome === ToolConfirmationOutcome.ProceedAlways) { this.shouldAlwaysExecuteCommands.set(rootCommand, true); |
