← 返回更新日志

Kimi Code @moonshot-ai/[email protected]

2026-10-28 · GitHub 原文
### 次要变更 - [#4322](https://github.com/MoonshotAI/kimi-code/pull/4322) [`44cdf8f`](https://github.com/MoonshotAI/kimi-code/commit/44cdf8f4039e2ff20d3fe8a4e7868bd90fd786e1) 感谢 [@Grapedge](https://github.com/Grapedge)!- 支持在流式输出期间按 Ctrl-O 展开思考内容 - [#4342](https://github.com/MoonshotAI/kimi-code/pull/4342) [`4a24ae1`](https://github.com/MoonshotAI/kimi-code/commit/4a24ae12389f1bc5db33c1aed39a092bfeb2fc13) 感谢 [@RealKai42](https://github.com/RealKai42)!- 新增 `/import-sessions` 和 `kimi import-sessions`,可导入过去 15 天或 30 天内的 Claude Code 和 Codex 会话。运行任一命令后选择时间范围即可。 - [#4284](https://github.com/MoonshotAI/kimi-code/pull/4284) [`366fafb`](https://github.com/MoonshotAI/kimi-code/commit/366fafbf921bb121d3906aa6b685f1045be4e54d) 感谢 [@7Sageer](https://github.com/7Sageer)!- Web 和桌面端中的会话在空闲 30 分钟后会从内存中卸载,并在下次访问时自动恢复。 - [#4247](https://github.com/MoonshotAI/kimi-code/pull/4247) [`0325b75`](https://github.com/MoonshotAI/kimi-code/commit/0325b755db46f865f2dc0bca0d6c3d95ad817fcb) 感谢 [@RealKai42](https://github.com/RealKai42)!- 现在只有在你主动开启时才会进入计划模式,并且每个计划都需要等待你审核:智能体不能再自行进入计划模式;“永不询问”不再自动批准计划;`kimi -p` 会跳过 `default_plan_mode`,且无法批准已处于计划模式的会话中的计划。 - [#4316](https://github.com/MoonshotAI/kimi-code/pull/4316) [`874d9ab`](https://github.com/MoonshotAI/kimi-code/commit/874d9abb32f7d8e23fd95da5fbfbd446266653ec) 感谢 [@huangzheng2016](https://github.com/huangzheng2016)!- 新增 `/provider refresh [providerId]`,可在运行时重新获取提供商的模型列表;未知的 `/provider` 子命令现在会显示用法提示,而不是打开管理器。 - [#4347](https://github.com/MoonshotAI/kimi-code/pull/4347) [`b3c6e0a`](https://github.com/MoonshotAI/kimi-code/commit/b3c6e0a75a3b1716a360a75eed7194be9b97c176) 感谢 [@Grapedge](https://github.com/Grapedge)!- 通过 OSC 7501 向兼容的终端报告主会话和子智能体的状态,包括待处理的交互和保留的结果。 - [#4312](https://github.com/MoonshotAI/kimi-code/pull/4312) [`01ef64e`](https://github.com/MoonshotAI/kimi-code/commit/01ef64ea926c3f939da5ecc7361e504f6f519060) 感谢 [@tpoisonooo](https://github.com/tpoisonooo)!- 将 Tower 的默认智能体并发上限从 16 提高到 256,支持现有的 `max_running_tasks` 上限和按启动任务选择模型,并减少收件箱、审核和状态处理期间的锁竞争。 ### 补丁变更 - [#4428](https://github.com/MoonshotAI/kimi-code/pull/4428) [`461c6e9`](https://github.com/MoonshotAI/kimi-code/commit/461c6e92d53cd4ff473fbe63fd1d238df819ef3f) 感谢 [@wbxl2000](https://github.com/wbxl2000)!- 修复已取消的问题在会话历史中显示为已回答的问题。 - [#4410](https://github.com/MoonshotAI/kimi-code/pull/4410) [`a9dc3a9`](https://github.com/MoonshotAI/kimi-code/commit/a9dc3a9af466a769a6dc93776c61ed89a0e653df) 感谢 [@RealKai42](https://github.com/RealKai42)!- 修复启用动态加载的 MCP 工具时,压缩过程遗漏提示缓存的问题。 - [#4364](https://github.com/MoonshotAI/kimi-code/pull/4364) [`7ccac2b`](https://github.com/MoonshotAI/kimi-code/commit/7ccac2b45b8a3481c76f771bb99c043b562de2c5) 感谢 [@pvzheroes125](https://github.com/pvzheroes125)!- 修复首轮对话中缺少动态加载的 MCP 工具的问题。 - [#4431](https://github.com/MoonshotAI/kimi-code/pull/4431) [`98c1cfb`](https://github.com/MoonshotAI/kimi-code/commit/98c1cfbfbd397d2ebf7b4cf154296ed324e6e7cf) 感谢 [@pvzheroes125](https://github.com/pvzheroes125)!- 修复空闲的浏览器连接导致 MCP 授权完成延迟的问题。 - [#4460](https://github.com/MoonshotAI/kimi-code/pull/4460) [`78b72fe`](https://github.com/MoonshotAI/kimi-code/commit/78b72fe456ac730a1970ded9bb0d28f8b584ab95) 感谢 [@kimi-agent-bot](https://github.com/kimi-agent-bot)!- 修复提交提示时 Swarm 模式被忽略的问题。 - [#4434](https://github.com/MoonshotAI/kimi-code/pull/4434) [`f47400a`](https://github.com/MoonshotAI/kimi-code/commit/f47400a4187c8296d3cc879172d97c8f1e8cfe24) 感谢 [@kimi-agent-bot](https://github.com/kimi-agent-bot)!- 修复在非回环 Web 连接上复制和保存 data 与 blob 图片的问题。 - [#4435](https://github.com/MoonshotAI/kimi-code/pull/4435) [`70a661c`](https://github.com/MoonshotAI/kimi-code/commit/70a661c873bfc30f0f0de954e0d13ad0a0ed3855) 感谢 [@kimi-agent-bot](https://github.com/kimi-agent-bot)!- 修复在非回环 Web 连接上 Shiki 代码高亮失效的问题。 - [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) 感谢 [@Grapedge](https://github.com/Grapedge)!- 长请求滚动时,让全屏审批选项始终保持可见。 - [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) 感谢 [@Grapedge](https://github.com/Grapedge)!- 点击全屏终端以重新聚焦时,不再误触控件、打开链接或移动编辑器光标。 - [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) 感谢 [@Grapedge](https://github.com/Grapedge)!- 为全屏审批、设置、权限和工作区信任对话框添加鼠标选中功能;编辑器和等待面板失去焦点时会淡出。 - [#4331](https://github.com/MoonshotAI/kimi-code/pull/4331) [`759958a`](https://github.com/MoonshotAI/kimi-code/commit/759958afdfeb0f8c7d09cb03cbc2cf85b6255e9e) 感谢 [@RealKai42](https://github.com/RealKai42)!- 更新跨工具导入逻辑,支持自定义主目录、指令重复检查、项目技能和 MCP 设置;停止导入独立的 `.claude/AGENTS.md`、项目级 `.codex/AGENTS.md`、`.codex/CLAUDE.md` 及散装技能文件,这些文件仍可手动复制。 - [#4428](https://github.com/MoonshotAI/kimi-code/pull/4428) [`461c6e9`](https://github.com/MoonshotAI/kimi-code/commit/461c6e92d53cd4ff473fbe63fd1d238df819ef3f) 感谢 [@wbxl2000](https://github.com/wbxl2000)!- 服务端 WebSocket 的 `event.approval.*` 和 `event.question.*` 事件现已合并为单一的扁平 `interaction` 帧;`POST /sessions/{id}/approvals/{id}`、`POST /sessions/{id}/questions/{id}` 和 `POST /sessions/{id}/questions/{id}:dismiss` 现已替换为 `POST /sessions/{id}/interactions/{id}`。旧事件和端点,以及 `GET /sessions/{id}/approvals` 和 `GET /sessions/{id}/questions`,均已移除。 - [#4413](https://github.com/MoonshotAI/kimi-code/pull/4413) [`8dabf4a`](https://github.com/MoonshotAI/kimi-code/commit/8dabf4a10eaec7302344ba3060b7b3c69a5a76dc) 感谢 [@7Sageer](https://github.com/7Sageer)!- 当提供商因图片过大或不支持而拒绝图片后,不再在每轮对话中重新发送完整尺寸的图片;后续轮次和压缩会继续使用缩小后的图片,直到切换模型或重写对话历史。 - [#4283](https://github.com/MoonshotAI/kimi-code/pull/4283) [`4be3f0b`](https://github.com/MoonshotAI/kimi-code/commit/4be3f0b741e13677f441c84eee40795ccc1df1db) 感谢 [@sailist](https://github.com/sailist)!- 工作区 MCP 服务器在初始连接失败或连接中断时,会自动通过退避机制重新连接,使其工具自动恢复;可通过 `[mcp] reconnect_initial_delay_ms` 和 `reconnect_max_delay_ms` 调整间隔。 - [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) 感谢 [@Grapedge](https://github.com/Grapedge)!- 在卡片中展示 NotifyUser 更新,包含“更新”徽标、流式标题和可展开的消息。 - [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) 感谢 [@Grapedge](https://github.com/Grapedge)!- 在计划审批面板中显示各选项的说明。 - [#4313](https://github.com/MoonshotAI/kimi-code/pull/4313) [`256ce61`](https://github.com/MoonshotAI/kimi-code/commit/256ce61f0c1c6512d84b21e18814df60bc1f530a) 感谢 [@huangzheng2016](https://github.com/huangzheng2016)!- 加快长对话的会话恢复速度。 - [#4422](https://github.com/MoonshotAI/kimi-code/pull/4422) [`2e539f2`](https://github.com/MoonshotAI/kimi-code/commit/2e539f2f68c872d79a747655cb1962d5f0b596bd) 感谢 [@sailist](https://github.com/sailist)!- 在没有活动会话时释放资源,修复工作区资源泄漏问题。 - [#4346](https://github.com/MoonshotAI/kimi-code/pull/4346) [`f70c365`](https://github.com/MoonshotAI/kimi-code/commit/f70c3652945a99e87c06d3ccf60275665eb410ab) 感谢 [@Grapedge](https://github.com/Grapedge)!- 在活动面板中显示带工作提示的“正在压缩”旋转指示器,而不是在进行中的对话记录卡片中显示。 - [#4430](https://github.com/MoonshotAI/kimi-code/pull/4430) [`93137ca`](https://github.com/MoonshotAI/kimi-code/commit/93137cad204eed4a6a66196e85cafbaf722a1d65) 感谢 [@RealKai42](https://github.com/RealKai42)!- 子智能体被停止、超时或执行失败前已写出的文本现在会传回父智能体,并标记为未完成。 - [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) 感谢 [@Grapedge](https://github.com/Grapedge)!- 将待办列表移入可展开的对话记录卡片,并移除旧的输入区面板和 `Ctrl-T` 快捷键。 - [#4365](https://github.com/MoonshotAI/kimi-code/pull/4365) [`eb1205c`](https://github.com/MoonshotAI/kimi-code/commit/eb1205c4023a5ed719bf62f2257c67cbe56a0aba) 感谢 [@kimi-agent-bot](https://github.com/kimi-agent-bot)!- 修复截断包含 emoji 或其他非 BMP 字符的工具结果时出现乱码的问题。 - [#4347](https://github.com/MoonshotAI/kimi-code/pull/4347) [`b3c6e0a`](https://github.com/MoonshotAI/kimi-code/commit/b3c6e0a75a3b1716a360a75eed7194be9b97c176) 感谢 [@Grapedge](https://github.com/Grapedge)!- 修复 CJK 输入法自动补全和 Markdown 渲染、键盘处理及全屏图片渲染问题。 - [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) 感谢 [@Grapedge](https://github.com/Grapedge)!- 为实验性的“更新”面板添加键盘和鼠标导航,优化焦点样式,并让阅读位置保持不变;设置 `KIMI_CODE_EXPERIMENTAL_NOTIFY_USER=1` 即可启用。 - [#4495](https://github.com/MoonshotAI/kimi-code/pull/4495) [`e851723`](https://github.com/MoonshotAI/kimi-code/commit/e8517233ef98fb5bd61db991fbfdfaeb789db8c0) 感谢 [@kimi-agent-bot](https://github.com/kimi-agent-bot)!- Web:改进交互并修复已知问题。 - [#4280](https://github.com/MoonshotAI/kimi-code/pull/4280) [`67325c1`](https://github.com/MoonshotAI/kimi-code/commit/67325c1b25e46b2fc66043bceab059221b719fa9) 感谢 [@sailist](https://github.com/sailist)!- 修复某轮对话被中断后重启应用时,对话视图停留在旧位置的问题;现在中断的轮次会标记为已中断,而不会显示为已完成。