Liking cljdoc? Tell your friends :D

hive-tmux.claude.queue

Mid-turn delivery: a prompt typed into a BUSY Claude Code pane and submitted is queued by Claude Code and handed to the model at its next step, without interrupting the turn (card 20261120021807-1a6075cf, follow-up 2). The gentle alternative to an interrupt.

Stratum: Promote. Pure functions over a recorded screen (the lines of tmux capture-pane -p, escapes kept or not), read through screen/read-screen; the typing is done by hive-tmux.claude.compact/say! through the host port.

Mid-turn delivery: a prompt typed into a BUSY Claude Code pane and
submitted is queued by Claude Code and handed to the model at its next
step, without interrupting the turn (card 20261120021807-1a6075cf,
follow-up 2). The gentle alternative to an interrupt.

Stratum: Promote. Pure functions over a recorded screen (the lines of
`tmux capture-pane -p`, escapes kept or not), read through
`screen/read-screen`; the typing is done by `hive-tmux.claude.compact/say!`
through the host port.
raw docstring

dialog-line?clj

(dialog-line? line)

Does LINE (escapes stripped) belong to a dialog Claude Code is showing: the Do you want to proceed? question, or a numbered choice under the ❯ cursor (❯ 1. Yes). A second net under screen/dialog-of.

Does LINE (escapes stripped) belong to a dialog Claude Code is showing: the
`Do you want to proceed?` question, or a numbered choice under the `❯`
cursor (`❯ 1. Yes`). A second net under `screen/dialog-of`.
sourceraw docstring

queue-checkclj

(queue-check text lines)

May TEXT be queued into the pane whose screen is LINES? {:ok? true :insert? bool}, :insert? true when the composer is in vim NORMAL mode, so i goes first, or {:refuse kw ...}: :multi-line TEXT holds a newline; one line is queued, never a paste :slash-command TEXT is a slash command; those are not queued blind :open-dialog a dialog is on screen; nothing is ever typed into one :no-prompt no prompt line could be found :human-typing someone's text stands at the prompt (:input names it) :vim-mode-unknown neither -- INSERT -- nor -- NORMAL -- shows, so an i might land as a literal character A prompt line holding only the glyph and a no-break space is empty; dim ghost text (a suggestion, the queued-messages hint) is not anyone's input.

May TEXT be queued into the pane whose screen is LINES? {:ok? true
:insert? bool}, :insert? true when the composer is in vim NORMAL mode, so
`i` goes first, or {:refuse kw ...}:
  :multi-line        TEXT holds a newline; one line is queued, never a paste
  :slash-command     TEXT is a slash command; those are not queued blind
  :open-dialog       a dialog is on screen; nothing is ever typed into one
  :no-prompt         no prompt line could be found
  :human-typing      someone's text stands at the prompt (:input names it)
  :vim-mode-unknown  neither `-- INSERT --` nor `-- NORMAL --` shows, so
                     an `i` might land as a literal character
A prompt line holding only the glyph and a no-break space is empty; dim
ghost text (a suggestion, the queued-messages hint) is not anyone's input.
sourceraw docstring

queue-outcomeclj

(queue-outcome text lines)

After Enter, was TEXT queued? Read from LINES: {:delivery :queued} the composer is empty and Claude Code's queued marker (⎿ Queued · ctrl+x ctrl+s) stands under TEXT (screen/read-screen :queued) {:delivery :unconfirmed} the composer is empty but no queued TEXT shows: the model may already have taken it, or the screen redrew; not proven {:delivery :not-queued} text is still at the prompt (:composer) Every answer but :queued carries the screen :tail.

After Enter, was TEXT queued? Read from LINES:
  {:delivery :queued}       the composer is empty and Claude Code's queued
                            marker (`⎿ Queued · ctrl+x ctrl+s`) stands under
                            TEXT (`screen/read-screen` :queued)
  {:delivery :unconfirmed}  the composer is empty but no queued TEXT shows:
                            the model may already have taken it, or the
                            screen redrew; not proven
  {:delivery :not-queued}   text is still at the prompt (:composer)
Every answer but :queued carries the screen :tail.
sourceraw docstring

tailclj

(tail lines)
(tail lines n)

The last N (default 12) non-blank lines of LINES, escapes stripped: what a refusal or a :not-queued report shows of the screen.

The last N (default 12) non-blank lines of LINES, escapes stripped: what a
refusal or a :not-queued report shows of the screen.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close