docs(changelog): sync 0.4.0 from apps/kimi-code/CHANGELOG.md (#125)

This commit is contained in:
liruifengv 2026-05-27 23:31:03 +08:00 committed by GitHub
parent fa114c150d
commit 16e881ed64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 54 additions and 0 deletions

View file

@ -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

View file

@ -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
### 新功能