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.Booleanusing the newClientSessionCapabilities,SessionConfigOptionsCapabilities, andBooleanConfigOptionCapabilitiestypes; agents may then sendSessionConfigOption.Boolean(#101). - Stable
model_configconfig option category (schema 1.16.0):acp.SessionConfigOptionCategoryModelConfig(#101). - Stable
$/cancel_request(schema 1.17.0):CancelRequestNotificationandErrorCode.RequestCancelledfor code-32800(#101). - Typed
acp.TerminalIdandacp.AuthMethodId(schema 1.14.0) (#101). - Unstable:
ToolCall.Name/ToolCallUpdate.Name, descriptions on elicitation enum options, and openOthervariants on unstable elicitation request/response unions (#101). example/agentnow offers amodelselect and aweb_searchboolean option (the latter only to clients that advertise the capability) and implementssession/set_config_option;example/clientadvertises the boolean capability and prints each option (#101).
Changed
- Broader lenient decoding (schema 1.17.0): properties with
x-deserialize-default-on-errorwent from 38 to 204, including_metaon ~100 types — malformed values at those sites now decode as the default instead of failing the whole message (#101). ErrorCodedecodes-32800asRequestCancelledinstead ofOther; unstable elicitation unknownmode/actiondecode intoOtherinstead of failing (#101).
Fixed
example/agent:Cancelno longer races withPrompt— the cancel func is read under the session mutex and invoked after unlock (exposed byTestExampleAgent_CancelDuringPromptsunder-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 openOthervariant (#101).
Breaking Changes
TerminalIdon terminal types andAuthMethodIdon auth types change fromstringto their named types.- Plan
id→planId, ACP MCP serverid/acpId→serverId, providerid→providerId(unstable, schema 1.18.0 rename, on the wire too). - Unstable NES suggestion ids change from
stringtoUnstableNesSuggestionId. UnstableForkSessionResponse.ConfigOptionsis now[]SessionConfigOption.