[PR #6755] feat(cli): emit OSC 9 notifications for responses #12087

Open
opened 2026-02-16 18:17:01 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6755

State: open
Merged: No


Summary

  • emit OSC 9 notifications when assistant messages complete in TUI and opencode run
  • share OSC 9 formatting/preview helper with tmux passthrough and safe truncation
  • cache text parts to build notification previews and avoid JSON/piped output
  • align OpenCode notifications with Codex/Claude Code behavior

Testing

image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6755 **State:** open **Merged:** No --- ## Summary - emit OSC 9 notifications when assistant messages complete in TUI and `opencode run` - share OSC 9 formatting/preview helper with tmux passthrough and safe truncation - cache text parts to build notification previews and avoid JSON/piped output - align OpenCode notifications with Codex/Claude Code behavior ## Testing <img width="421" height="191" alt="image" src="https://github.com/user-attachments/assets/32bbb7b1-6703-4897-b4d3-c4b17b54c3b7" />
yindo added the pull-request label 2026-02-16 18:17:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12087