opencode
opencode copied to clipboard
ACP `session/load` does not replay the conversation
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
- Set up an ACP session with Opencode
- Send some messages
- Exit the session
- Load the session using
session/load - See that opencode sends
session/loadresponse 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