← 返回更新日志

Kimi Code @moonshot-ai/[email protected]

2026-06-02 · GitHub 原文
### 次要更新 - [#319](https://github.com/MoonshotAI/kimi-code/pull/319) [`fe7db4a`](https://github.com/MoonshotAI/kimi-code/commit/fe7db4a7e361b83194eb1ebb52d27daed53be532) - 在将摘要写入历史记录之前,将当前的待办事项列表以 Markdown 格式追加到上下文压缩摘要中。 - [#334](https://github.com/MoonshotAI/kimi-code/pull/334) [`eeefa98`](https://github.com/MoonshotAI/kimi-code/commit/eeefa98083e9d037d2ba7c59de9e5eb51b19fdd7) - 添加后台自动升级功能,可在 `tui.toml` 中禁用。 - [#270](https://github.com/MoonshotAI/kimi-code/pull/270) [`ac37d74`](https://github.com/MoonshotAI/kimi-code/commit/ac37d7448458fdb73fbe00e35856dcf44a13f734) - 为需要多轮交互的较长任务添加实验性目标模式。在启动 Kimi 前设置 `KIMI_CODE_EXPERIMENTAL_GOAL_COMMAND=1` 以启用。 在 TUI 中使用 `/goal <目标>` 让 Kimi 跨轮次持续处理同一项任务。例如: ```text /goal Fix the failing checkout test ``` Kimi 会在 TUI 中显示目标并在处理过程中保持进度可见。使用 `/goal status`、`/goal pause`、`/goal resume`、`/goal cancel` 和 `/goal replace <目标>` 来管理目标。此功能仍处于实验阶段。欢迎试用并反馈如何让它更有用。 - [#315](https://github.com/MoonshotAI/kimi-code/pull/315) [`191059d`](https://github.com/MoonshotAI/kimi-code/commit/191059d40049d3bfd07661ac03bb961eac1407f7) - 添加后台结构化提问功能,使代理在等待用户回答时仍能继续工作。 - [#313](https://github.com/MoonshotAI/kimi-code/pull/313) [`3c5dee8`](https://github.com/MoonshotAI/kimi-code/commit/3c5dee8836ac823fce01707f60b9c095a963060e) - 添加 `kimi provider` CLI 子命令,支持 `add`、`remove`、`list` 以及 `catalog list` / `catalog add` 操作,以便无需启动 TUI 即可导入和管理来自自定义注册表(api.json)或公共 models.dev 目录的提供商。 - [#277](https://github.com/MoonshotAI/kimi-code/pull/277) [`a217ff0`](https://github.com/MoonshotAI/kimi-code/commit/a217ff09aad0665b1501b156c2cc1f186b876087) - 添加 `/undo` 斜杠命令,用于从对话历史中撤回最后一条提示,并在撤回时保持回放记录同步。 - [#334](https://github.com/MoonshotAI/kimi-code/pull/334) [`eeefa98`](https://github.com/MoonshotAI/kimi-code/commit/eeefa98083e9d037d2ba7c59de9e5eb51b19fdd7) - 添加 `kimi upgrade` 命令,用于手动检查并升级 Kimi Code CLI。 - [#336](https://github.com/MoonshotAI/kimi-code/pull/336) [`7cda9c3`](https://github.com/MoonshotAI/kimi-code/commit/7cda9c3866bad6b3ce8f95c383a111e1ee5e9325) - 添加审批生命周期钩子事件,用于观察待处理和已完成的权限提示。 ### 补丁更新 - [#285](https://github.com/MoonshotAI/kimi-code/pull/285) [`573c56e`](https://github.com/MoonshotAI/kimi-code/commit/573c56e829a10e8a45738a37250d8c15f4ab8d8d) - 将后台任务管理整合到代理后台运行时中。 - [#314](https://github.com/MoonshotAI/kimi-code/pull/314) [`6de3d97`](https://github.com/MoonshotAI/kimi-code/commit/6de3d97d82e2c585035d1d7f969a3504f712df21) - 修复退出 CLI 后出现修改过的键盘释放序列的问题。 - [#335](https://github.com/MoonshotAI/kimi-code/pull/335) [`7284f30`](https://github.com/MoonshotAI/kimi-code/commit/7284f30479142fd66b1e8a731fd00198b1e8684f) - 修复重新导入期间自定义注册表提供商的处理问题。防止多提供商条目丢失,并移除过期提供商及其模型别名和默认模型引用。 - [#311](https://github.com/MoonshotAI/kimi-code/pull/311) [`80164c2`](https://github.com/MoonshotAI/kimi-code/commit/80164c2e975ba82f7c915dc3fce6cb00b9d29f6e) - 在展开花括号前规范化 glob 模式,以防止路径匹配错误。 - [#247](https://github.com/MoonshotAI/kimi-code/pull/247) [`58e2915`](https://github.com/MoonshotAI/kimi-code/commit/58e2915c0f726747a94a8dc5a9eda001ef0d4009) - 通过将每行渲染内容限制在终端宽度内,修复在极窄终端下 `/sessions` 选择器崩溃的问题。 - [#317](https://github.com/MoonshotAI/kimi-code/pull/317) [`1f8c36a`](https://github.com/MoonshotAI/kimi-code/commit/1f8c36af288ca6120d620f3944c921bc4f0f77ce) - 修复工具输出预览渲染:去除尾部空行,为多行 Bash 命令标题添加省略号,并通过视觉换行行数而非原始换行符数量截断长单行输出。 - [#145](https://github.com/MoonshotAI/kimi-code/pull/145) [`d912053`](https://github.com/MoonshotAI/kimi-code/commit/d912053b0d3983f4e67450c347616086cfbd1fe7) - 修复 Windows 上的 Git Bash 路径检测问题,增加搜索 `usr\bin\bash.exe` 位置,因为许多 Git for Windows 安装中 bash 位于此处,而 `bin\bash.exe` 并不存在。 - [#310](https://github.com/MoonshotAI/kimi-code/pull/310) [`a4511ff`](https://github.com/MoonshotAI/kimi-code/commit/a4511ffc87a1414cb8a5295eeef1103b9ed59645) - 在底部状态栏显示完整模型名称,而非截断提供商前缀。 - [#283](https://github.com/MoonshotAI/kimi-code/pull/283) [`91b292e`](https://github.com/MoonshotAI/kimi-code/commit/91b292e898e9d97b0501cf787919d7f1a90c89d8) - 允许 glob 搜索定位工作区外的显式绝对路径。 - [#223](https://github.com/MoonshotAI/kimi-code/pull/223) [`811f252`](https://github.com/MoonshotAI/kimi-code/commit/811f252625bc20a27687b11754b18cc68c7d50dc) - 在欢迎面板中显示 MCP 服务器摘要,并在 `/mcp` 命令输出中添加配置提示。 - [#229](https://github.com/MoonshotAI/kimi-code/pull/229) [`fb35bca`](https://github.com/MoonshotAI/kimi-code/commit/fb35bca032486eaefb7b9d7b612d353033e0922c) - 在会话目录警告中,将 chalk 命名颜色替换为随主题变化的十六进制颜色。 - [#303](https://github.com/MoonshotAI/kimi-code/pull/303) [`3d7e20e`](https://github.com/MoonshotAI/kimi-code/commit/3d7e20e6978cb35787738e12f6f352fbc2733582) - 在欢迎界面和无模型配置提示中,将用户引导至 `/provider` 命令,而非已移除的 `/connect` 命令。 - [#135](https://github.com/MoonshotAI/kimi-code/pull/135) [`0071b63`](https://github.com/MoonshotAI/kimi-code/commit/0071b63fc83821430472e11db3c6aa613c0bdf7e) - 修复因缺少系统提醒包装器,导致模型无法识别斜杠触发的技能的问题。 - [#330](https://github.com/MoonshotAI/kimi-code/pull/330) [`7a47045`](https://github.com/MoonshotAI/kimi-code/commit/7a47045af2790eba0e68d5406c670ac759b21755) - 允许子代理使用在其父代理上注册的自定义工具。 - [#333](https://github.com/MoonshotAI/kimi-code/pull/333) [`1178c5c`](https://github.com/MoonshotAI/kimi-code/commit/1178c5cd148d9d5851574afaafb986be1dfe9b63) - 提醒模型在长时间运行的任务中刷新 TodoList,并加强 TodoList 进度跟踪的引导。 - [#327](https://github.com/MoonshotAI/kimi-code/pull/327) [`8809f3e`](https://github.com/MoonshotAI/kimi-code/commit/8809f3eb114172ac64cefe43bbf9b9257c5245c0) - 修复因工具调用 ID 不兼容及未签名的 Claude 思考历史导致的跨提供商重放失败问题。