@markarranz/opencode-focus-notifyDesktop notifications for OpenCode with click-to-focus via OSC 99
0
11
2 in 7 days
17.6
Multi-signal model
5 months ago
2026-03-04
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@markarranz/opencode-focus-notify@1.0.1"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@markarranz/opencode-focus-notify@1.0.1"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D @markarranz/opencode-focus-notifyopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
Desktop notifications for OpenCode with click-to-focus for kitty terminal.
Install
npm install @markarranz/opencode-focus-notify
Prerequisites
- macOS (notifications use
terminal-notifier) - kitty terminal emulator
- terminal-notifier:
brew install terminal-notifier
Features
- Native macOS notifications for OpenCode events (idle, error, permission, question)
- Per-event notification sounds
- Click a notification to focus the exact kitty window/tab via
kitten @ focus-window - 350ms debounce on idle events
License
MIT