opencode
opencode copied to clipboard
fix: clarify edit/write success in diagnostics output
Summary
- clarify that edit/write succeeded even when LSP diagnostics are reported, so agents do not misread errors as failed changes
- keep output minimal to align with the "no problems - no output" philosophy by only adding the line when diagnostics exist
- a universal success line for all tools could be a cleaner long-term approach but would likely be noisier
Fixes #9102
Testing
- manual: local tool invocation via bun -e
Thanks for your contribution!
This PR doesn't have a linked issue. All PRs must reference an existing issue.
Please:
- Open an issue describing the bug/feature (if one doesn't exist)
- Add
Fixes #<number>orCloses #<number>to this PR description
See CONTRIBUTING.md for details.