Waiting on a Claude Code pane: poll its row until a predicate holds, until it is idle twice in a row, until its prompt is free of anyone's text.
Stratum: Pipeline, under hive-tmux.claude.compact. Every read, clock and
sleep goes through the host port, so a test drives time.
Waiting on a Claude Code pane: poll its row until a predicate holds, until it is idle twice in a row, until its prompt is free of anyone's text. Stratum: Pipeline, under `hive-tmux.claude.compact`. Every read, clock and sleep goes through the host port, so a test drives time.
(idle? row)Is ROW a Claude pane at rest? The screen shows no spinner and Claude Code's own session status, when known, is not busy. A row that could not be read is not idle.
Is ROW a Claude pane at rest? The screen shows no spinner and Claude Code's own session status, when known, is not busy. A row that could not be read is not idle.
(observe h ref)The row of the pane REF names, read through host H; nil when it cannot be read.
The row of the pane REF names, read through host H; nil when it cannot be read.
(wait-input-clear h ref opts timeout-ms)Poll until the prompt holds no one's text and the pane is at a settled idle, at most TIMEOUT-MS: text that was sent starts a turn, and that turn must end before anything else is typed. The row, or nil on timeout.
Poll until the prompt holds no one's text and the pane is at a settled idle, at most TIMEOUT-MS: text that was sent starts a turn, and that turn must end before anything else is typed. The row, or nil on timeout.
(wait-settled-idle h ref {:keys [settle-ms] :as opts} timeout-ms)Idle twice, SETTLE-MS apart: a pane between two tool calls looks idle for a moment. The second row, or nil on timeout.
Idle twice, SETTLE-MS apart: a pane between two tool calls looks idle for a moment. The second row, or nil on timeout.
(wait-until h ref pred {:keys [poll-ms]} timeout-ms)Poll (observe) until (pred row) holds, at most TIMEOUT-MS. The row, or nil on timeout.
Poll (observe) until (pred row) holds, at most TIMEOUT-MS. The row, or nil on timeout.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |