co-mono/packages/coding-agent/test/session-manager
Mario Zechner 9e68a59fed Add label support for session entries
- Add LabelEntry type with targetId and label (string | undefined)
- Add labelsById map built on load via linear scan
- Add getLabel(id) and appendLabelChange(targetId, label) methods
- Add label field to SessionTreeNode, populated by getTree()
- Update createBranchedSession to preserve labels for entries on path
- Labels are ignored by buildSessionContext (not sent to LLM)
- Add comprehensive tests for label functionality
2025-12-30 22:42:18 +01:00
..
build-context.test.ts Refactor session manager: migration chain, validation, tests 2025-12-30 22:42:18 +01:00
file-operations.test.ts Refactor session manager: migration chain, validation, tests 2025-12-30 22:42:18 +01:00
labels.test.ts Add label support for session entries 2025-12-30 22:42:18 +01:00
migration.test.ts Refactor session manager: migration chain, validation, tests 2025-12-30 22:42:18 +01:00
save-entry.test.ts Session tree: simplify types, add branching API, comprehensive tests 2025-12-30 22:42:18 +01:00
tree-traversal.test.ts Session tree: simplify types, add branching API, comprehensive tests 2025-12-30 22:42:18 +01:00