You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add GitHub links to example files in sacp and sacp-proxy
Added clickable links to example files in the crate-level documentation:
sacp:
- simple_agent.rs - Minimal agent implementation
- yolo_one_shot_client.rs - Complete client example
sacp-proxy:
- minimal.rs - Simplest possible proxy
- with_mcp_server.rs - Proxy that adds MCP tools
This makes it easier for users reading the docs to navigate directly
to the example code on GitHub.
Copy file name to clipboardExpand all lines: src/sacp-proxy/src/lib.rs
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -85,8 +85,10 @@
85
85
//!
86
86
//! ## Examples
87
87
//!
88
-
//! - **`minimal.rs`** - Simplest possible proxy that forwards everything unchanged
89
-
//! - **`with_mcp_server.rs`** - Proxy that adds MCP tools to any agent
88
+
//! See the [examples directory](https://github.com/symposium-org/symposium-acp/tree/main/src/sacp-proxy/examples):
89
+
//!
90
+
//! - **[`minimal.rs`](https://github.com/symposium-org/symposium-acp/blob/main/src/sacp-proxy/examples/minimal.rs)** - Simplest possible proxy that forwards everything unchanged
91
+
//! - **[`with_mcp_server.rs`](https://github.com/symposium-org/symposium-acp/blob/main/src/sacp-proxy/examples/with_mcp_server.rs)** - Proxy that adds MCP tools to any agent
//! - **[`yolo_one_shot_client.rs`](https://github.com/symposium-org/symposium-acp/blob/main/src/sacp/examples/yolo_one_shot_client.rs)** - Complete client that spawns an agent and sends a prompt
54
54
//! - **[`elizacp`](https://crates.io/crates/elizacp)** - Full working agent with session management (also useful for testing)
55
55
//! - **[`sacp-conductor`](https://crates.io/crates/sacp-conductor)** - The "conductor" is an ACP agent that composes proxy components with a final agent.
0 commit comments