← 返回更新日志

Kimi Code @moonshot-ai/[email protected]

2026-06-25 · GitHub 原文
### 次要更新 - [#1079](https://github.com/MoonshotAI/kimi-code/pull/1079) [`2db5fc2`](https://github.com/MoonshotAI/kimi-code/commit/2db5fc20ecdf3212afd47e7c26195e428f8eddd5) - 新增 Shell 模式,用于运行 Shell 命令。 在输入框中输入 `!` 即可启用。 命令输出对 AI 可见。 对于长时间运行的命令,按 Ctrl+B 可将其移至后台。 例如,你可以运行 `!gh auth login` 来登录 GitHub CLI,无需打开新终端,这样 Kimi 就能使用 `gh` 命令。 - [#1088](https://github.com/MoonshotAI/kimi-code/pull/1088) [`0030f76`](https://github.com/MoonshotAI/kimi-code/commit/0030f76c5cc6465c5a6646c166375127d83696d3) - 在安装第三方插件前增加确认提示。 - [#1066](https://github.com/MoonshotAI/kimi-code/pull/1066) [`3554f7e`](https://github.com/MoonshotAI/kimi-code/commit/3554f7e7d6e472413aa7a9873d7a2eef5f2b819c) - 在 `/plugins` 的“已安装”选项卡中显示更新徽标,现在按 Enter 可安装可用更新,按 I 可查看插件详情。 - [#1025](https://github.com/MoonshotAI/kimi-code/pull/1025) [`5ef66dd`](https://github.com/MoonshotAI/kimi-code/commit/5ef66ddfeda2f23c40fc0cf53225cdaf3cc1147d) - 将 `/plugins` 重新设计为单个选项卡面板:**已安装**(管理已安装 插件——切换、移除、MCP、详情、重载)、**官方**(Kimi 维护的 市场插件)、**第三方**(其他发布者的市场插件)和**自定义**(直接从 GitHub URL、zip URL 或 本地路径安装)。使用 `Tab` / `Shift-Tab` 切换选项卡。官方和第三方 目录采用懒加载,因此 `/plugins` 会瞬间打开并保持离线可用—— 市场获取失败时会以内联方式显示,而不是关闭面板。选项 卡条通过新的 `renderTabStrip` 辅助函数与 `/model` 提供商选项卡共享。 - [#1006](https://github.com/MoonshotAI/kimi-code/pull/1006) [`60dfb68`](https://github.com/MoonshotAI/kimi-code/commit/60dfb68a2d4c342cfbad5f48d4d269fb6cdd43c0) - 新增服务器认证及安全 `--host` 暴露机制。本地服务器现在 要求在所有 API 和 WebSocket 调用中使用每次启动的 Bearer Token(CLI 会自动读取 它),强制执行 Host/Origin 检查,并为 `--host` 提供 公共绑定加固层级:强制设置 `KIMI_CODE_PASSWORD`、TLS(或 `--insecure-no-tls`)、认证失败速率限制、禁用远程 关机/终端,以及安全响应头。详见 `packages/server/SECURITY.md`。 - [#1040](https://github.com/MoonshotAI/kimi-code/pull/1040) [`6664038`](https://github.com/MoonshotAI/kimi-code/commit/66640380ebf60141994986beadf5347617f82814) - 将静默截断 `AGENTS.md` 替换为在 TUI 状态栏和 Web UI 中可见的警告。 - [#1101](https://github.com/MoonshotAI/kimi-code/pull/1101) [`3ea6ac2`](https://github.com/MoonshotAI/kimi-code/commit/3ea6ac278d2e57bb859ab423704bbd0fb2033c72) - 在 Web UI 中退出计划模式时,在计划审查卡片中显示计划正文和方案选项。 - [#1103](https://github.com/MoonshotAI/kimi-code/pull/1103) [`18f7c34`](https://github.com/MoonshotAI/kimi-code/commit/18f7c34a0739dab454af1f09d951a1bbf278cccb) - 在 Web 聊天中代理编辑或写入文件时,显示逐行差异对比。 ### 补丁更新 - [#1072](https://github.com/MoonshotAI/kimi-code/pull/1072) [`a86bb97`](https://github.com/MoonshotAI/kimi-code/commit/a86bb9757d99f32983e82a6a82fd3ccaab691b1a) - 优化图片粘贴提示。 - [#1076](https://github.com/MoonshotAI/kimi-code/pull/1076) [`500677a`](https://github.com/MoonshotAI/kimi-code/commit/500677ab8baf9081b73a35df5fbbcfc49cb2f9b7) - 修复压缩过程中的 Ctrl-C 快捷键,使其先清除待处理的编辑器草稿,而不是立即取消。 - [#1067](https://github.com/MoonshotAI/kimi-code/pull/1067) [`0e227ba`](https://github.com/MoonshotAI/kimi-code/commit/0e227ba18aec793aa4c233be7c578068ae91e604) - 修复探索子代理在 git 命令超时或目录非仓库时静默丢失 git 上下文的问题。 - [#1075](https://github.com/MoonshotAI/kimi-code/pull/1075) [`3aaf1e5`](https://github.com/MoonshotAI/kimi-code/commit/3aaf1e58037c4045aaa3b9fbabaffa158c60d2ca) - 修复 Linux 上因未处理的原生剪贴板错误导致的启动崩溃。 - [#1094](https://github.com/MoonshotAI/kimi-code/pull/1094) [`8ee5c0f`](https://github.com/MoonshotAI/kimi-code/commit/8ee5c0ff813d361733226a1606e7c724e5e38f2e) - 修复 Linux Wayland 下终端窗口反复失去焦点的问题,该问题会导致输入法(IME)输入失效。 - [#1057](https://github.com/MoonshotAI/kimi-code/pull/1057) [`ee69e16`](https://github.com/MoonshotAI/kimi-code/commit/ee69e16dc8fb18153d7ddff04bef1f4fc593688a) - 修复由 Web 服务器托管会话时 MCP 服务器的工作目录问题。 - [#1064](https://github.com/MoonshotAI/kimi-code/pull/1064) [`a752a53`](https://github.com/MoonshotAI/kimi-code/commit/a752a5309b3c456f7da0e6141bcd435b497d127a) - 修复模型技能列表中截断的技能描述缺少省略号的问题。 - [#903](https://github.com/MoonshotAI/kimi-code/pull/903) [`bbd8a1a`](https://github.com/MoonshotAI/kimi-code/commit/bbd8a1a947ba26c0e59f98819cab9e20898ff0b7) - 修复通过 npm/pnpm 安装 CLI 或从源码运行时,在 Windows 上使用 `kimi web` 和 `/web` 启动后台服务器守护进程时出现 `spawn EFTYPE` 错误的问题。官方单二进制安装脚本不受影响。 - [#1070](https://github.com/MoonshotAI/kimi-code/pull/1070) [`ff17715`](https://github.com/MoonshotAI/kimi-code/commit/ff177155ca630248bcd692421faab21e7b5be069) - 停止在 Web UI 中 60 秒后自动消失的问题,改为等待用户回答。 - [#1097](https://github.com/MoonshotAI/kimi-code/pull/1097) [`27ef516`](https://github.com/MoonshotAI/kimi-code/commit/27ef5166955b5deaecc367a4b3393909b0ccc9f9) - 在每轮步骤限制错误提示中增加指引,引导用户查看 `loop_control.max_steps_per_turn` 配置选项。 - [#1062](https://github.com/MoonshotAI/kimi-code/pull/1062) [`ea6a4bf`](https://github.com/MoonshotAI/kimi-code/commit/ea6a4bfe6ef8914f67f254f24b0c5c543c48a341) - 当预览被截断时保留完整的工具输出日志,并将后台任务完成通知链接到已保存的输出。 - [#1086](https://github.com/MoonshotAI/kimi-code/pull/1086) [`fe667d7`](https://github.com/MoonshotAI/kimi-code/commit/fe667d7c2ef113aef8a9546148f980d9adf560a3) - `/reload` 现在会刷新助手对插件技能的视图,因此插件更改将在当前会话中生效,而无需新建会话。 - [#1081](https://github.com/MoonshotAI/kimi-code/pull/1081) [`8fc6aa5`](https://github.com/MoonshotAI/kimi-code/commit/8fc6aa5f6842aa78acf8f23912342b721efcf7a9) - 在服务器模式下,跨所有已连接客户端同步会话标题更改。 - [#1078](https://github.com/MoonshotAI/kimi-code/pull/1078) [`75ca3b2`](https://github.com/MoonshotAI/kimi-code/commit/75ca3b21609d7197bb2c9b4389901595840ac7e3) - 在任务输出查看器中添加 Ctrl+U 和 Ctrl+D 作为上一页和下一页的快捷键。 - [#1069](https://github.com/MoonshotAI/kimi-code/pull/1069) [`d18aa16`](https://github.com/MoonshotAI/kimi-code/commit/d18aa1666a09b038d5a107e9a37fff1031b2e847) - 降低带有代码块的长助手消息在流式传输时的重绘开销。 - [#1112](https://github.com/MoonshotAI/kimi-code/pull/1112) [`6a97d0b`](https://github.com/MoonshotAI/kimi-code/commit/6a97d0bf431bc7038ce801da21164a67e07422d8) - 在 Web 聊天中为用户消息添加复制按钮。 - [#1035](https://github.com/MoonshotAI/kimi-code/pull/1035) [`ea03f30`](https://github.com/MoonshotAI/kimi-code/commit/ea03f30e5174825049ed4dfedebf8e43fbe751a4) - 通过 KaTeX 在 Web 聊天中渲染 LaTeX 显示数学公式(`$$…$$`)。单个 `$` 有意保留为纯文本,因此价格、环境变量和 Shell 路径(例如 `$PATH`、`$5/$10`、`$HOME/bin`)永远不会被误解析为公式。 - [#1084](https://github.com/MoonshotAI/kimi-code/pull/1084) [`d6e5246`](https://github.com/MoonshotAI/kimi-code/commit/d6e524682d9fb95460fceb86e17632ed858f7fcb) - 按工作区对 Web 会话列表进行分页,这样首屏不再预先获取所有会话。 - [#1113](https://github.com/MoonshotAI/kimi-code/pull/1113) [`6194d3f`](https://github.com/MoonshotAI/kimi-code/commit/6194d3fad3b53e6c2b80c422fe98043145494655) - 防止 Web 会话侧边栏在每次流式传输 token 时重新渲染。事件 reducer 现在对不改变会话的事件重用 `sessions` 数组引用,因此侧边栏的计算属性(`sessionsForView` / `workspaceGroups` / `mergedWorkspaces`)不再被无关的高频事件污染。 - [#1087](https://github.com/MoonshotAI/kimi-code/pull/1087) [`884b65a`](https://github.com/MoonshotAI/kimi-code/commit/884b65a04014be8d68ffd406f89fc2d26af6e62c) - 修复在重新同步期间捆绑 Web UI 中会话快照重复重载的问题。 - [#1109](https://github.com/MoonshotAI/kimi-code/pull/1109) [`d554f9a`](https://github.com/MoonshotAI/kimi-code/commit/d554f9ac8771be09b5c9a56943167dd45108dc4f) - 在子代理的详情面板中显示其完整的累积进度,并提供简洁的工具调用摘要,而非原始 JSON。 - [#1065](https://github.com/MoonshotAI/kimi-code/pull/1065) [`4b837d6`](https://github.com/MoonshotAI/kimi-code/commit/4b837d6bfbf3850807b5f88ccdd10f31e69b019c) - 写入文件时自动创建缺失的父目录。