Skip to content

Releases

v0.3.0

Choose a tag to compare

@sspaeti sspaeti released this 15 Nov 10:47
a2511f1

What has changed?

This release turns the full diff into a place to review a session's work. You can comment on any line of a branch's changes, and send all comments in one prompt to the session that wrote them, without leaving Neovim. Comments stay in the plugin's own state folder, never in your repository.

Highlights

  • Review comments in the full diff. c on any line opens a small window for a comment, typed as BUG:, ISSUE:, NOTE:, DESIGN:, SUGGESTION: or QUESTION: (your own kinds go under review.kinds). Comments show under their line, coloured by kind, in every scope: the uncommitted changes, the branch, its commits, or one commit.
  • Send the review in one prompt. gs in the full diff, gs on the drawer's review (n) row, or :AgentsReview puts every pending comment into the session's prompt, grouped by scope with each path, line and the line's text. The comments stay marked ↑ in prompt until that prompt is sent, so you can add more first. <C-CR> in the comment window sends a single comment at once.
  • Back to the review from anywhere. <CR> on the drawer's review (n) row or <leader>ar returns to the review, with the cursor on its newest comment. <leader>ar in the full diff goes the other way, to the chat of the review's session. Discard all comments in the finish dialog asks first.
  • Full diff from the drawer's Commits section. The full diff · gd row is now a fold: <CR> lists the files of the branch's commits, and <CR> on a file opens the full diff with the cursor on that file. Without changes of its own, the branch lists its recent commits instead.
  • Clearer full diff. The winbar names the file under the cursor in bold green and follows the cursor as you move. ]r and [r step through the commented lines.

Fixes

  • A branch with no commit of its own yet showed an empty Commits on branch (0). It now lists Recent commits (the last 20), and the full diff's commits scope follows the same list.

The review workflow, and how it compares with other diff review tools, is described in docs/review.md.

v0.2.0

Choose a tag to compare

@sspaeti sspaeti released this 12 Nov 14:19
d7098a1

What has changed?

This release is about seeing what a session does and what it costs. The queue panel now shows the size of a conversation, the requests a turn makes, its subagents and its todo list, and a branch's full diff opens in one buffer, so the work of a session can be reviewed without leaving Neovim. Asks from a session get a window of their own, and long conversations are easier to keep cheap.

Highlights

  • Full diff of a branch. gd on a git row in the drawer or on a commit in the graph, or :AgentsDiff, opens every change of a branch in one read-only buffer, file by file with folds. The scopes are the branch against your working tree, its commits, one commit, and the uncommitted changes. <CR> on a line opens the side-by-side diff of that file, and delta colours the patch when it is installed.
  • The queue panel shows what a turn costs. Q lists the prompts sent, running and queued. Below them it shows the conversation's size (marked large from 200 000 tokens on), how long the turn runs, how many requests it made, each subagent with its tool uses, the todo list and the background shells. A line marks a request that had to write the conversation to the cache again, and the turn's cost at API prices is given per model.
  • Queued prompts can be changed. In the queue panel e opens a queued prompt in a buffer and :w puts the edited text back in its place, dd deletes it, and J and K move it down or up.
  • Long conversations cost less to continue. The chat's winbar shows the size of the conversation beside the model. A send that resumes a parked session with a large conversation asks first: Send, Compact first, or Cancel (context.confirm_resume = false turns the question off). <leader>aC sends /compact, and parking offers to compact first.
  • Asks in a window of their own. Permission requests, questions and plans open with the question on its own rows, the whole command or diff wrapped, then numbered choices. j, k and <CR>, or 1 to 9, pick one, and q cancels. chat.ask_picker = 'select' keeps vim.ui.select if you prefer it.
  • Names and moves between sessions. r on a session row names it, and the name shows in the drawer, the chat's winbar, buffer names and search results. ]s and [s go to the next or previous session of the same project, and the Omarchy bar widget jumps to the terminal and tmux pane of a session.

Fixes

  • Picking a model in one session no longer changes the others. A session that has answered before resumes with the model of its own last answer; the model last used is now only what new sessions start with.
  • <leader>ay opens a pending permission, question or plan again after its window was closed without an answer. Before, the ask stayed blocked until you left the chat and came back.
  • <S-Tab> no longer gets stuck when a session refuses a mode, for example leaving plan mode during a turn. The cycle skips that mode and stops at the mode in effect.
  • Opening a session that another Neovim drives shows the "another Neovim drives this session" warning once and then the transcript from disk. Before, the attach was retried and the warnings piled up over the screen.
  • Handing a session over to a tmux pane (gT) resolves a bare claude through your Neovim's $PATH. The pane used to inherit the tmux server's environment, where claude could resolve to a different binary that never started.

Plan mode has its own key now, <leader>am, which turns it on and back off. <S-Tab> cycles manual, acceptEdits and auto; add 'plan' to claude.modes if you want plan mode in that cycle again.

v0.1.0

Choose a tag to compare

@sspaeti sspaeti released this 10 Nov 23:27
019d269

First public version.

Added

  • Drawer (:Agents, <leader>aa): every Claude Code session on the machine, grouped by git repository (sub-folders and worktrees fold into one project), with title, age and live state: input required, running, done, failed, idle, parked. Right-aligned state words such as permission: Bash, done, unread, tmux 2.1. Works for folders without git too.
  • Chat in native buffers: a prompt buffer to write with your own Vim setup and a read-only markdown transcript; streaming answers; tool calls, thinking and subagents as folds; an answer text object (ir / ar); prompt history; attach files with @; send with <C-CR> or <leader><CR>.
  • Command menu on / in the prompt: Claude's commands and skills, narrowed fuzzily as you type, plus the plugin's own /model and /copy.
  • Permissions inside Neovim: allow, deny, and Claude's own suggestions; questions and plans are answered the same way. Requests never open while you type; <leader>an jumps to the next session that needs you.
  • Model and permission mode switching (<leader>aM, <S-Tab>), interrupt (<C-c>), park a session, and hand a session over to the native Claude screen in a tmux pane and back (gT, <leader>aT).
  • Chat header: state in the drawer's colours, project, title, the model in italic and the permission mode as a badge.
  • Raw view (gr): the exact JSON lines sent and received for a session.
  • Git review: per project, the changes against the branch base and the commits on the branch; a side-by-side diff view on the real file with next/previous file and "this commit only"; gd on an edit in the transcript opens its diff; glg opens lazygit.
  • Commit graph (G in the drawer, :AgentsGraph): branches and merges drawn with coloured lanes and badges for branches, tags and HEAD; <CR> on a commit lists its files, <CR> on a file opens that commit's diff.
  • Search (<leader>as, s in the drawer): fuzzy search over titles, prompts, answers and tool calls of all sessions, and a history of every prompt you sent; a preview that highlights every query word and steps through matches with ]n / [n; opening a hit lands on the match in the transcript.
  • Reusable prompts: a Prompts node with skills and commands and a prompt library (a folder of markdown files, with groups); saved prompts per project (:w / ZZ in the prompt buffer); save to the library with <leader>W.
  • Footer: a statusline component (lualine or any statusline) with the overall state in four levels, the model, and quota used in the 5-hour and weekly windows; an optional quota.file to show the limits another tool wrote.
  • Omarchy bar widget showing the same four levels with a count, including sessions running in terminals.
  • Rust helper (make helper) for fast scanning, fuzzy search and file watching, with a Lua fallback when it is not built.
  • Help in every view with g? (also ? in the drawer), searchable with /.
  • Icons: a minimal look with a Nerd Font by default, icons_style = 'plain' otherwise.
  • Hide a session with H on its row: it moves into a collapsed, dimmed Hidden (n) group of its project; H there shows it again. A hidden session that needs you (waiting, working, done unread, failed) is listed with the others while that lasts. Kept in hidden.json, shared by several Neovims.
  • Delete an inactive session with D (after a confirm): what Claude keeps of it moves into the plugin's trash. :AgentsTrash restores a session or deletes it for good, :AgentsTrash empty deletes everything in the trash for good. The trash keeps the whole session, prompts and answers included, until you empty it; trash = { keep_days = 30 } purges older entries at setup, by default nothing is purged.
  • Collapse and expand all in the drawer with z0 and z9.
  • Project scope (scope = 'project' in setup(), :Agents project, :Agents all, <S-Tab> in the drawer): the drawer, search, <leader>an and the footer show one repository; a dimmed last line says when a session of another project needs you.
  • Legend of the state marks at the bottom of the drawer; gL shows or hides it, drawer = { legend = false } starts with it hidden.
  • Session keys on a drawer row: <leader>aM, <C-c> (asks first), gT and gr act on that session as in its chat, without opening it.
  • Close terminal sessions: X on a row of a Claude running in a tmux pane types Claude's own exit (Ctrl-C twice) into that pane after a confirm and a fresh check that this Claude is the pane's foreground program; :AgentsCloseIdle does it for every idle one (in project scope for that project, :AgentsCloseIdle! for all).
  • Buffer names: the chat's buffers are named after the session (agents://<project>/<title>, … · prompt), so a tabline, a bufferline and :ls show them instead of [No Name]; they follow the title.
  • Help you can filter: ? / g? open the keys of a view as a palette with a query line; typing narrows the list fuzzily, <CR> presses the selected key in the window you came from.
  • Drafts kept on disk: the text of a prompt buffer is written to stdpath('state')/agent-ide/drafts/<session id>.md as you type and when you leave; it comes back when the session's prompt opens again (also after a crash), and + New session takes over a draft left for an unsent new session of the project. A send, :q! and a deleted session remove it.
  • The model before the first prompt: the winbar and the footer name the model a session will start with (picked for it, else claude.model, else the model last used here, kept in prefs.json, else Claude's default); new and resumed sessions start with it.
  • Commit graph row: an expanded Commits section starts with a dimmed commit graph row; <CR> opens the graph.
  • Uncommitted row: right below it, uncommitted (n) lists what is not committed yet (working tree and index against HEAD, untracked files included); <CR> on a file diffs it against HEAD.
  • y on a session row in the drawer yanks the last prompt sent in it.
  • Every drawer key is configurable under keys.drawer (a key, a list of keys, or false).
  • The legend toggle (gL, <leader>aL) is remembered across restarts (prefs.json).
  • The prompt window wraps long lines (wrap, linebreak).
  • The idle mark is a filled ● in mid grey instead of green (green read as running); parked stays the hollow ○ in the dim comment colour.
  • Background sessions: every Claude the plugin starts runs under a keeper, a small detached headless Neovim that owns its pipes, so quitting Neovim (or a crash) leaves it running; queued prompts are handed over and sent at the end of each turn. A new Neovim lists such sessions as background (or input when one waits for you) and reattaches when you open or send to one: the transcript, the text that was streaming, open asks, model, mode and state come back as they were. An idle Claude with no Neovim attached is closed after keeper.idle_minutes (30). The quit guard no longer asks. keeper = { enabled = false } keeps Claude a child of Neovim.
  • Queue panel (Q in the chat): the session's prompts as a timeline, sent, running and queued; x takes a queued prompt back into the prompt buffer, <CR> jumps to a sent one in the transcript.
  • A soft chime when a session needs you (sound = { waiting = true, chime = 'two', cmd = nil }; five to choose from: two, soft, bell, rising, pop; :AgentsChime <name> plays one; played through pw-play, paplay, aplay or afplay).
  • Claude's own text in a transcript starts with a ● (AgentIdeAnswerMark, virtual text), so what it tells you stands out from the tool folds, also while it streams and in the search preview.

Changed

  • The / menu lists Claude's commands and your skills from the first keystroke in a new session (the last list seen for the project, kept in commands.json).
  • + New session pressed again while the new session has sent nothing brings it back with its draft instead of starting another (2<CR> starts a separate one).
  • @ puts the file reference where you typed it (mid-line as @<path>, on an empty line as an [attach] line), types a plain @ inside a fenced code block, and keeps up with fast typing.
  • <Up> on the first line and <Down> on the last step through the prompt history in insert mode too.
  • The model picker lists every model Claude Code offers, with names and descriptions (Fable 5.2 — … (claude-fable-5-2)), and marks the current one; the winbar and the footer name the model the same way (fable 5.1). claude.models now defaults to Claude's own list (kept in models.json); a list you set is used as given.
  • New default keys in the drawer: z0 / z9 collapse and expand all (were zM / zR); gT or <leader>aT goes to tmux (jumps to the pane of a session running elsewhere, else continues the session in native Claude in a tmux pane; were gp and <leader>at); S, <leader>ff or <leader>S search the project (was s); sP parks (was x); D also deletes a prompt file (was d); G opens the commit graph (was gG); <S-Tab> flips the scope (was gs; on a session row it no longer cycles the permission mode, which stays the chat's <S-Tab>); sL copies a saved prompt into the library (was L); gL or <leader>aL toggle the legend. In the chat, <leader>M also picks the model and gT / <leader>aT continue in native Claude (gT in the transcript only). In the search picker <C-f> picks what to search (was <C-t>, a common tmux prefix).
  • A prompt row key (edit, rename, delete, yank, to library) acts on its rows even when a drawer key has the same lhs; elsewhere the drawer key acts.

Fixed

  • / typed in a burst (fast typing, a macro, .) after other text no longer prepares the command menu; it opens only on an empty line.
  • Moving into a long transcript no longer freezes Neovim for minutes...
Read more