kimi-code/docs/en
haozhe.yang c0b9cd8e00 feat(background): add print_background_mode with steer for multi-turn -p runs
- add `[background].print_background_mode` (`exit`/`drain`/`steer`) and
  `print_max_turns`; when unset, falls back to `keep_alive_on_exit = true`
  mapping to `drain`, preserving existing behavior
- core: `Session.handlePrintMainTurnCompleted()` returns `finish`/`continue`;
  in `steer` mode the run stays alive so a background-task completion
  `turn.steer`s the main agent into a new turn (matching background
  subagents), bounded by `print_wait_ceiling_s` and `print_max_turns`
- cli: print driver follows every main turn instead of only the first and
  defers `finish()` until the run quiesces or a limit is hit
- plumb `handlePrintMainTurnCompleted` through node-sdk RPC; docs + tests
2026-07-08 17:38:22 +08:00
..
configuration feat(background): add print_background_mode with steer for multi-turn -p runs 2026-07-08 17:38:22 +08:00
customization docs: document plugin slash commands (#1253) 2026-07-01 13:49:43 +08:00
guides feat(agent-core): record llm request trace in wire.jsonl (#1448) 2026-07-07 14:09:19 +08:00
reference feat(tui): show compaction summary with Ctrl-O (#1346) 2026-07-06 13:32:37 +08:00
release-notes feat(background): add print_background_mode with steer for multi-turn -p runs 2026-07-08 17:38:22 +08:00
index.md Kimi For Coding 2026-05-22 15:54:50 +08:00