package.json 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. {
  2. "name": "roo-cline",
  3. "displayName": "Roo Code (prev. Roo Cline)",
  4. "description": "A VS Code plugin that enhances coding with AI-powered automation, multi-model support, and experimental features.",
  5. "publisher": "RooVeterinaryInc",
  6. "version": "3.3.6",
  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.openInNewTab",
  104. "title": "Open In New Tab",
  105. "category": "Roo Code"
  106. },
  107. {
  108. "command": "roo-cline.explainCode",
  109. "title": "Roo Code: Explain Code",
  110. "category": "Roo Code"
  111. },
  112. {
  113. "command": "roo-cline.fixCode",
  114. "title": "Roo Code: Fix Code",
  115. "category": "Roo Code"
  116. },
  117. {
  118. "command": "roo-cline.improveCode",
  119. "title": "Roo Code: Improve Code",
  120. "category": "Roo Code"
  121. }
  122. ],
  123. "menus": {
  124. "editor/context": [
  125. {
  126. "command": "roo-cline.explainCode",
  127. "when": "editorHasSelection",
  128. "group": "Roo Code@1"
  129. },
  130. {
  131. "command": "roo-cline.fixCode",
  132. "when": "editorHasSelection",
  133. "group": "Roo Code@2"
  134. },
  135. {
  136. "command": "roo-cline.improveCode",
  137. "when": "editorHasSelection",
  138. "group": "Roo Code@3"
  139. }
  140. ],
  141. "view/title": [
  142. {
  143. "command": "roo-cline.plusButtonClicked",
  144. "group": "navigation@1",
  145. "when": "view == roo-cline.SidebarProvider"
  146. },
  147. {
  148. "command": "roo-cline.promptsButtonClicked",
  149. "group": "navigation@2",
  150. "when": "view == roo-cline.SidebarProvider"
  151. },
  152. {
  153. "command": "roo-cline.mcpButtonClicked",
  154. "group": "navigation@3",
  155. "when": "view == roo-cline.SidebarProvider"
  156. },
  157. {
  158. "command": "roo-cline.historyButtonClicked",
  159. "group": "navigation@4",
  160. "when": "view == roo-cline.SidebarProvider"
  161. },
  162. {
  163. "command": "roo-cline.popoutButtonClicked",
  164. "group": "navigation@5",
  165. "when": "view == roo-cline.SidebarProvider"
  166. },
  167. {
  168. "command": "roo-cline.settingsButtonClicked",
  169. "group": "navigation@6",
  170. "when": "view == roo-cline.SidebarProvider"
  171. }
  172. ]
  173. },
  174. "configuration": {
  175. "title": "Roo Code",
  176. "properties": {
  177. "roo-cline.allowedCommands": {
  178. "type": "array",
  179. "items": {
  180. "type": "string"
  181. },
  182. "default": [
  183. "npm test",
  184. "npm install",
  185. "tsc",
  186. "git log",
  187. "git diff",
  188. "git show"
  189. ],
  190. "description": "Commands that can be auto-executed when 'Always approve execute operations' is enabled"
  191. },
  192. "roo-cline.vsCodeLmModelSelector": {
  193. "type": "object",
  194. "properties": {
  195. "vendor": {
  196. "type": "string",
  197. "description": "The vendor of the language model (e.g. copilot)"
  198. },
  199. "family": {
  200. "type": "string",
  201. "description": "The family of the language model (e.g. gpt-4)"
  202. }
  203. },
  204. "description": "Settings for VSCode Language Model API"
  205. }
  206. }
  207. }
  208. },
  209. "scripts": {
  210. "build": "npm run build:webview && npm run vsix",
  211. "build:webview": "cd webview-ui && npm run build",
  212. "changeset": "changeset",
  213. "check-types": "tsc --noEmit",
  214. "compile": "npm run check-types && npm run lint && node esbuild.js",
  215. "compile-tests": "tsc -p . --outDir out",
  216. "install:all": "npm install && cd webview-ui && npm install",
  217. "lint": "eslint src --ext ts --quiet && npm run lint --prefix webview-ui",
  218. "package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production",
  219. "pretest": "npm run compile-tests && npm run compile && npm run lint",
  220. "start:webview": "cd webview-ui && npm run start",
  221. "test": "jest && npm run test:webview",
  222. "test:webview": "cd webview-ui && npm run test",
  223. "test:extension": "vscode-test",
  224. "prepare": "husky",
  225. "publish:marketplace": "vsce publish && ovsx publish",
  226. "publish": "npm run build && changeset publish && npm install --package-lock-only",
  227. "version-packages": "changeset version && npm install --package-lock-only",
  228. "vscode:prepublish": "npm run package",
  229. "vsix": "mkdir -p bin && npx vsce package --out bin",
  230. "watch": "npm-run-all -p watch:*",
  231. "watch:esbuild": "node esbuild.js --watch",
  232. "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
  233. "watch-tests": "tsc -p . -w --outDir out"
  234. },
  235. "devDependencies": {
  236. "@changesets/cli": "^2.27.10",
  237. "@changesets/types": "^6.0.0",
  238. "@types/diff": "^5.2.1",
  239. "@types/diff-match-patch": "^1.0.36",
  240. "@types/jest": "^29.5.14",
  241. "@types/mocha": "^10.0.7",
  242. "@types/node": "20.x",
  243. "@types/string-similarity": "^4.0.2",
  244. "@typescript-eslint/eslint-plugin": "^7.14.1",
  245. "@typescript-eslint/parser": "^7.11.0",
  246. "@vscode/test-cli": "^0.0.9",
  247. "@vscode/test-electron": "^2.4.0",
  248. "dotenv": "^16.4.7",
  249. "esbuild": "^0.24.0",
  250. "eslint": "^8.57.0",
  251. "husky": "^9.1.7",
  252. "jest": "^29.7.0",
  253. "jest-simple-dot-reporter": "^1.0.5",
  254. "lint-staged": "^15.2.11",
  255. "npm-run-all": "^4.1.5",
  256. "prettier": "^3.4.2",
  257. "ts-jest": "^29.2.5",
  258. "typescript": "^5.4.5"
  259. },
  260. "dependencies": {
  261. "@anthropic-ai/bedrock-sdk": "^0.10.2",
  262. "@anthropic-ai/sdk": "^0.26.0",
  263. "@anthropic-ai/vertex-sdk": "^0.4.1",
  264. "@aws-sdk/client-bedrock-runtime": "^3.706.0",
  265. "@google/generative-ai": "^0.18.0",
  266. "@mistralai/mistralai": "^1.3.6",
  267. "@modelcontextprotocol/sdk": "^1.0.1",
  268. "@types/clone-deep": "^4.0.4",
  269. "@types/pdf-parse": "^1.1.4",
  270. "@types/tmp": "^0.2.6",
  271. "@types/turndown": "^5.0.5",
  272. "@types/vscode": "^1.95.0",
  273. "@vscode/codicons": "^0.0.36",
  274. "axios": "^1.7.4",
  275. "cheerio": "^1.0.0",
  276. "chokidar": "^4.0.1",
  277. "clone-deep": "^4.0.1",
  278. "default-shell": "^2.2.0",
  279. "delay": "^6.0.0",
  280. "diff": "^5.2.0",
  281. "diff-match-patch": "^1.0.5",
  282. "fast-deep-equal": "^3.1.3",
  283. "fastest-levenshtein": "^1.0.16",
  284. "globby": "^14.0.2",
  285. "isbinaryfile": "^5.0.2",
  286. "mammoth": "^1.8.0",
  287. "monaco-vscode-textmate-theme-converter": "^0.1.7",
  288. "openai": "^4.78.1",
  289. "os-name": "^6.0.0",
  290. "p-wait-for": "^5.0.2",
  291. "pdf-parse": "^1.1.1",
  292. "puppeteer-chromium-resolver": "^23.0.0",
  293. "puppeteer-core": "^23.4.0",
  294. "serialize-error": "^11.0.3",
  295. "simple-git": "^3.27.0",
  296. "sound-play": "^1.1.0",
  297. "string-similarity": "^4.0.4",
  298. "strip-ansi": "^7.1.0",
  299. "tmp": "^0.2.3",
  300. "tree-sitter-wasms": "^0.1.11",
  301. "turndown": "^7.2.0",
  302. "web-tree-sitter": "^0.22.6",
  303. "zod": "^3.23.8"
  304. },
  305. "lint-staged": {
  306. "*.{js,jsx,ts,tsx,json,css,md}": [
  307. "prettier --write"
  308. ],
  309. "src/**/*.{ts,tsx}": [
  310. "prettier --write",
  311. "npx eslint -c .eslintrc.json --fix"
  312. ]
  313. }
  314. }