dsh_wait
Wait for a delegated coding task to complete, fail, stop, or time out. Returns only the status; on timeout, call wait again with the same cursor to continue monitoring.
Instructions
Subscribe until completion, failure, stop, or timeout (default/max 300 seconds). Omit timeout_seconds for normal delegation; 0 is a one-shot check. Only status is returned. Use the ORIGINAL send_message after_cursor on every wait. On timed_out, call wait again with that same cursor; never resend the task or poll result/history. Only one wait per session at a time. On completion call dsh_result and review code/tests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| after_cursor | Yes | ||
| timeout_seconds | Yes |