opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: clarify edit/write success in diagnostics output

Open Lyapsus opened this issue 2 weeks ago • 1 comments

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

Lyapsus avatar Jan 04 '26 17:01 Lyapsus

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

github-actions[bot] avatar Jan 15 '26 11:01 github-actions[bot]