From 16e881ed64014b8b2a18c177f144aef9f7d6ffe7 Mon Sep 17 00:00:00 2001 From: liruifengv Date: Wed, 27 May 2026 23:31:03 +0800 Subject: [PATCH] docs(changelog): sync 0.4.0 from apps/kimi-code/CHANGELOG.md (#125) --- docs/en/release-notes/changelog.md | 27 +++++++++++++++++++++++++++ docs/zh/release-notes/changelog.md | 27 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/docs/en/release-notes/changelog.md b/docs/en/release-notes/changelog.md index 6742c1dbd..7c7e29f01 100644 --- a/docs/en/release-notes/changelog.md +++ b/docs/en/release-notes/changelog.md @@ -2,6 +2,33 @@ This page documents the changes in each Kimi Code CLI release. +## 0.4.0 + +### Features + +- Add user-global plugin installation, interactive plugin management, plugin-provided skills, and plugin-owned MCP servers. +- Expand folded paste markers on second paste. +- Rework tool permissions: reads outside cwd no longer prompt, session approvals match the exact call, and path-based rules are case-insensitive. +- Add `/export-debug-zip` slash command to export the current session as a debug ZIP archive directly from the TUI. +- Add `/export-md` slash command to export the current session as a Markdown file. + +### Bug Fixes + +- Prevent the TUI from crashing when pull request lookup fails during startup. +- Fix thinking spinner leaking past turn end when an empty thinking delta creates an orphaned thinking component. +- Show the original session resume command after forking a session. +- Restrict plugin zip installs to manifests at the archive root or a single wrapper directory. +- Route session-tagged log entries exclusively to the session sink instead of duplicating them to the global sink. Consistently omit stable main-agent context keys from all session log lines that carry `agentId=main`. + +### Refactors + +- Refactor TUI resume replay logic. +- Use one retry classification for transient LLM failures across regular turns and compaction. + +### Other + +- Enhance `kimi export` to include more diagnostic information in the manifest. + ## 0.3.0 ### Features diff --git a/docs/zh/release-notes/changelog.md b/docs/zh/release-notes/changelog.md index d39c7ef9d..4be99ff6a 100644 --- a/docs/zh/release-notes/changelog.md +++ b/docs/zh/release-notes/changelog.md @@ -2,6 +2,33 @@ 本页记录 Kimi Code CLI 每个版本的变更内容。 +## 0.4.0 + +### 新功能 + +- 新增用户全局的 plugin 安装能力,包括交互式 plugin 管理、plugin 提供的 Skill,以及 plugin 自带的 MCP server。 +- 在第二次粘贴时展开折叠的粘贴标记。 +- 重做工具权限:cwd 之外的读取不再触发提示,会话级授权按完整调用精确匹配,基于路径的规则改为大小写不敏感。 +- 新增 `/export-debug-zip` 斜杠命令,可直接在终端界面将当前会话导出为调试用 ZIP 归档。 +- 新增 `/export-md` 斜杠命令,可将当前会话导出为 Markdown 文件。 + +### 修复 + +- 在启动时若 pull request 查询失败,避免终端界面崩溃。 +- 修复在空 Thinking 增量产生孤立 Thinking 组件时,Thinking 旋转图标残留到轮次结束之后的问题。 +- 派生会话后显示原始的会话恢复命令。 +- 限制 plugin zip 安装:仅接受 manifest 位于归档根目录或单层包装目录的情况。 +- 将带会话标签的日志条目独占地路由到会话 sink,不再同时写入全局 sink;并对所有携带 `agentId=main` 的会话日志行,统一省略主 Agent 中稳定不变的上下文键。 + +### 重构 + +- 重构终端界面中的会话恢复回放逻辑。 +- 在常规轮次与压缩中,对瞬时 LLM 失败采用统一的重试分类。 + +### 其他 + +- 增强 `kimi export`,在 manifest 中记录更多诊断信息。 + ## 0.3.0 ### 新功能