co-mono/packages/ai/src
Mario Zechner c58d5f20a4 Session tree structure with id/parentId linking
- Add TreeNode base type with id, parentId, timestamp
- Add *Content types for clean input/output separation
- Entry types are now TreeNode & *Content intersections
- SessionManager assigns id/parentId on save, tracks leafId
- Add migrateSessionEntries() for v1 to v2 conversion
- Migration runs on load, rewrites file
- buildSessionContext() uses tree traversal from leaf
- Compaction returns CompactionResult (content only)
- Hooks return compaction content, not full entries
- Add firstKeptEntryId to before_compact hook event
- Update mom package for tree fields
- Better error messages for compaction failures
2025-12-30 22:42:17 +01:00
..
agent Enable more biome lints and fix things 2025-12-21 22:56:20 +01:00
providers Migrate zai provider from Anthropic to OpenAI-compatible API 2025-12-29 11:54:10 -08:00
utils WIP: Remove global state from pi-ai OAuth/API key handling 2025-12-25 01:01:03 +01:00
cli.ts WIP: Add CLI for OAuth login, update README 2025-12-25 01:09:27 +01:00
index.ts Add Google Gemini CLI and Antigravity OAuth providers 2025-12-20 21:34:18 +01:00
models.generated.ts Session tree structure with id/parentId linking 2025-12-30 22:42:17 +01:00
models.ts fix: use consistent model comparison including provider 2025-12-25 22:10:08 +01:00
stream.ts getApiKeyFromEnv -> getEnvApiKey 2025-12-25 02:38:10 +01:00
types.ts Add Google Gemini CLI and Antigravity OAuth providers 2025-12-20 21:34:18 +01:00