diff options
| author | Eddie Santos <[email protected]> | 2025-06-09 16:01:06 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-09 16:01:06 -0700 |
| commit | 6484dc9008448637ebdebd21f83d876aaac127c8 (patch) | |
| tree | 2787f9d14a35ae8ac1a545034ffc472cb2352684 /packages/cli/src/ui/components/messages/ToolConfirmationMessage.tsx | |
| parent | 5c9e526f0e967afe75c4948e4b077db286f626f2 (diff) | |
Add Windsurf in edit tool to modify changes, if installed (#853)
Diffstat (limited to 'packages/cli/src/ui/components/messages/ToolConfirmationMessage.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/messages/ToolConfirmationMessage.tsx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/cli/src/ui/components/messages/ToolConfirmationMessage.tsx b/packages/cli/src/ui/components/messages/ToolConfirmationMessage.tsx index c46d36f7..af9aba6a 100644 --- a/packages/cli/src/ui/components/messages/ToolConfirmationMessage.tsx +++ b/packages/cli/src/ui/components/messages/ToolConfirmationMessage.tsx @@ -98,6 +98,24 @@ export const ToolConfirmationMessage: React.FC< }); } + if ( + checkHasEditor('windsurf') && + notUsingSandbox && + externalEditorsEnabled + ) { + options.push({ + label: 'Modify with Windsurf', + value: ToolConfirmationOutcome.ModifyWindsurf, + }); + } + + if (checkHasEditor('cursor') && notUsingSandbox && externalEditorsEnabled) { + options.push({ + label: 'Modify with Cursor', + value: ToolConfirmationOutcome.ModifyCursor, + }); + } + if (checkHasEditor('vim') && externalEditorsEnabled) { options.push({ label: 'Modify with vim', |
