Commit ced3e88
committed
Merge agent-client-protocol-tokio into agent-client-protocol
Replace direct tokio usage with smol-ecosystem crates:
- Stdio: use blocking::Unblock instead of tokio::io::stdin/stdout
- AcpAgent: use async-process instead of tokio::process
- session.rs: use futures::channel::oneshot instead of tokio::sync::oneshot
- Use futures::future::select instead of tokio::select!
tokio/tokio-util remain as deps only for mcp_server/builder.rs where
rmcp requires tokio AsyncRead/AsyncWrite types (rmcp pulls in tokio
transitively regardless).
Remove agent-client-protocol-tokio from workspace and update all
consumers to import from agent-client-protocol directly.1 parent 68569e6 commit ced3e88
31 files changed
Lines changed: 378 additions & 598 deletions
File tree
- src
- agent-client-protocol-conductor
- src
- tests
- agent-client-protocol-cookbook
- src
- agent-client-protocol-test
- src
- bin
- agent-client-protocol-tokio
- tests
- agent-client-protocol
- examples
- src
- yopo
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 49 | | |
56 | 50 | | |
57 | 51 | | |
| |||
67 | 61 | | |
68 | 62 | | |
69 | 63 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 64 | + | |
73 | 65 | | |
74 | | - | |
| 66 | + | |
75 | 67 | | |
76 | | - | |
77 | 68 | | |
78 | 69 | | |
79 | | - | |
80 | 70 | | |
81 | 71 | | |
82 | 72 | | |
| |||
92 | 82 | | |
93 | 83 | | |
94 | 84 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 85 | | |
101 | 86 | | |
102 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | | - | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| |||
0 commit comments