跳到正文
AgentLab·· 2026-09-02

Kimi Code 0.40.1: 引入按轮次记录文件变更的实验性 File History

AgentLab 分析摘要

新增 File History 服务和 Feature flag,在 Session 生命周期中接入文件历史记录与保留管理:按编辑轮次保存文件编辑前后的内容,使 Agent 能基于实际文件版本查看轮次差异。记录按 Workspace 保留最近活跃的 30 个 Session、每个 Session 最近 5 个编辑轮次;分叉 Turn 和 Session 导出会过滤历史记录或 Blob,避免将其混入用户可见输入或导出文件。Runtime Prompt 与 Tool Schema 相邻版本相同;Static Prompt 比较不可用。

分析与证据

分析已完成

AgentLab · kimi-code 0.40.1

来源:AgentLab · agentlab.dairui1.com