Jian/ Docs

The Inspector

The panel beside your conversation: pull requests, subagents, Artifacts, terminals, project files, changes and the browser.

The Inspector is the panel beside the chat. It holds whatever you want to look at while the agent works: a pull request, a subagent, an Artifact, a terminal, your project's files and changes, or the browser.

Try asking

Open the pull request you just made in the Inspector so I can read the checks.

Show me what changed in the checkout so far.

Open the subagent that's running the tests so I can follow it.

Open and arrange it

  • The Inspector opens empty and shows what it can open, with a + beside its tabs. Closing it doesn't lose the tabs.
  • Cmd+Shift+B toggles it (Ctrl+Shift+B on Windows and Linux).
  • It can take the chat's whole area. Where the sidebar and the Inspector can't both fit, the Inspector takes the chat's place.
  • You can resize it and it keeps that size. Each chat's Inspector survives closing the app, and what you opened in a new chat carries over to the chat it becomes.
  • With many tabs open the strip scrolls sideways with the mouse wheel and keeps the open tab in view.
  • Your agent can open things for you with open_in_inspector: a GitHub pull request or issue, one of its subagents, or the browser.
  • Settings, schedules, Activity and other pages take the chat's place and the Inspector stays away until you return to the chat.

What it can show

TabWhat it shows
Pull request or issueFolding sections: Description, Checks, Changes, Reviews. See Projects
SubagentIts messages, tools, tier, model, time at work and a Stop button. See Subagents
ArtifactsA conversation's Artifacts. See Artifacts
TerminalA shell next to the chat
FilesYour project's files, read only
ChangesEach changed file's diff
BrowserThe desktop app's browser. See Browser

Terminals

The + opens a terminal tab, on the web and in the desktop app.

  • The shell runs on the machine the gateway runs on, never on a machine the conversation targets. It starts in the conversation's worktree or checkout. Without one, it starts in the folder the agents share on a server, or in your home folder in the desktop app.
  • You can keep up to 12 open.
  • Close the panel or lose the connection and the terminal comes back with what it printed, up to the last 256,000 characters. When the shell exits, Restart opens a new one.
  • On a server gateway the shell is confined to the folder the agents share, as the agent's own commands are, and gets only the environment they get, so the gateway's database address and keys stay out of it. In the desktop app it is your own shell, still without the gateway's secrets.
  • The agent can't see or type in your terminals.

Files

Files lists every file of the conversation's project, of each of its projects (one folder per project), or of its worktrees. New files git doesn't ignore are included. Changed files carry the letter and color of their change, and a folder with changes in it gets a dot. Filter by name. Up to 20,000 files per folder are listed.

Click a file and it takes the chat's place, with syntax highlighting, line numbers and optional line wrap. Cmd/Ctrl+F finds text. Markdown opens rendered, and you can show its source. The bar has a back arrow to the chat and a ⋯ File options menu with Show code or Show preview, View diff, Wrap lines, Find in file, Copy path and Copy contents.

View diff lays the change into the file you are reading: every line as it is now, and removed lines where they were. It updates as the agent changes the file.

Files up to 1 MB are shown; a binary file says so. Nothing in Files edits a file. It refuses absolute paths, .., anything inside .git, and links that lead out of the checkout. Files of a conversation on a connected machine aren't shown yet.

Changes

Changes shows what changed in the conversation's checkout, or against its base for a worktree, without mixing in other worktrees or your folder. A chat without a project shows the diffs its turns saved.

  • Each changed file's diff sits in the list, folded. With three files or fewer, every diff starts open.
  • Filter files narrows the list, Wrap lines wraps, and a checkbox marks a file reviewed and folds it. With more than one worktree, a Worktree picker chooses which checkout to read.
  • The first 100 changed files get their diff; past that a row says Not shown: more than 100 files changed.
  • Diffs have one column of line numbers, bars for unchanged lines, arrows that bring hidden lines in, and marks on what changed inside a line.

Every finished run also keeps a Files changed list under its last message, and a file in it opens that run's diff.

The viewer

Pictures and PDFs open in a viewer. A tall screenshot fits the screen first; double-click, pinch or Ctrl and scroll to zoom in. On the desktop app PDFs open in Chromium's PDF reader.

On this page