Skip to content

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 09:50
· 32 commits to main since this release
3135841

Agntree v3.0.0

Added

  • Open a Claude Code session in the Claude Code UI — Right-click a linked Claude Code session and choose Open in Claude Code UI. Agntree closes the session's terminal after confirmation, then asks the Claude Code extension to open that exact session in its native chat surface in the active editor group, honoring claudeCode.preferredLocation. The active group is where the session's terminal or your files are, so the UI does not create and lock a new right-hand group. The matching row is selected and shown as active while its Claude UI tab is open, turn-state polling includes UI sessions, and switching back to a CLI terminal tab selects the CLI session again. It can open the session only when the session's worktree is the first folder open in VS Code, because the extension UI always runs in that folder; other worktrees get an offer to open in a new window. The action stays visible when the extension is missing and explains what to install. A session without a transcript still starts in the terminal until its first prompt; Agntree maps only the UI tabs it opened, not tabs opened directly in the extension.
  • Open a Codex session in the Codex UI — Right-click a linked Codex session and choose Open in Codex UI. Agntree closes the session's terminal after confirmation and opens the thread in the Codex extension's conversation panel in the active editor group. Codex panels carry their thread ID, so Agntree also maps panels restored after a reload or opened directly from the Codex extension, even though the sidebar view is not an editor tab. The same row selection, active mark, turn-state polling, and notification suppression apply. The Codex panel resumes the thread in its own worktree, so the first-folder rule that applies to the Claude UI does not apply here. The action stays visible when the extension is missing and explains what to install.
  • An open session UI is focused, not duplicated — Clicking a session row that is already open in the Claude Code or Codex extension reveals that panel instead of launching a second CLI for the same session. A live terminal still takes precedence when both are open.
  • Choose where a session opens — agntree.defaultSessionSurface decides whether clicking a session row prefers its terminal or the agent's VS Code UI, falling back to the terminal when the UI cannot open that session. Open Session in Terminal and the UI hover icon override the default, and switching an open UI session back to a terminal asks before closing its tab so two agent processes never run at once. The UI context-menu action stays visible when the extension is missing and explains what to install.
  • Start a new session in the agent UI — The New Session menu offers a UI entry for Claude Code and Codex alongside the terminal entry. Agntree creates the row immediately, opens a new conversation, and links the real session when the first prompt creates it; the row keeps the harness-assigned name. Claude starts the conversation in the first VS Code folder and Codex in a single-folder workspace, so other worktrees explain the limitation rather than running in the wrong directory.
  • Sessions started outside Agntree appear automatically — Agntree imports recent native sessions from each folder and worktree, including sessions started in a plain terminal, another window, or an agent's own UI. Chats use the agent's session name (Claude's ai-title, Codex's thread name, or opencode's title) with the first prompt only as a fallback. Every row — imported or started in Agntree — ages out after agntree.autoImport.retentionDays quiet days (7 by default); a star keeps one indefinitely, a chat open in a terminal or UI tab is never removed, and removing a session from the list keeps it out of future imports. agntree.autoImport.enabled turns the automatic import off without affecting linkage for sessions Agntree launches.
  • Session names follow the agent — Claude's ai-title entries now name the session, so a renamed Claude conversation appears under that name instead of its first prompt. Auto-imported chats follow a later harness title once, unless you renamed the chat yourself.

Changed

  • Sessions keep a stable creation order — Session rows sort by when they were created, newest first, instead of by recent activity with starred and open rows pulled to the top. Opening, resuming, or starring a chat no longer makes it jump position; the active mark and the star still show its state.
  • Auto-import pauses while the sidebar is hidden — Agntree no longer scans the agents' sessions every two minutes in the background of a window where the Agntree view is closed. It catches up as soon as the view is visible again. A session that is still being linked after a UI launch always keeps scanning.

Fixed

  • A starred session obeys the same open rules — Picking a session from Show Starred Sessions now focuses its open Claude Code or Codex panel and follows agntree.defaultSessionSurface, like clicking the row, instead of always launching a terminal beside the open panel.
  • A failed UI start leaves no row behind — If the agent's UI cannot open a new conversation, Agntree removes the placeholder row it created instead of keeping an unlinked row that held back auto-import for other sessions in that worktree.
  • Search Sessions import clears a removal — Importing a session from Search Sessions now undoes an earlier removal the same way Import Existing Sessions does, so the session can be imported again after retention later drops the row.
  • A UI session links the right conversation after a reload — The set of sessions that existed before a UI launch is saved with the session, so a window reload between the launch and the first prompt no longer lets the placeholder adopt an older conversation from the same worktree.
  • A background link binds only a matching Claude tab — Linking a session from a scan no longer claims whichever Claude tab happens to be active; it binds only a tab whose title matches the session's name.

Install

  • VS Code Marketplace
  • Manual: download the .vsix below, then run Extensions: Install from VSIX...