package.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585
  1. {
  2. "name": "kilo-code",
  3. "displayName": "%extension.displayName%",
  4. "description": "%extension.description%",
  5. "publisher": "kilocode",
  6. "version": "4.28.1",
  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.promptsButtonClicked",
  154. "title": "%command.prompts.title%",
  155. "icon": "$(notebook)"
  156. },
  157. {
  158. "command": "kilo-code.historyButtonClicked",
  159. "title": "%command.history.title%",
  160. "icon": "$(history)"
  161. },
  162. {
  163. "command": "kilo-code.popoutButtonClicked",
  164. "title": "%command.openInEditor.title%",
  165. "icon": "$(link-external)"
  166. },
  167. {
  168. "command": "kilo-code.settingsButtonClicked",
  169. "title": "%command.settings.title%",
  170. "icon": "$(settings-gear)"
  171. },
  172. {
  173. "command": "kilo-code.helpButtonClicked",
  174. "title": "%command.documentation.title%",
  175. "icon": "$(question)"
  176. },
  177. {
  178. "command": "kilo-code.openInNewTab",
  179. "title": "%command.openInNewTab.title%",
  180. "category": "%configuration.title%"
  181. },
  182. {
  183. "command": "kilo-code.explainCode",
  184. "title": "%command.explainCode.title%",
  185. "category": "%configuration.title%"
  186. },
  187. {
  188. "command": "kilo-code.fixCode",
  189. "title": "%command.fixCode.title%",
  190. "category": "%configuration.title%"
  191. },
  192. {
  193. "command": "kilo-code.improveCode",
  194. "title": "%command.improveCode.title%",
  195. "category": "%configuration.title%"
  196. },
  197. {
  198. "command": "kilo-code.addToContext",
  199. "title": "%command.addToContext.title%",
  200. "category": "%configuration.title%"
  201. },
  202. {
  203. "command": "kilo-code.quickCommand",
  204. "title": "Quick Command",
  205. "category": "Kilo Code",
  206. "icon": "$(comment)"
  207. },
  208. {
  209. "command": "kilo-code.newTask",
  210. "title": "%command.newTask.title%",
  211. "category": "%configuration.title%"
  212. },
  213. {
  214. "command": "kilo-code.terminalAddToContext",
  215. "title": "%command.terminal.addToContext.title%",
  216. "category": "%extension.displayName%"
  217. },
  218. {
  219. "command": "kilo-code.terminalFixCommand",
  220. "title": "%command.terminal.fixCommand.title%",
  221. "category": "%extension.displayName%"
  222. },
  223. {
  224. "command": "kilo-code.terminalExplainCommand",
  225. "title": "%command.terminal.explainCommand.title%",
  226. "category": "%extension.displayName%"
  227. },
  228. {
  229. "command": "kilo-code.setCustomStoragePath",
  230. "title": "%command.setCustomStoragePath.title%",
  231. "category": "%configuration.title%"
  232. },
  233. {
  234. "command": "kilo-code.focusChatInput",
  235. "title": "%command.focusInput.title%",
  236. "category": "%configuration.title%"
  237. },
  238. {
  239. "command": "kilo-code.acceptInput",
  240. "title": "%command.acceptInput.title%",
  241. "category": "%configuration.title%"
  242. },
  243. {
  244. "command": "kilo-code.profileButtonClicked",
  245. "title": "%command.profile.title%",
  246. "icon": "$(account)",
  247. "category": "%configuration.title%"
  248. }
  249. ],
  250. "keybindings": [
  251. {
  252. "command": "kilo-code.focusChatInput",
  253. "key": "ctrl+shift+a",
  254. "mac": "cmd+shift+a",
  255. "when": "true"
  256. },
  257. {
  258. "command": "kilo-code.directFocusChatInput",
  259. "key": "ctrl+shift+k",
  260. "mac": "cmd+shift+k",
  261. "when": "true"
  262. },
  263. {
  264. "command": "kilo-code.quickCommand",
  265. "key": "ctrl+shift+m",
  266. "mac": "cmd+shift+m",
  267. "when": "editorTextFocus"
  268. }
  269. ],
  270. "menus": {
  271. "editor/context": [
  272. {
  273. "submenu": "kilo-code.contextMenu",
  274. "group": "navigation"
  275. }
  276. ],
  277. "kilo-code.contextMenu": [
  278. {
  279. "command": "kilo-code.explainCode",
  280. "group": "1_actions@1"
  281. },
  282. {
  283. "command": "kilo-code.fixCode",
  284. "group": "1_actions@2"
  285. },
  286. {
  287. "command": "kilo-code.improveCode",
  288. "group": "1_actions@3"
  289. },
  290. {
  291. "command": "kilo-code.addToContext",
  292. "group": "1_actions@4"
  293. }
  294. ],
  295. "terminal/context": [
  296. {
  297. "submenu": "kilo-code.terminalMenu",
  298. "group": "navigation"
  299. }
  300. ],
  301. "kilo-code.terminalMenu": [
  302. {
  303. "command": "kilo-code.terminalAddToContext",
  304. "group": "1_actions@1"
  305. },
  306. {
  307. "command": "kilo-code.terminalFixCommand",
  308. "group": "1_actions@2"
  309. },
  310. {
  311. "command": "kilo-code.terminalExplainCommand",
  312. "group": "1_actions@3"
  313. }
  314. ],
  315. "view/title": [
  316. {
  317. "command": "kilo-code.plusButtonClicked",
  318. "group": "navigation@1",
  319. "when": "view == kilo-code.SidebarProvider"
  320. },
  321. {
  322. "command": "kilo-code.promptsButtonClicked",
  323. "group": "navigation@2",
  324. "when": "view == kilo-code.SidebarProvider"
  325. },
  326. {
  327. "command": "kilo-code.historyButtonClicked",
  328. "group": "navigation@3",
  329. "when": "view == kilo-code.SidebarProvider"
  330. },
  331. {
  332. "command": "kilo-code.profileButtonClicked",
  333. "group": "navigation@4",
  334. "when": "view == kilo-code.SidebarProvider"
  335. },
  336. {
  337. "command": "kilo-code.settingsButtonClicked",
  338. "group": "navigation@5",
  339. "when": "view == kilo-code.SidebarProvider"
  340. },
  341. {
  342. "command": "kilo-code.popoutButtonClicked",
  343. "group": "navigation@6",
  344. "when": "view == kilo-code.SidebarProvider"
  345. },
  346. {
  347. "command": "kilo-code.helpButtonClicked",
  348. "group": "navigation@7",
  349. "when": "false && view == kilo-code.SidebarProvider"
  350. }
  351. ],
  352. "editor/title": [
  353. {
  354. "command": "kilo-code.plusButtonClicked",
  355. "group": "navigation@1",
  356. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  357. },
  358. {
  359. "command": "kilo-code.promptsButtonClicked",
  360. "group": "navigation@2",
  361. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  362. },
  363. {
  364. "command": "kilo-code.historyButtonClicked",
  365. "group": "navigation@3",
  366. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  367. },
  368. {
  369. "command": "kilo-code.popoutButtonClicked",
  370. "group": "navigation@4",
  371. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  372. },
  373. {
  374. "command": "kilo-code.settingsButtonClicked",
  375. "group": "navigation@5",
  376. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  377. },
  378. {
  379. "command": "kilo-code.helpButtonClicked",
  380. "group": "navigation@6",
  381. "when": "activeWebviewPanelId == kilo-code.TabPanelProvider"
  382. }
  383. ]
  384. },
  385. "configuration": {
  386. "title": "%configuration.title%",
  387. "properties": {
  388. "kilo-code.allowedCommands": {
  389. "type": "array",
  390. "items": {
  391. "type": "string"
  392. },
  393. "default": [
  394. "npm test",
  395. "npm install",
  396. "tsc",
  397. "git log",
  398. "git diff",
  399. "git show"
  400. ],
  401. "description": "%commands.allowedCommands.description%"
  402. },
  403. "kilo-code.vsCodeLmModelSelector": {
  404. "type": "object",
  405. "properties": {
  406. "vendor": {
  407. "type": "string",
  408. "description": "%settings.vsCodeLmModelSelector.vendor.description%"
  409. },
  410. "family": {
  411. "type": "string",
  412. "description": "%settings.vsCodeLmModelSelector.family.description%"
  413. }
  414. },
  415. "description": "%settings.vsCodeLmModelSelector.description%"
  416. },
  417. "kilo-code.customStoragePath": {
  418. "type": "string",
  419. "default": "",
  420. "description": "%settings.customStoragePath.description%"
  421. }
  422. }
  423. }
  424. },
  425. "scripts": {
  426. "build": "npm run vsix",
  427. "build:webview": "cd webview-ui && npm run build",
  428. "build:esbuild": "node esbuild.js --production",
  429. "compile": "tsc -p . --outDir out && node esbuild.js",
  430. "install:all": "npm install -D [email protected] && npm-run-all -l -p install-*",
  431. "install-extension": "npm install",
  432. "install-webview": "cd webview-ui && npm install",
  433. "install-e2e": "cd e2e && npm install",
  434. "lint": "npm-run-all -l -p lint:*",
  435. "lint:extension": "eslint src --ext .ts",
  436. "lint:webview": "cd webview-ui && npm run lint",
  437. "lint:e2e": "cd e2e && npm run lint",
  438. "check-types": "npm-run-all -l -p check-types:*",
  439. "check-types:extension": "tsc --noEmit",
  440. "check-types:webview": "cd webview-ui && npm run check-types",
  441. "check-types:e2e": "cd e2e && npm run check-types",
  442. "package": "npm-run-all -l -p build:webview build:esbuild check-types lint",
  443. "pretest": "npm run compile",
  444. "dev": "cd webview-ui && npm run dev",
  445. "test": "npm-run-all test:*",
  446. "test:extension": "jest -w=40%",
  447. "test:extension-esm": "vitest run",
  448. "test:webview": "cd webview-ui && npm run test",
  449. "prepare": "husky",
  450. "publish:marketplace": "npx vsce publish && npx ovsx publish",
  451. "publish": "npm run build && changeset publish && npm install --package-lock-only",
  452. "version-packages": "changeset version && npm install --package-lock-only",
  453. "vscode:prepublish": "npm run package",
  454. "vsix": "rimraf bin && mkdirp bin && npx vsce package --out bin",
  455. "watch": "npm-run-all -l -p watch:*",
  456. "watch:esbuild": "node esbuild.js --watch",
  457. "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
  458. "watch-tests": "tsc -p . -w --outDir out",
  459. "changeset": "changeset",
  460. "knip": "knip --include files",
  461. "clean": "npm-run-all -l -p clean:*",
  462. "clean:extension": "rimraf bin dist out",
  463. "clean:webview": "cd webview-ui && npm run clean",
  464. "clean:e2e": "cd e2e && npm run clean",
  465. "vscode-test": "npm-run-all -l -p vscode-test:*",
  466. "vscode-test:extension": "tsc -p . --outDir out && node esbuild.js",
  467. "vscode-test:webview": "cd webview-ui && npm run build",
  468. "update-contributors": "node scripts/update-contributors.js",
  469. "generate-types": "tsx scripts/generate-types.mts"
  470. },
  471. "dependencies": {
  472. "@anthropic-ai/bedrock-sdk": "^0.22.0",
  473. "@anthropic-ai/sdk": "^0.51.0",
  474. "@anthropic-ai/vertex-sdk": "^0.11.3",
  475. "@aws-sdk/client-bedrock-runtime": "^3.812.0",
  476. "@google/genai": "^0.13.0",
  477. "@mistralai/mistralai": "^1.6.0",
  478. "@modelcontextprotocol/sdk": "^1.11.4",
  479. "@types/clone-deep": "^4.0.4",
  480. "@types/pdf-parse": "^1.1.4",
  481. "@types/tmp": "^0.2.6",
  482. "@types/turndown": "^5.0.5",
  483. "@types/vscode": "^1.95.0",
  484. "@vscode/codicons": "^0.0.36",
  485. "axios": "^1.7.4",
  486. "cheerio": "^1.0.0",
  487. "chokidar": "^4.0.1",
  488. "clone-deep": "^4.0.1",
  489. "default-shell": "^2.2.0",
  490. "delay": "^6.0.0",
  491. "diff": "^5.2.0",
  492. "diff-match-patch": "^1.0.5",
  493. "fast-deep-equal": "^3.1.3",
  494. "fast-xml-parser": "^4.5.1",
  495. "fastest-levenshtein": "^1.0.16",
  496. "fzf": "^0.5.2",
  497. "get-folder-size": "^5.0.0",
  498. "i18next": "^24.2.2",
  499. "isbinaryfile": "^5.0.2",
  500. "mammoth": "^1.8.0",
  501. "monaco-vscode-textmate-theme-converter": "^0.1.7",
  502. "node-cache": "^5.1.2",
  503. "node-ipc": "^12.0.0",
  504. "openai": "^4.100.0",
  505. "os-name": "^6.0.0",
  506. "p-wait-for": "^5.0.2",
  507. "pdf-parse": "^1.1.1",
  508. "pkce-challenge": "^4.1.0",
  509. "posthog-node": "^4.7.0",
  510. "pretty-bytes": "^6.1.1",
  511. "ps-tree": "^1.2.0",
  512. "puppeteer-chromium-resolver": "^23.0.0",
  513. "puppeteer-core": "^23.4.0",
  514. "reconnecting-eventsource": "^1.6.4",
  515. "sanitize-filename": "^1.6.3",
  516. "say": "^0.16.0",
  517. "serialize-error": "^11.0.3",
  518. "simple-git": "^3.27.0",
  519. "sound-play": "^1.1.0",
  520. "string-similarity": "^4.0.4",
  521. "strip-ansi": "^7.1.0",
  522. "strip-bom": "^5.0.0",
  523. "tiktoken": "^1.0.21",
  524. "tmp": "^0.2.3",
  525. "tree-sitter-wasms": "^0.1.11",
  526. "turndown": "^7.2.0",
  527. "vscode-material-icons": "^0.1.1",
  528. "web-tree-sitter": "^0.22.6",
  529. "workerpool": "^9.2.0",
  530. "zod": "^3.24.2"
  531. },
  532. "devDependencies": {
  533. "@changesets/changelog-github": "^0.5.1",
  534. "@changesets/cli": "^2.27.10",
  535. "@changesets/types": "^6.0.0",
  536. "@dotenvx/dotenvx": "^1.34.0",
  537. "@types/debug": "^4.1.12",
  538. "@types/diff": "^5.2.1",
  539. "@types/diff-match-patch": "^1.0.36",
  540. "@types/glob": "^8.1.0",
  541. "@types/jest": "^29.5.14",
  542. "@types/mocha": "^10.0.10",
  543. "@types/node": "20.x",
  544. "@types/node-cache": "^4.1.3",
  545. "@types/node-ipc": "^9.2.3",
  546. "@types/ps-tree": "^1.1.6",
  547. "@types/string-similarity": "^4.0.2",
  548. "@typescript-eslint/eslint-plugin": "^7.14.1",
  549. "@typescript-eslint/parser": "^7.11.0",
  550. "@vscode/test-electron": "^2.5.2",
  551. "@vscode/vsce": "^3.4.1",
  552. "esbuild": "^0.25.0",
  553. "eslint": "^8.57.0",
  554. "execa": "^9.5.2",
  555. "glob": "^11.0.1",
  556. "husky": "^9.1.7",
  557. "jest": "^29.7.0",
  558. "jest-simple-dot-reporter": "^1.0.5",
  559. "knip": "^5.44.4",
  560. "lint-staged": "^15.2.11",
  561. "mkdirp": "^3.0.1",
  562. "nock": "^14.0.4",
  563. "npm-run-all2": "^8.0.1",
  564. "ovsx": "0.10.2",
  565. "prettier": "^3.4.2",
  566. "rimraf": "^6.0.1",
  567. "ts-jest": "^29.2.5",
  568. "tsup": "^8.4.0",
  569. "tsx": "^4.19.3",
  570. "typescript": "5.8.3",
  571. "vitest": "^3.1.3",
  572. "zod-to-ts": "^1.2.0"
  573. },
  574. "lint-staged": {
  575. "*.{js,jsx,ts,tsx,json,css,md}": [
  576. "prettier --write"
  577. ],
  578. "src/**/*.{ts,tsx}": [
  579. "npx eslint -c .eslintrc.json --max-warnings=0 --fix"
  580. ],
  581. "webview-ui/**/*.{ts,tsx}": [
  582. "npx eslint -c webview-ui/.eslintrc.json --max-warnings=0 --fix"
  583. ]
  584. }
  585. }