File size: 8,926 Bytes
6a2bc3b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 | {
"name": "kimi-code",
"publisher": "moonshot-ai",
"displayName": "Kimi Code",
"description": "Official Kimi Code plugin for VS Code",
"version": "0.7.5",
"private": true,
"license": "Apache-2.0",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/MoonshotAI/kimi-code.git",
"directory": "apps/vscode"
},
"engines": {
"vscode": "^1.100.0"
},
"extensionKind": [
"workspace"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false
},
"virtualWorkspaces": false
},
"categories": [
"AI",
"Chat",
"Programming Languages"
],
"keywords": [
"ai",
"assistant",
"code",
"chat",
"agent",
"mcp",
"skills",
"json",
"autocomplete",
"moonshot",
"kimi",
"moonshot-ai"
],
"pricing": "Free",
"activationEvents": [],
"main": "./dist/extension.js",
"icon": "resources/kimi-icon-storefront.png",
"contributes": {
"configuration": {
"title": "Kimi Code",
"properties": {
"kimi.yoloMode": {
"type": "boolean",
"default": false,
"description": "Auto-approve regular tool calls; the agent may still ask questions"
},
"kimi.autosave": {
"type": "boolean",
"default": true,
"description": "Automatically save files before Kimi reads or writes them"
},
"kimi.enableNewConversationShortcut": {
"type": "boolean",
"default": false,
"description": "Use Cmd/Ctrl+N to start a new conversation when Kimi is focused"
},
"kimi.useCtrlEnterToSend": {
"type": "boolean",
"default": false,
"description": "Use Ctrl/Cmd+Enter to send prompts instead of Enter"
},
"kimi.showThinkingContent": {
"type": "boolean",
"default": true,
"description": "Show thinking/reasoning content in the chat UI"
},
"kimi.showThinkingExpanded": {
"type": "boolean",
"default": false,
"description": "Auto-expand thinking/reasoning sections when shown (requires 'Show Thinking Content' to be enabled)"
},
"kimi.editorContext": {
"type": "string",
"default": "never",
"enum": [
"never",
"onConversationStart",
"onFileChange"
],
"enumDescriptions": [
"Never share editor context",
"Share once when conversation starts",
"Share when active file changes"
],
"description": "Control when to share the active editor's file and cursor position with Kimi"
}
}
},
"commands": [
{
"command": "kimi.clearAllState",
"title": "Kimi Code: [DEBUG] Clear All State"
},
{
"command": "kimi.openInTab",
"title": "Kimi Code: Open in New Tab",
"icon": "$(link-external)"
},
{
"command": "kimi.openInSideBar",
"title": "Kimi Code: Open in Side Panel",
"icon": "$(layout-sidebar-left)"
},
{
"command": "kimi.focusInput",
"title": "Kimi Code: Focus Input",
"icon": "$(edit)"
},
{
"command": "kimi.insertMention",
"title": "Kimi Code: Insert Current File",
"icon": "$(mention)"
},
{
"command": "kimi.newConversation",
"title": "Kimi Code: New Conversation",
"icon": "$(add)"
},
{
"command": "kimi.showLogs",
"title": "Kimi Code: Show Logs",
"icon": "$(output)"
},
{
"command": "kimi.resetKimi",
"title": "Kimi Code: Reset Kimi (in case of any issues/no response)",
"icon": "$(refresh)"
},
{
"command": "kimi.logout",
"title": "Kimi Code: Logout",
"icon": "$(sign-out)"
},
{
"command": "kimi.migrateLegacyData",
"title": "Kimi Code: Migrate Legacy Data"
}
],
"keybindings": [
{
"command": "kimi.focusInput",
"key": "ctrl+shift+k",
"mac": "cmd+shift+k"
},
{
"command": "kimi.insertMention",
"key": "alt+k",
"mac": "alt+k",
"when": "editorTextFocus"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "kimi-sidebar",
"title": "Kimi Code",
"icon": "resources/kimi-icon.svg"
}
]
},
"views": {
"kimi-sidebar": [
{
"type": "webview",
"id": "kimi.webview",
"name": "Kimi Code"
}
]
},
"menus": {
"view/title": [
{
"command": "kimi.openInTab",
"when": "view == kimi.webview",
"group": "navigation"
},
{
"command": "kimi.newConversation",
"when": "view == kimi.webview",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "kimi.clearAllState",
"when": "isDevelopment"
},
{
"command": "kimi.openInTab",
"when": "true"
},
{
"command": "kimi.openInSideBar",
"when": "true"
},
{
"command": "kimi.focusInput",
"when": "true"
},
{
"command": "kimi.insertMention",
"when": "true"
},
{
"command": "kimi.newConversation",
"when": "true"
},
{
"command": "kimi.showLogs",
"when": "true"
},
{
"command": "kimi.resetKimi",
"when": "true"
},
{
"command": "kimi.logout",
"when": "kimi.isLoggedIn"
},
{
"command": "kimi.migrateLegacyData",
"when": "true"
}
],
"editor/context": [
{
"command": "kimi.insertMention",
"group": "moonshot-ai",
"when": "editorTextFocus"
}
]
}
},
"scripts": {
"vscode:prepublish": "pnpm run build",
"dev": "pnpm run dev:prepare && pnpm run \"/^dev:(extension|webview)$/\"",
"dev:prepare": "node scripts/prepare-dev.mjs",
"dev:extension": "node scripts/watch-extension.mjs",
"dev:webview": "vite build --config webview-ui/vite.config.ts --watch --sourcemap",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p webview-ui/tsconfig.json --noEmit",
"build": "pnpm run build:extension && pnpm run build:webview",
"build:webview": "vite build --config webview-ui/vite.config.ts",
"build:extension": "tsdown --config tsdown.config.ts",
"test": "vitest run --config vitest.config.ts",
"test:extension-host": "node scripts/extension-host-smoke.mjs",
"package:platform": "node scripts/vsix-package.mjs",
"package:verify": "node scripts/vsix-verify.mjs",
"publish:vsix": "node scripts/vsix-publish.mjs",
"publish:ovsx": "node scripts/ovsx-publish.mjs"
},
"devDependencies": {
"@tailwindcss/vite": "^4.1.4",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.6",
"@types/diff": "^8.0.0",
"@types/katex": "^0.16.8",
"@types/node": "^22.15.3",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@types/react-scroll-to-bottom": "^4.2.5",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/vscode": "1.100.0",
"@vitejs/plugin-react": "^4.4.1",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "3.9.2",
"acorn": "8.17.0",
"jsdom": "^30.0.1",
"ovsx": "1.0.2",
"tailwindcss": "^4.1.4",
"vite": "^6.3.3",
"vite-plugin-css-injected-by-js": "^3.5.2",
"vitest": "4.1.4"
},
"dependencies": {
"@base-ui/react": "^1.0.0",
"@fontsource-variable/inter": "5.2.8",
"@moonshot-ai/kimi-code-oauth": "workspace:^",
"@moonshot-ai/kimi-code-sdk": "workspace:^",
"@moonshot-ai/migration-legacy": "workspace:^",
"@radix-ui/react-accordion": "^1.2.12",
"@tabler/icons-react": "^3.36.0",
"@tanstack/react-query": "^5.74.4",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"diff": "^8.0.2",
"fuse.js": "^7.1.0",
"heic-to": "^1.0.2",
"immer": "^11.1.0",
"katex": "^0.17.0",
"next-themes": "^0.4.6",
"radix-ui": "^1.4.3",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-markdown": "^10.1.0",
"react-scroll-to-bottom": "^4.2.0",
"react-syntax-highlighter": "^16.1.0",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"shadcn": "^3.6.2",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
"tw-animate-css": "^1.4.0",
"zustand": "^5"
}
}
|