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
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ doctest = false

[[bin]]
name = "generate"
path = "rust/generate.rs"
path = "rust/bin/generate.rs"

[[example]]
name = "agent"
path = "rust/example_agent.rs"
path = "rust/examples/agent.rs"

[[example]]
name = "client"
path = "rust/example_client.rs"
path = "rust/examples/client.rs"

[dependencies]
anyhow = "1"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Learn more at [agentclientprotocol.com](https://agentclientprotocol.com/).

## Libraries and Schema

- **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)
- **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)
- **TypeScript**: [`@zed-industries/agent-client-protocol`](https://www.npmjs.com/package/@zed-industries/agent-client-protocol) - See [examples/](./typescript/examples/)
- **JSON Schema**: [schema.json](./schema/schema.json)
- [**use-acp**](https://github.com/marimo-team/use-acp): React hooks for connecting to Agent Client Protocol (ACP) servers.
Expand Down
4 changes: 2 additions & 2 deletions docs/libraries/rust.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ trait or the
trait to define the interaction with the ACP counterpart.

The
[agent](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/example_agent.rs)
[agent](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/examples/agent.rs)
and
[client](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/example_client.rs)
[client](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/examples/client.rs)
example binaries provide runnable examples of how to do this, which you can use
as a starting point.

Expand Down
4 changes: 2 additions & 2 deletions rust/acp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
//! which define the core methods and capabilities of each side of the connection.
//!
//! To see working examples of these traits in action, check out the
//! [agent](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/example_agent.rs)
//! [agent](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/examples/agent.rs)
//! and
//! [client](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/example_client.rs)
//! [client](https://github.com/zed-industries/agent-client-protocol/blob/main/rust/examples/client.rs)
//! example binaries included with this crate.
//!
//! ### Implementation Pattern
Expand Down
Loading
Loading