← 返回更新日志

Kimi Code @moonshot-ai/[email protected]

2026-06-26 · GitHub 原文
### Patch Changes - [#1125](https://github.com/MoonshotAI/kimi-code/pull/1125) [`e9a3b7c`](https://github.com/MoonshotAI/kimi-code/commit/e9a3b7c83a623c7323da509ba885567c465093fc) - 为 `kimi upgrade` 命令添加 `update` 别名。运行 `kimi update` 即可升级至最新版本。 - [#1122](https://github.com/MoonshotAI/kimi-code/pull/1122) [`820d77a`](https://github.com/MoonshotAI/kimi-code/commit/820d77ab4cfad7752358a4692fd3d7def49f005d) - 在折叠的待办事项面板中,显示隐藏待办事项的已完成/进行中/待处理分类统计。 - [#1131](https://github.com/MoonshotAI/kimi-code/pull/1131) [`76c643b`](https://github.com/MoonshotAI/kimi-code/commit/76c643bcb6da447c8c47728b4f58512a7a11cfa6) - 将聊天补全提供商的完成令牌数限制在剩余上下文窗口内,避免上下文溢出和无效的 max_tokens 错误。 - [#1120](https://github.com/MoonshotAI/kimi-code/pull/1120) [`e736349`](https://github.com/MoonshotAI/kimi-code/commit/e736349a7c8ff55b73e05cc0192dfaf0114745fa) - 为诊断日志和代码库上下文添加可选的反馈附件。 - [#1135](https://github.com/MoonshotAI/kimi-code/pull/1135) [`bf51fb7`](https://github.com/MoonshotAI/kimi-code/commit/bf51fb7a105b2f34a59ed4e83d2588e790cfb086) - 修复 Windows 系统首次运行后本地服务器无法启动的问题,原因是持久化令牌文件的合成模式因权限过于宽松而被拒绝。 - [#1102](https://github.com/MoonshotAI/kimi-code/pull/1102) [`9c97161`](https://github.com/MoonshotAI/kimi-code/commit/9c9716125e104b217540d0591229d03c6d676ead) - 强化默认系统提示词和内置工具描述:阻止代理在应后台运行的任务上阻塞,确保其指导与每个配置实际提供的工具匹配,并展示此前遗漏的工具结果详情(如已抓取页面模式、Grep 匹配总数)。 - [#1127](https://github.com/MoonshotAI/kimi-code/pull/1127) [`184acf5`](https://github.com/MoonshotAI/kimi-code/commit/184acf5db521a964a8af9dfdb1502121a9be76dc) - 插件现在可以在清单文件中声明钩子,以便在生命周期事件时运行脚本。 - [#1128](https://github.com/MoonshotAI/kimi-code/pull/1128) [`0886bff`](https://github.com/MoonshotAI/kimi-code/commit/0886bff2bcd3aed954990c948201d84787c0f3f3) - 为 `kimi server run` 添加 `--allowed-host` 参数,允许额外的 Host 头值通过 DNS 重绑定检查,并在 403 错误信息中包含允许访问的指引。传入 `--allowed-host <host>` 以允许额外的主机。 - [#1119](https://github.com/MoonshotAI/kimi-code/pull/1119) [`b0b2aee`](https://github.com/MoonshotAI/kimi-code/commit/b0b2aee8c5a496c2b679fc9dbbc05e3d1934d5d9) - 通过缓存渲染的消息行,使终端在长对话中保持响应。 - [#1119](https://github.com/MoonshotAI/kimi-code/pull/1119) [`b0b2aee`](https://github.com/MoonshotAI/kimi-code/commit/b0b2aee8c5a496c2b679fc9dbbc05e3d1934d5d9) - 仅保留对话记录中的近期轮次,并折叠每轮中的历史步骤,从而使长会话保持响应。 - [#1121](https://github.com/MoonshotAI/kimi-code/pull/1121) [`81ba48f`](https://github.com/MoonshotAI/kimi-code/commit/81ba48f45534e133947c4e5e78907c2ad0db0b90) - 使 Web 聊天输入框随内容自适应高度,并为长消息添加可展开的编辑器。 - [#1133](https://github.com/MoonshotAI/kimi-code/pull/1133) [`f1c8175`](https://github.com/MoonshotAI/kimi-code/commit/f1c8175f9c5766f6a928fd07fb680e3159c564b0) - 修复 `/web` 斜杠命令未携带服务器令牌的问题,使打开的 Web UI 能够自动登录,并在终端退出前显示令牌。