Repository navigation
v1.3.0
Agntree v1.3.0
Added
- Animated "working" mark — a session mid-turn now shows its harness mark beating like a heartbeat instead of a green dot. The whole mark contracts to 78% and dims to 72% every 1.4s, so it stands out at 16px where a tiny status glyph would not;
prefers-reduced-motionshows it at rest. The green dot now means the turn has finished. - Session notifications — Agntree now tells you when a session stops working. A finished turn is detected for every harness (Claude's transcript
stop_reason, opencode'stime.idle) and shown as a VS Code notification with an Open button; on macOS a system banner also appears while VS Code is not focused. Sessions whose terminal is already in front of you are skipped, and each turn notifies once. - Opt-in "needs you" alerts — Agntree: Enable 'Needs Input' Notifications adds
StopandNotificationhooks to~/.claude/settings.json(preserving your existing hooks, with a one-time backup) that append permission prompts and idle questions to~/.agntree/attention.jsonl. A matching remove command strips only Agntree's entries. opencode reports finished turns only; its CLI exposes no pending-permission state. agntree.notifications.*settings —enabled,onTurnEnd,onNeedsInput, andnativeBannercontrol delivery.- opencode v2 harness — opencode is now a first-class harness alongside Claude Code. Create, resume, import, search, fork (same worktree and to a new worktree), auto-name, and inspect opencode sessions from the sidebar. Sessions are discovered and manipulated through the
opencodeCLI/API (session.list,session.get,session.fork,session.move,session export), never by reading its SQLite database. - Harness submenu — Worktree
+action and context menu now open a New Session submenu with New Claude Code Session and New opencode Session. Entries are hidden when the corresponding CLI is not installed. agntree.harnessCommands— Override the CLI command per harness (wrappers, custom installs, or a CLI not onPATH).- Harness logos and state badges — Chat rows now use custom SVG marks for Claude Code and opencode. Generated variants add a green running badge, a grey mark for closed sessions, and a hollow ring for sessions that have not started yet. Harnesses without custom art fall back to a text label when more than one is installed.
- Quiet tree layout — Session rows show only what changes: a short relative time (
16m,2h,3d) ornew, a star when set, and the harness mark. Repository rows are neutral; worktree color is reserved for state — amber for the open workspace, blue for a PR checkout, green for the main worktree, neutral otherwise — and worktrees show↑n/↓nwhen they are ahead of or behind their upstream. - Session brief tooltip — Hovering a session now shows what the row cannot: the latest recap (with its age) or the last exchange, followed by message count, model, agent, tokens, and cost. Redundant harness/status/star lines are gone.
- Numbered fork names — Forking
Fix iconscreatesFix icons (1); forking that session createsFix icons (1) (1). Sibling forks increment to(2),(3), … so names stay unique in the target worktree. - Operation log — Destructive file and worktree actions (delete, rename, paste, discard, worktree removal, orphan fork cleanup) are recorded with a timestamp in the Agntree Operations output channel, along with any refusal or failure.
Changed
- Less destructive toolbar and context menus — Only the primary action stays inline: Add Repository in the view title, New Session and Open Terminal on worktrees, and star/rename on sessions. Clone, search, starred sessions, settings, refresh, remove, delete, and fork-to-worktree moved into the
…and context menus, and commands that open dialogs now end in…. - Quiet Search Sessions picker — Rows are now one line: harness mark, title, relative time, and message count, grouped by worktree with the main worktree first. Five-prompt previews under every row are gone; the highlighted row expands with a brief (recap or last exchange, then message count, model, agent, tokens, cost). Imported sessions show a check instead of the word "imported", and harness/branch text is no longer repeated.
- Changes panel polish — Section headers read
3 files · +12 -4(with a green check for staged and a yellow edit icon for unstaged), nested files show their directory to disambiguate same-named files, rows sort by status then path, tooltips show the full path and a readable status, and a clean tree shows a green "No uncommitted changes". - All Files panel polish — Names sort naturally (
file2beforefile10), rows tooltip their worktree-relative path, and an unselected panel shows "Select a worktree or chat" instead of an empty list. - Panels keep their expansion state — Changes sections and All Files folders have stable row ids, so auto-refresh on file writes no longer collapses what you had open.
- Session storage model — Chats now store
harnessandharnessSessionIdinstead ofclaudeSessionId. Existing chats are migrated to Claude on first read, so upgrades are seamless. - Generic session wording — Import, search, remove, and clear dialogs now refer to the native harness session rather than
~/.claude/. - Adapter architecture — Added
HarnessAdapter,HarnessRegistry,ClaudeHarness, andOpencodeHarness, plus a harness-aware watcher registry, leaving a seam for Codex and other agents.
Removed
- Quick Actions — The Quick Actions panel, its commands, and the
agntree.quickActionsandagntree.defaultHarnesssettings are gone. The panel duplicated what a session terminal already does, and its separate process-tracking and headless-command paths were no longer worth maintaining.
Security
- Guards against destructive mistakes — Deleting in All Files requires the path to be inside the active worktree and sends files and folders to the Trash. Creating a file refuses to overwrite one that already exists. Rename and create reject names containing path separators. Pasting refuses to copy a folder into itself or a descendant, and cut-paste into the same folder is a no-op instead of a "copy" rename.
- Worktree removal checks the path — The one directory delete done by Node (recovering a corrupted worktree) now refuses the filesystem root, the repository, the user's home, any ancestor of those, and any directory
git worktree listdoes not report for that repository. - Discard says exactly what it deletes — Discarding a single untracked file asks to move it to the Trash; discarding all changes names the worktree and spells out how many tracked changes and untracked files
git cleanwill permanently remove. - No shell interpolation — Git operations run through argument arrays (
execFileSync), so branch names, remote URLs and file paths are never interpreted by a shell. The last interpolated command (git cat-file) was replaced with an API call. - Session copy never overwrites — Forking a Claude session into a worktree copies with
errorOnExist, so a name collision fails instead of clobbering an existing transcript. opencode orphan-fork cleanup accepts onlyses_…IDs.
Fixed
- Sessions with a running background agent no longer report a finished turn. Claude can end
its parent turn while a launched subagent keeps working; those sessions now stay on the
animated working mark (and skip the finished notification) until Claude's turn-end
turn_durationcount drops to zero, or — on older transcripts — until a task notification
or the agent's hand-back arrives. - Session resume/fork now checks with the harness adapter (and the worktree directory) before launching, so a missing opencode session produces the same cleanup prompt as a missing Claude session.
- Sessions that are not open now render with the grey closed icon. Previously only sessions whose terminal close was observed live were dimmed; sessions left idle by a window restart or by import kept the full-color mark.
Install
- VS Code Marketplace
- Manual: download the
.vsixbelow, then run Extensions: Install from VSIX...
Full Changelog: v1.2.1...v1.3.0