Repository navigation
docs(changelog): sync 2.5.0 from apps/kimi-code/CHANGELOG.md - #4673
Conversation
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
commit: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2f0b6cdd54
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| - 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. |
There was a problem hiding this comment.
Keep the upstream pointer inside the catch-all bullet
When low-signal entries are folded, the changelog sync format requires the GitHub pointer to finish the catch-all list item; here, and identically in the Chinese page, it is rendered as a separate paragraph. This detaches the link from the placeholder it explains and breaks the prescribed generated structure, so append the pointer sentence to the catch-all bullet in both locales.
AGENTS.md reference: docs/AGENTS.md:L18-L18
Useful? React with 👍 / 👎.
|
|
||
| ### Other | ||
|
|
||
| - Migrate session subscriptions and state reads in server API clients: use `subscribe_v2` and send it again after reconnecting, and read state from WebSocket `agent`, `usage`, `goal`, and `todo` frames; the old `subscribe` / `unsubscribe`, `GET /sessions/{id}/snapshot`, `GET /sessions/{id}/status`, `status` in the `:undo` response, and transcript `meta` / `todos` / `last_seq` have been removed. |
There was a problem hiding this comment.
Name the replacement for the removed unsubscribe frame
Server API clients that used unsubscribe are told that it was removed, but this migration instruction names only subscribe_v2; the implemented replacement is unsubscribe_v2, as documented in docs/en/reference/server-api.md, while the WebSocket handler silently ignores the old frame. A client following this release note therefore has no stated way to migrate its unsubscribe calls, so add unsubscribe_v2 here and in the mirrored Chinese entry.
AGENTS.md reference: AGENTS.md:L122-L124
Useful? React with 👍 / 👎.
|
|
||
| ### 新功能 | ||
|
|
||
| - 支持在 Agent 工作时使用 `/model` 和 `/effort`;已开始调用模型的当前轮次保持原设置,新设置从下一轮生效,选择 Compact and continue 会在当前轮结束后执行。 |
There was a problem hiding this comment.
已开始调用模型的当前轮次保持原设置,新设置从下一轮生效,选择 Compact and continue 会在当前轮结束后执行。
简化一下,只需要说明设置后从下一轮生效
| ### 优化 | ||
|
|
||
| - 默认不再构建全局全文搜索索引或后台扫描历史会话;如需启用,请在 `[database]` 中设置 `global_search = true`,或使用 `KIMI_CODE_GLOBAL_SEARCH=1`。 | ||
| - 移除 `[secondary_model] force`(配置将被忽略并给出警告);只配置 `default_model` 时,所有子 Agent 仍固定使用该模型。 |
|
|
||
| - 默认不再构建全局全文搜索索引或后台扫描历史会话;如需启用,请在 `[database]` 中设置 `global_search = true`,或使用 `KIMI_CODE_GLOBAL_SEARCH=1`。 | ||
| - 移除 `[secondary_model] force`(配置将被忽略并给出警告);只配置 `default_model` 时,所有子 Agent 仍固定使用该模型。 | ||
| - Agent 和 AgentSwarm 不再提供隐式 `primary` 模型选项,只配置一个 secondary model 时隐藏选择;在 `[secondary_model.models]` 配置两个及以上别名可恢复选择,其中主模型使用 `default_effort` 且不跟随 `/model` 切换。 |
|
|
||
| ### 其他 | ||
|
|
||
| - 使用服务端 API 的客户端需迁移会话订阅与状态读取:订阅改用 `subscribe_v2` 并在重连后重新发送,状态改读 WebSocket `agent` / `usage` / `goal` / `todo` 帧;旧 `subscribe` / `unsubscribe`、`GET /sessions/{id}/snapshot`、`GET /sessions/{id}/status`、`:undo` 响应的 `status`,以及 transcript 的 `meta` / `todos` / `last_seq` 已移除。 |
There was a problem hiding this comment.
移除服务端相关的部分,不需要说明。也包括下面的任务列表
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b2cab59961
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| ### Bug Fixes | ||
|
|
||
| - 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. |
There was a problem hiding this comment.
Publish the server API migrations
The catch-all is now the only release-note coverage for several breaking 2.5.0 server changes: .changeset/merge-ws-session-subscriptions.md, .changeset/remove-rest-task-api.md, and .changeset/remove-session-status-endpoint.md remove frames and endpoints used by external clients and prescribe migrations to subscribe_v2/unsubscribe_v2, WebSocket task requests, and agent/usage frames. Clients relying on the docs changelog therefore receive no actionable warning before their existing calls stop working. Fresh evidence relative to the earlier review comment is that the incomplete subscription-migration bullet has now been removed entirely rather than corrected; restore explicit migration entries in both locales.
AGENTS.md reference: AGENTS.md:L122-L124
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 10e56156ed
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| - Create a branch session from a running session or a selected historical turn. | ||
| - Use skills from every configured directory in multi-directory projects; the primary directory wins on name conflicts. | ||
| - Choose an SSH, Docker, or custom-command environment when creating a session. | ||
| - After confirming a workspace is trusted, set `[workspace] require_trust = false` to skip trust prompts. |
There was a problem hiding this comment.
State that the trust switch applies to every workspace
When a user confirms one workspace and follows this instruction, the user-level [workspace] require_trust = false setting does not merely suppress prompts for that workspace: it treats every future workspace as trusted and loads project MCP servers and other trust-gated configuration without confirmation (docs/en/configuration/config-files.md:490-502). The current wording therefore presents a global security-boundary bypass as a per-workspace follow-up; both locales should warn that this is appropriate only when every workspace is trusted.
Useful? React with 👍 / 👎.
|
|
||
| - Global full-text search is off by default; set `[database] global_search = true` to turn it on when needed. | ||
| - Set only `default_model` under `[secondary_model]` to use one model for all subagents; the old `force` option is no longer supported. | ||
| - Use `/secondary-model` to choose subagent models separately; if only one is configured, subagents use it automatically. |
There was a problem hiding this comment.
Name the lost primary subagent choice
For users who already configure a [secondary_model] pool, this release removes the implicit primary choice that ran a subagent with the main agent's current model and thinking level; pool-bound subagents also stop following /model switches. This replacement text only advertises /secondary-model, so those users receive no warning that their existing configuration will silently select a different model or effort after upgrading. State the lost behavior and the migration of explicitly listing the main-model alias and configuring its effort in both locales.
AGENTS.md reference: AGENTS.md:L114-L116
Useful? React with 👍 / 👎.
| - Use `/model` and `/effort` while the agent is working to adjust the model and reasoning effort; changes apply from the next turn. | ||
| - Create a branch session from a running session or a selected historical turn. | ||
| - Use skills from every configured directory in multi-directory projects; the primary directory wins on name conflicts. | ||
| - Choose an SSH, Docker, or custom-command environment when creating a session. |
There was a problem hiding this comment.
Restore the hidden environment invocation
For CLI users without a default remote environment, the creation-time selector is --environment <id> with optional --environment-cwd <path>, and both options are deliberately hidden from kimi --help in apps/kimi-code/src/cli/commands.ts:131-141. Replacing the upstream entry's invocation with the generic word "Choose" and providing no guide link leaves those users unable to discover how to use the announced feature; include the flags or link the remote-environment guide in both locales.
AGENTS.md reference: docs/AGENTS.md:L34-L34
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0d77b107f0
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| ### Features | ||
|
|
||
| - Use `/model` and `/effort` while the agent is working. If the current turn has already started a model request, changes apply from the next turn; Compact and continue runs after the current turn ends. | ||
| - In VS Code, fork from a completed assistant response; if another response is still running, confirming the fork stops it before creating the branch. |
There was a problem hiding this comment.
Do not claim that forking stops the running turn
When a user forks an earlier completed response while a later turn is active, the 2.5 implementation keeps the source turn running: the bundled Web handler calls forkSession with the selected turnIndex without interrupting, and the server contract explicitly says the source keeps running while active output is excluded from the fork. This note therefore gives Kimi Code for VS Code users the opposite expectation; describe the snapshot boundary instead and correct the mirrored Chinese entry.
AGENTS.md reference: docs/AGENTS.md:L18-L21
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a0f4e86526
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| ### Polish | ||
|
|
||
| - Web cross-session full-text search is off by default; set `[database] global_search = true` to enable it. | ||
| - With only `default_model` configured, newly spawned Agent and AgentSwarm subagents use that model; the legacy `force` key is ignored with a warning. |
There was a problem hiding this comment.
Qualify the secondary-model default key
When a user has only the top-level default_model and no [secondary_model], this sentence says new subagents are pinned to that model, but bindSubagentModel inherits the caller's current model when the section is absent (packages/agent-core-v2/src/session/subagent/configSection.ts:275-285). Pinning applies specifically to [secondary_model].default_model; qualify the key here and in the Chinese mirror so users who switch with /model do not receive the opposite expectation.
Useful? React with 👍 / 👎.
|
|
||
| ### Bug Fixes | ||
|
|
||
| - 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. |
There was a problem hiding this comment.
Restore the session-forking feature announcement
For Kimi Code for VS Code users, .changeset/fork-running-session-turns.md announces the new ability to fork a running session or fork from a selected historical turn, but this release block folds the feature into the generic catch-all and never names it. Fresh evidence relative to the earlier forking comment is that the inaccurate bullet has now been removed entirely rather than corrected; restore an accurate feature entry in both locales so users can discover the capability.
AGENTS.md reference: docs/AGENTS.md:L270-L277
Useful? React with 👍 / 👎.
|
|
||
| ### Features | ||
|
|
||
| - Use `/model` and `/effort` while the agent is working; changes apply from the next turn. |
There was a problem hiding this comment.
Preserve the current-turn switching case
When /model or /effort is entered after a turn starts but before its first model request, the switch applies to that current turn, not the next one; this is explicitly pinned by model-switch-confirm.test.ts:564-595 and kimi-tui-message-flow.test.ts:1868-1959. The unconditional wording therefore gives users the wrong model expectation for prompts still waiting to issue their first request; retain the upstream condition that only a turn which has already started a request keeps its old settings, in both locales.
AGENTS.md reference: docs/AGENTS.md:L18-L21
Useful? React with 👍 / 👎.
|
|
||
| ### Polish | ||
|
|
||
| - Web cross-session full-text search is off by default; set `[database] global_search = true` to enable it. |
There was a problem hiding this comment.
Name the disabled server search endpoint
For external server API clients that call the documented POST /api/v1/search, this default flip makes the endpoint return index_unavailable until global search is enabled (packages/kap-server/src/search/searchService.ts:260-265), but describing the change only as a Web search setting does not warn those clients that their request now stops working. State that the global index and API endpoint are disabled by default, along with the existing configuration escape hatch, in both locales.
AGENTS.md reference: AGENTS.md:L122-L124
Useful? React with 👍 / 👎.
|
|
||
| ### Bug Fixes | ||
|
|
||
| - 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. |
There was a problem hiding this comment.
Land the 2.5 upstream changelog before linking it
At the reviewed commit, apps/kimi-code/CHANGELOG.md still begins with 2.4.1, so the GitHub main URL cannot provide any of the 2.5.0 technical entries that this catch-all promises. Because every folded fix and refinement is recoverable only through this pointer, publish the generated 2.5.0 upstream changelog on main before this page or sync the page only after that source exists; otherwise readers following the link land on an unrelated older release.
AGENTS.md reference: docs/AGENTS.md:L16-L21
Useful? React with 👍 / 👎.
Ports the docs half of upstream MoonshotAI/kimi-code 8b6a003 (MoonshotAI#4673): the 2.5.0 section from the upstream release notes lands in both changelogs, en and zh, word for word. Every feature the section names is in this tree - busy /model and /effort (MoonshotAI#4621), merged project-level skills (MoonshotAI#4520), remote sessions in SSH, Docker and custom-command environments (MoonshotAI#4062), [workspace] require_trust (MoonshotAI#4517), web search off by default (MoonshotAI#4516), and the subagent model pool (MoonshotAI#4418) - so the notes describe what the fork actually does. Deliberately not touched: apps/kimi-code/CHANGELOG.md still tops out at 2.4.1 and package.json still says 2.4.1. That file is generated by `changeset version`, this tree has 377 pending changesets, and AGENTS.md forbids running version or publish from this repository, so the entry is written on the docs side only. Whoever next cuts a release here should reconcile this section with what changeset version generates rather than re-deriving it by hand.
Requirement or Bug
N/A — post-release docs maintenance. The docs-site changelog is behind the published CLI 2.5.0 release.
Bug Reproduction Steps
N/A — docs-only changelog sync.
Root Cause
N/A — routine post-release docs synchronization from the package changelog.
Code Changes
2.5.0block fromapps/kimi-code/CHANGELOG.mdat release merge commit41c341434ae24e45bfe0f2232ec11b80531ac717intodocs/en/release-notes/changelog.md.docs/zh/release-notes/changelog.md, preserving section order and entry counts (9 entries per locale).2026-11-04from@moonshot-ai/[email protected].pnpm --filter kimi-code-docs run build.Behavior Changes and Affected Users
Docs-only change: adds the CLI 2.5.0 release notes to the English and Chinese documentation sites. No product runtime behavior changes and no changeset required.
Checklist
gen-changesetsskill, or this PR needs no changeset. (No changeset — docs sync is out of bundle)gen-docsskill, or this PR needs no doc update. (This PR is the dedicated changelog sync)