package.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  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.11.4",
  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. "editor/title": [
  270. {
  271. "command": "roo-cline.plusButtonClicked",
  272. "group": "navigation@1",
  273. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  274. },
  275. {
  276. "command": "roo-cline.promptsButtonClicked",
  277. "group": "navigation@2",
  278. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  279. },
  280. {
  281. "command": "roo-cline.mcpButtonClicked",
  282. "group": "navigation@3",
  283. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  284. },
  285. {
  286. "command": "roo-cline.historyButtonClicked",
  287. "group": "navigation@4",
  288. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  289. },
  290. {
  291. "command": "roo-cline.popoutButtonClicked",
  292. "group": "navigation@5",
  293. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  294. },
  295. {
  296. "command": "roo-cline.settingsButtonClicked",
  297. "group": "navigation@6",
  298. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  299. },
  300. {
  301. "command": "roo-cline.helpButtonClicked",
  302. "group": "navigation@7",
  303. "when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
  304. }
  305. ]
  306. },
  307. "configuration": {
  308. "title": "Roo Code",
  309. "properties": {
  310. "roo-cline.allowedCommands": {
  311. "type": "array",
  312. "items": {
  313. "type": "string"
  314. },
  315. "default": [
  316. "npm test",
  317. "npm install",
  318. "tsc",
  319. "git log",
  320. "git diff",
  321. "git show"
  322. ],
  323. "description": "Commands that can be auto-executed when 'Always approve execute operations' is enabled"
  324. },
  325. "roo-cline.vsCodeLmModelSelector": {
  326. "type": "object",
  327. "properties": {
  328. "vendor": {
  329. "type": "string",
  330. "description": "The vendor of the language model (e.g. copilot)"
  331. },
  332. "family": {
  333. "type": "string",
  334. "description": "The family of the language model (e.g. gpt-4)"
  335. }
  336. },
  337. "description": "Settings for VSCode Language Model API"
  338. },
  339. "roo-cline.customStoragePath": {
  340. "type": "string",
  341. "default": "",
  342. "description": "Custom storage path. Leave empty to use the default location. Supports absolute paths (e.g. 'D:\\RooCodeStorage')"
  343. }
  344. }
  345. }
  346. },
  347. "scripts": {
  348. "build": "npm run vsix",
  349. "build:webview": "cd webview-ui && npm run build",
  350. "build:esbuild": "node esbuild.js --production",
  351. "compile": "tsc -p . --outDir out && node esbuild.js",
  352. "install:all": "npm install npm-run-all && npm-run-all -l -p install-*",
  353. "install-extension": "npm install",
  354. "install-webview": "cd webview-ui && npm install",
  355. "install-e2e": "cd e2e && npm install",
  356. "lint": "npm-run-all -l -p lint:*",
  357. "lint:extension": "eslint src --ext ts",
  358. "lint:webview": "cd webview-ui && npm run lint",
  359. "lint:e2e": "cd e2e && npm run lint",
  360. "check-types": "npm-run-all -l -p check-types:*",
  361. "check-types:extension": "tsc --noEmit",
  362. "check-types:webview": "cd webview-ui && npm run check-types",
  363. "check-types:e2e": "cd e2e && npm run check-types",
  364. "package": "npm-run-all -l -p build:webview build:esbuild check-types lint",
  365. "pretest": "npm run compile",
  366. "dev": "cd webview-ui && npm run dev",
  367. "test": "node scripts/run-tests.js",
  368. "test:extension": "jest",
  369. "test:webview": "cd webview-ui && npm run test",
  370. "prepare": "husky",
  371. "publish:marketplace": "vsce publish && ovsx publish",
  372. "publish": "npm run build && changeset publish && npm install --package-lock-only",
  373. "version-packages": "changeset version && npm install --package-lock-only",
  374. "vscode:prepublish": "npm run package",
  375. "vsix": "rimraf bin && mkdirp bin && npx vsce package --out bin",
  376. "watch": "npm-run-all -l -p watch:*",
  377. "watch:esbuild": "node esbuild.js --watch",
  378. "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
  379. "watch-tests": "tsc -p . -w --outDir out",
  380. "changeset": "changeset",
  381. "knip": "knip --include files",
  382. "clean": "npm-run-all -l -p clean:*",
  383. "clean:extension": "rimraf bin dist out",
  384. "clean:webview": "cd webview-ui && npm run clean",
  385. "clean:e2e": "cd e2e && npm run clean",
  386. "vscode-test": "npm-run-all -l -p vscode-test:*",
  387. "vscode-test:extension": "tsc -p . --outDir out && node esbuild.js",
  388. "vscode-test:webview": "cd webview-ui && npm run build",
  389. "update-contributors": "node scripts/update-contributors.js",
  390. "generate-types": "tsx scripts/generate-types.mts"
  391. },
  392. "dependencies": {
  393. "@anthropic-ai/bedrock-sdk": "^0.10.2",
  394. "@anthropic-ai/sdk": "^0.37.0",
  395. "@anthropic-ai/vertex-sdk": "^0.7.0",
  396. "@aws-sdk/client-bedrock-runtime": "^3.779.0",
  397. "@google-cloud/vertexai": "^1.9.3",
  398. "@google/generative-ai": "^0.18.0",
  399. "@mistralai/mistralai": "^1.3.6",
  400. "@modelcontextprotocol/sdk": "^1.7.0",
  401. "@types/clone-deep": "^4.0.4",
  402. "@types/pdf-parse": "^1.1.4",
  403. "@types/tmp": "^0.2.6",
  404. "@types/turndown": "^5.0.5",
  405. "@types/vscode": "^1.95.0",
  406. "@vscode/codicons": "^0.0.36",
  407. "axios": "^1.7.4",
  408. "cheerio": "^1.0.0",
  409. "chokidar": "^4.0.1",
  410. "clone-deep": "^4.0.1",
  411. "default-shell": "^2.2.0",
  412. "delay": "^6.0.0",
  413. "diff": "^5.2.0",
  414. "diff-match-patch": "^1.0.5",
  415. "fast-deep-equal": "^3.1.3",
  416. "fast-xml-parser": "^4.5.1",
  417. "fastest-levenshtein": "^1.0.16",
  418. "fzf": "^0.5.2",
  419. "get-folder-size": "^5.0.0",
  420. "globby": "^14.0.2",
  421. "i18next": "^24.2.2",
  422. "isbinaryfile": "^5.0.2",
  423. "js-tiktoken": "^1.0.19",
  424. "mammoth": "^1.8.0",
  425. "monaco-vscode-textmate-theme-converter": "^0.1.7",
  426. "node-ipc": "^12.0.0",
  427. "openai": "^4.78.1",
  428. "os-name": "^6.0.0",
  429. "p-wait-for": "^5.0.2",
  430. "pdf-parse": "^1.1.1",
  431. "pkce-challenge": "^4.1.0",
  432. "posthog-node": "^4.7.0",
  433. "pretty-bytes": "^6.1.1",
  434. "puppeteer-chromium-resolver": "^23.0.0",
  435. "puppeteer-core": "^23.4.0",
  436. "reconnecting-eventsource": "^1.6.4",
  437. "say": "^0.16.0",
  438. "serialize-error": "^11.0.3",
  439. "simple-git": "^3.27.0",
  440. "sound-play": "^1.1.0",
  441. "string-similarity": "^4.0.4",
  442. "strip-ansi": "^7.1.0",
  443. "strip-bom": "^5.0.0",
  444. "tmp": "^0.2.3",
  445. "tree-sitter-wasms": "^0.1.11",
  446. "turndown": "^7.2.0",
  447. "web-tree-sitter": "^0.22.6",
  448. "zod": "^3.23.8"
  449. },
  450. "devDependencies": {
  451. "@changesets/cli": "^2.27.10",
  452. "@changesets/types": "^6.0.0",
  453. "@dotenvx/dotenvx": "^1.34.0",
  454. "@types/debug": "^4.1.12",
  455. "@types/diff": "^5.2.1",
  456. "@types/diff-match-patch": "^1.0.36",
  457. "@types/glob": "^8.1.0",
  458. "@types/jest": "^29.5.14",
  459. "@types/node": "20.x",
  460. "@types/node-ipc": "^9.2.3",
  461. "@types/string-similarity": "^4.0.2",
  462. "@typescript-eslint/eslint-plugin": "^7.14.1",
  463. "@typescript-eslint/parser": "^7.11.0",
  464. "@vscode/vsce": "^3.3.2",
  465. "esbuild": "^0.24.0",
  466. "eslint": "^8.57.0",
  467. "execa": "^9.5.2",
  468. "glob": "^11.0.1",
  469. "husky": "^9.1.7",
  470. "jest": "^29.7.0",
  471. "jest-simple-dot-reporter": "^1.0.5",
  472. "knip": "^5.44.4",
  473. "lint-staged": "^15.2.11",
  474. "mkdirp": "^3.0.1",
  475. "npm-run-all": "^4.1.5",
  476. "prettier": "^3.4.2",
  477. "rimraf": "^6.0.1",
  478. "ts-jest": "^29.2.5",
  479. "tsup": "^8.4.0",
  480. "tsx": "^4.19.3",
  481. "typescript": "^5.4.5",
  482. "zod-to-ts": "^1.2.0"
  483. },
  484. "lint-staged": {
  485. "*.{js,jsx,ts,tsx,json,css,md}": [
  486. "prettier --write"
  487. ],
  488. "src/**/*.{ts,tsx}": [
  489. "npx eslint -c .eslintrc.json --max-warnings=0 --fix"
  490. ],
  491. "webview-ui/**/*.{ts,tsx}": [
  492. "npx eslint -c webview-ui/.eslintrc.json --max-warnings=0 --fix"
  493. ]
  494. }
  495. }