package.json 7.8 KB

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