Add Windsurf in edit tool to modify changes, if installed (#853)

This commit is contained in:
Eddie Santos
2025-06-09 16:01:06 -07:00
committed by GitHub
parent 5c9e526f0e
commit 6484dc9008
6 changed files with 92 additions and 15 deletions

View File

@@ -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',