kimi-code/packages
haozhe.yang 0e286cb257 fix(agent-core-v2): anchor plan path to workDir when profile cwd is empty
server-v2 binds the main agent via profile:setModel without a cwd, so
the profile cwd is empty and planFilePathFor() produced a relative path
like plan/<id>.md. The plan-mode guard compares that against the Write
tool's workDir-resolved absolute path with strict equality, so it denied
every write to the plan file; the relative path also landed in
process.cwd() instead of the session workDir, breaking ExitPlanMode.

Make the plan path always absolute, falling back to the session workDir
(the same root the file tools resolve against) when the profile cwd is
empty.
2026-07-07 23:37:03 +08:00
..
acp-adapter Merge remote-tracking branch 'origin/main' into HEAD 2026-07-06 23:47:51 +08:00
agent-core Merge remote-tracking branch 'origin/main' into kimi-code-v2 2026-07-07 21:08:35 +08:00
agent-core-v2 fix(agent-core-v2): anchor plan path to workDir when profile cwd is empty 2026-07-07 23:37:03 +08:00
kaos fix(kaos): enrich PATH from the user's login shell at startup (#1339) 2026-07-03 15:20:38 +08:00
kap-server fix(kap-server): route prompt submits by agent_id 2026-07-07 23:37:03 +08:00
kosong feat(kosong): honor explicit anthropic max output override (#1465) 2026-07-07 15:23:42 +08:00
migration-legacy chore(agent-core): remove experimental micro compaction (#1317) 2026-07-02 19:50:51 +08:00
minidb perf(minidb): add dt-ordered limit fast path for queries 2026-07-02 01:07:19 +08:00
node-sdk ci: release packages (#1378) 2026-07-06 23:18:32 +08:00
oauth feat: add model alias overrides (#1262) 2026-07-01 19:57:13 +08:00
pi-tui ci: release packages (#1378) 2026-07-06 23:18:32 +08:00
protocol fix: align v2 prompt auth readiness 2026-07-07 20:54:07 +08:00
server feat(server-v2): wire server-v2 into CLI and close v1 parity gaps 2026-07-06 21:53:33 +08:00
server-e2e refactor(agent-core-v2): remove unused toolState service 2026-07-07 19:58:20 +08:00
telemetry fix(telemetry): gate unsafe numeric telemetry values (#1478) 2026-07-07 20:32:02 +08:00