/flow <task> now works without a predefined definition: a built-in drafting skill (contributed first by FlowsSkillSource while the flag is on, and mirrored by the workspace skills route) walks the model through turning the task into a staged definition under .kimi-code/flows/, refining it with the user, and submitting FlowStart. The skill body carries the drafting principles, the exact definition format, and the full supervisor contract, so a drafted run starts with the same contract as an activation-started one. Confirmation is mechanical, not conventional: a FlowStart call now raises a flow_start_review approval before executing — the hook loads and validates the definition (project over user level, via the shared validateFlowDefinitionText) and shows the parsed blueprint (stages, gates, objectives, completion criteria, source path, task). Approving starts the run; rejecting with feedback sends the supervisor back to revise the definition; a plain rejection stops the turn. Activation auto-starts never call FlowStart and stay approval-free; auto mode skips the review; an unreadable or invalid definition skips the card and lets the execution error guide the model instead. The flow flag now defaults to on (KIMI_CODE_EXPERIMENTAL_FLOW=false disables it); token-count assertions, tool snapshots, and the flag-off tests shift accordingly. |
||
|---|---|---|
| .. | ||
| .vscode | ||
| docs | ||
| resources | ||
| scripts | ||
| shared | ||
| src | ||
| test | ||
| webview-ui | ||
| .vscode-test.mjs | ||
| .vscodeignore | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsdown.config.ts | ||
| vitest.config.ts | ||
Kimi Code
AI coding assistant for VS Code, built for long-context workflows and complex coding tasks.
Features
- Works alongside you: Kimi autonomously explores your codebase, reads and writes code, and runs terminal commands with your permission
- Thinking controls: Toggle reasoning or choose a model-supported thinking effort
- Provider-aware models: Distinguish and select same-named models across configured providers
- Native editor integration: Review AI-proposed changes directly in VS Code's diff viewer
- MCP support: Extend capabilities with Model Context Protocol servers
- Slash commands: Quick actions like
/initto analyze your project and/compactto manage context
Install
Kimi Code requires VS Code 1.100.0 or later.
- Install from the VS Code Marketplace
- Open a folder in VS Code
- Click the Kimi icon in the Activity Bar
- Sign in with a kimi.com/code subscription, or use a provider already configured in the shared
config.toml
The extension runs the Kimi Code Node SDK in the VS Code Extension Host. When
the extension and the Kimi Code terminal app resolve to the same
KIMI_CODE_HOME, they share config.toml, MCP configuration, login state, and
sessions. The system-level KIMI_CODE_HOME environment variable is supported;
there is no separate VS Code setting for it. Do not run the same session from
both applications at the same time, because cross-process session locking is
not guaranteed.
After upgrading from version 0.5.x, the extension prompts before migrating any legacy data it finds. Migration copies or merges data into the current Kimi Code home and does not delete the legacy source. Legacy Kimi Code OAuth and MCP OAuth credentials are not copied, so those connections must be authorized again. See the changelog for the full compatibility notes.
Docs
Official doc for Kimi Code can be found at www.kimi.com/code/docs