Skip to content

ACP: messages are duplicated #21910

@ask4fusora

Description

@ask4fusora

Description

I used opencode acp on Windows, and when I send a message, either the response gets duplicated, or the request gets duplicated.
I deduced this is an OpenCode problem because this wasn't reproducible with other ACPs such as Gemini CLI, Copilot CLI.
The duplication is really weird, on VSCode (VSCode ACP extension), the response gets duplicated. On Zed Editor, the request gets duplicated. On JetBrains Idea, the request gets duplicated but prepend to the response.

Plugins

None

OpenCode version

1.4.3

Steps to reproduce

  1. Connect to a code editor with opencode acp.
  2. Try sending a message.
  3. See the response.

Screenshot and/or share link

Image Image Image

Operating System

Windows 11

Terminal

No response

Metadata

Metadata

Assignees

Labels

acpbugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)windows

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions