From 315f7cb372ce0cfd52d9021d95dac7e9202c0865 Mon Sep 17 00:00:00 2001 From: kimi-agent-bot Date: Wed, 2 Sep 2026 14:25:13 +0800 Subject: [PATCH] docs(changelog): sync 0.40.0 from apps/kimi-code/CHANGELOG.md --- docs/en/release-notes/changelog.md | 24 ++++++++++++++++++++++++ docs/zh/release-notes/changelog.md | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/docs/en/release-notes/changelog.md b/docs/en/release-notes/changelog.md index 909dbe956c9..eb246a1d9fb 100644 --- a/docs/en/release-notes/changelog.md +++ b/docs/en/release-notes/changelog.md @@ -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 `. +- 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_` 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 diff --git a/docs/zh/release-notes/changelog.md b/docs/zh/release-notes/changelog.md index 3a7f1a26005..8dbd7cf71ac 100644 --- a/docs/zh/release-notes/changelog.md +++ b/docs/zh/release-notes/changelog.md @@ -6,6 +6,30 @@ outline: 2 本页记录 Kimi Code CLI 每个版本的变更内容。 +## 0.40.0(2026-09-02) + +### 新功能 + +- Web 版设置新增「插件」面板:可浏览插件市场并安装、启停、移除插件。 +- 支持在一条消息中同时激活多个技能。 +- 新增 `kimi session list` 命令,可在命令行直接列出会话。 +- Tower 模式(实验性)行为调整:agent 不再自行进入,需用 `/tower on` 或 `/tower ` 显式开启。 +- 子代理设置(`[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_` 变量仍覆盖两者)。 +- 修复了一些已知问题,并做了若干细节优化。更详细的变更记录见 [GitHub](https://github.com/MoonshotAI/kimi-code/blob/main/apps/kimi-code/CHANGELOG.md)。 + ## 0.39.1(2026-08-28) ### 修复