anomalyco / anomalyco/opencode

ACP Fails miserably when there's another session elsewhere

Open
#39,390 1 comment 0 reactions 1 assignee View on GitHub

@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
  1. launch opencode acp --pure and leave it running
  2. 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
Image
Operating System

macos 15.7.7

Terminal

zed term, ghostty

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.