Cotal TypeScript packages
    Preparing search index...

    Class CmuxRuntime

    Spawns each agent into its own new cmux tab (workspace), so spawned teammates get room instead of crowding the spawner. The launch goes through paneCommand (a temp bash script) — non-login, since the agent's command is an absolute path. Opened unfocused so the human stays put; switch to the new tab to watch the worker. Like tmux, you watch it natively, so attach() throws — but teardown is real: we keep the tab's workspace + surface ids to drive and close it.

    Implements

    Index
    kind: "cmux"
    reportsStartupOutcome: true

    True when every handle this runtime spawns reports AgentHandle.startupOutcome. A once spawn on a connector with Connector.onceNeedsConfirmed is refused without it.

    streamsTerminal: false

    Whether a handle this runtime creates can open a live AttachSession. A backend that owns the child's pseudo-terminal streams it; a backend that attaches to a process it does not own holds no stream for it, and its AgentHandle.attach throws its own guidance instead.

    REQUIRED, and a backend that streams nothing says so rather than leaving a caller to find out by catching the throw: the manager reports this to its callers, so a foreground cotal spawn on such a runtime launches the seat without attempting an attach that cannot open, and cotal attach refuses by name. Omitting it on a streaming backend would silence that terminal.