r/opencodeCLI • • 8d ago

I built an OpenCode V2 plugin so sessions can message each other

When I run two OpenCode sessions in parallel, I end up copying questions and handoff notes between tabs. I built Session Comms to send those directly.

Say one session is implementing a change and another is reviewing it. Open /session-comms, pick the reviewer, and ask about an edge case. The reviewer can reply to that specific request. You can also hand off a short summary and a next task.

Both sessions need to be on the same OpenCode server. There is no separate broker.

Install: opencode plugin add opencode-session-comms Source and docs: https://github.com/giannisCKS/opencode-session-comms

This is the first release. If you work across multiple sessions, I’d like to hear what you still end up copying between them.

8 Upvotes

7 comments sorted by

5

u/taytay735 8d ago

This is a little similar to https://github.com/kernel-oops/opencode-session-tools, which has inter-session message passing, as well as session indexing and recall

1

u/Praistaly 4d ago

oh nice, Does that one also work without needing a separate broker?

1

u/taytay735 4d ago

Broker? I don’t quite understand, but it doesn’t need launching a separate process - it seems to just go through the opencode server.

1

u/hieuphung97 8d ago

Failing test traces are the biggest pain. Whenever one session runs the suite and another tries to fix it, I keep manually copying the assertion error and uncommitted git diffs across tabs. Definitely starring this to test on our multi-session setup.

1

u/Amarsir 8d ago

I built my own external service that also messages me on Telegram if attention is needed. But yours might be smoother.

1

u/gandazgul 8d ago

Genuine question. I've built and use daily an open source coding harness (https://github.com/RunWield/runwield) what is the use case for 2 sessions talking to each other?