package.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. {
  2. "name": "roo-cline",
  3. "displayName": "Roo Code (prev. Roo Cline)",
  4. "description": "A whole dev team of AI agents in your editor.",
  5. "publisher": "RooVeterinaryInc",
  6. "version": "3.10.3",
  7. "icon": "assets/icons/rocket.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 Vet"
  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": "Roo Code"
  58. },
  59. {
  60. "id": "roo-code.terminalMenu",
  61. "label": "Roo Code"
  62. }
  63. ],
  64. "viewsContainers": {
  65. "activitybar": [
  66. {
  67. "id": "roo-cline-ActivityBar",
  68. "title": "Roo Code",
  69. "icon": "$(rocket)"
  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": "New Task",
  86. "icon": "$(add)"
  87. },
  88. {
  89. "command": "roo-cline.mcpButtonClicked",
  90. "title": "MCP Servers",
  91. "icon": "$(server)"
  92. },
  93. {
  94. "command": "roo-cline.promptsButtonClicked",
  95. "title": "Prompts",
  96. "icon": "$(notebook)"
  97. },
  98. {
  99. "command": "roo-cline.historyButtonClicked",
  100. "title": "History",
  101. "icon": "$(history)"
  102. },
  103. {
  104. "command": "roo-cline.popoutButtonClicked",
  105. "title": "Open in Editor",
  106. "icon": "$(link-external)"
  107. },
  108. {
  109. "command": "roo-cline.settingsButtonClicked",
  110. "title": "Settings",
  111. "icon": "$(settings-gear)"
  112. },
  113. {
  114. "command": "roo-cline.helpButtonClicked",
  115. "title": "Documentation",
  116. "icon": "$(question)"
  117. },
  118. {
  119. "command": "roo-cline.openInNewTab",
  120. "title": "Open In New Tab",
  121. "category": "Roo Code"
  122. },
  123. {
  124. "command": "roo-cline.explainCode",
  125. "title": "Explain Code",
  126. "category": "Roo Code"
  127. },
  128. {
  129. "command": "roo-cline.fixCode",
  130. "title": "Fix Code",
  131. "category": "Roo Code"
  132. },
  133. {
  134. "command": "roo-cline.improveCode",
  135. "title": "Improve Code",
  136. "category": "Roo Code"
  137. },
  138. {
  139. "command": "roo-cline.addToContext",
  140. "title": "Add To Context",
  141. "category": "Roo Code"
  142. },
  143. {
  144. "command": "roo-cline.terminalAddToContext",
  145. "title": "Add Terminal Content to Context",
  146. "category": "Terminal"
  147. },
  148. {
  149. "command": "roo-cline.terminalFixCommand",
  150. "title": "Fix This Command",
  151. "category": "Terminal"
  152. },
  153. {
  154. "command": "roo-cline.terminalExplainCommand",
  155. "title": "Explain This Command",
  156. "category": "Terminal"
  157. },
  158. {
  159. "command": "roo-cline.terminalFixCommandInCurrentTask",
  160. "title": "Fix This Command (Current Task)",
  161. "category": "Terminal"
  162. },
  163. {
  164. "command": "roo-cline.terminalExplainCommandInCurrentTask",
  165. "title": "Explain This Command (Current Task)",
  166. "category": "Terminal"
  167. }
  168. ],
  169. "menus": {
  170. "editor/context": [
  171. {
  172. "submenu": "roo-code.contextMenu",
  173. "group": "navigation"
  174. }
  175. ],
  176. "roo-code.contextMenu": [
  177. {
  178. "command": "roo-cline.explainCode",
  179. "group": "1_actions@1"
  180. },
  181. {
  182. "command": "roo-cline.fixCode",
  183. "group": "1_actions@2"
  184. },
  185. {
  186. "command": "roo-cline.improveCode",
  187. "group": "1_actions@3"
  188. },
  189. {
  190. "command": "roo-cline.addToContext",
  191. "group": "1_actions@4"
  192. }
  193. ],
  194. "terminal/context": [
  195. {
  196. "submenu": "roo-code.terminalMenu",
  197. "group": "navigation"
  198. }
  199. ],
  200. "roo-code.terminalMenu": [
  201. {
  202. "command": "roo-cline.terminalAddToContext",
  203. "group": "1_actions@1"
  204. },
  205. {
  206. "command": "roo-cline.terminalFixCommand",
  207. "group": "1_actions@2"
  208. },
  209. {
  210. "command": "roo-cline.terminalExplainCommand",
  211. "group": "1_actions@3"
  212. },
  213. {
  214. "command": "roo-cline.terminalFixCommandInCurrentTask",
  215. "group": "1_actions@5"
  216. },
  217. {
  218. "command": "roo-cline.terminalExplainCommandInCurrentTask",
  219. "group": "1_actions@6"
  220. }
  221. ],
  222. "view/title": [
  223. {
  224. "command": "roo-cline.plusButtonClicked",
  225. "group": "navigation@1",
  226. "when": "view == roo-cline.SidebarProvider"
  227. },
  228. {
  229. "command": "roo-cline.promptsButtonClicked",
  230. "group": "navigation@2",
  231. "when": "view == roo-cline.SidebarProvider"
  232. },
  233. {
  234. "command": "roo-cline.mcpButtonClicked",
  235. "group": "navigation@3",
  236. "when": "view == roo-cline.SidebarProvider"
  237. },
  238. {
  239. "command": "roo-cline.historyButtonClicked",
  240. "group": "navigation@4",
  241. "when": "view == roo-cline.SidebarProvider"
  242. },
  243. {
  244. "command": "roo-cline.popoutButtonClicked",
  245. "group": "navigation@5",
  246. "when": "view == roo-cline.SidebarProvider"
  247. },
  248. {
  249. "command": "roo-cline.settingsButtonClicked",
  250. "group": "navigation@6",
  251. "when": "view == roo-cline.SidebarProvider"
  252. },
  253. {
  254. "command": "roo-cline.helpButtonClicked",
  255. "group": "navigation@7",
  256. "when": "view == roo-cline.SidebarProvider"
  257. }
  258. ]
  259. },
  260. "configuration": {
  261. "title": "Roo Code",
  262. "properties": {
  263. "roo-cline.allowedCommands": {
  264. "type": "array",
  265. "items": {
  266. "type": "string"
  267. },
  268. "default": [
  269. "npm test",
  270. "npm install",
  271. "tsc",
  272. "git log",
  273. "git diff",
  274. "git show"
  275. ],
  276. "description": "Commands that can be auto-executed when 'Always approve execute operations' is enabled"
  277. },
  278. "roo-cline.vsCodeLmModelSelector": {
  279. "type": "object",
  280. "properties": {
  281. "vendor": {
  282. "type": "string",
  283. "description": "The vendor of the language model (e.g. copilot)"
  284. },
  285. "family": {
  286. "type": "string",
  287. "description": "The family of the language model (e.g. gpt-4)"
  288. }
  289. },
  290. "description": "Settings for VSCode Language Model API"
  291. }
  292. }
  293. }
  294. },
  295. "scripts": {
  296. "build": "npm run vsix",
  297. "build:webview": "cd webview-ui && npm run build",
  298. "build:esbuild": "node esbuild.js --production",
  299. "compile": "tsc -p . --outDir out && node esbuild.js",
  300. "install:all": "npm install npm-run-all && npm run install:_all",
  301. "install:_all": "npm-run-all -p install-*",
  302. "install-extension": "npm install",
  303. "install-webview": "cd webview-ui && npm install",
  304. "install-e2e": "cd e2e && npm install",
  305. "install-benchmark": "cd benchmark && npm install",
  306. "lint": "npm-run-all -p lint:*",
  307. "lint:extension": "eslint src --ext ts",
  308. "lint:webview": "cd webview-ui && npm run lint",
  309. "lint:e2e": "cd e2e && npm run lint",
  310. "lint:benchmark": "cd benchmark && npm run lint",
  311. "check-types": "npm-run-all -p check-types:*",
  312. "check-types:extension": "tsc --noEmit",
  313. "check-types:webview": "cd webview-ui && npm run check-types",
  314. "check-types:e2e": "cd e2e && npm run check-types",
  315. "check-types:benchmark": "cd benchmark && npm run check-types",
  316. "package": "npm-run-all -p build:webview build:esbuild check-types lint",
  317. "pretest": "npm run compile",
  318. "dev": "cd webview-ui && npm run dev",
  319. "test": "npm-run-all -p test:*",
  320. "test:extension": "jest",
  321. "test:webview": "cd webview-ui && npm run test",
  322. "prepare": "husky",
  323. "publish:marketplace": "vsce publish && ovsx publish",
  324. "publish": "npm run build && changeset publish && npm install --package-lock-only",
  325. "version-packages": "changeset version && npm install --package-lock-only",
  326. "vscode:prepublish": "npm run package",
  327. "vsix": "rimraf bin && mkdirp bin && npx vsce package --out bin",
  328. "watch": "npm-run-all -p watch:*",
  329. "watch:esbuild": "node esbuild.js --watch",
  330. "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
  331. "watch-tests": "tsc -p . -w --outDir out",
  332. "changeset": "changeset",
  333. "knip": "knip --include files",
  334. "clean": "npm-run-all -p clean:*",
  335. "clean:extension": "rimraf bin dist out",
  336. "clean:webview": "cd webview-ui && npm run clean",
  337. "clean:e2e": "cd e2e && npm run clean",
  338. "clean:benchmark": "cd benchmark && npm run clean",
  339. "update-contributors": "node scripts/update-contributors.js"
  340. },
  341. "dependencies": {
  342. "@anthropic-ai/bedrock-sdk": "^0.10.2",
  343. "@anthropic-ai/sdk": "^0.37.0",
  344. "@anthropic-ai/vertex-sdk": "^0.7.0",
  345. "@aws-sdk/client-bedrock-runtime": "^3.706.0",
  346. "@google-cloud/vertexai": "^1.9.3",
  347. "@google/generative-ai": "^0.18.0",
  348. "@mistralai/mistralai": "^1.3.6",
  349. "@modelcontextprotocol/sdk": "^1.7.0",
  350. "@types/clone-deep": "^4.0.4",
  351. "@types/pdf-parse": "^1.1.4",
  352. "@types/tmp": "^0.2.6",
  353. "@types/turndown": "^5.0.5",
  354. "@types/vscode": "^1.95.0",
  355. "@vscode/codicons": "^0.0.36",
  356. "axios": "^1.7.4",
  357. "cheerio": "^1.0.0",
  358. "chokidar": "^4.0.1",
  359. "clone-deep": "^4.0.1",
  360. "default-shell": "^2.2.0",
  361. "delay": "^6.0.0",
  362. "diff": "^5.2.0",
  363. "diff-match-patch": "^1.0.5",
  364. "fast-deep-equal": "^3.1.3",
  365. "fast-xml-parser": "^4.5.1",
  366. "fastest-levenshtein": "^1.0.16",
  367. "fzf": "^0.5.2",
  368. "get-folder-size": "^5.0.0",
  369. "globby": "^14.0.2",
  370. "i18next": "^24.2.2",
  371. "isbinaryfile": "^5.0.2",
  372. "js-tiktoken": "^1.0.19",
  373. "mammoth": "^1.8.0",
  374. "monaco-vscode-textmate-theme-converter": "^0.1.7",
  375. "openai": "^4.78.1",
  376. "os-name": "^6.0.0",
  377. "p-wait-for": "^5.0.2",
  378. "pdf-parse": "^1.1.1",
  379. "pkce-challenge": "^4.1.0",
  380. "posthog-node": "^4.7.0",
  381. "pretty-bytes": "^6.1.1",
  382. "puppeteer-chromium-resolver": "^23.0.0",
  383. "puppeteer-core": "^23.4.0",
  384. "reconnecting-eventsource": "^1.6.4",
  385. "say": "^0.16.0",
  386. "serialize-error": "^11.0.3",
  387. "simple-git": "^3.27.0",
  388. "sound-play": "^1.1.0",
  389. "string-similarity": "^4.0.4",
  390. "strip-ansi": "^7.1.0",
  391. "strip-bom": "^5.0.0",
  392. "tmp": "^0.2.3",
  393. "tree-sitter-wasms": "^0.1.11",
  394. "turndown": "^7.2.0",
  395. "web-tree-sitter": "^0.22.6",
  396. "zod": "^3.23.8"
  397. },
  398. "devDependencies": {
  399. "@changesets/cli": "^2.27.10",
  400. "@changesets/types": "^6.0.0",
  401. "@dotenvx/dotenvx": "^1.34.0",
  402. "@types/debug": "^4.1.12",
  403. "@types/diff": "^5.2.1",
  404. "@types/diff-match-patch": "^1.0.36",
  405. "@types/glob": "^8.1.0",
  406. "@types/jest": "^29.5.14",
  407. "@types/node": "20.x",
  408. "@types/string-similarity": "^4.0.2",
  409. "@typescript-eslint/eslint-plugin": "^7.14.1",
  410. "@typescript-eslint/parser": "^7.11.0",
  411. "esbuild": "^0.24.0",
  412. "eslint": "^8.57.0",
  413. "glob": "^11.0.1",
  414. "husky": "^9.1.7",
  415. "jest": "^29.7.0",
  416. "jest-simple-dot-reporter": "^1.0.5",
  417. "knip": "^5.44.4",
  418. "lint-staged": "^15.2.11",
  419. "mkdirp": "^3.0.1",
  420. "npm-run-all": "^4.1.5",
  421. "prettier": "^3.4.2",
  422. "rimraf": "^6.0.1",
  423. "ts-jest": "^29.2.5",
  424. "typescript": "^5.4.5"
  425. },
  426. "lint-staged": {
  427. "*.{js,jsx,ts,tsx,json,css,md}": [
  428. "prettier --write"
  429. ],
  430. "src/**/*.{ts,tsx}": [
  431. "npx eslint -c .eslintrc.json --max-warnings=0 --fix"
  432. ],
  433. "webview-ui/**/*.{ts,tsx}": [
  434. "npx eslint -c webview-ui/.eslintrc.json --max-warnings=0 --fix"
  435. ]
  436. }
  437. }