cline 1.0.0-nightly.4 → 1.0.0-nightly.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cline +0 -0
- package/bin/cline-host +0 -0
- package/cline-1.0.0-nightly.5.tgz +0 -0
- package/extension/package.json +512 -0
- package/package.json +2 -6
- package/postinstall.js +0 -117
- /package/{vscode → fake_node_modules/vscode}/enhanced-terminal.js +0 -0
- /package/{vscode → fake_node_modules/vscode}/index.js +0 -0
- /package/{vscode → fake_node_modules/vscode}/package.json +0 -0
- /package/{vscode → fake_node_modules/vscode}/stub-utils.js +0 -0
- /package/{vscode → fake_node_modules/vscode}/vscode-impls.js +0 -0
- /package/{vscode → fake_node_modules/vscode}/vscode-stubs.js +0 -0
package/bin/cline
CHANGED
|
Binary file
|
package/bin/cline-host
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,512 @@
|
|
|
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.32.7",
|
|
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 check-types && npm run lint && node esbuild.mjs --standalone",
|
|
299
|
+
"compile-cli": "scripts/build-cli.sh",
|
|
300
|
+
"test:install": "bash scripts/test-install.sh",
|
|
301
|
+
"dev:cli:watch": "node scripts/dev-cli-watch.mjs",
|
|
302
|
+
"postcompile-standalone": "node scripts/package-standalone.mjs",
|
|
303
|
+
"postcompile-standalone-npm": "node scripts/package-standalone.mjs --target=npm",
|
|
304
|
+
"watch": "npm-run-all -p watch:*",
|
|
305
|
+
"watch:esbuild": "node esbuild.mjs --watch",
|
|
306
|
+
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
|
|
307
|
+
"package": "npm run check-types && npm run build:webview && npm run lint && node esbuild.mjs --production",
|
|
308
|
+
"protos": "node scripts/build-proto.mjs",
|
|
309
|
+
"protos-go": "node scripts/build-go-proto.mjs",
|
|
310
|
+
"cli-providers": "node scripts/cli-providers.mjs",
|
|
311
|
+
"download-ripgrep": "node scripts/download-ripgrep.mjs",
|
|
312
|
+
"postprotos": "biome format src/shared/proto src/core/controller src/hosts/ webview-ui/src/services src/generated --write --no-errors-on-unmatched",
|
|
313
|
+
"clean:build": "rimraf dist dist-standalone webview-ui/build src/generated out/",
|
|
314
|
+
"clean:deps": "rimraf node_modules webview-ui/node_modules",
|
|
315
|
+
"clean:all": "npm run clean:build && npm run clean:deps",
|
|
316
|
+
"compile-tests": "node ./scripts/build-tests.js",
|
|
317
|
+
"watch-tests": "tsc -p . -w --outDir out",
|
|
318
|
+
"check-types": "npm run protos && npx tsc --noEmit && cd webview-ui && npx tsc -b --noEmit",
|
|
319
|
+
"lint": "biome lint --no-errors-on-unmatched --files-ignore-unknown=true --diagnostic-level=error && buf lint",
|
|
320
|
+
"format": "biome format --changed --no-errors-on-unmatched --files-ignore-unknown=true --diagnostic-level=error",
|
|
321
|
+
"format:fix": "biome check --changed --no-errors-on-unmatched --files-ignore-unknown=true --write",
|
|
322
|
+
"fix:all": "biome check --no-errors-on-unmatched --files-ignore-unknown=true --write --diagnostic-level=error --unsafe",
|
|
323
|
+
"ci:check-all": "npm-run-all -p check-types lint format",
|
|
324
|
+
"ci:build": "npm run protos && npm run build:webview && node esbuild.mjs && npm run compile-tests",
|
|
325
|
+
"pretest": "npm run compile && npm run compile-tests && npm run compile-standalone && npm run lint",
|
|
326
|
+
"test": "npm-run-all test:unit test:integration",
|
|
327
|
+
"test:integration": "vscode-test",
|
|
328
|
+
"test:unit": "cross-env TS_NODE_PROJECT=./tsconfig.unit-test.json mocha",
|
|
329
|
+
"test:coverage": "vscode-test --coverage",
|
|
330
|
+
"test:sca-server": "npx tsx watch scripts/test-standalone-core-api-server.ts",
|
|
331
|
+
"test:tp-orchestrator": "npx tsx scripts/testing-platform-orchestrator.ts",
|
|
332
|
+
"e2e": "playwright test -c playwright.config.ts",
|
|
333
|
+
"test:e2e:build": "vsce package --allow-package-secrets sendgrid --out dist/e2e.vsix",
|
|
334
|
+
"test:e2e": "playwright install && npm run test:e2e:build && node src/test/e2e/utils/build.mjs && playwright test",
|
|
335
|
+
"test:e2e:optimal": "npm run test:e2e:build && node src/test/e2e/utils/build.mjs && playwright test",
|
|
336
|
+
"test:e2e:ui": "npx tsx scripts/interactive-playwright.ts",
|
|
337
|
+
"install:all": "npm install && cd webview-ui && npm install",
|
|
338
|
+
"dev:webview": "cd webview-ui && npm run dev",
|
|
339
|
+
"build:webview": "cd webview-ui && npm run build",
|
|
340
|
+
"test:webview": "cd webview-ui && npm run test",
|
|
341
|
+
"publish:marketplace": "vsce publish --allow-package-secrets sendgrid && ovsx publish",
|
|
342
|
+
"publish:marketplace:prerelease": "vsce publish --allow-package-secrets sendgrid --pre-release && ovsx publish --pre-release",
|
|
343
|
+
"publish:marketplace:nightly": "node ./scripts/publish-nightly.mjs",
|
|
344
|
+
"prepare": "husky",
|
|
345
|
+
"changeset": "changeset",
|
|
346
|
+
"version-packages": "changeset version",
|
|
347
|
+
"docs": "cd docs && npm run dev",
|
|
348
|
+
"docs:check-links": "cd docs && npm run check",
|
|
349
|
+
"docs:rename-file": "cd docs && npm run rename",
|
|
350
|
+
"report-issue": "node scripts/report-issue.js"
|
|
351
|
+
},
|
|
352
|
+
"lint-staged": {
|
|
353
|
+
"*": [
|
|
354
|
+
"biome check --write --staged --no-errors-on-unmatched --files-ignore-unknown=true"
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
"devDependencies": {
|
|
358
|
+
"@biomejs/biome": "^2.1.4",
|
|
359
|
+
"@bufbuild/buf": "^1.54.0",
|
|
360
|
+
"@changesets/cli": "^2.27.12",
|
|
361
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
362
|
+
"@types/chai": "^5.0.1",
|
|
363
|
+
"@types/clone-deep": "^4.0.4",
|
|
364
|
+
"@types/diff": "^5.2.1",
|
|
365
|
+
"@types/get-folder-size": "^3.0.4",
|
|
366
|
+
"@types/mocha": "^10.0.7",
|
|
367
|
+
"@types/node": "20.x",
|
|
368
|
+
"@types/pdf-parse": "^1.1.4",
|
|
369
|
+
"@types/proxyquire": "^1.3.31",
|
|
370
|
+
"@types/should": "^11.2.0",
|
|
371
|
+
"@types/sinon": "^17.0.4",
|
|
372
|
+
"@types/turndown": "^5.0.5",
|
|
373
|
+
"@types/vscode": "^1.84.0",
|
|
374
|
+
"@vscode/test-cli": "^0.0.10",
|
|
375
|
+
"@vscode/test-electron": "^2.5.2",
|
|
376
|
+
"@vscode/vsce": "^3.6.0",
|
|
377
|
+
"c8": "^10.1.3",
|
|
378
|
+
"chai": "^4.3.10",
|
|
379
|
+
"chalk": "5.6.2",
|
|
380
|
+
"cross-env": "^10.1.0",
|
|
381
|
+
"esbuild": "^0.25.0",
|
|
382
|
+
"grpc-tools": "^1.13.0",
|
|
383
|
+
"husky": "^9.1.7",
|
|
384
|
+
"lint-staged": "^16.1.0",
|
|
385
|
+
"minimatch": "^3.0.3",
|
|
386
|
+
"npm-run-all": "^4.1.5",
|
|
387
|
+
"nyc": "^17.1.0",
|
|
388
|
+
"prebuild-install": "^7.1.3",
|
|
389
|
+
"protoc-gen-ts": "^0.8.7",
|
|
390
|
+
"proxyquire": "^2.1.3",
|
|
391
|
+
"rimraf": "^6.0.1",
|
|
392
|
+
"should": "^13.2.3",
|
|
393
|
+
"sinon": "^19.0.2",
|
|
394
|
+
"tree-kill": "^1.2.2",
|
|
395
|
+
"ts-node": "^10.9.2",
|
|
396
|
+
"ts-proto": "^2.6.1",
|
|
397
|
+
"tsconfig-paths": "^4.2.0",
|
|
398
|
+
"typescript": "^5.4.5"
|
|
399
|
+
},
|
|
400
|
+
"dependencies": {
|
|
401
|
+
"@anthropic-ai/sdk": "^0.37.0",
|
|
402
|
+
"@anthropic-ai/vertex-sdk": "^0.6.4",
|
|
403
|
+
"@aws-sdk/client-bedrock-runtime": "^3.840.0",
|
|
404
|
+
"@aws-sdk/credential-providers": "^3.840.0",
|
|
405
|
+
"@bufbuild/protobuf": "^2.2.5",
|
|
406
|
+
"@cerebras/cerebras_cloud_sdk": "^1.35.0",
|
|
407
|
+
"@google-cloud/vertexai": "^1.9.3",
|
|
408
|
+
"@google/genai": "^1.11.0",
|
|
409
|
+
"@grpc/grpc-js": "^1.9.15",
|
|
410
|
+
"@grpc/reflection": "^1.0.4",
|
|
411
|
+
"@mistralai/mistralai": "^1.5.0",
|
|
412
|
+
"@modelcontextprotocol/sdk": "^1.11.1",
|
|
413
|
+
"@opentelemetry/api": "^1.4.1",
|
|
414
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.39.1",
|
|
415
|
+
"@opentelemetry/resources": "^1.30.1",
|
|
416
|
+
"@opentelemetry/sdk-node": "^0.39.1",
|
|
417
|
+
"@opentelemetry/sdk-trace-node": "^1.30.1",
|
|
418
|
+
"@opentelemetry/semantic-conventions": "^1.30.0",
|
|
419
|
+
"@playwright/test": "^1.53.2",
|
|
420
|
+
"@sap-ai-sdk/ai-api": "^1.17.0",
|
|
421
|
+
"@sap-ai-sdk/orchestration": "^1.17.0",
|
|
422
|
+
"@sentry/browser": "^9.12.0",
|
|
423
|
+
"@streamparser/json": "^0.0.22",
|
|
424
|
+
"@types/uuid": "^10.0.0",
|
|
425
|
+
"@vscode/codicons": "^0.0.36",
|
|
426
|
+
"archiver": "^7.0.1",
|
|
427
|
+
"axios": "^1.12.0",
|
|
428
|
+
"better-sqlite3": "^12.4.1",
|
|
429
|
+
"cheerio": "^1.0.0",
|
|
430
|
+
"chokidar": "^4.0.1",
|
|
431
|
+
"chrome-launcher": "^1.1.2",
|
|
432
|
+
"clone-deep": "^4.0.1",
|
|
433
|
+
"default-shell": "^2.2.0",
|
|
434
|
+
"diff": "^5.2.0",
|
|
435
|
+
"exceljs": "^4.4.0",
|
|
436
|
+
"execa": "^9.5.2",
|
|
437
|
+
"fast-deep-equal": "^3.1.3",
|
|
438
|
+
"firebase": "^11.2.0",
|
|
439
|
+
"fzf": "^0.5.2",
|
|
440
|
+
"get-folder-size": "^5.0.0",
|
|
441
|
+
"globby": "^14.0.2",
|
|
442
|
+
"grpc-health-check": "^2.0.2",
|
|
443
|
+
"https-proxy-agent": "^7.0.6",
|
|
444
|
+
"iconv-lite": "^0.6.3",
|
|
445
|
+
"ignore": "^7.0.3",
|
|
446
|
+
"image-size": "^2.0.2",
|
|
447
|
+
"isbinaryfile": "^5.0.2",
|
|
448
|
+
"jschardet": "^3.1.4",
|
|
449
|
+
"jwt-decode": "^4.0.0",
|
|
450
|
+
"mammoth": "^1.8.0",
|
|
451
|
+
"nice-grpc": "^2.1.12",
|
|
452
|
+
"node-machine-id": "^1.1.12",
|
|
453
|
+
"ollama": "^0.5.13",
|
|
454
|
+
"open": "^10.1.2",
|
|
455
|
+
"open-graph-scraper": "^6.9.0",
|
|
456
|
+
"openai": "^4.83.0",
|
|
457
|
+
"os-name": "^6.0.0",
|
|
458
|
+
"p-timeout": "^6.1.4",
|
|
459
|
+
"p-wait-for": "^5.0.2",
|
|
460
|
+
"pdf-parse": "^1.1.1",
|
|
461
|
+
"posthog-node": "^5.8.0",
|
|
462
|
+
"puppeteer-chromium-resolver": "^23.0.0",
|
|
463
|
+
"puppeteer-core": "^23.4.0",
|
|
464
|
+
"reconnecting-eventsource": "^1.6.4",
|
|
465
|
+
"serialize-error": "^11.0.3",
|
|
466
|
+
"simple-git": "^3.27.0",
|
|
467
|
+
"strip-ansi": "^7.1.2",
|
|
468
|
+
"tree-sitter-wasms": "^0.1.11",
|
|
469
|
+
"ts-morph": "^25.0.1",
|
|
470
|
+
"turndown": "^7.2.0",
|
|
471
|
+
"ulid": "^2.4.0",
|
|
472
|
+
"uuid": "^11.1.0",
|
|
473
|
+
"vscode-uri": "^3.1.0",
|
|
474
|
+
"web-tree-sitter": "^0.22.6",
|
|
475
|
+
"zod": "^3.24.2"
|
|
476
|
+
},
|
|
477
|
+
"c8": {
|
|
478
|
+
"reporter": [
|
|
479
|
+
"lcov",
|
|
480
|
+
"html"
|
|
481
|
+
],
|
|
482
|
+
"exclude": [
|
|
483
|
+
"**/testing-platform/**",
|
|
484
|
+
"**/webview-ui/**",
|
|
485
|
+
"**/.vscode-test/**",
|
|
486
|
+
"**/node_modules/**",
|
|
487
|
+
"node_modules",
|
|
488
|
+
"**/dist-standalone/src/**",
|
|
489
|
+
"**/dist-standalone/vsce-extension/https:/**",
|
|
490
|
+
"**/dist-standalone/vsce-extension/**",
|
|
491
|
+
"**/dist-standalone/https:/**",
|
|
492
|
+
"**/dist-standalone/LIB/src/**",
|
|
493
|
+
"**/dist-standalone/pdfjs-dist/**",
|
|
494
|
+
"**/*.d.ts",
|
|
495
|
+
"**/*.{test,spec}.{js,jsx,ts,tsx,mjs,cjs}",
|
|
496
|
+
"**/__tests__/**",
|
|
497
|
+
"**/test/**",
|
|
498
|
+
"**/tests/**",
|
|
499
|
+
"**/.nyc_output/**",
|
|
500
|
+
"**/tests-results/**",
|
|
501
|
+
"src/test/**",
|
|
502
|
+
"**/src/xml/**",
|
|
503
|
+
"**/standalone/**",
|
|
504
|
+
"**/src/generated/**",
|
|
505
|
+
"**/evals/cli/dist/**",
|
|
506
|
+
"**/evals/cli/src/**",
|
|
507
|
+
"dist"
|
|
508
|
+
],
|
|
509
|
+
"all": true,
|
|
510
|
+
"exclude-after-remap": true
|
|
511
|
+
}
|
|
512
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cline",
|
|
3
|
-
"version": "1.0.0-nightly.
|
|
3
|
+
"version": "1.0.0-nightly.5",
|
|
4
4
|
"description": "Autonomous coding agent CLI - capable of creating/editing files, running commands, using the browser, and more",
|
|
5
5
|
"main": "cline-core.js",
|
|
6
6
|
"bin": {
|
|
@@ -13,12 +13,8 @@
|
|
|
13
13
|
"better-sqlite3",
|
|
14
14
|
"grpc-health-check",
|
|
15
15
|
"open",
|
|
16
|
-
"vscode-uri"
|
|
17
|
-
"vscode"
|
|
16
|
+
"vscode-uri"
|
|
18
17
|
],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"postinstall": "node postinstall.js"
|
|
21
|
-
},
|
|
22
18
|
"engines": {
|
|
23
19
|
"node": ">=18.0.0"
|
|
24
20
|
},
|
package/postinstall.js
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
const fs = require('fs');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
const os = require('os');
|
|
6
|
-
|
|
7
|
-
// Detect current platform
|
|
8
|
-
function getCurrentPlatform() {
|
|
9
|
-
const platform = os.platform();
|
|
10
|
-
const arch = os.arch();
|
|
11
|
-
|
|
12
|
-
if (platform === 'darwin') {
|
|
13
|
-
return arch === 'arm64' ? 'darwin-arm64' : 'darwin-x64';
|
|
14
|
-
} else if (platform === 'linux') {
|
|
15
|
-
return 'linux-x64';
|
|
16
|
-
} else if (platform === 'win32') {
|
|
17
|
-
return 'win-x64';
|
|
18
|
-
}
|
|
19
|
-
throw new Error(`Unsupported platform: ${platform}-${arch}`);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// Validate binary installation
|
|
23
|
-
function validateInstallation() {
|
|
24
|
-
const currentPlatform = getCurrentPlatform();
|
|
25
|
-
console.log(`Validating Cline installation for ${currentPlatform}...`);
|
|
26
|
-
|
|
27
|
-
// Check CLI binaries
|
|
28
|
-
const clineExe = path.join(__dirname, 'bin', 'cline');
|
|
29
|
-
const clineHostExe = path.join(__dirname, 'bin', 'cline-host');
|
|
30
|
-
|
|
31
|
-
if (!fs.existsSync(clineExe)) {
|
|
32
|
-
console.error(`Error: cline binary not found at ${clineExe}`);
|
|
33
|
-
process.exit(1);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
if (!fs.existsSync(clineHostExe)) {
|
|
37
|
-
console.error(`Error: cline-host binary not found at ${clineHostExe}`);
|
|
38
|
-
process.exit(1);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// Check ripgrep binary
|
|
42
|
-
const rgBinary = currentPlatform.startsWith('win') ? 'rg.exe' : 'rg';
|
|
43
|
-
const rgPath = path.join(__dirname, rgBinary);
|
|
44
|
-
|
|
45
|
-
if (!fs.existsSync(rgPath)) {
|
|
46
|
-
console.error(`Error: ripgrep binary not found at ${rgPath}`);
|
|
47
|
-
process.exit(1);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// Ensure binaries are executable (Unix only)
|
|
51
|
-
if (!currentPlatform.startsWith('win')) {
|
|
52
|
-
try {
|
|
53
|
-
fs.chmodSync(clineExe, 0o755);
|
|
54
|
-
fs.chmodSync(clineHostExe, 0o755);
|
|
55
|
-
fs.chmodSync(rgPath, 0o755);
|
|
56
|
-
} catch (error) {
|
|
57
|
-
console.warn(`Warning: Could not set executable permissions: ${error.message}`);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// Create symlink from node_modules/vscode to ../vscode
|
|
62
|
-
// This allows Node.js to find the vscode stub module
|
|
63
|
-
const vscodeStubPath = path.join(__dirname, 'vscode');
|
|
64
|
-
const nodeModulesVscodePath = path.join(__dirname, 'node_modules', 'vscode');
|
|
65
|
-
|
|
66
|
-
if (fs.existsSync(vscodeStubPath)) {
|
|
67
|
-
// Create node_modules directory if it doesn't exist
|
|
68
|
-
const nodeModulesDir = path.join(__dirname, 'node_modules');
|
|
69
|
-
if (!fs.existsSync(nodeModulesDir)) {
|
|
70
|
-
fs.mkdirSync(nodeModulesDir, { recursive: true });
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// Remove existing symlink/directory if it exists
|
|
74
|
-
if (fs.existsSync(nodeModulesVscodePath)) {
|
|
75
|
-
try {
|
|
76
|
-
fs.unlinkSync(nodeModulesVscodePath);
|
|
77
|
-
} catch (e) {
|
|
78
|
-
// Might be a directory, try rmdir
|
|
79
|
-
try {
|
|
80
|
-
fs.rmdirSync(nodeModulesVscodePath, { recursive: true });
|
|
81
|
-
} catch (e2) {
|
|
82
|
-
console.warn(`Warning: Could not remove existing vscode module: ${e2.message}`);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// Create symlink
|
|
88
|
-
try {
|
|
89
|
-
if (currentPlatform.startsWith('win')) {
|
|
90
|
-
// Windows requires junction for directories
|
|
91
|
-
fs.symlinkSync(vscodeStubPath, nodeModulesVscodePath, 'junction');
|
|
92
|
-
} else {
|
|
93
|
-
// Unix uses regular symlinks
|
|
94
|
-
fs.symlinkSync('../vscode', nodeModulesVscodePath);
|
|
95
|
-
}
|
|
96
|
-
console.log('✓ Created symlink for vscode stub module');
|
|
97
|
-
} catch (error) {
|
|
98
|
-
console.warn(`Warning: Could not create vscode symlink: ${error.message}`);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
console.log('✓ Cline installation validated successfully');
|
|
103
|
-
console.log('');
|
|
104
|
-
console.log('Usage:');
|
|
105
|
-
console.log(' cline - Start Cline CLI');
|
|
106
|
-
console.log(' cline-host - Start Cline host service');
|
|
107
|
-
console.log('');
|
|
108
|
-
console.log('Documentation: https://docs.cline.bot');
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
try {
|
|
112
|
-
validateInstallation();
|
|
113
|
-
} catch (error) {
|
|
114
|
-
console.error(`Installation validation failed: ${error.message}`);
|
|
115
|
-
console.error('Please report this issue at: https://github.com/cline/cline/issues');
|
|
116
|
-
process.exit(1);
|
|
117
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|