Mario Zechner
beb70f126d
Refactor session manager: migration chain, validation, tests
- Add migrateV1ToV2/migrateToCurrentVersion for extensible migrations
- createSummaryMessage now takes timestamp from entry
- loadEntriesFromFile validates session header
- findMostRecentSession only returns valid session files (reads first 512 bytes)
- Remove ConversationEntry alias
- Fix mom context.ts TreeNode type
Tests:
- migration.test.ts: v1 migration, idempotency
- build-context.test.ts: 14 tests covering trivial, compaction, branches
- file-operations.test.ts: loadEntriesFromFile, findMostRecentSession
2025-12-30 22:42:18 +01:00
..
2025-12-25 20:27:41 +01:00
2025-12-30 22:42:18 +01:00
2025-12-29 13:45:11 +08:00
2025-12-26 23:12:57 +01:00
2025-12-09 01:21:28 +01:00
2025-12-25 03:48:36 +01:00
2025-12-30 22:42:18 +01:00
2025-12-27 13:53:21 +01:00
2025-12-26 03:24:49 +01:00