kimi-code/packages/node-sdk/CHANGELOG.md
github-actions[bot] 67b2147d8e
Some checks are pending
CI / build (push) Waiting to run
CI / test (push) Waiting to run
CI / test-pi-tui (push) Waiting to run
CI / test-windows (push) Waiting to run
CI / lint (push) Waiting to run
CI / typecheck (push) Waiting to run
Nix Build / Check flake.nix workspace sync (push) Waiting to run
Nix Build / nix build .#kimi-code (push) Blocked by required conditions
Release / Release (push) Waiting to run
Release / Deploy docs (push) Blocked by required conditions
Release / Native release artifact (push) Blocked by required conditions
Release / Desktop release artifact (push) Blocked by required conditions
Release / Publish native release assets (push) Blocked by required conditions
ci: release packages (#1468)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-08 15:37:29 +08:00

13 KiB

@moonshot-ai/kimi-code-sdk

0.13.1

Patch Changes

  • #1460 474ce28 Thanks @RealKai42! - Raise the image downscale cap from 2000px to 3000px, and fix swapped width/height for EXIF-rotated (portrait) photos in compression captions and media read notes so region readback coordinates map correctly.

0.13.0

Minor Changes

  • #1369 f0896a5 Thanks @starquakee! - Add experimental progressive tool disclosure (select_tools). When the tool-select experimental flag is on and the active model declares the select_tools capability, MCP tool schemas stay out of the request's top-level tools[] (preserving the provider prompt cache); the model loads tools on demand by exact name via the new built-in select_tools tool, guided by <tools_added>/<tools_removed> announcements. Off by default and inert on models without the capability — behavior is unchanged until a supporting model is catalogued. The SDK additionally maps the select_tools capability when building model aliases from a catalog and reports the new flag through getExperimentalFeatures().

0.12.1

Patch Changes

  • #1349 e9db9ca - Record model response ids in session wire logs to make individual model requests easier to trace.

0.12.0

Minor Changes

  • #1243 ace7901 - 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

0.10.1

Patch Changes

  • #1120 e736349 - Add optional feedback attachments for diagnostic logs and codebase context.

0.10.0

Minor Changes

  • #812 c0eeca2 - Added the ability to add extra workspace directories:

    • Use the /add-dir <path> command to add extra working directories to the current session, or remember them for the project.
    • Use kimi --add-dir <path> to add them on startup.
    • Project-level local config is now managed in .kimi-code/local.toml; we recommend adding it to your .gitignore.

Patch Changes

  • #821 ba64072 - Allow long-running foreground commands and subagents to be moved into background tasks with Ctrl+B, and inspect them via the /tasks panel.

0.9.4

Patch Changes

  • #838 843a731 - Show the underlying connection error when OAuth token refresh fails after internal retries, instead of prompting for login. Token refresh failures are no longer re-retried at the agent loop level.

  • #625 9a8fea5 - Add host-side config helpers loadRuntimeConfigSafe and resolveConfigPath for inspecting config without spinning up a full KimiCore.

0.9.3

Patch Changes

  • #689 8d251f8 - Drop invalid config.toml sections with a warning instead of failing to start.

0.9.2

Patch Changes

  • #648 54302ad - Prevent overlapping interactive agent requests from using the wrong active agent.

0.9.1

Patch Changes

  • #591 e48234a - Fix Windows builds and development launches that could fail when package binaries resolve to command shims.

0.9.0

Minor Changes

  • #487 4d11394 - Honor the standard HTTP_PROXY / HTTPS_PROXY / ALL_PROXY / NO_PROXY environment variables, including SOCKS proxies, for all outbound traffic.

  • #424 72c4b0a - Add the /swarm command for running agent swarms with live progress and rate-limit-aware retries.

Patch Changes

  • #395 879a7ee - Fix ACP slash skill routing, bootstrap context reads, file and permission edge cases, subagent event handling, and stale-file edit messaging.

  • #552 db82e33 - Fix goal resume behavior by restoring goal state from agent records.

0.8.0

Minor Changes

  • #420 86a42a2 - Add persistent experimental feature toggles and a TUI panel that applies confirmed changes by reloading the current session.

  • #383 15d71b5 - Add /reload to reload the current session and apply updated config files, plus /reload-tui to reload only TUI preferences.

  • #431 6a4e4c7 - Add a doctor command for validating Kimi Code configuration files.

Patch Changes

  • #399 232ed87 - Keep managed OAuth credentials scoped to their configured authentication and API endpoints.

  • #430 be0da5f - Fail early when Git Bash is missing on Windows before starting CLI sessions.

0.7.0

Minor Changes

  • #338 ba7dd73 - Add /btw for side-channel conversations without steering the active main turn.

  • #339 a6b16ce - Allow SDK runtime creation to use a separate RPC client while preserving local CLI startup.

0.6.0

Minor Changes

  • #270 ac37d74 - Add experimental goal mode for longer tasks that need more than one turn. Turn it on with KIMI_CODE_EXPERIMENTAL_GOAL_COMMAND=1 before you start Kimi.

    Use /goal <objective> in the TUI when you want Kimi to keep working on one task across turns. For example:

    /goal Fix the failing checkout test
    

    Kimi shows the goal in the TUI and keeps progress visible while it works. Use /goal status, /goal pause, /goal resume, /goal cancel, and /goal replace <objective> to manage the goal. This feature is still experimental. Try it and tell us what would make it more useful.

  • #315 191059d - Add background structured questions so agents can continue while waiting for user answers.

Patch Changes

  • #145 d912053 - Fix Git Bash path detection on Windows by also searching usr\bin\bash.exe locations, which is where bash lives in many Git for Windows installations where bin\bash.exe does not exist.

0.5.0

Minor Changes

  • #204 ee69d0a - Render scheduled reminders distinctly in the TUI, expose cron fired events to SDK clients, and report cron fire times with local timezone offsets.

0.4.0

Minor Changes

  • #221 bab2da7 - Install plugins directly from GitHub repository URLs, and surface each install's origin and trust level (kimi-official, curated, third-party) in the plugin manager.

  • #118 8913440 - Support querying sessions by sessionId or workDir in listSessions, and show a helpful cd command when resuming a session from a different working directory.

Patch Changes

  • #221 bab2da7 - Restrict plugin trust badges to Kimi-hosted plugin CDN URL patterns.

0.3.0

Minor Changes

  • #119 ebf6e81 - Add user-global plugin installation, interactive plugin management, plugin-provided skills, and plugin-owned MCP servers.

  • #113 028d069 - Add /export-md slash command to export the current session as a Markdown file.

Patch Changes

  • #105 d599183 - Enhance kimi export to include more diagnostic information in the manifest.

0.2.1

Patch Changes

  • #70 d95b013 - Preserve catalog-declared interleaved reasoning fields for OpenAI-compatible models configured through /connect.

0.2.0

Minor Changes

  • #30 a200a29 - Add a /connect command that configures a provider and model from a model catalog.

Patch Changes

  • #33 ab4bd09 - Report the macOS product version in OAuth device information instead of the Darwin kernel version.

  • #49 cf2227e - Resume sessions with a newer wire protocol version instead of failing. A warning is now shown in the TUI and records are replayed without migration.