Repository navigation
Agntree v4.1.0
Added
-
Switch Session —
Ctrl+Alt+S(Ctrl+Cmd+Son macOS), also Switch Session… in the Agntree…menu, opens one list of every session in every repository, searchable by name, repository, worktree, and agent. Sessions that need you come first, longest-waiting first and with what a waiting Claude Code session is asking, then open, starred, and recent sessions. The session you are in is last, soCtrl+Alt+SthenEntertakes you back to the previous one, and pressing the shortcut again while the list is open moves down it. A pick opens the way a row click does. Each row shows the agent's live mark, and hovering it offers Open in Claude Code UI or Codex UI, Open Session in Terminal, Close Session, and Star; starring or closing keeps the list open, and rows never move while it is. Buttons in the title bar narrow the list to starred sessions or to the repository you are working in. -
Quiet sessions fold away — In the sidebar, sessions with no activity for 3 days fold under a Show more (n) row at the bottom of their worktree, so a worktree with many sessions shows the ones you are working with. Starred and open sessions never fold, a single quiet session stays in place, and opening a folded session moves it back up and collapses the Show more row again. Change the days with
agntree.foldOlderSessionsAfterDays, or set it to0to list every session.
Changed
- Starred Sessions is now part of Switch Session —
Ctrl+Alt+Sopens Switch Session instead. Starred Sessions… in the Command Palette opens it showing only starred sessions, and the star in its title bar switches between the two. Starred Sessions leaves the Agntree…menu, and a shortcut you bound to it keeps working. - Moving to a session counts as using it — Focusing a session's terminal tab or agent panel, or arriving from a notification, now updates when you last used it, as opening it from the sidebar already did. Switch Session's most-recent order follows where you actually worked, and a session you keep returning to stays in the list longer.
- Clearer sidebar icons — Each color now means one thing. Repositories are purple, and a repository's main worktree has a purple house icon instead of a green branch. A pull request checkout is cyan, and the worktree this window has open turns blue and keeps its branch or pull-request shape instead of becoming an amber target. Green, amber, and red are left to session marks and git status, so a worktree no longer looks finished or modified.
- Starred sessions sit at the top of their worktree — In the sidebar, a starred session's star now sits at the right edge of the row, where a long name can no longer push it out of view. Starring a session also moves it above the others in its worktree, so the sessions you marked as important are the first you see however many there are. Unstarring puts it back in its place. Opening a session or new activity still never moves a row. Turn this ordering off with
agntree.starredSessionsFirst.
Install
- VS Code Marketplace
- Manual: download the
.vsixbelow, then run Extensions: Install from VSIX...