Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 0.7.0 (2025-10-24)

- Add ability for agents and clients to provide information about their implementation
- Fix incorrectly serialized `_meta` field on `SetSessionModeResponse`

## 0.6.0 (2025-10-23)

- Provide missing `_meta` fields on certain enum variants.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

[dependencies]
agent-client-protocol-schema = { version = "0.5.0" }
agent-client-protocol-schema = { version = "0.6.2" }
anyhow = "1"
async-broadcast = "0.7"
async-trait = "0.1"
Expand Down
5 changes: 5 additions & 0 deletions examples/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ impl acp::Agent for ExampleAgent {
protocol_version: acp::V1,
agent_capabilities: acp::AgentCapabilities::default(),
auth_methods: Vec::new(),
agent_info: Some(acp::Implementation {
name: "example-agent".to_string(),
title: Some("Example Agent".to_string()),
version: "0.1.0".to_string(),
}),
meta: None,
})
}
Expand Down
5 changes: 5 additions & 0 deletions examples/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ async fn main() -> anyhow::Result<()> {
conn.initialize(acp::InitializeRequest {
protocol_version: acp::V1,
client_capabilities: acp::ClientCapabilities::default(),
client_info: Some(acp::Implementation {
name: "example-client".to_string(),
title: Some("Example Client".to_string()),
version: "0.1.0".to_string(),
}),
meta: None,
})
.await?;
Expand Down
10 changes: 10 additions & 0 deletions src/rpc_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ impl Agent for TestAgent {
Ok(InitializeResponse {
protocol_version: arguments.protocol_version,
agent_capabilities: AgentCapabilities::default(),
agent_info: Some(Implementation {
name: "test-agent".into(),
title: Some("Test Agent".into()),
version: "0.0.0".into(),
}),
auth_methods: vec![],
meta: None,
})
Expand Down Expand Up @@ -298,6 +303,11 @@ async fn test_initialize() {
.initialize(InitializeRequest {
protocol_version: VERSION,
client_capabilities: ClientCapabilities::default(),
client_info: Some(Implementation {
name: "test-client".to_string(),
title: Some("Test Client".to_string()),
version: "0.0.0".to_string(),
}),
meta: None,
})
.await;
Expand Down