Repository navigation
ci: release packages - #4645
ci: release packages#4645github-actions[bot] wants to merge 1 commit into
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b9a41cdbdd
ℹ️ 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".
| { | ||
| "name": "@moonshot-ai/kimi-code", | ||
| "version": "2.4.1", | ||
| "version": "2.5.0", |
There was a problem hiding this comment.
Publish the removed server APIs under a major version
This 2.5.0 release contains the removals listed at lines 41, 47, and 51: the legacy WebSocket subscription protocol and several REST endpoints used by external desktop/web clients. An existing client paired with the upgraded CLI server can therefore receive 404s or fail to subscribe, despite the package version advertising only a backward-compatible minor update. Obtain the required approval and use a major bump, or retain a compatibility path for previous-release clients.
AGENTS.md reference: AGENTS.md:L62-L62
Useful? React with 👍 / 👎.
|
|
||
| - [#4643](https://github.com/MoonshotAI/kimi-code/pull/4643) [`42cb675`](https://github.com/MoonshotAI/kimi-code/commit/42cb675304e7c08f14acae59efef90e960f5cc73) Thanks [@pvzheroes125](https://github.com/pvzheroes125)! - Fix cancelling one MCP sign-in attempt interrupting another. | ||
|
|
||
| - [#4470](https://github.com/MoonshotAI/kimi-code/pull/4470) [`8535bd7`](https://github.com/MoonshotAI/kimi-code/commit/8535bd79b8d7a42f1c30221a4dc0fa1933e2e340) Thanks [@wbxl2000](https://github.com/wbxl2000)! - Remove the server's WebSocket `subscribe` / `unsubscribe` frames with their cursor replay and `resync_required`, `GET /sessions/{id}/snapshot`, and the session `last_seq` field; subscribe to sessions with `subscribe_v2` and send it again after reconnecting. `event.session.work_changed` now reaches every connection for every live session. |
There was a problem hiding this comment.
Remove the retired snapshot contract from both API references
Before publishing this removal, update the public references: docs/en/reference/server-api.md:638,659,663,960 and the mirrored Chinese lines still document GET /sessions/{id}/snapshot and last_seq, even though this release explicitly removes them. Desktop/web integrators following the current reference will call a nonexistent endpoint and expect a field that is no longer returned.
AGENTS.md reference: AGENTS.md:L122-L124
Useful? React with 👍 / 👎.
3dc5439 to
db49f1a
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: db49f1ac9b
ℹ️ 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".
|
|
||
| - [#4643](https://github.com/MoonshotAI/kimi-code/pull/4643) [`42cb675`](https://github.com/MoonshotAI/kimi-code/commit/42cb675304e7c08f14acae59efef90e960f5cc73) Thanks [@pvzheroes125](https://github.com/pvzheroes125)! - Fix cancelling one MCP sign-in attempt interrupting another. | ||
|
|
||
| - [#4470](https://github.com/MoonshotAI/kimi-code/pull/4470) [`8535bd7`](https://github.com/MoonshotAI/kimi-code/commit/8535bd79b8d7a42f1c30221a4dc0fa1933e2e340) Thanks [@wbxl2000](https://github.com/wbxl2000)! - Remove the server's WebSocket `subscribe` / `unsubscribe` frames with their cursor replay and `resync_required`, `GET /sessions/{id}/snapshot`, and the session `last_seq` field; subscribe to sessions with `subscribe_v2` and send it again after reconnecting. `event.session.work_changed` now reaches every connection for every live session. |
There was a problem hiding this comment.
Update the quickstart to use subscribe_v2
When users follow the documented minimal server flow, docs/en/reference/server-api.md:107-134 and the mirrored Chinese section still send type: 'subscribe'; this release removes that frame, and the WebSocket handler silently ignores it, so the example never receives the promised prompt events. Update both quickstart examples and their event-flow description to use a valid subscribe_v2 payload before publishing.
Useful? React with 👍 / 👎.
db49f1a to
40bd0eb
Compare
40bd0eb to
efa48d2
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: efa48d224a
ℹ️ 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".
|
|
||
| - [#4643](https://github.com/MoonshotAI/kimi-code/pull/4643) [`42cb675`](https://github.com/MoonshotAI/kimi-code/commit/42cb675304e7c08f14acae59efef90e960f5cc73) Thanks [@pvzheroes125](https://github.com/pvzheroes125)! - Fix cancelling one MCP sign-in attempt interrupting another. | ||
|
|
||
| - [#4470](https://github.com/MoonshotAI/kimi-code/pull/4470) [`8535bd7`](https://github.com/MoonshotAI/kimi-code/commit/8535bd79b8d7a42f1c30221a4dc0fa1933e2e340) Thanks [@wbxl2000](https://github.com/wbxl2000)! - Remove the server's WebSocket `subscribe` / `unsubscribe` frames with their cursor replay and `resync_required`, `GET /sessions/{id}/snapshot`, and the session `last_seq` field; subscribe to sessions with `subscribe_v2` and send it again after reconnecting. `event.session.work_changed` now reaches every connection for every live session. |
There was a problem hiding this comment.
Remove obsolete event replay guarantees from the API docs
This release removes cursor replay, but docs/en/reference/server-api.md:2438,2455 and the mirrored Chinese lines still claim event frames carry seq / epoch / volatile and that durable events are journaled, replayable, and recoverable through a snapshot. The current EventEnvelope contains only type, session_id, timestamp, and payload, and missed global events are not replayed, so desktop/web integrators following the documented recovery algorithm will wait for fields and replay behavior that never arrive. Update both references to distinguish transcript-op catch-up from non-replayable global events.
AGENTS.md reference: AGENTS.md:L122-L124
Useful? React with 👍 / 👎.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release/2026-11-04, this PR will be updated.
Releases
@moonshot-ai/kimi-code@2.5.0
Minor Changes
#4621
1b13934Thanks @Grapedge! - Allow /model and /effort while the agent is working; a turn that has already started calling the model keeps its settings, the switch applies from the next turn, and choosing Compact and continue runs after the current turn ends.#4544
e24e1e1Thanks @sailist! - Add support for forking running sessions and forking from a selected historical turn.#4520
3ed0e68Thanks @liruifengv! - Merge skills from every configured directory in multi-directory projects, with the primary directory taking precedence on name conflicts.#4062
5f3ab5fThanks @7Sageer! - Add creation-time SSH, Docker, and custom-command environments; use--environment <id>and optionally--environment-cwd <path>when creating a session.Patch Changes
#4606
011b1d4Thanks @wbxl2000! - Send each agent's run status, settings, context usage, goal and todo list over the server WebSocket asagent,usage,goalandtodoframes; transcripts and the REST transcript endpoints no longer includemetaortodos.#4540
4b58a0cThanks @RealKai42! - Fix sessions sometimes still appearing in session lists right after being archived.#4543
2d674cfThanks @7Sageer! - Speed up remote file reads, edits, writes, search, and completion.#4525
8019337Thanks @liruifengv! - Improve plugin marketplace interactions.#3733
990580dThanks @gfunc! - Fix 400 "Invalid max_tokens" errors for models imported from a custom registry (api.json) by recording each model's advertised output token limit.#4627
a5724ddThanks @Grapedge! - Show steered messages faded until the agent reads them, including across turns, instead of at full intensity immediately.#4541
3a0b86eThanks @7Sageer! - Fix ACP initialization failing when clients send the first request during startup.#4543
2d674cfThanks @7Sageer! - Fix searches failing on dot-only filenames, completion exceeding its timeout, and false directory warnings.#4600
1401bddThanks @7Sageer! - Fix local file tools in existing desktop sessions after upgrading.#4516
be89803Thanks @RealKai42! - Stop building the global full-text search index by default, soPOST /api/v1/searchreports the index as unavailable and past sessions are no longer scanned in the background; set[database] global_search = trueorKIMI_CODE_GLOBAL_SEARCH=1to turn it back on.#4477
02d2e8fThanks @kimi-agent-bot! - Show backend model error messages verbatim, stop inferring quota from message wording, and require decoded model errors to carry explicit retryability for retry policies.#4643
42cb675Thanks @pvzheroes125! - Fix cancelling one MCP sign-in attempt interrupting another.#4470
8535bd7Thanks @wbxl2000! - Remove the server's WebSocketsubscribe/unsubscribeframes with their cursor replay andresync_required,GET /sessions/{id}/snapshot, and the sessionlast_seqfield; subscribe to sessions withsubscribe_v2and send it again after reconnecting.event.session.work_changednow reaches every connection for every live session.#4532
7cd571aThanks @RealKai42! - Fix model refresh reporting custom registry providers as updated when nothing changed.#4609
fc3b521Thanks @7Sageer! - Stop requiring Edit and prohibiting Bashsedfor incremental file edits.#4535
ebc2a9fThanks @wbxl2000! - Remove the REST task endpoints (GET /sessions/{id}/tasks,GET /sessions/{id}/tasks/{task_id}, and the:cancel/:detachactions); use the WebSocket task frames and thetask.stop/task.backgroundrequests instead.#4418
e3efbb9Thanks @7Sageer! - Remove[secondary_model] force, which is now ignored with a warning: a lonedefault_modelstill pins every subagent to that model.#4606
011b1d4Thanks @wbxl2000! - RemoveGET /sessions/{id}/statusand thestatusfield of the:undoresponse; read the main agent's state from the WebSocketagentandusageframes instead.#4418
e3efbb9Thanks @7Sageer! - Stop offering Agent and AgentSwarm subagents an implicitprimarychoice that ran them on your current model and thinking level, and hide the model choice entirely when[secondary_model]names only one model; list two or more aliases in[secondary_model.models]to choose again, noting a listed main model usesdefault_effortand does not follow/modelswitches.#4526
8a5a430Thanks @pvzheroes125! - Refresh available tools during the current turn after MCP authentication or other tool changes.#4465
89e07b8Thanks @kimi-agent-bot! - Show background task notifications while their resulting turn is running.#4659
b5f14f7Thanks @wbxl2000! - Fix the first side chat answer sometimes showing the main conversation's answer or disappearing.#4658
e9de788Thanks @wbxl2000! - Fix side chat history dropping or reordering earlier turns after the server reloads a session from disk.#4507
5fc3de8Thanks @JochenYang! - Keep long-running subagent cards responsive as the streamed output grows.#4554
aeeaba8Thanks @YD-233! - Show the invalid workspace directory path instead of silently exiting during TUI startup.#4535
ebc2a9fThanks @wbxl2000! - Stream a task's output over the server's WebSocket withtask.watch/task.unwatch, and stop a task or move it to the background withtask.stop/task.background.#4535
ebc2a9fThanks @wbxl2000! - Send each agent's running tasks over the server WebSocket as atask.listframe followed by ataskframe on every change; transcripts and the REST transcript endpoints no longer include tasks.#4606
011b1d4Thanks @wbxl2000! - Fix the todo list not reverting after undo.#4524
47a518eThanks @RealKai42! - Remind the agent to update its todo list after 10 steps without an update instead of 5, and tell it that no update is needed while the list still matches its progress.#4515
df7efe9Thanks @liruifengv! - Fix @ file mentions to include files from additional workspace directories.#4535
ebc2a9fThanks @wbxl2000! - web: Improved interactions and fixed known bugs.#4649
75f35b0Thanks @7Sageer! - Show the remote working directory in the welcome panel and the remote repository's git status in the footer when using a remote environment, update the web and desktop pull request badge right after switching branches, never run a git or gh executable located inside the opened folder when reading git status, and stop leaving a "Ready." line in the transcript after startup.#4517
7d72ae3Thanks @sailist! - Set [workspace] require_trust = false to skip workspace trust prompts.kimi-code@0.9.0
Minor Changes
cc6b98eThanks @Grapedge! - Automatically refresh the VS Code model list on startup and every six hours.Patch Changes
8019337]:@moonshot-ai/agent-core-v2@0.6.0
Minor Changes
e2ad1dcThanks @liruifengv! - Allow file listings to expose symlinked directories and optionally follow symlinks outside the workspace.Patch Changes
#4527
1853daeThanks @liruifengv! - Add batched, folder-scoped Git and pull request queries for multi-root workspace panels.#4525
8019337Thanks @liruifengv! - Support digest-verified marketplace plugin installation and preserve OAuth credentials across configuration changes.@moonshot-ai/kap-server@0.3.0
Minor Changes
e2ad1dcThanks @liruifengv! - Allow file listings to expose symlinked directories and optionally follow symlinks outside the workspace.Patch Changes
#4527
1853daeThanks @liruifengv! - Add batched, folder-scoped Git and pull request queries for multi-root workspace panels.#4525
8019337Thanks @liruifengv! - Bind marketplace plugin installs to the displayed archive digest and declare catalog errors consistently.Updated dependencies [
e2ad1dc,1853dae,8019337]:@moonshot-ai/kimi-code-sdk@0.23.0
Minor Changes
8019337Thanks @liruifengv! - Add structured plugin marketplace installs and marketplace helpers to the SDK.@moonshot-ai/acp-server@0.0.3
Patch Changes
e2ad1dc,1853dae,8019337]:@moonshot-ai/klient@0.1.4
Patch Changes
e2ad1dc,1853dae,8019337]:@moonshot-ai/migration-legacy@0.1.18
Patch Changes
e2ad1dc,1853dae,8019337]:@moonshot-ai/kimi-code-product@0.0.3
Patch Changes
e2ad1dc,1853dae,8019337]:@moonshot-ai/remote-control@0.0.3
Patch Changes
e2ad1dc,1853dae,8019337]: