The right panel
Files, Changes, History, References and the Open view beside the centre panes, and where pull requests live.
The right panel sits beside the centre panes and describes the worktree you are in. A row of icons across its top switches between its views: Files, Changes, History and References, plus one for pull and merge requests in git projects and one for Open. The first five icons show a file tree, a diff, a commit graph, a magnifying glass and a pull request. Sirio keeps the view you pick when you switch worktrees.
Showing and hiding it
Toggle the panel with Ctrl+Shift+I, or Ctrl+Shift+R on Windows, or with the panel button near the right end of the title bar. The command palette lists it as Toggle Right Panel. Its neighbour in the palette, Toggle Right Pane (Ctrl+Shift+B), hides the right half of the centre split and leaves this panel where it is.
Drag the panel’s left edge to resize it. Sirio keeps the width for the next launch.
Files
Files shows the worktree’s tree. Click a folder to open or close it, and double-click a file to open it in an editor tab in the right pane. The Up and Down arrows move through the rows. Enter opens the selected file, and Enter or Space opens or closes the selected folder. Right-click a file for Open, Reveal in File Manager, Copy Path and Refresh, or a folder for the last three. Drag a file onto a terminal pane and its quoted path lands at the prompt, ready for you to finish the command.
A coloured dot marks a file that git sees as staged, changed, untracked or in conflict, and a folder shows a dot when something inside it changed. A changed file also carries a Diff button, which opens it in the worktree’s Changes tab. Files draws the paths git ignores in a fainter colour. Names that start with a dot stay out of the tree until you click the eye icon at the bottom of the view, and they hide again at the next launch.
The tree refreshes when something on disk changes and when you return to Files after a change. The settled tree stays on screen while a refresh runs behind it. Sirio prepares the trees of the worktrees you have open ahead of time, so switching between them draws the tree at once. The watcher skips writes under paths git ignores, such as target/ or node_modules/, so a cargo build in a pane leaves the panel alone.
Every directory carries its own mark, closed when collapsed and open when expanded, and file names and directory names line up in one column.
Changes
Changes lists the worktree’s git status in three sections, Staged, Changed and Untracked, each file with the number of lines it adds and removes. Click a file to unfold its diff in place, Unified or Split. An unfolded file offers Discard, Stage or Unstage, and Open diff, which takes it to the worktree’s Changes tab in the right pane, where the same view has a whole pane’s width. The ↗ at the end of the row opens the file itself in the editor, and a file in conflict adds Resolve in terminal, which opens a terminal tab for it.
A button at the right end of each section’s header stages or unstages all of its files at once, a click on the rest of the header folds the section, and the bar at the top offers Stage all and Discard all. Both kinds of discard ask before they touch anything.
History
History draws the commit graph of the worktree’s local branches, newest first. It loads 500 commits at a time and extends as you scroll. Rest the pointer on a row for its full subject, author, date and short hash, and click it to open that commit as a read-only Changes tab in the right pane.
The field at the top searches commit messages, with .* for a regular expression and Cc for a case-sensitive match, and shows just one commit when you type its hash. Branch, User, Date and Paths sit beside the field in a wide panel, on a row below it in a narrower one, and behind one Filters button in the narrowest. They narrow the list to the commits that match, and Paths takes a path or a glob. While a filter or a search is on, the rows drop the graph lanes, because the matching commits no longer form one continuous history. ⇅ keeps each merged branch’s commits together in one run. Any change to these starts the list again from the top.
“View File History” in the editor’s right-click menu opens the panel on History for a file in a git repository. Open Paths, type the file’s path and press Enter to list only the commits that touch it.
References
References lists every place your code uses a symbol, under one heading per file, each row with its line number and the source line. Choose “Find References” in the editor’s right-click menu and the panel opens on References at once, reading “Searching…” until the language server answers. It then shows the results under a count, “No references found”, or the error the server gave. Clicking a row opens that file at that line. See Navigating code.
Pull and merge requests
In a git project the pull request icon opens the repository’s pull requests on GitHub, or merge requests on GitLab: a card for the request on the worktree’s own branch, four filters, and the list. Clicking one opens it in a tab of its own in the right pane. The view works with github.com, GitHub Enterprise Server, gitlab.com and self-managed GitLab, and Sirio asks the forge nothing until you first open it. See Pull and merge requests.
The Open view
The Open view lists what you can open in the centre: Terminal, Chat, Browser, Changes, Open File and Project Settings. Chat opens the agents on your PATH as rows beneath it, and a click on one opens that chat in the right pane. Whatever you open here lands in the right pane, and the pane appears when it was not there; see Tabs and splits.
Sessions
Up to 0.25, this panel also held Activity, a list of the work in every worktree you had open. The sidebar’s Sessions tab took over that job in 0.26: it lists every agent session across your worktrees, most recently active first, and keeps closed chats under Closed. See The sidebar.