← 返回更新日志

Kimi Code @moonshot-ai/[email protected]

2026-06-22 · GitHub 原文
### 次要更新 - [#812](https://github.com/MoonshotAI/kimi-code/pull/812) [`c0eeca2`](https://github.com/MoonshotAI/kimi-code/commit/c0eeca24692edd736eecd3c2541d7566bac9f80f) - 新增添加额外工作区目录的功能: - 使用 `/add-dir <路径>` 命令将额外工作目录添加到当前会话,或为项目保留它们。 - 使用 `kimi --add-dir <路径>` 在启动时添加。 - 项目级本地配置现管理于 `.kimi-code/local.toml` 中;建议将其添加到 `.gitignore`。 - [#975](https://github.com/MoonshotAI/kimi-code/pull/975) [`c5c1834`](https://github.com/MoonshotAI/kimi-code/commit/c5c18347251221fab74e4f452ac4910116c4224d) - 通过直接磁盘读取器和请求超时保护机制加速会话快照加载,并将旧路径保留为备用回退方案。 ### 补丁更新 - [#910](https://github.com/MoonshotAI/kimi-code/pull/910) [`7644f10`](https://github.com/MoonshotAI/kimi-code/commit/7644f1036ca1079e4527c0b1c825ec5384d6d8da) - 修复恢复的对话历史包含空文本内容块时导致提供商请求失败的问题。 - [#963](https://github.com/MoonshotAI/kimi-code/pull/963) [`4292ae9`](https://github.com/MoonshotAI/kimi-code/commit/4292ae9f9bc49e9edaaaeae50dbddabbd4b9bb25) - 显示提供商安全策略块,而非静默将其视为已完成的轮次,并防止过滤响应后上下文 token 计数降至零。 - [#970](https://github.com/MoonshotAI/kimi-code/pull/970) [`2730079`](https://github.com/MoonshotAI/kimi-code/commit/27300797f2149900219b05dda49dce65e71fa85a) - 读取媒体时根据文件内容检测真实图片格式,避免因文件名扩展名不匹配导致模型 API 拒绝数据 URL。 - [#977](https://github.com/MoonshotAI/kimi-code/pull/977) [`d521932`](https://github.com/MoonshotAI/kimi-code/commit/d521932c3e99a0c5fa1d5d658cf1cd64f0306a75) - 停止在网页侧边栏中显示已取消或失败的会话的未读提示点。 - [#957](https://github.com/MoonshotAI/kimi-code/pull/957) [`b57fc90`](https://github.com/MoonshotAI/kimi-code/commit/b57fc905fe480aac07839dd0213768dbeb2a8002) - 修复 Windows 系统上命令闪退空控制台窗口的问题。 - [#821](https://github.com/MoonshotAI/kimi-code/pull/821) [`ba64072`](https://github.com/MoonshotAI/kimi-code/commit/ba64072559c1e9bb3447ede39991ac2e8bdb7645) - 允许使用 Ctrl+B 将长时间运行的前台命令和子代理移至后台任务,并通过 `/tasks` 面板进行检查。 - [#812](https://github.com/MoonshotAI/kimi-code/pull/812) [`c0eeca2`](https://github.com/MoonshotAI/kimi-code/commit/c0eeca24692edd736eecd3c2541d7566bac9f80f) - 优化文件引用(Mention)的用户体验。 - [#974](https://github.com/MoonshotAI/kimi-code/pull/974) [`d434d8f`](https://github.com/MoonshotAI/kimi-code/commit/d434d8f0d809599f4ae7de77b58e337bfd4ebcc9) - 统一在嗅探失败时的图片格式检测逻辑。 - [#958](https://github.com/MoonshotAI/kimi-code/pull/958) [`98905eb`](https://github.com/MoonshotAI/kimi-code/commit/98905eb409ec643fd916a13beecec85212f834bd) - 在网页聊天头部显示更长的分支名称,并在悬停时显示完整名称。 - [#964](https://github.com/MoonshotAI/kimi-code/pull/964) [`4223739`](https://github.com/MoonshotAI/kimi-code/commit/42237392ddc3a0816c045da23e77c4875cc692e5) - 保持网页标题固定,不再随会话或工作区名称变化。 - [#973](https://github.com/MoonshotAI/kimi-code/pull/973) [`3b9938b`](https://github.com/MoonshotAI/kimi-code/commit/3b9938b4c3a386394ed4d35c7b89b48878476977) - 整合网页客户端的 localStorage 访问,并将外观/通知状态解耦至独立模块。