Chat view
Any of six agents can open as a chat instead of a terminal: pick the model, effort and permissions, attach files and pictures, and switch back to the terminal any time.
chat is a tab whose only pane shows a Claude Code, Codex, Kimi Code, Antigravity, Gemini CLI or Grok session as a conversation (its header leads with the agent's logo and name): messages (markdown; a quoted block in a reply, often a message to pass on, has its own Copy beside it), thinking and tool calls folded to one line (click to open: the command, the diff, what came back), and permission prompts as buttons (Allow, Always allow, Deny; questions and plans too). The composer has + (attach files of any kind, pictures, PDFs, spreadsheets, video: the system picker, dropped on the box, or pasted, a screenshot (kept under data/pasted) or files copied in the Finder; shown in the box, pictures as pictures, and above the message once sent; they go with the message as an "Attached files:" list of paths the agent reads, and to Codex pictures as pictures), a mic (hold it to talk: Woolshed Voice records while it's down, voice.start / voice.stop, and writes the words into the message box) and send / stop (Enter sends, Shift-Enter is a new line, Esc interrupts). The conversation and the box sit in a column down the middle (760 px at most); a new chat shows its question large with the box under it. In the box, beside send: two dropdowns that change the running session at once: model and effort ("Opus · High": set_model, effort low to max) and the permission mode (Manual, Accept edits, Auto, Plan; it follows what Claude Code reports, so an approved plan shows the mode it moved to). Under the box: the machine, the folder (opens it), Worktree when it is one, and what the keys do. The header links to a terminal beside it (pane.split), the process's own terminal (terminal.peek), a local address the conversation mentioned (opened in the browser) and back to Claude Code's own interface in a tab (claude --resume <id>).
- Props:
{ id, folder, agent?, run?, model?, effort?, prompt?, mode?, thread? }.idis a new UUID and also the Claude Code session id;promptis the first message, sent once;runis how the agent starts (programs.json'srun, default["claude"], or["codex"]).agent: "codex"makes it a Codex chat;"kimi","antigravity","gemini"and"grok"the Agent Client Protocol ones. Until its first message, the folder chip picks the folder. Open one withtab.new {name, mod: "chat", props}orspace.new {folder, tab, mod: "chat", props}. - Claude Code runs as its own interface, exactly as
claudein a terminal, in a Woolshed Core terminal with no pane, labelledwoolshed.chat=<id>, in the person's own environment and sign-in, so a chat uses the plan's limits as the terminal does.--settings data/chat/<id>/settings.jsonadds the chat's hooks and status line (the person's own settings stay as they are): each hook writes a line to the chat's log; a permission request waits for the chat's answer (Allow, Always allow, Deny; questions too). The conversation is Claude Code's own transcript, read where it is. Messages go in withhc send, Esc withhc keys. Questions its hooks can't carry (a plan to approve, whether to trust the folder) are read off its screen and answered with its keys; the card has Show terminal (terminal.peek), where it can be used as itself. The mode picker steps its shift+tab; a new model or effort starts it again on the same session once its turn is over (--model/--effort: its own /model would also change the person's default). It keeps running while the view is closed, and ends after 20 minutes with no turn running and no view open; the next message starts it again with--resume(after a reboot too: the chat's tab comes back with its conversation). Until a chat's first message, the model picker's Runs as can pick Headless instead (claude -pwith stream-json and--permission-prompt-tool stdio, as chats ran before); new chats then run that way (shared"chat.claude":"headless"). A chat that ran headless before goes on as Claude Code's own interface, on its transcript. This computer only; not on Windows yet. - Under each message's last reply: what it used of the plan's limits where the agent reports them ("Plan limit: 5-hour +2% (now 14%) · weekly 15%"): Claude Code's status line (its own interface) or rate-limit events (headless), Codex's
account/rateLimits/updated. - Codex runs as
codex app-server(its JSON-RPC protocol over the same FIFO and log): a thread in the folder (thread/start, orthread/resumeforthread: a Codex session id, whose history it shows first), each message a turn (turn/start), Escturn/interrupt. Its questions show as prompts: run a command (Allow, Always allow: Codex's own rule for that command, Deny), apply a patch (shown as a diff), more access, and its multiple-choice questions. The pickers: its models and their efforts (model/list), and the mode: Ask first (untrusted), Auto (on-request, writes in the folder: Codex's default), Read only, Full access (no sandbox, never asks); they apply from the next message. Signed out: Sign in runscodex loginin a tab. - Kimi Code (
kimi acp), Antigravity (agy acp), Gemini CLI (gemini --acp) and Grok (grok agent stdio) speak the Agent Client Protocol (JSON-RPC 2.0) over the same FIFO and log. A session in the folder (session/new, or forthread, a Kimi session id,session/loadthe first time, which replays its history,session/resumeafter), each message asession/prompt(ACP doesn't echo it: the view logs it as{"type":"woolshed", "event":"user"}), Escsession/cancel. Its permission requests show as prompts with its own options (Allow, Always allow, Deny); its config options are the pickers (model, thinking, mode: Default, Plan, Auto, YOLO), changed at once (session/set_config_option). Signed out ("Authentication required"): Sign in runskimi loginin a tab (Kimi), or opens Connect (Antigravity: a Google account; Gemini: an API key, since Google ended personal sign-in for Gemini CLI); the next message asks for the session again. Antigravity's options are model,thought_leveland mode, and it reports its plan (_meta.antigravity.tier). In a terminal they reopen withkimi -S <id>,agy --conversation <id>,gemini --resume <id>,grok --resume <id>. Grok's pickers are its model and reasoning effort; signed out, Sign in runsgrok loginin a tab. chatprops may also carrytranscript: a Claude Code transcript (projects/<folder>/<id>.jsonlin its config folder) to show when the chat has no log of its own yet (its last 3000 messages, no side chains); the chat then resumes that session (idis its session id).- A pane running an agent splits (its header's split buttons) into a choice: a shell, the same agent in a terminal, or a chat of it, in that pane's folder and with its account; a pane with no agent splits to a shell.
- An agent's pane shows its folder as a button in its header: pick another folder and the same agent starts there in that pane's place (
terminal.open {place, folder, argv}, thenpane.close); the conversation it left stays in History. - A pane running Claude Code, Codex, Kimi Code, Antigravity or Grok in a terminal shows Chat in its header (the
panemod): it ends that terminal and opens the same session as a chat in its place (pane.split {mod: "chat"}, thenpane.close), with its conversation. The session is the one it is on now: Claude Code's ownsessions/<pid>.json(it follows/clear), else the one Woolshed recorded for the terminal (resume.session), else the newest written in its folder since it started that no other pane runs, else the one it was started on (--resume/--session-id,codex resume <id>,kimi -S <id>,agy --conversation <id>,grok --resume <id>); it keeps its account (CLAUDE_CONFIG_DIR,CODEX_HOME,GROK_HOME). - Several Claude accounts (work, personal, an API key): each is its own Claude Code config folder, with its own sign-in, settings and transcripts (
CLAUDE_CONFIG_DIR). Add each to programs.json asclaude-<name>and it shows on the start screen as an agent of its own, in Terminal or Chat; its Sign in button signs in that account:"claude-work": { "name": "Claude (work)", "icon": "icons/claude.svg", "run": ["env", "CLAUDE_CONFIG_DIR=/Users/me/.claude-work", "claude"] }. For an API key, give that folder'ssettings.jsonanapiKeyHelperthat reads the key from the Keychain (security find-generic-password -s <name> -w), never the key itself. Theaccountsdialog (start screen: Claude accounts…) does all of this: it lists each account with who it's signed in as, adds one (a sign-in, or an API key typed intosecurityin a tab so Woolshed never sees it), signs in again, and removes the entry (the folder stays). - Several Grok accounts work the same way, each its own folder (
GROK_HOME, default~/.grok) and agrok-<name>program:"grok-work": { "name": "Grok (work)", "icon": "icons/grok.svg", "run": ["env", "GROK_HOME=/Users/me/.grok-work", "grok"] }; its sign-in isgrok loginwith that run. Sign-in tabs opened by the accounts dialog or History go on into the agent once signed in (sh -c '"$@" login && exec "$@"'). Theaccountsdialog withprops.agent: "grok"(History's Grok tab menu: Add another Grok account…) makes them; a Grok tab's Sign in as someone else… signs that folder out and in again. Each shows on the start screen (Terminal or Chat) and as a History tab of its own; a session stays with the account it was started in.
Your agents read these same words: Woolshed writes this guide to ~/.config/woolshed/AGENTS.md on every start. In it, “you” is the agent and “the person” is you.