kimi-code/packages/agent-core/test/hooks
liruifengv 063bce2a2f
fix(agent-core): hide console window when running hooks on Windows (#1466)
Pass windowsHide:true when spawning the hook process so a visible console
no longer flashes and steals focus on Windows. The Bash-tool path was
already hardened (KAOS buildLocalSpawnOptions); the hook runner missed the
flag even though its own taskkill helper already set it.

Extract the spawn options into a pure builder and add a regression test
asserting windowsHide, mirroring the existing KAOS spawn-options test.

Relates to #1298.
2026-07-07 15:55:47 +08:00
..
engine.test.ts feat: support hooks in plugins (#1127) 2026-06-26 17:02:14 +08:00
integration.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
runner.test.ts fix(agent-core): hide console window when running hooks on Windows (#1466) 2026-07-07 15:55:47 +08:00