The tmux subdomain of the host's swarm tool: Claude Code panes as data
for a supervisor, and compaction with re-seed and goal restore.
swarm tmux panes every Claude pane: pane, target, name, session id, cwd, ctx-tokens, busy?, status, goal-active?, goal-age swarm tmux compact compact one pane, or every pane over threshold swarm tmux job one compaction job by id, or all of them
The `tmux` subdomain of the host's `swarm` tool: Claude Code panes as data
for a supervisor, and compaction with re-seed and goal restore.
swarm tmux panes every Claude pane: pane, target, name, session id, cwd,
ctx-tokens, busy?, status, goal-active?, goal-age
swarm tmux compact compact one pane, or every pane over threshold
swarm tmux job one compaction job by id, or all of themOwnership key for contributions, so retraction removes only ours.
Ownership key for contributions, so retraction removes only ours.
(caller-pid caller-id)The pid in a coordinator:<pid> caller id (the host stamps it on every call
as _caller_id), or nil. It is the pid of the caller's own Claude Code
process, which is the :pid of the session its pane row joins.
The pid in a `coordinator:<pid>` caller id (the host stamps it on every call as `_caller_id`), or nil. It is the pid of the caller's own Claude Code process, which is the :pid of the session its pane row joins.
(compact-cmd params)pane given: compact those panes, whatever their size.
pane omitted: every Claude pane over threshold, except those in exclude.
dry_run: say what would be compacted, start nothing.
The caller's own pane (_caller_id) is never compacted here: named, the
call is refused at once; in a sweep it is left out and reported, both
pointing at swarm steer self (see self-compact).
pane given: compact those panes, whatever their size. pane omitted: every Claude pane over threshold, except those in exclude. dry_run: say what would be compacted, start nothing. The caller's own pane (`_caller_id`) is never compacted here: named, the call is refused at once; in a sweep it is left out and reported, both pointing at `swarm steer self` (see `self-compact`).
(contribute!)Graft swarm tmux ... onto the host and register the pane senses with
sixth-sense. The verbs need only the tmux CLI, not libtmux, so the addon
contributes them before its preflight runs.
Graft `swarm tmux ...` onto the host and register the pane senses with sixth-sense. The verbs need only the tmux CLI, not libtmux, so the addon contributes them before its preflight runs.
(goal-cmd params)Arm or replace a pane's /goal without compacting it.
Arm or replace a pane's /goal without compacting it.
(own-pane? row pid)Does ROW show the session of the caller whose pid is PID?
Does ROW show the session of the caller whose pid is PID?
(read-cmd params)A pane's newest assistant message (from its transcript) and its screen body.
A pane's newest assistant message (from its transcript) and its screen body.
(retract!)Withdraw swarm tmux ..., stop the pane watcher, unregister the senses.
Withdraw `swarm tmux ...`, stop the pane watcher, unregister the senses.
(say-cmd params)Submit one prompt to a pane.
Submit one prompt to a pane.
Where the caller compacts its own pane instead.
Where the caller compacts its own pane instead.
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 |