package.json 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  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.7.12",
  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. "menus": {
  134. "editor/context": [
  135. {
  136. "command": "roo-cline.explainCode",
  137. "when": "editorHasSelection",
  138. "group": "Roo Code@1"
  139. },
  140. {
  141. "command": "roo-cline.fixCode",
  142. "when": "editorHasSelection",
  143. "group": "Roo Code@2"
  144. },
  145. {
  146. "command": "roo-cline.improveCode",
  147. "when": "editorHasSelection",
  148. "group": "Roo Code@3"
  149. },
  150. {
  151. "command": "roo-cline.addToContext",
  152. "when": "editorHasSelection",
  153. "group": "Roo Code@4"
  154. }
  155. ],
  156. "view/title": [
  157. {
  158. "command": "roo-cline.plusButtonClicked",
  159. "group": "navigation@1",
  160. "when": "view == roo-cline.SidebarProvider"
  161. },
  162. {
  163. "command": "roo-cline.promptsButtonClicked",
  164. "group": "navigation@2",
  165. "when": "view == roo-cline.SidebarProvider"
  166. },
  167. {
  168. "command": "roo-cline.mcpButtonClicked",
  169. "group": "navigation@3",
  170. "when": "view == roo-cline.SidebarProvider"
  171. },
  172. {
  173. "command": "roo-cline.historyButtonClicked",
  174. "group": "navigation@4",
  175. "when": "view == roo-cline.SidebarProvider"
  176. },
  177. {
  178. "command": "roo-cline.popoutButtonClicked",
  179. "group": "navigation@5",
  180. "when": "view == roo-cline.SidebarProvider"
  181. },
  182. {
  183. "command": "roo-cline.settingsButtonClicked",
  184. "group": "navigation@6",
  185. "when": "view == roo-cline.SidebarProvider"
  186. },
  187. {
  188. "command": "roo-cline.helpButtonClicked",
  189. "group": "navigation@7",
  190. "when": "view == roo-cline.SidebarProvider"
  191. }
  192. ]
  193. },
  194. "configuration": {
  195. "title": "Roo Code",
  196. "properties": {
  197. "roo-cline.allowedCommands": {
  198. "type": "array",
  199. "items": {
  200. "type": "string"
  201. },
  202. "default": [
  203. "npm test",
  204. "npm install",
  205. "tsc",
  206. "git log",
  207. "git diff",
  208. "git show"
  209. ],
  210. "description": "Commands that can be auto-executed when 'Always approve execute operations' is enabled"
  211. },
  212. "roo-cline.vsCodeLmModelSelector": {
  213. "type": "object",
  214. "properties": {
  215. "vendor": {
  216. "type": "string",
  217. "description": "The vendor of the language model (e.g. copilot)"
  218. },
  219. "family": {
  220. "type": "string",
  221. "description": "The family of the language model (e.g. gpt-4)"
  222. }
  223. },
  224. "description": "Settings for VSCode Language Model API"
  225. }
  226. }
  227. }
  228. },
  229. "scripts": {
  230. "build": "npm run build:webview && npm run vsix",
  231. "build:webview": "cd webview-ui && npm run build",
  232. "compile": "tsc -p . --outDir out && node esbuild.js",
  233. "install:all": "npm-run-all -p install-*",
  234. "install:ci": "npm install npm-run-all && npm run install:all",
  235. "install-extension": "npm install",
  236. "install-webview-ui": "cd webview-ui && npm install",
  237. "install-e2e": "cd e2e && npm install",
  238. "lint": "npm-run-all -p lint:*",
  239. "lint:extension": "eslint src --ext ts",
  240. "lint:webview-ui": "cd webview-ui && npm run lint",
  241. "lint:e2e": "cd e2e && npm run lint",
  242. "check-types": "npm-run-all -p check-types:*",
  243. "check-types:extension": "tsc --noEmit",
  244. "check-types:webview-ui": "cd webview-ui && npm run check-types",
  245. "check-types:e2e": "cd e2e && npm run check-types",
  246. "package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production",
  247. "pretest": "npm run compile",
  248. "dev": "cd webview-ui && npm run dev",
  249. "test": "jest && cd webview-ui && npm run test",
  250. "prepare": "husky",
  251. "publish:marketplace": "vsce publish && ovsx publish",
  252. "publish": "npm run build && changeset publish && npm install --package-lock-only",
  253. "version-packages": "changeset version && npm install --package-lock-only",
  254. "vscode:prepublish": "npm run package",
  255. "vsix": "rimraf bin && mkdirp bin && npx vsce package --out bin",
  256. "watch": "npm-run-all -p watch:*",
  257. "watch:esbuild": "node esbuild.js --watch",
  258. "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
  259. "watch-tests": "tsc -p . -w --outDir out",
  260. "changeset": "changeset",
  261. "knip": "knip --include files"
  262. },
  263. "dependencies": {
  264. "@anthropic-ai/bedrock-sdk": "^0.10.2",
  265. "@anthropic-ai/sdk": "^0.37.0",
  266. "@anthropic-ai/vertex-sdk": "^0.7.0",
  267. "@aws-sdk/client-bedrock-runtime": "^3.706.0",
  268. "@google/generative-ai": "^0.18.0",
  269. "@google-cloud/vertexai": "^1.9.3",
  270. "@mistralai/mistralai": "^1.3.6",
  271. "@modelcontextprotocol/sdk": "^1.0.1",
  272. "@types/clone-deep": "^4.0.4",
  273. "@types/pdf-parse": "^1.1.4",
  274. "@types/tmp": "^0.2.6",
  275. "@types/turndown": "^5.0.5",
  276. "@types/vscode": "^1.95.0",
  277. "@vscode/codicons": "^0.0.36",
  278. "axios": "^1.7.4",
  279. "cheerio": "^1.0.0",
  280. "chokidar": "^4.0.1",
  281. "clone-deep": "^4.0.1",
  282. "default-shell": "^2.2.0",
  283. "delay": "^6.0.0",
  284. "diff": "^5.2.0",
  285. "diff-match-patch": "^1.0.5",
  286. "fast-deep-equal": "^3.1.3",
  287. "fastest-levenshtein": "^1.0.16",
  288. "get-folder-size": "^5.0.0",
  289. "globby": "^14.0.2",
  290. "isbinaryfile": "^5.0.2",
  291. "js-tiktoken": "^1.0.19",
  292. "mammoth": "^1.8.0",
  293. "monaco-vscode-textmate-theme-converter": "^0.1.7",
  294. "openai": "^4.78.1",
  295. "os-name": "^6.0.0",
  296. "p-wait-for": "^5.0.2",
  297. "pdf-parse": "^1.1.1",
  298. "posthog-node": "^4.7.0",
  299. "pretty-bytes": "^6.1.1",
  300. "puppeteer-chromium-resolver": "^23.0.0",
  301. "puppeteer-core": "^23.4.0",
  302. "serialize-error": "^11.0.3",
  303. "simple-git": "^3.27.0",
  304. "sound-play": "^1.1.0",
  305. "string-similarity": "^4.0.4",
  306. "strip-ansi": "^7.1.0",
  307. "tmp": "^0.2.3",
  308. "tree-sitter-wasms": "^0.1.11",
  309. "turndown": "^7.2.0",
  310. "web-tree-sitter": "^0.22.6",
  311. "zod": "^3.23.8"
  312. },
  313. "devDependencies": {
  314. "@changesets/cli": "^2.27.10",
  315. "@changesets/types": "^6.0.0",
  316. "@dotenvx/dotenvx": "^1.34.0",
  317. "@types/debug": "^4.1.12",
  318. "@types/diff": "^5.2.1",
  319. "@types/diff-match-patch": "^1.0.36",
  320. "@types/glob": "^8.1.0",
  321. "@types/jest": "^29.5.14",
  322. "@types/node": "20.x",
  323. "@types/string-similarity": "^4.0.2",
  324. "@typescript-eslint/eslint-plugin": "^7.14.1",
  325. "@typescript-eslint/parser": "^7.11.0",
  326. "esbuild": "^0.24.0",
  327. "eslint": "^8.57.0",
  328. "glob": "^11.0.1",
  329. "husky": "^9.1.7",
  330. "jest": "^29.7.0",
  331. "jest-simple-dot-reporter": "^1.0.5",
  332. "knip": "^5.44.4",
  333. "lint-staged": "^15.2.11",
  334. "mkdirp": "^3.0.1",
  335. "npm-run-all": "^4.1.5",
  336. "prettier": "^3.4.2",
  337. "rimraf": "^6.0.1",
  338. "ts-jest": "^29.2.5",
  339. "typescript": "^5.4.5"
  340. },
  341. "lint-staged": {
  342. "*.{js,jsx,ts,tsx,json,css,md}": [
  343. "prettier --write"
  344. ],
  345. "src/**/*.{ts,tsx}": [
  346. "npx eslint -c .eslintrc.json --max-warnings=0 --fix"
  347. ],
  348. "webview-ui/**/*.{ts,tsx}": [
  349. "npx eslint -c webview-ui/.eslintrc.json --max-warnings=0 --fix"
  350. ]
  351. }
  352. }