package.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. {
  2. "name": "roo-cline",
  3. "displayName": "Roo Code (prev. Roo Cline)",
  4. "description": "An AI-powered autonomous coding agent that lives in your editor.",
  5. "publisher": "RooVeterinaryInc",
  6. "version": "3.7.3",
  7. "icon": "assets/icons/rocket.png",
  8. "galleryBanner": {
  9. "color": "#617A91",
  10. "theme": "dark"
  11. },
  12. "engines": {
  13. "vscode": "^1.84.0"
  14. },
  15. "author": {
  16. "name": "Roo Vet"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "https://github.com/RooVetGit/Roo-Code"
  21. },
  22. "homepage": "https://github.com/RooVetGit/Roo-Code",
  23. "categories": [
  24. "AI",
  25. "Chat",
  26. "Programming Languages",
  27. "Education",
  28. "Snippets",
  29. "Testing"
  30. ],
  31. "keywords": [
  32. "cline",
  33. "claude",
  34. "dev",
  35. "mcp",
  36. "openrouter",
  37. "coding",
  38. "agent",
  39. "autonomous",
  40. "chatgpt",
  41. "sonnet",
  42. "ai",
  43. "llama",
  44. "roo code",
  45. "roocode"
  46. ],
  47. "activationEvents": [
  48. "onLanguage",
  49. "onStartupFinished"
  50. ],
  51. "main": "./dist/extension.js",
  52. "contributes": {
  53. "viewsContainers": {
  54. "activitybar": [
  55. {
  56. "id": "roo-cline-ActivityBar",
  57. "title": "Roo Code",
  58. "icon": "$(rocket)"
  59. }
  60. ]
  61. },
  62. "views": {
  63. "roo-cline-ActivityBar": [
  64. {
  65. "type": "webview",
  66. "id": "roo-cline.SidebarProvider",
  67. "name": ""
  68. }
  69. ]
  70. },
  71. "commands": [
  72. {
  73. "command": "roo-cline.plusButtonClicked",
  74. "title": "New Task",
  75. "icon": "$(add)"
  76. },
  77. {
  78. "command": "roo-cline.mcpButtonClicked",
  79. "title": "MCP Servers",
  80. "icon": "$(server)"
  81. },
  82. {
  83. "command": "roo-cline.promptsButtonClicked",
  84. "title": "Prompts",
  85. "icon": "$(notebook)"
  86. },
  87. {
  88. "command": "roo-cline.historyButtonClicked",
  89. "title": "History",
  90. "icon": "$(history)"
  91. },
  92. {
  93. "command": "roo-cline.popoutButtonClicked",
  94. "title": "Open in Editor",
  95. "icon": "$(link-external)"
  96. },
  97. {
  98. "command": "roo-cline.settingsButtonClicked",
  99. "title": "Settings",
  100. "icon": "$(settings-gear)"
  101. },
  102. {
  103. "command": "roo-cline.helpButtonClicked",
  104. "title": "Documentation",
  105. "icon": "$(question)"
  106. },
  107. {
  108. "command": "roo-cline.openInNewTab",
  109. "title": "Open In New Tab",
  110. "category": "Roo Code"
  111. },
  112. {
  113. "command": "roo-cline.explainCode",
  114. "title": "Roo Code: Explain Code",
  115. "category": "Roo Code"
  116. },
  117. {
  118. "command": "roo-cline.fixCode",
  119. "title": "Roo Code: Fix Code",
  120. "category": "Roo Code"
  121. },
  122. {
  123. "command": "roo-cline.improveCode",
  124. "title": "Roo Code: Improve Code",
  125. "category": "Roo Code"
  126. },
  127. {
  128. "command": "roo-cline.addToContext",
  129. "title": "Roo Code: Add To Context",
  130. "category": "Roo Code"
  131. },
  132. {
  133. "command": "roo-cline.terminalAddToContext",
  134. "title": "Roo Code: Add Terminal Content to Context",
  135. "category": "Terminal"
  136. },
  137. {
  138. "command": "roo-cline.terminalFixCommand",
  139. "title": "Roo Code: Fix This Command",
  140. "category": "Terminal"
  141. },
  142. {
  143. "command": "roo-cline.terminalExplainCommand",
  144. "title": "Roo Code: Explain This Command",
  145. "category": "Terminal"
  146. },
  147. {
  148. "command": "roo-cline.terminalFixCommandInCurrentTask",
  149. "title": "Roo Code: Fix This Command (Current Task)",
  150. "category": "Terminal"
  151. },
  152. {
  153. "command": "roo-cline.terminalExplainCommandInCurrentTask",
  154. "title": "Roo Code: Explain This Command (Current Task)",
  155. "category": "Terminal"
  156. }
  157. ],
  158. "menus": {
  159. "editor/context": [
  160. {
  161. "command": "roo-cline.explainCode",
  162. "when": "editorHasSelection",
  163. "group": "Roo Code@1"
  164. },
  165. {
  166. "command": "roo-cline.fixCode",
  167. "when": "editorHasSelection",
  168. "group": "Roo Code@2"
  169. },
  170. {
  171. "command": "roo-cline.improveCode",
  172. "when": "editorHasSelection",
  173. "group": "Roo Code@3"
  174. },
  175. {
  176. "command": "roo-cline.addToContext",
  177. "when": "editorHasSelection",
  178. "group": "Roo Code@4"
  179. }
  180. ],
  181. "terminal/context": [
  182. {
  183. "command": "roo-cline.terminalAddToContext",
  184. "group": "Roo Code@1"
  185. },
  186. {
  187. "command": "roo-cline.terminalFixCommand",
  188. "group": "Roo Code@2"
  189. },
  190. {
  191. "command": "roo-cline.terminalExplainCommand",
  192. "group": "Roo Code@3"
  193. },
  194. {
  195. "command": "roo-cline.terminalFixCommandInCurrentTask",
  196. "group": "Roo Code@5"
  197. },
  198. {
  199. "command": "roo-cline.terminalExplainCommandInCurrentTask",
  200. "group": "Roo Code@6"
  201. }
  202. ],
  203. "view/title": [
  204. {
  205. "command": "roo-cline.plusButtonClicked",
  206. "group": "navigation@1",
  207. "when": "view == roo-cline.SidebarProvider"
  208. },
  209. {
  210. "command": "roo-cline.promptsButtonClicked",
  211. "group": "navigation@2",
  212. "when": "view == roo-cline.SidebarProvider"
  213. },
  214. {
  215. "command": "roo-cline.mcpButtonClicked",
  216. "group": "navigation@3",
  217. "when": "view == roo-cline.SidebarProvider"
  218. },
  219. {
  220. "command": "roo-cline.historyButtonClicked",
  221. "group": "navigation@4",
  222. "when": "view == roo-cline.SidebarProvider"
  223. },
  224. {
  225. "command": "roo-cline.popoutButtonClicked",
  226. "group": "navigation@5",
  227. "when": "view == roo-cline.SidebarProvider"
  228. },
  229. {
  230. "command": "roo-cline.settingsButtonClicked",
  231. "group": "navigation@6",
  232. "when": "view == roo-cline.SidebarProvider"
  233. },
  234. {
  235. "command": "roo-cline.helpButtonClicked",
  236. "group": "navigation@7",
  237. "when": "view == roo-cline.SidebarProvider"
  238. }
  239. ]
  240. },
  241. "configuration": {
  242. "title": "Roo Code",
  243. "properties": {
  244. "roo-cline.allowedCommands": {
  245. "type": "array",
  246. "items": {
  247. "type": "string"
  248. },
  249. "default": [
  250. "npm test",
  251. "npm install",
  252. "tsc",
  253. "git log",
  254. "git diff",
  255. "git show"
  256. ],
  257. "description": "Commands that can be auto-executed when 'Always approve execute operations' is enabled"
  258. },
  259. "roo-cline.vsCodeLmModelSelector": {
  260. "type": "object",
  261. "properties": {
  262. "vendor": {
  263. "type": "string",
  264. "description": "The vendor of the language model (e.g. copilot)"
  265. },
  266. "family": {
  267. "type": "string",
  268. "description": "The family of the language model (e.g. gpt-4)"
  269. }
  270. },
  271. "description": "Settings for VSCode Language Model API"
  272. }
  273. }
  274. }
  275. },
  276. "scripts": {
  277. "build": "npm run build:webview && npm run vsix",
  278. "build:webview": "cd webview-ui && npm run build",
  279. "changeset": "changeset",
  280. "check-types": "tsc --noEmit && cd webview-ui && npm run check-types",
  281. "compile": "tsc -p . --outDir out && node esbuild.js",
  282. "compile:integration": "tsc -p tsconfig.integration.json",
  283. "install:all": "npm install && cd webview-ui && npm install",
  284. "knip": "knip --include files",
  285. "lint": "eslint src --ext ts && npm run lint --prefix webview-ui",
  286. "lint-local": "eslint -c .eslintrc.local.json src --ext ts && npm run lint --prefix webview-ui",
  287. "lint-fix": "eslint src --ext ts --fix && npm run lint-fix --prefix webview-ui",
  288. "lint-fix-local": "eslint -c .eslintrc.local.json src --ext ts --fix && npm run lint-fix --prefix webview-ui",
  289. "package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production",
  290. "pretest": "npm run compile && npm run compile:integration",
  291. "dev": "cd webview-ui && npm run dev",
  292. "test": "jest && cd webview-ui && npm run test",
  293. "test:integration": "npm run build && npm run compile:integration && npx dotenvx run -f .env.integration -- node ./out-integration/test/runTest.js",
  294. "prepare": "husky",
  295. "publish:marketplace": "vsce publish && ovsx publish",
  296. "publish": "npm run build && changeset publish && npm install --package-lock-only",
  297. "version-packages": "changeset version && npm install --package-lock-only",
  298. "vscode:prepublish": "npm run package",
  299. "vsix": "rimraf bin && mkdirp bin && npx vsce package --out bin",
  300. "watch": "npm-run-all -p watch:*",
  301. "watch:esbuild": "node esbuild.js --watch",
  302. "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
  303. "watch-tests": "tsc -p . -w --outDir out"
  304. },
  305. "dependencies": {
  306. "@anthropic-ai/bedrock-sdk": "^0.10.2",
  307. "@anthropic-ai/sdk": "^0.37.0",
  308. "@anthropic-ai/vertex-sdk": "^0.4.1",
  309. "@aws-sdk/client-bedrock-runtime": "^3.706.0",
  310. "@google/generative-ai": "^0.18.0",
  311. "@mistralai/mistralai": "^1.3.6",
  312. "@modelcontextprotocol/sdk": "^1.0.1",
  313. "@types/clone-deep": "^4.0.4",
  314. "@types/pdf-parse": "^1.1.4",
  315. "@types/tmp": "^0.2.6",
  316. "@types/turndown": "^5.0.5",
  317. "@types/vscode": "^1.95.0",
  318. "@vscode/codicons": "^0.0.36",
  319. "axios": "^1.7.4",
  320. "cheerio": "^1.0.0",
  321. "chokidar": "^4.0.1",
  322. "clone-deep": "^4.0.1",
  323. "default-shell": "^2.2.0",
  324. "delay": "^6.0.0",
  325. "diff": "^5.2.0",
  326. "diff-match-patch": "^1.0.5",
  327. "fast-deep-equal": "^3.1.3",
  328. "fastest-levenshtein": "^1.0.16",
  329. "get-folder-size": "^5.0.0",
  330. "globby": "^14.0.2",
  331. "isbinaryfile": "^5.0.2",
  332. "mammoth": "^1.8.0",
  333. "monaco-vscode-textmate-theme-converter": "^0.1.7",
  334. "openai": "^4.78.1",
  335. "os-name": "^6.0.0",
  336. "p-wait-for": "^5.0.2",
  337. "pdf-parse": "^1.1.1",
  338. "pretty-bytes": "^6.1.1",
  339. "puppeteer-chromium-resolver": "^23.0.0",
  340. "puppeteer-core": "^23.4.0",
  341. "serialize-error": "^11.0.3",
  342. "simple-git": "^3.27.0",
  343. "sound-play": "^1.1.0",
  344. "string-similarity": "^4.0.4",
  345. "strip-ansi": "^7.1.0",
  346. "tmp": "^0.2.3",
  347. "tree-sitter-wasms": "^0.1.11",
  348. "turndown": "^7.2.0",
  349. "web-tree-sitter": "^0.22.6",
  350. "zod": "^3.23.8"
  351. },
  352. "devDependencies": {
  353. "@changesets/cli": "^2.27.10",
  354. "@changesets/types": "^6.0.0",
  355. "@dotenvx/dotenvx": "^1.34.0",
  356. "@types/debug": "^4.1.12",
  357. "@types/diff": "^5.2.1",
  358. "@types/diff-match-patch": "^1.0.36",
  359. "@types/glob": "^8.1.0",
  360. "@types/jest": "^29.5.14",
  361. "@types/mocha": "^10.0.10",
  362. "@types/node": "20.x",
  363. "@types/string-similarity": "^4.0.2",
  364. "@typescript-eslint/eslint-plugin": "^7.14.1",
  365. "@typescript-eslint/parser": "^7.11.0",
  366. "@vscode/test-cli": "^0.0.9",
  367. "@vscode/test-electron": "^2.4.0",
  368. "esbuild": "^0.24.0",
  369. "eslint": "^8.57.0",
  370. "glob": "^11.0.1",
  371. "husky": "^9.1.7",
  372. "jest": "^29.7.0",
  373. "jest-simple-dot-reporter": "^1.0.5",
  374. "knip": "^5.44.4",
  375. "lint-staged": "^15.2.11",
  376. "mkdirp": "^3.0.1",
  377. "mocha": "^11.1.0",
  378. "npm-run-all": "^4.1.5",
  379. "prettier": "^3.4.2",
  380. "rimraf": "^6.0.1",
  381. "ts-jest": "^29.2.5",
  382. "typescript": "^5.4.5"
  383. },
  384. "lint-staged": {
  385. "*.{js,jsx,ts,tsx,json,css,md}": [
  386. "prettier --write"
  387. ],
  388. "src/**/*.{ts,tsx}": [
  389. "npx eslint -c .eslintrc.json --max-warnings=0 --fix"
  390. ],
  391. "webview-ui/**/*.{ts,tsx}": [
  392. "npx eslint -c webview-ui/.eslintrc.json --max-warnings=0 --fix"
  393. ]
  394. }
  395. }