package.json 11 KB

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