Repository navigation
v0.7.3
Summary
Delivers major performance, UX, and architectural upgrades: in-process hardware profiling with
sysinfo, semantic HTML-to-Markdown scraping withhtmd, crash-safe atomic file persistence, strict XDG data directory compliance, seamless in-TUI grounded chat (ainsrz browse), user-facing DuckDB SQL analytics (srz query), multi-format library vault exports (srz export), unified URL context fetching, and RAG/cache optimizations.
Changes
- Hardware & Scraping Modernization (
src/system/,src/sources/): Replaced subprocess inspection with pure-Rustsysinfohardware profiling, and integratedhtmdfor semantic Markdown scraping preserving headings, tables, and code fences. - Storage & XDG Architecture (
src/system/fs_util.rs,src/storage/db.rs): Migrated user database and chats toXDG_DATA_HOME(~/.local/share/srz) with automatic migration from legacy cache paths, and hardened writes with atomic tempfiles and0600permissions. - Interactive Tools & Analytics (
src/commands/,src/ui/tui.rs): Addedsrz queryfor analytical SQL queries,srz exportfor Obsidian/Logseq Markdown vaults, JSON, CSV, and Parquet, and theakeybinding insrz browsefor instant grounded chat. - Unified Ingestion (
src/commands/): Unified URL fetching sosrz ask <url>natively supports YouTube video transcripts and remote PDFs alongside web articles. - RAG & Cache Optimizations (
src/engine/chunker.rs,src/storage/cache.rs,src/ui/render.rs): Eliminated redundant BPE passes during context selection (cutting tokenization passes by ~67%), bypassed startup DDL for existing caches, batched LRU evictions in a single transaction, and pre-allocated HTML card buffers. - Correctness & Safety (
src/commands/library.rs,src/config/cli.rs,src/main.rs): Sanitized terminal tables and guarded against multi-byte UTF-8 slice panics inhandle_query, registered missing typo suggestions forquery/export, and removed unreachable CLI match arms.