Releases: queelius/memex
Releases · queelius/memex
v0.10.0 — sqlflag integration + config-aware CLI
What's New
sqlflag-powered memex db command
The old stats command is replaced with a full query interface powered by sqlflag. All databases from ~/.memex/config.yaml are available:
# Primary database (shortcut)
memex db table conversations --source openai --limit 5 --format table
memex db sql "SELECT source, count(*) as n FROM conversations GROUP BY source"
memex db schema conversations
# Named databases
memex db claude_code table conversations --order "-message_count" --limit 3
memex db claude_code_full sql "SELECT count(*) as n FROM conversations"Output formats: table, json, csv, arkiv
Config-aware --db across all commands
All CLI commands (show, import, export, run) now resolve --db through ~/.memex/config.yaml. Pass a database name or a literal path:
memex show --db claude_code # config name
memex show --db ~/.memex/conversations # literal path
memex show # uses primary from configDependencies
- Added
sqlflagdependency
Breaking Changes
memex dbno longer shows stats (usememex db schemaormemex db sqlinstead)--dbdefault changed from~/.memex/defaultto primary database from config
memex v0.9.0
memex v0.9.0 — Full-Fidelity Importers, HTML SPA Redesign, Librarian Chat
Importers
- Claude Code full-fidelity importer — preserves tool_use, thinking, and tool_result blocks
- Subagent support — parent→child delegation with
parent_conversation_idlinks - Shared importer utilities —
parse_timestamp,detect_modelextracted for reuse - Directory and recursive import with skip-unchanged optimization
HTML Export
- GitHub-primer visual redesign — sans-serif typography, pill badges, clean layout
- Light/dark mode — follows OS preference, manual toggle (sun/moon button), saved to localStorage
- Librarian chat — ask questions about your archive; AI queries the database via tool use (sql.js client-side)
- Edge proxy integration — chat via metafunctor-edge (no API key needed in browser)
Exporters
- Arkiv exporter — universal record format (JSONL + schema.yaml + README.md)
Core
- Multi-database YAML config —
DatabaseRegistryfor managing multiple named databases - Schema v3 —
parent_conversation_idwith self-referential FK - Security hardening — XSS prevention (URL allowlist,
escAttr()), SQL write guard, narrowed exception handling
CLI
memex db— database statisticsmemex show --search— FTS search in show command--list-formats— dynamic format discovery- Interactive redaction now reviews all terms individually
Stats
- 587 tests, 90% coverage
- 27 files changed, +5,490 / -1,919 lines
pip install memex