[package]
name = "agent-client-protocol-schema"
authors = ["Zed <hi@zed.dev>"]
version = "1.4.0"
edition = "2024"
license = "Apache-2.0"
description = "A protocol for standardizing communication between code editors and AI coding agents"
repository = "https://github.com/agentclientprotocol/agent-client-protocol"
homepage = "https://github.com/agentclientprotocol/agent-client-protocol"
documentation = "https://docs.rs/agent-client-protocol-schema"
readme = "../README.md"
keywords = ["agent", "client", "protocol", "ai", "editor"]
categories = ["development-tools", "api-bindings"]
include = ["/src/**/*.rs", "/Cargo.toml"]
rust-version = "1.88.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints]
workspace = true
[features]
unstable = [
"unstable_auth_methods",
"unstable_elicitation",
"unstable_llm_providers",
"unstable_mcp_over_acp",
"unstable_nes",
"unstable_plan_operations",
"unstable_session_fork",
"unstable_end_turn_token_usage",
]
unstable_protocol_v2 = ["dep:diffy"]
unstable_auth_methods = []
unstable_elicitation = []
unstable_llm_providers = []
unstable_mcp_over_acp = []
unstable_nes = []
unstable_plan_operations = []
unstable_session_fork = []
unstable_end_turn_token_usage = []
tracing = ["dep:tracing"]
[dependencies]
anyhow = "1"
derive_more = { version = "2", features = ["from", "display"] }
diffy = { version = "0.5.0", optional = true }
schemars = { version = "1" }
serde = { version = "1", features = ["derive", "rc"] }
serde_json = { version = "1", features = ["preserve_order", "raw_value"] }
serde_with = { version = "3.20.0", features = ["json", "schemars_1"] }
strum = { version = "0.28", features = ["derive"] }
tracing = { version = "0.1", default-features = false, optional = true }