Tracks ACP schema 0.4.9. The Go protocol surface is unchanged — this release is a documentation refresh of the generated bindings and a schema-source switch to upstream release artifacts. No code changes are required to upgrade.
Changed
-
Generated APIs are now documented from the schema (#2 by @ThomasK33). The code generator now emits godoc comments derived from
schema.jsondescriptions onto:- methods of the
Agent,AgentLoader,AgentExperimental, andClientinterfaces, and - variant fields of union wrappers such as
AgentRequest,ClientRequest,AgentNotification,ClientNotification,ContentBlock,McpServer,SessionUpdate,ToolCallContent,RequestPermissionOutcome, andAvailableCommandInput.
These comments include links to the protocol docs (e.g. Initialization, Prompt Turn, Terminals, Session Modes) and surface capability gating notes (e.g. that
terminal/*requires theterminalclient capability, thatLoadSessionrequires theloadSessionagent capability, or thatSetSessionModelis UNSTABLE) directly in IDE hovers andgo docoutput. Example:type Agent interface { // Request parameters for the initialize method. Sent by the client to // establish connection and negotiate capabilities. // See protocol docs: [Initialization](https://agentclientprotocol.com/protocol/initialization) Initialize(ctx context.Context, params InitializeRequest) (InitializeResponse, error) // ... }
- methods of the
-
Schema artifacts fetched from GitHub Releases. The
Makefilenow downloadsschema/meta.jsonandschema/schema.jsonfrom the upstreamagent-client-protocolGitHub Releases assets instead of the raw tag URLs. This only affects contributors regenerating bindings locally; SDK consumers are unaffected. -
Schema and module version bumped from
0.4.5to0.4.9. There are no breaking changes — theAgent,AgentLoader,AgentExperimental, andClientinterface signatures, and all generated request/response types, are identical to v0.4.5.
Full Changelog: v0.4.5...v0.4.9