Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions docs/en/release-notes/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,35 @@ outline: 2

This page documents the changes in each Kimi Code CLI release.

## 0.41.0 (2026-09-04)

### Features

- web: Add tower multi-agent collaboration mode (experimental), enabled via the `/tower` command or the composer plus menu; `/tower` supports specifying a base branch (e.g. `/tower add-new-feature`).
- web: Add selection annotation — select text in messages, file previews, the diff and per-turn changes panels, or the terminal to add a comment or quote it into the chat.
- CLI: Add a session rating prompt that invites you to rate the session at appropriate times above the input box.

### Polish

- Auto permission mode no longer blocks dangerous commands and commands that cannot be statically analyzed.
- Remind the model of its context budget before automatic compaction, and after compaction point it at the session's event log for exact details.
- web: Rename the three permission modes to Always Ask / Ask When Needed / Never Ask and update their descriptions; switching to Ask When Needed or Never Ask permission mode now warns that files may be modified or deleted directly in that mode.
- web: Esc no longer closes the right detail panel.
- web: Restyle Bash commands in the right-side panel in terminal style.
- Deliver background question answers to the agent directly instead of via a saved output file.
- Subagent final messages under 200 characters are no longer bounced back for expansion.

### Bug Fixes

- Fix print mode (`kimi -p`) losing session records when the run exits on an error or a termination signal.
- Fix print mode (`kimi -p`) ignoring the `KIMI_DISABLE_TELEMETRY` environment variable.
- Tower mode (experimental): fix tower mode never starting when enabled through `[experimental] tower = true` in config.toml instead of the environment variable, and make `/tower` work in directories that are not git repositories; enablement errors now name the actual blocker.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Warn that /tower commits every existing file

When a user runs /tower in a populated non-Git directory, the 0.41 implementation runs git init and commits every present file; the upstream release entry at apps/kimi-code/CHANGELOG.md:67 explicitly documents this behavior. Saying only that /tower now works there leaves users liable to commit .env credentials, large binaries, or generated files without warning, so preserve the initialization and snapshot caveat in both locales.

AGENTS.md reference: docs/AGENTS.md:L18-L21

Useful? React with 👍 / 👎.

- Fix background questions being cancelled as soon as the agent finishes its turn.
- Fix resuming a subagent by its agent id after the session is reopened in a new process; the resumed subagent follows the current permission mode and is matched by its own profile in permission rules.
- web: Fix per-turn file change previews showing added/removed lines that never existed and inaccurate line counts when the same file is edited multiple times in one turn; change cards now show only exact line statistics.
- web: Fix the default thinking effort in settings not being settable to the highest level (Max).
- Fix several known issues and make various refinements. See the [changelog on GitHub](https://github.com/MoonshotAI/kimi-code/blob/main/apps/kimi-code/CHANGELOG.md) for more technical entries.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore the unconditional file-history change

For users who left turn-level file history at its default-off state or explicitly disabled KIMI_CODE_EXPERIMENTAL_FILE_HISTORY, 0.41 starts recording file snapshots unconditionally and removes that flag, as stated in apps/kimi-code/CHANGELOG.md:9. Folding this behavior into the catch-all gives no notice that upgrades begin persisting copies of edited files and that the opt-out no longer works; retain an explicit entry and its Chinese translation.

AGENTS.md reference: docs/AGENTS.md:L18-L21

Useful? React with 👍 / 👎.


## 0.40.1 (2026-09-02)

### Bug Fixes
Expand Down
29 changes: 29 additions & 0 deletions docs/zh/release-notes/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,35 @@ outline: 2

本页记录 Kimi Code CLI 每个版本的变更内容。

## 0.41.0(2026-09-04)

### 新功能

- Web 版新增 tower 多智能体协作模式(实验功能),可通过 `/tower` 命令或输入框加号菜单开启,`/tower <base-branch>` 可指定基准分支。
- Web 版新增划词标注:在消息、文件预览、diff 与每轮改动面板或终端中选中文字,即可添加评论或引用到对话。
- CLI 中新增会话评分提示,适时在输入框上方邀请为本次会话打分。

### 优化

- 自动权限模式不再拦截危险命令和无法静态分析的命令。
- 自动压缩前提醒模型关注上下文预算,压缩后指引其查阅会话事件日志获取精确细节。
- Web 版三档权限模式更名为「始终询问 / 必要时询问 / 完全自动」并更新描述;切换到「必要时询问」或「完全自动」权限模式后,提示该模式下文件可能被直接修改或删除。
- Web 版 Esc 不再关闭右侧详情面板。
- Web 版右侧面板中的 Bash 命令改为终端样式。
- 后台提问的回答直接送达 Agent,不再经输出文件中转。
- 子 Agent 的最终回复较短(200 字符以内)时不再被要求扩写。

### 修复

- 修复 `kimi -p` 在出错或收到终止信号退出时丢失会话记录的问题。
- 修复 `kimi -p` 忽略 `KIMI_DISABLE_TELEMETRY` 环境变量的问题。
- 修复 tower 模式(实验)在 config.toml 中通过 `[experimental] tower = true` 启用时不生效的问题;`/tower` 现可在非 git 仓库目录使用;启用失败时报错会指明具体原因。
- 修复后台提问在 Agent 回合结束即被取消的问题。
- 修复会话在新进程重开后无法按 agent id 恢复子 Agent 的问题;恢复的子 Agent 遵循当前权限模式。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Translate the resumed-agent permission-rule behavior

For Chinese users who resume a subagent after reopening a session and rely on profile-scoped permission rules, this translation omits the English entry's statement that the resumed subagent is matched by its own profile. That behavior is a separate part of the fix and affects which permission rules apply, so translate it rather than reducing the entry to only inheriting the current permission mode.

AGENTS.md reference: docs/AGENTS.md:L18-L21

Useful? React with 👍 / 👎.

- 修复一轮中多次编辑同一文件时,每轮改动预览出现从未真实存在的增删行且行数统计不准的问题;改动卡片现只展示精确统计。
- 修复设置中默认思考强度无法设为最高档(Max)的问题。
- 修复了一些已知问题,并做了若干细节优化。更详细的变更记录见 [GitHub](https://github.com/MoonshotAI/kimi-code/blob/main/apps/kimi-code/CHANGELOG.md)。

## 0.40.1(2026-09-02)

### 修复
Expand Down
Loading