summaryrefslogtreecommitdiff
path: root/src/cli/protocol_guard.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-19 23:52:20 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-19 23:56:07 +0300
commit3f80947678a9723434aa7fddfe23750b5393e24c (patch)
tree6f463797132acfc51dfb6e135820a052954b4f13 /src/cli/protocol_guard.rs
parentf76f895efe5b9f19aa9db909354c6c0f2195630b (diff)
feat: make agent automation a first-class cli primitive
Diffstat (limited to 'src/cli/protocol_guard.rs')
-rw-r--r--src/cli/protocol_guard.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/protocol_guard.rs b/src/cli/protocol_guard.rs
index 21302bbf..db12b6f8 100644
--- a/src/cli/protocol_guard.rs
+++ b/src/cli/protocol_guard.rs
@@ -64,13 +64,13 @@ mod tests {
#[test]
fn older_server_error_preserves_request_id_and_guidance() {
let response = mismatch_response(
- "cli:wait:agent-status",
+ "cli:agent:wait",
crate::protocol::PROTOCOL_VERSION - 1,
"Run the session stop command, then restart.",
)
.unwrap();
- assert_eq!(response.id, "cli:wait:agent-status");
+ assert_eq!(response.id, "cli:agent:wait");
assert_eq!(response.error.code, "protocol_mismatch");
assert!(response.error.message.contains(&format!(
"client protocol {}",