Agents and who needs you
Every agent shows as working, blocked (it needs you), done or idle. The one waiting on you goes to the top, with a sound and a note that takes you there.
- Agents are terminals whose program reports a status (OSC 7501):
working,blocked,idle, ordone= finished while the user wasn't looking (it becomesidleonce they look). A space's and a tab's status is the most urgent of its agents: blocked > done > working > idle. Status hooks cover agents that don't report it themselves: the Agents list asks once ("Know when every agent needs you"; later its sort menu's Status hooks, orwoolshed do agents.hooks-on/agents.hooks-off) and then adds a command hook,woolshed-core hook <agent>, to every Claude Code account'ssettings.json(itsCLAUDE_CONFIG_DIR) and to Codex'shooks.json(CODEX_HOME). Only groups whose command ends# woolshed statusare Woolshed's; off takes exactly those out. Codex then asks once itself ("Hooks need review": Trust all) before it runs them. Not on Windows yet. The hooks say working, blocked (with the command a permission is for, or a question and its numbered options), idle, anderrortitledrate_limitwhen a usage limit stops a turn; an agent that reports itself keeps its own word, and its hooks' details are interminals()'srecords.hook. - Sub-agents are terminals an agent started with
hc run: the core records the starter asparent(seeterminals()). They belong to their parent's tab without a pane; theagentsmod shows them,terminal.peekopens one,terminal.keepgives one a pane. Ctrl-click (Cmd-click on macOS) a live terminal address in terminal text to peek at it. Bare addresses refer to the machine of the terminal showing them; usemachine/addressfor another machine. Names and non-live addresses aren't links. - Agent navigation order belongs to the mods. A mod displaying agents calls
setAgentOrder(list.map(a => a.address))on render soagent.next/agent.prevfollow its list. sounds:{ "enabled": true, "done": "<file>", "blocked": "<file>" }. When an agent needs the person, or finishes while they aren't looking at it, Woolshed plays a sound and (unless they're looking) posts a toast that goes there when clicked; with Woolshed in the background, the system's notification too. One that needs you carries its question and answers (Allow, Deny, Reply…, or its numbered options) on both, asagent.answer; Reply brings Woolshed forward with the reply box. The notification goes once it's answered anywhere.done/blockedreplace the bundled MP3s (path absolute or relative to~/.config/woolshed). Changes apply live, including the Play buttons in Settings > Alerts.
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.