Prompt workspace¶
The Prompt workspace is Loom's cockpit. It exposes the four panes that map to an active build/debug loop: terminal for execution, editor for the file tree, tasks for what's next, agent for help.
Sidebar label: Prompt · icon: text.cursor.
Available panes¶
- Terminal (⌘⇧1) — SwiftTerm-backed shell. See Terminal overview.
- Editor (⌘⇧2) — File tree with breadcrumb. CodeEdit integration is on the roadmap.
- Tasks (⌘⇧3) — SwiftData kanban; columns Todo / In Progress / In Review / Complete / Cancelled.
- Agent (⌘⇧4) — Chat pane. Default provider is Claude Code via OAuth; switch via the picker.
You can add multiple of the same kind (e.g. two terminals side-by-side). Use ⌘⌥arrow to pin one to the left and one to the right.
Working folder¶
Every Prompt workspace has a folder URL. Set it from the workspace inspector. It feeds:
- The Terminal pane's
cwdon launch (and oncdreset via the prompt menu). - The Editor pane's file tree root.
- The Agent pane's
cwd(passed toclaude -p).
If you switch the folder mid-session, the terminal stays where it is — Loom only seeds cwd at launch.
Task → Agent / Terminal handoff¶
Kanban cards in the Tasks pane carry two optional fields:
agentPrompt— text auto-injected into the Agent pane's input when you "Send to agent" from a card.terminalCommand— shell command auto-injected into the Terminal pane.
See Task handoff for the trigger UI.
Live agent tasks¶
When the Terminal pane detects a foreground CLI agent (claude, codex, gemini), the Tasks pane mirrors that session's live task list — read live from ~/.claude/tasks/<session>/<id>.json. See Live agent tasks.