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

Co-authored-by: kimi-agent-bot <kimi-agent-bot@users.noreply.github.com>
This commit is contained in:
qer 2026-09-02 15:00:11 +08:00 committed by GitHub
parent 411572e166
commit bec34e17c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 48 additions and 0 deletions

View file

@ -6,6 +6,30 @@ outline: 2
This page documents the changes in each Kimi Code CLI release.
## 0.40.0 (2026-09-02)
### Features
- web: Add a Plugins panel to Settings for browsing the plugin marketplace and installing, enabling, disabling, and removing plugins.
- web: Support activating multiple skills from a single message.
- Add the `kimi session list` command to list sessions from the command line.
- Tower mode (experimental, `KIMI_CODE_EXPERIMENTAL_TOWER=1`): the agent no longer enters tower mode on its own — turn it on with `/tower on` or `/tower <base-branch>`.
- The subagent model setting (`[secondary_model]`) graduates from experimental to stable.
- Block dangerous shell commands such as shutdown, reboot, or rm -rf in Auto mode, and always ask before running them in Manual and YOLO modes; disable the guard with `[permission] dangerous_command_guard = false` or `KIMI_CODE_DANGEROUS_COMMAND_GUARD=false`.
### Polish
- Preserve comments, key order, and formatting in config.toml when configuration values are updated.
- Remove the workspace restriction on the Bash tool's cwd parameter.
- Default the workspace trust prompt selection to "Trust this folder" instead of "Don't trust".
- The `kimi acp` subcommand no longer honors `KIMI_CODE_LEGACY_FLAG`; it always runs on the default agent engine.
- web: Add a code wrap toggle to the diff panel and streamline its header.
### Bug Fixes
- Honor explicit `[experimental]` config entries over the `KIMI_CODE_EXPERIMENTAL_FLAG` master switch, so a flag set to `false` in config.toml stays off; per-feature `KIMI_CODE_EXPERIMENTAL_<NAME>` variables still override both.
- 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.
## 0.39.1 (2026-08-28)
### Bug Fixes

View file

@ -6,6 +6,30 @@ outline: 2
本页记录 Kimi Code CLI 每个版本的变更内容。
## 0.40.02026-09-02
### 新功能
- Web 版设置新增「插件」面板:可浏览插件市场并安装、启停、移除插件。
- 支持在一条消息中同时激活多个技能。
- 新增 `kimi session list` 命令,可在命令行直接列出会话。
- Tower 模式实验性行为调整agent 不再自行进入,需用 `/tower on``/tower <base-branch>` 显式开启。
- 子代理设置(`[secondary_model]`)功能由实验性转为正式。
- 新增危险命令护栏Auto 模式直接拦截 shutdown、reboot、rm -rf 等危险命令Manual 与 YOLO 模式执行前必定询问;可用 `[permission] dangerous_command_guard = false``KIMI_CODE_DANGEROUS_COMMAND_GUARD=false` 关闭。
### 优化
- 更新配置时完整保留 config.toml 的注释、键顺序与格式。
- Bash 工具的 cwd 参数不再限制在工作区内。
- 工作区信任弹窗默认选中「Trust this folder」。
- `kimi acp` 子命令不再识别 `KIMI_CODE_LEGACY_FLAG`,始终运行在默认 agent 引擎。
- Web 版 Diff 面板新增代码折行开关,并精简了面板头部。
### 修复
- 修复实验开关优先级config.toml 中显式设为 `false``[experimental]` 条目现在稳定优先于 `KIMI_CODE_EXPERIMENTAL_FLAG` 总开关(单项 `KIMI_CODE_EXPERIMENTAL_<NAME>` 变量仍覆盖两者)。
- 修复了一些已知问题,并做了若干细节优化。更详细的变更记录见 [GitHub](https://github.com/MoonshotAI/kimi-code/blob/main/apps/kimi-code/CHANGELOG.md)。
## 0.39.12026-08-28
### 修复