Skip to content

fix: add sessionId to UnstableCreateElicitationForm and UnstableCreateElicitationUrl - #51

Open
monsterxx03 wants to merge 1 commit into
coder:mainfrom
monsterxx03:fix/elicitation-sessionid
Open

fix: add sessionId to UnstableCreateElicitationForm and UnstableCreateElicitationUrl#51
monsterxx03 wants to merge 1 commit into
coder:mainfrom
monsterxx03:fix/elicitation-sessionid

Conversation

@monsterxx03

Copy link
Copy Markdown

Zed recently enabled ACP elicitations by default zed-industries/zed#60749, removing the beta feature flag that previously gated them. As part of this change, elicitation requests in
the ACP protocol are scoped by sessionId — the session the elicitation is tied to.

However, the UnstableCreateElicitationForm and UnstableCreateElicitationUrl types in acp-go-sdk were missing the sessionId field, making it impossible for Go-based ACP agents to correctly handle or
emit session-scoped elicitation requests that clients like Zed now expect.

This PR adds the optional sessionId field to both elicitation variant types and the corresponding JSON schema, aligning the Go SDK with the protocol shape used by Zed and other conforming ACP clients.

@monsterxx03
monsterxx03 force-pushed the fix/elicitation-sessionid branch from d17da56 to d43b1a0 Compare July 23, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant