← 返回更新日志

Kimi Code @moonshot-ai/[email protected]

2026-06-29 · GitHub 原文
### 补丁更新 - [#1166](https://github.com/MoonshotAI/kimi-code/pull/1166) [`dfcfdfd`](https://github.com/MoonshotAI/kimi-code/commit/dfcfdfd9ddbe14fb6e358694394e1ddcc21b8911) - 为会话列表 API 添加可选的 `exclude_empty` 参数,以省略没有消息的会话。 - [#1156](https://github.com/MoonshotAI/kimi-code/pull/1156) [`794db55`](https://github.com/MoonshotAI/kimi-code/commit/794db55538e01b4bf0c008c493de5d8b8bf67c5d) - 默认将压缩输出限制在 128k tokens 以内,以避免提供商的 max_tokens 错误。 - [#1129](https://github.com/MoonshotAI/kimi-code/pull/1129) [`d02b5c4`](https://github.com/MoonshotAI/kimi-code/commit/d02b5c49844d65e005632fafcb1c172a7d32bfbe) - 修复压缩功能忽略配置的最大输出大小的问题。 - [#1188](https://github.com/MoonshotAI/kimi-code/pull/1188) [`db5fbc5`](https://github.com/MoonshotAI/kimi-code/commit/db5fbc53c00c9945fc1fa98c69c4e5c7efb8077e) - 修复在输入框中打字或切换斜杠面板时出现的不必要的全屏重绘问题。 - [#1187](https://github.com/MoonshotAI/kimi-code/pull/1187) [`97f9263`](https://github.com/MoonshotAI/kimi-code/commit/97f9263c6f13ead5edc051f96993f8d1d7d5ec6f) - 修复撤销一轮对话后调试计时输出残留的问题。 - [#1163](https://github.com/MoonshotAI/kimi-code/pull/1163) [`ff6e8bb`](https://github.com/MoonshotAI/kimi-code/commit/ff6e8bbd7c328dcc6575902cfd0cb3e522f20948) - 修复网页端编辑器在发送新会话的第一条消息后偶尔保留已输入文本的问题。 - [#1189](https://github.com/MoonshotAI/kimi-code/pull/1189) [`04b3492`](https://github.com/MoonshotAI/kimi-code/commit/04b3492e740dad5fca2af9f66eca98da3e14058a) - 修复工作提示被挤压在智能体群进度条旁的问题。 - [#1159](https://github.com/MoonshotAI/kimi-code/pull/1159) [`23a553b`](https://github.com/MoonshotAI/kimi-code/commit/23a553bb91e9ee794aaf769f78f5acec739aec85) - 在内置网页 UI 中,`/new` 和 `/clear` 现在作为别名,用于打开会话引导编辑器并聚焦输入框。通过将文本输入框保持为 16px 而非禁用视口缩放,防止了 iOS 自动缩放。 - [#1186](https://github.com/MoonshotAI/kimi-code/pull/1186) [`821847c`](https://github.com/MoonshotAI/kimi-code/commit/821847cb4b88d9128014609aad307ab8d9e9a5f3) - 新增 `KIMI_CODE_CUSTOM_HEADERS` 环境变量,用于自定义出站 LLM 请求头,并向非 Kimi 提供商发送 `User-Agent` 头。将 `KIMI_CODE_CUSTOM_HEADERS` 设置为以换行符分隔的 `Name: Value` 行。 - [#1186](https://github.com/MoonshotAI/kimi-code/pull/1186) [`821847c`](https://github.com/MoonshotAI/kimi-code/commit/821847cb4b88d9128014609aad307ab8d9e9a5f3) - 将 Anthropic 兼容协议下的托管 Kimi Code 模型请求路由至 beta 版 Messages API。 - [#1170](https://github.com/MoonshotAI/kimi-code/pull/1170) [`cf558cd`](https://github.com/MoonshotAI/kimi-code/commit/cf558cd74267393d6497ddedf25e192eaac4f94b) - 通过重试前进行压缩,从提供商 413 上下文溢出错误中恢复。 - [#1170](https://github.com/MoonshotAI/kimi-code/pull/1170) [`cf558cd`](https://github.com/MoonshotAI/kimi-code/commit/cf558cd74267393d6497ddedf25e192eaac4f94b) - 支持托管 Kimi Code 的 Anthropic 兼容协议,包括视频输入。 - [#1186](https://github.com/MoonshotAI/kimi-code/pull/1186) [`821847c`](https://github.com/MoonshotAI/kimi-code/commit/821847cb4b88d9128014609aad307ab8d9e9a5f3) - 在对话和 API 错误遥测数据中添加提供商类型和协议属性。 - [#1155](https://github.com/MoonshotAI/kimi-code/pull/1155) [`54baf5d`](https://github.com/MoonshotAI/kimi-code/commit/54baf5d07fe718b70b8840e509a905ac48b1ccac) - 升级网页端 Markdown 渲染器依赖项(katex、markstream-vue、shiki)以修复错误并提升性能。 - [#1162](https://github.com/MoonshotAI/kimi-code/pull/1162) [`b070846`](https://github.com/MoonshotAI/kimi-code/commit/b0708464f4160f7b73f25a520e493bf87e92149f) - 将网页端“询问用户问题”卡片重构为分步向导,使多问题导航和最终的提交操作更易于查看。 - [#1179](https://github.com/MoonshotAI/kimi-code/pull/1179) [`fc3d69d`](https://github.com/MoonshotAI/kimi-code/commit/fc3d69d74267393d6497ddedf25e192eaac4f94b) - 为网页 UI 添加完成提示音和问题通知,并在设置中为完成通知、问题通知和提示音提供独立的开关。问题通知默认关闭,因此仅在您主动开启后,问题文本才会推送到桌面。 - [#1165](https://github.com/MoonshotAI/kimi-code/pull/1165) [`f3b1532`](https://github.com/MoonshotAI/kimi-code/commit/f3b15322da518b0e3d0560d19651435793c790d9) - 将网页端编辑器附件按钮的加号图标替换为图片图标。 - [#1167](https://github.com/MoonshotAI/kimi-code/pull/1167) [`c63edd5`](https://github.com/MoonshotAI/kimi-code/commit/c63edd5bf6d764c3ab771cb697a334ac100a0944) - 在内置网页 UI 中,新会话仅在发送第一条消息时创建,因此点击“+ 新建”(无工作区)将直接打开编辑器,而非创建空会话。 - [#1166](https://github.com/MoonshotAI/kimi-code/pull/1166) [`dfcfdfd`](https://github.com/MoonshotAI/kimi-code/commit/dfcfdfd9ddbe14fb6e358694394e1ddcc21b8911) - 默认在网页端会话列表中隐藏未使用的“新建会话”条目。 - [#1181](https://github.com/MoonshotAI/kimi-code/pull/1181) [`1dab2c2`](https://github.com/MoonshotAI/kimi-code/commit/1dab2c2268af6f74464b6573981c1e1bb4bda703) - 在网页端切换回某个会话时,恢复该会话的滚动位置。 - [#1181](https://github.com/MoonshotAI/kimi-code/pull/1181) [`1dab2c2`](https://github.com/MoonshotAI/kimi-code/commit/1dab2c2268af6f74464b6573981c1e1bb4bda703) - 在网页端会话间切换时,保持侧边面板的展开状态。 - [#1166](https://github.com/MoonshotAI/kimi-code/pull/1166) [`dfcfdfd`](https://github.com/MoonshotAI/kimi-code/commit/dfcfdfd9ddbe14fb6e358694394e1ddcc21b8911) - 从 Web UI 中移除 /sessions 斜杠命令;侧边栏已涵盖会话浏览功能。 - [#1181](https://github.com/MoonshotAI/kimi-code/pull/1181) [`1dab2c2`](https://github.com/MoonshotAI/kimi-code/commit/1dab2c2268af6f74464b6573981c1e1bb4bda703) - 在 Web UI 中将未发送的附件限制在其所属会话内,这样切换会话时,附件就不会泄露到另一个会话的下一条消息中。 - [#1161](https://github.com/MoonshotAI/kimi-code/pull/1161) [`d968642`](https://github.com/MoonshotAI/kimi-code/commit/d968642384f672295756394ee07a536dbfdb4dfd) - Web 侧边栏中每个工作区仅显示前五个会话,而非十个。 - [#1181](https://github.com/MoonshotAI/kimi-code/pull/1181) [`1dab2c2`](https://github.com/MoonshotAI/kimi-code/commit/1dab2c2268af6f74464b6573981c1e1bb4bda703) - 将 Web 输入框的上下箭头历史记录限制在当前会话内,不再在所有会话间共享。