mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-10 01:39:25 +00:00
Add a `Record<Event['type'], StreamJsonRoute>` coverage table that classifies every protocol event by how print mode's stream-json output treats it. Because it is keyed by the full event union, adding a new event type fails `typecheck` until it is explicitly classified, so print mode can never silently drop a new event. A companion test keeps the notification/activity/tool_progress rows in sync with the mappers in run-prompt.ts (now exported for testing). |
||
|---|---|---|
| .. | ||
| kimi-code | ||
| kimi-web | ||
| vis | ||