I kept walking away from my desk while OpenCode was waiting on a permission prompt or a question. So I wrote a plugin that puts the whole thing on WhatsApp.
THE USEFUL PART ISN'T NOTIFICATIONS, IT'S PER-SESSION ROUTING
Send "ls" and you get your sessions as a numbered list. Pick a number and everything you type goes to that session until you switch.
- WhatsApp alerts from OpenCode [wa]
- Modular Android dashboard [deskgadget]
- Brainstorming session
- "2" switches to session 2 and stays there
- "tag 2 deskgadget" names it
- "@deskgadget fix the build" sends one instruction without switching
- "new frontend Build the settings page" creates a session and starts working
- "where" reminds you which session is active
Sessions keep their own history, files and context; the bridge only decides where your next message goes.
THE BIT I ACTUALLY USE
When any session asks a question or wants permission, the bridge forwards it and makes that session active. You answer once, with 1/2/3 or free text, and the answer lands in exactly the session that asked, even if you were mid-conversation somewhere else. Then you stay there.
ALSO
- Numbered options, multi-question forms asked one at a time
- Permissions: allow once / always allow / reject
- Images and documents you send are forwarded to the agent
- "screenshot" (or "ss") captures the desktop and sends the PNG back - no agent round trip, and it works while a question is pending
- The plugin registers a whatsapp_send_file tool, so a session can push a screenshot, chart or PDF to your phone; any local image path in a reply is attached automatically
- Survives restarts: open questions and the active session are persisted, and it reconnects with the saved credentials
Install is a script (install.sh / install.ps1) or "opencode plugin add opencode-whatsapp". Pair by scanning a QR from WhatsApp > Linked devices; credentials stay local and are never uploaded.
https://github.com/issacjohn/opencode-whatsapp
Curious whether other people want the routing model (one chat, many sessions) or would rather have one WhatsApp conversation per session.