@setoelkahfi / sigit / commits / c5edd5b

Bump ACP SDK to 1.0.1

The crate tops out at 1.0.1, so that is as far as we can go. The v1.2.0 tag on GitHub is the protocol and schema version, not this crate. The 1.0 release moved the schema types under a v1 module, so the import splits: ProtocolVersion stays at schema:: since it is version-agnostic, and the rest now comes from schema::v1::. Nothing else changed.

Seto Elkahfi committed Jun 29, 2026 at 22:46 UTC c5edd5b90fa15e767dd5c956864ce6e4b7207551
3 files changed +17 -24
Cargo.lock
+7 -17
index b066b88..cfeea0c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -20,9 +20,9 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "agent-client-protocol" -version = "0.14.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5efba6592048ef8a9ac97de8d79b2d9933d8ac4d94f7a2de102348fed0c61103" +checksum = "16302d16c7531355db16593d99c38c8297db0c4653aa7dd80c3556bb17f4cd8c" dependencies = [ "agent-client-protocol-derive", "agent-client-protocol-schema", @@ -30,7 +30,6 @@ dependencies = [ "blocking", "futures", "futures-concurrency", - "jsonrpcmsg", "rustc-hash 2.1.2", "schemars 1.2.1", "serde", @@ -38,13 +37,14 @@ dependencies = [ "shell-words", "tracing", "uuid 1.23.3", + "windows-sys 0.61.2", ] [[package]] name = "agent-client-protocol-derive" -version = "0.14.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d176a10d4cb06e0262a738c3c5bf21ff0968db13a666e31cbca94a3d3d72e7c" +checksum = "88b37d552feb6981a0109febda6b71fc723678cd065974c2d76279c19c407095" dependencies = [ "quote", "syn 2.0.117", @@ -52,9 +52,9 @@ dependencies = [ [[package]] name = "agent-client-protocol-schema" -version = "0.13.6" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c290bfa00c6b52339db66f8e9cf711d5f08530800529f7d619ff24d6cba253d0" +checksum = "ac542aba230234b1591ace7286a47c0514fe3efc3037d43296bde31ba7ee5728" dependencies = [ "anyhow", "derive_more", @@ -2879,16 +2879,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "jsonrpcmsg" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d833a15225c779251e13929203518c2ff26e2fe0f322d584b213f4f4dad37bd" -dependencies = [ - "serde", - "serde_json", -] - [[package]] name = "lazy_static" version = "1.5.0"
Cargo.toml
+1 -1
index 3a4027f..7f4d43d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ path = "src/main.rs" [dependencies] # ACP protocol SDK -agent-client-protocol = { version = "0.14", features = ["unstable_session_fork", "unstable_auth_methods"] } +agent-client-protocol = { version = "1.0", features = ["unstable_session_fork", "unstable_auth_methods"] } # Onde Inference engine (local LLM) # onde = { path = "../onde" }
src/main.rs
+9 -6
index 6ca627d..4e08b51 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,17 +46,20 @@ use std::sync::Arc; use onde::inference::SamplingConfig; -use agent_client_protocol::schema::{ +// `ProtocolVersion` is a version-agnostic type at the schema root; the rest of the +// schema types moved under `schema::v1` in agent-client-protocol 1.0. +use agent_client_protocol::schema::ProtocolVersion; +use agent_client_protocol::schema::v1::{ AgentCapabilities, AuthMethod, AuthMethodAgent, AuthenticateRequest, AuthenticateResponse, AvailableCommand, AvailableCommandInput, AvailableCommandsUpdate, CancelNotification, ConfigOptionUpdate, ContentBlock, ContentChunk, EmbeddedResourceResource, ForkSessionRequest, ForkSessionResponse, Implementation, InitializeRequest, InitializeResponse, LoadSessionRequest, LoadSessionResponse, Meta, NewSessionRequest, NewSessionResponse, PromptRequest, - PromptResponse, ProtocolVersion, SessionCapabilities, SessionConfigOption, - SessionConfigOptionCategory, SessionConfigSelectOption, SessionConfigValueId, - SessionForkCapabilities, SessionId, SessionNotification, SessionUpdate, - SetSessionConfigOptionRequest, SetSessionConfigOptionResponse, StopReason, ToolCall, - ToolCallStatus, ToolCallUpdate, ToolCallUpdateFields, ToolKind, UnstructuredCommandInput, + PromptResponse, SessionCapabilities, SessionConfigOption, SessionConfigOptionCategory, + SessionConfigSelectOption, SessionConfigValueId, SessionForkCapabilities, SessionId, + SessionNotification, SessionUpdate, SetSessionConfigOptionRequest, + SetSessionConfigOptionResponse, StopReason, ToolCall, ToolCallStatus, ToolCallUpdate, + ToolCallUpdateFields, ToolKind, UnstructuredCommandInput, }; use agent_client_protocol::{Agent, ByteStreams, Client, ConnectionTo, Responder}; use onde::inference::{ChatEngine, GgufModelConfig};