Skip to content

Commit 1019c67

Browse files
authored
Prep v0.7.0 (#11)
Updates to the latest schema crate version.
1 parent e5fb252 commit 1019c67

File tree

6 files changed

+30
-5
lines changed

6 files changed

+30
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.7.0 (2025-10-24)
4+
5+
- Add ability for agents and clients to provide information about their implementation
6+
- Fix incorrectly serialized `_meta` field on `SetSessionModeResponse`
7+
38
## 0.6.0 (2025-10-23)
49

510
- Provide missing `_meta` fields on certain enum variants.

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "agent-client-protocol"
33
authors = ["Zed <[email protected]>"]
4-
version = "0.6.0"
4+
version = "0.7.0"
55
edition = "2024"
66
license = "Apache-2.0"
77
description = "A protocol for standardizing communication between code editors and AI coding agents"
@@ -17,7 +17,7 @@ include = ["/src/**/*.rs", "/README.md", "/LICENSE", "/Cargo.toml"]
1717
unstable = ["agent-client-protocol-schema/unstable"]
1818

1919
[dependencies]
20-
agent-client-protocol-schema = { version = "0.5.0" }
20+
agent-client-protocol-schema = { version = "0.6.2" }
2121
anyhow = "1"
2222
async-broadcast = "0.7"
2323
async-trait = "0.1"

examples/agent.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ impl acp::Agent for ExampleAgent {
4646
protocol_version: acp::V1,
4747
agent_capabilities: acp::AgentCapabilities::default(),
4848
auth_methods: Vec::new(),
49+
agent_info: Some(acp::Implementation {
50+
name: "example-agent".to_string(),
51+
title: Some("Example Agent".to_string()),
52+
version: "0.1.0".to_string(),
53+
}),
4954
meta: None,
5055
})
5156
}

examples/client.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ async fn main() -> anyhow::Result<()> {
151151
conn.initialize(acp::InitializeRequest {
152152
protocol_version: acp::V1,
153153
client_capabilities: acp::ClientCapabilities::default(),
154+
client_info: Some(acp::Implementation {
155+
name: "example-client".to_string(),
156+
title: Some("Example Client".to_string()),
157+
version: "0.1.0".to_string(),
158+
}),
154159
meta: None,
155160
})
156161
.await?;

src/rpc_tests.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@ impl Agent for TestAgent {
164164
Ok(InitializeResponse {
165165
protocol_version: arguments.protocol_version,
166166
agent_capabilities: AgentCapabilities::default(),
167+
agent_info: Some(Implementation {
168+
name: "test-agent".into(),
169+
title: Some("Test Agent".into()),
170+
version: "0.0.0".into(),
171+
}),
167172
auth_methods: vec![],
168173
meta: None,
169174
})
@@ -298,6 +303,11 @@ async fn test_initialize() {
298303
.initialize(InitializeRequest {
299304
protocol_version: VERSION,
300305
client_capabilities: ClientCapabilities::default(),
306+
client_info: Some(Implementation {
307+
name: "test-client".to_string(),
308+
title: Some("Test Client".to_string()),
309+
version: "0.0.0".to_string(),
310+
}),
301311
meta: None,
302312
})
303313
.await;

0 commit comments

Comments
 (0)