diff --git a/.changeset/draft-pull-request-state.md b/.changeset/draft-pull-request-state.md deleted file mode 100644 index f2f91c9985..0000000000 --- a/.changeset/draft-pull-request-state.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@moonshot-ai/protocol": patch -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Show draft pull requests with a distinct draft status instead of displaying them as open. diff --git a/.changeset/fix-streaming-scroll-jump.md b/.changeset/fix-streaming-scroll-jump.md deleted file mode 100644 index 00ce0f0b9c..0000000000 --- a/.changeset/fix-streaming-scroll-jump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix the transcript jumping to the top when scrolling up through history during streaming output. diff --git a/.changeset/fix-web-session-scoped-modes.md b/.changeset/fix-web-session-scoped-modes.md deleted file mode 100644 index 79d5c9c570..0000000000 --- a/.changeset/fix-web-session-scoped-modes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix plan, swarm, and goal modes being shared across sessions in the web UI; each session now keeps its own toggles. diff --git a/.changeset/google-genai-base-url.md b/.changeset/google-genai-base-url.md deleted file mode 100644 index 3638e062ea..0000000000 --- a/.changeset/google-genai-base-url.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/kosong": patch -"@moonshot-ai/agent-core": patch ---- - -Honor `base_url` for the `google-genai` and `vertexai` providers. A configured base URL was previously ignored and requests always went to `generativelanguage.googleapis.com`; it is now forwarded to the Google GenAI SDK (with `GOOGLE_GEMINI_BASE_URL` / `GOOGLE_VERTEX_BASE_URL` env fallbacks), so Gemini-compatible proxies and gateways can be used. Give the host root only — the SDK appends the API version segment itself. diff --git a/.changeset/hide-off-always-on-effort.md b/.changeset/hide-off-always-on-effort.md deleted file mode 100644 index ba34720c35..0000000000 --- a/.changeset/hide-off-always-on-effort.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Hide the unsupported Off option in the /model thinking switcher for always-on models that already expose multiple effort levels. diff --git a/.changeset/image-compression.md b/.changeset/image-compression.md deleted file mode 100644 index abcfcc47c0..0000000000 --- a/.changeset/image-compression.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/kimi-code-sdk": minor -"@moonshot-ai/kimi-code": minor ---- - -Automatically compress oversized images before they reach the model. Whatever the source — pasted into the CLI, uploaded from the web/desktop client, sent over ACP, read via `ReadMediaFile`, or returned by an MCP tool — images are downsampled (longest edge ≤ 2000px) and re-encoded to fit a per-image byte budget, cutting vision-token cost and avoiding provider image-size errors. Screenshots stay lossless PNG and only degrade to JPEG when the byte budget cannot otherwise be met. Compression runs as an input-stage step at each ingestion point (while the content part is built), and guards against decompression bombs by skipping absurdly large pixel/byte payloads before decoding. Best-effort: if it fails for any reason the original image is sent unchanged. diff --git a/.changeset/model-alias-overrides.md b/.changeset/model-alias-overrides.md deleted file mode 100644 index c62e52cd1a..0000000000 --- a/.changeset/model-alias-overrides.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Add model alias overrides so manual thinking effort levels and model metadata survive provider catalog refreshes. Set them under `[models."".overrides]`. diff --git a/.changeset/pi-tui-export-manifest.md b/.changeset/pi-tui-export-manifest.md deleted file mode 100644 index 382322220f..0000000000 --- a/.changeset/pi-tui-export-manifest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/pi-tui": patch ---- - -Export the package manifest so the bundled binary can locate its native assets. diff --git a/.changeset/pi-tui-fork-integration.md b/.changeset/pi-tui-fork-integration.md deleted file mode 100644 index 6cadf1d7d7..0000000000 --- a/.changeset/pi-tui-fork-integration.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/pi-tui": patch ---- - -Integrate the fork into the monorepo and load it directly from source. diff --git a/.changeset/pi-tui-viewport-clamp.md b/.changeset/pi-tui-viewport-clamp.md deleted file mode 100644 index eee52f6fa5..0000000000 --- a/.changeset/pi-tui-viewport-clamp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/pi-tui": patch ---- - -Clamp the differential render to the visible viewport so scrolling up during streaming no longer jumps to the top. diff --git a/.changeset/release-tui-resources.md b/.changeset/release-tui-resources.md deleted file mode 100644 index 296e7340ff..0000000000 --- a/.changeset/release-tui-resources.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Release pasted images and streaming timers once they are no longer shown, so memory stops growing in long sessions. diff --git a/.changeset/restore-terminal-on-crash.md b/.changeset/restore-terminal-on-crash.md deleted file mode 100644 index 5563aad77f..0000000000 --- a/.changeset/restore-terminal-on-crash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix the terminal being left in raw mode with a hidden cursor and disabled flow control after a crash or abrupt exit. diff --git a/.changeset/session-recovery-terminated.md b/.changeset/session-recovery-terminated.md deleted file mode 100644 index 3f4571d2d3..0000000000 --- a/.changeset/session-recovery-terminated.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kosong": patch ---- - -Retry a dropped provider stream instead of failing the turn. A raw undici `terminated` error (an SSE/HTTP response body cut mid-flight, common on long streaming responses) is now classified as a retryable `APIConnectionError` on the Anthropic path — matching the OpenAI path, which already recognized it — so a transient stream drop is retried rather than surfaced as a fatal error. diff --git a/.changeset/tune-transcript-window-defaults.md b/.changeset/tune-transcript-window-defaults.md deleted file mode 100644 index 869ca62ffc..0000000000 --- a/.changeset/tune-transcript-window-defaults.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Reduce the default TUI transcript window to keep long sessions responsive. diff --git a/.changeset/web-accent-color.md b/.changeset/web-accent-color.md deleted file mode 100644 index e45f83c74f..0000000000 --- a/.changeset/web-accent-color.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Replace the Explore and Native theme options with a single chat layout and a Blue or Black accent-color setting. diff --git a/.changeset/web-error-diagnostics.md b/.changeset/web-error-diagnostics.md deleted file mode 100644 index 191f1fa4a3..0000000000 --- a/.changeset/web-error-diagnostics.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Show time, duration, connection, and stack details in web error and warning toasts. diff --git a/.changeset/web-fix-active-workspace-sessions.md b/.changeset/web-fix-active-workspace-sessions.md deleted file mode 100644 index 0dd1cca79e..0000000000 --- a/.changeset/web-fix-active-workspace-sessions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix an active workspace showing only its five most recent sessions on load, so it now keeps loading older sessions from the last 12 hours. diff --git a/.changeset/web-fix-composer-arrow-up-recall.md b/.changeset/web-fix-composer-arrow-up-recall.md deleted file mode 100644 index 2790d3b191..0000000000 --- a/.changeset/web-fix-composer-arrow-up-recall.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Reduce the web composer's default height for a more compact empty state, and fix ArrowUp recalling the previous message while editing a multi-line draft; ArrowUp now recalls only from the very start of the text and is disabled in the expanded editor. diff --git a/.changeset/web-fix-default-thinking.md b/.changeset/web-fix-default-thinking.md deleted file mode 100644 index 099076a2b2..0000000000 --- a/.changeset/web-fix-default-thinking.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix the Thinking-by-default setting not taking effect, so new sessions correctly start with thinking enabled. diff --git a/.changeset/web-fix-prompt-duplicate-error.md b/.changeset/web-fix-prompt-duplicate-error.md deleted file mode 100644 index d2396f2dae..0000000000 --- a/.changeset/web-fix-prompt-duplicate-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix spurious errors from the web question, approval, and task actions when the action was already complete, and add loading feedback so each click is acknowledged immediately. diff --git a/.changeset/web-inline-queue.md b/.changeset/web-inline-queue.md deleted file mode 100644 index fcab509633..0000000000 --- a/.changeset/web-inline-queue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Show queued prompts inline below the running turn in the web chat, and split Stop into its own button so Send no longer interrupts. diff --git a/.changeset/web-outline-fit.md b/.changeset/web-outline-fit.md deleted file mode 100644 index 159c865faa..0000000000 --- a/.changeset/web-outline-fit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Hide the conversation outline when there is not enough room to expand its labels, so it no longer clips against the window edge. diff --git a/.changeset/web-outline-per-query.md b/.changeset/web-outline-per-query.md deleted file mode 100644 index 7c511d68a1..0000000000 --- a/.changeset/web-outline-per-query.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Show the conversation outline as one entry per user query that expands into a labeled list on hover. diff --git a/.changeset/web-redesign.md b/.changeset/web-redesign.md deleted file mode 100644 index 800a611d41..0000000000 --- a/.changeset/web-redesign.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Refresh the web UI with a new design system, including updated colors, typography, spacing, light and dark palettes, restyled tooltips, and subtle enter/exit and expand/collapse animations. diff --git a/.changeset/web-remove-undo-animation.md b/.changeset/web-remove-undo-animation.md deleted file mode 100644 index c86a1dc678..0000000000 --- a/.changeset/web-remove-undo-animation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Remove the fade-out animation when undoing a message in the web chat. diff --git a/.changeset/web-search-query-only.md b/.changeset/web-search-query-only.md deleted file mode 100644 index 16868c22a2..0000000000 --- a/.changeset/web-search-query-only.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core": minor ---- - -WebSearch now sends only the query and returns lightweight result summaries (title, source site, date, URL, snippet) instead of inlined page content; fetch a result's full page content on demand with FetchURL. Both tools now include a citation reminder in their results. diff --git a/.changeset/web-search-sessions.md b/.changeset/web-search-sessions.md deleted file mode 100644 index 1b08fee322..0000000000 --- a/.changeset/web-search-sessions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Improve session search with a Cmd/Ctrl+K palette that filters by title, workspace, and last prompt with highlighted matches. Press Cmd+K or Ctrl+K to open it. diff --git a/.changeset/web-tool-call-display.md b/.changeset/web-tool-call-display.md deleted file mode 100644 index ca4088b77b..0000000000 --- a/.changeset/web-tool-call-display.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Group consecutive tool calls into a collapsible stack with per-tool renderers, including diff line-count chips for edits and inline previews for image, video, and audio results. diff --git a/.changeset/web-unify-confirmation-dialogs.md b/.changeset/web-unify-confirmation-dialogs.md deleted file mode 100644 index eda72dac06..0000000000 --- a/.changeset/web-unify-confirmation-dialogs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Use one consistent modal dialog for confirmations in the web UI (archive session, delete workspace, delete provider, undo message, and mode toggles). diff --git a/.changeset/web-workspace-sorting.md b/.changeset/web-workspace-sorting.md deleted file mode 100644 index 4959c7b9a6..0000000000 --- a/.changeset/web-workspace-sorting.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Add workspace sorting by manual order or last-edited time, plus collapse-all and expand-all controls, to the sidebar. diff --git a/apps/kimi-code/CHANGELOG.md b/apps/kimi-code/CHANGELOG.md index 2e1179e0ec..575224d7ac 100644 --- a/apps/kimi-code/CHANGELOG.md +++ b/apps/kimi-code/CHANGELOG.md @@ -1,5 +1,59 @@ # @moonshot-ai/kimi-code +## 0.22.0 + +### Minor Changes + +- [#1243](https://github.com/MoonshotAI/kimi-code/pull/1243) [`ace7901`](https://github.com/MoonshotAI/kimi-code/commit/ace79010669d19ad175bc25443b6efb41ca2e2ac) - Automatically compress oversized images before they reach the model. Whatever the source — pasted into the CLI, uploaded from the web/desktop client, sent over ACP, read via `ReadMediaFile`, or returned by an MCP tool — images are downsampled (longest edge ≤ 2000px) and re-encoded to fit a per-image byte budget, cutting vision-token cost and avoiding provider image-size errors. Screenshots stay lossless PNG and only degrade to JPEG when the byte budget cannot otherwise be met. Compression runs as an input-stage step at each ingestion point (while the content part is built), and guards against decompression bombs by skipping absurdly large pixel/byte payloads before decoding. Best-effort: if it fails for any reason the original image is sent unchanged. + +- [#1262](https://github.com/MoonshotAI/kimi-code/pull/1262) [`c070fbe`](https://github.com/MoonshotAI/kimi-code/commit/c070fbeddeb1c147d8859a76046f9465f696c9cb) - Add model alias overrides so manual thinking effort levels and model metadata survive provider catalog refreshes. Set them under `[models."".overrides]`. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Refresh the web UI with a new design system, including updated colors, typography, spacing, light and dark palettes, restyled tooltips, and subtle enter/exit and expand/collapse animations. + +### Patch Changes + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Show draft pull requests with a distinct draft status instead of displaying them as open. + +- [#1254](https://github.com/MoonshotAI/kimi-code/pull/1254) [`7859b0a`](https://github.com/MoonshotAI/kimi-code/commit/7859b0afe8898852806e5a0c21b9dd52cb82f834) - Fix the transcript jumping to the top when scrolling up through history during streaming output. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Fix plan, swarm, and goal modes being shared across sessions in the web UI; each session now keeps its own toggles. + +- [#1264](https://github.com/MoonshotAI/kimi-code/pull/1264) [`003733c`](https://github.com/MoonshotAI/kimi-code/commit/003733c751584ce30d8ebae4f5e608f0df049d32) - Hide the unsupported Off option in the /model thinking switcher for always-on models that already expose multiple effort levels. + +- [#1272](https://github.com/MoonshotAI/kimi-code/pull/1272) [`54703d9`](https://github.com/MoonshotAI/kimi-code/commit/54703d9457dcda7bc782301fc2dbb41a2c8d7293) - Release pasted images and streaming timers once they are no longer shown, so memory stops growing in long sessions. + +- [#1272](https://github.com/MoonshotAI/kimi-code/pull/1272) [`54703d9`](https://github.com/MoonshotAI/kimi-code/commit/54703d9457dcda7bc782301fc2dbb41a2c8d7293) - Fix the terminal being left in raw mode with a hidden cursor and disabled flow control after a crash or abrupt exit. + +- [#1265](https://github.com/MoonshotAI/kimi-code/pull/1265) [`8cfb165`](https://github.com/MoonshotAI/kimi-code/commit/8cfb1657ad7bf525269df4ab6cf5c12aa1d406a9) - Reduce the default TUI transcript window to keep long sessions responsive. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Replace the Explore and Native theme options with a single chat layout and a Blue or Black accent-color setting. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Show time, duration, connection, and stack details in web error and warning toasts. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Fix an active workspace showing only its five most recent sessions on load, so it now keeps loading older sessions from the last 12 hours. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Reduce the web composer's default height for a more compact empty state, and fix ArrowUp recalling the previous message while editing a multi-line draft; ArrowUp now recalls only from the very start of the text and is disabled in the expanded editor. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Fix the Thinking-by-default setting not taking effect, so new sessions correctly start with thinking enabled. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Fix spurious errors from the web question, approval, and task actions when the action was already complete, and add loading feedback so each click is acknowledged immediately. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Show queued prompts inline below the running turn in the web chat, and split Stop into its own button so Send no longer interrupts. + +- [#1278](https://github.com/MoonshotAI/kimi-code/pull/1278) [`bbda90a`](https://github.com/MoonshotAI/kimi-code/commit/bbda90af846ca66232158d2e9605d3d59a7e3a49) - Hide the conversation outline when there is not enough room to expand its labels, so it no longer clips against the window edge. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Show the conversation outline as one entry per user query that expands into a labeled list on hover. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Remove the fade-out animation when undoing a message in the web chat. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Improve session search with a Cmd/Ctrl+K palette that filters by title, workspace, and last prompt with highlighted matches. Press Cmd+K or Ctrl+K to open it. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Group consecutive tool calls into a collapsible stack with per-tool renderers, including diff line-count chips for edits and inline previews for image, video, and audio results. + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Use one consistent modal dialog for confirmations in the web UI (archive session, delete workspace, delete provider, undo message, and mode toggles). + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Add workspace sorting by manual order or last-edited time, plus collapse-all and expand-all controls, to the sidebar. + ## 0.21.1 ### Patch Changes diff --git a/apps/kimi-code/package.json b/apps/kimi-code/package.json index ca96c6912a..8df8f58b61 100644 --- a/apps/kimi-code/package.json +++ b/apps/kimi-code/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/kimi-code", - "version": "0.21.1", + "version": "0.22.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 83e0ba9807..9f213789f2 100644 --- a/packages/acp-adapter/CHANGELOG.md +++ b/packages/acp-adapter/CHANGELOG.md @@ -1,5 +1,13 @@ # @moonshot-ai/acp-adapter +## 0.3.3 + +### Patch Changes + +- Updated dependencies [[`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795), [`bf35f63`](https://github.com/MoonshotAI/kimi-code/commit/bf35f63c5d9b53625f3bf04f50b9a0bb49ced2c9), [`ace7901`](https://github.com/MoonshotAI/kimi-code/commit/ace79010669d19ad175bc25443b6efb41ca2e2ac), [`e47ca10`](https://github.com/MoonshotAI/kimi-code/commit/e47ca10267e75d0b462f9f54e1ae6fc188521703)]: + - @moonshot-ai/agent-core@0.15.0 + - @moonshot-ai/kimi-code-sdk@0.12.0 + ## 0.3.2 ### Patch Changes diff --git a/packages/acp-adapter/package.json b/packages/acp-adapter/package.json index f81631b5b6..9c9c9c68a5 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.2", + "version": "0.3.3", "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 9c993d8e2d..173945bc57 100644 --- a/packages/agent-core/CHANGELOG.md +++ b/packages/agent-core/CHANGELOG.md @@ -1,5 +1,21 @@ # @moonshot-ai/agent-core +## 0.15.0 + +### Minor Changes + +- [#1260](https://github.com/MoonshotAI/kimi-code/pull/1260) [`e47ca10`](https://github.com/MoonshotAI/kimi-code/commit/e47ca10267e75d0b462f9f54e1ae6fc188521703) - WebSearch now sends only the query and returns lightweight result summaries (title, source site, date, URL, snippet) instead of inlined page content; fetch a result's full page content on demand with FetchURL. Both tools now include a citation reminder in their results. + +### Patch Changes + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Show draft pull requests with a distinct draft status instead of displaying them as open. + +- [#1269](https://github.com/MoonshotAI/kimi-code/pull/1269) [`bf35f63`](https://github.com/MoonshotAI/kimi-code/commit/bf35f63c5d9b53625f3bf04f50b9a0bb49ced2c9) - Honor `base_url` for the `google-genai` and `vertexai` providers. A configured base URL was previously ignored and requests always went to `generativelanguage.googleapis.com`; it is now forwarded to the Google GenAI SDK (with `GOOGLE_GEMINI_BASE_URL` / `GOOGLE_VERTEX_BASE_URL` env fallbacks), so Gemini-compatible proxies and gateways can be used. Give the host root only — the SDK appends the API version segment itself. + +- Updated dependencies [[`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795), [`bf35f63`](https://github.com/MoonshotAI/kimi-code/commit/bf35f63c5d9b53625f3bf04f50b9a0bb49ced2c9), [`074bb9b`](https://github.com/MoonshotAI/kimi-code/commit/074bb9ba1359dd3ea2a55eff81986f2bb4772793)]: + - @moonshot-ai/protocol@0.3.2 + - @moonshot-ai/kosong@0.5.1 + ## 0.14.3 ### Patch Changes diff --git a/packages/agent-core/package.json b/packages/agent-core/package.json index 90c231a625..ead559d121 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.3", + "version": "0.15.0", "private": true, "description": "The unified agent engine for Kimi", "license": "MIT", diff --git a/packages/kosong/CHANGELOG.md b/packages/kosong/CHANGELOG.md index 43ba87753e..5a260e9155 100644 --- a/packages/kosong/CHANGELOG.md +++ b/packages/kosong/CHANGELOG.md @@ -1,5 +1,13 @@ # @moonshot-ai/kosong +## 0.5.1 + +### Patch Changes + +- [#1269](https://github.com/MoonshotAI/kimi-code/pull/1269) [`bf35f63`](https://github.com/MoonshotAI/kimi-code/commit/bf35f63c5d9b53625f3bf04f50b9a0bb49ced2c9) - Honor `base_url` for the `google-genai` and `vertexai` providers. A configured base URL was previously ignored and requests always went to `generativelanguage.googleapis.com`; it is now forwarded to the Google GenAI SDK (with `GOOGLE_GEMINI_BASE_URL` / `GOOGLE_VERTEX_BASE_URL` env fallbacks), so Gemini-compatible proxies and gateways can be used. Give the host root only — the SDK appends the API version segment itself. + +- [#1274](https://github.com/MoonshotAI/kimi-code/pull/1274) [`074bb9b`](https://github.com/MoonshotAI/kimi-code/commit/074bb9ba1359dd3ea2a55eff81986f2bb4772793) - Retry a dropped provider stream instead of failing the turn. A raw undici `terminated` error (an SSE/HTTP response body cut mid-flight, common on long streaming responses) is now classified as a retryable `APIConnectionError` on the Anthropic path — matching the OpenAI path, which already recognized it — so a transient stream drop is retried rather than surfaced as a fatal error. + ## 0.5.0 ### Minor Changes diff --git a/packages/kosong/package.json b/packages/kosong/package.json index a6221824bd..2680c605ff 100644 --- a/packages/kosong/package.json +++ b/packages/kosong/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/kosong", - "version": "0.5.0", + "version": "0.5.1", "private": true, "description": "The LLM abstraction layer for modern AI agent applications", "license": "MIT", diff --git a/packages/migration-legacy/CHANGELOG.md b/packages/migration-legacy/CHANGELOG.md index d5d7ce77a0..e3bfb31e7a 100644 --- a/packages/migration-legacy/CHANGELOG.md +++ b/packages/migration-legacy/CHANGELOG.md @@ -1,5 +1,12 @@ # @moonshot-ai/migration-legacy +## 0.1.15 + +### Patch Changes + +- Updated dependencies [[`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795), [`bf35f63`](https://github.com/MoonshotAI/kimi-code/commit/bf35f63c5d9b53625f3bf04f50b9a0bb49ced2c9), [`e47ca10`](https://github.com/MoonshotAI/kimi-code/commit/e47ca10267e75d0b462f9f54e1ae6fc188521703)]: + - @moonshot-ai/agent-core@0.15.0 + ## 0.1.14 ### Patch Changes diff --git a/packages/migration-legacy/package.json b/packages/migration-legacy/package.json index 6d0087d9f7..299122275c 100644 --- a/packages/migration-legacy/package.json +++ b/packages/migration-legacy/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/migration-legacy", - "version": "0.1.14", + "version": "0.1.15", "description": "Migrate kimi-cli (~/.kimi/) data into kimi-code (~/.kimi-code/).", "license": "MIT", "type": "module", diff --git a/packages/node-sdk/CHANGELOG.md b/packages/node-sdk/CHANGELOG.md index 9f891baec0..13b6061626 100644 --- a/packages/node-sdk/CHANGELOG.md +++ b/packages/node-sdk/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonshot-ai/kimi-code-sdk +## 0.12.0 + +### Minor Changes + +- [#1243](https://github.com/MoonshotAI/kimi-code/pull/1243) [`ace7901`](https://github.com/MoonshotAI/kimi-code/commit/ace79010669d19ad175bc25443b6efb41ca2e2ac) - Automatically compress oversized images before they reach the model. Whatever the source — pasted into the CLI, uploaded from the web/desktop client, sent over ACP, read via `ReadMediaFile`, or returned by an MCP tool — images are downsampled (longest edge ≤ 2000px) and re-encoded to fit a per-image byte budget, cutting vision-token cost and avoiding provider image-size errors. Screenshots stay lossless PNG and only degrade to JPEG when the byte budget cannot otherwise be met. Compression runs as an input-stage step at each ingestion point (while the content part is built), and guards against decompression bombs by skipping absurdly large pixel/byte payloads before decoding. Best-effort: if it fails for any reason the original image is sent unchanged. + ## 0.11.0 ### Minor Changes diff --git a/packages/node-sdk/package.json b/packages/node-sdk/package.json index 34073da7d7..576628b76c 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.11.0", + "version": "0.12.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 new file mode 100644 index 0000000000..575f7cf94b --- /dev/null +++ b/packages/pi-tui/CHANGELOG.md @@ -0,0 +1,11 @@ +# @moonshot-ai/pi-tui + +## 0.80.3 + +### Patch Changes + +- [#1254](https://github.com/MoonshotAI/kimi-code/pull/1254) [`7859b0a`](https://github.com/MoonshotAI/kimi-code/commit/7859b0afe8898852806e5a0c21b9dd52cb82f834) - Export the package manifest so the bundled binary can locate its native assets. + +- [#1254](https://github.com/MoonshotAI/kimi-code/pull/1254) [`7859b0a`](https://github.com/MoonshotAI/kimi-code/commit/7859b0afe8898852806e5a0c21b9dd52cb82f834) - Integrate the fork into the monorepo and load it directly from source. + +- [#1254](https://github.com/MoonshotAI/kimi-code/pull/1254) [`7859b0a`](https://github.com/MoonshotAI/kimi-code/commit/7859b0afe8898852806e5a0c21b9dd52cb82f834) - Clamp the differential render to the visible viewport so scrolling up during streaming no longer jumps to the top. diff --git a/packages/pi-tui/package.json b/packages/pi-tui/package.json index 915daba7d2..04caa90cc3 100644 --- a/packages/pi-tui/package.json +++ b/packages/pi-tui/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/pi-tui", - "version": "0.80.2", + "version": "0.80.3", "private": true, "description": "Terminal User Interface library with differential rendering for efficient text-based applications", "license": "MIT", diff --git a/packages/protocol/CHANGELOG.md b/packages/protocol/CHANGELOG.md index 812e10c608..ee42daba02 100644 --- a/packages/protocol/CHANGELOG.md +++ b/packages/protocol/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonshot-ai/protocol +## 0.3.2 + +### Patch Changes + +- [#1258](https://github.com/MoonshotAI/kimi-code/pull/1258) [`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795) - Show draft pull requests with a distinct draft status instead of displaying them as open. + ## 0.3.1 ### Patch Changes diff --git a/packages/protocol/package.json b/packages/protocol/package.json index 9184ad4f89..3b0850e2bc 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/protocol", - "version": "0.3.1", + "version": "0.3.2", "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 3ad3c903cb..568e17981b 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -1,5 +1,13 @@ # @moonshot-ai/server +## 0.2.4 + +### Patch Changes + +- Updated dependencies [[`b905dd4`](https://github.com/MoonshotAI/kimi-code/commit/b905dd49108c567d0fecd38a096808c121672795), [`bf35f63`](https://github.com/MoonshotAI/kimi-code/commit/bf35f63c5d9b53625f3bf04f50b9a0bb49ced2c9), [`e47ca10`](https://github.com/MoonshotAI/kimi-code/commit/e47ca10267e75d0b462f9f54e1ae6fc188521703)]: + - @moonshot-ai/protocol@0.3.2 + - @moonshot-ai/agent-core@0.15.0 + ## 0.2.3 ### Patch Changes diff --git a/packages/server/package.json b/packages/server/package.json index 0cdf23729e..84d68f1c18 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/server", - "version": "0.2.3", + "version": "0.2.4", "private": true, "description": "Local REST + WebSocket server exposing kimi-code SDK over a stable wire protocol.", "license": "MIT",