From 6f7ef04e7dd5a8ec35c5aac8c9b6be1447290399 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 20 Jul 2026 15:21:46 +0300 Subject: fix: bound stalled agent prompt waits --- src/cli/spec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli') diff --git a/src/cli/spec.rs b/src/cli/spec.rs index 7b2977ac..7fa08550 100644 --- a/src/cli/spec.rs +++ b/src/cli/spec.rs @@ -355,7 +355,7 @@ fn agent_command() -> Command { .help("Fail after this many milliseconds"), ) .after_help( - "Without --until, --wait matches the first idle, done, or blocked state observed after submission. It does not track turns: if the agent is already working, that active turn's completion may match. Use --until unknown explicitly when needed. Without --timeout, it waits indefinitely.", + "When submission starts from a non-working state, --wait first requires an observed state change within 5000ms; otherwise it returns agent_prompt_stalled. A shorter --timeout returns timeout instead. It then matches idle, done, or blocked by default, or any exact --until state. It does not track turns: if the agent is already working, that active turn's completion may match. Without --timeout, the settled-state wait is indefinite.", ), ) .subcommand( -- cgit v1.2.3