@whisperopencode/push
v0.3.0
Published
Push notification plugin for [opencode](https://github.com/nicholasgrass/opencode). Sends mobile alerts when long-running sessions complete.
Readme
@whisperopencode/push
Push notification plugin for opencode. Sends mobile alerts when long-running sessions complete.
Install
npm install @whisperopencode/pushCLI usage
opencode-push <install|pair|status|test|unpair|devices|remove-device> [--pair <token>] [--relay <url>] [--server <label>] [--plugin <spec>] [--device <id>] [--json]Pair with a mobile device:
npx --yes --prefix . --package=@whisperopencode/push opencode-push pair --pair <token>opencode-push pair only claims the relay pair token and writes the local push state used by the host plugin.
opencode-push install is the manual all-in-one command. It writes an unpinned @whisperopencode/push entry to your OpenCode config so the host can track the latest plugin release, and it also accepts --pair <token> for backward compatibility. Pass --plugin <spec> if you want to pin a version instead.
Plugin usage
Add to your opencode config:
{
"plugin": ["@whisperopencode/push"],
}The plugin checks in with the relay on startup and publishes events when sessions complete.
License
MIT
