package.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. {
  2. "name": "kilo-code",
  3. "displayName": "%extension.displayName%",
  4. "description": "%extension.description%",
  5. "publisher": "kilocode",
  6. "version": "4.21.0",
  7. "icon": "assets/icons/logo-outline-black.png",
  8. "galleryBanner": {
  9. "color": "#FFFFFF",
  10. "theme": "light"
  11. },
  12. "engines": {
  13. "vscode": "^1.84.0",
  14. "node": "20.18.1"
  15. },
  16. "author": {
  17. "name": "Kilo Code"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "https://github.com/Kilo-Org/kilocode"
  22. },
  23. "homepage": "https://kilocode.ai",
  24. "categories": [
  25. "AI",
  26. "Chat",
  27. "Programming Languages",
  28. "Education",
  29. "Snippets",
  30. "Testing"
  31. ],
  32. "keywords": [
  33. "cline",
  34. "claude",
  35. "dev",
  36. "mcp",
  37. "openrouter",
  38. "coding",
  39. "agent",
  40. "autonomous",
  41. "chatgpt",
  42. "sonnet",
  43. "ai",
  44. "llama",
  45. "Kilo Code",
  46. "kilocode",
  47. "roocode"
  48. ],
  49. "activationEvents": [
  50. "onLanguage",
  51. "onStartupFinished"
  52. ],
  53. "main": "./dist/extension.js",
  54. "contributes": {
  55. "walkthroughs": [
  56. {
  57. "id": "kiloCodeWalkthrough",
  58. "title": "5 ways Kilo Code helps you code",
  59. "description": "You now have a personal AI coding assistant.",
  60. "steps": [
  61. {
  62. "id": "welcome",
  63. "title": "Write code for you",
  64. "description": "Describe what you want to build. Kilo Code will write it from scratch, generate the files, and run them for you.",
  65. "media": {
  66. "markdown": "walkthrough/step1.md"
  67. }
  68. },
  69. {
  70. "id": "getting-started",
  71. "title": "Understand your codebase",
  72. "description": "Need clarity on how something works? Ask Kilo Code about any part of your files and get a clear explanation.",
  73. "media": {
  74. "markdown": "walkthrough/step2.md"
  75. },
  76. "content": {
  77. "path": "walkthrough/step2.md"
  78. }
  79. },
  80. {
  81. "id": "modes",
  82. "title": "Get things working again",
  83. "description": "Stuck on an error? Kilo Code can find the issue, fix it, and get your code running.",
  84. "media": {
  85. "markdown": "walkthrough/step3.md"
  86. }
  87. },
  88. {
  89. "id": "code-actions",
  90. "title": "Plan your logic",
  91. "description": "Not sure where to start? Map out your logic and structure before writing a single line of code.",
  92. "media": {
  93. "markdown": "walkthrough/step4.md"
  94. }
  95. },
  96. {
  97. "id": "advanced-features",
  98. "title": "And more",
  99. "description": "Improve your prompt, add context, or create your own custom modes.",
  100. "media": {
  101. "markdown": "walkthrough/step5.md"
  102. }
  103. }
  104. ]
  105. }
  106. ],
  107. "submenus": [
  108. {
  109. "id": "kilo-code.contextMenu",
  110. "label": "%views.contextMenu.label%"
  111. },
  112. {
  113. "id": "kilo-code.terminalMenu",
  114. "label": "%views.terminalMenu.label%"
  115. }
  116. ],
  117. "viewsContainers": {
  118. "activitybar": [
  119. {
  120. "id": "kilo-code-ActivityBar",
  121. "title": "%views.activitybar.title%",
  122. "icon": "assets/icons/kilo.png",
  123. "when": "isMac"
  124. }
  125. ]
  126. },
  127. "views": {
  128. "kilo-code-ActivityBar": [
  129. {
  130. "type": "webview",
  131. "id": "kilo-code.SidebarProvider",
  132. "name": ""
  133. }
  134. ]
  135. },
  136. "commands": [
  137. {
  138. "command": "kilo-code.plusButtonClicked",
  139. "title": "%command.newTask.title%",
  140. "icon": "$(add)"
  141. },
  142. {
  143. "command": "kilo-code.importSettings",
  144. "title": "Import Settings",
  145. "category": "%configuration.title%"
  146. },
  147. {
  148. "command": "kilo-code.exportSettings",
  149. "title": "Export Settings",
  150. "category": "%configuration.title%"
  151. },
  152. {
  153. "command": "kilo-code.mcpButtonClicked",
  154. "title": "%command.mcpServers.title%",
  155. "icon": "$(server)"
  156. },
  157. {
  158. "command": "kilo-code.promptsButtonClicked",
  159. "title": "%command.prompts.title%",
  160. "icon": "$(notebook)"
  161. },
  162. {
  163. "command": "kilo-code.historyButtonClicked",
  164. "title": "%command.history.title%",
  165. "icon": "$(history)"
  166. },
  167. {
  168. "command": "kilo-code.popoutButtonClicked",
  169. "title": "%command.openInEditor.title%",
  170. "icon": "$(link-external)"
  171. },
  172. {
  173. "command": "kilo-code.settingsButtonClicked",
  174. "title": "%command.settings.title%",
  175. "icon": "$(settings-gear)"
  176. },
  177. {
  178. "command": "kilo-code.helpButtonClicked",
  179. "title": "%command.documentation.title%",
  180. "icon": "$(question)"
  181. },
  182. {
  183. "command": "kilo-code.openInNewTab",
  184. "title": "%command.openInNewTab.title%",
  185. "category": "%configuration.title%"
  186. },
  187. {
  188. "command": "kilo-code.explainCode",
  189. "title": "%command.explainCode.title%",
  190. "category": "%configuration.title%"
  191. },
  192. {
  193. "command": "kilo-code.fixCode",
  194. "title": "%command.fixCode.title%",
  195. "category": "%configuration.title%"
  196. },
  197. {
  198. "command": "kilo-code.improveCode",
  199. "title": "%command.improveCode.title%",
  200. "category": "%configuration.title%"
  201. },
  202. {
  203. "command": "kilo-code.addToContext",
  204. "title": "%command.addToContext.title%",
  205. "category": "%configuration.title%"
  206. },
  207. {
  208. "command": "kilo-code.newTask",
  209. "title": "%command.newTask.title%",
  210. "category": "%configuration.title%"
  211. },
  212. {
  213. "command": "kilo-code.terminalAddToContext",
  214. "title": "%command.terminal.addToContext.title%",
  215. "category": "%extension.displayName%"
  216. },
  217. {
  218. "command": "kilo-code.terminalFixCommand",
  219. "title": "%command.terminal.fixCommand.title%",
  220. "category": "%extension.displayName%"
  221. },
  222. {
  223. "command": "kilo-code.terminalExplainCommand",
  224. "title": "%command.terminal.explainCommand.title%",
  225. "category": "%extension.displayName%"
  226. },
  227. {
  228. "command": "kilo-code.setCustomStoragePath",
  229. "title": "%command.setCustomStoragePath.title%",
  230. "category": "%configuration.title%"
  231. },
  232. {
  233. "command": "kilo-code.focusChatInput",
  234. "title": "%command.focusInput.title%",
  235. "category": "%configuration.title%"
  236. },
  237. {
  238. "command": "kilo-code.acceptInput",
  239. "title": "%command.acceptInput.title%",
  240. "category": "%configuration.title%"
  241. }
  242. ],
  243. "keybindings": [
  244. {
  245. "command": "kilo-code.focusChatInput",
  246. "key": "ctrl+shift+a",
  247. "mac": "cmd+shift+a",
  248. "when": "true"
  249. },
  250. {
  251. "command": "kilo-code.directFocusChatInput",
  252. "key": "ctrl+shift+k",
  253. "mac": "cmd+shift+k",
  254. "when": "true"
  255. }
  256. ],
  257. "menus": {
  258. "editor/context": [
  259. {
  260. "submenu": "kilo-code.contextMenu",
  261. "group": "navigation"
  262. }
  263. ],
  264. "kilo-code.contextMenu": [
  265. {
  266. "command": "kilo-code.explainCode",
  267. "group": "1_actions@1"
  268. },
  269. {
  270. "command": "kilo-code.fixCode",
  271. "group": "1_actions@2"
  272. },
  273. {
  274. "command": "kilo-code.improveCode",
  275. "group": "1_actions@3"
  276. },
  277. {
  278. "command": "kilo-code.addToContext",
  279. "group": "1_actions@4"
  280. }
  281. ],
  282. "terminal/context": [
  283. {
  284. "submenu": "kilo-code.terminalMenu",
  285. "group": "navigation"
  286. }
  287. ],
  288. "kilo-code.terminalMenu": [
  289. {
  290. "command": "kilo-code.terminalAddToContext",
  291. "group": "1_actions@1"
  292. },
  293. {
  294. "command": "kilo-code.terminalFixCommand",
  295. "group": "1_actions@2"
  296. },
  297. {
  298. "command": "kilo-code.terminalExplainCommand",
  299. "group": "1_actions@3"
  300. }
  301. ],
  302. "view/title": [
  303. {
  304. "command": "kilo-code.plusButtonClicked",
  305. "group": "navigation@1",
  306. "when": "view == kilo-code.SidebarProvider"
  307. },
  308. {
  309. "command": "kilo-code.historyButtonClicked",
  310. "group": "navigation@2",
  311. "when": "view == kilo-code.SidebarProvider"
  312. },
  313. {
  314. "command": "kilo-code.mcpButtonClicked",
  315. "group": "navigation@3",
  316. "when": "view == kilo-code.SidebarProvider"
  317. },
  318. {
  319. "command": "kilo-code.settingsButtonClicked",
  320. "group": "navigation@4",
  321. "when": "view == kilo-code.SidebarProvider"
  322. },
  323. {
  324. "command": "kilo-code.popoutButtonClicked",
  325. "group": "navigation@5",
  326. "when": "view == kilo-code.SidebarProvider"
  327. },
  328. {
  329. "command": "kilo-code.helpButtonClicked",
  330. "group": "navigation@6",
  331. "when": "false && view == kilo-code.SidebarProvider"
  332. }
  333. ],
  334. "editor/title": [
  335. {
  336. "command": "kilo-code.plusButtonClicked",
  337. "group": "navigation@1",
  338. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  339. },
  340. {
  341. "command": "kilo-code.promptsButtonClicked",
  342. "group": "navigation@2",
  343. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  344. },
  345. {
  346. "command": "kilo-code.historyButtonClicked",
  347. "group": "navigation@3",
  348. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  349. },
  350. {
  351. "command": "kilo-code.popoutButtonClicked",
  352. "group": "navigation@4",
  353. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  354. },
  355. {
  356. "command": "kilo-code.settingsButtonClicked",
  357. "group": "navigation@5",
  358. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  359. },
  360. {
  361. "command": "kilo-code.helpButtonClicked",
  362. "group": "navigation@6",
  363. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  364. }
  365. ]
  366. },
  367. "configuration": {
  368. "title": "%configuration.title%",
  369. "properties": {
  370. "kilo-code.allowedCommands": {
  371. "type": "array",
  372. "items": {
  373. "type": "string"
  374. },
  375. "default": [
  376. "npm test",
  377. "npm install",
  378. "tsc",
  379. "git log",
  380. "git diff",
  381. "git show"
  382. ],
  383. "description": "%commands.allowedCommands.description%"
  384. },
  385. "kilo-code.vsCodeLmModelSelector": {
  386. "type": "object",
  387. "properties": {
  388. "vendor": {
  389. "type": "string",
  390. "description": "%settings.vsCodeLmModelSelector.vendor.description%"
  391. },
  392. "family": {
  393. "type": "string",
  394. "description": "%settings.vsCodeLmModelSelector.family.description%"
  395. }
  396. },
  397. "description": "%settings.vsCodeLmModelSelector.description%"
  398. },
  399. "kilo-code.customStoragePath": {
  400. "type": "string",
  401. "default": "",
  402. "description": "%settings.customStoragePath.description%"
  403. }
  404. }
  405. }
  406. },
  407. "scripts": {
  408. "build": "npm run vsix",
  409. "build:webview": "cd webview-ui && npm run build",
  410. "build:esbuild": "node esbuild.js --production",
  411. "compile": "tsc -p . --outDir out && node esbuild.js",
  412. "install:all": "npm install npm-run-all && npm-run-all -l -p install-*",
  413. "install-extension": "npm install",
  414. "install-webview": "cd webview-ui && npm install",
  415. "install-e2e": "cd e2e && npm install",
  416. "lint": "npm-run-all -l -p lint:*",
  417. "lint:extension": "eslint src --ext .ts",
  418. "lint:webview": "cd webview-ui && npm run lint",
  419. "lint:e2e": "cd e2e && npm run lint",
  420. "check-types": "npm-run-all -l -p check-types:*",
  421. "check-types:extension": "tsc --noEmit",
  422. "check-types:webview": "cd webview-ui && npm run check-types",
  423. "check-types:e2e": "cd e2e && npm run check-types",
  424. "package": "npm-run-all -l -p build:webview build:esbuild check-types lint",
  425. "pretest": "npm run compile",
  426. "dev": "cd webview-ui && npm run dev",
  427. "test": "node scripts/run-tests.js",
  428. "test:extension": "jest -w=40%",
  429. "test:webview": "cd webview-ui && npm run test",
  430. "prepare": "husky",
  431. "publish:marketplace": "vsce publish && ovsx publish",
  432. "publish": "npm run build && changeset publish && npm install --package-lock-only",
  433. "version-packages": "changeset version && npm install --package-lock-only",
  434. "vscode:prepublish": "npm run package",
  435. "vsix": "rimraf bin && mkdirp bin && npx vsce package --out bin",
  436. "watch": "npm-run-all -l -p watch:*",
  437. "watch:esbuild": "node esbuild.js --watch",
  438. "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
  439. "watch-tests": "tsc -p . -w --outDir out",
  440. "changeset": "changeset",
  441. "knip": "knip --include files",
  442. "clean": "npm-run-all -l -p clean:*",
  443. "clean:extension": "rimraf bin dist out",
  444. "clean:webview": "cd webview-ui && npm run clean",
  445. "clean:e2e": "cd e2e && npm run clean",
  446. "vscode-test": "npm-run-all -l -p vscode-test:*",
  447. "vscode-test:extension": "tsc -p . --outDir out && node esbuild.js",
  448. "vscode-test:webview": "cd webview-ui && npm run build",
  449. "update-contributors": "node scripts/update-contributors.js",
  450. "generate-types": "tsx scripts/generate-types.mts"
  451. },
  452. "dependencies": {
  453. "@anthropic-ai/bedrock-sdk": "^0.10.2",
  454. "@anthropic-ai/sdk": "^0.37.0",
  455. "@anthropic-ai/vertex-sdk": "^0.7.0",
  456. "@aws-sdk/client-bedrock-runtime": "^3.779.0",
  457. "@google/genai": "^0.12.0",
  458. "@mistralai/mistralai": "^1.3.6",
  459. "@modelcontextprotocol/sdk": "^1.7.0",
  460. "@types/clone-deep": "^4.0.4",
  461. "@types/pdf-parse": "^1.1.4",
  462. "@types/tmp": "^0.2.6",
  463. "@types/turndown": "^5.0.5",
  464. "@types/vscode": "^1.95.0",
  465. "@vscode/codicons": "^0.0.36",
  466. "axios": "^1.7.4",
  467. "cheerio": "^1.0.0",
  468. "chokidar": "^4.0.1",
  469. "clone-deep": "^4.0.1",
  470. "default-shell": "^2.2.0",
  471. "delay": "^6.0.0",
  472. "diff": "^5.2.0",
  473. "diff-match-patch": "^1.0.5",
  474. "fast-deep-equal": "^3.1.3",
  475. "fast-xml-parser": "^4.5.1",
  476. "fastest-levenshtein": "^1.0.16",
  477. "fzf": "^0.5.2",
  478. "get-folder-size": "^5.0.0",
  479. "i18next": "^24.2.2",
  480. "isbinaryfile": "^5.0.2",
  481. "mammoth": "^1.8.0",
  482. "monaco-vscode-textmate-theme-converter": "^0.1.7",
  483. "node-cache": "^5.1.2",
  484. "node-ipc": "^12.0.0",
  485. "openai": "^4.78.1",
  486. "os-name": "^6.0.0",
  487. "p-wait-for": "^5.0.2",
  488. "pdf-parse": "^1.1.1",
  489. "pkce-challenge": "^4.1.0",
  490. "posthog-node": "^4.7.0",
  491. "pretty-bytes": "^6.1.1",
  492. "ps-tree": "^1.2.0",
  493. "puppeteer-chromium-resolver": "^23.0.0",
  494. "puppeteer-core": "^23.4.0",
  495. "reconnecting-eventsource": "^1.6.4",
  496. "say": "^0.16.0",
  497. "serialize-error": "^11.0.3",
  498. "simple-git": "^3.27.0",
  499. "sound-play": "^1.1.0",
  500. "string-similarity": "^4.0.4",
  501. "strip-ansi": "^7.1.0",
  502. "strip-bom": "^5.0.0",
  503. "tiktoken": "^1.0.21",
  504. "tmp": "^0.2.3",
  505. "tree-sitter-wasms": "^0.1.11",
  506. "turndown": "^7.2.0",
  507. "vscode-material-icons": "^0.1.1",
  508. "web-tree-sitter": "^0.22.6",
  509. "workerpool": "^9.2.0",
  510. "zod": "^3.23.8"
  511. },
  512. "devDependencies": {
  513. "@changesets/cli": "^2.27.10",
  514. "@changesets/types": "^6.0.0",
  515. "@dotenvx/dotenvx": "^1.34.0",
  516. "@types/debug": "^4.1.12",
  517. "@types/diff": "^5.2.1",
  518. "@types/diff-match-patch": "^1.0.36",
  519. "@types/glob": "^8.1.0",
  520. "@types/jest": "^29.5.14",
  521. "@types/mocha": "^10.0.10",
  522. "@types/node": "20.x",
  523. "@types/node-cache": "^4.1.3",
  524. "@types/node-ipc": "^9.2.3",
  525. "@types/ps-tree": "^1.1.6",
  526. "@types/string-similarity": "^4.0.2",
  527. "@typescript-eslint/eslint-plugin": "^7.14.1",
  528. "@typescript-eslint/parser": "^7.11.0",
  529. "@vscode/test-electron": "^2.5.2",
  530. "@vscode/vsce": "^3.3.2",
  531. "esbuild": "^0.24.0",
  532. "eslint": "^8.57.0",
  533. "execa": "^9.5.2",
  534. "glob": "^11.0.1",
  535. "husky": "^9.1.7",
  536. "jest": "^29.7.0",
  537. "jest-simple-dot-reporter": "^1.0.5",
  538. "knip": "^5.44.4",
  539. "lint-staged": "^15.2.11",
  540. "mkdirp": "^3.0.1",
  541. "nock": "^14.0.4",
  542. "npm-run-all": "^4.1.5",
  543. "prettier": "^3.4.2",
  544. "rimraf": "^6.0.1",
  545. "ts-jest": "^29.2.5",
  546. "tsup": "^8.4.0",
  547. "tsx": "^4.19.3",
  548. "typescript": "^5.4.5",
  549. "zod-to-ts": "^1.2.0"
  550. },
  551. "lint-staged": {
  552. "*.{js,jsx,ts,tsx,json,css,md}": [
  553. "prettier --write"
  554. ],
  555. "src/**/*.{ts,tsx}": [
  556. "npx eslint -c .eslintrc.json --max-warnings=0 --fix"
  557. ],
  558. "webview-ui/**/*.{ts,tsx}": [
  559. "npx eslint -c webview-ui/.eslintrc.json --max-warnings=0 --fix"
  560. ]
  561. }
  562. }