package.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  1. {
  2. "name": "claude-dev",
  3. "displayName": "Cline",
  4. "description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.",
  5. "version": "3.30.3",
  6. "icon": "assets/icons/icon.png",
  7. "engines": {
  8. "vscode": "^1.84.0"
  9. },
  10. "author": {
  11. "name": "Cline Bot Inc."
  12. },
  13. "license": "Apache-2.0",
  14. "publisher": "saoudrizwan",
  15. "repository": {
  16. "type": "git",
  17. "url": "https://github.com/cline/cline"
  18. },
  19. "homepage": "https://cline.bot",
  20. "categories": [
  21. "AI",
  22. "Chat",
  23. "Programming Languages",
  24. "Education",
  25. "Snippets",
  26. "Testing"
  27. ],
  28. "keywords": [
  29. "cline",
  30. "claude",
  31. "dev",
  32. "mcp",
  33. "openrouter",
  34. "coding",
  35. "agent",
  36. "autonomous",
  37. "chatgpt",
  38. "sonnet",
  39. "ai",
  40. "llama"
  41. ],
  42. "activationEvents": [
  43. "onLanguage",
  44. "onStartupFinished",
  45. "workspaceContains:evals.env"
  46. ],
  47. "main": "./dist/extension.js",
  48. "contributes": {
  49. "walkthroughs": [
  50. {
  51. "id": "ClineWalkthrough",
  52. "title": "Meet Cline, your new coding partner",
  53. "description": "Cline codes like a developer because it thinks like one. Here are 5 ways to put it to work:",
  54. "steps": [
  55. {
  56. "id": "welcome",
  57. "title": "Start with a Goal, Not Just a Prompt",
  58. "description": "Tell Cline what you want to achieve. It plans, asks, and then codes, like a true partner.",
  59. "media": {
  60. "markdown": "walkthrough/step1.md"
  61. }
  62. },
  63. {
  64. "id": "learn",
  65. "title": "Let Cline Learn Your Codebase",
  66. "description": "Point Cline to your project. It builds understanding to make smart, context-aware changes.",
  67. "media": {
  68. "markdown": "walkthrough/step2.md"
  69. }
  70. },
  71. {
  72. "id": "advanced-features",
  73. "title": "Always Use the Best AI Models",
  74. "description": "Cline empowers you with State-of-the-Art AI, connecting to top models (Anthropic, Gemini, OpenAI & more).",
  75. "media": {
  76. "markdown": "walkthrough/step3.md"
  77. }
  78. },
  79. {
  80. "id": "mcp",
  81. "title": "Extend with Powerful Tools (MCP)",
  82. "description": "Connect to databases, APIs, or discover new capabilities in the MCP Marketplace.",
  83. "media": {
  84. "markdown": "walkthrough/step4.md"
  85. }
  86. },
  87. {
  88. "id": "getting-started",
  89. "title": "You're Always in Control",
  90. "description": "Review Cline's plans and diffs. Approve changes before they happen. No surprises.",
  91. "media": {
  92. "markdown": "walkthrough/step5.md"
  93. },
  94. "content": {
  95. "path": "walkthrough/step5.md"
  96. }
  97. }
  98. ]
  99. }
  100. ],
  101. "viewsContainers": {
  102. "activitybar": [
  103. {
  104. "id": "claude-dev-ActivityBar",
  105. "title": "Cline",
  106. "icon": "assets/icons/icon.svg"
  107. }
  108. ]
  109. },
  110. "views": {
  111. "claude-dev-ActivityBar": [
  112. {
  113. "type": "webview",
  114. "id": "claude-dev.SidebarProvider",
  115. "name": "",
  116. "icon": "assets/icons/icon.svg"
  117. }
  118. ]
  119. },
  120. "commands": [
  121. {
  122. "command": "cline.plusButtonClicked",
  123. "title": "New Task",
  124. "icon": "$(add)"
  125. },
  126. {
  127. "command": "cline.mcpButtonClicked",
  128. "title": "MCP Servers",
  129. "icon": "$(server)"
  130. },
  131. {
  132. "command": "cline.historyButtonClicked",
  133. "title": "History",
  134. "icon": "$(history)"
  135. },
  136. {
  137. "command": "cline.popoutButtonClicked",
  138. "title": "Open in Editor",
  139. "icon": "$(link-external)"
  140. },
  141. {
  142. "command": "cline.accountButtonClicked",
  143. "title": "Account",
  144. "icon": "$(account)"
  145. },
  146. {
  147. "command": "cline.settingsButtonClicked",
  148. "title": "Settings",
  149. "icon": "$(settings-gear)"
  150. },
  151. {
  152. "command": "cline.openInNewTab",
  153. "title": "Open In New Tab",
  154. "category": "Cline"
  155. },
  156. {
  157. "command": "cline.dev.createTestTasks",
  158. "title": "Create Test Tasks",
  159. "category": "Cline",
  160. "when": "cline.isDevMode"
  161. },
  162. {
  163. "command": "cline.addToChat",
  164. "title": "Add to Cline",
  165. "category": "Cline"
  166. },
  167. {
  168. "command": "cline.addTerminalOutputToChat",
  169. "title": "Add to Cline",
  170. "category": "Cline"
  171. },
  172. {
  173. "command": "cline.focusChatInput",
  174. "title": "Jump to Chat Input",
  175. "category": "Cline"
  176. },
  177. {
  178. "command": "cline.generateGitCommitMessage",
  179. "title": "Generate Commit Message with Cline",
  180. "category": "Cline",
  181. "icon": "$(robot)"
  182. },
  183. {
  184. "command": "cline.abortGitCommitMessage",
  185. "title": "Generate Commit Message with Cline - Stop",
  186. "category": "Cline",
  187. "icon": "$(debug-stop)"
  188. },
  189. {
  190. "command": "cline.explainCode",
  191. "title": "Explain with Cline",
  192. "category": "Cline"
  193. },
  194. {
  195. "command": "cline.improveCode",
  196. "title": "Improve with Cline",
  197. "category": "Cline"
  198. },
  199. {
  200. "command": "cline.openWalkthrough",
  201. "title": "Open Walkthrough",
  202. "category": "Cline"
  203. }
  204. ],
  205. "keybindings": [
  206. {
  207. "command": "cline.addToChat",
  208. "key": "cmd+'",
  209. "mac": "cmd+'",
  210. "win": "ctrl+'",
  211. "linux": "ctrl+'",
  212. "when": "editorHasSelection"
  213. },
  214. {
  215. "command": "cline.generateGitCommitMessage",
  216. "when": "config.git.enabled && scmProvider == git"
  217. },
  218. {
  219. "command": "cline.focusChatInput",
  220. "key": "cmd+'",
  221. "mac": "cmd+'",
  222. "win": "ctrl+'",
  223. "linux": "ctrl+'",
  224. "when": "!editorHasSelection"
  225. }
  226. ],
  227. "menus": {
  228. "view/title": [
  229. {
  230. "command": "cline.plusButtonClicked",
  231. "group": "navigation@1",
  232. "when": "view == claude-dev.SidebarProvider"
  233. },
  234. {
  235. "command": "cline.mcpButtonClicked",
  236. "group": "navigation@2",
  237. "when": "view == claude-dev.SidebarProvider"
  238. },
  239. {
  240. "command": "cline.historyButtonClicked",
  241. "group": "navigation@3",
  242. "when": "view == claude-dev.SidebarProvider"
  243. },
  244. {
  245. "command": "cline.popoutButtonClicked",
  246. "group": "navigation@4",
  247. "when": "view == claude-dev.SidebarProvider"
  248. },
  249. {
  250. "command": "cline.accountButtonClicked",
  251. "group": "navigation@5",
  252. "when": "view == claude-dev.SidebarProvider"
  253. },
  254. {
  255. "command": "cline.settingsButtonClicked",
  256. "group": "navigation@6",
  257. "when": "view == claude-dev.SidebarProvider"
  258. }
  259. ],
  260. "editor/title": [
  261. {
  262. "command": "cline.plusButtonClicked",
  263. "group": "navigation@1",
  264. "when": "activeWebviewPanelId == claude-dev.TabPanelProvider"
  265. },
  266. {
  267. "command": "cline.mcpButtonClicked",
  268. "group": "navigation@2",
  269. "when": "activeWebviewPanelId == claude-dev.TabPanelProvider"
  270. },
  271. {
  272. "command": "cline.historyButtonClicked",
  273. "group": "navigation@3",
  274. "when": "activeWebviewPanelId == claude-dev.TabPanelProvider"
  275. },
  276. {
  277. "command": "cline.popoutButtonClicked",
  278. "group": "navigation@4",
  279. "when": "activeWebviewPanelId == claude-dev.TabPanelProvider"
  280. },
  281. {
  282. "command": "cline.accountButtonClicked",
  283. "group": "navigation@5",
  284. "when": "activeWebviewPanelId == claude-dev.TabPanelProvider"
  285. },
  286. {
  287. "command": "cline.settingsButtonClicked",
  288. "group": "navigation@6",
  289. "when": "activeWebviewPanelId == claude-dev.TabPanelProvider"
  290. }
  291. ],
  292. "editor/context": [
  293. {
  294. "command": "cline.addToChat",
  295. "group": "navigation",
  296. "when": "editorHasSelection"
  297. }
  298. ],
  299. "terminal/context": [
  300. {
  301. "command": "cline.addTerminalOutputToChat",
  302. "group": "navigation"
  303. }
  304. ],
  305. "scm/title": [
  306. {
  307. "command": "cline.generateGitCommitMessage",
  308. "group": "navigation",
  309. "when": "config.git.enabled && scmProvider == git && !cline.isGeneratingCommit"
  310. },
  311. {
  312. "command": "cline.abortGitCommitMessage",
  313. "group": "navigation",
  314. "when": "config.git.enabled && scmProvider == git && cline.isGeneratingCommit"
  315. }
  316. ],
  317. "commandPalette": [
  318. {
  319. "command": "cline.generateGitCommitMessage",
  320. "when": "config.git.enabled && scmProvider == git && !cline.isGeneratingCommit"
  321. },
  322. {
  323. "command": "cline.abortGitCommitMessage",
  324. "when": "config.git.enabled && scmProvider == git && cline.isGeneratingCommit"
  325. }
  326. ]
  327. },
  328. "configuration": {
  329. "title": "Cline",
  330. "properties": {}
  331. }
  332. },
  333. "scripts": {
  334. "vscode:prepublish": "npm run package",
  335. "compile": "npm run check-types && npm run lint && node esbuild.mjs",
  336. "compile-standalone": "npm run check-types && npm run lint && node esbuild.mjs --standalone",
  337. "postcompile-standalone": "node scripts/package-standalone.mjs",
  338. "watch": "npm-run-all -p watch:*",
  339. "watch:esbuild": "node esbuild.mjs --watch",
  340. "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
  341. "package": "npm run check-types && npm run build:webview && npm run lint && node esbuild.mjs --production",
  342. "protos": "node scripts/build-proto.mjs",
  343. "postprotos": "biome format src/shared/proto src/core/controller src/hosts/ webview-ui/src/services src/generated --write --no-errors-on-unmatched",
  344. "clean:build": "rimraf dist dist-standalone webview-ui/build src/generated out/",
  345. "clean:deps": "rimraf node_modules webview-ui/node_modules",
  346. "clean:all": "npm run clean:build && npm run clean:deps",
  347. "compile-tests": "node ./scripts/build-tests.js",
  348. "watch-tests": "tsc -p . -w --outDir out",
  349. "check-types": "npm run protos && npx tsc --noEmit && cd webview-ui && npx tsc -b --noEmit",
  350. "lint": "biome lint --no-errors-on-unmatched --files-ignore-unknown=true --diagnostic-level=error && buf lint",
  351. "format": "biome format --changed --no-errors-on-unmatched --files-ignore-unknown=true --diagnostic-level=error",
  352. "format:fix": "biome check --changed --no-errors-on-unmatched --files-ignore-unknown=true --write",
  353. "fix:all": "biome check --no-errors-on-unmatched --files-ignore-unknown=true --write --diagnostic-level=error --unsafe",
  354. "pretest": "npm run compile && npm run compile-tests && npm run compile-standalone && npm run lint",
  355. "test": "npm-run-all test:unit test:integration",
  356. "test:ci": "node scripts/test-ci.js",
  357. "test:integration": "vscode-test",
  358. "test:unit": "TS_NODE_PROJECT='./tsconfig.unit-test.json' mocha",
  359. "test:coverage": "vscode-test --coverage",
  360. "test:sca-server": "npx tsx watch scripts/test-standalone-core-api-server.ts",
  361. "test:tp-orchestrator": "npx tsx scripts/testing-platform-orchestrator.ts",
  362. "e2e": "playwright test -c playwright.config.ts",
  363. "test:e2e:build": "vsce package --allow-package-secrets sendgrid --out dist/e2e.vsix",
  364. "test:e2e": "playwright install && npm run test:e2e:build && node src/test/e2e/utils/build.mjs && playwright test",
  365. "test:e2e:optimal": "npm run test:e2e:build && node src/test/e2e/utils/build.mjs && playwright test",
  366. "test:e2e:ui": "npx tsx scripts/interactive-playwright.ts",
  367. "install:all": "npm install && cd webview-ui && npm install",
  368. "dev:webview": "cd webview-ui && npm run dev",
  369. "build:webview": "cd webview-ui && npm run build",
  370. "test:webview": "cd webview-ui && npm run test",
  371. "publish:marketplace": "vsce publish --allow-package-secrets sendgrid && ovsx publish",
  372. "publish:marketplace:prerelease": "vsce publish --allow-package-secrets sendgrid --pre-release && ovsx publish --pre-release",
  373. "publish:marketplace:nightly": "node ./scripts/publish-nightly.mjs",
  374. "prepare": "husky",
  375. "changeset": "changeset",
  376. "version-packages": "changeset version",
  377. "docs": "cd docs && npm run dev",
  378. "docs:check-links": "cd docs && npm run check",
  379. "docs:rename-file": "cd docs && npm run rename",
  380. "report-issue": "node scripts/report-issue.js"
  381. },
  382. "lint-staged": {
  383. "*": [
  384. "biome check --write --staged --no-errors-on-unmatched --files-ignore-unknown=true"
  385. ]
  386. },
  387. "devDependencies": {
  388. "@biomejs/biome": "^2.1.4",
  389. "@bufbuild/buf": "^1.54.0",
  390. "@changesets/cli": "^2.27.12",
  391. "@types/better-sqlite3": "^7.6.13",
  392. "@types/chai": "^5.0.1",
  393. "@types/clone-deep": "^4.0.4",
  394. "@types/diff": "^5.2.1",
  395. "@types/get-folder-size": "^3.0.4",
  396. "@types/mocha": "^10.0.7",
  397. "@types/node": "20.x",
  398. "@types/pdf-parse": "^1.1.4",
  399. "@types/proxyquire": "^1.3.31",
  400. "@types/should": "^11.2.0",
  401. "@types/sinon": "^17.0.4",
  402. "@types/turndown": "^5.0.5",
  403. "@types/vscode": "^1.84.0",
  404. "@vscode/test-cli": "^0.0.10",
  405. "@vscode/test-electron": "^2.5.2",
  406. "@vscode/vsce": "^3.6.0",
  407. "chai": "^4.3.10",
  408. "chalk": "5.6.2",
  409. "esbuild": "^0.25.0",
  410. "grpc-tools": "^1.13.0",
  411. "husky": "^9.1.7",
  412. "lint-staged": "^16.1.0",
  413. "minimatch": "^3.0.3",
  414. "npm-run-all": "^4.1.5",
  415. "prebuild-install": "^7.1.3",
  416. "protoc-gen-ts": "^0.8.7",
  417. "proxyquire": "^2.1.3",
  418. "rimraf": "^6.0.1",
  419. "should": "^13.2.3",
  420. "sinon": "^19.0.2",
  421. "tree-kill": "^1.2.2",
  422. "ts-node": "^10.9.2",
  423. "ts-proto": "^2.6.1",
  424. "tsconfig-paths": "^4.2.0",
  425. "typescript": "^5.4.5"
  426. },
  427. "dependencies": {
  428. "@anthropic-ai/sdk": "^0.37.0",
  429. "@anthropic-ai/vertex-sdk": "^0.6.4",
  430. "@aws-sdk/client-bedrock-runtime": "^3.840.0",
  431. "@aws-sdk/credential-providers": "^3.840.0",
  432. "@bufbuild/protobuf": "^2.2.5",
  433. "@cerebras/cerebras_cloud_sdk": "^1.35.0",
  434. "@google-cloud/vertexai": "^1.9.3",
  435. "@google/genai": "^1.11.0",
  436. "@grpc/grpc-js": "^1.9.15",
  437. "@grpc/reflection": "^1.0.4",
  438. "@mistralai/mistralai": "^1.5.0",
  439. "@modelcontextprotocol/sdk": "^1.11.1",
  440. "@opentelemetry/api": "^1.4.1",
  441. "@opentelemetry/exporter-trace-otlp-http": "^0.39.1",
  442. "@opentelemetry/resources": "^1.30.1",
  443. "@opentelemetry/sdk-node": "^0.39.1",
  444. "@opentelemetry/sdk-trace-node": "^1.30.1",
  445. "@opentelemetry/semantic-conventions": "^1.30.0",
  446. "@playwright/test": "^1.53.2",
  447. "@sap-ai-sdk/ai-api": "^1.17.0",
  448. "@sap-ai-sdk/orchestration": "^1.17.0",
  449. "@sentry/browser": "^9.12.0",
  450. "@streamparser/json": "^0.0.22",
  451. "@types/uuid": "^10.0.0",
  452. "@vscode/codicons": "^0.0.36",
  453. "archiver": "^7.0.1",
  454. "axios": "^1.8.2",
  455. "cheerio": "^1.0.0",
  456. "chokidar": "^4.0.1",
  457. "chrome-launcher": "^1.1.2",
  458. "clone-deep": "^4.0.1",
  459. "default-shell": "^2.2.0",
  460. "diff": "^5.2.0",
  461. "exceljs": "^4.4.0",
  462. "execa": "^9.5.2",
  463. "fast-deep-equal": "^3.1.3",
  464. "firebase": "^11.2.0",
  465. "fzf": "^0.5.2",
  466. "get-folder-size": "^5.0.0",
  467. "globby": "^14.0.2",
  468. "grpc-health-check": "^2.0.2",
  469. "https-proxy-agent": "^7.0.6",
  470. "iconv-lite": "^0.6.3",
  471. "ignore": "^7.0.3",
  472. "image-size": "^2.0.2",
  473. "isbinaryfile": "^5.0.2",
  474. "jschardet": "^3.1.4",
  475. "jwt-decode": "^4.0.0",
  476. "mammoth": "^1.8.0",
  477. "nice-grpc": "^2.1.12",
  478. "ollama": "^0.5.13",
  479. "open": "^10.1.2",
  480. "open-graph-scraper": "^6.9.0",
  481. "openai": "^4.83.0",
  482. "os-name": "^6.0.0",
  483. "p-timeout": "^6.1.4",
  484. "p-wait-for": "^5.0.2",
  485. "pdf-parse": "^1.1.1",
  486. "posthog-node": "^5.8.0",
  487. "puppeteer-chromium-resolver": "^23.0.0",
  488. "puppeteer-core": "^23.4.0",
  489. "reconnecting-eventsource": "^1.6.4",
  490. "serialize-error": "^11.0.3",
  491. "simple-git": "^3.27.0",
  492. "strip-ansi": "^7.1.2",
  493. "tree-sitter-wasms": "^0.1.11",
  494. "ts-morph": "^25.0.1",
  495. "turndown": "^7.2.0",
  496. "ulid": "^2.4.0",
  497. "uuid": "^11.1.0",
  498. "vscode-uri": "^3.1.0",
  499. "web-tree-sitter": "^0.22.6",
  500. "zod": "^3.24.2"
  501. }
  502. }