kimi-code/apps/vscode
Haozhe b3212fd9ab
fix(remote-control): pick credential slot and relay from login region (#3969)
* fix(remote-control): pick credential slot and relay from login region

Global login stores tokens in kimi-code-env-*.json and should use
code-rc.kimi.ai; Remote Control always read kimi-code.json and
code-rc.kimi.com. Resolve both from the persisted oauth ref.

* fix(telemetry): skip the dead global collector and keep shutdown alive

The global collector host has no DNS. Drop it from the region profile and
skip the send instead of falling back to the mainland endpoint. Keep the
shutdown timeout timer referenced so a failed flush cannot exit before the
TUI hands the process to the foreground server.

* fix(remote-control): require explicit relay origin and drop hardcoded .com defaults
2026-09-23 18:10:47 +08:00
..
.vscode feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
docs refactor: remove the legacy agent-core v1 package (#3542) 2026-09-07 11:17:51 +08:00
resources feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
scripts refactor: remove the legacy agent-core v1 package (#3542) 2026-09-07 11:17:51 +08:00
shared feat(vscode): engine-backed @ file suggestions (#3453) 2026-09-02 14:16:20 +08:00
src fix(remote-control): pick credential slot and relay from login region (#3969) 2026-09-23 18:10:47 +08:00
test feat(vscode): wire the extension into the shared telemetry pipeline (#3852) 2026-09-17 13:45:59 +08:00
webview-ui fix(vscode): ignore Enter during IME composition in question dialog (#3915) 2026-09-19 02:51:24 +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 (#3913) 2026-09-19 20:06:44 +08:00
LICENSE feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
package.json ci: release packages (#3913) 2026-09-19 20:06:44 +08:00
README.md feat(vscode): migrate extension to Node SDK (#1769) 2026-07-16 17:27:21 +08:00
tsconfig.json refactor(vscode): migrate the webview data layer from ahooks to TanStack Query (#3440) 2026-09-02 01:42:43 +08:00
tsdown.config.ts feat(agent-core-v2): support api_key_env for provider credentials (#3762) 2026-09-17 22:02:53 +08:00
vitest.config.ts refactor(vscode): migrate the webview data layer from ahooks to TanStack Query (#3440) 2026-09-02 01:42:43 +08:00
vitest.projects.ts test: stabilize the full suite on macOS developer machines (#3643) 2026-09-08 16:21:16 +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