Repository navigation
v0.6.0
v0.6.0
Summary
Upgrades core content ingestion with industry-standard Rust parsers (
feed-rs,dom_smoothie,tiktoken-rs,pulldown-cmark,quick-xml,rustyline) and streamlines runtime pipelines for faster, zero-allocation processing and single-pass cache management.
Changes
- Universal News & Syndication Feeds (
srz news): Integratedfeed-rsfor robust parsing of RSS 0.9/1.0/2.0, Atom, and JSON feeds alongside automated Google News query resolution and URL un-obfuscation. - Readability Web Extraction: Integrated Mozilla Readability DOM density scoring via
dom_smoothie, cleanly stripping ads, navigation bars, cookie prompts, and sidebars before LLM synthesis. - BPE Token Budgeting & Fast Chunking: Adopted OpenAI
cl100k_baseBPE token counting viatiktoken-rswith unified paragraph chunking and an O(1) fast-path that avoids redundant tokenization for short documents. - Interactive Chat Line Editing (
srz ask -i): Upgraded the interactive Q&A REPL withrustylinefor in-line arrow-key editing, command history, Ctrl+C/Ctrl+D handling, and exact session ID display for easy resumption. - GitHub Flavored Markdown & Web Views: Switched Markdown-to-HTML rendering to
pulldown-cmarkfor standards-compliant tables, task lists, and strikethrough, opened cross-platform viaopen::that_detached. - Streaming YouTube Captions: Replaced manual caption tag matching with
quick-xmlstreaming event parsing and multi-client Innertube player fallbacks. - Optimized Cache Pruning: Refactored cache retention to collect surviving file metadata in a single pass, running LRU size evictions completely in memory without redundant disk re-scans.
- Zero-Allocation Text & Query Processing: Replaced ad-hoc string parsing with zero-allocation ASCII case-insensitive matching in CLI routing, term search, and HTML entity decoding (
html-escape).