Terminals
Most Scripts print and exit, and run without a terminal. A program that prompts on one, as sudo, ssh or a password
prompt do, needs one: give its Job a host.
host |
Where it runs |
|---|---|
pipes (the default) |
No terminal; its output is kept. |
pty |
A terminal of Boiler Room's own, which you attach to. |
tmux |
A window in tmux, in a boiler-room session. |
zellij |
A pane in zellij, in a boiler-room session. |
hc |
A terminal in hc, here or on another machine. |
command |
Whatever your own command opens: WezTerm, kitty, another multiplexer. |
In any of these, Boiler Room keeps what the Script prints, and notices when it seems to be waiting for you: at a
shell's prompt, when a program asks for attention (as Claude Code does), when it rings its bell, or when it's been
quiet for as long as the Job's quiet says (quiet = "2m"), for prompts that say nothing else. You're told, as for a
question.
- Attach (the window's Attach button, or
boiler-room attach <run>) opens your terminal app on it: Boiler Room's own terminal forpty(Ctrl-\ leaves it running), or the multiplexer's own attach for the rest. - Type into it without attaching:
boiler-room send <run> "yes"(and Return;--no-enterfor without).
Your own way #
In Settings › Where Jobs Run, or the daemon's settings file (~/.config/boiler-room/daemon.toml), host = "tmux" makes every Job that doesn't name a
Host run there. Each multiplexer's open and attach replace how Boiler Room opens a pane and gets you to it, and the
command Host runs only yours, for a terminal Boiler Room doesn't know:
host = "tmux"
[hosts.tmux]
session = "work"
open = "tmux new-window -d -t work: -n {title} -P -F '#{window_id}' {command}"
attach = "tmux attach -t work"
[hosts.command]
open = "wezterm cli spawn -- {command}"
attach = "open -a WezTerm"
{command} is what the pane runs (Boiler Room's own wrapper, which reports the Run back), {title} the Job and
Run, and {address} whatever open printed; each is quoted for the shell. See
The command line and agents for the rest of the daemon's settings.
Phin Tech docs
Boiler Room in the store →