kimi-code/packages/agent-core-v2
haozhe.yang 640e37b908 fix(agent-core-v2): preserve custom metadata when memory sessions fork
The memory runtime's catalog fork rewrite spread the caller patch over
the source metadata wholesale. The runtime session host forks with a
{ title: undefined, custom: undefined } patch when the caller names no
metadata, so the spread wiped the source's custom metadata before the
goal-stripping logic ran; a partial custom patch likewise replaced the
source's custom object instead of merging into it. Skip undefined-valued
patch keys and merge custom through the same goal-dropping rule the
local runtime applies, keeping the two runtimes' fork semantics
identical.
2026-07-29 11:16:06 +08:00
..
docs refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
scripts refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
src fix(agent-core-v2): preserve custom metadata when memory sessions fork 2026-07-29 11:16:06 +08:00
test fix(agent-core-v2): preserve custom metadata when memory sessions fork 2026-07-29 11:16:06 +08:00
AGENTS.md refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
CHANGELOG.md ci: release packages (#1989) 2026-07-22 17:24:39 +08:00
package.json feat(tree-sitter-bash): add a pure-TypeScript bash parser and an agent-core-v2 bashParser service (#2016) 2026-07-28 14:29:08 +08:00
tsconfig.contract.json feat(v2): land agent-core-v2 engine and kap-server behind experimental flag (#1441) 2026-07-12 21:44:04 +08:00
tsconfig.json feat(v2): land agent-core-v2 engine and kap-server behind experimental flag (#1441) 2026-07-12 21:44:04 +08:00
tsdown.config.ts feat(v2): land agent-core-v2 engine and kap-server behind experimental flag (#1441) 2026-07-12 21:44:04 +08:00
vitest.config.ts chore: drop #/ import array fallbacks and custom resolution plugins (#1594) 2026-07-13 16:37:35 +08:00