kimi-code/packages/agent-core-v2/src
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
..
_base feat(agent-core-v2): build session scopes from ISessionRuntimeContext 2026-07-29 10:48:11 +08:00
agent refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
app fix(agent-core-v2): preserve custom metadata when memory sessions fork 2026-07-29 11:16:06 +08:00
kosong fix(kosong): fail fast on quota-exhausted 429 instead of retrying (#1857) 2026-07-28 14:35:12 +08:00
os refactor(agent-core-v2): register tools as scoped services (#2196) 2026-07-26 14:32:59 +08:00
persistence feat(agent-core-v2): add StandaloneMemoryHostRuntime multi-session vertical slice 2026-07-29 10:48:11 +08:00
session refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00
tool fix(agent-core-v2): count validation-rejected tool calls toward the repeat breaker (#2317) 2026-07-28 19:32:46 +08:00
wire refactor(agent-core-v2): register tools as scoped services (#2196) 2026-07-26 14:32:59 +08:00
env.d.ts feat(v2): land agent-core-v2 engine and kap-server behind experimental flag (#1441) 2026-07-12 21:44:04 +08:00
errors.ts refactor(agent-core-v2): add session host runtime contracts and v1 wire baseline 2026-07-29 10:48:11 +08:00
hooks.ts feat(v2): land agent-core-v2 engine and kap-server behind experimental flag (#1441) 2026-07-12 21:44:04 +08:00
index.ts refactor(agent-core-v2): remove session context path fields and finalize guards 2026-07-29 10:48:45 +08:00