Long-poll a Clanker run
clanker_waitWait for significant events or completion of a background run. Use quiet mode (default) to wake only on plan/status changes, tool errors, or terminal state, reducing the need for frequent polling.
Instructions
Wait up to timeout_ms (default 30000, cap 55000) for new events or completion. Returns {status, digest, plan_summary, last_event_age_ms, suspected_stall}; when status is terminal also {final_message, touched_files, plan_final}. digest is a human-readable summary of events since the previous wait — tool titles, file writes, plan check changes, key message sentences. Quiet mode (default on): only wakes before the deadline on a plan/status change, a tool error, a suspected stall, or a terminal state — trivial chatter (a tool_call starting, a file-location echo, a message-chunk fragment) does not cut the wait short, so callers no longer need to repoll tightly just because the run is reading/grepping. Pass quiet:false for the old any-event wake-up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Run id from clanker_dispatch_start / clanker_dispatch | |
| quiet | No | Debounce mode (default true): wake early only on plan/status change, tool error, suspected stall, or terminal state. quiet:false restores waking on every trivial event (tool_call start, file echo, message chunk) — the pre-debounce behavior. | |
| timeout_ms | No | Long-poll window in ms (default 30000, capped at 55000) |