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

* docs(changelog): sync 0.22.2 from apps/kimi-code/CHANGELOG.md

* docs(agents): require web: prefix for web UI changelog entries
This commit is contained in:
liruifengv 2026-07-04 00:18:02 +08:00 committed by GitHub
parent 9f4079106c
commit 36bb506a8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 63 additions and 3 deletions

View file

@ -6,6 +6,30 @@ outline: 2
This page documents the changes in each Kimi Code CLI release.
## 0.22.2 (2026-07-03)
### Bug Fixes
- Fix sessions silently dropping later user messages after a turn was interrupted between a tool call and its result.
- Fix requests being rejected by strict providers when the model emits duplicate tool call ids.
- Fix `kimi upgrade` failing on Windows with a spawn error when installing the new version.
- Fix duplicated transcript content appearing in scrollback during streaming.
- Fix compressed-image prompts leaking an internal `<system>` compression note into the visible message and the session title.
- Keep automatic background updates from flashing a console window on Windows.
### Polish
- Have context-compaction notes capture a forward plan for the remaining work — upcoming steps, settled decisions, and foreseeable obstacles — instead of only the immediate next step, so the agent continues more coherently after auto-compaction.
- Enrich PATH from the user's login shell at startup, so shell commands find user-installed tools (e.g. Homebrew's `gh`) even when kimi-code was launched without the full profile PATH.
- Promote the language-matching rule to a dedicated section in the system prompt, so replies and reasoning consistently follow the user's language through long English tool output, while repository artifacts keep project conventions.
- Add a TUI preference to keep rapid multi-line pastes from submitting line by line when bracketed paste is unavailable. Set `disable_paste_burst = true` in `tui.toml` to turn it off.
- Keep subagent cards at a stable height and show a live status spinner with a compact two-row activity window.
- In `kimi -p` runs, wait for background subagents to finish before exiting when `background.keep_alive_on_exit` is enabled. Set `keep_alive_on_exit = true` to let concurrent background subagents complete.
### Refactors
- Record model response ids in session wire logs to make individual model requests easier to trace.
## 0.22.1 (2026-07-02)
### Bug Fixes

View file

@ -6,6 +6,30 @@ outline: 2
本页记录 Kimi Code CLI 每个版本的变更内容。
## 0.22.22026-07-03
### 修复
- 修复在一轮对话于工具调用与其结果之间被打断后,后续用户消息被静默丢弃的问题。
- 修复模型输出重复的工具调用 id 时,请求被严格供应商拒绝的问题。
- 修复 Windows 上 `kimi upgrade` 在安装新版本时因 spawn 错误而失败的问题。
- 修复流式输出期间滚动历史中对话内容重复出现的问题。
- 修复压缩图片的提示词会把内部 `<system>` 压缩说明泄露到可见消息和会话标题中的问题。
- 修复 Windows 上自动后台更新会弹出控制台窗口的问题。
### 优化
- 优化 compaction 笔记:现在会记录剩余工作的后续计划(后续步骤、已确定的决策、可预见的障碍),而不仅是下一步,让 Agent 在自动压缩后更连贯地继续。
- 启动时从用户登录 shell 补充 PATH使 shell 命令能找到用户自行安装的工具(如 Homebrew 的 `gh`),即使 kimi-code 启动时未继承完整的 profile PATH。
- 将语言匹配规则提升为系统提示词中的独立小节,使回复与推理在面对长篇英文工具输出时仍一致使用用户的语言,同时仓库产物仍遵循项目约定。
- TUI 新增一项偏好设置:当 bracketed paste 不可用时,避免快速多行粘贴被逐行提交。可在 `tui.toml` 中设置 `disable_paste_burst = true` 关闭该行为。
- 优化子 Agent 卡片,使其保持固定高度,并在紧凑的双行活动窗口内显示实时状态 spinner。
- `kimi -p` 运行时,若启用了 `background.keep_alive_on_exit`,退出前会等待后台子 Agent 完成。设置 `keep_alive_on_exit = true` 可让并发的后台子 Agent 执行完毕。
### 重构
- 在会话 wire 日志中记录模型响应 id便于追踪单个模型请求。
## 0.22.12026-07-02
### 修复