Skip to content

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

Merged
Grapedge merged 12 commits into
mainfrom
docs/changelog-sync-2.5.0
Nov 4, 2026
Merged

Grapedge merged 12 commits into
mainfrom
docs/changelog-sync-2.5.0

Conversation

@kimi-agent-bot

@kimi-agent-bot kimi-agent-bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Synced the published 2.5.0 block from apps/kimi-code/CHANGELOG.md at release merge commit 41c341434ae24e45bfe0f2232ec11b80531ac717 into docs/en/release-notes/changelog.md.
  • Translated the new English increment into docs/zh/release-notes/changelog.md, preserving section order and entry counts (9 entries per locale).
  • Applied maintainer review: simplified model/search/secondary-model wording, removed server/task API sections from the public changelog, and kept the upstream pointer inside the catch-all bullet. Reviewer-only fold notes are not included in the docs pages.
  • Used the release tag commit date 2026-11-04 from @moonshot-ai/[email protected].
  • Verified with 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

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained why none is needed above. (N/A — post-release docs maintenance)
  • I have added tests that prove my feature works. (N/A — docs-only sync; docs build passed)
  • The behavior-change table above is complete, and every removed behavior or flipped default is named in the changeset and either has an escape hatch or was explicitly approved by a maintainer in this PR. (N/A — no product behavior change)
  • Ran gen-changesets skill, or this PR needs no changeset. (No changeset — docs sync is out of bundle)
  • Ran gen-docs skill, or this PR needs no doc update. (This PR is the dedicated changelog sync)

@changeset-bot

changeset-bot Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a0f4e86

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T13:09:36.157271Z a0f4e86 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@2ae4601
npx https://pkg.pr.new/@moonshot-ai/kimi-code@2ae4601

commit: 2ae4601

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment thread docs/en/release-notes/changelog.md Outdated

- 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 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 👍 / 👎.

Comment thread docs/en/release-notes/changelog.md Outdated

### 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.

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 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 👍 / 👎.

Comment thread docs/zh/release-notes/changelog.md Outdated

### 新功能

- 支持在 Agent 工作时使用 `/model` 和 `/effort`;已开始调用模型的当前轮次保持原设置,新设置从下一轮生效,选择 Compact and continue 会在当前轮结束后执行。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

已开始调用模型的当前轮次保持原设置,新设置从下一轮生效,选择 Compact and continue 会在当前轮结束后执行。

简化一下,只需要说明设置后从下一轮生效

Comment thread docs/zh/release-notes/changelog.md Outdated
### 优化

- 默认不再构建全局全文搜索索引或后台扫描历史会话;如需启用,请在 `[database]` 中设置 `global_search = true`,或使用 `KIMI_CODE_GLOBAL_SEARCH=1`。
- 移除 `[secondary_model] force`(配置将被忽略并给出警告);只配置 `default_model` 时,所有子 Agent 仍固定使用该模型。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

这句话是什么意思

Comment thread docs/zh/release-notes/changelog.md Outdated

- 默认不再构建全局全文搜索索引或后台扫描历史会话;如需启用,请在 `[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` 切换。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

这句我也没看懂

Comment thread docs/zh/release-notes/changelog.md Outdated

### 其他

- 使用服务端 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` 已移除。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

移除服务端相关的部分,不需要说明。也包括下面的任务列表

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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.

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 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 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment thread docs/en/release-notes/changelog.md Outdated
- 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.

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 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 👍 / 👎.

Comment thread docs/en/release-notes/changelog.md Outdated

- 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.

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 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 👍 / 👎.

Comment thread docs/en/release-notes/changelog.md Outdated
- 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.

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 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 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment thread docs/en/release-notes/changelog.md Outdated
### 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.

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 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 👍 / 👎.

@Grapedge
Grapedge merged commit 8b6a003 into main Nov 4, 2026
3 checks passed
@Grapedge
Grapedge deleted the docs/changelog-sync-2.5.0 branch November 4, 2026 13:05

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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.

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 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.

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 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.

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 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.

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 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.

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 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 👍 / 👎.

7723qqq pushed a commit to 7723qqq/kimi-code that referenced this pull request Nov 5, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants