co-mono/packages/coding-agent/test/session-manager
Mario Zechner b921298af7 Use exhaustive switch on message.role throughout coding-agent
- addMessageToChat: exhaustive switch for all AgentMessage roles
- renderSessionContext: delegates to addMessageToChat, special handling for assistant tool calls and tool results
- export-html formatMessage: exhaustive switch for all AgentMessage roles
- Removed isHookMessage, isBashExecutionMessage type guards in favor of role checks
- Fixed imports and removed unused getLatestCompactionEntry
2025-12-30 22:42:21 +01:00
..
build-context.test.ts Use exhaustive switch on message.role throughout coding-agent 2025-12-30 22:42:21 +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