Skip to content

Commit 7b97bcb

Browse files
committed
Reorg scripts and examples
1 parent a38f361 commit 7b97bcb

9 files changed

Lines changed: 904 additions & 897 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ doctest = false
2222

2323
[[bin]]
2424
name = "generate"
25-
path = "rust/generate.rs"
25+
path = "rust/bin/generate.rs"
2626

2727
[[example]]
2828
name = "agent"
29-
path = "rust/example_agent.rs"
29+
path = "rust/examples/agent.rs"
3030

3131
[[example]]
3232
name = "client"
33-
path = "rust/example_client.rs"
33+
path = "rust/examples/client.rs"
3434

3535
[dependencies]
3636
anyhow = "1"

README.md

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

2828
## Libraries and Schema
2929

30-
- **Rust**: [`agent-client-protocol`](https://crates.io/crates/agent-client-protocol) - See [example_agent.rs](./rust/example_agent.rs) and [example_client.rs](./rust/example_client.rs)
30+
- **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)
3131
- **TypeScript**: [`@zed-industries/agent-client-protocol`](https://www.npmjs.com/package/@zed-industries/agent-client-protocol) - See [examples/](./typescript/examples/)
3232
- **JSON Schema**: [schema.json](./schema/schema.json)
3333
- [**use-acp**](https://github.com/marimo-team/use-acp): React hooks for connecting to Agent Client Protocol (ACP) servers.

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/zed-industries/agent-client-protocol/blob/main/rust/example_agent.rs)
24+
[agent](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/examples/agent.rs)
2525
and
26-
[client](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/example_client.rs)
26+
[client](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/examples/client.rs)
2727
example binaries provide runnable examples of how to do this, which you can use
2828
as a starting point.
2929

rust/acp.rs

Lines changed: 2 additions & 2 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/zed-industries/agent-client-protocol/blob/main/rust/example_agent.rs)
30+
//! [agent](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/examples/agent.rs)
3131
//! and
32-
//! [client](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/example_client.rs)
32+
//! [client](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/examples/client.rs)
3333
//! example binaries included with this crate.
3434
//!
3535
//! ### Implementation Pattern

0 commit comments

Comments
 (0)