kimi-code/apps/vscode
Kaiyi a22951dd58 fix(flow): REST identity follows the gates state; VS Code rejections carry provenance
Review round 19:

- An undo across a newer run's start restored the previous run's
  identity in the undoable state while the world-time gates kept the
  newer run's records. The REST route now prefers the gates state's
  identity, which is by construction the one the retained records
  belong to (identical for a live run).
- VS Code's No now resolves with selectedLabel: 'Reject', so a real
  click keeps writing the gate audit while a bare transport-failure
  rejection stays unobserved.
2026-08-19 05:05:47 +08:00
..
.vscode feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
docs feat: unify the host identity across OAuth, telemetry, and kap-server (#2382) 2026-07-30 13:45:41 +08:00
resources feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
scripts fix(vscode): keep sign-in reachable from the no-models screen (#2393) 2026-07-30 14:47:37 +08:00
shared feat(agent-core): unify the v1 MCP management plane (#2858) 2026-08-17 13:19:51 +08:00
src fix(flow): REST identity follows the gates state; VS Code rejections carry provenance 2026-08-19 05:05:47 +08:00
test feat(agent-core): unify the v1 MCP management plane (#2858) 2026-08-17 13:19:51 +08:00
webview-ui feat(agent-core): unify the v1 MCP management plane (#2858) 2026-08-17 13:19:51 +08:00
.vscode-test.mjs feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
.vscodeignore feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
CHANGELOG.md ci: release packages (#2881) 2026-08-14 20:51:17 +08:00
LICENSE feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
package.json ci: release packages (#2881) 2026-08-14 20:51:17 +08:00
README.md feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
tsconfig.json fix(vscode): keep sign-in reachable from the no-models screen (#2393) 2026-07-30 14:47:37 +08:00
tsdown.config.ts feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
vitest.config.ts feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00

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 /init to analyze your project and /compact to manage context

Install

Kimi Code requires VS Code 1.100.0 or later.

  1. Install from the VS Code Marketplace
  2. Open a folder in VS Code
  3. Click the Kimi icon in the Activity Bar
  4. 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

License

Apache-2.0