-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feat: edit tools descriptions tweaks and read real path #7619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4 issues found across 8 files
React with 👍 or 👎 to teach cubic. You can also tag @cubic-dev-ai to give feedback, ask questions, or re-run the review.
|
💡 To request a new review, comment |
|
🎉 This PR is included in version 1.13.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
A close reading of the edit tools' descriptions warranted several updates. This PR cleans up the edit tools' descriptions
Also, updates read tool and edit tool reads to use fs.realpathSync to reduce false positives on the
has file been readfuncitonalityNote diff is a bit mangled in descriptions but generally didn't remove much, just enhanced. Most of the removed lines in this PR are just whitespace
Summary by cubic
Unifies and simplifies the Edit, MultiEdit, and SingleFindAndReplace tool prompts across core and CLI to reduce failed edits and make behavior consistent. Emphasizes “read before edit,” atomic multi-edits, exact whitespace matching, and clear replace_all guidance.