opencode-osc9
v0.1.1
Published
opencode plugin to send system notification via OSC 9
Downloads
35
Maintainers
Readme
opencode-osc9
A zero-dependency opencode plugin that sends desktop notifications via OSC 9 escape sequences when tasks complete.
Works with any terminal that supports OSC 9, including Ghostty, iTerm2, kitty, WezTerm, and others.
Install
Add "opencode-osc9" to the plugins array in your opencode config (usually ~/.config/opencode/opencode.jsonc):
{
"plugin": ["opencode-osc9@latest"]
}Try it
You can test OSC 9 support in your terminal by running the included try.ts:
[!TIP] Most terminals won't fire a notification if the window is focused so a 3 second delay is baked into the
try.tsscript to give you time to change app focus.
# bun
bun try.ts
# node (v24+)
node try.ts