You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Target ACP schema 1.20.0 (acp.SchemaVersion = "1.20.0"), walking from 1.13.7 through 1.14.0–1.20.0 (#101).
Stable boolean session config options (schema 1.18.0): clients opt in via ClientCapabilities.Session.ConfigOptions.Boolean using the new ClientSessionCapabilities, SessionConfigOptionsCapabilities, and BooleanConfigOptionCapabilities types; agents may then send SessionConfigOption.Boolean (#101).
Stable $/cancel_request (schema 1.17.0): CancelRequestNotification and ErrorCode.RequestCancelled for code -32800 (#101).
Typed acp.TerminalId and acp.AuthMethodId (schema 1.14.0) (#101).
Unstable: ToolCall.Name / ToolCallUpdate.Name, descriptions on elicitation enum options, and open Other variants on unstable elicitation request/response unions (#101).
example/agent now offers a model select and a web_search boolean option (the latter only to clients that advertise the capability) and implements session/set_config_option; example/client advertises the boolean capability and prints each option (#101).
Changed
Broader lenient decoding (schema 1.17.0): properties with x-deserialize-default-on-error went from 38 to 204, including _meta on ~100 types — malformed values at those sites now decode as the default instead of failing the whole message (#101).
ErrorCode decodes -32800 as RequestCancelled instead of Other; unstable elicitation unknown mode/action decode into Other instead of failing (#101).
Fixed
example/agent: Cancel no longer races with Prompt — the cancel func is read under the session mutex and invoked after unlock (exposed by TestExampleAgent_CancelDuringPrompts under -race) (#101).
Removed
Unstable aliases that have now stabilized: UnstableCancelRequestNotification, UnstableSessionConfigOption, UnstableSessionConfigOptionSelect, UnstableSessionConfigOptionBoolean, UnstableSessionConfigBoolean, NewUnstableSessionConfigOptionSelect, NewUnstableSessionConfigOptionBoolean (#101).
Unstable elicitation constructors (NewUnstableCreateElicitationRequest{FormSession,FormRequest,UrlSession,UrlRequest}, NewUnstableCreateElicitationResponse{Accept,Decline,Cancel}) — removed because the unions gained an open Other variant (#101).
Breaking Changes
TerminalId on terminal types and AuthMethodId on auth types change from string to their named types.
Plan id → planId, ACP MCP server id/acpId → serverId, provider id → providerId (unstable, schema 1.18.0 rename, on the wire too).
Unstable NES suggestion ids change from string to UnstableNesSuggestionId.
UnstableForkSessionResponse.ConfigOptions is now []SessionConfigOption.