kimi-code/apps/vscode/package.json
github-actions[bot] 8bf5bacba9
ci: release packages (#1989)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-22 17:24:39 +08:00

316 lines
8.5 KiB
JSON

{
"name": "kimi-code",
"publisher": "moonshot-ai",
"displayName": "Kimi Code",
"description": "Official Kimi Code plugin for VS Code",
"version": "0.6.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",
"@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",
"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-sdk": "workspace:^",
"@moonshot-ai/migration-legacy": "workspace:^",
"@radix-ui/react-accordion": "^1.2.12",
"@tabler/icons-react": "^3.36.0",
"ahooks": "^3.9.6",
"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"
}
}