package.json 15 KB

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