cline 1.0.4 → 1.0.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-darwin-amd64 +0 -0
- package/bin/cline-darwin-arm64 +0 -0
- package/bin/cline-host +0 -0
- package/bin/cline-host-darwin-amd64 +0 -0
- package/bin/cline-host-darwin-arm64 +0 -0
- package/bin/cline-host-linux-amd64 +0 -0
- package/bin/cline-host-linux-arm64 +0 -0
- package/bin/cline-linux-amd64 +0 -0
- package/bin/cline-linux-arm64 +0 -0
- package/cline-core.js +323730 -321548
- package/extension/package.json +4 -4
- package/package.json +66 -60
- package/proto/cline/models.proto +41 -4
- package/proto/cline/state.proto +8 -0
- package/proto/descriptor_set.pb +0 -0
package/extension/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "claude-dev",
|
|
3
3
|
"displayName": "Cline",
|
|
4
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.
|
|
5
|
+
"version": "3.36.0",
|
|
6
6
|
"icon": "assets/icons/icon.png",
|
|
7
7
|
"engines": {
|
|
8
8
|
"vscode": "^1.84.0"
|
|
@@ -405,8 +405,8 @@
|
|
|
405
405
|
"dependencies": {
|
|
406
406
|
"@anthropic-ai/sdk": "^0.37.0",
|
|
407
407
|
"@anthropic-ai/vertex-sdk": "^0.6.4",
|
|
408
|
-
"@aws-sdk/client-bedrock-runtime": "^3.
|
|
409
|
-
"@aws-sdk/credential-providers": "^3.
|
|
408
|
+
"@aws-sdk/client-bedrock-runtime": "^3.922.0",
|
|
409
|
+
"@aws-sdk/credential-providers": "^3.922.0",
|
|
410
410
|
"@bufbuild/protobuf": "^2.2.5",
|
|
411
411
|
"@cerebras/cerebras_cloud_sdk": "^1.35.0",
|
|
412
412
|
"@google-cloud/vertexai": "^1.9.3",
|
|
@@ -459,7 +459,6 @@
|
|
|
459
459
|
"get-folder-size": "^5.0.0",
|
|
460
460
|
"globby": "^14.0.2",
|
|
461
461
|
"grpc-health-check": "^2.0.2",
|
|
462
|
-
"https-proxy-agent": "^7.0.6",
|
|
463
462
|
"iconv-lite": "^0.6.3",
|
|
464
463
|
"ignore": "^7.0.3",
|
|
465
464
|
"image-size": "^2.0.2",
|
|
@@ -490,6 +489,7 @@
|
|
|
490
489
|
"ts-morph": "^25.0.1",
|
|
491
490
|
"turndown": "^7.2.0",
|
|
492
491
|
"ulid": "^2.4.0",
|
|
492
|
+
"undici": "^7.16.0",
|
|
493
493
|
"uuid": "^11.1.0",
|
|
494
494
|
"vscode-uri": "^3.1.0",
|
|
495
495
|
"web-tree-sitter": "^0.22.6",
|
package/package.json
CHANGED
|
@@ -1,62 +1,68 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
2
|
+
"name": "cline",
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "Autonomous coding agent CLI - capable of creating/editing files, running commands, using the browser, and more",
|
|
5
|
+
"main": "cline-core.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"cline": "./bin/cline",
|
|
8
|
+
"cline-host": "./bin/cline-host"
|
|
9
|
+
},
|
|
10
|
+
"man": "./man/cline.1",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"postinstall": "node postinstall.js"
|
|
13
|
+
},
|
|
14
|
+
"bundleDependencies": [
|
|
15
|
+
"@grpc/grpc-js",
|
|
16
|
+
"@grpc/reflection",
|
|
17
|
+
"better-sqlite3",
|
|
18
|
+
"grpc-health-check",
|
|
19
|
+
"open",
|
|
20
|
+
"vscode-uri"
|
|
21
|
+
],
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=20.0.0"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"cline",
|
|
27
|
+
"claude",
|
|
28
|
+
"dev",
|
|
29
|
+
"mcp",
|
|
30
|
+
"openrouter",
|
|
31
|
+
"coding",
|
|
32
|
+
"agent",
|
|
33
|
+
"autonomous",
|
|
34
|
+
"chatgpt",
|
|
35
|
+
"sonnet",
|
|
36
|
+
"ai",
|
|
37
|
+
"llama",
|
|
38
|
+
"cli"
|
|
39
|
+
],
|
|
40
|
+
"author": {
|
|
41
|
+
"name": "Cline Bot Inc."
|
|
42
|
+
},
|
|
43
|
+
"license": "Apache-2.0",
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "https://github.com/cline/cline"
|
|
47
|
+
},
|
|
48
|
+
"homepage": "https://cline.bot",
|
|
49
|
+
"bugs": {
|
|
50
|
+
"url": "https://github.com/cline/cline/issues"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@grpc/grpc-js": "^1.13.3",
|
|
54
|
+
"@grpc/reflection": "^1.0.4",
|
|
55
|
+
"better-sqlite3": "^12.2.0",
|
|
56
|
+
"grpc-health-check": "^2.0.2",
|
|
57
|
+
"open": "^10.1.2",
|
|
58
|
+
"vscode-uri": "^3.1.0"
|
|
59
|
+
},
|
|
60
|
+
"os": [
|
|
61
|
+
"darwin",
|
|
62
|
+
"linux"
|
|
63
|
+
],
|
|
64
|
+
"cpu": [
|
|
65
|
+
"x64",
|
|
66
|
+
"arm64"
|
|
67
|
+
]
|
|
62
68
|
}
|
package/proto/cline/models.proto
CHANGED
|
@@ -23,10 +23,10 @@ service ModelsService {
|
|
|
23
23
|
rpc refreshHuggingFaceModels(EmptyRequest) returns (OpenRouterCompatibleModelInfo);
|
|
24
24
|
// Refreshes and returns OpenAI models
|
|
25
25
|
rpc refreshOpenAiModels(OpenAiModelsRequest) returns (StringArray);
|
|
26
|
-
// Refreshes and returns Vercel AI Gateway models
|
|
27
|
-
rpc refreshVercelAiGatewayModelsRpc(EmptyRequest) returns (OpenRouterCompatibleModelInfo);
|
|
28
26
|
// Refreshes and returns Requesty models
|
|
29
27
|
rpc refreshRequestyModels(EmptyRequest) returns (OpenRouterCompatibleModelInfo);
|
|
28
|
+
// Refreshes and returns Hicap models
|
|
29
|
+
rpc refreshHicapModels(EmptyRequest) returns (OpenRouterCompatibleModelInfo);
|
|
30
30
|
// Subscribe to OpenRouter models updates
|
|
31
31
|
rpc subscribeToOpenRouterModels(EmptyRequest) returns (stream OpenRouterCompatibleModelInfo);
|
|
32
32
|
// Updates API configuration (legacy - uses combined configuration)
|
|
@@ -43,6 +43,8 @@ service ModelsService {
|
|
|
43
43
|
rpc getSapAiCoreModels(SapAiCoreModelsRequest) returns (SapAiCoreModelsResponse);
|
|
44
44
|
// Fetches available models from OCA
|
|
45
45
|
rpc refreshOcaModels(StringRequest) returns (OcaCompatibleModelInfo);
|
|
46
|
+
// Fetches available models from AIhubmix
|
|
47
|
+
rpc getAihubmixModels(EmptyRequest) returns (OpenRouterCompatibleModelInfo);
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
// List of VS Code LM models
|
|
@@ -170,6 +172,7 @@ message ModelsApiSecrets {
|
|
|
170
172
|
optional string oca_api_key = 36;
|
|
171
173
|
optional string oca_refresh_token = 37;
|
|
172
174
|
optional string minimax_api_key = 38;
|
|
175
|
+
optional string aihubmix_api_key = 39;
|
|
173
176
|
}
|
|
174
177
|
|
|
175
178
|
// API configuration options (non-secret settings)
|
|
@@ -216,6 +219,8 @@ message ModelsApiOptions {
|
|
|
216
219
|
optional string oca_mode = 39;
|
|
217
220
|
optional bool aws_use_global_inference = 40;
|
|
218
221
|
optional string minimax_api_line = 41;
|
|
222
|
+
optional string aihubmix_base_url = 42;
|
|
223
|
+
optional string aihubmix_app_code = 43;
|
|
219
224
|
|
|
220
225
|
// Plan mode configurations
|
|
221
226
|
optional ApiProvider plan_mode_api_provider = 100;
|
|
@@ -251,6 +256,8 @@ message ModelsApiOptions {
|
|
|
251
256
|
optional OpenRouterModelInfo plan_mode_vercel_ai_gateway_model_info = 130;
|
|
252
257
|
optional string plan_mode_oca_model_id = 131;
|
|
253
258
|
optional OcaModelInfo plan_mode_oca_model_info = 132;
|
|
259
|
+
optional string plan_mode_aihubmix_model_id = 133;
|
|
260
|
+
optional OpenAiCompatibleModelInfo plan_mode_aihubmix_model_info = 134;
|
|
254
261
|
|
|
255
262
|
// Act mode configurations
|
|
256
263
|
optional ApiProvider act_mode_api_provider = 200;
|
|
@@ -286,6 +293,8 @@ message ModelsApiOptions {
|
|
|
286
293
|
optional OpenRouterModelInfo act_mode_vercel_ai_gateway_model_info = 230;
|
|
287
294
|
optional string act_mode_oca_model_id = 231;
|
|
288
295
|
optional OcaModelInfo act_mode_oca_model_info = 232;
|
|
296
|
+
optional string act_mode_aihubmix_model_id = 233;
|
|
297
|
+
optional OpenAiCompatibleModelInfo act_mode_aihubmix_model_info = 234;
|
|
289
298
|
}
|
|
290
299
|
|
|
291
300
|
// Request for updating API configuration (legacy - uses combined configuration)
|
|
@@ -294,11 +303,24 @@ message UpdateApiConfigurationRequest {
|
|
|
294
303
|
ModelsApiConfiguration api_configuration = 2;
|
|
295
304
|
}
|
|
296
305
|
|
|
306
|
+
// Combined API configuration containing both options and secrets
|
|
307
|
+
message ApiConfiguration {
|
|
308
|
+
ModelsApiOptions options = 1;
|
|
309
|
+
ModelsApiSecrets secrets = 2;
|
|
310
|
+
}
|
|
311
|
+
|
|
297
312
|
// Request for updating API configuration (new - uses separate options and secrets)
|
|
298
313
|
message UpdateApiConfigurationRequestNew {
|
|
299
314
|
Metadata metadata = 1;
|
|
300
|
-
|
|
301
|
-
|
|
315
|
+
ApiConfiguration api_configuration = 2;
|
|
316
|
+
|
|
317
|
+
// Required field mask specifying which fields to update.
|
|
318
|
+
// Field paths use dot notation with camelCase field names:
|
|
319
|
+
// - "options.ulid" (for options fields)
|
|
320
|
+
// - "options.openAiHeaders" (for options fields)
|
|
321
|
+
// - "secrets.apiKey" (for secrets fields)
|
|
322
|
+
// - "secrets.openRouterApiKey" (for secrets fields)
|
|
323
|
+
google.protobuf.FieldMask update_mask = 3;
|
|
302
324
|
}
|
|
303
325
|
|
|
304
326
|
// Request for partially updating API configuration using FieldMask
|
|
@@ -397,6 +419,8 @@ enum ApiProvider {
|
|
|
397
419
|
DIFY = 34;
|
|
398
420
|
OCA = 35;
|
|
399
421
|
MINIMAX = 36;
|
|
422
|
+
HICAP = 37;
|
|
423
|
+
AIHUBMIX = 38;
|
|
400
424
|
}
|
|
401
425
|
|
|
402
426
|
// Model info for OpenAI-compatible models
|
|
@@ -516,6 +540,11 @@ message ModelsApiConfiguration {
|
|
|
516
540
|
optional bool aws_use_global_inference = 77;
|
|
517
541
|
optional string minimax_api_key = 78;
|
|
518
542
|
optional string minimax_api_line = 79;
|
|
543
|
+
optional string hicap_model_id = 80;
|
|
544
|
+
optional string hicap_api_key = 81;
|
|
545
|
+
optional string aihubmix_api_key = 82;
|
|
546
|
+
optional string aihubmix_base_url = 83;
|
|
547
|
+
optional string aihubmix_app_code = 84;
|
|
519
548
|
|
|
520
549
|
// Plan mode configurations
|
|
521
550
|
optional ApiProvider plan_mode_api_provider = 100;
|
|
@@ -551,6 +580,10 @@ message ModelsApiConfiguration {
|
|
|
551
580
|
optional OpenRouterModelInfo plan_mode_vercel_ai_gateway_model_info = 130;
|
|
552
581
|
optional string plan_mode_oca_model_id = 131;
|
|
553
582
|
optional OcaModelInfo plan_mode_oca_model_info = 132;
|
|
583
|
+
optional string plan_mode_hicap_model_id = 133;
|
|
584
|
+
optional OpenRouterModelInfo plan_mode_hicap_model_info = 134;
|
|
585
|
+
optional string plan_mode_aihubmix_model_id = 135;
|
|
586
|
+
optional OpenAiCompatibleModelInfo plan_mode_aihubmix_model_info = 136;
|
|
554
587
|
|
|
555
588
|
// Act mode configurations
|
|
556
589
|
optional ApiProvider act_mode_api_provider = 200;
|
|
@@ -586,4 +619,8 @@ message ModelsApiConfiguration {
|
|
|
586
619
|
optional OpenRouterModelInfo act_mode_vercel_ai_gateway_model_info = 230;
|
|
587
620
|
optional string act_mode_oca_model_id = 231;
|
|
588
621
|
optional OcaModelInfo act_mode_oca_model_info = 232;
|
|
622
|
+
optional string act_mode_hicap_model_id = 233;
|
|
623
|
+
optional OpenRouterModelInfo act_mode_hicap_model_info = 234;
|
|
624
|
+
optional string act_mode_aihubmix_model_id = 235;
|
|
625
|
+
optional OpenAiCompatibleModelInfo act_mode_aihubmix_model_info = 236;
|
|
589
626
|
}
|
package/proto/cline/state.proto
CHANGED
|
@@ -87,6 +87,7 @@ message Secrets {
|
|
|
87
87
|
optional string dify_api_key = 36;
|
|
88
88
|
optional string oca_api_key = 37;
|
|
89
89
|
optional string oca_refresh_token = 38;
|
|
90
|
+
optional string hicap_api_key = 39;
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
message Settings {
|
|
@@ -214,6 +215,13 @@ message Settings {
|
|
|
214
215
|
optional int32 max_consecutive_mistakes = 124;
|
|
215
216
|
optional bool subagents_enabled = 125;
|
|
216
217
|
optional int32 subagent_terminal_output_line_limit = 126;
|
|
218
|
+
optional string aihubmix_api_key = 127;
|
|
219
|
+
optional string aihubmix_base_url = 128;
|
|
220
|
+
optional string aihubmix_app_code = 129;
|
|
221
|
+
optional string plan_mode_aihubmix_model_id = 130;
|
|
222
|
+
optional OpenAiCompatibleModelInfo plan_mode_aihubmix_model_info = 131;
|
|
223
|
+
optional string act_mode_aihubmix_model_id = 132;
|
|
224
|
+
optional OpenAiCompatibleModelInfo act_mode_aihubmix_model_info = 133;
|
|
217
225
|
}
|
|
218
226
|
|
|
219
227
|
message DictationSettings {
|
package/proto/descriptor_set.pb
CHANGED
|
Binary file
|