Introducing opencode-plugin-peers: local cross-session messaging for OpenCode #14
jkrandom-sudo
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What it does
opencode-plugin-peerslets independent OpenCode sessions on the same machine discover each other and exchange plain-text messages. It is useful when you run multiple terminals, repositories, or worktrees in parallel and want sessions to hand off conclusions without copying and pasting context.Highlights
list_agentsor/peerssend_message, including while the target session is busyaccept,auto,hold, orrefuseInstall
Requires OpenCode 1.18.0 or later. Current npm release:
0.2.1.Security note
Peer messages are untrusted input. Same-machine processes running as your user share the local trust boundary. For sensitive projects, consider
peerPermissions: "ask"andinboundPolicy: "hold"or"refuse"instead of automatic handling. See the README for the full security model.Feedback wanted
I would especially value feedback on:
If you try it, please share your OpenCode version, operating system, and workflow when reporting an issue.
All reactions