diff --git a/.changeset/add-gui-store-api.md b/.changeset/add-gui-store-api.md deleted file mode 100644 index 0bca72941..000000000 --- a/.changeset/add-gui-store-api.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@moonshot-ai/protocol": patch -"@moonshot-ai/server": patch -"@moonshot-ai/kimi-code": patch ---- - -Add a server-side key-value store API for persisting web UI preferences to the user's data directory. diff --git a/.changeset/double-esc-undo.md b/.changeset/double-esc-undo.md deleted file mode 100644 index a48970c97..000000000 --- a/.changeset/double-esc-undo.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Add a double-Esc shortcut to open the undo selector. Press Esc twice while idle to undo. diff --git a/.changeset/fix-at-mention-slash-arg.md b/.changeset/fix-at-mention-slash-arg.md deleted file mode 100644 index 64c373cd0..000000000 --- a/.changeset/fix-at-mention-slash-arg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix @ file mentions not opening when typed inside a slash command argument. diff --git a/.changeset/fix-headless-force-exit.md b/.changeset/fix-headless-force-exit.md deleted file mode 100644 index 2a00ca4cb..000000000 --- a/.changeset/fix-headless-force-exit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Force-exit headless runs (`kimi -p`) so a stray ref'd handle left over from the run can't keep a completed run alive until an external timeout, and bound prompt cleanup so a wedged shutdown step can't hang shutdown. diff --git a/.changeset/fix-shell-mode-slash-completion.md b/.changeset/fix-shell-mode-slash-completion.md deleted file mode 100644 index 9078ab1d2..000000000 --- a/.changeset/fix-shell-mode-slash-completion.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Show file path completions when typing `/` in shell mode (`!`). diff --git a/.changeset/fix-web-add-workspace-invalid-path.md b/.changeset/fix-web-add-workspace-invalid-path.md deleted file mode 100644 index db33a2a52..000000000 --- a/.changeset/fix-web-add-workspace-invalid-path.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix adding a workspace by path in the web UI failing silently when the daemon rejects the path; it now shows an error instead of a broken workspace. diff --git a/.changeset/fix-web-duplicate-workspaces.md b/.changeset/fix-web-duplicate-workspaces.md deleted file mode 100644 index b389fcae7..000000000 --- a/.changeset/fix-web-duplicate-workspaces.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Fix duplicate workspaces showing in the web sidebar when the same folder is registered more than once. diff --git a/.changeset/harden-strict-provider-wire-compliance.md b/.changeset/harden-strict-provider-wire-compliance.md deleted file mode 100644 index b98307895..000000000 --- a/.changeset/harden-strict-provider-wire-compliance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Stop a malformed message history from permanently bricking a session on strict providers (Anthropic). The request is repaired before sending — orphaned tool calls are closed and empty/whitespace-only text blocks dropped — and if the provider still rejects its structure, it is resent once with a wire-compliant rebuild. diff --git a/.changeset/plugin-commands.md b/.changeset/plugin-commands.md deleted file mode 100644 index 35e3b02e7..000000000 --- a/.changeset/plugin-commands.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Plugins can now provide slash commands via a `commands` field in their manifest, registered as `:` and invoked with `$ARGUMENTS` expansion. diff --git a/.changeset/rework-compaction-strategy.md b/.changeset/rework-compaction-strategy.md deleted file mode 100644 index 554ba6615..000000000 --- a/.changeset/rework-compaction-strategy.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Rework conversation compaction: - -- Keep only recent user prompts plus a single user-role summary; drop assistant and tool messages. -- Repair tool_use/tool_result adjacency before sending, fixing a strict-provider HTTP 400 when a tool call and its result became non-adjacent. -- Merge consecutive user turns for strict providers (Gemini/Vertex), fixing an HTTP 400 ("roles must alternate") after compaction or when a turn is steered in right after a tool result. -- Micro-compaction now defaults off. diff --git a/.changeset/thinking-model-overhaul.md b/.changeset/thinking-model-overhaul.md deleted file mode 100644 index f853686e5..000000000 --- a/.changeset/thinking-model-overhaul.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor -"@moonshot-ai/kimi-code-sdk": minor ---- - -Refactor the thinking effort system diff --git a/.changeset/ttft-client-server-split.md b/.changeset/ttft-client-server-split.md deleted file mode 100644 index 3e8b5c7ef..000000000 --- a/.changeset/ttft-client-server-split.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Split LLM streaming timing in the session log and `KIMI_CODE_DEBUG=1` output into client vs. API-server portions, so slow turns can be attributed without parsing the wire log. Time-to-first-token splits into the API-server portion (network + server) and the client portion (in-process request building); the decode window splits into time awaiting tokens from the server and time the client spends processing each streamed chunk. diff --git a/.changeset/web-hide-provider-manager.md b/.changeset/web-hide-provider-manager.md deleted file mode 100644 index 0fae394dc..000000000 --- a/.changeset/web-hide-provider-manager.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Hide the provider management dialog in the web UI until the server supports it. diff --git a/.changeset/web-mermaid-workers.md b/.changeset/web-mermaid-workers.md deleted file mode 100644 index 77033efdf..000000000 --- a/.changeset/web-mermaid-workers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Add Mermaid diagram rendering to the web chat. Fenced `mermaid` blocks in assistant responses now render as diagrams. KaTeX math and Mermaid diagram parsing also run in Web Workers to keep the UI responsive during live streaming. diff --git a/.changeset/web-telemetry-toggle.md b/.changeset/web-telemetry-toggle.md deleted file mode 100644 index 34165369d..000000000 --- a/.changeset/web-telemetry-toggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Always show the usage-data opt-out toggle in the web settings with a clearer label and description. diff --git a/.changeset/web-workspace-rename.md b/.changeset/web-workspace-rename.md deleted file mode 100644 index f22dda324..000000000 --- a/.changeset/web-workspace-rename.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix the web workspace rename not persisting after a page refresh. diff --git a/apps/kimi-code/CHANGELOG.md b/apps/kimi-code/CHANGELOG.md index c551da9cc..13ba20b0f 100644 --- a/apps/kimi-code/CHANGELOG.md +++ b/apps/kimi-code/CHANGELOG.md @@ -1,5 +1,48 @@ # @moonshot-ai/kimi-code +## 0.21.0 + +### Minor Changes + +- [#1204](https://github.com/MoonshotAI/kimi-code/pull/1204) [`5cb80ce`](https://github.com/MoonshotAI/kimi-code/commit/5cb80ce879406d239048c32d61202778cb860e58) - Plugins can now provide slash commands via a `commands` field in their manifest, registered as `:` and invoked with `$ARGUMENTS` expansion. + +- [#1214](https://github.com/MoonshotAI/kimi-code/pull/1214) [`86e0c92`](https://github.com/MoonshotAI/kimi-code/commit/86e0c9201ed58c7c1ce5543b1dfb47a4cf5117f6) - Rework conversation compaction: + + - Keep only recent user prompts plus a single user-role summary; drop assistant and tool messages. + - Repair tool_use/tool_result adjacency before sending, fixing a strict-provider HTTP 400 when a tool call and its result became non-adjacent. + - Merge consecutive user turns for strict providers (Gemini/Vertex), fixing an HTTP 400 ("roles must alternate") after compaction or when a turn is steered in right after a tool result. + - Micro-compaction now defaults off. + +- [#1132](https://github.com/MoonshotAI/kimi-code/pull/1132) [`108299b`](https://github.com/MoonshotAI/kimi-code/commit/108299be3cdffc31a23f64efd3ff5ba50976b412) - Refactor the thinking effort system + +### Patch Changes + +- [#1231](https://github.com/MoonshotAI/kimi-code/pull/1231) [`ceb27f5`](https://github.com/MoonshotAI/kimi-code/commit/ceb27f5e449e177493f320d90e292487a8fc3410) - Add a server-side key-value store API for persisting web UI preferences to the user's data directory. + +- [#1220](https://github.com/MoonshotAI/kimi-code/pull/1220) [`ec51324`](https://github.com/MoonshotAI/kimi-code/commit/ec51324230484f2ebaad1ab0aebf2e38f531d914) - Add a double-Esc shortcut to open the undo selector. Press Esc twice while idle to undo. + +- [#1223](https://github.com/MoonshotAI/kimi-code/pull/1223) [`80e6888`](https://github.com/MoonshotAI/kimi-code/commit/80e6888e34e4362247c0eac5b77340df014ba286) - Fix @ file mentions not opening when typed inside a slash command argument. + +- [#1233](https://github.com/MoonshotAI/kimi-code/pull/1233) [`020992c`](https://github.com/MoonshotAI/kimi-code/commit/020992c286f0f6bff6a038a7c7bd7e9db639e3c9) - Force-exit headless runs (`kimi -p`) so a stray ref'd handle left over from the run can't keep a completed run alive until an external timeout, and bound prompt cleanup so a wedged shutdown step can't hang shutdown. + +- [#1225](https://github.com/MoonshotAI/kimi-code/pull/1225) [`659062d`](https://github.com/MoonshotAI/kimi-code/commit/659062d11cc272fe631fc6d4faf64d0e0b1a0142) - Show file path completions when typing `/` in shell mode (`!`). + +- [#1236](https://github.com/MoonshotAI/kimi-code/pull/1236) [`bfe8e6a`](https://github.com/MoonshotAI/kimi-code/commit/bfe8e6ace3cda76b1991bf29c25b9444611d5512) - Fix adding a workspace by path in the web UI failing silently when the daemon rejects the path; it now shows an error instead of a broken workspace. + +- [#1221](https://github.com/MoonshotAI/kimi-code/pull/1221) [`a3f9cec`](https://github.com/MoonshotAI/kimi-code/commit/a3f9cec8a975f11e37e992e42f954789ed394207) - Fix duplicate workspaces showing in the web sidebar when the same folder is registered more than once. + +- [#1241](https://github.com/MoonshotAI/kimi-code/pull/1241) [`8ac337a`](https://github.com/MoonshotAI/kimi-code/commit/8ac337a2b2ac800aa79a373459308abb6c9e63bb) - Stop a malformed message history from permanently bricking a session on strict providers (Anthropic). The request is repaired before sending — orphaned tool calls are closed and empty/whitespace-only text blocks dropped — and if the provider still rejects its structure, it is resent once with a wire-compliant rebuild. + +- [#1228](https://github.com/MoonshotAI/kimi-code/pull/1228) [`42e37eb`](https://github.com/MoonshotAI/kimi-code/commit/42e37eb898b722829d2ec83e909525ff18e336a5) - Split LLM streaming timing in the session log and `KIMI_CODE_DEBUG=1` output into client vs. API-server portions, so slow turns can be attributed without parsing the wire log. Time-to-first-token splits into the API-server portion (network + server) and the client portion (in-process request building); the decode window splits into time awaiting tokens from the server and time the client spends processing each streamed chunk. + +- [#1234](https://github.com/MoonshotAI/kimi-code/pull/1234) [`882cf35`](https://github.com/MoonshotAI/kimi-code/commit/882cf355a9cb45bb5b3424a27b953bde8e106bb0) - Hide the provider management dialog in the web UI until the server supports it. + +- [#1226](https://github.com/MoonshotAI/kimi-code/pull/1226) [`7f05f58`](https://github.com/MoonshotAI/kimi-code/commit/7f05f589e7bc77a2f26463a41317ff7087e3c3a0) - Add Mermaid diagram rendering to the web chat. Fenced `mermaid` blocks in assistant responses now render as diagrams. KaTeX math and Mermaid diagram parsing also run in Web Workers to keep the UI responsive during live streaming. + +- [#1232](https://github.com/MoonshotAI/kimi-code/pull/1232) [`aa6b0d0`](https://github.com/MoonshotAI/kimi-code/commit/aa6b0d065ee888056c3812781483ddb74739897f) - Always show the usage-data opt-out toggle in the web settings with a clearer label and description. + +- [#1234](https://github.com/MoonshotAI/kimi-code/pull/1234) [`882cf35`](https://github.com/MoonshotAI/kimi-code/commit/882cf355a9cb45bb5b3424a27b953bde8e106bb0) - Fix the web workspace rename not persisting after a page refresh. + ## 0.20.3 ### Patch Changes diff --git a/apps/kimi-code/package.json b/apps/kimi-code/package.json index e81ead095..eb43eb23d 100644 --- a/apps/kimi-code/package.json +++ b/apps/kimi-code/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/kimi-code", - "version": "0.20.3", + "version": "0.21.0", "description": "The Starting Point for Next-Gen Agents", "license": "MIT", "author": "Moonshot AI", diff --git a/packages/acp-adapter/CHANGELOG.md b/packages/acp-adapter/CHANGELOG.md index 04f0a7688..83e0ba980 100644 --- a/packages/acp-adapter/CHANGELOG.md +++ b/packages/acp-adapter/CHANGELOG.md @@ -1,5 +1,13 @@ # @moonshot-ai/acp-adapter +## 0.3.2 + +### Patch Changes + +- Updated dependencies [[`a3f9cec`](https://github.com/MoonshotAI/kimi-code/commit/a3f9cec8a975f11e37e992e42f954789ed394207), [`108299b`](https://github.com/MoonshotAI/kimi-code/commit/108299be3cdffc31a23f64efd3ff5ba50976b412)]: + - @moonshot-ai/agent-core@0.14.3 + - @moonshot-ai/kimi-code-sdk@0.11.0 + ## 0.3.1 ### Patch Changes diff --git a/packages/acp-adapter/package.json b/packages/acp-adapter/package.json index 2614905ac..12b411465 100644 --- a/packages/acp-adapter/package.json +++ b/packages/acp-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/acp-adapter", - "version": "0.3.1", + "version": "0.3.2", "private": true, "description": "Agent Client Protocol adapter for kimi-code", "license": "MIT", diff --git a/packages/agent-core/CHANGELOG.md b/packages/agent-core/CHANGELOG.md index 8a7f60e14..9c993d8e2 100644 --- a/packages/agent-core/CHANGELOG.md +++ b/packages/agent-core/CHANGELOG.md @@ -1,5 +1,14 @@ # @moonshot-ai/agent-core +## 0.14.3 + +### Patch Changes + +- [#1221](https://github.com/MoonshotAI/kimi-code/pull/1221) [`a3f9cec`](https://github.com/MoonshotAI/kimi-code/commit/a3f9cec8a975f11e37e992e42f954789ed394207) - Fix duplicate workspaces showing in the web sidebar when the same folder is registered more than once. + +- Updated dependencies [[`ceb27f5`](https://github.com/MoonshotAI/kimi-code/commit/ceb27f5e449e177493f320d90e292487a8fc3410)]: + - @moonshot-ai/protocol@0.3.1 + ## 0.14.2 ### Patch Changes diff --git a/packages/agent-core/package.json b/packages/agent-core/package.json index fc9a6efb3..382878733 100644 --- a/packages/agent-core/package.json +++ b/packages/agent-core/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/agent-core", - "version": "0.14.2", + "version": "0.14.3", "private": true, "description": "The unified agent engine for Kimi", "license": "MIT", diff --git a/packages/node-sdk/CHANGELOG.md b/packages/node-sdk/CHANGELOG.md index 549589972..9f891baec 100644 --- a/packages/node-sdk/CHANGELOG.md +++ b/packages/node-sdk/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonshot-ai/kimi-code-sdk +## 0.11.0 + +### Minor Changes + +- [#1132](https://github.com/MoonshotAI/kimi-code/pull/1132) [`108299b`](https://github.com/MoonshotAI/kimi-code/commit/108299be3cdffc31a23f64efd3ff5ba50976b412) - Refactor the thinking effort system + ## 0.10.1 ### Patch Changes diff --git a/packages/node-sdk/package.json b/packages/node-sdk/package.json index 8c428ecb6..6d24cdb08 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.10.1", + "version": "0.11.0", "private": true, "description": "TypeScript SDK for the Kimi Code Agent", "license": "MIT", diff --git a/packages/protocol/CHANGELOG.md b/packages/protocol/CHANGELOG.md index 6519a941f..812e10c60 100644 --- a/packages/protocol/CHANGELOG.md +++ b/packages/protocol/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonshot-ai/protocol +## 0.3.1 + +### Patch Changes + +- [#1231](https://github.com/MoonshotAI/kimi-code/pull/1231) [`ceb27f5`](https://github.com/MoonshotAI/kimi-code/commit/ceb27f5e449e177493f320d90e292487a8fc3410) - Add a server-side key-value store API for persisting web UI preferences to the user's data directory. + ## 0.3.0 ### Minor Changes diff --git a/packages/protocol/package.json b/packages/protocol/package.json index d75265d63..9184ad4f8 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/protocol", - "version": "0.3.0", + "version": "0.3.1", "private": true, "description": "Shared REST + WS protocol schemas (envelope, error codes, pagination, ws-control) for the kimi-code daemon.", "license": "MIT", diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md index 25f308267..3ad3c903c 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -1,5 +1,15 @@ # @moonshot-ai/server +## 0.2.3 + +### Patch Changes + +- [#1231](https://github.com/MoonshotAI/kimi-code/pull/1231) [`ceb27f5`](https://github.com/MoonshotAI/kimi-code/commit/ceb27f5e449e177493f320d90e292487a8fc3410) - Add a server-side key-value store API for persisting web UI preferences to the user's data directory. + +- Updated dependencies [[`ceb27f5`](https://github.com/MoonshotAI/kimi-code/commit/ceb27f5e449e177493f320d90e292487a8fc3410), [`a3f9cec`](https://github.com/MoonshotAI/kimi-code/commit/a3f9cec8a975f11e37e992e42f954789ed394207)]: + - @moonshot-ai/protocol@0.3.1 + - @moonshot-ai/agent-core@0.14.3 + ## 0.2.2 ### Patch Changes diff --git a/packages/server/package.json b/packages/server/package.json index 7f0aa2088..2c7abdb1d 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/server", - "version": "0.2.2", + "version": "0.2.3", "private": true, "description": "Local REST + WebSocket server exposing kimi-code SDK over a stable wire protocol.", "license": "MIT",