Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
13 KiB
@moonshot-ai/kimi-code-sdk
0.13.1
Patch Changes
- #1460
474ce28Thanks @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
f0896a5Thanks @starquakee! - Add experimental progressive tool disclosure (select_tools). When thetool-selectexperimental flag is on and the active model declares theselect_toolscapability, MCP tool schemas stay out of the request's top-leveltools[](preserving the provider prompt cache); the model loads tools on demand by exact name via the new built-inselect_toolstool, 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 theselect_toolscapability when building model aliases from a catalog and reports the new flag throughgetExperimentalFeatures().
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 viaReadMediaFile, 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
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.
- Use the
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/taskspanel.
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 helpersloadRuntimeConfigSafeandresolveConfigPathfor inspecting config without spinning up a full KimiCore.
0.9.3
Patch Changes
0.9.2
Patch Changes
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 standardHTTP_PROXY/HTTPS_PROXY/ALL_PROXY/NO_PROXYenvironment variables, including SOCKS proxies, for all outbound traffic. -
#424
72c4b0a- Add the/swarmcommand 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/btwfor 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 withKIMI_CODE_EXPERIMENTAL_GOAL_COMMAND=1before 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 testKimi 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 searchingusr\bin\bash.exelocations, which is where bash lives in many Git for Windows installations wherebin\bash.exedoes 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
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-mdslash command to export the current session as a Markdown file.
Patch Changes
0.2.1
Patch Changes
- #70
d95b013- Preserve catalog-declared interleaved reasoning fields for OpenAI-compatible models configured through/connect.