From 4aeb33637f8c707ff21198fb59185929a4334f47 Mon Sep 17 00:00:00 2001 From: qer Date: Mon, 6 Jul 2026 23:59:08 +0800 Subject: [PATCH] docs(changelog): sync 0.23.0 from apps/kimi-code/CHANGELOG.md (#1446) --- docs/en/release-notes/changelog.md | 38 ++++++++++++++++++++++++++++++ docs/zh/release-notes/changelog.md | 38 ++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/docs/en/release-notes/changelog.md b/docs/en/release-notes/changelog.md index 95d0e997f..611fd874e 100644 --- a/docs/en/release-notes/changelog.md +++ b/docs/en/release-notes/changelog.md @@ -6,6 +6,44 @@ outline: 2 This page documents the changes in each Kimi Code CLI release. +## 0.23.0 (2026-07-06) + +### Features + +- web: Add an Archived sessions page in Settings to browse and restore archived sessions. Open Settings → Archived to find it. +- Add experimental on-demand tool loading (`select_tools`) under the `tool-select` flag: a supporting model loads MCP tools only when needed instead of sending all of them in every request, preserving the provider prompt cache. Off by default and only active on models that declare the `select_tools` capability. + +### Bug Fixes + +- Fix sessions that exist on disk but were missing from the session list or returned 404 on direct access, by rebuilding the session index at server startup. +- Fix the Bash and Edit tool cards collapsing, jumping, or flickering in height when results stream in or finish with short output, and visually separate the Bash command from its output. +- Fix the input box shifting upward after the slash command menu closes. +- Fix the edit approval preview shown by Ctrl+E to include surrounding context lines, matching the summary panel. +- Fix `@` file completion missing deeply nested files in large projects after adding extra workspace directories. +- web: Fix several web layout and animation glitches: the collapsed sidebar now hides correctly, the chat history no longer replays its entrance animation when opening a session, and tool components no longer jump the conversation when expanded or collapsed. +- web: Fix scheduled-reminder (cron) fires being hidden; they now show as notice cards in the chat. +- web: Fix the end of a reply staying missing after reopening a session. +- web: Fix queued media messages not loading back into the composer and keep attachments when undoing a message. +- web: Keep the composer toolbar from clipping its controls on narrow windows and phones, with the context ring staying visible at every width. +- web: Fix the font size setting so chat text, composer text, and sidebar text follow the selected size. Thanks @justjavac! +- web: Fix an almost-invisible composer input caret and a washed-out strikethrough on completed todos. +- web: Show the correct session search shortcut on Windows. Thanks @justjavac! +- Fix tool calling with Google Gemini models, including Gemini 3 thinking-signature round-trips across turns. + +### Polish + +- web: Replace the swarm footer with a single inline tool card that shows live subagent progress and the aggregated result, and keep the swarm progress bar stable after refresh. +- Show compaction summaries in the TUI after compaction. Press Ctrl+O to show or hide the summary. +- web: Render AskUserQuestion answers as a readable option list with the chosen option(s) highlighted, instead of raw JSON. +- web: Show available skills in the composer before a session is created. +- web: Add an Archived sessions entry to the mobile settings sheet and clarify the archive confirmation to mention restoring from Settings. +- web: Show the Kimi icon and clearer titles in desktop notifications. +- web: Align the markdown diff code block with the design system: code text keeps the normal ink colour while the sign and a soft row background carry the change, matching the `~/diff` panel. +- web: Prevent chat text from hyphenating at line breaks and render code without font ligatures. +- web: Drop the stray left indent in the tool-call card body so expanded content aligns with the header. +- Feed AskUserQuestion answers back to the model as question text and option labels instead of positional ids, so the model no longer has to map them back. Question texts must now be unique per call and option labels unique per question; existing clients keep answering with option ids, so no client change is required. +- Keep prior reasoning across turns for Kimi models by default when Thinking is on. Set `[thinking] keep = "off"` to disable. + ## 0.22.3 (2026-07-04) ### Bug Fixes diff --git a/docs/zh/release-notes/changelog.md b/docs/zh/release-notes/changelog.md index 7029d99c7..76e9978ff 100644 --- a/docs/zh/release-notes/changelog.md +++ b/docs/zh/release-notes/changelog.md @@ -6,6 +6,44 @@ outline: 2 本页记录 Kimi Code CLI 每个版本的变更内容。 +## 0.23.0(2026-07-06) + +### 新功能 + +- web: 在设置中新增「已归档会话」页面,可浏览并恢复已归档的会话,前往「设置 → 已归档」查看。 +- 新增实验性的按需工具加载(`select_tools`):开启 `tool-select` 标志后,支持的模型会按需加载 MCP 工具,而非每次请求都发送全部工具,以保留供应商的 prompt cache。默认关闭,且仅对声明了 `select_tools` 能力的模型生效。 + +### 修复 + +- 修复会话已存在于磁盘却在会话列表中缺失、或直接访问时返回 404 的问题,服务器现在会在启动时重建会话索引。 +- 修复 Bash 与 Edit 工具卡片在结果流式返回或输出较短时发生高度塌陷、跳动或闪烁的问题,并在视觉上分离 Bash 命令与其输出。 +- 修复斜杠命令菜单关闭后输入框向上移位的问题。 +- 修复 Ctrl+E 的编辑审批预览未包含上下文行的问题,现与摘要面板一致。 +- 修复添加额外工作区目录后,大型项目中 `@` 文件补全会遗漏深层嵌套文件的问题。 +- web: 修复多处 web 布局与动画问题:折叠的侧边栏现在会正确隐藏,打开会话时聊天记录不再重复播放入场动画,工具组件展开或折叠时不再顶动对话内容。 +- web: 修复定时提醒(cron)触发时被隐藏的问题,现在以通知卡片形式显示在聊天中。 +- web: 修复重新打开会话后回复末尾仍然缺失的问题。 +- web: 修复排队的媒体消息无法重新载入输入框的问题,并在撤销消息时保留附件。 +- web: 修复窄窗口与手机上输入框工具栏控件被裁切的问题,context ring 在任意宽度下均保持可见。 +- web: 修复字体大小设置,使聊天文本、输入框文本与侧边栏文本均跟随所选字号。(感谢 @justjavac) +- web: 修复输入框输入光标几乎不可见、已完成待办的删除线过于暗淡的问题。 +- web: 修复 Windows 上会话搜索快捷键显示不正确的问题。(感谢 @justjavac) +- 修复 Google Gemini 模型的工具调用,包括 Gemini 3 跨轮次的 thinking signature 往返。 + +### 优化 + +- web: 将 swarm 底部栏替换为单个内联工具卡片,实时展示子 Agent 进度与汇总结果,并使 swarm 进度条在刷新后保持稳定。 +- TUI 在 compaction 后显示摘要,可按 Ctrl+O 显示或隐藏。 +- web: 将 AskUserQuestion 的回答渲染为可读的选项列表并高亮已选项,替代原始 JSON。 +- web: 在会话创建前,于输入框中显示可用的 skills。 +- web: 在移动端设置面板新增「已归档会话」入口,并在归档确认提示中说明可从设置中恢复。 +- web: 在桌面通知中显示 Kimi 图标与更清晰的标题。 +- web: 让 markdown diff 代码块与设计系统对齐:代码文本保持正常文本颜色,由符号与柔和的行背景标识变更,与 `~/diff` 面板一致。 +- web: 避免聊天文本在换行处断字,并渲染代码时不使用字体连字。 +- web: 移除工具调用卡片正文多余的左缩进,使展开内容与标题对齐。 +- AskUserQuestion 的回答现在以问题文本与选项标签的形式回传给模型,而非位置 id,模型无需再将其映射回原选项;每次调用的问题文本须唯一,每个问题的选项标签须唯一,现有客户端仍以选项 id 作答,无需修改。 +- Kimi 模型开启 Thinking 时默认跨轮次保留推理,可设置 `[thinking] keep = "off"` 关闭。 + ## 0.22.3(2026-07-04) ### 修复