Environment
- OS: macOS (Apple Silicon M2)
- Warp version: [Get exact version from Warp > About Warp]
- OpenCode version:
1.14.30
- Plugin @warp-dot-dev/opencode-warp:
0.1.5
- Shell: zsh
Description
The @warp-dot-dev/opencode-warp plugin initializes correctly (log shows Warp plugin initialized), but it doesn't appear to send notifications via OSC 777 escape sequences when OpenCode events are triggered.
Timing issue note: The Warp plugin initialized log appears AFTER session.created event is already published, which might cause the plugin to miss early events.
Expected Behavior
session.created notification on OpenCode startup
session.idle notification when a task completes (with summary)
permission.asked notification when a bash permission is requested
Observed Behavior
No Warp notifications appear, neither in the Warp notification center nor as system notifications.
OpenCode Logs (excerpts)
INFO service=opencode-warp Warp plugin initialized
INFO service=bus type=session.created publishing
INFO service=bus type=session.idle publishing
No errors, but no activity related to sending OSC 777 notifications.
Reproduction Steps
- Install the plugin:
npm install -g @warp-dot-dev/opencode-warp
- Add it to config:
opencode plugin @warp-dot-dev/opencode-warp
- Launch OpenCode in Warp
- Execute a simple task: "say hello to me"
- Observe that no Warp notification appears when the task completes
- Test OSC 777 manually in Warp:
echo -e "\\033]777;warp:notification;{\"title\":\"Test\",\"message\":\"Test\"}\\033\\\\"
(Nothing displays, possibly zsh syntax issue or OSC 777 support problem)
opencode.json config
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@warp-dot-dev/opencode-warp"],
"permission": {
"bash": {
"kill*": "ask",
"pkill*": "ask",
"killall*": "ask"
}
}
}
Additional Notes
- Native Warp integration (vertical tabs, code review, rich input) works perfectly.
- Manual OSC 777 test with
echo -e in Warp displays nothing.
- The plugin loads without errors but doesn't seem to react to OpenCode bus events.
Environment
1.14.300.1.5Description
The
@warp-dot-dev/opencode-warpplugin initializes correctly (log showsWarp plugin initialized), but it doesn't appear to send notifications via OSC 777 escape sequences when OpenCode events are triggered.Timing issue note: The
Warp plugin initializedlog appears AFTERsession.createdevent is already published, which might cause the plugin to miss early events.Expected Behavior
session.creatednotification on OpenCode startupsession.idlenotification when a task completes (with summary)permission.askednotification when a bash permission is requestedObserved Behavior
No Warp notifications appear, neither in the Warp notification center nor as system notifications.
OpenCode Logs (excerpts)
No errors, but no activity related to sending OSC 777 notifications.
Reproduction Steps
opencode.json config
{ "$schema": "https://opencode.ai/config.json", "plugin": ["@warp-dot-dev/opencode-warp"], "permission": { "bash": { "kill*": "ask", "pkill*": "ask", "killall*": "ask" } } }Additional Notes
echo -ein Warp displays nothing.