diff --git a/CHANGELOG.md b/CHANGELOG.md index ea87be2aa..82d1ad6c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,56 @@ ## [Unreleased] +## [1.13.0](https://github.com/agentclientprotocol/agent-client-protocol/compare/v1.12.0...v1.13.0) - 2026-10-27 + +### Added + +- *(unstable-v2)* add optional terminal size to terminal_update ([#2550](https://github.com/agentclientprotocol/agent-client-protocol/pull/2550)) +- *(unstable-v2)* make ResourceLink.size unsigned and define unknown tool kinds ([#2521](https://github.com/agentclientprotocol/agent-client-protocol/pull/2521)) +- *(unstable-v2)* add _meta to DiffPatch, ToolCallPermissionSubject, Icon and the cancelled outcome ([#2517](https://github.com/agentclientprotocol/agent-client-protocol/pull/2517)) +- *(unstable-v2)* disallow null request IDs ([#2499](https://github.com/agentclientprotocol/agent-client-protocol/pull/2499)) +- *(unstable-v2)* add type discriminator to available commands ([#2494](https://github.com/agentclientprotocol/agent-client-protocol/pull/2494)) +- *(unstable)* link session message views and keep identity off chunks ([#2465](https://github.com/agentclientprotocol/agent-client-protocol/pull/2465)) +- *(unstable-v2)* define version mismatch errors ([#2412](https://github.com/agentclientprotocol/agent-client-protocol/pull/2412)) + +### Fixed + +- *(unstable-v2)* parse nextCursor and listed session directories strictly ([#2567](https://github.com/agentclientprotocol/agent-client-protocol/pull/2567)) +- *(unstable-v2)* don't clear replacement lists on a malformed value ([#2568](https://github.com/agentclientprotocol/agent-client-protocol/pull/2568)) +- *(unstable-v2)* keep optional fields of unknown variants verbatim ([#2561](https://github.com/agentclientprotocol/agent-client-protocol/pull/2561)) +- *(unstable-v2)* reject a non-object elicitation schema root type ([#2558](https://github.com/agentclientprotocol/agent-client-protocol/pull/2558)) +- *(unstable)* null clears session_message participant IDs and message references ([#2555](https://github.com/agentclientprotocol/agent-client-protocol/pull/2555)) +- *(unstable-v2)* make ToolCallLocation.line 1-based ([#2546](https://github.com/agentclientprotocol/agent-client-protocol/pull/2546)) +- *(unstable-v2)* make terminal exitCode a signed integer ([#2545](https://github.com/agentclientprotocol/agent-client-protocol/pull/2545)) +- *(schema)* require exactly one elicitation scope in v2 ([#2498](https://github.com/agentclientprotocol/agent-client-protocol/pull/2498)) + +### Other + +- *(schema)* state null handling for every optional v2 field ([#2570](https://github.com/agentclientprotocol/agent-client-protocol/pull/2570)) +- *(schema)* mark DefaultOnNull lists with an x-deserialize hint ([#2569](https://github.com/agentclientprotocol/agent-client-protocol/pull/2569)) +- *(schema)* fix broken v2 doc anchors ([#2565](https://github.com/agentclientprotocol/agent-client-protocol/pull/2565)) +- *(schema)* put the text-content Markdown rule on the content page ([#2562](https://github.com/agentclientprotocol/agent-client-protocol/pull/2562)) +- *(schema)* use one description for every v2 _meta field ([#2560](https://github.com/agentclientprotocol/agent-client-protocol/pull/2560)) +- *(schema)* define config option defaults via currentValue and state select invariants ([#2557](https://github.com/agentclientprotocol/agent-client-protocol/pull/2557)) +- *(schema)* document the elicitation form-schema subset and unrenderable forms ([#2556](https://github.com/agentclientprotocol/agent-client-protocol/pull/2556)) +- *(schema)* say permission tool_call subjects apply as tool_call_update upserts ([#2554](https://github.com/agentclientprotocol/agent-client-protocol/pull/2554)) +- *(schema)* specify v2 diff baseline, path uniqueness and patch conflicts ([#2547](https://github.com/agentclientprotocol/agent-client-protocol/pull/2547)) +- *(schema)* define tool call field defaults and null resets in v2 ([#2544](https://github.com/agentclientprotocol/agent-client-protocol/pull/2544)) +- *(schema)* define switch_mode as changing the mode config option in v2 ([#2543](https://github.com/agentclientprotocol/agent-client-protocol/pull/2543)) +- *(schema)* note that titled multi-select items omit type, as in MCP ([#2538](https://github.com/agentclientprotocol/agent-client-protocol/pull/2538)) +- *(schema)* ExtNotification can be sent by either side ([#2534](https://github.com/agentclientprotocol/agent-client-protocol/pull/2534)) +- *(schema)* include -32800's range in the reserved error codes ([#2531](https://github.com/agentclientprotocol/agent-client-protocol/pull/2531)) +- *(schema)* write versioned doc links in source and drop the generator's link rewriting ([#2525](https://github.com/agentclientprotocol/agent-client-protocol/pull/2525)) +- *(schema)* define which stop reason applies to v2 cancellations ([#2523](https://github.com/agentclientprotocol/agent-client-protocol/pull/2523)) +- *(schema)* mark required v2 fields in the docs and rename ClientAuthCapabilities ([#2522](https://github.com/agentclientprotocol/agent-client-protocol/pull/2522)) +- *(schema)* use wire names instead of Rust identifiers in schema descriptions ([#2520](https://github.com/agentclientprotocol/agent-client-protocol/pull/2520)) +- *(schema)* define Client handling of unknown v2 session states and tool statuses ([#2510](https://github.com/agentclientprotocol/agent-client-protocol/pull/2510)) +- *(schema)* define timeline placement for v2 entities ([#2509](https://github.com/agentclientprotocol/agent-client-protocol/pull/2509)) +- *(schema)* define session/cancel as cancelling foreground work in v2 ([#2508](https://github.com/agentclientprotocol/agent-client-protocol/pull/2508)) +- *(schema)* write the error pages for v1 and v2 ([#2504](https://github.com/agentclientprotocol/agent-client-protocol/pull/2504)) +- *(schema)* define receiver behavior for unknown v2 variants ([#2500](https://github.com/agentclientprotocol/agent-client-protocol/pull/2500)) +- *(schema)* define when session/set_config_option is available in v2 ([#2497](https://github.com/agentclientprotocol/agent-client-protocol/pull/2497)) + ## [1.12.0](https://github.com/agentclientprotocol/agent-client-protocol/compare/v1.11.0...v1.12.0) - 2026-10-16 ### Added diff --git a/Cargo.lock b/Cargo.lock index a23e85a19..473b47da1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,15 +4,15 @@ version = 4 [[package]] name = "agent-client-protocol-json-schema-v1" -version = "1.26.0" +version = "1.27.0" [[package]] name = "agent-client-protocol-json-schema-v2" -version = "2.0.0-alpha.9" +version = "2.0.0-alpha.10" [[package]] name = "agent-client-protocol-schema" -version = "1.12.0" +version = "1.13.0" dependencies = [ "anyhow", "derive_more", diff --git a/Cargo.toml b/Cargo.toml index 1929e2ac3..b74fe664f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ members = [ resolver = "3" [workspace.dependencies] -agent-client-protocol-schema = { path = "agent-client-protocol-schema", version = "1.12.0" } +agent-client-protocol-schema = { path = "agent-client-protocol-schema", version = "1.13.0" } [workspace.lints.rust] future_incompatible = { level = "warn", priority = -1 } diff --git a/agent-client-protocol-schema/Cargo.toml b/agent-client-protocol-schema/Cargo.toml index f13f6f737..c5e020000 100644 --- a/agent-client-protocol-schema/Cargo.toml +++ b/agent-client-protocol-schema/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "agent-client-protocol-schema" authors = ["Zed "] -version = "1.12.0" +version = "1.13.0" edition = "2024" license = "Apache-2.0" description = "A protocol for standardizing communication between code editors and AI coding agents" diff --git a/schema/v1/CHANGELOG.md b/schema/v1/CHANGELOG.md index 71d458113..1ee1718c4 100644 --- a/schema/v1/CHANGELOG.md +++ b/schema/v1/CHANGELOG.md @@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.27.0](https://github.com/agentclientprotocol/agent-client-protocol/compare/schema-v1.26.0...schema-v1.27.0) - 2026-10-27 + +### Added + +- *(unstable)* link session message views and keep identity off chunks ([#2465](https://github.com/agentclientprotocol/agent-client-protocol/pull/2465)) + +### Fixed + +- *(unstable)* null clears session_message participant IDs and message references ([#2555](https://github.com/agentclientprotocol/agent-client-protocol/pull/2555)) +- *(unstable-v2)* make ToolCallLocation.line 1-based ([#2546](https://github.com/agentclientprotocol/agent-client-protocol/pull/2546)) + +### Other + +- *(schema)* mark DefaultOnNull lists with an x-deserialize hint ([#2569](https://github.com/agentclientprotocol/agent-client-protocol/pull/2569)) +- *(schema)* note that titled multi-select items omit type, as in MCP ([#2538](https://github.com/agentclientprotocol/agent-client-protocol/pull/2538)) +- *(schema)* ExtNotification can be sent by either side ([#2534](https://github.com/agentclientprotocol/agent-client-protocol/pull/2534)) +- *(schema)* include -32800's range in the reserved error codes ([#2531](https://github.com/agentclientprotocol/agent-client-protocol/pull/2531)) +- *(schema)* write versioned doc links in source and drop the generator's link rewriting ([#2525](https://github.com/agentclientprotocol/agent-client-protocol/pull/2525)) +- *(schema)* use wire names instead of Rust identifiers in schema descriptions ([#2520](https://github.com/agentclientprotocol/agent-client-protocol/pull/2520)) +- *(schema)* write the error pages for v1 and v2 ([#2504](https://github.com/agentclientprotocol/agent-client-protocol/pull/2504)) +- *(deps)* bump the minor group with 9 updates ([#2437](https://github.com/agentclientprotocol/agent-client-protocol/pull/2437)) + ## [1.26.0](https://github.com/agentclientprotocol/agent-client-protocol/compare/schema-v1.25.0...schema-v1.26.0) - 2026-10-16 ### Added diff --git a/schema/v1/Cargo.toml b/schema/v1/Cargo.toml index f1185bb4e..3cc10ed87 100644 --- a/schema/v1/Cargo.toml +++ b/schema/v1/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "agent-client-protocol-json-schema-v1" -version = "1.26.0" +version = "1.27.0" edition = "2024" license = "Apache-2.0" description = "Version marker for ACP v1 JSON Schema GitHub releases" diff --git a/schema/v2/CHANGELOG.md b/schema/v2/CHANGELOG.md index 21d64e59d..72eeac29d 100644 --- a/schema/v2/CHANGELOG.md +++ b/schema/v2/CHANGELOG.md @@ -7,6 +7,57 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.0-alpha.10](https://github.com/agentclientprotocol/agent-client-protocol/compare/schema-v2.0.0-alpha.9...schema-v2.0.0-alpha.10) - 2026-10-27 + +### Added + +- *(unstable-v2)* add optional terminal size to terminal_update ([#2550](https://github.com/agentclientprotocol/agent-client-protocol/pull/2550)) +- *(unstable-v2)* make ResourceLink.size unsigned and define unknown tool kinds ([#2521](https://github.com/agentclientprotocol/agent-client-protocol/pull/2521)) +- *(unstable-v2)* add _meta to DiffPatch, ToolCallPermissionSubject, Icon and the cancelled outcome ([#2517](https://github.com/agentclientprotocol/agent-client-protocol/pull/2517)) +- *(unstable-v2)* disallow null request IDs ([#2499](https://github.com/agentclientprotocol/agent-client-protocol/pull/2499)) +- *(unstable-v2)* add type discriminator to available commands ([#2494](https://github.com/agentclientprotocol/agent-client-protocol/pull/2494)) +- *(unstable)* link session message views and keep identity off chunks ([#2465](https://github.com/agentclientprotocol/agent-client-protocol/pull/2465)) +- *(unstable-v2)* define version mismatch errors ([#2412](https://github.com/agentclientprotocol/agent-client-protocol/pull/2412)) + +### Fixed + +- *(unstable-v2)* parse nextCursor and listed session directories strictly ([#2567](https://github.com/agentclientprotocol/agent-client-protocol/pull/2567)) +- *(unstable-v2)* don't clear replacement lists on a malformed value ([#2568](https://github.com/agentclientprotocol/agent-client-protocol/pull/2568)) +- *(unstable-v2)* keep optional fields of unknown variants verbatim ([#2561](https://github.com/agentclientprotocol/agent-client-protocol/pull/2561)) +- *(unstable-v2)* reject a non-object elicitation schema root type ([#2558](https://github.com/agentclientprotocol/agent-client-protocol/pull/2558)) +- *(unstable)* null clears session_message participant IDs and message references ([#2555](https://github.com/agentclientprotocol/agent-client-protocol/pull/2555)) +- *(unstable-v2)* make ToolCallLocation.line 1-based ([#2546](https://github.com/agentclientprotocol/agent-client-protocol/pull/2546)) +- *(unstable-v2)* make terminal exitCode a signed integer ([#2545](https://github.com/agentclientprotocol/agent-client-protocol/pull/2545)) +- *(schema)* require exactly one elicitation scope in v2 ([#2498](https://github.com/agentclientprotocol/agent-client-protocol/pull/2498)) + +### Other + +- *(schema)* state null handling for every optional v2 field ([#2570](https://github.com/agentclientprotocol/agent-client-protocol/pull/2570)) +- *(schema)* mark DefaultOnNull lists with an x-deserialize hint ([#2569](https://github.com/agentclientprotocol/agent-client-protocol/pull/2569)) +- *(schema)* fix broken v2 doc anchors ([#2565](https://github.com/agentclientprotocol/agent-client-protocol/pull/2565)) +- *(schema)* put the text-content Markdown rule on the content page ([#2562](https://github.com/agentclientprotocol/agent-client-protocol/pull/2562)) +- *(schema)* use one description for every v2 _meta field ([#2560](https://github.com/agentclientprotocol/agent-client-protocol/pull/2560)) +- *(schema)* define config option defaults via currentValue and state select invariants ([#2557](https://github.com/agentclientprotocol/agent-client-protocol/pull/2557)) +- *(schema)* document the elicitation form-schema subset and unrenderable forms ([#2556](https://github.com/agentclientprotocol/agent-client-protocol/pull/2556)) +- *(schema)* say permission tool_call subjects apply as tool_call_update upserts ([#2554](https://github.com/agentclientprotocol/agent-client-protocol/pull/2554)) +- *(schema)* specify v2 diff baseline, path uniqueness and patch conflicts ([#2547](https://github.com/agentclientprotocol/agent-client-protocol/pull/2547)) +- *(schema)* define tool call field defaults and null resets in v2 ([#2544](https://github.com/agentclientprotocol/agent-client-protocol/pull/2544)) +- *(schema)* define switch_mode as changing the mode config option in v2 ([#2543](https://github.com/agentclientprotocol/agent-client-protocol/pull/2543)) +- *(schema)* note that titled multi-select items omit type, as in MCP ([#2538](https://github.com/agentclientprotocol/agent-client-protocol/pull/2538)) +- *(schema)* ExtNotification can be sent by either side ([#2534](https://github.com/agentclientprotocol/agent-client-protocol/pull/2534)) +- *(schema)* include -32800's range in the reserved error codes ([#2531](https://github.com/agentclientprotocol/agent-client-protocol/pull/2531)) +- *(schema)* write versioned doc links in source and drop the generator's link rewriting ([#2525](https://github.com/agentclientprotocol/agent-client-protocol/pull/2525)) +- *(schema)* define which stop reason applies to v2 cancellations ([#2523](https://github.com/agentclientprotocol/agent-client-protocol/pull/2523)) +- *(schema)* mark required v2 fields in the docs and rename ClientAuthCapabilities ([#2522](https://github.com/agentclientprotocol/agent-client-protocol/pull/2522)) +- *(schema)* use wire names instead of Rust identifiers in schema descriptions ([#2520](https://github.com/agentclientprotocol/agent-client-protocol/pull/2520)) +- *(schema)* define Client handling of unknown v2 session states and tool statuses ([#2510](https://github.com/agentclientprotocol/agent-client-protocol/pull/2510)) +- *(schema)* define timeline placement for v2 entities ([#2509](https://github.com/agentclientprotocol/agent-client-protocol/pull/2509)) +- *(schema)* define session/cancel as cancelling foreground work in v2 ([#2508](https://github.com/agentclientprotocol/agent-client-protocol/pull/2508)) +- *(schema)* write the error pages for v1 and v2 ([#2504](https://github.com/agentclientprotocol/agent-client-protocol/pull/2504)) +- *(schema)* define receiver behavior for unknown v2 variants ([#2500](https://github.com/agentclientprotocol/agent-client-protocol/pull/2500)) +- *(schema)* define when session/set_config_option is available in v2 ([#2497](https://github.com/agentclientprotocol/agent-client-protocol/pull/2497)) +- *(deps)* bump the minor group with 9 updates ([#2437](https://github.com/agentclientprotocol/agent-client-protocol/pull/2437)) + ## [2.0.0-alpha.9](https://github.com/agentclientprotocol/agent-client-protocol/compare/schema-v2.0.0-alpha.8...schema-v2.0.0-alpha.9) - 2026-10-16 ### Added diff --git a/schema/v2/Cargo.toml b/schema/v2/Cargo.toml index c453cb0d4..c2123069e 100644 --- a/schema/v2/Cargo.toml +++ b/schema/v2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "agent-client-protocol-json-schema-v2" -version = "2.0.0-alpha.9" +version = "2.0.0-alpha.10" edition = "2024" license = "Apache-2.0" description = "Version marker for ACP v2 JSON Schema artifacts"