doc: 0.20.0 changelog (#1114)

This commit is contained in:
qer 2026-06-26 03:30:59 +08:00 committed by GitHub
parent 5f36e763ca
commit 258d248020
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 82 additions and 0 deletions

View file

@ -6,6 +6,47 @@ outline: 2
This page documents the changes in each Kimi Code CLI release.
## 0.20.0 (2026-06-26)
### Features
- Add shell mode to the TUI. Type `!` in the input box to enable it. For long-running commands, press Ctrl+B to move them to the background. For example, you can run `!gh auth login` to sign in to the GitHub CLI without opening a new terminal.
- Add a `--host` CLI option so `kimi web --host` can expose the server to the internet, with hardened token authentication, rate limiting, and other security measures.
- Render LaTeX display math (`$$…$$`) in the web UI.
### Bug Fixes
- Fix a startup crash on Linux caused by an unhandled native clipboard error.
- Fix `kimi web` and `/web` failing to start the background server daemon on Windows with `spawn EFTYPE` when the CLI is installed via npm/pnpm or run from source. The official single-binary install script was not affected.
- Fix the terminal window repeatedly losing focus on Linux Wayland, which broke IME input.
- Stop auto-dismissing questions in the web UI after 60 seconds so they wait for the user's answer.
- Fix explore subagents silently losing git context when git commands time out or the directory is not a repository.
- Fix Ctrl-C during compaction so it clears a pending editor draft first instead of cancelling immediately.
- Fix MCP server working directories when sessions are hosted by the web server.
- Fix duplicate session snapshot reloads in the bundled web UI during resync.
- Fix truncated skill descriptions missing an ellipsis in the model's skill listing.
### Polish
- Redesign `/plugins` as a single tabbed panel: **Installed** (manage installed plugins — toggle, remove, MCP, details, reload), **Official** (Kimi-maintained marketplace plugins), **Third-party** (marketplace plugins from other publishers), and **Custom** (install straight from a GitHub URL, zip URL, or local path). Use `Tab` / `Shift-Tab` to switch tabs.
- Show a line-by-line diff when the agent edits or writes a file in the web chat.
- Show the plan body and approach choices in the plan review card when exiting plan mode in the web UI.
- Show the full accumulated progress of a subagent in its detail panel, with concise tool-call summaries instead of raw JSON.
- `/reload` now refreshes the assistant's view of plugin skills, so plugin changes take effect in the current session instead of requiring a new one.
- Replace silent AGENTS.md truncation with a visible warning in the TUI status bar and web UI.
- Add a confirmation prompt before installing third-party plugins.
- Show update badges on the `/plugins` Installed tab, where Enter now installs the available update and I opens plugin details.
- Add a copy button to user messages in the web chat.
- Preserve full tool output logs when previews are truncated and link background task completion notifications to saved output.
- Sync session title changes across all connected clients in server mode.
- Add Ctrl+U and Ctrl+D as page up and page down shortcuts in the task output viewer.
- Add a hint to the per-turn step limit error pointing users to the `loop_control.max_steps_per_turn` config option.
- Reduce streaming redraw cost for long assistant messages with code blocks.
- Page the web session list per workspace so the first screen no longer fetches every session up front.
- Keep the web session sidebar from re-rendering on every streaming token to improve rendering performance.
- Create missing parent directories automatically when writing a file.
- Improve the image paste hint.
## 0.19.2 (2026-06-24)
### Features

View file

@ -6,6 +6,47 @@ outline: 2
本页记录 Kimi Code CLI 每个版本的变更内容。
## 0.20.02026-06-26
### 新功能
- TUI 新增 shell 模式。在输入框中键入 `!` 即可启用。对于长时间运行的命令,按 `Ctrl+B` 可将其移至后台。例如,你可以运行 `!gh auth login` 登录 GitHub CLI无需打开新的终端。
- CLI 新增 `--host` 选项,可通过 `kimi web --host` 将服务器暴露到互联网,并加固 token 鉴权、限流等安全措施。
- Web UI 支持渲染 LaTeX 行间公式(`$$…$$`)。
### 修复
- 修复 Linux 上由未处理的原生剪贴板错误导致的启动崩溃。
- 修复当 CLI 通过 npm/pnpm 安装或从源码运行时,`kimi web``/web` 在 Windows 上因 `spawn EFTYPE` 无法启动后台服务器守护进程的问题。官方单二进制安装脚本不受影响。
- 修复终端窗口在 Linux Wayland 上反复失去焦点、导致输入法IME输入失效的问题。
- 不再在 60 秒后自动关闭 web UI 中的问题,使其等待用户的回答。
- 修复 explore 子 Agent 在 git 命令超时或目录不是仓库时静默丢失 git 上下文的问题。
- 修复压缩期间按 `Ctrl-C` 的问题,现在会先清除待处理的编辑器草稿,而不是立即取消。
- 修复会话由 web 服务器托管时 MCP 服务器工作目录的问题。
- 修复内置 web UI 在重新同步期间重复重新加载会话快照的问题。
- 修复模型的 Skill 列表中被截断的 Skill 描述缺少省略号的问题。
### 优化
- 将 `/plugins` 重新设计为单个标签页面板:**Installed**管理已安装插件——切换、移除、MCP、详情、重新加载、**Official**Kimi 维护的 marketplace 插件)、**Third-party**(来自其他发布者的 marketplace 插件)以及 **Custom**(直接从 GitHub URL、zip URL 或本地路径安装)。使用 `Tab` / `Shift-Tab` 切换标签页。
- 当 Agent 在 web 聊天中编辑或写入文件时,显示逐行 diff。
- 在 web UI 中退出 Plan 模式时,在计划审查卡片中显示计划正文和方案选项。
- 在子 Agent 的详情面板中显示其完整的累积进度,并以简洁的工具调用摘要替代原始 JSON。
- `/reload` 现在会刷新 Assistant 对插件 Skill 的视图,因此插件变更可在当前会话中生效,而无需启动新会话。
- 将静默的 AGENTS.md 截断替换为 TUI 状态栏和 web UI 中的可见警告。
- 在安装第三方插件前新增确认提示。
- 在 `/plugins` 的 Installed 标签页上显示更新徽章,现在按 `Enter` 安装可用更新,按 `I` 打开插件详情。
- 在 web 聊天的用户消息中新增复制按钮。
- 在预览被截断时保留完整的工具输出日志,并将后台任务完成通知链接到已保存的输出。
- 在服务器模式下,将会话标题变更同步到所有已连接的客户端。
- 在任务输出查看器中新增 `Ctrl+U``Ctrl+D` 作为向上翻页和向下翻页的快捷键。
- 在每轮步数上限错误中新增一条提示,指引用户查看 `loop_control.max_steps_per_turn` 配置项。
- 降低包含代码块的长 Assistant 消息的流式重绘开销。
- 按工作区分页加载 web 会话列表,使首屏不再预先获取全部会话。
- 避免 web 会话侧边栏在每个流式 token 上重新渲染,以提高渲染性能。
- 写入文件时自动创建缺失的父目录。
- 改进图片粘贴提示。
## 0.19.22026-06-24
### 新功能