session-memory Phase 0: normalized schema (T01) + Claude adapter (T02)
- session_memory/core/schema.py: Session/SessionEvent/Cost dataclasses, flavor-prefixed uids, watermarks, kind/outcome validation (T01) - session_memory/adapters/claude.py: JSONL -> Normalized bundle, turn DAG via uuid/parentUuid, kind mapping, cost from message.usage (T02) - tests: schema round-trip + adapter (synthetic + real local session) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
ffe191d44e
commit
1c29a94fa9
9 changed files with 598 additions and 3 deletions
1
session_memory/adapters/__init__.py
Normal file
1
session_memory/adapters/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
"""Per-flavor collector adapters (Tier 0 -> Tier 1 normalization)."""
|
||||
Loading…
Add table
Add a link
Reference in a new issue