anomalyco / anomalyco/opencode
Two independent OpenCode tabs unexpectedly share state/session
@jlongster is already working on this.
Since Sep 2, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
I had two separate OpenCode tabs open, intended to operate independently. However, actions and state from one tab appeared to synchronize with the other tab. The two tabs behave as though they were connected to the same underlying session/state.
This is unexpected because each tab should maintain its own independent UI/session context.
Expected behavior: Two OpenCode tabs should operate independently, with actions, prompts, and session state isolated per tab/session.
Actual behavior: The tabs appear to share or synchronize state, causing activity in one tab to affect the other.
Plugins
none
OpenCode version
1.18.25
Steps to reproduce
- Close every OpenCode instance.
- Confirm no OpenCode processes remain.
- Open Terminal 1.
- Start OpenCode.
- Create/open Session A.
- Send a distinctive message:
"THIS IS SESSION A TEST 12345" - Open Terminal 2.
- Start a completely separate OpenCode instance.
- Create/open Session B.
- Send:
"THIS IS SESSION B TEST 67890" - Observe whether Session A and Session B remain independent.
Screenshot and/or share link
No response
Operating System
fedora linux 44
Terminal
Terminal
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.