kimi-code/packages
qer eba23edb93
feat(agent-core-v2): drop the experimental gate from turn-level file history (#3525)
* feat(agent-core-v2): drop the experimental gate from turn-level file history

The file_history flag and its KIMI_CODE_EXPERIMENTAL_FILE_HISTORY env
var are removed; first-touch baselines, turn checkpoints, and the
changes/turnRecorded/contentAt reads now run unconditionally, so the
per-turn file diffs served by kap-server no longer depend on opt-in
configuration.

The changes REST response drops its enabled field — recorded alone
tells an authoritative empty result apart from a turn whose records
were never made, lost to a crash, or displaced by retention.

* fix(agent-core-v2): probe blob existence with a stat, not a directory listing

turnRecorded always answered false for turns whose snapshots lived under
the file-history/ prefix directory: BlobStoreService.has listed the
scope directory (a shallow readdir) and exact-matched the nested key
against top-level entries, so keyed blobs were never found and the
changes endpoint reported recorded=false for exactly the turns that had
edits. Stat the key through storage.size instead, and pin the
turn-recorded assertions against a real node-fs home so the harness
covers the production layout.

* fix(agent-core-v2): probe every keyed blob before calling a turn recorded

Merging the start and end entries let an end entry with key null (a
deleted or oversize-at-end file) shadow the start baseline, and probing
only one surviving key missed partial loss in the other phase: a
session displaced from the thirty-session window could still claim
authority for turns whose snapshots were gone. turnRecorded now stats
every distinct keyed blob across both checkpoints and reports the turn
unrecorded when any is missing.
2026-09-04 15:57:59 +08:00
..
acp-server refactor(acp): remove the legacy acp-adapter package (#3434) 2026-09-01 23:59:20 +08:00
agent-core feat(secondary-model): graduate the subagent model pool out of experimental (#3334) 2026-08-31 15:33:26 +08:00
agent-core-v2 feat(agent-core-v2): drop the experimental gate from turn-level file history (#3525) 2026-09-04 15:57:59 +08:00
kaos fix(kaos): resolve Git Bash POSIX paths for file tools on Windows (#2200) 2026-08-20 22:42:16 +08:00
kap-server feat(agent-core-v2): drop the experimental gate from turn-level file history (#3525) 2026-09-04 15:57:59 +08:00
klient refactor(acp): remove the legacy acp-adapter package (#3434) 2026-09-01 23:59:20 +08:00
kosong fix: fail fast on provider-filtered empty responses (#3101) 2026-08-20 11:55:26 +08:00
migration-legacy fix(migration-legacy): stop re-prompting for kimi-cli migration once completed or dismissed (#3467) 2026-09-02 17:04:12 +08:00
minidb fix: drain in-flight persistence and log writes on session close and shutdown (#3122) 2026-08-20 17:19:20 +08:00
node-sdk fix(telemetry): deduplicate session_started and model switch events (#3499) 2026-09-03 16:49:27 +08:00
oauth feat(agent-core-v2): support openai_responses protocol for kimi provider (#3375) 2026-08-31 14:51:21 +08:00
pi-tui ci: release packages (#2932) 2026-08-18 19:19:18 +08:00
protocol feat(agent-core-v2): rework tower mode entry and surface worker deaths (#3399) 2026-09-01 18:03:13 +08:00
telemetry feat(kimi-code): add session rating survey (#3516) 2026-09-04 12:32:24 +08:00
transcript fix(agent-core-v2): keep background questions open past turn end and inline their answers (#3522) 2026-09-03 20:53:09 +08:00
tree-sitter-bash fix(tree-sitter-bash): recognize heredocs in character-level balanced scanning (#3503) 2026-09-03 15:28:11 +08:00