Skip to content

Releases: queelius/memex

v0.10.0 — sqlflag integration + config-aware CLI

19 Mar 07:27

Choose a tag to compare

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 config

Dependencies

  • Added sqlflag dependency

Breaking Changes

  • memex db no longer shows stats (use memex db schema or memex db sql instead)
  • --db default changed from ~/.memex/default to primary database from config

memex v0.9.0

14 Mar 15:49

Choose a tag to compare

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_id links
  • Shared importer utilitiesparse_timestamp, detect_model extracted 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 configDatabaseRegistry for managing multiple named databases
  • Schema v3parent_conversation_id with self-referential FK
  • Security hardening — XSS prevention (URL allowlist, escAttr()), SQL write guard, narrowed exception handling

CLI

  • memex db — database statistics
  • memex 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