Repository navigation
v0.5.1
Suvadu 0.5.1 makes recall more forgiving and better at guessing what you want, explains why a command failed and what fixed it last time, and shows what each AI agent session changed in git. Cursor sessions are now captured in full, and Antigravity's agent commands are recorded.
Upgrading
- Rerun
suv init cursorandsuv init opencodeif you use them, then fully quit and reopen each. Cursor gets the hooks behind full session capture, and OpenCode a plugin that keeps long sessions captured. - Run
suv init antigravityif you use Antigravity, then restart it. It now adds a marked block to~/.zshenv, backing up the previous file. - Open new terminals so they load the new shell hook.
- The database upgrades itself on the first run (schema v16), building its new search indexes once: under a second for 100,000 commands.
- A bookmark with a literal
{{word}}now asks for a value when you pick it. Write it as\{{word}}to keep it literal. cargo install suvaduneeds Rust 1.95 or newer.
Added
hiveagentfindshive-agent. When a search matches nothing, recall tries again ignoring separators (-,_,.,/,:, whitespace).- Smart rank learns your habits. It weighs how often and how recently you ran a command, demotes commands that usually fail, and boosts what you usually run next.
- "Last time this failed, you fixed it with …" Recall and the MCP failure tools say what fixed a failed command before.
- Keep the end of a failed command's output (opt-in). With
[capture] failure_output = true, a failed command keeps the last 4 KB it printed, and recall and the MCP tools show why it failed. - Agent sessions record which files changed in git. Claude Code, Codex, OpenCode and Cursor sessions get a git snapshot (paths only) at the first prompt and each turn end.
what_changed, the session timeline and the handoff use it to report observed changes instead of guesses. - Cursor sessions are captured. Each conversation is a full session with prompts, final responses, turn ends and the model. Cursor reports no token usage.
- Antigravity agent commands are recorded.
suv init antigravityinstalls a~/.zshenvcapture script for thezsh -cshells Antigravity's agent runs commands in. Zsh only, no prompts. - Each command keeps the git branch it ran on.
- Bookmarks with placeholders.
ssh {{user:root}}@{{host}}opens a small form to fill in, and the newlist_snippetsMCP tool lets agents find them. - Team skills committed in the repository.
.suvadu/skills/*.mdare project skills, untrusted untilsuv skills trust. - A zsh-autosuggestions strategy.
ZSH_AUTOSUGGEST_STRATEGY=(suvadu history). suv doctorsays when Up-arrow is no longer Suvadu's, and how to fix it.- Scroll recall's detail pane with
Shift+Tab.
Changed
- Faster search. Prefix search (Up-arrow, autosuggestions) fell from 12–25 ms to 5–8 ms p95 at 100,000 commands, and substring search now uses its index: well under a millisecond instead of 10–40 ms.
- The risk rules check every command of a line, including chained, piped and wrapped commands, with new rules for
kubectl delete,terraform destroyand more. - A project
.suvadu.tomlcan only tighten privacy. suv updateinstalls only a strictly newer, correctly signed release.suv skills syncremoves what it generated for skills that are gone.
Fixed
- Bash records the whole line you typed, not just its last command. Zsh keeps recording under unusual options.
- Fewer lost commands: commands over 64 KB, commands starting with
-, parallel first commands of an agent session, and shells starting together after an upgrade. - Agent capture keeps going: long OpenCode sessions, megabyte outputs, a torn transcript line, and forked and subagent Codex sessions.
- A config file that doesn't load no longer stops recording, and
suv doctornames it. - Search folds Unicode case (
straßefindsSTRASSE) and lists every entry its total counts.suv doctorandsuv gcdetect and repair a drifted search index. - Screens behave alike: Ctrl+C closes in one press, the session picker keeps your place, filters refuse dates they can't read, and the terminal is restored if a screen fails.
- MCP server, settings, skills sync, imports and aliases: many smaller fixes; see the changelog.
Security
suv statsno longer passes recorded command text to a shell. Resolving aliases could execute a crafted history entry.- Redaction catches more secrets (newer OpenAI keys, auth headers, URL credentials, temporary AWS keys, more Slack and GitHub tokens, PEM blocks) and no longer rewrites harmless commands.
Upgrade: suv update · macOS/Linux: brew upgrade suvadu · or curl -fsSL https://downloads.appachi.tech/suvadu/install.sh | sh · crates: cargo install suvadu
Full changelog: https://github.com/AppachiTech/suvadu/blob/main/CHANGELOG.md