kimi-code/docs/zh/reference
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
..
keyboard.md feat: add shell mode (!) to the CLI (#1079) 2026-06-25 21:24:53 +08:00
kimi-acp.md mcp suport sse (#744) 2026-06-14 18:04:26 +08:00
kimi-command.md feat(cli): emit TUI-level activity events in print stream-json 2026-06-29 16:24:00 +08:00
slash-commands.md feat(feedback): support attaching logs and codebase (#1120) 2026-06-26 16:15:08 +08:00
tools.md fix: preserve long tool output (#1062) 2026-06-24 14:42:11 +08:00