Skip to content

Commit 0c4e418

Browse files
committed
chore: move RTS code from agent crate to chat-cli
1 parent 4e7974b commit 0c4e418

File tree

23 files changed

+1159
-219
lines changed

23 files changed

+1159
-219
lines changed

Cargo.lock

Lines changed: 2 additions & 0 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ version = "1.19.3"
1212
license = "MIT OR Apache-2.0"
1313

1414
[workspace.dependencies]
15+
agent = { path = "crates/agent" }
1516
amzn-codewhisperer-client = { path = "crates/amzn-codewhisperer-client" }
1617
amzn-codewhisperer-streaming-client = { path = "crates/amzn-codewhisperer-streaming-client" }
1718
amzn-consolas-client = { path = "crates/amzn-consolas-client" }
@@ -112,6 +113,7 @@ tempfile = "3.18.0"
112113
thiserror = "2.0.12"
113114
time = { version = "0.3.39", features = ["parsing", "formatting", "local-offset", "macros", "serde"] }
114115
tokio = { version = "1.45.0", features = ["full"] }
116+
tokio-stream = { version = "0.1.17", features = ["io-util"] }
115117
tokio-tungstenite = "0.26.2"
116118
tokio-util = { version = "0.7.15", features = ["codec", "compat"] }
117119
toml = "0.8.12"

crates/agent/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ tempfile.workspace = true
6969
thiserror.workspace = true
7070
time.workspace = true
7171
tokio.workspace = true
72-
tokio-stream = { version = "0.1.17", features = ["io-util"] }
72+
tokio-stream.workspace = true
7373
tokio-util.workspace = true
7474
tracing.workspace = true
7575
tracing-appender = "0.2.3"

crates/chat-cli/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ default = []
1616
wayland = ["arboard/wayland-data-control"]
1717

1818
[dependencies]
19+
agent.workspace = true
1920
amzn-codewhisperer-client.workspace = true
2021
amzn-codewhisperer-streaming-client.workspace = true
2122
amzn-consolas-client.workspace = true
@@ -102,6 +103,7 @@ tempfile.workspace = true
102103
thiserror.workspace = true
103104
time.workspace = true
104105
tokio.workspace = true
106+
tokio-stream.workspace = true
105107
tokio-tungstenite.workspace = true
106108
tokio-util.workspace = true
107109
toml.workspace = true

crates/chat-cli/src/agent/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mod rts;

0 commit comments

Comments
 (0)