Skip to content

Releases: MoonshotAI/kimi-code

@moonshot-ai/kimi-code@0.31.1

Choose a tag to compare

@github-actions github-actions released this 31 Jul 11:32
6b56c11

Patch Changes

  • #2410 f1a3475 Thanks @sailist! - Fix sporadic "model is not configured" errors when starting kimi web, caused by the background provider-model refresh transiently clearing the model catalog while the first session was being created.

  • #2400 1f3f5da Thanks @7Sageer! - Preserve the assistant's partial output when a turn is interrupted with Esc, and remind the model that the previous turn was deliberately interrupted.

  • #2415 5c0ec29 Thanks @wbxl2000! - web: Enable Monaco-based highlighting for code blocks, and fix line numbers overlapping or drifting out of alignment in fallback-rendered code blocks.

  • #2442 bb2919e Thanks @liruifengv! - Reduce frequent full-screen redraws in the TUI.

  • #2125 e111c87 Thanks @bowenliang123! - web: Order permission modes from safest to most permissive across settings surfaces, and fix the swapped yolo/auto risk colors in the status panel and mobile settings.

  • #2459 326e1fb Thanks @wbxl2000! - web: Fix chat code blocks rendering in the proportional UI font at the wrong size after the markdown renderer upgrade, and align the loading fallback with the highlighted block so the upgrade no longer shifts layout.

  • #2437 ed7a4cc Thanks @sailist! - web: Make the @ file mention work in a new-session draft, before the first prompt creates the session.

  • #2437 ed7a4cc Thanks @sailist! - web: Fix new sessions showing the thinking level (e.g. Max) while the first message actually ran with thinking off.

@moonshot-ai/kimi-code@0.31.0

Choose a tag to compare

@github-actions github-actions released this 30 Jul 06:59
bc28e9d

Minor Changes

  • #2365 fa2c5ce Thanks @7Sageer! - Add support for plugin-contributed custom agents, discovered automatically and available for sub-agent delegation. Ship an agents/ directory in the plugin (or declare agents paths in the plugin manifest) to provide them.

  • #2314 02d77b2 Thanks @7Sageer! - Allow enabled plugins to contribute agent system-prompt instructions through systemPrompt or systemPromptPath in kimi.plugin.json, effective on both agent engines (the TUI, kimi -p, and kimi web).

  • #2232 efac96c Thanks @7Sageer! - Support Markdown-defined custom agents on agent-core.

  • #2232 efac96c Thanks @7Sageer! - Add the /secondary_model slash command to configure the secondary model used by subagents.

Patch Changes

  • #2382 40172c7 Thanks @liruifengv! - Fix request headers not being passed correctly on some requests.

  • #2379 691ec46 Thanks @RealKai42! - Remove the blocking block/timeout wait from the TaskOutput tool so checking a background task can no longer stall the conversation; it now always returns an immediate snapshot, and completion still arrives via automatic notification.

  • #2395 d10b1c1 Thanks @sailist! - Fix sessions missing from the session picker when their cached metadata predates the archived flag.

@moonshot-ai/kimi-code@0.30.0

Choose a tag to compare

@github-actions github-actions released this 29 Jul 03:39
16c7189

Minor Changes

  • #2255 67dd031 Thanks @he-yufeng! - Add a customizable footer status line, configured via [status_line] in tui.toml.

Patch Changes

  • #2313 de0ba9d Thanks @starquakee! - Stop the turn after repeated invalid tool calls instead of retrying indefinitely.

  • #2147 29783e4 Thanks @wbxl2000! - Show a quota note after installing official plugins that bill against plan quota (such as Kimi Datasource).

  • #2147 29783e4 Thanks @wbxl2000! - Show a notice when an official plugin used in the session has an update available. Run /plugins to install it.

  • #1857 cdbd33c Thanks @vinlee19! - Fail fast when account quota or balance is exhausted instead of silently retrying for ~3 minutes.

  • #2294 425cfdf Thanks @wbxl2000! - web: Fix garbled line numbers in code blocks.

  • #2312 d03a488 Thanks @sailist! - Remove the 50 MB size limit on file uploads to the built-in server.

@moonshot-ai/kimi-code@0.29.2

Choose a tag to compare

@github-actions github-actions released this 27 Jul 06:31
8a45f10

Patch Changes

  • #2192 7799bd7 Thanks @sailist! - Hold per-agent runtime state of the experimental engine in the agent-scope state container, so it is observable in one place and disposed with the agent; state snapshots collapse class instances to name markers so resource graphs cannot exhaust memory during export.

  • #2119 f06eb5c Thanks @pvzheroes125! - Allow hosts to defer registered user-tool schemas until needed. Set disclosure: "deferred" when registering a tool.

  • #2192 7799bd7 Thanks @sailist! - Instantiate every registered service eagerly at scope creation on the experimental engine, following the dependency graph automatically, and drop the hand-maintained lists that resolved side-effect services one by one at startup.

  • #2120 0d00a07 Thanks @yicun! - web: Fix copying selected chat text over plain HTTP from replacing the clipboard with an event placeholder.

  • #2210 0cef160 Thanks @chengluyu! - Fix goal pursuit being interrupted when a goal turn reaches the per-turn step limit (loop_control.max_steps_per_turn); the limit now splits goal work into more continuation turns instead of pausing the goal.

  • #2153 c497af6 Thanks @chengluyu! - Fix messages sent while a goal is running being rejected with a "Cannot launch a new turn while another turn is active" error; they are now steered into the active goal turn instead of being dropped.

  • #2192 7799bd7 Thanks @sailist! - Hold per-session runtime state of the experimental engine in the session-scope state container, so it is observable in one place and disposed with the session.

  • #2055 d40d0d3 Thanks @7Sageer! - Fix /undo to restore conversation history, todo lists, plan mode, and task notifications consistently.

@moonshot-ai/kimi-code@0.29.1

Choose a tag to compare

@github-actions github-actions released this 24 Jul 05:27
f4c3967

Patch Changes

  • #2065 527d485 Thanks @7Sageer! - Add global default MCP server timeouts in config.toml and env vars.

  • #2104 66f611a Thanks @RealKai42! - Fix loss of thinking content with OpenAI-compatible endpoints that return reasoning under a different field name (e.g. newer vLLM); the reasoning field is now detected per endpoint and echoed back on follow-up requests.

  • #2089 ca38b7e Thanks @liruifengv! - Remove the toolbar tip that suggested trying the "superpowers" plugin.

  • #2064 7b62ed5 Thanks @7Sageer! - Add experimental secondary-model bindings for newly spawned subagents, including per-agent model preferences and subagent-only model overrides.

  • #2096 5fdbdb4 Thanks @7Sageer! - Add environment variables to configure the web search and web fetch services without OAuth login.

@moonshot-ai/kimi-code@0.29.0

Choose a tag to compare

@github-actions github-actions released this 22 Jul 09:27
8bf5bac

Minor Changes

  • #1992 a8f1ca3 Thanks @RealKai42! - Support selecting a thinking effort level from ACP clients: the thinking picker now lists the current model's declared levels (for example off / low / medium / high) instead of only an on/off toggle. Use the thinking selector in your ACP client (e.g. Zed) to pick a level; the legacy on/off values keep working.

  • #1735 ce0e3ce Thanks @7Sageer! - Let custom agent files restrict which sub-agent types they may delegate to (v2 engine only).

  • #1735 ce0e3ce Thanks @7Sageer! - Support custom agents defined as Markdown files with frontmatter, usable as the main agent or a sub-agent (v2 engine only).

  • #1735 ce0e3ce Thanks @7Sageer! - Add global tool gating to constrain which tools agents may use, with a per-session override (v2 engine only).

  • #2012 d67a200 Thanks @sailist! - Add a GET /api/v1/fs:content server endpoint that serves any file on the host by absolute path as raw content with Content-Type, ETag, and Range support.

  • #1999 4c763f6 Thanks @RealKai42! - Videos attached to a prompt — pasted in the TUI or uploaded in the web UI — now reach the model together with the prompt, with no extra tool round trip, and stay playable in the chat after a reload.

  • #1735 ce0e3ce Thanks @7Sageer! - Support overriding the default main-agent system prompt with a user-level file for every session (v2 engine only).

Patch Changes

  • #1997 74da87a Thanks @sailist! - Add agent.created and agent.disposed events to the server session event stream, and expose each agent's disposal time in the transcript API.

  • #2030 ec88d35 Thanks @RealKai42! - Fix catalog-imported Claude models being wrongly locked into always-on thinking, and stop offering a misleading thinking Off option for models that cannot truly disable reasoning (such as Gemini 3). Also normalizes configured thinking effort values and unifies context-usage reporting.

  • #2015 b5efba7 Thanks @RealKai42! - Import many more providers from the models.dev catalog: vendor SDKs like xai and openrouter now import instead of being refused (with a "guessed" note), deprecated and alpha models are filtered out, per-model gateway protocol and endpoint overrides are honored, and context limits are correct (input limit for compaction, total window for completion). Imports lacking a usable endpoint now ask for one via --base-url or a prompt.

  • #1993 37eda4e Thanks @RealKai42! - Add environment variable overrides for agent loop and background task limits. Set KIMI_LOOP_MAX_STEPS_PER_TURN, KIMI_LOOP_MAX_RETRIES_PER_STEP, or KIMI_CODE_BACKGROUND_MAX_RUNNING_TASKS to take priority over the [loop_control] and [background] config.

  • #1993 37eda4e Thanks @RealKai42! - Fix config environment overrides (such as KIMI_IMAGE_MAX_EDGE_PX or KIMI_SUBAGENT_TIMEOUT_MS) being persisted into config.toml by config API writes while the env var is set, and keeping the old value after the env var is changed to an invalid value or removed.

  • #2050 8250e59 Thanks @sailist! - Remove references to the non-existent kimi resume command from the scheduled-task tool descriptions.

  • #1970 6dd4fd3 Thanks @sailist! - Fix cancelled model requests being wrapped as retryable provider errors, so interrupting a request no longer triggers silent retries.

  • #1970 6dd4fd3 Thanks @sailist! - Send the session prompt cache key to OpenAI and OpenAI Responses providers, restoring provider-side prompt cache affinity that previously only reached Kimi and Anthropic.

  • #1999 4c763f6 Thanks @RealKai42! - Fix ReadMediaFile failing on videos when the provider has no file upload channel — such videos now fall back to inline delivery.

  • #1968 71bcfba Thanks @RealKai42! - Fix sessions getting stuck on every turn with a provider "message must not be empty" error after a content-filtered response.

  • #2022 154e082 Thanks @wbxl2000! - web: Show transparent images over a checkerboard canvas so white and black content stays visible in both light and dark themes.

  • #1990 115b096 Thanks @liruifengv! - Fix goal mode continuation prompts leaking into the transcript when resuming a session.

  • #1970 6dd4fd3 Thanks @sailist! - Rework the model wire layer in the experimental v2 engine into a small set of protocol bases plus declarative provider trait definitions, so adding a provider no longer means copying adapter code, and per-turn request intent (cache key, thinking effort, sampling) flows as request parameters instead of cloned model objects. The never-functional [platforms] config section and the provider.platformId field are removed; credential resolution is now a two-layer model → provider lookup.

  • #1976 e458323 Thanks @liruifengv! - Improve TUI performance and resume speed for long-running sessions.

  • #1991 92576e4 Thanks @7Sageer! - Reconnect a dropped MCP server connection automatically when one of its tools is called, and retry the call once.

  • #1970 6dd4fd3 Thanks @sailist! - Add read-only model resolution inspection and a live connectivity probe to the server's RPC surface, reporting per-field value provenance (config, override, builtin, env, synthesized) for internal debugging tools.

  • #2015 b5efba7 Thanks @RealKai42! - Fix thinking levels being offered for models that do not support them (e.g. phantom levels on Kimi K3): levels now come from each model's declared capabilities. Models that cannot disable reasoning (e.g. gpt-5) no longer offer an Off option, and turning thinking Off on models that support it (e.g. xai grok) now truly disables reasoning.

  • #1735 ce0e3ce Thanks @7Sageer! - Warn when a tool allow/deny...

Read more

@moonshot-ai/kimi-code@0.28.1

Choose a tag to compare

@github-actions github-actions released this 20 Jul 15:00
efacf04

Patch Changes

  • #934 c5b6103 Thanks @tt-a1i! - Allow ACP sessions to start with configured non-OAuth model credentials instead of requiring terminal login.

  • #1967 ad8cc85 Thanks @sailist! - Run web servers foreground-only end to end: the /web slash command now always starts a new server, and the kimi web kill / kimi web ps subcommands are removed — foreground servers stop with Ctrl+C. kimi server kill remains as a deprecated fallback that only stops servers started by a version before 0.28.0.

  • #1948 f6f4192 Thanks @sailist! - Fix running subagents not observing permission mode switches made after they started.

@moonshot-ai/kimi-code@0.28.0

Choose a tag to compare

@github-actions github-actions released this 20 Jul 05:58
a05228c

Minor Changes

  • #1826 a41a09c Thanks @sailist! - Replace the kimi server command tree with kimi web: the server runs in the foreground (the background daemon and OS-service lifecycle commands are removed), and multiple servers can now share one home directory, each taking the next free port. Manage instances with kimi web kill [server-id|all], kimi web ps, and kimi web rotate-token; any kimi server … invocation prints a deprecation notice and exits 1.

  • #1933 11c1683 Thanks @liruifengv! - Thinking effort persists only levels below the model's top tier (max).

Patch Changes

  • #1867 3086e47 Thanks @RealKai42! - Rename the stale "afk" reference to "auto" in the built-in MCP config skill guidance.

  • #1867 3086e47 Thanks @RealKai42! - Correct the YOLO and Auto permission mode descriptions in CLI --help output and in the ACP session mode selector shown by IDE clients.

  • #1867 3086e47 Thanks @RealKai42! - web: Correct the YOLO and Auto permission mode descriptions in the slash command list and the mobile permission sheet.

  • #1867 3086e47 Thanks @RealKai42! - Fix the YOLO and Auto permission mode descriptions to match their actual behavior: YOLO auto-approves tool actions but the agent may still ask questions, while Auto is fully autonomous and never asks.

  • #1867 3086e47 Thanks @RealKai42! - Correct the YOLO mode notice shown when replaying a session: tool actions are auto-approved, but the agent may still ask questions.

  • #1843 a3e773f Thanks @7Sageer! - Fix the web backend ignoring symbolic links when loading AGENTS.md files and reading files.

  • #1940 d71bf9e Thanks @wbxl2000! - web: Add a note in the model switcher that switching models or thinking effort invalidates the existing prompt cache.

@moonshot-ai/kimi-code@0.27.0

Choose a tag to compare

@github-actions github-actions released this 17 Jul 12:48
5cc1949

Minor Changes

  • #1822 a5c568d Thanks @liruifengv! - Add the /copy slash command to copy the last assistant message to the clipboard.

  • #1824 bfecd01 Thanks @liruifengv! - Using an API key for Kimi coding models now also fetches the latest model list automatically.

Patch Changes

  • #1811 cec15e2 Thanks @liruifengv! - Fix Esc and Ctrl+C cancelling compaction instead of closing an open /btw panel.

  • #1806 9b49694 Thanks @sailist! - Mount the dev-only /api/v1/debug RPC surface behind the --debug-endpoints flag, exposing every scoped service for local debugging on loopback binds. Pass --debug-endpoints to kimi server run to enable it.

  • #1788 365ba00 Thanks @RealKai42! - Fix /export-debug-zip and kimi export overwriting the previous ZIP archive when run repeatedly on the same session; the default export filename now includes a timestamp.

  • #1840 fa7e4ba Thanks @7Sageer! - Fix AGENTS.md files installed as symbolic links being ignored by the web backend.

  • #1829 1b907b0 Thanks @RealKai42! - Fix whitespace-only thinking content rendering as a blank bullet line in the transcript, both while streaming and when replaying session history.

  • #1809 56a321d Thanks @sailist! - web: Fix duplicate workspace groups on Windows when the same folder is opened with different path spellings, such as a different drive-letter casing; all of the folder's sessions now list under the single merged group.

  • #1847 56ba8e0 Thanks @wbxl2000! - web: Fix LaTeX formulas rendering as garbled overlapping text when the web UI is accessed over the network; the server's content security policy now allows the inline styles that math and code highlighting rely on, while scripts remain strictly restricted.

  • #1816 44f3341 Thanks @sailist! - Harden the embedded key-value engine's durability: WAL compaction now always terminates under sustained write storms instead of chasing the tail forever, a committed write can no longer slip through a compaction rotation undetected, torn WAL tails no longer misplace later disk-mode value pointers, read-only opens never create or modify database files or compact under a live writer, corrupt index-definition files no longer force a full rebuild, stale compaction temp files are cleaned on open, and the process lock can no longer be taken over by several processes at once.

  • #1816 44f3341 Thanks @sailist! - Speed up the embedded key-value engine under stress: queries with skip/limit now stream candidates instead of decoding every match first, LRU eviction picks victims in O(1) instead of scanning every key, bursts of simultaneously expired TTL keys are drained within seconds, existence checks and size counting no longer read values when they only need metadata, and one oversized token can no longer poison the full-text index.

  • #1816 44f3341 Thanks @sailist! - Cluster readers of the embedded key-value engine now catch up incrementally by replaying only newly appended WAL frames after another process writes, instead of fully reopening the shard on every read; cross-process read latency drops by orders of magnitude at larger shard sizes, and readers still fall back to a full reopen after WAL rotation or truncation.

  • #1816 44f3341 Thanks @sailist! - Keep the embedded key-value engine writable when a WAL compaction rotation fails mid-way instead of wedging it until reopen, stop a rolled-back write from erasing a concurrently committed value for the same key, let the RESP server survive aborted connections, recover after oversized requests, and answer each pipelined command independently, and keep the previous full-text index intact when a postings rebuild fails.

  • #1808 b53e00d Thanks @wbxl2000! - Include the underlying network cause (DNS failure, refused connection, TLS or timeout errors) in OAuth connection error messages instead of a bare "fetch failed".

  • #1790 373abb0 Thanks @RealKai42! - Fix repeated request rejections after an interrupted model response by recording tool calls that never ran and closing them with an interrupted result.

  • #1791 3144972 Thanks @sailist! - Fix the built-in URL fetch tool's network safeguards: crafted domains and redirect chains can no longer reach loopback or internal network services.

  • #1787 319001a Thanks @sailist! - web: Remove per-workspace git repo badges and branch labels; branch, PR, and diff status remain shown for the active session.

  • #1838 9e12484 Thanks @wbxl2000! - web: Remember the thinking level per model, fixing an empty and unresponsive thinking picker when the active model does not support a previously stored level.

  • #1833 03021b6 Thanks @wbxl2000! - web: Fix queued messages silently re-sending previously uploaded files when a session is reopened.

@moonshot-ai/kimi-code@0.26.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 10:59
36b0582

Minor Changes

  • #1776 ffaf0b9 Thanks @sailist! - Expand the coder subagent tool set to include background tasks, todo lists, plan mode, skill invocation, and nested agents, mirroring the main agent's capabilities; a subagent run also waits for its background tasks to settle before reporting completion. Applies automatically to coder subagents launched through the Agent tool.

Patch Changes

  • #1771 b513975 Thanks @liruifengv! - Optimize the unit formatting of the context usage display.

  • #1765 d531398 Thanks @RealKai42! - Fix Kimi-provider models routed through the Anthropic protocol incorrectly showing reasoning effort options. Effort choices now come only from the model's declared metadata, and the inferred fallback profile applies solely to non-Kimi Anthropic-compatible providers.

  • #1774 3d5d630 Thanks @RealKai42! - Honor an explicit thinking "off" on OpenAI-compatible (chat completions) providers: it used to be indistinguishable from "never configured", so the history-based auto reasoning_effort injection kept the model reasoning (and could leak the field to models that reject it). The provider now also reports the actual current thinking effort ("on"/"off") instead of recording "off" for both.

  • #1766 7042af3 Thanks @kermanx! - web: Fix the sidebar resize handle being covered by the chat composer background.

  • #1769 d1ca65e Thanks @wbxl2000! - Keep legacy migrations idempotent across multiple Kimi homes and report damaged or unmapped sessions instead of silently skipping them.

  • #1763 81414b6 Thanks @liruifengv! - Warn in the /model and /effort pickers that switching invalidates the existing prompt cache, and hint to use /new to avoid extra token costs.

  • #1773 1169a6d Thanks @RealKai42! - Replay empty thinking content verbatim instead of substituting a placeholder space on Anthropic-compatible and Kimi preserved-thinking endpoints.

  • #1781 09e8554 Thanks @kermanx! - Report when users stop tasks and preserve other stop reasons in model context.

  • #1784 d465591 Thanks @sailist! - Fix a resumed session being marked as just updated and jumping to the top of the session list without any new activity.

  • #1759 9e3e670 Thanks @sailist! - Fix a race where resuming a background subagent right after it was manually stopped could fail with an "already running" error.

  • #1782 072eed4 Thanks @sailist! - Fix the context size indicator under-reporting the model's actual context usage.

  • #1769 d1ca65e Thanks @wbxl2000! - Support in-process editor hosts with session lifecycle, context, MCP configuration, and cross-platform session storage APIs.

  • #1772 78967e2 Thanks @sailist! - web: Refresh the model catalog for all providers when opening the model picker, so newly available models always show up.