package.json 12 KB

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