Skip to content
KC

Kimi Code @moonshot-ai/kimi-code@2.9.0

Released · Moonshot AI

Must-know

What the release notes say

Minor Changes

  • #5562 f3beb18 Thanks @Grapedge! - Add the /workspace slash command to switch between personal and business workspaces. Run /workspace to switch workspaces.

  • #5571 9f18936 Thanks @Grapedge! - Report how to resume the active session via the OSC 7577 Program Resume Protocol in terminals that set OSC7577_TOKEN.

  • #5333 a731006 Thanks @wbxl2000! - Promote /lab as the primary Lab command (keeping /experiments and /experimental as aliases), split Lab into Beta (Prompt prediction) and Experimental (NotifyUser tool, WaitFor tool, and Tower multi-agent mode) with an Enable all Beta features switch under [experimental.cli] (shared by kimi, kimi web, and kimi rc), and stop enabling WaitFor or Experimental-tier flags by default or via KIMI_CODE_EXPERIMENTAL_FLAG=1; enable WaitFor in /lab, [experimental.cli] wait_for = true, or KIMI_CODE_EXPERIMENTAL_WAIT_FOR=1.

  • #5509 df01263 Thanks @sailist! - External hooks can now return structured hookSpecificOutput instructions: additionalContext on SessionStart injects model-visible context without showing it in the UI, updatedInput on PreToolUse replaces the tool call's input before checks and execution, updatedToolOutput on PostToolUse replaces the tool result, and the Stop payload now carries response_text, transcript_path, and stop_hook_active.

  • #5750 d57c6e5 Thanks @Grapedge! - The terminal UI now starts in fullscreen mode by default. To keep the conversation in your terminal's scrollback, choose Regular in /settings → TUI mode.

  • #5465 8f794b0 Thanks @Grapedge! - Add a Scroll speed setting for fullscreen mode that defaults to auto instead of 1 line per mouse-wheel event. Change it in /settings -> Scroll speed or set wheel_scroll_lines in ~/.kimi-code/tui.toml (set 1 to keep the previous fixed 1-line behavior).

  • #5466 2bb9a98 Thanks @Grapedge! - Support searching conversations in fullscreen mode with Ctrl+F or /find.

  • #5748 7e16ccd Thanks @sailist! - Add organization-managed policy support for enforcing configuration, system-prompt instructions, hooks, MCP servers, read-only managed plugins, and model, permission, tool, and plugin restrictions. Administrators can place config.toml, config.d/*.toml, policy.toml, AGENTS.md, rules/*.md, mcp.json, or plugins/<dir>/ in /Library/Application Support/Kimi/Code (macOS), /etc/kimi/code (Linux), or %ProgramData%\Kimi\Code (Windows) to apply them to every session, including resumed sessions.

  • #5091 48de2e1 Thanks @chengluyu! - Add per-session git worktrees to the web UI and the server API. Choose Worktree in the Environment selector when starting a session on a git project; POST /api/v1/sessions accepts an optional worktree request.

  • #5293 a978771 Thanks @Grapedge! - Add Cwd, Project, and All tabs to /sessions in Git repositories, and allow resuming sessions across directories in the same project.

  • #5521 ccbe111 Thanks @sailist! - Add the KIMI_CODE_SWARM environment variable to start new sessions with swarm mode on, including kimi -p. Set KIMI_CODE_SWARM=1 to enable it. Turning swarm mode on no longer injects a workflow reminder into the conversation.

  • #5293 a978771 Thanks @Grapedge! - Add Git worktree support to start isolated sessions and manage worktrees in a repository. Run kimi -w to launch in a new worktree, or /worktree to list, create, switch, and delete worktrees.

  • #5646 9304e3b Thanks @Grapedge! - Move an ongoing local conversation into a newly created Git worktree without starting over. Open /worktree, press Ctrl+N, and keep Move current selected when creating the worktree.