Skip to content

Opencode returns sessionId for session/load ACP request #14746

@brianhuster

Description

@brianhuster

Description

According to ACP spec, response to session/load requests doesn't have field sessionId

However, opencode still returns sessionId in LoadSessionResponse

Plugins

None

OpenCode version

1.2.10

Steps to reproduce

As I'm using my custom ACP client, it is not straightforward for me to provide it. But you can just read the code. Both loadSession and newSession methods in class Agent call the private method loadSessionMode, which return sessionId for result regardless of whether newSession or loadSession calls it

Screenshot and/or share link

No response

Operating System

Ubuntu 24.04.1

Terminal

No response

Metadata

Metadata

Assignees

Labels

acpbugSomething isn't working

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