package.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  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.34.1",
  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.accountButtonClicked",
  138. "title": "Account",
  139. "icon": "$(account)"
  140. },
  141. {
  142. "command": "cline.settingsButtonClicked",
  143. "title": "Settings",
  144. "icon": "$(settings-gear)"
  145. },
  146. {
  147. "command": "cline.dev.createTestTasks",
  148. "title": "Create Test Tasks",
  149. "category": "Cline",
  150. "when": "cline.isDevMode"
  151. },
  152. {
  153. "command": "cline.addToChat",
  154. "title": "Add to Cline",
  155. "category": "Cline"
  156. },
  157. {
  158. "command": "cline.addTerminalOutputToChat",
  159. "title": "Add to Cline",
  160. "category": "Cline"
  161. },
  162. {
  163. "command": "cline.focusChatInput",
  164. "title": "Jump to Chat Input",
  165. "category": "Cline"
  166. },
  167. {
  168. "command": "cline.generateGitCommitMessage",
  169. "title": "Generate Commit Message with Cline",
  170. "category": "Cline",
  171. "icon": {
  172. "light": "assets/icons/robot_panel_light.png",
  173. "dark": "assets/icons/robot_panel_dark.png"
  174. }
  175. },
  176. {
  177. "command": "cline.abortGitCommitMessage",
  178. "title": "Generate Commit Message with Cline - Stop",
  179. "category": "Cline",
  180. "icon": "$(debug-stop)"
  181. },
  182. {
  183. "command": "cline.explainCode",
  184. "title": "Explain with Cline",
  185. "category": "Cline"
  186. },
  187. {
  188. "command": "cline.improveCode",
  189. "title": "Improve with Cline",
  190. "category": "Cline"
  191. },
  192. {
  193. "command": "cline.openWalkthrough",
  194. "title": "Open Walkthrough",
  195. "category": "Cline"
  196. },
  197. {
  198. "command": "cline.reconstructTaskHistory",
  199. "title": "Reconstruct Task History",
  200. "category": "Cline"
  201. }
  202. ],
  203. "keybindings": [
  204. {
  205. "command": "cline.addToChat",
  206. "key": "cmd+'",
  207. "mac": "cmd+'",
  208. "win": "ctrl+'",
  209. "linux": "ctrl+'",
  210. "when": "editorHasSelection"
  211. },
  212. {
  213. "command": "cline.generateGitCommitMessage",
  214. "when": "config.git.enabled && scmProvider == git"
  215. },
  216. {
  217. "command": "cline.focusChatInput",
  218. "key": "cmd+'",
  219. "mac": "cmd+'",
  220. "win": "ctrl+'",
  221. "linux": "ctrl+'",
  222. "when": "!editorHasSelection"
  223. }
  224. ],
  225. "menus": {
  226. "view/title": [
  227. {
  228. "command": "cline.plusButtonClicked",
  229. "group": "navigation@1",
  230. "when": "view == claude-dev.SidebarProvider"
  231. },
  232. {
  233. "command": "cline.mcpButtonClicked",
  234. "group": "navigation@2",
  235. "when": "view == claude-dev.SidebarProvider"
  236. },
  237. {
  238. "command": "cline.historyButtonClicked",
  239. "group": "navigation@3",
  240. "when": "view == claude-dev.SidebarProvider"
  241. },
  242. {
  243. "command": "cline.accountButtonClicked",
  244. "group": "navigation@5",
  245. "when": "view == claude-dev.SidebarProvider"
  246. },
  247. {
  248. "command": "cline.settingsButtonClicked",
  249. "group": "navigation@6",
  250. "when": "view == claude-dev.SidebarProvider"
  251. }
  252. ],
  253. "editor/context": [
  254. {
  255. "command": "cline.addToChat",
  256. "group": "navigation",
  257. "when": "editorHasSelection"
  258. }
  259. ],
  260. "terminal/context": [
  261. {
  262. "command": "cline.addTerminalOutputToChat",
  263. "group": "navigation"
  264. }
  265. ],
  266. "scm/title": [
  267. {
  268. "command": "cline.generateGitCommitMessage",
  269. "group": "navigation",
  270. "when": "config.git.enabled && scmProvider == git && !cline.isGeneratingCommit"
  271. },
  272. {
  273. "command": "cline.abortGitCommitMessage",
  274. "group": "navigation",
  275. "when": "config.git.enabled && scmProvider == git && cline.isGeneratingCommit"
  276. }
  277. ],
  278. "commandPalette": [
  279. {
  280. "command": "cline.generateGitCommitMessage",
  281. "when": "config.git.enabled && scmProvider == git && !cline.isGeneratingCommit"
  282. },
  283. {
  284. "command": "cline.abortGitCommitMessage",
  285. "when": "config.git.enabled && scmProvider == git && cline.isGeneratingCommit"
  286. }
  287. ]
  288. },
  289. "configuration": {
  290. "title": "Cline",
  291. "properties": {}
  292. }
  293. },
  294. "scripts": {
  295. "vscode:prepublish": "npm run package",
  296. "compile": "npm run check-types && npm run lint && node esbuild.mjs",
  297. "compile-standalone": "npm run check-types && npm run lint && node esbuild.mjs --standalone",
  298. "compile-standalone-npm": "npm run protos && npm run protos-go && npm run check-types && npm run lint && node esbuild.mjs --standalone",
  299. "compile-cli": "scripts/build-cli.sh",
  300. "compile-cli-all-platforms": "scripts/build-cli-all-platforms.sh",
  301. "compile-cli-man-page": "pandoc cli/man/cline.1.md -s -t man -o cli/man/cline.1",
  302. "build:npm": "scripts/build-npm-package.sh",
  303. "test:install": "bash scripts/test-install.sh",
  304. "dev:cli:watch": "node scripts/dev-cli-watch.mjs",
  305. "postcompile-standalone": "node scripts/package-standalone.mjs",
  306. "postcompile-standalone-npm": "node scripts/package-standalone.mjs --target=npm",
  307. "watch": "npm-run-all -p watch:*",
  308. "watch:esbuild": "node esbuild.mjs --watch",
  309. "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
  310. "package": "npm run check-types && npm run build:webview && npm run lint && node esbuild.mjs --production",
  311. "protos": "node scripts/build-proto.mjs",
  312. "protos-go": "node scripts/build-go-proto.mjs",
  313. "protos-python": "node scripts/build-python-proto.mjs",
  314. "cli-providers": "node scripts/cli-providers.mjs",
  315. "download-ripgrep": "node scripts/download-ripgrep.mjs",
  316. "postprotos": "biome format src/shared/proto src/core/controller src/hosts/ webview-ui/src/services src/generated --write --no-errors-on-unmatched",
  317. "clean:build": "rimraf dist dist-standalone webview-ui/build src/generated out/",
  318. "clean:deps": "rimraf node_modules webview-ui/node_modules",
  319. "clean:all": "npm run clean:build && npm run clean:deps",
  320. "compile-tests": "node ./scripts/build-tests.js",
  321. "watch-tests": "tsc -p . -w --outDir out",
  322. "check-types": "npm run protos && npx tsc --noEmit && cd webview-ui && npx tsc -b --noEmit",
  323. "lint": "biome lint --no-errors-on-unmatched --files-ignore-unknown=true --diagnostic-level=error && npm run lint:proto",
  324. "lint:proto": "bash ./scripts/proto-lint.sh",
  325. "format": "biome format --changed --no-errors-on-unmatched --files-ignore-unknown=true --diagnostic-level=error",
  326. "format:fix": "biome check --changed --no-errors-on-unmatched --files-ignore-unknown=true --write",
  327. "fix:all": "biome check --no-errors-on-unmatched --files-ignore-unknown=true --write --diagnostic-level=error --unsafe",
  328. "ci:check-all": "npm-run-all -p check-types lint format",
  329. "ci:build": "npm run protos && npm run build:webview && node esbuild.mjs && npm run compile-tests",
  330. "pretest": "npm run compile && npm run compile-tests && npm run compile-standalone && npm run lint",
  331. "test": "npm-run-all test:unit test:integration",
  332. "test:integration": "vscode-test",
  333. "test:unit": "cross-env TS_NODE_PROJECT=./tsconfig.unit-test.json mocha # Use `npm run test:unit --update-snapshots` to rebuild prompt snapshots",
  334. "test:coverage": "vscode-test --coverage",
  335. "test:sca-server": "npx tsx watch scripts/test-standalone-core-api-server.ts",
  336. "test:tp-orchestrator": "npx tsx scripts/testing-platform-orchestrator.ts",
  337. "e2e": "playwright test -c playwright.config.ts",
  338. "test:e2e:build": "vsce package --allow-package-secrets sendgrid --out dist/e2e.vsix",
  339. "test:e2e": "playwright install && npm run test:e2e:build && node src/test/e2e/utils/build.mjs && playwright test",
  340. "test:e2e:optimal": "npm run test:e2e:build && node src/test/e2e/utils/build.mjs && playwright test",
  341. "test:e2e:ui": "npx tsx scripts/interactive-playwright.ts",
  342. "install:all": "npm install && cd webview-ui && npm install",
  343. "dev:webview": "cd webview-ui && npm run dev",
  344. "build:webview": "cd webview-ui && npm run build",
  345. "test:webview": "cd webview-ui && npm run test",
  346. "publish:marketplace": "vsce publish --allow-package-secrets sendgrid && ovsx publish",
  347. "publish:marketplace:prerelease": "vsce publish --allow-package-secrets sendgrid --pre-release && ovsx publish --pre-release",
  348. "publish:marketplace:nightly": "node ./scripts/publish-nightly.mjs",
  349. "prepare": "husky",
  350. "changeset": "changeset",
  351. "version-packages": "changeset version",
  352. "docs": "cd docs && npm run dev",
  353. "docs:check-links": "cd docs && npm run check",
  354. "docs:rename-file": "cd docs && npm run rename",
  355. "report-issue": "node scripts/report-issue.js"
  356. },
  357. "lint-staged": {
  358. "*": [
  359. "biome check --write --staged --no-errors-on-unmatched --files-ignore-unknown=true"
  360. ]
  361. },
  362. "devDependencies": {
  363. "@biomejs/biome": "^2.1.4",
  364. "@bufbuild/buf": "^1.54.0",
  365. "@changesets/cli": "^2.27.12",
  366. "@types/better-sqlite3": "^7.6.13",
  367. "@types/chai": "^5.0.1",
  368. "@types/clone-deep": "^4.0.4",
  369. "@types/diff": "^5.2.1",
  370. "@types/get-folder-size": "^3.0.4",
  371. "@types/mocha": "^10.0.7",
  372. "@types/node": "20.x",
  373. "@types/pdf-parse": "^1.1.4",
  374. "@types/proxyquire": "^1.3.31",
  375. "@types/should": "^11.2.0",
  376. "@types/sinon": "^17.0.4",
  377. "@types/turndown": "^5.0.5",
  378. "@types/vscode": "1.84.0",
  379. "@vscode/test-cli": "^0.0.10",
  380. "@vscode/test-electron": "^2.5.2",
  381. "@vscode/vsce": "^3.6.0",
  382. "c8": "^10.1.3",
  383. "chai": "^4.3.10",
  384. "chalk": "5.6.2",
  385. "cross-env": "^10.1.0",
  386. "esbuild": "^0.25.0",
  387. "grpc-tools": "^1.13.0",
  388. "husky": "^9.1.7",
  389. "lint-staged": "^16.1.0",
  390. "minimatch": "^3.0.3",
  391. "npm-run-all": "^4.1.5",
  392. "nyc": "^17.1.0",
  393. "prebuild-install": "^7.1.3",
  394. "protoc-gen-ts": "^0.8.7",
  395. "proxyquire": "^2.1.3",
  396. "rimraf": "^6.0.1",
  397. "should": "^13.2.3",
  398. "sinon": "^19.0.2",
  399. "tree-kill": "^1.2.2",
  400. "ts-node": "^10.9.2",
  401. "ts-proto": "^2.6.1",
  402. "tsconfig-paths": "^4.2.0",
  403. "typescript": "^5.4.5"
  404. },
  405. "dependencies": {
  406. "@anthropic-ai/sdk": "^0.37.0",
  407. "@anthropic-ai/vertex-sdk": "^0.6.4",
  408. "@aws-sdk/client-bedrock-runtime": "^3.840.0",
  409. "@aws-sdk/credential-providers": "^3.840.0",
  410. "@bufbuild/protobuf": "^2.2.5",
  411. "@cerebras/cerebras_cloud_sdk": "^1.35.0",
  412. "@google-cloud/vertexai": "^1.9.3",
  413. "@google/genai": "^1.11.0",
  414. "@grpc/grpc-js": "^1.9.15",
  415. "@grpc/reflection": "^1.0.4",
  416. "@mistralai/mistralai": "^1.5.0",
  417. "@modelcontextprotocol/sdk": "^1.11.1",
  418. "@opentelemetry/api": "^1.9.0",
  419. "@opentelemetry/core": "^2.1.0",
  420. "@opentelemetry/exporter-logs-otlp-grpc": "^0.56.0",
  421. "@opentelemetry/exporter-logs-otlp-http": "^0.56.0",
  422. "@opentelemetry/exporter-logs-otlp-proto": "^0.56.0",
  423. "@opentelemetry/exporter-metrics-otlp-grpc": "^0.56.0",
  424. "@opentelemetry/exporter-metrics-otlp-http": "^0.56.0",
  425. "@opentelemetry/exporter-metrics-otlp-proto": "^0.56.0",
  426. "@opentelemetry/exporter-prometheus": "^0.56.0",
  427. "@opentelemetry/exporter-trace-otlp-http": "^0.56.0",
  428. "@opentelemetry/instrumentation": "^0.205.0",
  429. "@opentelemetry/instrumentation-http": "^0.205.0",
  430. "@opentelemetry/resources": "^1.30.1",
  431. "@opentelemetry/sdk-logs": "^0.56.0",
  432. "@opentelemetry/sdk-metrics": "^1.30.1",
  433. "@opentelemetry/sdk-node": "^0.56.0",
  434. "@opentelemetry/sdk-trace-base": "^2.1.0",
  435. "@opentelemetry/sdk-trace-node": "^1.30.1",
  436. "@opentelemetry/semantic-conventions": "^1.37.0",
  437. "@playwright/test": "^1.55.1",
  438. "@sap-ai-sdk/ai-api": "^1.17.0",
  439. "@sap-ai-sdk/orchestration": "^1.17.0",
  440. "@sentry/browser": "^9.12.0",
  441. "@streamparser/json": "^0.0.22",
  442. "@tailwindcss/vite": "^4.1.14",
  443. "@types/uuid": "^10.0.0",
  444. "@vscode/codicons": "^0.0.36",
  445. "archiver": "^7.0.1",
  446. "axios": "^1.12.0",
  447. "better-sqlite3": "^12.4.1",
  448. "cheerio": "^1.0.0",
  449. "chokidar": "^4.0.1",
  450. "chrome-launcher": "^1.1.2",
  451. "clone-deep": "^4.0.1",
  452. "default-shell": "^2.2.0",
  453. "diff": "^5.2.0",
  454. "exceljs": "^4.4.0",
  455. "execa": "^9.5.2",
  456. "fast-deep-equal": "^3.1.3",
  457. "firebase": "^11.2.0",
  458. "fzf": "^0.5.2",
  459. "get-folder-size": "^5.0.0",
  460. "globby": "^14.0.2",
  461. "grpc-health-check": "^2.0.2",
  462. "https-proxy-agent": "^7.0.6",
  463. "iconv-lite": "^0.6.3",
  464. "ignore": "^7.0.3",
  465. "image-size": "^2.0.2",
  466. "isbinaryfile": "^5.0.2",
  467. "jschardet": "^3.1.4",
  468. "jwt-decode": "^4.0.0",
  469. "mammoth": "^1.11.0",
  470. "nice-grpc": "^2.1.12",
  471. "node-machine-id": "^1.1.12",
  472. "ollama": "^0.5.13",
  473. "open": "^10.1.2",
  474. "open-graph-scraper": "^6.9.0",
  475. "openai": "^4.83.0",
  476. "os-name": "^6.0.0",
  477. "p-timeout": "^6.1.4",
  478. "p-wait-for": "^5.0.2",
  479. "pdf-parse": "^1.1.1",
  480. "posthog-node": "^5.8.0",
  481. "puppeteer-chromium-resolver": "^23.0.0",
  482. "puppeteer-core": "^23.4.0",
  483. "reconnecting-eventsource": "^1.6.4",
  484. "serialize-error": "^11.0.3",
  485. "simple-git": "^3.27.0",
  486. "strip-ansi": "^7.1.2",
  487. "tailwindcss": "^4.1.14",
  488. "tree-sitter-wasms": "^0.1.11",
  489. "ts-morph": "^25.0.1",
  490. "turndown": "^7.2.0",
  491. "ulid": "^2.4.0",
  492. "uuid": "^11.1.0",
  493. "vscode-uri": "^3.1.0",
  494. "web-tree-sitter": "^0.22.6",
  495. "zod": "^3.24.2"
  496. },
  497. "overrides": {
  498. "tar-fs": ">=3.1.1"
  499. },
  500. "c8": {
  501. "reporter": [
  502. "lcov",
  503. "html"
  504. ],
  505. "exclude": [
  506. "**/testing-platform/**",
  507. "**/webview-ui/**",
  508. "**/.vscode-test/**",
  509. "**/node_modules/**",
  510. "node_modules",
  511. "**/dist-standalone/src/**",
  512. "**/dist-standalone/vsce-extension/https:/**",
  513. "**/dist-standalone/vsce-extension/**",
  514. "**/dist-standalone/https:/**",
  515. "**/dist-standalone/LIB/src/**",
  516. "**/dist-standalone/pdfjs-dist/**",
  517. "**/*.d.ts",
  518. "**/*.{test,spec}.{js,jsx,ts,tsx,mjs,cjs}",
  519. "**/__tests__/**",
  520. "**/test/**",
  521. "**/tests/**",
  522. "**/.nyc_output/**",
  523. "**/tests-results/**",
  524. "src/test/**",
  525. "**/src/xml/**",
  526. "**/standalone/**",
  527. "**/src/generated/**",
  528. "**/evals/cli/dist/**",
  529. "**/evals/cli/src/**",
  530. "dist"
  531. ],
  532. "all": true,
  533. "exclude-after-remap": true
  534. }
  535. }