kimi-code/packages
7Sageer 52dfd155d8 feat(agent-core-v2): add spine_trim and spine_spawn experimental tools
spine_trim: model-driven tool-response trimming as a pure derivation over
the message stream. Tool results over 10 KiB (non-spine, text-only) carry
a byte-stable TRIM_ID tag; the model can snip or slice (head/tail/anchor)
the immediately preceding tool-result batch. Host validation shares the
single eligibility derivation with rendering; consumed, out-of-window, or
unknown ids reject with do-not-retry. Gated on KIMI_CODE_SPINE +
KIMI_CODE_SPINE_TRIM.

spine_spawn: fission the current node into >=2 concurrent forked branches
(lifecycle.fork plus trailing tool-call batch trim) and join their
terminal memories as closed child nodes synthesized from the structured
spine.spawn.result.v1 receipt in the message stream. All-or-nothing
capacity admission (default 4 threads including main, override via
KIMI_CODE_SPINE_SPAWN_MAX_THREADS), whole-batch abort on start failure,
guaranteed branch release. Gated on KIMI_CODE_SPINE + KIMI_CODE_SPINE_SPAWN.

Also adds legacyReplay regression coverage: five sanitized real old-session
wire logs restore with zero unknown-op skips, pinning op-replay vs
pure-derivation equivalence and the documented historical divergences
(receipt anchors, assembled memory bodies, undo witness erasure).
2026-07-31 16:27:38 +08:00
..
acp-adapter ci: release packages (#1989) 2026-07-22 17:24:39 +08:00
agent-core feat: configure web search/fetch services via KIMI_WEB_* env vars (#2096) 2026-07-23 17:36:16 +08:00
agent-core-v2 feat(agent-core-v2): add spine_trim and spine_spawn experimental tools 2026-07-31 16:27:38 +08:00
kaos chore: drop #/ import array fallbacks and custom resolution plugins (#1594) 2026-07-13 16:37:35 +08:00
kap-server Merge remote-tracking branch 'upstream/main' into spine-v2 2026-07-23 21:32:49 +08:00
klient Merge remote-tracking branch 'upstream/main' into spine-v2 2026-07-23 21:32:49 +08:00
kosong ci: release packages (#1989) 2026-07-22 17:24:39 +08:00
migration-legacy ci: release packages (#1767) 2026-07-16 18:54:29 +08:00
minidb feat(minidb): switch agent-core-v2 query-store to ClusterDb with 16 shards (#1907) 2026-07-19 16:04:26 +08:00
node-sdk Merge remote-tracking branch 'upstream/main' into spine-v2 2026-07-23 21:32:49 +08:00
oauth feat: refresh model list for API-key providers at the managed endpoint (#1824) 2026-07-17 17:17:58 +08:00
pi-tui ci: release packages (#1989) 2026-07-22 17:24:39 +08:00
protocol Merge remote-tracking branch 'upstream/main' into spine-v2 2026-07-23 21:32:49 +08:00
telemetry fix: close two silent-exit vectors around unhandled rejections (#1758) 2026-07-16 02:14:14 +08:00
transcript feat(kap-server): global session work status, transcript subscribe_v2, and plan endpoint (#2094) 2026-07-23 18:48:25 +08:00