Everything the app does, from a terminal or a script. Installed with the app; also brew install chain.
chain new [folder]Start a co-work for the folder (default: current). Prints the code.chain join TIDE-4821 [folder]Join with a code. Clones into the folder.chain listYour co-works, live first.chain code --rotateShow or rotate the current code.chain open claude|codex|cursorOpen an agent in a fresh worktree with the board wired in.chain open claude -t "Password reset"Same, and set the first task.chain agentsSessions running on this Mac and what they hold.chain stop <session>Stop a session and release its claims.chain boardTasks, claims and the last log lines, as JSON with --json.chain claim auth/* -m "Password reset"Claim paths for a task. Fails if someone holds them.chain release [paths]Release your claims (all, by default).chain log "Tests: 42 passing"Add a line to the timeline.chain doneRun tests, merge if green, release. Pauses on conflict.chain login / logoutSign in with the browser.chain relay set wss://…Use a self-hosted relay.chain doctorChecks hooks, git, agents and the relay connection.