Spaces, tabs and panes
A space is a place to work on one machine, a tab is a piece of work in it, and a pane is a terminal or a mod beside the others.
Every layout shows the same world; a layout may show less, never a different one. Each machine keeps its spaces, tabs and splits in a document in its core. Connected screens share that layout and live terminals, not their focus, zoom or attention. Use commands to change structure; there is no spaces.json. On simultaneous edits the newest accepted document wins (no merging); structural commands fail while that machine's layout is unavailable. Mod pane props are stored as given, never machine-qualified. Space order is local machine first, then machines by name; space.move stays inside its machine's block. In the expanded Spaces sidebar, drag a space to reorder it within its machine; the highlighted line shows where it will land.
- A space is a place to work, on one machine: this one, or another from
hc machine ls(spaces()[i].machine). Woolshed leaves out machines added with--temp(an agent's short-lived sandbox): no spaces, not inmachines(), and mods listing machines skiptemporary. A space nobody named is called after where its first terminal is now (its repo, else its folder,~at home) and follows it; once named (space.rename), the name stays; renaming to "" goes back.spaces()[i].namedsays which. Where a space is now is its terminals' live folders (panes()[i].cwd), not the folder it was made in: new tabs start where its focused pane is, and the default mods take a space's repo from its first terminal. If starting in an inherited folder fails, new spaces, tabs and splits retry in that machine's home. Explicit invalid folders still fail. - A tab is a piece of work in a space: its terminals and how they're split right and down. One nobody named is called by its place (1, 2, ...);
tab.renamenames it ("fix login"). A space has one or more; closing the last one closes the space (it stays inrecent). - A tab can be settled (
tab.settle): put away on this screen, still running;settledon each tab. The shipped layouts don't use it (they list every tab); a mod that does can hide or fold settled tabs. Showing one, or an agent in it needing the user, brings it back. - A pane is a terminal on screen, or a mod beside them (a markdown viewer, a board, a git panel):
pane.split {direction, mod, props}. A mod pane splits, zooms, closes and gets a header like any pane, keeps the keyboard when clicked, and is saved with its tab; itspropstell it what to show (a file, a folder). Closing a terminal pane ends its terminal, and a program exiting closes its pane, even if Woolshed was closed. Terminal panes are kept by their machine's core (keep: true). A lost terminal (core crash, reboot, logout) comes back with the same address. An agent on this computer that resumes (Claude Code, Codex, Kimi, Antigravity, Grok, and their other accounts) carries on the session it was on, as the same account: Woolshed keeps the command in the core'sresume(claude --resume <id>, following/clear), the core runs it in place of the shell when the agent was working or blocked, and an idle one gets its shell with Resume in the pane header (resume.offered;hc resume <t> --runor--dismiss). Everything else gets a shell in its last folder; its original command is never run again. Splits and mod panes (chats too) stay. An exited or killed terminal is closed, not restarted.hc resume <t> [--env K=V] [--cwd DIR] -- <argv...>records your own command for a kept terminal (--clearforgets it). Focus, zoom, recent spaces, settled tabs and seen attention stay on this screen. - Every terminal is a core terminal. Woolshed labels the ones it starts with their space and tab, and a terminal with those labels shows up there, even one started outside the window with
hc run. Adoption also enables core keep;terminal.parkremoves the pane and disables keep. When a core change is needed,terminal.keep/terminal.parkacknowledge withpending: true, then apply after the machine replies; failures show a toast. Normal quit waits for pending terminal changes and layout writes; remote waits are bounded. An id Woolshed doesn't know becomes a new space or tab (unnamed: automatic names). Terminals without the labels (another app's) stay out of Woolshed's screens, and so do other machines' terminals, unless Woolshed started them for a space on that machine.
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.