@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
@@ -20,9 +20,9 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
20
21 [[package]]
22 name = "agent-client-protocol"
23 -version = "0.14.0"
23 +version = "1.0.1"
24 source = "registry+https://github.com/rust-lang/crates.io-index"
25 -checksum = "5efba6592048ef8a9ac97de8d79b2d9933d8ac4d94f7a2de102348fed0c61103"
25 +checksum = "16302d16c7531355db16593d99c38c8297db0c4653aa7dd80c3556bb17f4cd8c"
26 dependencies = [
27 "agent-client-protocol-derive",
28 "agent-client-protocol-schema",
@@ -30,7 +30,6 @@ dependencies = [
30 "blocking",
31 "futures",
32 "futures-concurrency",
33 - "jsonrpcmsg",
33 "rustc-hash 2.1.2",
34 "schemars 1.2.1",
35 "serde",
@@ -38,13 +37,14 @@ dependencies = [
37 "shell-words",
38 "tracing",
39 "uuid 1.23.3",
40 + "windows-sys 0.61.2",
41 ]
42
43 [[package]]
44 name = "agent-client-protocol-derive"
45 -version = "0.14.0"
45 +version = "1.0.1"
46 source = "registry+https://github.com/rust-lang/crates.io-index"
47 -checksum = "4d176a10d4cb06e0262a738c3c5bf21ff0968db13a666e31cbca94a3d3d72e7c"
47 +checksum = "88b37d552feb6981a0109febda6b71fc723678cd065974c2d76279c19c407095"
48 dependencies = [
49 "quote",
50 "syn 2.0.117",
@@ -52,9 +52,9 @@ dependencies = [
52
53 [[package]]
54 name = "agent-client-protocol-schema"
55 -version = "0.13.6"
55 +version = "1.1.0"
56 source = "registry+https://github.com/rust-lang/crates.io-index"
57 -checksum = "c290bfa00c6b52339db66f8e9cf711d5f08530800529f7d619ff24d6cba253d0"
57 +checksum = "ac542aba230234b1591ace7286a47c0514fe3efc3037d43296bde31ba7ee5728"
58 dependencies = [
59 "anyhow",
60 "derive_more",
@@ -2879,16 +2879,6 @@ dependencies = [
2879 "wasm-bindgen",
2880 ]
2881
2882 -[[package]]
2883 -name = "jsonrpcmsg"
2884 -version = "0.1.2"
2885 -source = "registry+https://github.com/rust-lang/crates.io-index"
2886 -checksum = "6d833a15225c779251e13929203518c2ff26e2fe0f322d584b213f4f4dad37bd"
2887 -dependencies = [
2888 - "serde",
2889 - "serde_json",
2890 -]
2891 -
2882 [[package]]
2883 name = "lazy_static"
2884 version = "1.5.0"
Cargo.toml
+1 -1
@@ -18,7 +18,7 @@ path = "src/main.rs"
18
19 [dependencies]
20 # ACP protocol SDK
21 -agent-client-protocol = { version = "0.14", features = ["unstable_session_fork", "unstable_auth_methods"] }
21 +agent-client-protocol = { version = "1.0", features = ["unstable_session_fork", "unstable_auth_methods"] }
22
23 # Onde Inference engine (local LLM)
24 # onde = { path = "../onde" }
src/main.rs
+9 -6
@@ -46,17 +46,20 @@ use std::sync::Arc;
46
47 use onde::inference::SamplingConfig;
48
49 -use agent_client_protocol::schema::{
49 +// `ProtocolVersion` is a version-agnostic type at the schema root; the rest of the
50 +// schema types moved under `schema::v1` in agent-client-protocol 1.0.
51 +use agent_client_protocol::schema::ProtocolVersion;
52 +use agent_client_protocol::schema::v1::{
53 AgentCapabilities, AuthMethod, AuthMethodAgent, AuthenticateRequest, AuthenticateResponse,
54 AvailableCommand, AvailableCommandInput, AvailableCommandsUpdate, CancelNotification,
55 ConfigOptionUpdate, ContentBlock, ContentChunk, EmbeddedResourceResource, ForkSessionRequest,
56 ForkSessionResponse, Implementation, InitializeRequest, InitializeResponse, LoadSessionRequest,
57 LoadSessionResponse, Meta, NewSessionRequest, NewSessionResponse, PromptRequest,
55 - PromptResponse, ProtocolVersion, SessionCapabilities, SessionConfigOption,
56 - SessionConfigOptionCategory, SessionConfigSelectOption, SessionConfigValueId,
57 - SessionForkCapabilities, SessionId, SessionNotification, SessionUpdate,
58 - SetSessionConfigOptionRequest, SetSessionConfigOptionResponse, StopReason, ToolCall,
59 - ToolCallStatus, ToolCallUpdate, ToolCallUpdateFields, ToolKind, UnstructuredCommandInput,
58 + PromptResponse, SessionCapabilities, SessionConfigOption, SessionConfigOptionCategory,
59 + SessionConfigSelectOption, SessionConfigValueId, SessionForkCapabilities, SessionId,
60 + SessionNotification, SessionUpdate, SetSessionConfigOptionRequest,
61 + SetSessionConfigOptionResponse, StopReason, ToolCall, ToolCallStatus, ToolCallUpdate,
62 + ToolCallUpdateFields, ToolKind, UnstructuredCommandInput,
63 };
64 use agent_client_protocol::{Agent, ByteStreams, Client, ConnectionTo, Responder};
65 use onde::inference::{ChatEngine, GgufModelConfig};