package.json 13 KB

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