Skip to content

feat(core): improve edit tool output - #39211

Merged
rekram1-node merged 3 commits into
v2from
edit-output
Jul 28, 2026
Merged

feat(core): improve edit tool output#39211
rekram1-node merged 3 commits into
v2from
edit-output

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • replace the synthetic old/new diff preview with concise replacement-count output
  • report the actual match count when an edit is ambiguous
  • include the target path in no-match failures
  • return specific missing-file and directory errors while preserving existing typed failures

Testing

  • bun test test/tool-edit.test.ts (packages/core)
  • bun typecheck (packages/core)
  • git diff --check

@rekram1-node
rekram1-node merged commit f15398e into v2 Jul 28, 2026
5 of 7 checks passed
@rekram1-node
rekram1-node deleted the edit-output branch July 28, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant