Ingest imports conversations from supported agents and stores normalized memory in the local database.
index.ts: orchestration entry pointparsers/*: pure agent parsers (no DB writes)session-resolver.ts: project/session resolution + incremental statestore-gateway.ts: centralized persistence for messages/meta/sidecars/costsclaude.ts,codex.ts,cursor.ts,cline.ts,copilot.ts,generic.ts: discovery helpers + compatibility wrappers
- Parsers must not write to DB.
- DB writes should go through store-gateway.
- Session/project resolution should go through session-resolver.
- Orchestrator owns control flow and aggregation.
- Add parser in
parsers/<agent>.ts. - Add discovery logic in
src/ingest/<agent>.ts. - Wire into
ingest()inindex.ts. - Add parser + orchestrator tests.