diff --git a/docs/en/release-notes/changelog.md b/docs/en/release-notes/changelog.md index a15e5ac63..a751feccf 100644 --- a/docs/en/release-notes/changelog.md +++ b/docs/en/release-notes/changelog.md @@ -6,6 +6,33 @@ outline: 2 This page documents the changes in each Kimi Code CLI release. +## 0.23.1 (2026-07-07) + +### Bug Fixes + +- Fix `kimi -p` abandoning background subagents that start late or run long, so their results reach the main agent. +- web: Recover chat streaming after a stale background-tab WebSocket instead of requiring a page refresh. +- Fix some third-party models (e.g. Opus 4.8) falling back to the family default max output tokens; an unrecognized minor now reuses the nearest earlier known version's limit. +- Honor explicit Anthropic `max_output_size` settings instead of clamping them to built-in ceilings. +- Stop showing tool-produced `` metadata in tool outputs; failed tools now show their own error text. +- Fix goal completion and blocked updates to produce one final user-facing outcome summary from the tool result. +- Fix goal startup and queue handling so failed starts restore permission mode and queued goals wait behind new user messages. +- Fix goal token budgets to count model completion tokens and stop without extra continuation steps when the budget is exhausted. +- Fix goal tools being unavailable to the main agent, and return clear messages for invalid goal-control calls. +- Respect the `--skills-dir` flag in interactive mode. +- web: Fix several slash commands and skills not working on the new-session screen: `/goal ` and slash skill activations (for example `/pre-changelog`) silently did nothing, and `/btw []` opened an empty side chat. + +### Polish + +- Preserve prior turns' thinking by default on the Anthropic provider (Claude and Kimi's Anthropic-compatible mode), matching the Kimi default. Disable with `[thinking] keep = "off"` or `KIMI_MODEL_THINKING_KEEP=off`. +- Clarify the permission mode descriptions shown by `/permission`, `/auto`, and `/yolo`, and reorder `/auto` and `/yolo` in the command list. +- Show long-running goal wall-clock budget reminders in hours. +- Tighten goal-mode guidance so agents continue reasonable work across turns instead of ending goals prematurely. + +### Refactors + +- Record a per-request trace in the session wire log, so model requests can be reconstructed for debugging. + ## 0.23.0 (2026-07-06) ### Features diff --git a/docs/zh/release-notes/changelog.md b/docs/zh/release-notes/changelog.md index 8d5db69d4..89124bdac 100644 --- a/docs/zh/release-notes/changelog.md +++ b/docs/zh/release-notes/changelog.md @@ -6,6 +6,33 @@ outline: 2 本页记录 Kimi Code CLI 每个版本的变更内容。 +## 0.23.1(2026-07-07) + +### 修复 + +- 修复 `kimi -p` 会丢弃启动较晚或运行时间较长的后台子 Agent、导致结果无法返回主 Agent 的问题。 +- web: 修复后台标签页 WebSocket 失效后聊天流中断、必须刷新页面的问题,现在会自动恢复。 +- 修复一些第三方模型如 Opus 4.8 错误回退到系列默认最大输出 token 数的问题,未收录的次要版本现在会沿用最近的已知较早版本的限制。 +- 修复显式设置的 Anthropic `max_output_size` 被裁剪到内置上限的问题,现在会尊重用户配置。 +- 修复工具输出中混入工具产生的 `` 元数据的问题,失败的工具现在会显示其自身的错误信息。 +- 修复目标完成或被阻塞时的更新行为,现在会从工具结果生成一条最终的、面向用户的结果摘要。 +- 修复目标启动失败时未恢复权限模式、以及排队目标未等待新用户消息的问题。 +- 修复目标 token 预算未计入模型补全 token 的问题,预算耗尽时现在会直接停止,不再执行额外的续跑步骤。 +- 修复主 Agent 无法使用目标工具的问题,并为无效的目标控制调用返回清晰的提示信息。 +- 修复交互模式下 `--skills-dir` 选项未生效的问题。 +- web: 修复新会话页面上多个斜杠命令与 Skill 激活无效的问题:`/goal ` 与斜杠 Skill 激活(如 `/pre-changelog`)之前毫无反应,`/btw []` 会打开一个空的侧聊。 + +### 优化 + +- Anthropic 供应商(Claude 与 Kimi 的 Anthropic 兼容模式)现在默认保留历史轮次的思考内容,与 Kimi 默认行为一致;可通过 `[thinking] keep = "off"` 或 `KIMI_MODEL_THINKING_KEEP=off` 关闭。 +- 优化 `/permission`、`/auto`、`/yolo` 显示的权限模式描述,并在命令列表中调整 `/auto` 与 `/yolo` 的顺序。 +- 长时间运行目标的运行时长预算提醒现在以小时为单位显示。 +- 优化目标模式指引,使 Agent 在合理范围内跨轮次继续工作,避免过早结束目标。 + +### 重构 + +- 在会话 wire 日志中记录每次请求的追踪信息,以便在调试时还原模型请求。 + ## 0.23.0(2026-07-06) ### 新功能