github MoonshotAI/kimi-code @moonshot-ai/kimi-code@0.40.0

latest release: @moonshot-ai/kimi-code@0.40.1
5 hours ago

Minor Changes

  • #3434 ae7a6dc Thanks @sailist! - The kimi acp subcommand no longer honors KIMI_CODE_LEGACY_FLAG; it always runs on the default agent engine.

  • #3334 971a8b2 Thanks @7Sageer! - The subagent model pool ([secondary_model]) is enabled by default in every launch mode and remains opt-out via KIMI_CODE_EXPERIMENTAL_SECONDARY_MODEL=0 or [experimental] secondary-model = false.

  • #3454 913a242 Thanks @wbxl2000! - web: Added a Plugins panel to Settings for browsing the plugin marketplace and installing, enabling, disabling, and removing plugins.

Patch Changes

  • #3444 b4ae7f8 Thanks @sailist! - Remove the workspace restriction on the Bash tool's cwd parameter.

  • #3454 913a242 Thanks @wbxl2000! - web: Added a code wrap toggle to the diff panel and streamlined its header.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed new content not appearing after auto-compaction (stuck at "Requesting…" above the divider); output after the compaction point now renders below the divider.

  • #3392 616d510 Thanks @7Sageer! - Preserve comments, key order, and formatting in config.toml when configuration values are updated.

  • #3348 9d2304c Thanks @liukx0205! - Fix models and providers transiently disappearing when config.toml is saved non-atomically by an external editor while the daemon reloads it.

  • #3454 913a242 Thanks @wbxl2000! - web: The connecting splash screen now shows the current loading stage and the reason when the connection fails.

  • #3290 4b9888b Thanks @sailist! - Block dangerous shell commands such as shutdown, reboot, or rm -rf in Auto mode, and always ask before running them in Manual and YOLO modes; disable the guard with [permission] dangerous_command_guard = false or KIMI_CODE_DANGEROUS_COMMAND_GUARD=false.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed queued or steered messages being unexpectedly retracted by pressing Esc after they start running.

  • #3421 9c37feb Thanks @sailist! - Make session forks much faster.

  • #3454 913a242 Thanks @wbxl2000! - web: Show a refresh button in the right-sidebar file preview when the previewed file is edited mid-turn.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed the server-side attachment notice text leaking into your own message bubble after sending a file.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed misaligned content in the composer attachment tooltip.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed messages sent with Ctrl+S while the agent is running disappearing after a page reload.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed sessions occasionally stuck showing "working" after a message is appended mid-turn.

  • #3377 58b74cf Thanks @chengluyu! - Fix duplicate user messages in transcript clients.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed the first pinyin letter being committed as English text in Chinese IMEs after enabling goal or plan mode.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed sessions occasionally stuck showing "working" long after the reply had completed.

  • #3427 442b563 Thanks @sailist! - Honor explicit [experimental] config entries over the KIMI_CODE_EXPERIMENTAL_FLAG master switch, so a flag set to false in config.toml stays off; per-feature KIMI_CODE_EXPERIMENTAL_<NAME> variables still override both.

  • #3412 7bc5b20 Thanks @7Sageer! - Send the forked-subagent context notice as a system reminder.

  • #3415 82bf0a8 Thanks @kimi-agent-bot! - Parse git status --porcelain with -z so non-ASCII paths are no longer mangled into bogus quoted directory segments.

  • #3454 913a242 Thanks @wbxl2000! - web: Pressing Tab in the @ file menu completes the highlighted candidate's name into the input while keeping the menu open for further filtering.

  • #3454 913a242 Thanks @wbxl2000! - web: Support activating multiple skills from a single message.

  • #3454 913a242 Thanks @wbxl2000! - web: Background task notification cards now show a "Sent from background · bash" source line and a single "status: task description" body line.

  • #3454 913a242 Thanks @wbxl2000! - web: Background task notification cards now label the sender as "Sent from background (Bash) / (Agent)".

  • #3454 913a242 Thanks @wbxl2000! - web: Superseded @ file searches are now cancelled promptly during fast typing, reducing background load.

  • #3371 9e88152 Thanks @tpoisonooo! - Fix prompts remaining queued forever after reopening a session.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed manually typed > quote blocks in messages being misrendered as quote annotations; they now render as plain text.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed messages rejected by the server sometimes showing no failure toast.

  • #3425 ceb5153 Thanks @sailist! - Add the kimi session list command to list sessions from the command line.

  • #3390 76c1a7a Thanks @Grapedge! - Simplify the built-in system prompt.

  • #3454 913a242 Thanks @wbxl2000! - web: Selecting a skill from the slash menu now inserts the same skill pill as the @ menu.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed stale steered-message bubbles lingering after a transcript refresh.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed the file-change summary card appearing too early when a turn is steered while still running.

  • #3436 0f39b2c Thanks @wbxl2000! - Fix idle sessions briefly showing a "Working" state when opened in desktop and web clients.

  • #3346 ece9618 Thanks @tpoisonooo! - Tower mode (experimental, KIMI_CODE_EXPERIMENTAL_TOWER=1): spawned workers now start from the base checkout's uncommitted changes instead of missing them, and TowerMerge refuses to merge while the checkout still holds those changes uncommitted. Also, a new session can now enter tower mode after the previous owning session stopped without exiting, instead of being refused while that session stays open. Tower mode now stays on after tower teardown; turn it off explicitly with /tower off. Tower mode is now mutually exclusive with plan mode and swarm mode: entering any one of them exits the others.

  • #3399 c3bf6f9 Thanks @tpoisonooo! - Tower mode (experimental, KIMI_CODE_EXPERIMENTAL_TOWER=1): the agent can no longer enter tower mode on its own — turn it on with /tower on, or with /tower (also in the web UI) to pin the local branch missions merge back into; a missing base branch is created from the current checkout (uncommitted changes committed onto it as a labeled WIP snapshot) and the workspace is initialized or rebased to it immediately, refusing with guidance while missions are open. Tower agents that die (failed, timed out, killed, or lost) are recorded in the tower protocol — TowerStatus marks them in the roster and warns about missions whose owner died, with a resume hint — and the tower's console instructions now require summarizing every worker's deliverables per mission before teardown.

  • #3454 913a242 Thanks @wbxl2000! - web: Fixed the context usage ring not refreshing after compaction; session usage now updates live from transcript metadata.

  • #3391 5f0aa7f Thanks @7Sageer! - Default the workspace trust prompt selection to "Trust this folder" instead of "Don't trust".

  • #3366 9619277 Thanks @kimi-agent-bot! - Use the Unicode ellipsis "…" in user-facing TUI and VS Code webview text.

  • #3405 630a11d Thanks @kimi-agent-bot! - Download compressed native update artifacts and decompress them while staging.

Don't miss a new kimi-code release

NewReleases is sending notifications on new releases.