Skip to content

Commit 935857f

Browse files
authored
Remove SDK code (#155)
* Remove SDK code * Update links
1 parent e9f9b27 commit 935857f

15 files changed

Lines changed: 9 additions & 4155 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 954 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 & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "agent-client-protocol"
2+
name = "agent-client-protocol-schema"
33
authors = ["Zed <hi@zed.dev>"]
44
version = "0.4.6"
55
edition = "2024"
@@ -11,7 +11,7 @@ documentation = "https://docs.rs/agent-client-protocol"
1111
readme = "README.md"
1212
keywords = ["agent", "client", "protocol", "ai", "editor"]
1313
categories = ["development-tools", "api-bindings"]
14-
include = ["/rust/**/*.rs", "/README.md", "/LICENSE-APACHE", "/Cargo.toml"]
14+
include = ["/rust/**/*.rs", "/README.md", "/LICENSE", "/Cargo.toml"]
1515

1616
[features]
1717
unstable = []
@@ -20,43 +20,8 @@ unstable = []
2020
path = "rust/acp.rs"
2121
doctest = false
2222

23-
[[bin]]
24-
name = "generate"
25-
path = "rust/bin/generate.rs"
26-
27-
[[example]]
28-
name = "agent"
29-
path = "rust/examples/agent.rs"
30-
31-
[[example]]
32-
name = "client"
33-
path = "rust/examples/client.rs"
34-
3523
[dependencies]
3624
anyhow = "1"
37-
async-broadcast = "0.7"
38-
async-trait = "0.1"
39-
futures = { version = "0.3" }
40-
log = "0.4"
41-
parking_lot = "0.12"
4225
schemars = { version = "1" }
4326
serde = { version = "1", features = ["derive", "rc"] }
4427
serde_json = { version = "1", features = ["raw_value"] }
45-
46-
[dev-dependencies]
47-
env_logger = "0.11"
48-
futures-util = { version = "0.3", features = ["io"] }
49-
piper = "0.2"
50-
pretty_assertions = "1"
51-
rustyline = "17"
52-
tokio = { version = "1", features = [
53-
"macros",
54-
"rt",
55-
"time",
56-
"io-std",
57-
"io-util",
58-
"net",
59-
"process",
60-
"sync",
61-
] }
62-
tokio-util = { version = "0.7", features = ["compat"] }
File renamed without changes.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Learn more at [agentclientprotocol.com](https://agentclientprotocol.com/).
3434

3535
- **JSON Schema**: [`schema.json`](./schema/schema.json)
3636
- **Kotlin**: [`acp-kotlin`](https://github.com/agentclientprotocol/kotlin-sdk) – supports JVM, other targets are in progress
37-
- **Rust**: [`agent-client-protocol`](https://crates.io/crates/agent-client-protocol) - See [examples/agent.rs](./rust/examples/agent.rs) and [examples/client.rs](./rust/examples/client.rs)
37+
- **Rust**: [`agent-client-protocol`](https://crates.io/crates/agent-client-protocol) - See [examples/agent.rs](https://github.com/agentclientprotocol/rust-sdk/blob/main/examples/agent.rs) and [examples/client.rs](https://github.com/agentclientprotocol/rust-sdk/blob/main/examples/client.rs)
3838
- **TypeScript**: [`@agentclientprotocol/sdk`](https://www.npmjs.com/package/@agentclientprotocol/sdk) - See [examples/](https://github.com/agentclientprotocol/typescript-sdk/tree/main/src/examples)
3939

4040
### From the Community

docs/libraries/rust.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ trait or the
2121
trait to define the interaction with the ACP counterpart.
2222

2323
The
24-
[agent](https://github.com/agentclientprotocol/agent-client-protocol/blob/main/rust/examples/agent.rs)
24+
[agent](https://github.com/agentclientprotocol/rust-sdk/blob/main/examples/agent.rs)
2525
and
26-
[client](https://github.com/agentclientprotocol/agent-client-protocol/blob/main/rust/examples/client.rs)
26+
[client](https://github.com/agentclientprotocol/rust-sdk/blob/main/examples/client.rs)
2727
example binaries provide runnable examples of how to do this, which you can use
2828
as a starting point.
2929

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"author": "Zed Industries",
1818
"files": [
1919
"schema/schema.json",
20-
"LICENSE-APACHE"
20+
"LICENSE"
2121
],
2222
"type": "module",
2323
"scripts": {

rust/acp.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
//! which define the core methods and capabilities of each side of the connection.
2828
//!
2929
//! To see working examples of these traits in action, check out the
30-
//! [agent](https://github.com/agentclientprotocol/agent-client-protocol/blob/main/rust/examples/agent.rs)
30+
//! [agent](https://github.com/agentclientprotocol/rust-sdk/blob/main/examples/agent.rs)
3131
//! and
32-
//! [client](https://github.com/agentclientprotocol/agent-client-protocol/blob/main/rust/examples/client.rs)
32+
//! [client](https://github.com/agentclientprotocol/rust-sdk/blob/main/examples/client.rs)
3333
//! example binaries included with this crate.
3434
//!
3535
//! ### Implementation Pattern
@@ -56,7 +56,6 @@ mod content;
5656
mod error;
5757
mod ext;
5858
mod plan;
59-
mod sdk;
6059
mod tool_call;
6160
mod version;
6261

@@ -66,7 +65,6 @@ pub use content::*;
6665
pub use error::*;
6766
pub use ext::*;
6867
pub use plan::*;
69-
pub use sdk::*;
7068
pub use serde_json::value::RawValue;
7169
pub use tool_call::*;
7270
pub use version::*;

rust/examples/agent.rs

Lines changed: 0 additions & 193 deletions
This file was deleted.

0 commit comments

Comments
 (0)