kimi-code/apps/vis/server/test/lib
7Sageer f12d59e089
Some checks are pending
CI / test-windows (push) Waiting to run
CI / lint (push) Waiting to run
CI / build (push) Waiting to run
CI / test (1) (push) Waiting to run
CI / test (2) (push) Waiting to run
CI / test (3) (push) Waiting to run
CI / test (4) (push) Waiting to run
CI / test (5) (push) Waiting to run
CI / test-pi-tui (push) Waiting to run
CI / test-vscode-legacy (push) Waiting to run
CI / typecheck (push) Waiting to run
Nix Build / Check flake.nix workspace sync (push) Waiting to run
Nix Build / nix build .#kimi-code (push) Blocked by required conditions
Release / Publish native release assets (push) Blocked by required conditions
Release / Native release artifact (push) Blocked by required conditions
Release / Release (push) Waiting to run
Release / Deploy docs (push) Blocked by required conditions
Publish VS Code extension / Publish VSIX to marketplaces (push) Waiting to run
feat(agent-core-v2): anchor compaction resumption on the latest user message (#3537)
* feat(agent-core-v2): anchor compaction resumption on the latest user message

* fix(agent-core-v2): count the continuation anchor in tokensAfter

* fix(agent-core-v2): simplify the continuation anchor to a single statement

* fix(agent-core-v2): avoid absolute claims in the compaction continuation texts

* fix(agent-core-v2): flag the continuation anchor in compaction records so old records replay unchanged

* fix(agent-core-v2): replay the continuation anchor unconditionally, drop hasContinuation

The anchor is an injection (policy, not history): like the system prompt
and other reminders, it is re-rendered by current code at replay time, so
pre-anchor compaction records gain it on resume. The divergence is
self-limiting (only records written before this change, absorbed on first
resume) and needs no per-record format flag. Fold-length accounting counts
the anchor unconditionally to stay at parity with the rebuilt context.

* fix(vis): align the context projector with the compaction continuation anchor

Locate the compaction summary by origin instead of assuming it is the last
shape message (the anchor now follows it), and pin the anchor in the
projection expectations.
2026-09-07 21:44:24 +08:00
..
agent-tree.test.ts fix(vis): align with current agent-core-v2 (#3540) 2026-09-04 23:36:22 +08:00
blob-resolver.test.ts feat: offload large base64 media payloads to external blob files (#117) 2026-05-28 16:47:57 +08:00
config.test.ts feat(vis): faithful wire.jsonl rendering + built-in kimi vis command (#788) 2026-06-16 16:54:14 +08:00
context-projector.test.ts feat(agent-core-v2): anchor compaction resumption on the latest user message (#3537) 2026-09-07 21:44:24 +08:00
cron-store.test.ts refactor(vis): migrate vis from agent-core v1 to agent-core-v2 (#3438) 2026-09-02 00:00:29 +08:00
import-store.test.ts fix(vis): align with current agent-core-v2 (#3540) 2026-09-04 23:36:22 +08:00
log-reader.test.ts feat(vis): full session debugging — tasks/cron, execution timeline, retries & tool progress (#1210) 2026-06-30 13:40:37 +08:00
reveal.test.ts refactor(vis): rewrite for new agent-core protocol (#34) 2026-05-26 17:57:49 +08:00
session-store.test.ts fix(vis): align with current agent-core-v2 (#3540) 2026-09-04 23:36:22 +08:00
start.test.ts feat(vis): faithful wire.jsonl rendering + built-in kimi vis command (#788) 2026-06-16 16:54:14 +08:00
task-store.test.ts fix(vis): align with current agent-core-v2 (#3540) 2026-09-04 23:36:22 +08:00
wire-reader.test.ts fix(vis): align with current agent-core-v2 (#3540) 2026-09-04 23:36:22 +08:00