kimi-code/docs/zh
Kaiyi d61fc2d628 feat(cli): emit TUI-level activity events in print stream-json
Surface the activity layer the TUI renders on stdout as JSON so the
stream-json output is both complete and entirely JSON:

- live tool output as `{"type":"tool_progress",...}` (moved off stderr in
  stream-json mode; text mode keeps the stderr chunk)
- subagent lifecycle as `{"type":"subagent","event":...}`
- `{"type":"warning"|"skill_activated"|"mcp_server_status"|"compaction"|
  "goal_update"|"agent_status"|"tool_list_updated",...}`

Activity events flush the pending assistant message first to preserve
ordering, and are emitted only in stream-json mode. Adds prompt-runner
tests and updates the kimi-command reference docs.
2026-06-29 16:24:00 +08:00
..
configuration feat(tui): redesign /plugins as a tabbed panel (#1025) 2026-06-24 13:12:28 +08:00
customization docs: sync 0.20.1 changelog and document plugin hooks (#1142) 2026-06-26 20:06:46 +08:00
guides feat: add shell mode (!) to the CLI (#1079) 2026-06-25 21:24:53 +08:00
reference feat(cli): emit TUI-level activity events in print stream-json 2026-06-29 16:24:00 +08:00
release-notes docs: sync 0.20.1 changelog and document plugin hooks (#1142) 2026-06-26 20:06:46 +08:00
index.md Kimi For Coding 2026-05-22 15:54:50 +08:00