Changelog

Full release history for Suvadu.

Also available on GitHub Releases and CHANGELOG.md.

v0.3.4

Latest
  • changed Recall now hides AI-agent commands by default — Up-arrow and Ctrl+R show your own commands only. Toggle live with Ctrl+A / Alt+A, per-run with --include-agents, or set search.recall_show_agents in config. Up-arrow is also recency-first, so a command typed in another directory isn't buried after cd.
  • changed Search ranking overhauled — results must contain your typed words as literal substrings (loose character-subsequence matching removed), ranked prefix → contiguous → in-order words → any-order. Searching for something absent now returns nothing.
  • added suv backup [--out PATH] — snapshot the history database; one is also taken automatically before any destructive suv delete (--no-backup to skip).
  • added suv bookmark pick — interactive picker that recalls a saved bookmark into your prompt.
  • added "Failed only" search filter — Ctrl+E in the search TUI or suv search --failed.
  • added suv stats --human — analytics excluding agent activity (also the h toggle in the stats TUI).
  • added suv agent report --fail-on — non-zero exit for local CI checks and git hooks.
  • added Configurable agent.prompt_capture_max_chars (default raised 500 → 4000) and redaction.extra_patterns (your own secret regexes).
  • added Idempotent JSONL import — suv import deduplicates (--allow-duplicates to opt out); new risk patterns for git clean -f, world-writable chmod, and chown -R.
  • fixed Secret redaction no longer mangles docker -p / ssh -p / curl -u, and now redacts @-in-password and password-only database URIs; fixed MCP UTF-8 panics on multibyte output.
  • fixed Destructive prompts (suv delete / suv uninstall) refuse a piped y when stdin is not an interactive terminal.

v0.3.3

  • fixed Cross-machine suv exportsuv import no longer dies with a FOREIGN KEY error on a fresh database — the importer auto-creates a placeholder session for unknown session_ids and re-maps each entry's tag_id via the carried-over tag_name (creating the tag locally if it doesn't exist).
  • fixed suv import rejects non-JSONL files (e.g. an accidentally-piped CSV) up front with a clear, single-line error pointing at suv export > history.jsonl, instead of spewing a parse error for every line.
  • fixed suv export --format json with zero matching entries now emits [] instead of an empty file, so downstream JSON parsers accept it.

v0.3.2

  • added Paste support in search TUI — Cmd+V / Ctrl+V works in the search pane and all dialog inputs (filter, note, go-to-page). Pasted text is sanitized and respects the 2000-char limit.
  • fixed Reduced false positives in secret redaction — env vars like AUTHOR_NAME, TOKENIZERS_PARALLELISM, PASSWORD_FILE are no longer incorrectly redacted. Sensitive keywords must now appear as the final segment of the variable name.
  • fixed Bash octal parsing error — fixed value too great for base crash when EPOCHREALTIME milliseconds had a leading zero (e.g., 068).

v0.3.1

  • added suv history — non-interactive history dump with all standard filters, --json output, and -n limit. Pipeable to other tools.
  • added suv doctor — diagnostic command that checks shell version, hooks, config, database health, recording state, MCP registration, and agent hooks.
  • added Configurable search scoring — length_threshold, human_boost_percent, cwd_boost_percent in [search] config. Tune ranking via suv settings.
  • added pi.dev agent integration — suv init pi installs a TypeScript extension for command and prompt capture.
  • changed Session filenames now use full UUID instead of truncated 8-character prefix.

v0.3.0

  • added find_agent_session — search past AI agent sessions by prompt text, directory, executor, or date range. Returns summaries with command counts, success rates, and resume commands.
  • added replay_agent_session — full chronological timeline of a specific agent session with prompts interleaved between commands.
  • added learn_from_failures — analyze recurring command failures with agent vs human comparison and failure rate tracking.
  • added project_context — on-demand project briefing: common commands, build/test/lint patterns, failure rates, agent activity.
  • added suvadu://agents/sessions resource — auto-injected summary of 5 most recent agent sessions.
  • added suvadu://context/project resource — auto-injected project context at session start. Agents know your workflow before you ask.
  • changed MCP server expanded from 11 tools + 5 resources to 15 tools + 7 resources.

v0.2.1

  • added Vim keybindings — optional vim-style modal navigation in the search TUI. Enable via suv settings or vim_mode = true in config.
  • changed Slimmed down README from 840 to ~120 lines, linking to suvadu.sh for full docs.

v0.2.0

  • added MCP Server — suv mcp-serve exposes shell history to AI agents via Model Context Protocol. 11 tools including assess_risk. 5 auto-injected resources. 100% local.
  • added MCP auto-configuration — suv init claude-code and suv init cursor automatically register the MCP server. Zero extra setup.
  • added Cursor agent integration — suv init cursor installs hooks for command capture with exit codes and prompts.
  • added Enhanced suv status — shows database path, total commands, detected agents, and tips.
  • fixed Cursor executor detection, unique mode sort, relative date parsing, settings list scrolling.
  • changed Unified TUI styling across Stats, Agent Dashboard, and Agent Stats.

v0.1.5

  • added Prompt Explorer — two-screen TUI to browse agent prompts and drill into triggered commands.
  • added Cursor agent integration — suv init cursor installs hooks for command and prompt capture.
  • added Executor selector in search filter — Up/Down picker showing actual executors from the database.
  • fixed Dead text bug in suv search standalone — selected commands now inject into the editing buffer correctly.
  • fixed Claude Code exit codes — agent commands no longer stored with NULL exit codes.

v0.1.4

  • added Custom agent detection — configurable [agents] section and Agents tab in suv settings TUI.
  • added suv init opencode — OpenCode integration via plugin with prompt capture.
  • fixed Regex lookahead in secret redaction causing errors on first use.

v0.1.3

  • fixed Powerlevel10k compatibility — Ctrl+R search now works correctly with p10k instant prompt.
  • added suv update now checks version before downloading and shows release notes.

v0.1.2

  • fixed Linux self-update — "Text file busy" error resolved.
  • added Universal installer script with OS/arch auto-detection and SHA256 verification.

v0.1.0

  • added Major milestone: suv alias, suv gc, suv session timeline, suv wrap for AI agents.
  • added Secrets redaction — API keys, tokens, and passwords auto-redacted before storage.
  • added Minisign signature verification for self-update.
  • added Command syntax highlighting across all TUI views.
  • added 975 tests (up from ~100). Architecture overhaul with module decomposition.
  • fixed 40+ bug fixes including UTF-8 safety, SQL injection prevention, atomic file writes, and streaming exports.

v0.0.1

  • added Initial release — interactive TUI search, session tracking, AI agent monitoring, statistics dashboard, self-update.