package.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. {
  2. "name": "roo-cline",
  3. "displayName": "%extension.displayName%",
  4. "description": "%extension.description%",
  5. "publisher": "RooVeterinaryInc",
  6. "version": "3.15.3",
  7. "icon": "assets/icons/icon.png",
  8. "galleryBanner": {
  9. "color": "#617A91",
  10. "theme": "dark"
  11. },
  12. "engines": {
  13. "vscode": "^1.84.0",
  14. "node": "20.18.1"
  15. },
  16. "author": {
  17. "name": "Roo Code"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "https://github.com/RooVetGit/Roo-Code"
  22. },
  23. "homepage": "https://github.com/RooVetGit/Roo-Code",
  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. "roo code",
  46. "roocode"
  47. ],
  48. "activationEvents": [
  49. "onLanguage",
  50. "onStartupFinished"
  51. ],
  52. "main": "./dist/extension.js",
  53. "contributes": {
  54. "submenus": [
  55. {
  56. "id": "roo-code.contextMenu",
  57. "label": "%views.contextMenu.label%"
  58. },
  59. {
  60. "id": "roo-code.terminalMenu",
  61. "label": "%views.terminalMenu.label%"
  62. }
  63. ],
  64. "viewsContainers": {
  65. "activitybar": [
  66. {
  67. "id": "roo-cline-ActivityBar",
  68. "title": "%views.activitybar.title%",
  69. "icon": "assets/icons/icon.svg"
  70. }
  71. ]
  72. },
  73. "views": {
  74. "roo-cline-ActivityBar": [
  75. {
  76. "type": "webview",
  77. "id": "roo-cline.SidebarProvider",
  78. "name": ""
  79. }
  80. ]
  81. },
  82. "commands": [
  83. {
  84. "command": "roo-cline.plusButtonClicked",
  85. "title": "%command.newTask.title%",
  86. "icon": "$(add)"
  87. },
  88. {
  89. "command": "roo-cline.mcpButtonClicked",
  90. "title": "%command.mcpServers.title%",
  91. "icon": "$(server)"
  92. },
  93. {
  94. "command": "roo-cline.promptsButtonClicked",
  95. "title": "%command.prompts.title%",
  96. "icon": "$(notebook)"
  97. },
  98. {
  99. "command": "roo-cline.historyButtonClicked",
  100. "title": "%command.history.title%",
  101. "icon": "$(history)"
  102. },
  103. {
  104. "command": "roo-cline.popoutButtonClicked",
  105. "title": "%command.openInEditor.title%",
  106. "icon": "$(link-external)"
  107. },
  108. {
  109. "command": "roo-cline.settingsButtonClicked",
  110. "title": "%command.settings.title%",
  111. "icon": "$(settings-gear)"
  112. },
  113. {
  114. "command": "roo-cline.helpButtonClicked",
  115. "title": "%command.documentation.title%",
  116. "icon": "$(question)"
  117. },
  118. {
  119. "command": "roo-cline.openInNewTab",
  120. "title": "%command.openInNewTab.title%",
  121. "category": "%configuration.title%"
  122. },
  123. {
  124. "command": "roo-cline.explainCode",
  125. "title": "%command.explainCode.title%",
  126. "category": "%configuration.title%"
  127. },
  128. {
  129. "command": "roo-cline.fixCode",
  130. "title": "%command.fixCode.title%",
  131. "category": "%configuration.title%"
  132. },
  133. {
  134. "command": "roo-cline.improveCode",
  135. "title": "%command.improveCode.title%",
  136. "category": "%configuration.title%"
  137. },
  138. {
  139. "command": "roo-cline.addToContext",
  140. "title": "%command.addToContext.title%",
  141. "category": "%configuration.title%"
  142. },
  143. {
  144. "command": "roo-cline.newTask",
  145. "title": "%command.newTask.title%",
  146. "category": "%configuration.title%"
  147. },
  148. {
  149. "command": "roo-cline.terminalAddToContext",
  150. "title": "%command.terminal.addToContext.title%",
  151. "category": "Terminal"
  152. },
  153. {
  154. "command": "roo-cline.terminalFixCommand",
  155. "title": "%command.terminal.fixCommand.title%",
  156. "category": "Terminal"
  157. },
  158. {
  159. "command": "roo-cline.terminalExplainCommand",
  160. "title": "%command.terminal.explainCommand.title%",
  161. "category": "Terminal"
  162. },
  163. {
  164. "command": "roo-cline.setCustomStoragePath",
  165. "title": "%command.setCustomStoragePath.title%",
  166. "category": "%configuration.title%"
  167. },
  168. {
  169. "command": "roo-cline.focusInput",
  170. "title": "%command.focusInput.title%",
  171. "category": "%configuration.title%"
  172. },
  173. {
  174. "command": "roo.acceptInput",
  175. "title": "%command.acceptInput.title%",
  176. "category": "%configuration.title%"
  177. }
  178. ],
  179. "menus": {
  180. "editor/context": [
  181. {
  182. "submenu": "roo-code.contextMenu",
  183. "group": "navigation"
  184. }
  185. ],
  186. "roo-code.contextMenu": [
  187. {
  188. "command": "roo-cline.addToContext",
  189. "group": "1_actions@1"
  190. },
  191. {
  192. "command": "roo-cline.explainCode",
  193. "group": "1_actions@2"
  194. },
  195. {
  196. "command": "roo-cline.improveCode",
  197. "group": "1_actions@3"
  198. }
  199. ],
  200. "terminal/context": [
  201. {
  202. "submenu": "roo-code.terminalMenu",
  203. "group": "navigation"
  204. }
  205. ],
  206. "roo-code.terminalMenu": [
  207. {
  208. "command": "roo-cline.terminalAddToContext",
  209. "group": "1_actions@1"
  210. },
  211. {
  212. "command": "roo-cline.terminalFixCommand",
  213. "group": "1_actions@2"
  214. },
  215. {
  216. "command": "roo-cline.terminalExplainCommand",
  217. "group": "1_actions@3"
  218. }
  219. ],
  220. "view/title": [
  221. {
  222. "command": "roo-cline.plusButtonClicked",
  223. "group": "navigation@1",
  224. "when": "view == roo-cline.SidebarProvider"
  225. },
  226. {
  227. "command": "roo-cline.promptsButtonClicked",
  228. "group": "navigation@2",
  229. "when": "view == roo-cline.SidebarProvider"
  230. },
  231. {
  232. "command": "roo-cline.mcpButtonClicked",
  233. "group": "navigation@3",
  234. "when": "view == roo-cline.SidebarProvider"
  235. },
  236. {
  237. "command": "roo-cline.historyButtonClicked",
  238. "group": "navigation@4",
  239. "when": "view == roo-cline.SidebarProvider"
  240. },
  241. {
  242. "command": "roo-cline.popoutButtonClicked",
  243. "group": "navigation@5",
  244. "when": "view == roo-cline.SidebarProvider"
  245. },
  246. {
  247. "command": "roo-cline.settingsButtonClicked",
  248. "group": "navigation@6",
  249. "when": "view == roo-cline.SidebarProvider"
  250. },
  251. {
  252. "command": "roo-cline.helpButtonClicked",
  253. "group": "navigation@7",
  254. "when": "view == roo-cline.SidebarProvider"
  255. }
  256. ],
  257. "editor/title": [
  258. {
  259. "command": "roo-cline.plusButtonClicked",
  260. "group": "navigation@1",
  261. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  262. },
  263. {
  264. "command": "roo-cline.promptsButtonClicked",
  265. "group": "navigation@2",
  266. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  267. },
  268. {
  269. "command": "roo-cline.mcpButtonClicked",
  270. "group": "navigation@3",
  271. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  272. },
  273. {
  274. "command": "roo-cline.historyButtonClicked",
  275. "group": "navigation@4",
  276. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  277. },
  278. {
  279. "command": "roo-cline.popoutButtonClicked",
  280. "group": "navigation@5",
  281. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  282. },
  283. {
  284. "command": "roo-cline.settingsButtonClicked",
  285. "group": "navigation@6",
  286. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  287. },
  288. {
  289. "command": "roo-cline.helpButtonClicked",
  290. "group": "navigation@7",
  291. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  292. }
  293. ]
  294. },
  295. "configuration": {
  296. "title": "%configuration.title%",
  297. "properties": {
  298. "roo-cline.allowedCommands": {
  299. "type": "array",
  300. "items": {
  301. "type": "string"
  302. },
  303. "default": [
  304. "npm test",
  305. "npm install",
  306. "tsc",
  307. "git log",
  308. "git diff",
  309. "git show"
  310. ],
  311. "description": "%commands.allowedCommands.description%"
  312. },
  313. "roo-cline.vsCodeLmModelSelector": {
  314. "type": "object",
  315. "properties": {
  316. "vendor": {
  317. "type": "string",
  318. "description": "%settings.vsCodeLmModelSelector.vendor.description%"
  319. },
  320. "family": {
  321. "type": "string",
  322. "description": "%settings.vsCodeLmModelSelector.family.description%"
  323. }
  324. },
  325. "description": "%settings.vsCodeLmModelSelector.description%"
  326. },
  327. "roo-cline.customStoragePath": {
  328. "type": "string",
  329. "default": "",
  330. "description": "%settings.customStoragePath.description%"
  331. }
  332. }
  333. }
  334. },
  335. "scripts": {
  336. "build": "npm run vsix",
  337. "build:webview": "cd webview-ui && npm run build",
  338. "build:esbuild": "node esbuild.js --production",
  339. "compile": "tsc -p . --outDir out && node esbuild.js",
  340. "install:all": "npm install npm-run-all && npm-run-all -l -p install-*",
  341. "install-extension": "npm install",
  342. "install-webview": "cd webview-ui && npm install",
  343. "install-e2e": "cd e2e && npm install",
  344. "lint": "npm-run-all -l -p lint:*",
  345. "lint:extension": "eslint src --ext .ts",
  346. "lint:webview": "cd webview-ui && npm run lint",
  347. "lint:e2e": "cd e2e && npm run lint",
  348. "check-types": "npm-run-all -l -p check-types:*",
  349. "check-types:extension": "tsc --noEmit",
  350. "check-types:webview": "cd webview-ui && npm run check-types",
  351. "check-types:e2e": "cd e2e && npm run check-types",
  352. "package": "npm-run-all -l -p build:webview build:esbuild check-types lint",
  353. "pretest": "npm run compile",
  354. "dev": "cd webview-ui && npm run dev",
  355. "test": "node scripts/run-tests.js",
  356. "test:extension": "jest -w=40%",
  357. "test:webview": "cd webview-ui && npm run test",
  358. "prepare": "husky",
  359. "publish:marketplace": "vsce publish && ovsx publish",
  360. "publish": "npm run build && changeset publish && npm install --package-lock-only",
  361. "version-packages": "changeset version && npm install --package-lock-only",
  362. "vscode:prepublish": "npm run package",
  363. "vsix": "rimraf bin && mkdirp bin && npx vsce package --out bin",
  364. "watch": "npm-run-all -l -p watch:*",
  365. "watch:esbuild": "node esbuild.js --watch",
  366. "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
  367. "watch-tests": "tsc -p . -w --outDir out",
  368. "changeset": "changeset",
  369. "knip": "knip --include files",
  370. "clean": "npm-run-all -l -p clean:*",
  371. "clean:extension": "rimraf bin dist out",
  372. "clean:webview": "cd webview-ui && npm run clean",
  373. "clean:e2e": "cd e2e && npm run clean",
  374. "vscode-test": "npm-run-all -l -p vscode-test:*",
  375. "vscode-test:extension": "tsc -p . --outDir out && node esbuild.js",
  376. "vscode-test:webview": "cd webview-ui && npm run build",
  377. "update-contributors": "node scripts/update-contributors.js",
  378. "generate-types": "tsx scripts/generate-types.mts"
  379. },
  380. "dependencies": {
  381. "@anthropic-ai/bedrock-sdk": "^0.10.2",
  382. "@anthropic-ai/sdk": "^0.37.0",
  383. "@anthropic-ai/vertex-sdk": "^0.7.0",
  384. "@aws-sdk/client-bedrock-runtime": "^3.779.0",
  385. "@google/genai": "^0.9.0",
  386. "@mistralai/mistralai": "^1.3.6",
  387. "@modelcontextprotocol/sdk": "^1.7.0",
  388. "@types/clone-deep": "^4.0.4",
  389. "@types/pdf-parse": "^1.1.4",
  390. "@types/tmp": "^0.2.6",
  391. "@types/turndown": "^5.0.5",
  392. "@types/vscode": "^1.95.0",
  393. "@vscode/codicons": "^0.0.36",
  394. "axios": "^1.7.4",
  395. "cheerio": "^1.0.0",
  396. "chokidar": "^4.0.1",
  397. "clone-deep": "^4.0.1",
  398. "default-shell": "^2.2.0",
  399. "delay": "^6.0.0",
  400. "diff": "^5.2.0",
  401. "diff-match-patch": "^1.0.5",
  402. "fast-deep-equal": "^3.1.3",
  403. "fast-xml-parser": "^4.5.1",
  404. "fastest-levenshtein": "^1.0.16",
  405. "fzf": "^0.5.2",
  406. "get-folder-size": "^5.0.0",
  407. "i18next": "^24.2.2",
  408. "isbinaryfile": "^5.0.2",
  409. "mammoth": "^1.8.0",
  410. "monaco-vscode-textmate-theme-converter": "^0.1.7",
  411. "node-cache": "^5.1.2",
  412. "node-ipc": "^12.0.0",
  413. "openai": "^4.78.1",
  414. "os-name": "^6.0.0",
  415. "p-wait-for": "^5.0.2",
  416. "pdf-parse": "^1.1.1",
  417. "pkce-challenge": "^4.1.0",
  418. "posthog-node": "^4.7.0",
  419. "pretty-bytes": "^6.1.1",
  420. "ps-tree": "^1.2.0",
  421. "puppeteer-chromium-resolver": "^23.0.0",
  422. "puppeteer-core": "^23.4.0",
  423. "reconnecting-eventsource": "^1.6.4",
  424. "say": "^0.16.0",
  425. "serialize-error": "^11.0.3",
  426. "simple-git": "^3.27.0",
  427. "sound-play": "^1.1.0",
  428. "string-similarity": "^4.0.4",
  429. "strip-ansi": "^7.1.0",
  430. "strip-bom": "^5.0.0",
  431. "tiktoken": "^1.0.21",
  432. "tmp": "^0.2.3",
  433. "tree-sitter-wasms": "^0.1.11",
  434. "turndown": "^7.2.0",
  435. "vscode-material-icons": "^0.1.1",
  436. "web-tree-sitter": "^0.22.6",
  437. "workerpool": "^9.2.0",
  438. "zod": "^3.23.8"
  439. },
  440. "devDependencies": {
  441. "@changesets/cli": "^2.27.10",
  442. "@changesets/types": "^6.0.0",
  443. "@dotenvx/dotenvx": "^1.34.0",
  444. "@types/debug": "^4.1.12",
  445. "@types/diff": "^5.2.1",
  446. "@types/diff-match-patch": "^1.0.36",
  447. "@types/glob": "^8.1.0",
  448. "@types/jest": "^29.5.14",
  449. "@types/mocha": "^10.0.10",
  450. "@types/node": "20.x",
  451. "@types/node-cache": "^4.1.3",
  452. "@types/node-ipc": "^9.2.3",
  453. "@types/ps-tree": "^1.1.6",
  454. "@types/string-similarity": "^4.0.2",
  455. "@typescript-eslint/eslint-plugin": "^7.14.1",
  456. "@typescript-eslint/parser": "^7.11.0",
  457. "@vscode/test-electron": "^2.5.2",
  458. "@vscode/vsce": "^3.3.2",
  459. "esbuild": "^0.24.0",
  460. "eslint": "^8.57.0",
  461. "execa": "^9.5.2",
  462. "glob": "^11.0.1",
  463. "husky": "^9.1.7",
  464. "jest": "^29.7.0",
  465. "jest-simple-dot-reporter": "^1.0.5",
  466. "knip": "^5.44.4",
  467. "lint-staged": "^15.2.11",
  468. "mkdirp": "^3.0.1",
  469. "nock": "^14.0.4",
  470. "npm-run-all": "^4.1.5",
  471. "prettier": "^3.4.2",
  472. "rimraf": "^6.0.1",
  473. "ts-jest": "^29.2.5",
  474. "tsup": "^8.4.0",
  475. "tsx": "^4.19.3",
  476. "typescript": "^5.4.5",
  477. "zod-to-ts": "^1.2.0"
  478. },
  479. "lint-staged": {
  480. "*.{js,jsx,ts,tsx,json,css,md}": [
  481. "prettier --write"
  482. ],
  483. "src/**/*.{ts,tsx}": [
  484. "npx eslint -c .eslintrc.json --max-warnings=0 --fix"
  485. ],
  486. "webview-ui/**/*.{ts,tsx}": [
  487. "npx eslint -c webview-ui/.eslintrc.json --max-warnings=0 --fix"
  488. ]
  489. }
  490. }