From 613d025ce4a6570d18340247c88789278d0a9a2a Mon Sep 17 00:00:00 2001 From: Haozhe Date: Wed, 28 Oct 2026 18:18:52 +0800 Subject: [PATCH 1/2] fix(agent-core-v2): suppress automatic MCP retry status repeats (#4492) --- packages/agent-core-v2/src/mcpCore/connection-manager.ts | 4 +++- .../test/mcpCore/connection-manager.test.ts | 9 +-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/packages/agent-core-v2/src/mcpCore/connection-manager.ts b/packages/agent-core-v2/src/mcpCore/connection-manager.ts index 8d2aec788da..ddd39bce876 100644 --- a/packages/agent-core-v2/src/mcpCore/connection-manager.ts +++ b/packages/agent-core-v2/src/mcpCore/connection-manager.ts @@ -484,6 +484,7 @@ export class McpConnectionManager implements McpConnectionView { private transition(entry: InternalEntry, event: McpEntryEvent): void { const plan = this.planTransition(entry, event); if (plan === undefined) return; + const automaticRetry = entry.state === 'connecting' && entry.failureStreak > 0; const before = toPublicEntry(entry); const fromFamily = entry.state === 'connected' || entry.state === 'probing'; const toFamily = plan.target === 'connected' || plan.target === 'probing'; @@ -570,7 +571,8 @@ export class McpConnectionManager implements McpConnectionView { break; } const after = toPublicEntry(entry); - if (plan.forceEmit === true || !publicEntriesEqual(before, after)) { + const suppressRetryStatus = event.type === 'retryDue' || (automaticRetry && plan.target === 'retryWaiting'); + if (!suppressRetryStatus && (plan.forceEmit === true || !publicEntriesEqual(before, after))) { this.emit(entry); } this.scheduleReconcile(); diff --git a/packages/agent-core-v2/test/mcpCore/connection-manager.test.ts b/packages/agent-core-v2/test/mcpCore/connection-manager.test.ts index ecb87b2ca75..cf6e7ae43c2 100644 --- a/packages/agent-core-v2/test/mcpCore/connection-manager.test.ts +++ b/packages/agent-core-v2/test/mcpCore/connection-manager.test.ts @@ -943,9 +943,6 @@ describe('McpConnectionManager', () => { 'pending', 'failed', 'failed', - 'pending', - 'failed', - 'pending', 'connected', ]); } finally { @@ -1040,9 +1037,6 @@ describe('McpConnectionManager', () => { expect(seen.filter((s) => s.name === 'remote').map((s) => s.status)).toEqual([ 'pending', 'failed', - 'pending', - 'failed', - 'pending', 'connected', ]); } finally { @@ -1412,8 +1406,7 @@ describe('McpConnectionManager', () => { expect(result.content).toEqual([{ type: 'text', text: 'recovered' }]); const remoteStatuses = seen.filter((s) => s.name === 'remote').map((s) => s.status); - expect(remoteStatuses.slice(0, 3)).toEqual(['pending', 'connected', 'failed']); - expect(remoteStatuses.slice(-2)).toEqual(['pending', 'connected']); + expect(remoteStatuses).toEqual(['pending', 'connected', 'failed', 'connected']); } finally { await cm.shutdown(); await closeServer(httpServer); From c111bc88b3c4c92b7e85126154ad4c7119acd6d1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 28 Oct 2026 19:39:17 +0800 Subject: [PATCH 2/2] ci: release packages (#4463) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/cancelled-question-history.md | 5 -- .changeset/expand-live-thinking.md | 5 -- .changeset/expose-interaction-agent-id.md | 5 -- ...-compaction-prompt-cache-deferred-tools.md | 5 -- .changeset/fix-first-turn-mcp-tools.md | 5 -- .changeset/fix-mcp-oauth-completion.md | 5 -- .changeset/fix-prompt-swarm-mode.md | 5 -- .changeset/fix-web-csp-media-connect.md | 5 -- .changeset/fix-web-csp-wasm-highlight.md | 5 -- .changeset/fullscreen-dock-caps.md | 5 -- .changeset/fullscreen-refocus-click-guard.md | 5 -- .changeset/fullscreen-selector-mouse.md | 5 -- .changeset/import-cc-codex-refresh.md | 5 -- .changeset/import-external-sessions.md | 5 -- .changeset/interaction-ws-event.md | 5 -- .changeset/kap-session-idle-reclaim.md | 5 -- .../keep-media-recovery-across-turns.md | 5 -- .changeset/mcp-reconnect-retry.md | 5 -- .changeset/notify-user-transcript-card.md | 5 -- .changeset/osc7501-child-records.md | 5 -- .changeset/pi-tui-refocus-mouse-guard.md | 5 -- .changeset/plan-mode-user-controlled.md | 5 -- .changeset/plan-option-descriptions.md | 5 -- .changeset/provider-refresh-command.md | 5 -- .changeset/quick-resume-long-sessions.md | 5 -- .changeset/reclaim-idle-workspaces.md | 5 -- .changeset/report-terminal-program-status.md | 5 -- .changeset/show-compacting-activity.md | 5 -- .changeset/subagent-partial-output-on-stop.md | 5 -- .changeset/sync-pi-tui-upstream.md | 5 -- .changeset/todo-transcript-card.md | 5 -- .../tool-result-truncation-surrogate-pair.md | 5 -- .changeset/tower-orchestration.md | 5 -- .changeset/update-cli-terminal-rendering.md | 5 -- .changeset/updates-panel.md | 5 -- .changeset/wedged-turn-transcript-axis.md | 5 -- apps/kimi-code/CHANGELOG.md | 72 +++++++++++++++++++ apps/kimi-code/package.json | 2 +- apps/vscode/CHANGELOG.md | 7 ++ apps/vscode/package.json | 2 +- packages/node-sdk/CHANGELOG.md | 6 ++ packages/node-sdk/package.json | 2 +- packages/pi-tui/CHANGELOG.md | 12 ++++ packages/pi-tui/package.json | 2 +- 44 files changed, 101 insertions(+), 184 deletions(-) delete mode 100644 .changeset/cancelled-question-history.md delete mode 100644 .changeset/expand-live-thinking.md delete mode 100644 .changeset/expose-interaction-agent-id.md delete mode 100644 .changeset/fix-compaction-prompt-cache-deferred-tools.md delete mode 100644 .changeset/fix-first-turn-mcp-tools.md delete mode 100644 .changeset/fix-mcp-oauth-completion.md delete mode 100644 .changeset/fix-prompt-swarm-mode.md delete mode 100644 .changeset/fix-web-csp-media-connect.md delete mode 100644 .changeset/fix-web-csp-wasm-highlight.md delete mode 100644 .changeset/fullscreen-dock-caps.md delete mode 100644 .changeset/fullscreen-refocus-click-guard.md delete mode 100644 .changeset/fullscreen-selector-mouse.md delete mode 100644 .changeset/import-cc-codex-refresh.md delete mode 100644 .changeset/import-external-sessions.md delete mode 100644 .changeset/interaction-ws-event.md delete mode 100644 .changeset/kap-session-idle-reclaim.md delete mode 100644 .changeset/keep-media-recovery-across-turns.md delete mode 100644 .changeset/mcp-reconnect-retry.md delete mode 100644 .changeset/notify-user-transcript-card.md delete mode 100644 .changeset/osc7501-child-records.md delete mode 100644 .changeset/pi-tui-refocus-mouse-guard.md delete mode 100644 .changeset/plan-mode-user-controlled.md delete mode 100644 .changeset/plan-option-descriptions.md delete mode 100644 .changeset/provider-refresh-command.md delete mode 100644 .changeset/quick-resume-long-sessions.md delete mode 100644 .changeset/reclaim-idle-workspaces.md delete mode 100644 .changeset/report-terminal-program-status.md delete mode 100644 .changeset/show-compacting-activity.md delete mode 100644 .changeset/subagent-partial-output-on-stop.md delete mode 100644 .changeset/sync-pi-tui-upstream.md delete mode 100644 .changeset/todo-transcript-card.md delete mode 100644 .changeset/tool-result-truncation-surrogate-pair.md delete mode 100644 .changeset/tower-orchestration.md delete mode 100644 .changeset/update-cli-terminal-rendering.md delete mode 100644 .changeset/updates-panel.md delete mode 100644 .changeset/wedged-turn-transcript-axis.md diff --git a/.changeset/cancelled-question-history.md b/.changeset/cancelled-question-history.md deleted file mode 100644 index 7a353b54da1..00000000000 --- a/.changeset/cancelled-question-history.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix cancelled questions showing as answered in session history. diff --git a/.changeset/expand-live-thinking.md b/.changeset/expand-live-thinking.md deleted file mode 100644 index f07d4622390..00000000000 --- a/.changeset/expand-live-thinking.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Allow expanding thinking during streaming with Ctrl-O diff --git a/.changeset/expose-interaction-agent-id.md b/.changeset/expose-interaction-agent-id.md deleted file mode 100644 index 63e52175a8d..00000000000 --- a/.changeset/expose-interaction-agent-id.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code-sdk": minor ---- - -Expose agent IDs in approval and question requests. diff --git a/.changeset/fix-compaction-prompt-cache-deferred-tools.md b/.changeset/fix-compaction-prompt-cache-deferred-tools.md deleted file mode 100644 index 65d846b5b81..00000000000 --- a/.changeset/fix-compaction-prompt-cache-deferred-tools.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix compaction missing the prompt cache when dynamically loaded MCP tools are enabled. diff --git a/.changeset/fix-first-turn-mcp-tools.md b/.changeset/fix-first-turn-mcp-tools.md deleted file mode 100644 index fa791adf7c3..00000000000 --- a/.changeset/fix-first-turn-mcp-tools.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix missing dynamically loaded MCP tools in the first conversation turn. diff --git a/.changeset/fix-mcp-oauth-completion.md b/.changeset/fix-mcp-oauth-completion.md deleted file mode 100644 index 966a5d8580f..00000000000 --- a/.changeset/fix-mcp-oauth-completion.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix MCP authorization completion being delayed by idle browser connections. diff --git a/.changeset/fix-prompt-swarm-mode.md b/.changeset/fix-prompt-swarm-mode.md deleted file mode 100644 index ce073b04393..00000000000 --- a/.changeset/fix-prompt-swarm-mode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix Swarm mode being ignored when submitting a prompt. diff --git a/.changeset/fix-web-csp-media-connect.md b/.changeset/fix-web-csp-media-connect.md deleted file mode 100644 index 7a71bb6200c..00000000000 --- a/.changeset/fix-web-csp-media-connect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix copying and saving data and blob images on non-loopback Web connections. diff --git a/.changeset/fix-web-csp-wasm-highlight.md b/.changeset/fix-web-csp-wasm-highlight.md deleted file mode 100644 index e8f6347724a..00000000000 --- a/.changeset/fix-web-csp-wasm-highlight.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix Shiki code highlighting on non-loopback Web connections. diff --git a/.changeset/fullscreen-dock-caps.md b/.changeset/fullscreen-dock-caps.md deleted file mode 100644 index 64eb13a9307..00000000000 --- a/.changeset/fullscreen-dock-caps.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Keep fullscreen approval options visible while long requests scroll. diff --git a/.changeset/fullscreen-refocus-click-guard.md b/.changeset/fullscreen-refocus-click-guard.md deleted file mode 100644 index cb3442d2098..00000000000 --- a/.changeset/fullscreen-refocus-click-guard.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Stop clicks used to refocus the fullscreen terminal from activating controls, opening links, or moving the editor caret. diff --git a/.changeset/fullscreen-selector-mouse.md b/.changeset/fullscreen-selector-mouse.md deleted file mode 100644 index 071b6727090..00000000000 --- a/.changeset/fullscreen-selector-mouse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Add mouse selection to fullscreen approval, Settings, permission, and workspace trust dialogs, and fade the editor and waiting panels when they lose focus. diff --git a/.changeset/import-cc-codex-refresh.md b/.changeset/import-cc-codex-refresh.md deleted file mode 100644 index fc40bc9cad2..00000000000 --- a/.changeset/import-cc-codex-refresh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Update cross-tool imports for custom homes, instruction duplicate checks, project skills, and MCP settings; stop importing standalone `.claude/AGENTS.md`, project `.codex/AGENTS.md`, `.codex/CLAUDE.md`, and loose skill files, which can still be copied manually. diff --git a/.changeset/import-external-sessions.md b/.changeset/import-external-sessions.md deleted file mode 100644 index 146b0b1bafc..00000000000 --- a/.changeset/import-external-sessions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Add `/import-sessions` and `kimi import-sessions` to import Claude Code and Codex sessions from the last 15 or 30 days. Run either one and choose a time range. diff --git a/.changeset/interaction-ws-event.md b/.changeset/interaction-ws-event.md deleted file mode 100644 index 7baaf868098..00000000000 --- a/.changeset/interaction-ws-event.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Replace the server's WebSocket `event.approval.*` and `event.question.*` events with a single flat `interaction` frame, and replace `POST /sessions/{id}/approvals/{id}`, `POST /sessions/{id}/questions/{id}` and `POST /sessions/{id}/questions/{id}:dismiss` with `POST /sessions/{id}/interactions/{id}`; the old events and endpoints, along with `GET /sessions/{id}/approvals` and `GET /sessions/{id}/questions`, are removed. diff --git a/.changeset/kap-session-idle-reclaim.md b/.changeset/kap-session-idle-reclaim.md deleted file mode 100644 index 5170e7a38c5..00000000000 --- a/.changeset/kap-session-idle-reclaim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Sessions in web and desktop now unload from memory after 30 minutes idle and resume transparently on next access. diff --git a/.changeset/keep-media-recovery-across-turns.md b/.changeset/keep-media-recovery-across-turns.md deleted file mode 100644 index e0c9076cadd..00000000000 --- a/.changeset/keep-media-recovery-across-turns.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Stop resending full-size images on every turn after the provider rejects them as too large or unsupported; later turns and compaction keep the reduced images until you switch models or the conversation history is rewritten. diff --git a/.changeset/mcp-reconnect-retry.md b/.changeset/mcp-reconnect-retry.md deleted file mode 100644 index 0caadeaafc5..00000000000 --- a/.changeset/mcp-reconnect-retry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Reconnect workspace MCP servers automatically with backoff when the initial connection fails or the connection drops, so their tools come back on their own; tune the interval with `[mcp] reconnect_initial_delay_ms` and `reconnect_max_delay_ms`. diff --git a/.changeset/notify-user-transcript-card.md b/.changeset/notify-user-transcript-card.md deleted file mode 100644 index 7995117e5d6..00000000000 --- a/.changeset/notify-user-transcript-card.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Show NotifyUser updates in cards with an Update badge, streaming titles, and expandable messages. diff --git a/.changeset/osc7501-child-records.md b/.changeset/osc7501-child-records.md deleted file mode 100644 index fb10560eab6..00000000000 --- a/.changeset/osc7501-child-records.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/pi-tui": minor ---- - -Support OSC 7501 child records and tmux passthrough for program-status reports. diff --git a/.changeset/pi-tui-refocus-mouse-guard.md b/.changeset/pi-tui-refocus-mouse-guard.md deleted file mode 100644 index 205af6bea04..00000000000 --- a/.changeset/pi-tui-refocus-mouse-guard.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/pi-tui": patch ---- - -Add an opt-in guard that ignores mouse-button gestures immediately after the terminal regains focus. diff --git a/.changeset/plan-mode-user-controlled.md b/.changeset/plan-mode-user-controlled.md deleted file mode 100644 index 58a38519058..00000000000 --- a/.changeset/plan-mode-user-controlled.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Plan mode now starts only when you turn it on, and every plan waits for your review: the agent can no longer enter Plan mode by itself, Never Ask no longer approves plans automatically, and `kimi -p` skips `default_plan_mode` and cannot approve the plan of a session that is already in Plan mode. diff --git a/.changeset/plan-option-descriptions.md b/.changeset/plan-option-descriptions.md deleted file mode 100644 index 45f03395aad..00000000000 --- a/.changeset/plan-option-descriptions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Show each option's description in the plan approval panel. diff --git a/.changeset/provider-refresh-command.md b/.changeset/provider-refresh-command.md deleted file mode 100644 index e10c318fb3f..00000000000 --- a/.changeset/provider-refresh-command.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Add `/provider refresh [providerId]` to re-fetch provider model lists at runtime; unknown `/provider` subcommands now show a usage hint instead of opening the manager. diff --git a/.changeset/quick-resume-long-sessions.md b/.changeset/quick-resume-long-sessions.md deleted file mode 100644 index 79f7614a58c..00000000000 --- a/.changeset/quick-resume-long-sessions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Speed up session resume for long conversations. diff --git a/.changeset/reclaim-idle-workspaces.md b/.changeset/reclaim-idle-workspaces.md deleted file mode 100644 index 33c182d6d26..00000000000 --- a/.changeset/reclaim-idle-workspaces.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix workspace resource leaks by releasing resources when no live sessions remain. diff --git a/.changeset/report-terminal-program-status.md b/.changeset/report-terminal-program-status.md deleted file mode 100644 index 9d4a10481b8..00000000000 --- a/.changeset/report-terminal-program-status.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Report main-session and subagent status to compatible terminals with OSC 7501, including pending interactions and retained results. diff --git a/.changeset/show-compacting-activity.md b/.changeset/show-compacting-activity.md deleted file mode 100644 index 1129d3a090a..00000000000 --- a/.changeset/show-compacting-activity.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Show a Compacting spinner with working tips in the activity pane instead of the in-progress transcript card. diff --git a/.changeset/subagent-partial-output-on-stop.md b/.changeset/subagent-partial-output-on-stop.md deleted file mode 100644 index 375304bc076..00000000000 --- a/.changeset/subagent-partial-output-on-stop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Pass the text a subagent wrote before it was stopped, timed out, or failed back to the parent agent, marked as incomplete. diff --git a/.changeset/sync-pi-tui-upstream.md b/.changeset/sync-pi-tui-upstream.md deleted file mode 100644 index eb9caae060f..00000000000 --- a/.changeset/sync-pi-tui-upstream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/pi-tui": minor ---- - -Add terminal color utilities, program status reporting, and wheel acceleration, with upstream input and rendering fixes. diff --git a/.changeset/todo-transcript-card.md b/.changeset/todo-transcript-card.md deleted file mode 100644 index 767d5630ac6..00000000000 --- a/.changeset/todo-transcript-card.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Move todo lists into expandable transcript cards and remove the old input-area panel and `Ctrl-T` shortcut. diff --git a/.changeset/tool-result-truncation-surrogate-pair.md b/.changeset/tool-result-truncation-surrogate-pair.md deleted file mode 100644 index 41f7754ba88..00000000000 --- a/.changeset/tool-result-truncation-surrogate-pair.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix corrupted characters appearing in truncated tool results that contain emoji or other non-BMP characters. diff --git a/.changeset/tower-orchestration.md b/.changeset/tower-orchestration.md deleted file mode 100644 index 0693ba86b39..00000000000 --- a/.changeset/tower-orchestration.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Raise Tower's default agent concurrency limit from 16 to 256, support the existing `max_running_tasks` limit and per-spawn model selection, and reduce lock contention during inbox, review, and status processing. diff --git a/.changeset/update-cli-terminal-rendering.md b/.changeset/update-cli-terminal-rendering.md deleted file mode 100644 index 440d6525db6..00000000000 --- a/.changeset/update-cli-terminal-rendering.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix CJK autocomplete and Markdown rendering, keyboard handling, and fullscreen image rendering. diff --git a/.changeset/updates-panel.md b/.changeset/updates-panel.md deleted file mode 100644 index 715f3e853fa..00000000000 --- a/.changeset/updates-panel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Add keyboard and mouse navigation to the experimental Updates panel, with clearer focus styling and a reading position that stays put; enable it with `KIMI_CODE_EXPERIMENTAL_NOTIFY_USER=1`. diff --git a/.changeset/wedged-turn-transcript-axis.md b/.changeset/wedged-turn-transcript-axis.md deleted file mode 100644 index bf83f162bb1..00000000000 --- a/.changeset/wedged-turn-transcript-axis.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix the conversation view freezing at an old point after restarting the app when a turn had been interrupted; interrupted turns are now marked instead of shown as completed. diff --git a/apps/kimi-code/CHANGELOG.md b/apps/kimi-code/CHANGELOG.md index 596f14b2964..e8816d0e0c3 100644 --- a/apps/kimi-code/CHANGELOG.md +++ b/apps/kimi-code/CHANGELOG.md @@ -1,5 +1,77 @@ # @moonshot-ai/kimi-code +## 2.4.0 + +### Minor Changes + +- [#4322](https://github.com/MoonshotAI/kimi-code/pull/4322) [`44cdf8f`](https://github.com/MoonshotAI/kimi-code/commit/44cdf8f4039e2ff20d3fe8a4e7868bd90fd786e1) Thanks [@Grapedge](https://github.com/Grapedge)! - Allow expanding thinking during streaming with Ctrl-O + +- [#4342](https://github.com/MoonshotAI/kimi-code/pull/4342) [`4a24ae1`](https://github.com/MoonshotAI/kimi-code/commit/4a24ae12389f1bc5db33c1aed39a092bfeb2fc13) Thanks [@RealKai42](https://github.com/RealKai42)! - Add `/import-sessions` and `kimi import-sessions` to import Claude Code and Codex sessions from the last 15 or 30 days. Run either one and choose a time range. + +- [#4284](https://github.com/MoonshotAI/kimi-code/pull/4284) [`366fafb`](https://github.com/MoonshotAI/kimi-code/commit/366fafbf921bb121d3906aa6b685f1045be4e54d) Thanks [@7Sageer](https://github.com/7Sageer)! - Sessions in web and desktop now unload from memory after 30 minutes idle and resume transparently on next access. + +- [#4247](https://github.com/MoonshotAI/kimi-code/pull/4247) [`0325b75`](https://github.com/MoonshotAI/kimi-code/commit/0325b755db46f865f2dc0bca0d6c3d95ad817fcb) Thanks [@RealKai42](https://github.com/RealKai42)! - Plan mode now starts only when you turn it on, and every plan waits for your review: the agent can no longer enter Plan mode by itself, Never Ask no longer approves plans automatically, and `kimi -p` skips `default_plan_mode` and cannot approve the plan of a session that is already in Plan mode. + +- [#4316](https://github.com/MoonshotAI/kimi-code/pull/4316) [`874d9ab`](https://github.com/MoonshotAI/kimi-code/commit/874d9abb32f7d8e23fd95da5fbfbd446266653ec) Thanks [@huangzheng2016](https://github.com/huangzheng2016)! - Add `/provider refresh [providerId]` to re-fetch provider model lists at runtime; unknown `/provider` subcommands now show a usage hint instead of opening the manager. + +- [#4347](https://github.com/MoonshotAI/kimi-code/pull/4347) [`b3c6e0a`](https://github.com/MoonshotAI/kimi-code/commit/b3c6e0a75a3b1716a360a75eed7194be9b97c176) Thanks [@Grapedge](https://github.com/Grapedge)! - Report main-session and subagent status to compatible terminals with OSC 7501, including pending interactions and retained results. + +- [#4312](https://github.com/MoonshotAI/kimi-code/pull/4312) [`01ef64e`](https://github.com/MoonshotAI/kimi-code/commit/01ef64ea926c3f939da5ecc7361e504f6f519060) Thanks [@tpoisonooo](https://github.com/tpoisonooo)! - Raise Tower's default agent concurrency limit from 16 to 256, support the existing `max_running_tasks` limit and per-spawn model selection, and reduce lock contention during inbox, review, and status processing. + +### Patch Changes + +- [#4428](https://github.com/MoonshotAI/kimi-code/pull/4428) [`461c6e9`](https://github.com/MoonshotAI/kimi-code/commit/461c6e92d53cd4ff473fbe63fd1d238df819ef3f) Thanks [@wbxl2000](https://github.com/wbxl2000)! - Fix cancelled questions showing as answered in session history. + +- [#4410](https://github.com/MoonshotAI/kimi-code/pull/4410) [`a9dc3a9`](https://github.com/MoonshotAI/kimi-code/commit/a9dc3a9af466a769a6dc93776c61ed89a0e653df) Thanks [@RealKai42](https://github.com/RealKai42)! - Fix compaction missing the prompt cache when dynamically loaded MCP tools are enabled. + +- [#4364](https://github.com/MoonshotAI/kimi-code/pull/4364) [`7ccac2b`](https://github.com/MoonshotAI/kimi-code/commit/7ccac2b45b8a3481c76f771bb99c043b562de2c5) Thanks [@pvzheroes125](https://github.com/pvzheroes125)! - Fix missing dynamically loaded MCP tools in the first conversation turn. + +- [#4431](https://github.com/MoonshotAI/kimi-code/pull/4431) [`98c1cfb`](https://github.com/MoonshotAI/kimi-code/commit/98c1cfbfbd397d2ebf7b4cf154296ed324e6e7cf) Thanks [@pvzheroes125](https://github.com/pvzheroes125)! - Fix MCP authorization completion being delayed by idle browser connections. + +- [#4460](https://github.com/MoonshotAI/kimi-code/pull/4460) [`78b72fe`](https://github.com/MoonshotAI/kimi-code/commit/78b72fe456ac730a1970ded9bb0d28f8b584ab95) Thanks [@kimi-agent-bot](https://github.com/kimi-agent-bot)! - Fix Swarm mode being ignored when submitting a prompt. + +- [#4434](https://github.com/MoonshotAI/kimi-code/pull/4434) [`f47400a`](https://github.com/MoonshotAI/kimi-code/commit/f47400a4187c8296d3cc879172d97c8f1e8cfe24) Thanks [@kimi-agent-bot](https://github.com/kimi-agent-bot)! - Fix copying and saving data and blob images on non-loopback Web connections. + +- [#4435](https://github.com/MoonshotAI/kimi-code/pull/4435) [`70a661c`](https://github.com/MoonshotAI/kimi-code/commit/70a661c873bfc30f0f0de954e0d13ad0a0ed3855) Thanks [@kimi-agent-bot](https://github.com/kimi-agent-bot)! - Fix Shiki code highlighting on non-loopback Web connections. + +- [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) Thanks [@Grapedge](https://github.com/Grapedge)! - Keep fullscreen approval options visible while long requests scroll. + +- [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) Thanks [@Grapedge](https://github.com/Grapedge)! - Stop clicks used to refocus the fullscreen terminal from activating controls, opening links, or moving the editor caret. + +- [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) Thanks [@Grapedge](https://github.com/Grapedge)! - Add mouse selection to fullscreen approval, Settings, permission, and workspace trust dialogs, and fade the editor and waiting panels when they lose focus. + +- [#4331](https://github.com/MoonshotAI/kimi-code/pull/4331) [`759958a`](https://github.com/MoonshotAI/kimi-code/commit/759958afdfeb0f8c7d09cb03cbc2cf85b6255e9e) Thanks [@RealKai42](https://github.com/RealKai42)! - Update cross-tool imports for custom homes, instruction duplicate checks, project skills, and MCP settings; stop importing standalone `.claude/AGENTS.md`, project `.codex/AGENTS.md`, `.codex/CLAUDE.md`, and loose skill files, which can still be copied manually. + +- [#4428](https://github.com/MoonshotAI/kimi-code/pull/4428) [`461c6e9`](https://github.com/MoonshotAI/kimi-code/commit/461c6e92d53cd4ff473fbe63fd1d238df819ef3f) Thanks [@wbxl2000](https://github.com/wbxl2000)! - Replace the server's WebSocket `event.approval.*` and `event.question.*` events with a single flat `interaction` frame, and replace `POST /sessions/{id}/approvals/{id}`, `POST /sessions/{id}/questions/{id}` and `POST /sessions/{id}/questions/{id}:dismiss` with `POST /sessions/{id}/interactions/{id}`; the old events and endpoints, along with `GET /sessions/{id}/approvals` and `GET /sessions/{id}/questions`, are removed. + +- [#4413](https://github.com/MoonshotAI/kimi-code/pull/4413) [`8dabf4a`](https://github.com/MoonshotAI/kimi-code/commit/8dabf4a10eaec7302344ba3060b7b3c69a5a76dc) Thanks [@7Sageer](https://github.com/7Sageer)! - Stop resending full-size images on every turn after the provider rejects them as too large or unsupported; later turns and compaction keep the reduced images until you switch models or the conversation history is rewritten. + +- [#4283](https://github.com/MoonshotAI/kimi-code/pull/4283) [`4be3f0b`](https://github.com/MoonshotAI/kimi-code/commit/4be3f0b741e13677f441c84eee40795ccc1df1db) Thanks [@sailist](https://github.com/sailist)! - Reconnect workspace MCP servers automatically with backoff when the initial connection fails or the connection drops, so their tools come back on their own; tune the interval with `[mcp] reconnect_initial_delay_ms` and `reconnect_max_delay_ms`. + +- [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) Thanks [@Grapedge](https://github.com/Grapedge)! - Show NotifyUser updates in cards with an Update badge, streaming titles, and expandable messages. + +- [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) Thanks [@Grapedge](https://github.com/Grapedge)! - Show each option's description in the plan approval panel. + +- [#4313](https://github.com/MoonshotAI/kimi-code/pull/4313) [`256ce61`](https://github.com/MoonshotAI/kimi-code/commit/256ce61f0c1c6512d84b21e18814df60bc1f530a) Thanks [@huangzheng2016](https://github.com/huangzheng2016)! - Speed up session resume for long conversations. + +- [#4422](https://github.com/MoonshotAI/kimi-code/pull/4422) [`2e539f2`](https://github.com/MoonshotAI/kimi-code/commit/2e539f2f68c872d79a747655cb1962d5f0b596bd) Thanks [@sailist](https://github.com/sailist)! - Fix workspace resource leaks by releasing resources when no live sessions remain. + +- [#4346](https://github.com/MoonshotAI/kimi-code/pull/4346) [`f70c365`](https://github.com/MoonshotAI/kimi-code/commit/f70c3652945a99e87c06d3ccf60275665eb410ab) Thanks [@Grapedge](https://github.com/Grapedge)! - Show a Compacting spinner with working tips in the activity pane instead of the in-progress transcript card. + +- [#4430](https://github.com/MoonshotAI/kimi-code/pull/4430) [`93137ca`](https://github.com/MoonshotAI/kimi-code/commit/93137cad204eed4a6a66196e85cafbaf722a1d65) Thanks [@RealKai42](https://github.com/RealKai42)! - Pass the text a subagent wrote before it was stopped, timed out, or failed back to the parent agent, marked as incomplete. + +- [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) Thanks [@Grapedge](https://github.com/Grapedge)! - Move todo lists into expandable transcript cards and remove the old input-area panel and `Ctrl-T` shortcut. + +- [#4365](https://github.com/MoonshotAI/kimi-code/pull/4365) [`eb1205c`](https://github.com/MoonshotAI/kimi-code/commit/eb1205c4023a5ed719bf62f2257c67cbe56a0aba) Thanks [@kimi-agent-bot](https://github.com/kimi-agent-bot)! - Fix corrupted characters appearing in truncated tool results that contain emoji or other non-BMP characters. + +- [#4347](https://github.com/MoonshotAI/kimi-code/pull/4347) [`b3c6e0a`](https://github.com/MoonshotAI/kimi-code/commit/b3c6e0a75a3b1716a360a75eed7194be9b97c176) Thanks [@Grapedge](https://github.com/Grapedge)! - Fix CJK autocomplete and Markdown rendering, keyboard handling, and fullscreen image rendering. + +- [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) Thanks [@Grapedge](https://github.com/Grapedge)! - Add keyboard and mouse navigation to the experimental Updates panel, with clearer focus styling and a reading position that stays put; enable it with `KIMI_CODE_EXPERIMENTAL_NOTIFY_USER=1`. + +- [#4495](https://github.com/MoonshotAI/kimi-code/pull/4495) [`e851723`](https://github.com/MoonshotAI/kimi-code/commit/e8517233ef98fb5bd61db991fbfdfaeb789db8c0) Thanks [@kimi-agent-bot](https://github.com/kimi-agent-bot)! - web: Improved interactions and fixed known bugs. + +- [#4280](https://github.com/MoonshotAI/kimi-code/pull/4280) [`67325c1`](https://github.com/MoonshotAI/kimi-code/commit/67325c1b25e46b2fc66043bceab059221b719fa9) Thanks [@sailist](https://github.com/sailist)! - Fix the conversation view freezing at an old point after restarting the app when a turn had been interrupted; interrupted turns are now marked instead of shown as completed. + ## 2.3.3 ### Patch Changes diff --git a/apps/kimi-code/package.json b/apps/kimi-code/package.json index cec16134acd..fcbb1fb9916 100644 --- a/apps/kimi-code/package.json +++ b/apps/kimi-code/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/kimi-code", - "version": "2.3.3", + "version": "2.4.0", "description": "The Starting Point for Next-Gen Agents", "license": "MIT", "author": "Moonshot AI", diff --git a/apps/vscode/CHANGELOG.md b/apps/vscode/CHANGELOG.md index 475477d0d37..3e2372d61ca 100644 --- a/apps/vscode/CHANGELOG.md +++ b/apps/vscode/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.8.4 + +### Patch Changes + +- Updated dependencies [[`b3c6e0a`](https://github.com/MoonshotAI/kimi-code/commit/b3c6e0a75a3b1716a360a75eed7194be9b97c176)]: + - @moonshot-ai/kimi-code-sdk@0.22.0 + ## 0.8.3 ### Patch Changes diff --git a/apps/vscode/package.json b/apps/vscode/package.json index bf2e9bd6fcc..5c32c3f9168 100644 --- a/apps/vscode/package.json +++ b/apps/vscode/package.json @@ -3,7 +3,7 @@ "publisher": "moonshot-ai", "displayName": "Kimi Code", "description": "Official Kimi Code plugin for VS Code", - "version": "0.8.3", + "version": "0.8.4", "private": true, "license": "Apache-2.0", "type": "module", diff --git a/packages/node-sdk/CHANGELOG.md b/packages/node-sdk/CHANGELOG.md index f1458f72283..a3d2b2f6ad9 100644 --- a/packages/node-sdk/CHANGELOG.md +++ b/packages/node-sdk/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonshot-ai/kimi-code-sdk +## 0.22.0 + +### Minor Changes + +- [#4347](https://github.com/MoonshotAI/kimi-code/pull/4347) [`b3c6e0a`](https://github.com/MoonshotAI/kimi-code/commit/b3c6e0a75a3b1716a360a75eed7194be9b97c176) Thanks [@Grapedge](https://github.com/Grapedge)! - Expose agent IDs in approval and question requests. + ## 0.21.1 ### Patch Changes diff --git a/packages/node-sdk/package.json b/packages/node-sdk/package.json index 292c8c302fa..62a2d410080 100644 --- a/packages/node-sdk/package.json +++ b/packages/node-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/kimi-code-sdk", - "version": "0.21.1", + "version": "0.22.0", "private": true, "description": "TypeScript SDK for the Kimi Code Agent", "license": "MIT", diff --git a/packages/pi-tui/CHANGELOG.md b/packages/pi-tui/CHANGELOG.md index 6a7e90dc34e..6e21a55c552 100644 --- a/packages/pi-tui/CHANGELOG.md +++ b/packages/pi-tui/CHANGELOG.md @@ -1,5 +1,17 @@ # @moonshot-ai/pi-tui +## 0.86.0 + +### Minor Changes + +- [#4347](https://github.com/MoonshotAI/kimi-code/pull/4347) [`b3c6e0a`](https://github.com/MoonshotAI/kimi-code/commit/b3c6e0a75a3b1716a360a75eed7194be9b97c176) Thanks [@Grapedge](https://github.com/Grapedge)! - Support OSC 7501 child records and tmux passthrough for program-status reports. + +- [#4347](https://github.com/MoonshotAI/kimi-code/pull/4347) [`b3c6e0a`](https://github.com/MoonshotAI/kimi-code/commit/b3c6e0a75a3b1716a360a75eed7194be9b97c176) Thanks [@Grapedge](https://github.com/Grapedge)! - Add terminal color utilities, program status reporting, and wheel acceleration, with upstream input and rendering fixes. + +### Patch Changes + +- [#4310](https://github.com/MoonshotAI/kimi-code/pull/4310) [`8df234a`](https://github.com/MoonshotAI/kimi-code/commit/8df234a618f5ba1f5261cc1696b0cf4340989f8e) Thanks [@Grapedge](https://github.com/Grapedge)! - Add an opt-in guard that ignores mouse-button gestures immediately after the terminal regains focus. + ## 0.85.0 ### Minor Changes diff --git a/packages/pi-tui/package.json b/packages/pi-tui/package.json index d169783db43..34985e24446 100644 --- a/packages/pi-tui/package.json +++ b/packages/pi-tui/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/pi-tui", - "version": "0.85.0", + "version": "0.86.0", "private": true, "description": "Terminal User Interface library with differential rendering for efficient text-based applications", "license": "MIT",