aboutsummaryrefslogtreecommitdiff
path: root/src/cli/spec.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-20 15:21:46 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-20 15:22:26 +0300
commit6f7ef04e7dd5a8ec35c5aac8c9b6be1447290399 (patch)
treec050b566f61964fd7cdaca6aad24d7fe82053079 /src/cli/spec.rs
parent28b628d79d755afbb3ac45f9184a03c204c26784 (diff)
fix: bound stalled agent prompt waits
Diffstat (limited to 'src/cli/spec.rs')
-rw-r--r--src/cli/spec.rs2
1 files changed, 1 insertions, 1 deletions
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(