anomalyco / anomalyco/opencode
ACP Fails miserably when there's another session elsewhere
Open
@nexxeln is already working on this.
Since Jul 28, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
When there's another opencode session running, opencode acp --print-logs --pure --log-level=DEBUG fails miserably with an error:
Error: Unexpected error
ServeError
Plugins
irrelevant, fails even with --pure on all sessions
OpenCode version
1.18.5
Steps to reproduce
- launch
opencode acp --pureand leave it running - launch another now with logging to see the error
opencode acp --print-logs --pure --log-level=DEBUG
you can also reproduce with an ide like Zed, open two instances with the zed agent (uses acp under the hood)
Screenshot and/or share link
Operating System
macos 15.7.7
Terminal
zed term, ghostty
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.