Add guidance to Bash/terminal tools to prefer edit tools over bash commands for file editing
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
:tada: This issue has been resolved in version 1.29.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.34.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.5.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.6.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: