ACP session/load does not replay the conversation #3188

Closed
opened 2026-02-16 17:39:02 -05:00 by yindo · 4 comments
Owner

Originally created by @r1bilski on GitHub (Nov 28, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

According to ACP spec:

The Agent MUST replay the entire conversation to the Client in the form of session/update notifications (like session/prompt).

(see https://agentclientprotocol.com/protocol/session-setup#loading-a-session)

Opencode does not replay the conversation, but immediately responds with session/load response.

OpenCode version

v1.0.108 (I'm getting bun segfault on the latest versions so couldn't test it there)

Steps to reproduce

  1. Set up an ACP session with Opencode
  2. Send some messages
  3. Exit the session
  4. Load the session using session/load
  5. See that opencode sends session/load response without replaying the converstation

Small JS repro: https://gist.github.com/r1bilski/9abc7a6e10aef00a011c5bfa91593516
I used JS for the repro, but originally encountered this in Go.

Screenshot and/or share link

No response

Operating System

Alpine Linux edge

Terminal

st

Originally created by @r1bilski on GitHub (Nov 28, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description According to ACP spec: > The Agent MUST replay the entire conversation to the Client in the form of session/update notifications (like session/prompt). (see https://agentclientprotocol.com/protocol/session-setup#loading-a-session) Opencode does not replay the conversation, but immediately responds with `session/load` response. ### OpenCode version v1.0.108 (I'm getting bun segfault on the latest versions so couldn't test it there) ### Steps to reproduce 1. Set up an ACP session with Opencode 2. Send some messages 3. Exit the session 4. Load the session using `session/load` 5. See that opencode sends `session/load` response without replaying the converstation Small JS repro: https://gist.github.com/r1bilski/9abc7a6e10aef00a011c5bfa91593516 I used JS for the repro, but originally encountered this in Go. ### Screenshot and/or share link _No response_ ### Operating System Alpine Linux edge ### Terminal st
yindo added the bug label 2026-02-16 17:39:02 -05:00
yindo closed this issue 2026-02-16 17:39:02 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 28, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4798: acp with Avante seems unresponsive on Darwin (though this appears to be a different issue - empty response rather than missing conversation replay)

However, #4798 is experiencing different symptoms (Avante showing empty response on macOS) and may or may not be related to this protocol compliance issue. Feel free to close this as a duplicate if it turns out they're the same root cause.

@github-actions[bot] commented on GitHub (Nov 28, 2025): This issue might be a duplicate of existing issues. Please check: - #4798: acp with Avante seems unresponsive on Darwin (though this appears to be a different issue - empty response rather than missing conversation replay) However, #4798 is experiencing different symptoms (Avante showing empty response on macOS) and may or may not be related to this protocol compliance issue. Feel free to close this as a duplicate if it turns out they're the same root cause.
Author
Owner

@r1bilski commented on GitHub (Nov 30, 2025):

@rekram1-node is this something you'd be open to contributions for? If yes, I'd gladly try tackling this. I'm guessing this shouldn't be that hard to do.

@r1bilski commented on GitHub (Nov 30, 2025): @rekram1-node is this something you'd be open to contributions for? If yes, I'd gladly try tackling this. I'm guessing this shouldn't be that hard to do.
Author
Owner

@rekram1-node commented on GitHub (Nov 30, 2025):

sure thing yeah thatd be great the acp stuff needs to be cleaned up anyways

@rekram1-node commented on GitHub (Nov 30, 2025): sure thing yeah thatd be great the acp stuff needs to be cleaned up anyways
Author
Owner

@r1bilski commented on GitHub (Dec 5, 2025):

Just FYI since I declared that I'd try working on it: right now I'm unable to work on this, since I get the bun seg fault on the latest dev branch.

@r1bilski commented on GitHub (Dec 5, 2025): Just FYI since I declared that I'd try working on it: right now I'm unable to work on this, since I get the bun seg fault on the latest dev branch.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3188