Skip to content

v0.7.3

Choose a tag to compare

@github-actions github-actions released this 04 Nov 22:57
· 156 commits to master since this release

Summary

Delivers major performance, UX, and architectural upgrades: in-process hardware profiling with sysinfo, semantic HTML-to-Markdown scraping with htmd, crash-safe atomic file persistence, strict XDG data directory compliance, seamless in-TUI grounded chat (a in srz 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-Rust sysinfo hardware profiling, and integrated htmd for 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 to XDG_DATA_HOME (~/.local/share/srz) with automatic migration from legacy cache paths, and hardened writes with atomic tempfiles and 0600 permissions.
  • Interactive Tools & Analytics (src/commands/, src/ui/tui.rs): Added srz query for analytical SQL queries, srz export for Obsidian/Logseq Markdown vaults, JSON, CSV, and Parquet, and the a keybinding in srz browse for instant grounded chat.
  • Unified Ingestion (src/commands/): Unified URL fetching so srz 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 in handle_query, registered missing typo suggestions for query/export, and removed unreachable CLI match arms.