Skip to main content
The Code tab is the agent workbench. It is a three-pane workspace: a repo/session sidebar on the left, a chat thread and composer in the center, and a tabbed review pane on the right.

Layout

┌─────────────┬──────────────────────┬─────────────┐
│  Sidebar    │  Thread + Composer   │  Review     │
│  ~260 pt    │  (flexible)          │  ~380 pt    │
└─────────────┴──────────────────────┴─────────────┘
The review pane drops out when the window is narrower than 1100 pt. Sidebar and thread stay first-class. Use Cmd+W to toggle the review pane at full width, or widen the window.
The sidebar organizes sessions by repo, sorted by most-recent activity. Each repo expands to show:
  • Active sessions — Continuum-spawned sessions registered in the daemon.
  • Sub-chats — branched conversations nested under their parent session (Cmd+;).
  • Recent (last 30 days) — one row per JSONL file touched in the activity window, with a relative timestamp and a green dot for sessions still in the 5-minute live window.
Searching: the search field filters across all visible rows. The Show-archived toggle reveals archived sessions. Context menu on a session row: Archive / Unarchive, New sub-chat, End session. Opening a recent JSONL: clicking a Recent row opens that file as read-only chat — a synthetic session pinned to the exact path. Right-click → Continue here resumes the session with the CLI’s own session id (Claude --resume <id> / Codex resume <id>), pinning the same JSONL so history is continuous.

Center pane — thread and composer

The thread shows all agent turns. Consecutive tool-use and tool-result messages are grouped into a single collapsible “Ran N commands” disclosure group. Each tool inside is itself expandable. Auto-scroll follows new messages when the bottom anchor is visible. When you scroll up to read history, scrolling stops. A “Jump to latest” overlay button appears when you are scrolled away from the bottom. The Composer lives at the bottom: slash commands, @ mentions, attachments, voice dictation, and the live cost ticker.

Review pane tabs

Step timeline derived from the plan text and numbered assistant turns. Auto-completes heuristically; tap to toggle steps manually. Approve & Run button re-spawns the agent with write access. See Plan mode.
Live git diff HEAD with per-hunk Stage and Revert actions and a Commit sheet. Auto-refreshes via a vnode watch on .git/index. See Diffs and PRs.
File and URL citations pulled from Read, Grep, Glob, and WebFetch tool-use blocks. Every file or URL the agent consulted appears here for your review.
Auto-detected GitHub PR link from the chat. Polls gh pr view every 30 s for title, state, additions, deletions, and review status. Approve action runs gh pr review --approve. See Diffs and PRs.
Raw terminal overlay. Demoted from the main view to a Cmd+T shortcut. Full PTY for Claude; harness terminal for Codex and other providers.

Browser Preview

InAppBrowser is a WKWebView with navigation chrome. Cmd-click any element to add a comment chip. The comment is injected into the agent prompt as [BROWSER COMMENT @ <selector>] <text>, giving the agent precise in-page context without copy-paste.

Pop-out sessions

Cmd+Opt+N pops the open session into a separate window (the session-detail window scene). The pin button in the toolbar toggles NSWindow.level = .floating so the window stays on top of other apps.