Repository navigation
ci: release packages - #5163
ci: release packages#5163
Conversation
Codex Review Summary: ✅ CompletedThis 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. |
988d204 to
e5c0285
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e5c02858d0
ℹ️ 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".
|
|
||
| ### Patch Changes | ||
|
|
||
| - [#5165](https://github.com/MoonshotAI/kimi-code/pull/5165) [`170c729`](https://github.com/MoonshotAI/kimi-code/commit/170c729e5e83472eea276458cf7a6c65489b57a3) Thanks [@sailist](https://github.com/sailist)! - Fix turn-specific fork failures after restoring sessions with in-turn steering. |
There was a problem hiding this comment.
Include the bundled Web UI fix in the CLI changelog
The kimi web users also receive #5161 in this release: the CLI prebuild runs apps/kimi-code/scripts/sync-web-dist.mjs, which builds the desktop renderer's web variant and copies it into the CLI package served by the web command. However, the 2.7.1 changelog lists only #5165, and this commit consumes first-prompt-project.md, making the omission permanent. Add the first-prompt fix to the CLI release notes so each affected product records its user-visible change.
AGENTS.md reference: AGENTS.md:L168-L169
Useful? React with 👍 / 👎.
| "name": "@moonshot-ai/kimi-code", | ||
| "path": "apps/kimi-code", | ||
| "version": "2.7.0", | ||
| "version": "2.7.1", | ||
| "private": false |
There was a problem hiding this comment.
Release the restored-fork fix to SDK and VS Code users
For users who fork a restored session containing in-turn steering, #5165 also affects the public SDK and VS Code extension: KimiHarness.forkSession reaches the changed agent-core-v2 lifecycle code, and apps/vscode/src/handlers/session.handler.ts calls that API for its turn-specific Fork button. This plan ends after Desktop and CLI, leaving SDK 0.23.2 and VS Code 0.9.0 unchanged; the VS Code publish workflow explicitly skips unchanged versions, so both user groups remain on the broken implementation even after this release. Include @moonshot-ai/kimi-code-sdk and kimi-code in the release changesets.
AGENTS.md reference: AGENTS.md:L168-L169
Useful? React with 👍 / 👎.
e5c0285 to
168a9e4
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 168a9e40b1
ℹ️ 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".
| "web-add-workspace-mkdir.md" | ||
| "first-prompt-project.md", | ||
| "fix-fork-restored-steers.md", | ||
| "route-ajv-diagnostics.md" |
There was a problem hiding this comment.
Add the AJV fix to the CLI release notes
When this plan publishes CLI 2.7.1, consuming route-ajv-diagnostics.md also ships #5168 because the CLI build bundles the current @moonshot-ai/core; however, apps/kimi-code/CHANGELOG.md lists only #5165. Deleting the source changeset here makes the missing TUI fix permanent in the npm and native release notes, so add a CLI product entry before consuming it.
AGENTS.md reference: AGENTS.md:L168-L169
Useful? React with 👍 / 👎.
85305f6 to
df7465a
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: df7465a153
ℹ️ 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-fork-restored-steers.md", | ||
| "fix-shared-uuid-generation.md", | ||
| "fix-web-uuid-secure-context.md", | ||
| "olive-queues-wait.md", |
There was a problem hiding this comment.
Publish the loop-lifecycle library changes
Consuming olive-queues-wait.md as a CLI-only changeset omits the source changes made by #5166 to @moonshot-ai/core, @moonshot-ai/agent-core-v2, @moonshot-ai/klient, and @moonshot-ai/kimi-code-sdk, including the new loop.drained/loop.idle events and SDK capability flag. Consequently, three libraries keep their old versions and changelogs, while Core 0.1.1 ships the new lifecycle contract without recording it. Add technical changesets for each changed library before consuming this plan. .agents/skills/gen-changesets/SKILL.mdL22-L25
Useful? React with 👍 / 👎.
df7465a to
12bb914
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 12bb914f39
ℹ️ 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/app-components", | ||
| "path": "packages/app-components", | ||
| "version": "0.0.1", | ||
| "private": true |
There was a problem hiding this comment.
Remove private app-layer packages from the release plan
This release versions @moonshot-ai/app-components and, immediately below, @moonshot-ai/app-composer, while both are private app-layer packages; this creates changelogs and release-plan entries for packages that are not shipped independently. Remove both package bumps/changelogs and record the user-visible UUID fix only against the affected products, as required for app-* UI layers. .agents/skills/gen-changesets/SKILL.mdL28-L28
Useful? React with 👍 / 👎.
12bb914 to
eb080a6
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eb080a6719
ℹ️ 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".
|
|
||
| - [#5173](https://github.com/MoonshotAI/kimi-code/pull/5173) [`7b20daf`](https://github.com/MoonshotAI/kimi-code/commit/7b20daf7ce8c734ad6150c5f56a9c107e0ecb44f) Thanks [@kimi-agent-bot](https://github.com/kimi-agent-bot)! - Web: Fix the input composer disappearing when accessed over insecure HTTP. | ||
|
|
||
| - [#5166](https://github.com/MoonshotAI/kimi-code/pull/5166) [`f0ea8ac`](https://github.com/MoonshotAI/kimi-code/commit/f0ea8ac1c02a3b37586d24c77c518c730a9afb2c) Thanks [@sailist](https://github.com/sailist)! - Keep queued prompts pending until background notification turns finish. |
There was a problem hiding this comment.
Add the folder-picker change to the CLI release
For browser Web users editing a workspace, the desktop bridge is unavailable, so pickWorkspaceDirectoryWithFallback opens the changed multi-select AddWorkspaceDialog; the CLI prebuild bundles this same renderer. Consuming simplify-folder-picker-actions.md while listing #5174 only in the Desktop changelog permanently omits the merged primary-button behavior from the CLI 2.7.1 release notes, so add a CLI product entry as well.
AGENTS.md reference: apps/kimi-code/AGENTS.md:L70-L73
Useful? React with 👍 / 👎.
|
|
||
| ### Patch Changes | ||
|
|
||
| - [#5176](https://github.com/MoonshotAI/kimi-code/pull/5176) [`07e6120`](https://github.com/MoonshotAI/kimi-code/commit/07e61204e5c08509b7957f0c473c981d0eb6865e) Thanks [@wbxl2000](https://github.com/wbxl2000)! - `POST /api/v1/sessions/{session_id}:wait` replies that a session is settled only after the records it wrote so far are on disk, so a server that crashes right after the reply restarts with the same turns. |
There was a problem hiding this comment.
Add the :wait durability fix to the CLI changelog
For kimi web --json callers using POST /api/v1/sessions/{session_id}:wait, CLI 2.7.1 now bundles #5176's stronger on-disk durability guarantee, but the only release note is under the private @moonshot-ai/kap-server package. Consuming wait-settled-on-disk.md here therefore leaves npm and native CLI users without a product changelog entry for the public KAP behavior they receive; add a CLI changeset before versioning.
AGENTS.md reference: AGENTS.md:L168-L169
Useful? React with 👍 / 👎.
* fix(core): add Claude 5 output token ceilings (#5096) * fix(core): add Claude 5 output token ceilings * chore: add Claude 5 output ceiling changeset * fix(markdown): keep table actions inside clipped containers (#5098) * fix(markdown): keep table actions inside clipped containers * fix(markdown): observe table action clipping ancestors --------- Co-authored-by: kimi-agent-bot <[email protected]> * fix(hosts): keep project lists usable with SSH hosts (#5102) * ci: release packages (#5094) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: preserve first prompt through project creation (#5161) Co-authored-by: kimi-agent-bot <[email protected]> * fix(agent-core-v2): align fork slicing with restored turn ids (#5165) * fix(agent-core-v2): align fork slicing with restored turn ids * chore: add restored fork fix changeset * fix(core): prevent AJV diagnostics from polluting TUI input (#5168) * refactor(core): route AJV logs through utils logger * chore(core): add AJV logger changeset * chore(core): clarify AJV logger changeset * fix: support UUID generation in insecure browser contexts (#5173) * fix: support UUID generation in insecure browser contexts * chore: update pnpm deps hash * fix: resolve crypto bindings in UUID lint rule --------- Co-authored-by: kimi-agent-bot <[email protected]> * fix(client): keep draft thinking effort after sending (#5170) * fix(client): keep draft thinking effort after sending * chore: add cli changeset for draft thinking fix * test(client): use function stub for websocket in thinking test * fix(client): preserve thinking effort during model normalization * fix(client): reconcile profile updates and model fallbacks * fix(client): scope draft thinking preservation * fix(tui): defer queued prompts until the loop drains (#5166) * fix(tui): defer queued prompts until the loop drains - add core and v2 drained/idle lifecycle events - consume reminder-only queues without starting a model turn - gate TUI queue dispatch and completion notifications on lifecycle state - document notification-handoff queue behavior and add a CLI patch changeset * fix(tui): close loop lifecycle races - emit idle only after the current macro is revalidated - keep queued input pending through compaction and delayed dispatch - reject stale idle after new work starts * fix(loop): correlate lifecycle events by generation - track macro generations in the core and v2 loop state - replace TUI macro inference with event-generation correlation - preserve compaction guards for queued dispatch * fix(desktop): simplify multi-select folder picker actions (#5174) * fix(kap-server): report :wait settled only after the session is on disk (#5176) :wait settled as soon as the turn left the in-memory activity view, but the engine writes wire records through a batched log that flushes in a later task. A server killed right after :wait reported idle could lose the end of the finished turn. Before it replies with a settled session, :wait now flushes the wire of every agent in the session and drains pending metadata writes. A failed write surfaces as an error instead of a settled reply. The KAP guide states the guarantee. A new test in sessions.test.ts slows down the disk write of the turn end and checks that the record is on disk when :wait returns. (cherry picked from commit fc33c6d) Co-authored-by: kai <[email protected]> * ci: release packages (#5163) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(client): keep config-derived draft thinking effort after sending (#5191) Co-authored-by: liruifengv <[email protected]> * ci: release packages (#5192) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(kap-server): resume sessions with unavailable models (#5212) * fix(kap-server): resume sessions with unavailable models * fix: let users replace unavailable session models * fix: scope unavailable model recovery state --------- Co-authored-by: kimi-agent-bot <[email protected]> * fix(plugins): detect MCP OAuth with targeted probes (#5197) * fix(plugins): detect MCP OAuth with targeted probes * fix(plugins): use the MCP inspect route * fix(plugins): preserve OAuth requirements across inspection and disconnect * fix(chat): show pending MCP browser authorization (#5246) * fix(chat): show pending MCP browser authorization * fix(chat): resolve MCP authorization lint findings * fix(chat): preserve MCP authorization failure details * fix(mcp): preserve cancellation during OAuth reconnect * fix(desktop): cache feedback form per host and let reply reasons wrap (#5303) * ci: release packages (#5232) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * test: port removed-model recovery coverage to testkit * test: dedupe anthropic output ceiling cases --------- Co-authored-by: Haozhe <[email protected]> Co-authored-by: kimi-agent-bot <[email protected]> Co-authored-by: 7Sageer <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: kimi-agent-bot <[email protected]> Co-authored-by: liruifengv <[email protected]> Co-authored-by: qer <[email protected]> Co-authored-by: kai <[email protected]> Co-authored-by: Luyu Cheng <[email protected]> Co-authored-by: grapedge <[email protected]>
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-20, this PR will be updated.
Releases
@moonshot-ai/[email protected]
Patch Changes
#5170
c2bec3fThanks @liruifengv! - Web: Fix draft thinking effort selections reverting to the model default after sending.#5165
170c729Thanks @sailist! - Fix turn-specific fork failures after restoring sessions with in-turn steering.#5173
7b20dafThanks @kimi-agent-bot! - Web: Fix the input composer disappearing when accessed over insecure HTTP.#5166
f0ea8acThanks @sailist! - Keep queued prompts pending until background notification turns finish.[email protected]
Patch Changes
#5161
55c7c7bThanks @kimi-agent-bot! - Preserve the first prompt through project creation and sign-in prompts.#5170
c2bec3fThanks @liruifengv! - Fix draft thinking effort selections reverting to the model default after sending.#5165
170c729Thanks @sailist! - Fix turn-specific fork failures after restoring sessions with in-turn steering.#5174
3ad2547Thanks @7Sageer! - Merge "Select this folder" into the primary button in the folder picker.@moonshot-ai/[email protected]
Patch Changes
#5173
7b20dafThanks @kimi-agent-bot! - Generate UUIDs consistently across browser and Node runtimes.Updated dependencies [
7b20daf]:@moonshot-ai/[email protected]
Patch Changes
7b20dafThanks @kimi-agent-bot! - Generate UUIDs consistently across browser and Node runtimes.@moonshot-ai/[email protected]
Patch Changes
#5173
7b20dafThanks @kimi-agent-bot! - Generate UUIDs consistently across browser and Node runtimes.#5168
129b224Thanks @sailist! - Prevent AJV diagnostic logs from polluting the TUI input area.@moonshot-ai/[email protected]
Patch Changes
#5176
07e6120Thanks @wbxl2000! -POST /api/v1/sessions/{session_id}:waitreplies that a session is settled only after the records it wrote so far are on disk, so a server that crashes right after the reply restarts with the same turns.Updated dependencies [
7b20daf,129b224]: