Skip to main content

Crate suvadu

Crate suvadu 

Source
Expand description

Suvadu — total recall for your terminal.

A high-performance, database-backed shell history tool with rich TUI search, AI agent tracking, session management, risk assessment, and secret redaction.

§Architecture

  • cli — Command-line argument parsing via clap derive macros.
  • commands/ — Handlers for each CLI subcommand.
  • repository/ — Data access layer wrapping SQLite via rusqlite.
  • db — Schema management, migrations, and database initialization.
  • models — Domain types (Entry, Session, Tag, Alias, etc.).
  • search/ — Interactive TUI search with fuzzy matching.
  • config — TOML configuration with mtime-cached loading.
  • hooks — Shell hook script generation (zsh/bash).
  • integrations — IDE and AI tool integrations (Claude Code, Cursor).
  • risk — Command risk assessment for agent activity.
  • redact — Secret detection and redaction before storage.
  • util — Shared helpers (terminal guards, formatting, path utilities).

Modules§

db
models
repository
theme
util