-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
area:toolsRelates to tool usageRelates to tool usagekind:enhancementIndicates a new feature request, imrovement, or extensionIndicates a new feature request, imrovement, or extensionreleased
Description
Problem
Agents using the Bash/terminal command tools sometimes make mass edits using shell scripts or commands (e.g., sed, awk, perl). These can have unintended side effects or introduce syntax errors.
See example: https://github.com/continuedev/remote-config-server/pull/1554/commits/fcfaa32e864137006d30c11527643aa837ad2158
Solution
Add brief sentences to both the CLI and core terminal command tool descriptions that if edit tools are available (Edit, MultiEdit, etc.), those should be used instead of bash commands for editing files.
Files to Update
extensions/cli/src/tools/runTerminalCommand.tscore/tools/definitions/runTerminalCommand.ts
Context
Related Slack thread: https://continuedev.slack.com/archives/C07A4MCH5JT/p1762822903683309?thread_ts=1762819880.628269&cid=C07A4MCH5JT
Metadata
Metadata
Assignees
Labels
area:toolsRelates to tool usageRelates to tool usagekind:enhancementIndicates a new feature request, imrovement, or extensionIndicates a new feature request, imrovement, or extensionreleased
Type
Projects
Status
Done