kimi-code/packages/agent-core/test
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
..
agent feat(agent-core): discard loaded tool schemas on compaction (#1471) 2026-07-07 23:06:29 +08:00
base/common feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
config feat(agent-core): enable Preserved Thinking by default on the Anthropic provider (#1432) 2026-07-06 23:45:17 +08:00
di feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
errors fix: render provider HTML error messages instead of blank lines (#1191) 2026-06-29 15:49:48 +08:00
fixtures refactor(kaos): move Environment into kaos, slim package API (#147) 2026-05-28 16:50:10 +08:00
flags fix: allow obsolete experimental config entries (#584) 2026-06-09 17:00:48 +08:00
harness fix: clarify goal blocked audit guidance (#1481) 2026-07-07 22:29:40 +08:00
hooks fix(agent-core): hide console window when running hooks on Windows (#1466) 2026-07-07 15:55:47 +08:00
logging fix(agent-core): route session logs exclusively to session sink (#102) 2026-05-27 13:00:17 +08:00
loop feat(agent-core): record llm request trace in wire.jsonl (#1448) 2026-07-07 14:09:19 +08:00
mcp fix(agent-core): report EXIF-rotated image dimensions and raise edge cap to 3000px (#1460) 2026-07-07 21:38:43 +08:00
plugin feat: support plugin slash commands (#1204) 2026-06-30 19:38:01 +08:00
profile fix(agent-core): harden goal-mode budget and outcome flow (#1456) 2026-07-07 15:23:57 +08:00
rpc refactor!: overhaul thinking config and effort resolution (#1132) 2026-06-30 22:34:13 +08:00
services refactor: move tool-result metadata into a structured note side channel (#1437) 2026-07-07 11:40:27 +08:00
session feat(background): add print_background_mode with steer for multi-turn -p runs 2026-07-08 17:38:22 +08:00
skill ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
tools fix: clarify goal blocked audit guidance (#1481) 2026-07-07 22:29:40 +08:00
utils feat(agent-core): progressive tool disclosure via select_tools (#1369) 2026-07-06 15:51:08 +08:00
prompt-placeholders.test.ts feat(agent-core): rework compaction to keep only user prompts and summary (#1214) 2026-07-01 01:17:30 +08:00