2 Commits (f4f341d13394a98414e69308a58a52a8c0baeb22)

Author SHA1 Message Date
Elijah Voigt cf1bc9d8a8 feat(db): implement database & caching layer [claudbg-goc1, claudbg-umrv, claudbg-hskl, claudbg-edmr]
- src/db/connection.rs: DbHandle type alias (Arc<libsql::Database>), open_db(), default_db_path()
- src/db/schema.rs: run_migrations() creating sessions, messages, tool_uses, raw_sessions tables
- src/db/sync.rs: ensure_synced() and force_resync() with lazy mtime/size-based staleness check
- Cargo.toml: add tempfile dev-dependency for tests
- Fix: scope read connection before write to avoid SQLite locked error

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 months ago
Elijah Voigt b6740f0f9e Add v0.1.0 project plan: 37 beans across 7 epics
Milestone: v0.1.0 - Core Session Inspector
Epics: CLI Foundation, Data Parsing & Models, Database & Caching,
Output Formatting, Sessions Commands, Agent Commands, Stub Commands

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 months ago