cline 1.0.0-nightly.10 → 1.0.0-nightly.11
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-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 +1034 -466
- package/man/cline.1 +2 -0
- package/package.json +1 -1
- package/proto/cline/state.proto +7 -0
- package/proto/cline/task.proto +2 -0
- package/proto/cline/ui.proto +3 -0
package/cline-core.js
CHANGED
|
@@ -49593,6 +49593,9 @@ function createBaseBrowserSettingsUpdate() {
|
|
|
49593
49593
|
function createBaseUpdateSettingsRequestCli() {
|
|
49594
49594
|
return { metadata: void 0, settings: void 0, secrets: void 0 };
|
|
49595
49595
|
}
|
|
49596
|
+
function createBaseUpdateTaskSettingsRequest() {
|
|
49597
|
+
return { metadata: void 0, settings: void 0 };
|
|
49598
|
+
}
|
|
49596
49599
|
function createBaseUpdateSettingsRequest() {
|
|
49597
49600
|
return {
|
|
49598
49601
|
metadata: void 0,
|
|
@@ -49619,7 +49622,8 @@ function createBaseUpdateSettingsRequest() {
|
|
|
49619
49622
|
dictationSettings: void 0,
|
|
49620
49623
|
autoCondenseThreshold: void 0,
|
|
49621
49624
|
multiRootEnabled: void 0,
|
|
49622
|
-
hooksEnabled: void 0
|
|
49625
|
+
hooksEnabled: void 0,
|
|
49626
|
+
vscodeTerminalExecutionMode: void 0
|
|
49623
49627
|
};
|
|
49624
49628
|
}
|
|
49625
49629
|
function createBaseApiConfiguration() {
|
|
@@ -49782,7 +49786,7 @@ function isObject7(value) {
|
|
|
49782
49786
|
function isSet13(value) {
|
|
49783
49787
|
return value !== null && value !== void 0;
|
|
49784
49788
|
}
|
|
49785
|
-
var PlanActMode, OpenaiReasoningEffort, McpDisplayMode, TelemetrySettingEnum, AutoApprovalActions, AutoApprovalSettings, Secrets, Settings, DictationSettings, State, TerminalProfiles, TerminalProfile, TerminalProfileUpdateResponse, TogglePlanActModeRequest, ChatContent, ResetStateRequest, AutoApprovalSettingsRequest, AutoApprovalSettingsRequest_Actions, TelemetrySettingRequest, BrowserSettingsUpdate, UpdateSettingsRequestCli, UpdateSettingsRequest, ApiConfiguration, ApiConfiguration_OpenAiHeadersEntry, UpdateTerminalConnectionTimeoutRequest, FocusChainSettings, UpdateTerminalConnectionTimeoutResponse, ProcessInfo, StateServiceDefinition;
|
|
49789
|
+
var PlanActMode, OpenaiReasoningEffort, McpDisplayMode, TelemetrySettingEnum, AutoApprovalActions, AutoApprovalSettings, Secrets, Settings, DictationSettings, State, TerminalProfiles, TerminalProfile, TerminalProfileUpdateResponse, TogglePlanActModeRequest, ChatContent, ResetStateRequest, AutoApprovalSettingsRequest, AutoApprovalSettingsRequest_Actions, TelemetrySettingRequest, BrowserSettingsUpdate, UpdateSettingsRequestCli, UpdateTaskSettingsRequest, UpdateSettingsRequest, ApiConfiguration, ApiConfiguration_OpenAiHeadersEntry, UpdateTerminalConnectionTimeoutRequest, FocusChainSettings, UpdateTerminalConnectionTimeoutResponse, ProcessInfo, StateServiceDefinition;
|
|
49786
49790
|
var init_state = __esm({
|
|
49787
49791
|
"src/shared/proto/cline/state.ts"() {
|
|
49788
49792
|
"use strict";
|
|
@@ -53651,6 +53655,71 @@ var init_state = __esm({
|
|
|
53651
53655
|
return message;
|
|
53652
53656
|
}
|
|
53653
53657
|
};
|
|
53658
|
+
UpdateTaskSettingsRequest = {
|
|
53659
|
+
encode(message, writer = new BinaryWriter()) {
|
|
53660
|
+
if (message.metadata !== void 0) {
|
|
53661
|
+
Metadata.encode(message.metadata, writer.uint32(10).fork()).join();
|
|
53662
|
+
}
|
|
53663
|
+
if (message.settings !== void 0) {
|
|
53664
|
+
Settings.encode(message.settings, writer.uint32(18).fork()).join();
|
|
53665
|
+
}
|
|
53666
|
+
return writer;
|
|
53667
|
+
},
|
|
53668
|
+
decode(input, length) {
|
|
53669
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
53670
|
+
let end2 = length === void 0 ? reader.len : reader.pos + length;
|
|
53671
|
+
const message = createBaseUpdateTaskSettingsRequest();
|
|
53672
|
+
while (reader.pos < end2) {
|
|
53673
|
+
const tag = reader.uint32();
|
|
53674
|
+
switch (tag >>> 3) {
|
|
53675
|
+
case 1: {
|
|
53676
|
+
if (tag !== 10) {
|
|
53677
|
+
break;
|
|
53678
|
+
}
|
|
53679
|
+
message.metadata = Metadata.decode(reader, reader.uint32());
|
|
53680
|
+
continue;
|
|
53681
|
+
}
|
|
53682
|
+
case 2: {
|
|
53683
|
+
if (tag !== 18) {
|
|
53684
|
+
break;
|
|
53685
|
+
}
|
|
53686
|
+
message.settings = Settings.decode(reader, reader.uint32());
|
|
53687
|
+
continue;
|
|
53688
|
+
}
|
|
53689
|
+
}
|
|
53690
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
53691
|
+
break;
|
|
53692
|
+
}
|
|
53693
|
+
reader.skip(tag & 7);
|
|
53694
|
+
}
|
|
53695
|
+
return message;
|
|
53696
|
+
},
|
|
53697
|
+
fromJSON(object2) {
|
|
53698
|
+
return {
|
|
53699
|
+
metadata: isSet13(object2.metadata) ? Metadata.fromJSON(object2.metadata) : void 0,
|
|
53700
|
+
settings: isSet13(object2.settings) ? Settings.fromJSON(object2.settings) : void 0
|
|
53701
|
+
};
|
|
53702
|
+
},
|
|
53703
|
+
toJSON(message) {
|
|
53704
|
+
const obj2 = {};
|
|
53705
|
+
if (message.metadata !== void 0) {
|
|
53706
|
+
obj2.metadata = Metadata.toJSON(message.metadata);
|
|
53707
|
+
}
|
|
53708
|
+
if (message.settings !== void 0) {
|
|
53709
|
+
obj2.settings = Settings.toJSON(message.settings);
|
|
53710
|
+
}
|
|
53711
|
+
return obj2;
|
|
53712
|
+
},
|
|
53713
|
+
create(base) {
|
|
53714
|
+
return UpdateTaskSettingsRequest.fromPartial(base ?? {});
|
|
53715
|
+
},
|
|
53716
|
+
fromPartial(object2) {
|
|
53717
|
+
const message = createBaseUpdateTaskSettingsRequest();
|
|
53718
|
+
message.metadata = object2.metadata !== void 0 && object2.metadata !== null ? Metadata.fromPartial(object2.metadata) : void 0;
|
|
53719
|
+
message.settings = object2.settings !== void 0 && object2.settings !== null ? Settings.fromPartial(object2.settings) : void 0;
|
|
53720
|
+
return message;
|
|
53721
|
+
}
|
|
53722
|
+
};
|
|
53654
53723
|
UpdateSettingsRequest = {
|
|
53655
53724
|
encode(message, writer = new BinaryWriter()) {
|
|
53656
53725
|
if (message.metadata !== void 0) {
|
|
@@ -53728,6 +53797,9 @@ var init_state = __esm({
|
|
|
53728
53797
|
if (message.hooksEnabled !== void 0) {
|
|
53729
53798
|
writer.uint32(208).bool(message.hooksEnabled);
|
|
53730
53799
|
}
|
|
53800
|
+
if (message.vscodeTerminalExecutionMode !== void 0) {
|
|
53801
|
+
writer.uint32(218).string(message.vscodeTerminalExecutionMode);
|
|
53802
|
+
}
|
|
53731
53803
|
return writer;
|
|
53732
53804
|
},
|
|
53733
53805
|
decode(input, length) {
|
|
@@ -53912,6 +53984,13 @@ var init_state = __esm({
|
|
|
53912
53984
|
message.hooksEnabled = reader.bool();
|
|
53913
53985
|
continue;
|
|
53914
53986
|
}
|
|
53987
|
+
case 27: {
|
|
53988
|
+
if (tag !== 218) {
|
|
53989
|
+
break;
|
|
53990
|
+
}
|
|
53991
|
+
message.vscodeTerminalExecutionMode = reader.string();
|
|
53992
|
+
continue;
|
|
53993
|
+
}
|
|
53915
53994
|
}
|
|
53916
53995
|
if ((tag & 7) === 4 || tag === 0) {
|
|
53917
53996
|
break;
|
|
@@ -53946,7 +54025,8 @@ var init_state = __esm({
|
|
|
53946
54025
|
dictationSettings: isSet13(object2.dictationSettings) ? DictationSettings.fromJSON(object2.dictationSettings) : void 0,
|
|
53947
54026
|
autoCondenseThreshold: isSet13(object2.autoCondenseThreshold) ? globalThis.Number(object2.autoCondenseThreshold) : void 0,
|
|
53948
54027
|
multiRootEnabled: isSet13(object2.multiRootEnabled) ? globalThis.Boolean(object2.multiRootEnabled) : void 0,
|
|
53949
|
-
hooksEnabled: isSet13(object2.hooksEnabled) ? globalThis.Boolean(object2.hooksEnabled) : void 0
|
|
54028
|
+
hooksEnabled: isSet13(object2.hooksEnabled) ? globalThis.Boolean(object2.hooksEnabled) : void 0,
|
|
54029
|
+
vscodeTerminalExecutionMode: isSet13(object2.vscodeTerminalExecutionMode) ? globalThis.String(object2.vscodeTerminalExecutionMode) : void 0
|
|
53950
54030
|
};
|
|
53951
54031
|
},
|
|
53952
54032
|
toJSON(message) {
|
|
@@ -54026,6 +54106,9 @@ var init_state = __esm({
|
|
|
54026
54106
|
if (message.hooksEnabled !== void 0) {
|
|
54027
54107
|
obj2.hooksEnabled = message.hooksEnabled;
|
|
54028
54108
|
}
|
|
54109
|
+
if (message.vscodeTerminalExecutionMode !== void 0) {
|
|
54110
|
+
obj2.vscodeTerminalExecutionMode = message.vscodeTerminalExecutionMode;
|
|
54111
|
+
}
|
|
54029
54112
|
return obj2;
|
|
54030
54113
|
},
|
|
54031
54114
|
create(base) {
|
|
@@ -54058,6 +54141,7 @@ var init_state = __esm({
|
|
|
54058
54141
|
message.autoCondenseThreshold = object2.autoCondenseThreshold ?? void 0;
|
|
54059
54142
|
message.multiRootEnabled = object2.multiRootEnabled ?? void 0;
|
|
54060
54143
|
message.hooksEnabled = object2.hooksEnabled ?? void 0;
|
|
54144
|
+
message.vscodeTerminalExecutionMode = object2.vscodeTerminalExecutionMode ?? void 0;
|
|
54061
54145
|
return message;
|
|
54062
54146
|
}
|
|
54063
54147
|
};
|
|
@@ -56389,6 +56473,14 @@ var init_state = __esm({
|
|
|
56389
56473
|
responseStream: false,
|
|
56390
56474
|
options: {}
|
|
56391
56475
|
},
|
|
56476
|
+
updateTaskSettings: {
|
|
56477
|
+
name: "updateTaskSettings",
|
|
56478
|
+
requestType: UpdateTaskSettingsRequest,
|
|
56479
|
+
requestStream: false,
|
|
56480
|
+
responseType: Empty,
|
|
56481
|
+
responseStream: false,
|
|
56482
|
+
options: {}
|
|
56483
|
+
},
|
|
56392
56484
|
updateTelemetrySetting: {
|
|
56393
56485
|
name: "updateTelemetrySetting",
|
|
56394
56486
|
requestType: TelemetrySettingRequest,
|
|
@@ -57490,6 +57582,15 @@ var init_task = __esm({
|
|
|
57490
57582
|
responseStream: false,
|
|
57491
57583
|
options: {}
|
|
57492
57584
|
},
|
|
57585
|
+
/** Cancels the currently running background command */
|
|
57586
|
+
cancelBackgroundCommand: {
|
|
57587
|
+
name: "cancelBackgroundCommand",
|
|
57588
|
+
requestType: EmptyRequest,
|
|
57589
|
+
requestStream: false,
|
|
57590
|
+
responseType: Empty,
|
|
57591
|
+
responseStream: false,
|
|
57592
|
+
options: {}
|
|
57593
|
+
},
|
|
57493
57594
|
/** Clears the current task */
|
|
57494
57595
|
clearTask: {
|
|
57495
57596
|
name: "clearTask",
|
|
@@ -58144,59 +58245,59 @@ var init_ui = __esm({
|
|
|
58144
58245
|
ClineMessageType3[ClineMessageType3["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
58145
58246
|
return ClineMessageType3;
|
|
58146
58247
|
})(ClineMessageType || {});
|
|
58147
|
-
ClineAsk = /* @__PURE__ */ ((
|
|
58148
|
-
|
|
58149
|
-
|
|
58150
|
-
|
|
58151
|
-
|
|
58152
|
-
|
|
58153
|
-
|
|
58154
|
-
|
|
58155
|
-
|
|
58156
|
-
|
|
58157
|
-
|
|
58158
|
-
|
|
58159
|
-
|
|
58160
|
-
|
|
58161
|
-
|
|
58162
|
-
|
|
58163
|
-
|
|
58164
|
-
|
|
58165
|
-
|
|
58166
|
-
return
|
|
58248
|
+
ClineAsk = /* @__PURE__ */ ((ClineAsk4) => {
|
|
58249
|
+
ClineAsk4[ClineAsk4["FOLLOWUP"] = 0] = "FOLLOWUP";
|
|
58250
|
+
ClineAsk4[ClineAsk4["PLAN_MODE_RESPOND"] = 1] = "PLAN_MODE_RESPOND";
|
|
58251
|
+
ClineAsk4[ClineAsk4["COMMAND"] = 2] = "COMMAND";
|
|
58252
|
+
ClineAsk4[ClineAsk4["COMMAND_OUTPUT"] = 3] = "COMMAND_OUTPUT";
|
|
58253
|
+
ClineAsk4[ClineAsk4["COMPLETION_RESULT"] = 4] = "COMPLETION_RESULT";
|
|
58254
|
+
ClineAsk4[ClineAsk4["TOOL"] = 5] = "TOOL";
|
|
58255
|
+
ClineAsk4[ClineAsk4["API_REQ_FAILED"] = 6] = "API_REQ_FAILED";
|
|
58256
|
+
ClineAsk4[ClineAsk4["RESUME_TASK"] = 7] = "RESUME_TASK";
|
|
58257
|
+
ClineAsk4[ClineAsk4["RESUME_COMPLETED_TASK"] = 8] = "RESUME_COMPLETED_TASK";
|
|
58258
|
+
ClineAsk4[ClineAsk4["MISTAKE_LIMIT_REACHED"] = 9] = "MISTAKE_LIMIT_REACHED";
|
|
58259
|
+
ClineAsk4[ClineAsk4["AUTO_APPROVAL_MAX_REQ_REACHED"] = 10] = "AUTO_APPROVAL_MAX_REQ_REACHED";
|
|
58260
|
+
ClineAsk4[ClineAsk4["BROWSER_ACTION_LAUNCH"] = 11] = "BROWSER_ACTION_LAUNCH";
|
|
58261
|
+
ClineAsk4[ClineAsk4["USE_MCP_SERVER"] = 12] = "USE_MCP_SERVER";
|
|
58262
|
+
ClineAsk4[ClineAsk4["NEW_TASK"] = 13] = "NEW_TASK";
|
|
58263
|
+
ClineAsk4[ClineAsk4["CONDENSE"] = 14] = "CONDENSE";
|
|
58264
|
+
ClineAsk4[ClineAsk4["REPORT_BUG"] = 15] = "REPORT_BUG";
|
|
58265
|
+
ClineAsk4[ClineAsk4["SUMMARIZE_TASK"] = 16] = "SUMMARIZE_TASK";
|
|
58266
|
+
ClineAsk4[ClineAsk4["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
58267
|
+
return ClineAsk4;
|
|
58167
58268
|
})(ClineAsk || {});
|
|
58168
|
-
ClineSay = /* @__PURE__ */ ((
|
|
58169
|
-
|
|
58170
|
-
|
|
58171
|
-
|
|
58172
|
-
|
|
58173
|
-
|
|
58174
|
-
|
|
58175
|
-
|
|
58176
|
-
|
|
58177
|
-
|
|
58178
|
-
|
|
58179
|
-
|
|
58180
|
-
|
|
58181
|
-
|
|
58182
|
-
|
|
58183
|
-
|
|
58184
|
-
|
|
58185
|
-
|
|
58186
|
-
|
|
58187
|
-
|
|
58188
|
-
|
|
58189
|
-
|
|
58190
|
-
|
|
58191
|
-
|
|
58192
|
-
|
|
58193
|
-
|
|
58194
|
-
|
|
58195
|
-
|
|
58196
|
-
|
|
58197
|
-
|
|
58198
|
-
|
|
58199
|
-
return
|
|
58269
|
+
ClineSay = /* @__PURE__ */ ((ClineSay4) => {
|
|
58270
|
+
ClineSay4[ClineSay4["TASK"] = 0] = "TASK";
|
|
58271
|
+
ClineSay4[ClineSay4["ERROR"] = 1] = "ERROR";
|
|
58272
|
+
ClineSay4[ClineSay4["API_REQ_STARTED"] = 2] = "API_REQ_STARTED";
|
|
58273
|
+
ClineSay4[ClineSay4["API_REQ_FINISHED"] = 3] = "API_REQ_FINISHED";
|
|
58274
|
+
ClineSay4[ClineSay4["TEXT"] = 4] = "TEXT";
|
|
58275
|
+
ClineSay4[ClineSay4["REASONING"] = 5] = "REASONING";
|
|
58276
|
+
ClineSay4[ClineSay4["COMPLETION_RESULT_SAY"] = 6] = "COMPLETION_RESULT_SAY";
|
|
58277
|
+
ClineSay4[ClineSay4["USER_FEEDBACK"] = 7] = "USER_FEEDBACK";
|
|
58278
|
+
ClineSay4[ClineSay4["USER_FEEDBACK_DIFF"] = 8] = "USER_FEEDBACK_DIFF";
|
|
58279
|
+
ClineSay4[ClineSay4["API_REQ_RETRIED"] = 9] = "API_REQ_RETRIED";
|
|
58280
|
+
ClineSay4[ClineSay4["COMMAND_SAY"] = 10] = "COMMAND_SAY";
|
|
58281
|
+
ClineSay4[ClineSay4["COMMAND_OUTPUT_SAY"] = 11] = "COMMAND_OUTPUT_SAY";
|
|
58282
|
+
ClineSay4[ClineSay4["TOOL_SAY"] = 12] = "TOOL_SAY";
|
|
58283
|
+
ClineSay4[ClineSay4["SHELL_INTEGRATION_WARNING"] = 13] = "SHELL_INTEGRATION_WARNING";
|
|
58284
|
+
ClineSay4[ClineSay4["BROWSER_ACTION_LAUNCH_SAY"] = 14] = "BROWSER_ACTION_LAUNCH_SAY";
|
|
58285
|
+
ClineSay4[ClineSay4["BROWSER_ACTION"] = 15] = "BROWSER_ACTION";
|
|
58286
|
+
ClineSay4[ClineSay4["BROWSER_ACTION_RESULT"] = 16] = "BROWSER_ACTION_RESULT";
|
|
58287
|
+
ClineSay4[ClineSay4["MCP_SERVER_REQUEST_STARTED"] = 17] = "MCP_SERVER_REQUEST_STARTED";
|
|
58288
|
+
ClineSay4[ClineSay4["MCP_SERVER_RESPONSE"] = 18] = "MCP_SERVER_RESPONSE";
|
|
58289
|
+
ClineSay4[ClineSay4["MCP_NOTIFICATION"] = 19] = "MCP_NOTIFICATION";
|
|
58290
|
+
ClineSay4[ClineSay4["USE_MCP_SERVER_SAY"] = 20] = "USE_MCP_SERVER_SAY";
|
|
58291
|
+
ClineSay4[ClineSay4["DIFF_ERROR"] = 21] = "DIFF_ERROR";
|
|
58292
|
+
ClineSay4[ClineSay4["DELETED_API_REQS"] = 22] = "DELETED_API_REQS";
|
|
58293
|
+
ClineSay4[ClineSay4["CLINEIGNORE_ERROR"] = 23] = "CLINEIGNORE_ERROR";
|
|
58294
|
+
ClineSay4[ClineSay4["CHECKPOINT_CREATED"] = 24] = "CHECKPOINT_CREATED";
|
|
58295
|
+
ClineSay4[ClineSay4["LOAD_MCP_DOCUMENTATION"] = 25] = "LOAD_MCP_DOCUMENTATION";
|
|
58296
|
+
ClineSay4[ClineSay4["INFO"] = 26] = "INFO";
|
|
58297
|
+
ClineSay4[ClineSay4["TASK_PROGRESS"] = 27] = "TASK_PROGRESS";
|
|
58298
|
+
ClineSay4[ClineSay4["ERROR_RETRY"] = 28] = "ERROR_RETRY";
|
|
58299
|
+
ClineSay4[ClineSay4["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
58300
|
+
return ClineSay4;
|
|
58200
58301
|
})(ClineSay || {});
|
|
58201
58302
|
ClineSayToolType = /* @__PURE__ */ ((ClineSayToolType3) => {
|
|
58202
58303
|
ClineSayToolType3[ClineSayToolType3["EDITED_EXISTING_FILE"] = 0] = "EDITED_EXISTING_FILE";
|
|
@@ -58226,12 +58327,12 @@ var init_ui = __esm({
|
|
|
58226
58327
|
McpServerRequestType3[McpServerRequestType3["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
58227
58328
|
return McpServerRequestType3;
|
|
58228
58329
|
})(McpServerRequestType || {});
|
|
58229
|
-
ClineApiReqCancelReason = /* @__PURE__ */ ((
|
|
58230
|
-
|
|
58231
|
-
|
|
58232
|
-
|
|
58233
|
-
|
|
58234
|
-
return
|
|
58330
|
+
ClineApiReqCancelReason = /* @__PURE__ */ ((ClineApiReqCancelReason4) => {
|
|
58331
|
+
ClineApiReqCancelReason4[ClineApiReqCancelReason4["STREAMING_FAILED"] = 0] = "STREAMING_FAILED";
|
|
58332
|
+
ClineApiReqCancelReason4[ClineApiReqCancelReason4["USER_CANCELLED"] = 1] = "USER_CANCELLED";
|
|
58333
|
+
ClineApiReqCancelReason4[ClineApiReqCancelReason4["RETRIES_EXHAUSTED"] = 2] = "RETRIES_EXHAUSTED";
|
|
58334
|
+
ClineApiReqCancelReason4[ClineApiReqCancelReason4["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
58335
|
+
return ClineApiReqCancelReason4;
|
|
58235
58336
|
})(ClineApiReqCancelReason || {});
|
|
58236
58337
|
ConversationHistoryDeletedRange = {
|
|
58237
58338
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -59576,6 +59677,15 @@ var init_ui = __esm({
|
|
|
59576
59677
|
responseStream: false,
|
|
59577
59678
|
options: {}
|
|
59578
59679
|
},
|
|
59680
|
+
/** Sets the terminal execution mode (vscodeTerminal or backgroundExec) */
|
|
59681
|
+
setTerminalExecutionMode: {
|
|
59682
|
+
name: "setTerminalExecutionMode",
|
|
59683
|
+
requestType: BooleanRequest,
|
|
59684
|
+
requestStream: false,
|
|
59685
|
+
responseType: KeyValuePair,
|
|
59686
|
+
responseStream: false,
|
|
59687
|
+
options: {}
|
|
59688
|
+
},
|
|
59579
59689
|
/** Marks the current announcement as shown and returns whether an announcement should still be shown */
|
|
59580
59690
|
onDidShowAnnouncement: {
|
|
59581
59691
|
name: "onDidShowAnnouncement",
|
|
@@ -60130,6 +60240,7 @@ __export(index_cline_exports, {
|
|
|
60130
60240
|
UpdateMcpTimeoutRequest: () => UpdateMcpTimeoutRequest,
|
|
60131
60241
|
UpdateSettingsRequest: () => UpdateSettingsRequest,
|
|
60132
60242
|
UpdateSettingsRequestCli: () => UpdateSettingsRequestCli,
|
|
60243
|
+
UpdateTaskSettingsRequest: () => UpdateTaskSettingsRequest,
|
|
60133
60244
|
UpdateTerminalConnectionTimeoutRequest: () => UpdateTerminalConnectionTimeoutRequest,
|
|
60134
60245
|
UpdateTerminalConnectionTimeoutResponse: () => UpdateTerminalConnectionTimeoutResponse,
|
|
60135
60246
|
UsageTransaction: () => UsageTransaction,
|
|
@@ -64572,7 +64683,7 @@ var require_BufferList = __commonJS({
|
|
|
64572
64683
|
this.head = this.tail = null;
|
|
64573
64684
|
this.length = 0;
|
|
64574
64685
|
};
|
|
64575
|
-
BufferList.prototype.join = function
|
|
64686
|
+
BufferList.prototype.join = function join30(s4) {
|
|
64576
64687
|
if (this.length === 0) return "";
|
|
64577
64688
|
var p4 = this.head;
|
|
64578
64689
|
var ret2 = "" + p4.data;
|
|
@@ -74158,7 +74269,7 @@ var require_buffer_list = __commonJS({
|
|
|
74158
74269
|
}
|
|
74159
74270
|
}, {
|
|
74160
74271
|
key: "join",
|
|
74161
|
-
value: function
|
|
74272
|
+
value: function join30(s4) {
|
|
74162
74273
|
if (this.length === 0) return "";
|
|
74163
74274
|
var p4 = this.head;
|
|
74164
74275
|
var ret2 = "" + p4.data;
|
|
@@ -97757,7 +97868,7 @@ var require_BufferList2 = __commonJS({
|
|
|
97757
97868
|
this.head = this.tail = null;
|
|
97758
97869
|
this.length = 0;
|
|
97759
97870
|
};
|
|
97760
|
-
BufferList.prototype.join = function
|
|
97871
|
+
BufferList.prototype.join = function join30(s4) {
|
|
97761
97872
|
if (this.length === 0) return "";
|
|
97762
97873
|
var p4 = this.head;
|
|
97763
97874
|
var ret2 = "" + p4.data;
|
|
@@ -242681,7 +242792,7 @@ var require_pdf_worker = __commonJS({
|
|
|
242681
242792
|
includes: function includes2(searchElement) {
|
|
242682
242793
|
return arrayIncludes(validate5(this), searchElement, arguments.length > 1 ? arguments[1] : void 0);
|
|
242683
242794
|
},
|
|
242684
|
-
join: function
|
|
242795
|
+
join: function join30(separator) {
|
|
242685
242796
|
return arrayJoin.apply(validate5(this), arguments);
|
|
242686
242797
|
},
|
|
242687
242798
|
lastIndexOf: function lastIndexOf(searchElement) {
|
|
@@ -269725,7 +269836,7 @@ var require_pdf = __commonJS({
|
|
|
269725
269836
|
includes: function includes2(searchElement) {
|
|
269726
269837
|
return arrayIncludes(validate5(this), searchElement, arguments.length > 1 ? arguments[1] : void 0);
|
|
269727
269838
|
},
|
|
269728
|
-
join: function
|
|
269839
|
+
join: function join30(separator) {
|
|
269729
269840
|
return arrayJoin.apply(validate5(this), arguments);
|
|
269730
269841
|
},
|
|
269731
269842
|
lastIndexOf: function lastIndexOf(searchElement) {
|
|
@@ -304898,7 +305009,7 @@ var require_pdf_worker2 = __commonJS({
|
|
|
304898
305009
|
includes: function includes2(searchElement) {
|
|
304899
305010
|
return arrayIncludes(validate5(this), searchElement, arguments.length > 1 ? arguments[1] : void 0);
|
|
304900
305011
|
},
|
|
304901
|
-
join: function
|
|
305012
|
+
join: function join30(separator) {
|
|
304902
305013
|
return arrayJoin.apply(validate5(this), arguments);
|
|
304903
305014
|
},
|
|
304904
305015
|
lastIndexOf: function lastIndexOf(searchElement) {
|
|
@@ -332046,7 +332157,7 @@ var require_pdf2 = __commonJS({
|
|
|
332046
332157
|
includes: function includes2(searchElement) {
|
|
332047
332158
|
return arrayIncludes(validate5(this), searchElement, arguments.length > 1 ? arguments[1] : void 0);
|
|
332048
332159
|
},
|
|
332049
|
-
join: function
|
|
332160
|
+
join: function join30(separator) {
|
|
332050
332161
|
return arrayJoin.apply(validate5(this), arguments);
|
|
332051
332162
|
},
|
|
332052
332163
|
lastIndexOf: function lastIndexOf(searchElement) {
|
|
@@ -530502,6 +530613,7 @@ async function readGlobalStateFromDisk(context3) {
|
|
|
530502
530613
|
const mcpResponsesCollapsedRaw = context3.globalState.get("mcpResponsesCollapsed");
|
|
530503
530614
|
const globalWorkflowToggles = context3.globalState.get("globalWorkflowToggles");
|
|
530504
530615
|
const terminalReuseEnabled = context3.globalState.get("terminalReuseEnabled");
|
|
530616
|
+
const vscodeTerminalExecutionMode = context3.globalState.get("vscodeTerminalExecutionMode");
|
|
530505
530617
|
const terminalOutputLineLimit = context3.globalState.get("terminalOutputLineLimit");
|
|
530506
530618
|
const defaultTerminalProfile = context3.globalState.get("defaultTerminalProfile");
|
|
530507
530619
|
const sapAiCoreBaseUrl = context3.globalState.get("sapAiCoreBaseUrl");
|
|
@@ -530758,6 +530870,7 @@ async function readGlobalStateFromDisk(context3) {
|
|
|
530758
530870
|
enableCheckpointsSetting: enableCheckpointsSettingRaw ?? true,
|
|
530759
530871
|
shellIntegrationTimeout: shellIntegrationTimeout || 4e3,
|
|
530760
530872
|
terminalReuseEnabled: terminalReuseEnabled ?? true,
|
|
530873
|
+
vscodeTerminalExecutionMode: vscodeTerminalExecutionMode ?? "vscodeTerminal",
|
|
530761
530874
|
terminalOutputLineLimit: terminalOutputLineLimit ?? 500,
|
|
530762
530875
|
defaultTerminalProfile: defaultTerminalProfile ?? "default",
|
|
530763
530876
|
globalWorkflowToggles: globalWorkflowToggles || {},
|
|
@@ -587964,7 +588077,7 @@ var require_util9 = __commonJS({
|
|
|
587964
588077
|
return path81;
|
|
587965
588078
|
}
|
|
587966
588079
|
exports2.normalize = normalize6;
|
|
587967
|
-
function
|
|
588080
|
+
function join30(aRoot, aPath) {
|
|
587968
588081
|
if (aRoot === "") {
|
|
587969
588082
|
aRoot = ".";
|
|
587970
588083
|
}
|
|
@@ -587996,7 +588109,7 @@ var require_util9 = __commonJS({
|
|
|
587996
588109
|
}
|
|
587997
588110
|
return joined;
|
|
587998
588111
|
}
|
|
587999
|
-
exports2.join =
|
|
588112
|
+
exports2.join = join30;
|
|
588000
588113
|
exports2.isAbsolute = function(aPath) {
|
|
588001
588114
|
return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
|
|
588002
588115
|
};
|
|
@@ -588169,7 +588282,7 @@ var require_util9 = __commonJS({
|
|
|
588169
588282
|
parsed.path = parsed.path.substring(0, index3 + 1);
|
|
588170
588283
|
}
|
|
588171
588284
|
}
|
|
588172
|
-
sourceURL =
|
|
588285
|
+
sourceURL = join30(urlGenerate(parsed), sourceURL);
|
|
588173
588286
|
}
|
|
588174
588287
|
return normalize6(sourceURL);
|
|
588175
588288
|
}
|
|
@@ -589980,7 +590093,7 @@ var require_escodegen = __commonJS({
|
|
|
589980
590093
|
function noEmptySpace() {
|
|
589981
590094
|
return space ? space : " ";
|
|
589982
590095
|
}
|
|
589983
|
-
function
|
|
590096
|
+
function join30(left2, right2) {
|
|
589984
590097
|
var leftSource, rightSource, leftCharCode, rightCharCode;
|
|
589985
590098
|
leftSource = toSourceNodeWhenNeeded(left2).toString();
|
|
589986
590099
|
if (leftSource.length === 0) {
|
|
@@ -590311,8 +590424,8 @@ var require_escodegen = __commonJS({
|
|
|
590311
590424
|
} else {
|
|
590312
590425
|
result2.push(that.generateExpression(stmt.left, Precedence.Call, E_TTT));
|
|
590313
590426
|
}
|
|
590314
|
-
result2 =
|
|
590315
|
-
result2 = [
|
|
590427
|
+
result2 = join30(result2, operator);
|
|
590428
|
+
result2 = [join30(
|
|
590316
590429
|
result2,
|
|
590317
590430
|
that.generateExpression(stmt.right, Precedence.Assignment, E_TTT)
|
|
590318
590431
|
), ")"];
|
|
@@ -590455,11 +590568,11 @@ var require_escodegen = __commonJS({
|
|
|
590455
590568
|
var result2, fragment;
|
|
590456
590569
|
result2 = ["class"];
|
|
590457
590570
|
if (stmt.id) {
|
|
590458
|
-
result2 =
|
|
590571
|
+
result2 = join30(result2, this.generateExpression(stmt.id, Precedence.Sequence, E_TTT));
|
|
590459
590572
|
}
|
|
590460
590573
|
if (stmt.superClass) {
|
|
590461
|
-
fragment =
|
|
590462
|
-
result2 =
|
|
590574
|
+
fragment = join30("extends", this.generateExpression(stmt.superClass, Precedence.Unary, E_TTT));
|
|
590575
|
+
result2 = join30(result2, fragment);
|
|
590463
590576
|
}
|
|
590464
590577
|
result2.push(space);
|
|
590465
590578
|
result2.push(this.generateStatement(stmt.body, S_TFFT));
|
|
@@ -590472,9 +590585,9 @@ var require_escodegen = __commonJS({
|
|
|
590472
590585
|
return escapeDirective(stmt.directive) + this.semicolon(flags2);
|
|
590473
590586
|
},
|
|
590474
590587
|
DoWhileStatement: function(stmt, flags2) {
|
|
590475
|
-
var result2 =
|
|
590588
|
+
var result2 = join30("do", this.maybeBlock(stmt.body, S_TFFF));
|
|
590476
590589
|
result2 = this.maybeBlockSuffix(stmt.body, result2);
|
|
590477
|
-
return
|
|
590590
|
+
return join30(result2, [
|
|
590478
590591
|
"while" + space + "(",
|
|
590479
590592
|
this.generateExpression(stmt.test, Precedence.Sequence, E_TTT),
|
|
590480
590593
|
")" + this.semicolon(flags2)
|
|
@@ -590510,11 +590623,11 @@ var require_escodegen = __commonJS({
|
|
|
590510
590623
|
ExportDefaultDeclaration: function(stmt, flags2) {
|
|
590511
590624
|
var result2 = ["export"], bodyFlags;
|
|
590512
590625
|
bodyFlags = flags2 & F_SEMICOLON_OPT ? S_TFFT : S_TFFF;
|
|
590513
|
-
result2 =
|
|
590626
|
+
result2 = join30(result2, "default");
|
|
590514
590627
|
if (isStatement(stmt.declaration)) {
|
|
590515
|
-
result2 =
|
|
590628
|
+
result2 = join30(result2, this.generateStatement(stmt.declaration, bodyFlags));
|
|
590516
590629
|
} else {
|
|
590517
|
-
result2 =
|
|
590630
|
+
result2 = join30(result2, this.generateExpression(stmt.declaration, Precedence.Assignment, E_TTT) + this.semicolon(flags2));
|
|
590518
590631
|
}
|
|
590519
590632
|
return result2;
|
|
590520
590633
|
},
|
|
@@ -590522,15 +590635,15 @@ var require_escodegen = __commonJS({
|
|
|
590522
590635
|
var result2 = ["export"], bodyFlags, that = this;
|
|
590523
590636
|
bodyFlags = flags2 & F_SEMICOLON_OPT ? S_TFFT : S_TFFF;
|
|
590524
590637
|
if (stmt.declaration) {
|
|
590525
|
-
return
|
|
590638
|
+
return join30(result2, this.generateStatement(stmt.declaration, bodyFlags));
|
|
590526
590639
|
}
|
|
590527
590640
|
if (stmt.specifiers) {
|
|
590528
590641
|
if (stmt.specifiers.length === 0) {
|
|
590529
|
-
result2 =
|
|
590642
|
+
result2 = join30(result2, "{" + space + "}");
|
|
590530
590643
|
} else if (stmt.specifiers[0].type === Syntax.ExportBatchSpecifier) {
|
|
590531
|
-
result2 =
|
|
590644
|
+
result2 = join30(result2, this.generateExpression(stmt.specifiers[0], Precedence.Sequence, E_TTT));
|
|
590532
590645
|
} else {
|
|
590533
|
-
result2 =
|
|
590646
|
+
result2 = join30(result2, "{");
|
|
590534
590647
|
withIndent(function(indent2) {
|
|
590535
590648
|
var i6, iz;
|
|
590536
590649
|
result2.push(newline);
|
|
@@ -590548,7 +590661,7 @@ var require_escodegen = __commonJS({
|
|
|
590548
590661
|
result2.push(base + "}");
|
|
590549
590662
|
}
|
|
590550
590663
|
if (stmt.source) {
|
|
590551
|
-
result2 =
|
|
590664
|
+
result2 = join30(result2, [
|
|
590552
590665
|
"from" + space,
|
|
590553
590666
|
// ModuleSpecifier
|
|
590554
590667
|
this.generateExpression(stmt.source, Precedence.Sequence, E_TTT),
|
|
@@ -590636,7 +590749,7 @@ var require_escodegen = __commonJS({
|
|
|
590636
590749
|
];
|
|
590637
590750
|
cursor = 0;
|
|
590638
590751
|
if (stmt.specifiers[cursor].type === Syntax.ImportDefaultSpecifier) {
|
|
590639
|
-
result2 =
|
|
590752
|
+
result2 = join30(result2, [
|
|
590640
590753
|
this.generateExpression(stmt.specifiers[cursor], Precedence.Sequence, E_TTT)
|
|
590641
590754
|
]);
|
|
590642
590755
|
++cursor;
|
|
@@ -590646,7 +590759,7 @@ var require_escodegen = __commonJS({
|
|
|
590646
590759
|
result2.push(",");
|
|
590647
590760
|
}
|
|
590648
590761
|
if (stmt.specifiers[cursor].type === Syntax.ImportNamespaceSpecifier) {
|
|
590649
|
-
result2 =
|
|
590762
|
+
result2 = join30(result2, [
|
|
590650
590763
|
space,
|
|
590651
590764
|
this.generateExpression(stmt.specifiers[cursor], Precedence.Sequence, E_TTT)
|
|
590652
590765
|
]);
|
|
@@ -590675,7 +590788,7 @@ var require_escodegen = __commonJS({
|
|
|
590675
590788
|
}
|
|
590676
590789
|
}
|
|
590677
590790
|
}
|
|
590678
|
-
result2 =
|
|
590791
|
+
result2 = join30(result2, [
|
|
590679
590792
|
"from" + space,
|
|
590680
590793
|
// ModuleSpecifier
|
|
590681
590794
|
this.generateExpression(stmt.source, Precedence.Sequence, E_TTT),
|
|
@@ -590729,7 +590842,7 @@ var require_escodegen = __commonJS({
|
|
|
590729
590842
|
return result2;
|
|
590730
590843
|
},
|
|
590731
590844
|
ThrowStatement: function(stmt, flags2) {
|
|
590732
|
-
return [
|
|
590845
|
+
return [join30(
|
|
590733
590846
|
"throw",
|
|
590734
590847
|
this.generateExpression(stmt.argument, Precedence.Sequence, E_TTT)
|
|
590735
590848
|
), this.semicolon(flags2)];
|
|
@@ -590740,7 +590853,7 @@ var require_escodegen = __commonJS({
|
|
|
590740
590853
|
result2 = this.maybeBlockSuffix(stmt.block, result2);
|
|
590741
590854
|
if (stmt.handlers) {
|
|
590742
590855
|
for (i6 = 0, iz = stmt.handlers.length; i6 < iz; ++i6) {
|
|
590743
|
-
result2 =
|
|
590856
|
+
result2 = join30(result2, this.generateStatement(stmt.handlers[i6], S_TFFF));
|
|
590744
590857
|
if (stmt.finalizer || i6 + 1 !== iz) {
|
|
590745
590858
|
result2 = this.maybeBlockSuffix(stmt.handlers[i6].body, result2);
|
|
590746
590859
|
}
|
|
@@ -590748,7 +590861,7 @@ var require_escodegen = __commonJS({
|
|
|
590748
590861
|
} else {
|
|
590749
590862
|
guardedHandlers = stmt.guardedHandlers || [];
|
|
590750
590863
|
for (i6 = 0, iz = guardedHandlers.length; i6 < iz; ++i6) {
|
|
590751
|
-
result2 =
|
|
590864
|
+
result2 = join30(result2, this.generateStatement(guardedHandlers[i6], S_TFFF));
|
|
590752
590865
|
if (stmt.finalizer || i6 + 1 !== iz) {
|
|
590753
590866
|
result2 = this.maybeBlockSuffix(guardedHandlers[i6].body, result2);
|
|
590754
590867
|
}
|
|
@@ -590756,13 +590869,13 @@ var require_escodegen = __commonJS({
|
|
|
590756
590869
|
if (stmt.handler) {
|
|
590757
590870
|
if (Array.isArray(stmt.handler)) {
|
|
590758
590871
|
for (i6 = 0, iz = stmt.handler.length; i6 < iz; ++i6) {
|
|
590759
|
-
result2 =
|
|
590872
|
+
result2 = join30(result2, this.generateStatement(stmt.handler[i6], S_TFFF));
|
|
590760
590873
|
if (stmt.finalizer || i6 + 1 !== iz) {
|
|
590761
590874
|
result2 = this.maybeBlockSuffix(stmt.handler[i6].body, result2);
|
|
590762
590875
|
}
|
|
590763
590876
|
}
|
|
590764
590877
|
} else {
|
|
590765
|
-
result2 =
|
|
590878
|
+
result2 = join30(result2, this.generateStatement(stmt.handler, S_TFFF));
|
|
590766
590879
|
if (stmt.finalizer) {
|
|
590767
590880
|
result2 = this.maybeBlockSuffix(stmt.handler.body, result2);
|
|
590768
590881
|
}
|
|
@@ -590770,7 +590883,7 @@ var require_escodegen = __commonJS({
|
|
|
590770
590883
|
}
|
|
590771
590884
|
}
|
|
590772
590885
|
if (stmt.finalizer) {
|
|
590773
|
-
result2 =
|
|
590886
|
+
result2 = join30(result2, ["finally", this.maybeBlock(stmt.finalizer, S_TFFF)]);
|
|
590774
590887
|
}
|
|
590775
590888
|
return result2;
|
|
590776
590889
|
},
|
|
@@ -590804,7 +590917,7 @@ var require_escodegen = __commonJS({
|
|
|
590804
590917
|
withIndent(function() {
|
|
590805
590918
|
if (stmt.test) {
|
|
590806
590919
|
result2 = [
|
|
590807
|
-
|
|
590920
|
+
join30("case", that.generateExpression(stmt.test, Precedence.Sequence, E_TTT)),
|
|
590808
590921
|
":"
|
|
590809
590922
|
];
|
|
590810
590923
|
} else {
|
|
@@ -590852,9 +590965,9 @@ var require_escodegen = __commonJS({
|
|
|
590852
590965
|
result2.push(this.maybeBlock(stmt.consequent, S_TFFF));
|
|
590853
590966
|
result2 = this.maybeBlockSuffix(stmt.consequent, result2);
|
|
590854
590967
|
if (stmt.alternate.type === Syntax.IfStatement) {
|
|
590855
|
-
result2 =
|
|
590968
|
+
result2 = join30(result2, ["else ", this.generateStatement(stmt.alternate, bodyFlags)]);
|
|
590856
590969
|
} else {
|
|
590857
|
-
result2 =
|
|
590970
|
+
result2 = join30(result2, join30("else", this.maybeBlock(stmt.alternate, bodyFlags)));
|
|
590858
590971
|
}
|
|
590859
590972
|
} else {
|
|
590860
590973
|
result2.push(this.maybeBlock(stmt.consequent, bodyFlags));
|
|
@@ -590955,7 +591068,7 @@ var require_escodegen = __commonJS({
|
|
|
590955
591068
|
},
|
|
590956
591069
|
ReturnStatement: function(stmt, flags2) {
|
|
590957
591070
|
if (stmt.argument) {
|
|
590958
|
-
return [
|
|
591071
|
+
return [join30(
|
|
590959
591072
|
"return",
|
|
590960
591073
|
this.generateExpression(stmt.argument, Precedence.Sequence, E_TTT)
|
|
590961
591074
|
), this.semicolon(flags2)];
|
|
@@ -591044,14 +591157,14 @@ var require_escodegen = __commonJS({
|
|
|
591044
591157
|
if (leftSource.charCodeAt(leftSource.length - 1) === 47 && esutils.code.isIdentifierPartES5(expr.operator.charCodeAt(0))) {
|
|
591045
591158
|
result2 = [fragment, noEmptySpace(), expr.operator];
|
|
591046
591159
|
} else {
|
|
591047
|
-
result2 =
|
|
591160
|
+
result2 = join30(fragment, expr.operator);
|
|
591048
591161
|
}
|
|
591049
591162
|
fragment = this.generateExpression(expr.right, rightPrecedence, flags2);
|
|
591050
591163
|
if (expr.operator === "/" && fragment.toString().charAt(0) === "/" || expr.operator.slice(-1) === "<" && fragment.toString().slice(0, 3) === "!--") {
|
|
591051
591164
|
result2.push(noEmptySpace());
|
|
591052
591165
|
result2.push(fragment);
|
|
591053
591166
|
} else {
|
|
591054
|
-
result2 =
|
|
591167
|
+
result2 = join30(result2, fragment);
|
|
591055
591168
|
}
|
|
591056
591169
|
if (expr.operator === "in" && !(flags2 & F_ALLOW_IN)) {
|
|
591057
591170
|
return ["(", result2, ")"];
|
|
@@ -591091,7 +591204,7 @@ var require_escodegen = __commonJS({
|
|
|
591091
591204
|
var result2, length, i6, iz, itemFlags;
|
|
591092
591205
|
length = expr["arguments"].length;
|
|
591093
591206
|
itemFlags = flags2 & F_ALLOW_UNPARATH_NEW && !parentheses && length === 0 ? E_TFT : E_TFF;
|
|
591094
|
-
result2 =
|
|
591207
|
+
result2 = join30(
|
|
591095
591208
|
"new",
|
|
591096
591209
|
this.generateExpression(expr.callee, Precedence.New, itemFlags)
|
|
591097
591210
|
);
|
|
@@ -591141,11 +591254,11 @@ var require_escodegen = __commonJS({
|
|
|
591141
591254
|
var result2, fragment, rightCharCode, leftSource, leftCharCode;
|
|
591142
591255
|
fragment = this.generateExpression(expr.argument, Precedence.Unary, E_TTT);
|
|
591143
591256
|
if (space === "") {
|
|
591144
|
-
result2 =
|
|
591257
|
+
result2 = join30(expr.operator, fragment);
|
|
591145
591258
|
} else {
|
|
591146
591259
|
result2 = [expr.operator];
|
|
591147
591260
|
if (expr.operator.length > 2) {
|
|
591148
|
-
result2 =
|
|
591261
|
+
result2 = join30(result2, fragment);
|
|
591149
591262
|
} else {
|
|
591150
591263
|
leftSource = toSourceNodeWhenNeeded(result2).toString();
|
|
591151
591264
|
leftCharCode = leftSource.charCodeAt(leftSource.length - 1);
|
|
@@ -591168,7 +591281,7 @@ var require_escodegen = __commonJS({
|
|
|
591168
591281
|
result2 = "yield";
|
|
591169
591282
|
}
|
|
591170
591283
|
if (expr.argument) {
|
|
591171
|
-
result2 =
|
|
591284
|
+
result2 = join30(
|
|
591172
591285
|
result2,
|
|
591173
591286
|
this.generateExpression(expr.argument, Precedence.Yield, E_TTT)
|
|
591174
591287
|
);
|
|
@@ -591176,7 +591289,7 @@ var require_escodegen = __commonJS({
|
|
|
591176
591289
|
return parenthesize(result2, Precedence.Yield, precedence);
|
|
591177
591290
|
},
|
|
591178
591291
|
AwaitExpression: function(expr, precedence, flags2) {
|
|
591179
|
-
var result2 =
|
|
591292
|
+
var result2 = join30(
|
|
591180
591293
|
expr.all ? "await*" : "await",
|
|
591181
591294
|
this.generateExpression(expr.argument, Precedence.Await, E_TTT)
|
|
591182
591295
|
);
|
|
@@ -591259,11 +591372,11 @@ var require_escodegen = __commonJS({
|
|
|
591259
591372
|
var result2, fragment;
|
|
591260
591373
|
result2 = ["class"];
|
|
591261
591374
|
if (expr.id) {
|
|
591262
|
-
result2 =
|
|
591375
|
+
result2 = join30(result2, this.generateExpression(expr.id, Precedence.Sequence, E_TTT));
|
|
591263
591376
|
}
|
|
591264
591377
|
if (expr.superClass) {
|
|
591265
|
-
fragment =
|
|
591266
|
-
result2 =
|
|
591378
|
+
fragment = join30("extends", this.generateExpression(expr.superClass, Precedence.Unary, E_TTT));
|
|
591379
|
+
result2 = join30(result2, fragment);
|
|
591267
591380
|
}
|
|
591268
591381
|
result2.push(space);
|
|
591269
591382
|
result2.push(this.generateStatement(expr.body, S_TFFT));
|
|
@@ -591278,7 +591391,7 @@ var require_escodegen = __commonJS({
|
|
|
591278
591391
|
}
|
|
591279
591392
|
if (expr.kind === "get" || expr.kind === "set") {
|
|
591280
591393
|
fragment = [
|
|
591281
|
-
|
|
591394
|
+
join30(expr.kind, this.generatePropertyKey(expr.key, expr.computed)),
|
|
591282
591395
|
this.generateFunctionBody(expr.value)
|
|
591283
591396
|
];
|
|
591284
591397
|
} else {
|
|
@@ -591288,7 +591401,7 @@ var require_escodegen = __commonJS({
|
|
|
591288
591401
|
this.generateFunctionBody(expr.value)
|
|
591289
591402
|
];
|
|
591290
591403
|
}
|
|
591291
|
-
return
|
|
591404
|
+
return join30(result2, fragment);
|
|
591292
591405
|
},
|
|
591293
591406
|
Property: function(expr, precedence, flags2) {
|
|
591294
591407
|
if (expr.kind === "get" || expr.kind === "set") {
|
|
@@ -591483,7 +591596,7 @@ var require_escodegen = __commonJS({
|
|
|
591483
591596
|
for (i6 = 0, iz = expr.blocks.length; i6 < iz; ++i6) {
|
|
591484
591597
|
fragment = that.generateExpression(expr.blocks[i6], Precedence.Sequence, E_TTT);
|
|
591485
591598
|
if (i6 > 0 || extra.moz.comprehensionExpressionStartsWithAssignment) {
|
|
591486
|
-
result2 =
|
|
591599
|
+
result2 = join30(result2, fragment);
|
|
591487
591600
|
} else {
|
|
591488
591601
|
result2.push(fragment);
|
|
591489
591602
|
}
|
|
@@ -591491,13 +591604,13 @@ var require_escodegen = __commonJS({
|
|
|
591491
591604
|
});
|
|
591492
591605
|
}
|
|
591493
591606
|
if (expr.filter) {
|
|
591494
|
-
result2 =
|
|
591607
|
+
result2 = join30(result2, "if" + space);
|
|
591495
591608
|
fragment = this.generateExpression(expr.filter, Precedence.Sequence, E_TTT);
|
|
591496
|
-
result2 =
|
|
591609
|
+
result2 = join30(result2, ["(", fragment, ")"]);
|
|
591497
591610
|
}
|
|
591498
591611
|
if (!extra.moz.comprehensionExpressionStartsWithAssignment) {
|
|
591499
591612
|
fragment = this.generateExpression(expr.body, Precedence.Assignment, E_TTT);
|
|
591500
|
-
result2 =
|
|
591613
|
+
result2 = join30(result2, fragment);
|
|
591501
591614
|
}
|
|
591502
591615
|
result2.push(expr.type === Syntax.GeneratorExpression ? ")" : "]");
|
|
591503
591616
|
return result2;
|
|
@@ -591513,8 +591626,8 @@ var require_escodegen = __commonJS({
|
|
|
591513
591626
|
} else {
|
|
591514
591627
|
fragment = this.generateExpression(expr.left, Precedence.Call, E_TTT);
|
|
591515
591628
|
}
|
|
591516
|
-
fragment =
|
|
591517
|
-
fragment =
|
|
591629
|
+
fragment = join30(fragment, expr.of ? "of" : "in");
|
|
591630
|
+
fragment = join30(fragment, this.generateExpression(expr.right, Precedence.Sequence, E_TTT));
|
|
591518
591631
|
return ["for" + space + "(", fragment, ")"];
|
|
591519
591632
|
},
|
|
591520
591633
|
SpreadElement: function(expr, precedence, flags2) {
|
|
@@ -616238,7 +616351,7 @@ var require_require_directory = __commonJS({
|
|
|
616238
616351
|
"node_modules/require-directory/index.js"(exports2, module2) {
|
|
616239
616352
|
"use strict";
|
|
616240
616353
|
var fs61 = require("fs");
|
|
616241
|
-
var
|
|
616354
|
+
var join30 = require("path").join;
|
|
616242
616355
|
var resolve16 = require("path").resolve;
|
|
616243
616356
|
var dirname11 = require("path").dirname;
|
|
616244
616357
|
var defaultOptions5 = {
|
|
@@ -616275,7 +616388,7 @@ var require_require_directory = __commonJS({
|
|
|
616275
616388
|
}
|
|
616276
616389
|
path81 = !path81 ? dirname11(m4.filename) : resolve16(dirname11(m4.filename), path81);
|
|
616277
616390
|
fs61.readdirSync(path81).forEach(function(filename) {
|
|
616278
|
-
var joined =
|
|
616391
|
+
var joined = join30(path81, filename), files, key, obj2;
|
|
616279
616392
|
if (fs61.statSync(joined).isDirectory() && options.recurse) {
|
|
616280
616393
|
files = requireDirectory(m4, joined, options);
|
|
616281
616394
|
if (Object.keys(files).length) {
|
|
@@ -731830,6 +731943,12 @@ async function updateSettings(controller, request5) {
|
|
|
731830
731943
|
if (request5.terminalOutputLineLimit !== void 0) {
|
|
731831
731944
|
controller.stateManager.setGlobalState("terminalOutputLineLimit", Number(request5.terminalOutputLineLimit));
|
|
731832
731945
|
}
|
|
731946
|
+
if (request5.vscodeTerminalExecutionMode !== void 0 && request5.vscodeTerminalExecutionMode !== "") {
|
|
731947
|
+
controller.stateManager.setGlobalState(
|
|
731948
|
+
"vscodeTerminalExecutionMode",
|
|
731949
|
+
request5.vscodeTerminalExecutionMode === "backgroundExec" ? "backgroundExec" : "vscodeTerminal"
|
|
731950
|
+
);
|
|
731951
|
+
}
|
|
731833
731952
|
if (request5.strictPlanModeEnabled !== void 0) {
|
|
731834
731953
|
controller.stateManager.setGlobalState("strictPlanModeEnabled", request5.strictPlanModeEnabled);
|
|
731835
731954
|
}
|
|
@@ -732141,6 +732260,117 @@ var init_updateSettingsCli = __esm({
|
|
|
732141
732260
|
}
|
|
732142
732261
|
});
|
|
732143
732262
|
|
|
732263
|
+
// src/core/controller/state/updateTaskSettings.ts
|
|
732264
|
+
async function updateTaskSettings(controller, request5) {
|
|
732265
|
+
const convertOpenaiReasoningEffort = (effort) => {
|
|
732266
|
+
switch (effort) {
|
|
732267
|
+
case 0 /* LOW */:
|
|
732268
|
+
return "low";
|
|
732269
|
+
case 1 /* MEDIUM */:
|
|
732270
|
+
return "medium";
|
|
732271
|
+
case 2 /* HIGH */:
|
|
732272
|
+
return "high";
|
|
732273
|
+
case 3 /* MINIMAL */:
|
|
732274
|
+
return "minimal";
|
|
732275
|
+
default:
|
|
732276
|
+
return "medium";
|
|
732277
|
+
}
|
|
732278
|
+
};
|
|
732279
|
+
const convertPlanActMode = (mode) => {
|
|
732280
|
+
return mode === 0 /* PLAN */ ? "plan" : "act";
|
|
732281
|
+
};
|
|
732282
|
+
try {
|
|
732283
|
+
if (!controller.task) {
|
|
732284
|
+
throw new Error("No active task to update settings for");
|
|
732285
|
+
}
|
|
732286
|
+
const taskId = controller.task.ulid;
|
|
732287
|
+
if (request5.settings) {
|
|
732288
|
+
const {
|
|
732289
|
+
// Fields requiring conversion
|
|
732290
|
+
autoApprovalSettings,
|
|
732291
|
+
openaiReasoningEffort,
|
|
732292
|
+
mode,
|
|
732293
|
+
customPrompt,
|
|
732294
|
+
planModeApiProvider,
|
|
732295
|
+
actModeApiProvider,
|
|
732296
|
+
// Fields requiring special logic
|
|
732297
|
+
browserSettings,
|
|
732298
|
+
...simpleSettings
|
|
732299
|
+
} = request5.settings;
|
|
732300
|
+
const filteredSettings = Object.fromEntries(
|
|
732301
|
+
Object.entries(simpleSettings).filter(([_6, value]) => value !== void 0)
|
|
732302
|
+
);
|
|
732303
|
+
controller.stateManager.setTaskSettingsBatch(taskId, filteredSettings);
|
|
732304
|
+
if (autoApprovalSettings) {
|
|
732305
|
+
const converted = convertProtoToAutoApprovalSettings({
|
|
732306
|
+
...autoApprovalSettings,
|
|
732307
|
+
metadata: {}
|
|
732308
|
+
});
|
|
732309
|
+
controller.stateManager.setTaskSettings(taskId, "autoApprovalSettings", converted);
|
|
732310
|
+
}
|
|
732311
|
+
if (openaiReasoningEffort !== void 0) {
|
|
732312
|
+
const converted = convertOpenaiReasoningEffort(openaiReasoningEffort);
|
|
732313
|
+
controller.stateManager.setTaskSettings(taskId, "openaiReasoningEffort", converted);
|
|
732314
|
+
}
|
|
732315
|
+
if (mode !== void 0) {
|
|
732316
|
+
const converted = convertPlanActMode(mode);
|
|
732317
|
+
controller.stateManager.setTaskSettings(taskId, "mode", converted);
|
|
732318
|
+
}
|
|
732319
|
+
if (customPrompt === "compact") {
|
|
732320
|
+
controller.stateManager.setTaskSettings(taskId, "customPrompt", "compact");
|
|
732321
|
+
}
|
|
732322
|
+
if (planModeApiProvider !== void 0) {
|
|
732323
|
+
const converted = convertProtoToApiProvider(planModeApiProvider);
|
|
732324
|
+
controller.stateManager.setTaskSettings(taskId, "planModeApiProvider", converted);
|
|
732325
|
+
}
|
|
732326
|
+
if (actModeApiProvider !== void 0) {
|
|
732327
|
+
const converted = convertProtoToApiProvider(actModeApiProvider);
|
|
732328
|
+
controller.stateManager.setTaskSettings(taskId, "actModeApiProvider", converted);
|
|
732329
|
+
}
|
|
732330
|
+
if (browserSettings !== void 0) {
|
|
732331
|
+
const currentSettings = controller.stateManager.getGlobalSettingsKey("browserSettings");
|
|
732332
|
+
const newBrowserSettings = {
|
|
732333
|
+
...currentSettings,
|
|
732334
|
+
viewport: {
|
|
732335
|
+
width: browserSettings.viewport?.width || currentSettings.viewport.width,
|
|
732336
|
+
height: browserSettings.viewport?.height || currentSettings.viewport.height
|
|
732337
|
+
},
|
|
732338
|
+
...browserSettings.remoteBrowserEnabled !== void 0 && {
|
|
732339
|
+
remoteBrowserEnabled: browserSettings.remoteBrowserEnabled
|
|
732340
|
+
},
|
|
732341
|
+
...browserSettings.remoteBrowserHost !== void 0 && {
|
|
732342
|
+
remoteBrowserHost: browserSettings.remoteBrowserHost
|
|
732343
|
+
},
|
|
732344
|
+
...browserSettings.chromeExecutablePath !== void 0 && {
|
|
732345
|
+
chromeExecutablePath: browserSettings.chromeExecutablePath
|
|
732346
|
+
},
|
|
732347
|
+
...browserSettings.disableToolUse !== void 0 && {
|
|
732348
|
+
disableToolUse: browserSettings.disableToolUse
|
|
732349
|
+
},
|
|
732350
|
+
...browserSettings.customArgs !== void 0 && {
|
|
732351
|
+
customArgs: browserSettings.customArgs
|
|
732352
|
+
}
|
|
732353
|
+
};
|
|
732354
|
+
controller.stateManager.setTaskSettings(taskId, "browserSettings", newBrowserSettings);
|
|
732355
|
+
}
|
|
732356
|
+
}
|
|
732357
|
+
await controller.postStateToWebview();
|
|
732358
|
+
return Empty.create();
|
|
732359
|
+
} catch (error) {
|
|
732360
|
+
console.error("Failed to update task settings:", error);
|
|
732361
|
+
throw error;
|
|
732362
|
+
}
|
|
732363
|
+
}
|
|
732364
|
+
var init_updateTaskSettings = __esm({
|
|
732365
|
+
"src/core/controller/state/updateTaskSettings.ts"() {
|
|
732366
|
+
"use strict";
|
|
732367
|
+
init_common();
|
|
732368
|
+
init_state();
|
|
732369
|
+
init_api_configuration_conversion();
|
|
732370
|
+
init_auto_approval_settings_conversion();
|
|
732371
|
+
}
|
|
732372
|
+
});
|
|
732373
|
+
|
|
732144
732374
|
// src/shared/proto-conversions/state/telemetry-setting-conversion.ts
|
|
732145
732375
|
function convertProtoTelemetrySettingToDomain(setting) {
|
|
732146
732376
|
switch (setting) {
|
|
@@ -732251,6 +732481,19 @@ var init_cancelTask = __esm({
|
|
|
732251
732481
|
}
|
|
732252
732482
|
});
|
|
732253
732483
|
|
|
732484
|
+
// src/core/controller/task/cancelBackgroundCommand.ts
|
|
732485
|
+
async function cancelBackgroundCommand(controller, _request) {
|
|
732486
|
+
const controllerWithCancel = controller;
|
|
732487
|
+
await controllerWithCancel.cancelBackgroundCommand();
|
|
732488
|
+
return Empty.create();
|
|
732489
|
+
}
|
|
732490
|
+
var init_cancelBackgroundCommand = __esm({
|
|
732491
|
+
"src/core/controller/task/cancelBackgroundCommand.ts"() {
|
|
732492
|
+
"use strict";
|
|
732493
|
+
init_common();
|
|
732494
|
+
}
|
|
732495
|
+
});
|
|
732496
|
+
|
|
732254
732497
|
// src/core/controller/task/clearTask.ts
|
|
732255
732498
|
async function clearTask(controller, _request) {
|
|
732256
732499
|
await controller.clearTask();
|
|
@@ -732922,6 +733165,24 @@ var init_scrollToSettings = __esm({
|
|
|
732922
733165
|
}
|
|
732923
733166
|
});
|
|
732924
733167
|
|
|
733168
|
+
// src/core/controller/ui/setTerminalExecutionMode.ts
|
|
733169
|
+
async function setTerminalExecutionMode(controller, request5) {
|
|
733170
|
+
const enableBackgroundExec = request5.value;
|
|
733171
|
+
const newMode = enableBackgroundExec ? "backgroundExec" : "vscodeTerminal";
|
|
733172
|
+
controller.stateManager.setGlobalState("vscodeTerminalExecutionMode", newMode);
|
|
733173
|
+
await controller.postStateToWebview();
|
|
733174
|
+
return KeyValuePair.create({
|
|
733175
|
+
key: "terminalExecutionModeSet",
|
|
733176
|
+
value: newMode
|
|
733177
|
+
});
|
|
733178
|
+
}
|
|
733179
|
+
var init_setTerminalExecutionMode = __esm({
|
|
733180
|
+
"src/core/controller/ui/setTerminalExecutionMode.ts"() {
|
|
733181
|
+
"use strict";
|
|
733182
|
+
init_common();
|
|
733183
|
+
}
|
|
733184
|
+
});
|
|
733185
|
+
|
|
732925
733186
|
// src/utils/announcements.ts
|
|
732926
733187
|
function getLatestAnnouncementId() {
|
|
732927
733188
|
const version12 = ExtensionRegistryInfo.version;
|
|
@@ -776641,12 +776902,14 @@ var init_protobus_services = __esm({
|
|
|
776641
776902
|
init_updateAutoApprovalSettings();
|
|
776642
776903
|
init_updateSettings();
|
|
776643
776904
|
init_updateSettingsCli();
|
|
776905
|
+
init_updateTaskSettings();
|
|
776644
776906
|
init_updateTelemetrySetting();
|
|
776645
776907
|
init_setWelcomeViewCompleted();
|
|
776646
776908
|
init_updateInfoBannerVersion();
|
|
776647
776909
|
init_updateModelBannerVersion();
|
|
776648
776910
|
init_getProcessInfo();
|
|
776649
776911
|
init_cancelTask();
|
|
776912
|
+
init_cancelBackgroundCommand();
|
|
776650
776913
|
init_clearTask();
|
|
776651
776914
|
init_getTotalTasksSize();
|
|
776652
776915
|
init_deleteTasksWithIds();
|
|
@@ -776661,6 +776924,7 @@ var init_protobus_services = __esm({
|
|
|
776661
776924
|
init_executeQuickWin();
|
|
776662
776925
|
init_deleteAllTaskHistory();
|
|
776663
776926
|
init_scrollToSettings();
|
|
776927
|
+
init_setTerminalExecutionMode();
|
|
776664
776928
|
init_onDidShowAnnouncement();
|
|
776665
776929
|
init_subscribeToAddToInput();
|
|
776666
776930
|
init_subscribeToMcpButtonClicked();
|
|
@@ -839930,7 +840194,7 @@ var require_safe_stable_stringify = __commonJS({
|
|
|
839930
840194
|
return circularValue;
|
|
839931
840195
|
}
|
|
839932
840196
|
let res = "";
|
|
839933
|
-
let
|
|
840197
|
+
let join30 = ",";
|
|
839934
840198
|
const originalIndentation = indentation;
|
|
839935
840199
|
if (Array.isArray(value)) {
|
|
839936
840200
|
if (value.length === 0) {
|
|
@@ -839944,7 +840208,7 @@ var require_safe_stable_stringify = __commonJS({
|
|
|
839944
840208
|
indentation += spacer;
|
|
839945
840209
|
res += `
|
|
839946
840210
|
${indentation}`;
|
|
839947
|
-
|
|
840211
|
+
join30 = `,
|
|
839948
840212
|
${indentation}`;
|
|
839949
840213
|
}
|
|
839950
840214
|
const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
|
|
@@ -839952,13 +840216,13 @@ ${indentation}`;
|
|
|
839952
840216
|
for (; i6 < maximumValuesToStringify - 1; i6++) {
|
|
839953
840217
|
const tmp2 = stringifyFnReplacer(String(i6), value, stack, replacer, spacer, indentation);
|
|
839954
840218
|
res += tmp2 !== void 0 ? tmp2 : "null";
|
|
839955
|
-
res +=
|
|
840219
|
+
res += join30;
|
|
839956
840220
|
}
|
|
839957
840221
|
const tmp = stringifyFnReplacer(String(i6), value, stack, replacer, spacer, indentation);
|
|
839958
840222
|
res += tmp !== void 0 ? tmp : "null";
|
|
839959
840223
|
if (value.length - 1 > maximumBreadth) {
|
|
839960
840224
|
const removedKeys = value.length - maximumBreadth - 1;
|
|
839961
|
-
res += `${
|
|
840225
|
+
res += `${join30}"... ${getItemCount(removedKeys)} not stringified"`;
|
|
839962
840226
|
}
|
|
839963
840227
|
if (spacer !== "") {
|
|
839964
840228
|
res += `
|
|
@@ -839979,7 +840243,7 @@ ${originalIndentation}`;
|
|
|
839979
840243
|
let separator = "";
|
|
839980
840244
|
if (spacer !== "") {
|
|
839981
840245
|
indentation += spacer;
|
|
839982
|
-
|
|
840246
|
+
join30 = `,
|
|
839983
840247
|
${indentation}`;
|
|
839984
840248
|
whitespace2 = " ";
|
|
839985
840249
|
}
|
|
@@ -839993,13 +840257,13 @@ ${indentation}`;
|
|
|
839993
840257
|
const tmp = stringifyFnReplacer(key2, value, stack, replacer, spacer, indentation);
|
|
839994
840258
|
if (tmp !== void 0) {
|
|
839995
840259
|
res += `${separator}${strEscape(key2)}:${whitespace2}${tmp}`;
|
|
839996
|
-
separator =
|
|
840260
|
+
separator = join30;
|
|
839997
840261
|
}
|
|
839998
840262
|
}
|
|
839999
840263
|
if (keyLength > maximumBreadth) {
|
|
840000
840264
|
const removedKeys = keyLength - maximumBreadth;
|
|
840001
840265
|
res += `${separator}"...":${whitespace2}"${getItemCount(removedKeys)} not stringified"`;
|
|
840002
|
-
separator =
|
|
840266
|
+
separator = join30;
|
|
840003
840267
|
}
|
|
840004
840268
|
if (spacer !== "" && separator.length > 1) {
|
|
840005
840269
|
res = `
|
|
@@ -840040,7 +840304,7 @@ ${originalIndentation}`;
|
|
|
840040
840304
|
}
|
|
840041
840305
|
const originalIndentation = indentation;
|
|
840042
840306
|
let res = "";
|
|
840043
|
-
let
|
|
840307
|
+
let join30 = ",";
|
|
840044
840308
|
if (Array.isArray(value)) {
|
|
840045
840309
|
if (value.length === 0) {
|
|
840046
840310
|
return "[]";
|
|
@@ -840053,7 +840317,7 @@ ${originalIndentation}`;
|
|
|
840053
840317
|
indentation += spacer;
|
|
840054
840318
|
res += `
|
|
840055
840319
|
${indentation}`;
|
|
840056
|
-
|
|
840320
|
+
join30 = `,
|
|
840057
840321
|
${indentation}`;
|
|
840058
840322
|
}
|
|
840059
840323
|
const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
|
|
@@ -840061,13 +840325,13 @@ ${indentation}`;
|
|
|
840061
840325
|
for (; i6 < maximumValuesToStringify - 1; i6++) {
|
|
840062
840326
|
const tmp2 = stringifyArrayReplacer(String(i6), value[i6], stack, replacer, spacer, indentation);
|
|
840063
840327
|
res += tmp2 !== void 0 ? tmp2 : "null";
|
|
840064
|
-
res +=
|
|
840328
|
+
res += join30;
|
|
840065
840329
|
}
|
|
840066
840330
|
const tmp = stringifyArrayReplacer(String(i6), value[i6], stack, replacer, spacer, indentation);
|
|
840067
840331
|
res += tmp !== void 0 ? tmp : "null";
|
|
840068
840332
|
if (value.length - 1 > maximumBreadth) {
|
|
840069
840333
|
const removedKeys = value.length - maximumBreadth - 1;
|
|
840070
|
-
res += `${
|
|
840334
|
+
res += `${join30}"... ${getItemCount(removedKeys)} not stringified"`;
|
|
840071
840335
|
}
|
|
840072
840336
|
if (spacer !== "") {
|
|
840073
840337
|
res += `
|
|
@@ -840080,7 +840344,7 @@ ${originalIndentation}`;
|
|
|
840080
840344
|
let whitespace2 = "";
|
|
840081
840345
|
if (spacer !== "") {
|
|
840082
840346
|
indentation += spacer;
|
|
840083
|
-
|
|
840347
|
+
join30 = `,
|
|
840084
840348
|
${indentation}`;
|
|
840085
840349
|
whitespace2 = " ";
|
|
840086
840350
|
}
|
|
@@ -840089,7 +840353,7 @@ ${indentation}`;
|
|
|
840089
840353
|
const tmp = stringifyArrayReplacer(key2, value[key2], stack, replacer, spacer, indentation);
|
|
840090
840354
|
if (tmp !== void 0) {
|
|
840091
840355
|
res += `${separator}${strEscape(key2)}:${whitespace2}${tmp}`;
|
|
840092
|
-
separator =
|
|
840356
|
+
separator = join30;
|
|
840093
840357
|
}
|
|
840094
840358
|
}
|
|
840095
840359
|
if (spacer !== "" && separator.length > 1) {
|
|
@@ -840147,20 +840411,20 @@ ${originalIndentation}`;
|
|
|
840147
840411
|
indentation += spacer;
|
|
840148
840412
|
let res2 = `
|
|
840149
840413
|
${indentation}`;
|
|
840150
|
-
const
|
|
840414
|
+
const join31 = `,
|
|
840151
840415
|
${indentation}`;
|
|
840152
840416
|
const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
|
|
840153
840417
|
let i6 = 0;
|
|
840154
840418
|
for (; i6 < maximumValuesToStringify - 1; i6++) {
|
|
840155
840419
|
const tmp2 = stringifyIndent(String(i6), value[i6], stack, spacer, indentation);
|
|
840156
840420
|
res2 += tmp2 !== void 0 ? tmp2 : "null";
|
|
840157
|
-
res2 +=
|
|
840421
|
+
res2 += join31;
|
|
840158
840422
|
}
|
|
840159
840423
|
const tmp = stringifyIndent(String(i6), value[i6], stack, spacer, indentation);
|
|
840160
840424
|
res2 += tmp !== void 0 ? tmp : "null";
|
|
840161
840425
|
if (value.length - 1 > maximumBreadth) {
|
|
840162
840426
|
const removedKeys = value.length - maximumBreadth - 1;
|
|
840163
|
-
res2 += `${
|
|
840427
|
+
res2 += `${join31}"... ${getItemCount(removedKeys)} not stringified"`;
|
|
840164
840428
|
}
|
|
840165
840429
|
res2 += `
|
|
840166
840430
|
${originalIndentation}`;
|
|
@@ -840176,16 +840440,16 @@ ${originalIndentation}`;
|
|
|
840176
840440
|
return '"[Object]"';
|
|
840177
840441
|
}
|
|
840178
840442
|
indentation += spacer;
|
|
840179
|
-
const
|
|
840443
|
+
const join30 = `,
|
|
840180
840444
|
${indentation}`;
|
|
840181
840445
|
let res = "";
|
|
840182
840446
|
let separator = "";
|
|
840183
840447
|
let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
|
|
840184
840448
|
if (isTypedArrayWithEntries(value)) {
|
|
840185
|
-
res += stringifyTypedArray(value,
|
|
840449
|
+
res += stringifyTypedArray(value, join30, maximumBreadth);
|
|
840186
840450
|
keys2 = keys2.slice(value.length);
|
|
840187
840451
|
maximumPropertiesToStringify -= value.length;
|
|
840188
|
-
separator =
|
|
840452
|
+
separator = join30;
|
|
840189
840453
|
}
|
|
840190
840454
|
if (deterministic) {
|
|
840191
840455
|
keys2 = sort2(keys2, comparator);
|
|
@@ -840196,13 +840460,13 @@ ${indentation}`;
|
|
|
840196
840460
|
const tmp = stringifyIndent(key2, value[key2], stack, spacer, indentation);
|
|
840197
840461
|
if (tmp !== void 0) {
|
|
840198
840462
|
res += `${separator}${strEscape(key2)}: ${tmp}`;
|
|
840199
|
-
separator =
|
|
840463
|
+
separator = join30;
|
|
840200
840464
|
}
|
|
840201
840465
|
}
|
|
840202
840466
|
if (keyLength > maximumBreadth) {
|
|
840203
840467
|
const removedKeys = keyLength - maximumBreadth;
|
|
840204
840468
|
res += `${separator}"...": "${getItemCount(removedKeys)} not stringified"`;
|
|
840205
|
-
separator =
|
|
840469
|
+
separator = join30;
|
|
840206
840470
|
}
|
|
840207
840471
|
if (separator !== "") {
|
|
840208
840472
|
res = `
|
|
@@ -841603,7 +841867,7 @@ var require_buffer_list2 = __commonJS({
|
|
|
841603
841867
|
}
|
|
841604
841868
|
}, {
|
|
841605
841869
|
key: "join",
|
|
841606
|
-
value: function
|
|
841870
|
+
value: function join30(s4) {
|
|
841607
841871
|
if (this.length === 0) return "";
|
|
841608
841872
|
var p4 = this.head;
|
|
841609
841873
|
var ret2 = "" + p4.data;
|
|
@@ -844371,7 +844635,7 @@ var require_buffer_list3 = __commonJS({
|
|
|
844371
844635
|
}
|
|
844372
844636
|
}, {
|
|
844373
844637
|
key: "join",
|
|
844374
|
-
value: function
|
|
844638
|
+
value: function join30(s4) {
|
|
844375
844639
|
if (this.length === 0) return "";
|
|
844376
844640
|
var p4 = this.head;
|
|
844377
844641
|
var ret2 = "" + p4.data;
|
|
@@ -943147,14 +943411,14 @@ var require_turndown_cjs = __commonJS({
|
|
|
943147
943411
|
} else if (node2.nodeType === 1) {
|
|
943148
943412
|
replacement = replacementForNode.call(self2, node2);
|
|
943149
943413
|
}
|
|
943150
|
-
return
|
|
943414
|
+
return join30(output, replacement);
|
|
943151
943415
|
}, "");
|
|
943152
943416
|
}
|
|
943153
943417
|
function postProcess(output) {
|
|
943154
943418
|
var self2 = this;
|
|
943155
943419
|
this.rules.forEach(function(rule) {
|
|
943156
943420
|
if (typeof rule.append === "function") {
|
|
943157
|
-
output =
|
|
943421
|
+
output = join30(output, rule.append(self2.options));
|
|
943158
943422
|
}
|
|
943159
943423
|
});
|
|
943160
943424
|
return output.replace(/^[\t\r\n]+/, "").replace(/[\t\r\n\s]+$/, "");
|
|
@@ -943166,7 +943430,7 @@ var require_turndown_cjs = __commonJS({
|
|
|
943166
943430
|
if (whitespace2.leading || whitespace2.trailing) content = content.trim();
|
|
943167
943431
|
return whitespace2.leading + rule.replacement(content, node2, this.options) + whitespace2.trailing;
|
|
943168
943432
|
}
|
|
943169
|
-
function
|
|
943433
|
+
function join30(output, replacement) {
|
|
943170
943434
|
var s1 = trimTrailingNewlines(output);
|
|
943171
943435
|
var s22 = trimLeadingNewlines(replacement);
|
|
943172
943436
|
var nls = Math.max(output.length - s1.length, replacement.length - s22.length);
|
|
@@ -943346,6 +943610,17 @@ var init_list_files2 = __esm({
|
|
|
943346
943610
|
}
|
|
943347
943611
|
});
|
|
943348
943612
|
|
|
943613
|
+
// src/shared/ExtensionMessage.ts
|
|
943614
|
+
var COMMAND_CANCEL_TOKEN, browserActions, COMPLETION_RESULT_CHANGES_FLAG;
|
|
943615
|
+
var init_ExtensionMessage = __esm({
|
|
943616
|
+
"src/shared/ExtensionMessage.ts"() {
|
|
943617
|
+
"use strict";
|
|
943618
|
+
COMMAND_CANCEL_TOKEN = "__cline_command_cancel__";
|
|
943619
|
+
browserActions = ["launch", "click", "type", "scroll_down", "scroll_up", "close"];
|
|
943620
|
+
COMPLETION_RESULT_CHANGES_FLAG = "HAS_CHANGES";
|
|
943621
|
+
}
|
|
943622
|
+
});
|
|
943623
|
+
|
|
943349
943624
|
// src/shared/Languages.ts
|
|
943350
943625
|
function getLanguageKey(display) {
|
|
943351
943626
|
if (!display) {
|
|
@@ -943434,6 +943709,7 @@ function convertClineSayToProtoEnum(say) {
|
|
|
943434
943709
|
command_output: 11 /* COMMAND_OUTPUT_SAY */,
|
|
943435
943710
|
tool: 12 /* TOOL_SAY */,
|
|
943436
943711
|
shell_integration_warning: 13 /* SHELL_INTEGRATION_WARNING */,
|
|
943712
|
+
shell_integration_warning_with_suggestion: 13 /* SHELL_INTEGRATION_WARNING */,
|
|
943437
943713
|
browser_action_launch: 14 /* BROWSER_ACTION_LAUNCH_SAY */,
|
|
943438
943714
|
browser_action: 15 /* BROWSER_ACTION */,
|
|
943439
943715
|
browser_action_result: 16 /* BROWSER_ACTION_RESULT */,
|
|
@@ -945105,16 +945381,6 @@ ${text3}
|
|
|
945105
945381
|
}
|
|
945106
945382
|
});
|
|
945107
945383
|
|
|
945108
|
-
// src/shared/ExtensionMessage.ts
|
|
945109
|
-
var browserActions, COMPLETION_RESULT_CHANGES_FLAG;
|
|
945110
|
-
var init_ExtensionMessage = __esm({
|
|
945111
|
-
"src/shared/ExtensionMessage.ts"() {
|
|
945112
|
-
"use strict";
|
|
945113
|
-
browserActions = ["launch", "click", "type", "scroll_down", "scroll_up", "close"];
|
|
945114
|
-
COMPLETION_RESULT_CHANGES_FLAG = "HAS_CHANGES";
|
|
945115
|
-
}
|
|
945116
|
-
});
|
|
945117
|
-
|
|
945118
945384
|
// src/core/task/tools/handlers/AttemptCompletionHandler.ts
|
|
945119
945385
|
var AttemptCompletionHandler;
|
|
945120
945386
|
var init_AttemptCompletionHandler = __esm({
|
|
@@ -951095,6 +951361,7 @@ var init_task3 = __esm({
|
|
|
951095
951361
|
init_array4();
|
|
951096
951362
|
init_combineApiRequests();
|
|
951097
951363
|
init_combineCommandSequences();
|
|
951364
|
+
init_ExtensionMessage();
|
|
951098
951365
|
init_Languages();
|
|
951099
951366
|
init_cline_message();
|
|
951100
951367
|
init_model_utils();
|
|
@@ -951119,7 +951386,12 @@ var init_task3 = __esm({
|
|
|
951119
951386
|
init_TaskState();
|
|
951120
951387
|
init_ToolExecutor();
|
|
951121
951388
|
init_utils26();
|
|
951122
|
-
Task = class {
|
|
951389
|
+
Task = class _Task {
|
|
951390
|
+
// Constants
|
|
951391
|
+
static STANDALONE_TERMINAL_MODULE_PATH = path74.join(
|
|
951392
|
+
__dirname,
|
|
951393
|
+
"../standalone/runtime-files/vscode/enhanced-terminal.js"
|
|
951394
|
+
);
|
|
951123
951395
|
// Core task variables
|
|
951124
951396
|
taskId;
|
|
951125
951397
|
ulid;
|
|
@@ -951140,6 +951412,8 @@ var init_task3 = __esm({
|
|
|
951140
951412
|
checkpointManager;
|
|
951141
951413
|
clineIgnoreController;
|
|
951142
951414
|
toolExecutor;
|
|
951415
|
+
terminalExecutionMode;
|
|
951416
|
+
activeBackgroundCommand;
|
|
951143
951417
|
// Metadata tracking
|
|
951144
951418
|
fileContextTracker;
|
|
951145
951419
|
modelContextTracker;
|
|
@@ -951170,6 +951444,7 @@ var init_task3 = __esm({
|
|
|
951170
951444
|
terminalReuseEnabled,
|
|
951171
951445
|
terminalOutputLineLimit,
|
|
951172
951446
|
defaultTerminalProfile,
|
|
951447
|
+
vscodeTerminalExecutionMode,
|
|
951173
951448
|
cwd,
|
|
951174
951449
|
stateManager,
|
|
951175
951450
|
workspaceManager,
|
|
@@ -951191,11 +951466,26 @@ var init_task3 = __esm({
|
|
|
951191
951466
|
this.clineIgnoreController = new ClineIgnoreController(cwd);
|
|
951192
951467
|
this.taskLockAcquired = taskLockAcquired;
|
|
951193
951468
|
if (global.standaloneTerminalManager) {
|
|
951194
|
-
console.log("[DEBUG] Using vscode-impls.js terminal manager");
|
|
951195
951469
|
this.terminalManager = global.standaloneTerminalManager;
|
|
951470
|
+
this.terminalExecutionMode = "backgroundExec";
|
|
951196
951471
|
} else {
|
|
951197
|
-
|
|
951198
|
-
this.
|
|
951472
|
+
const terminalExecutionMode = vscodeTerminalExecutionMode || "vscodeTerminal";
|
|
951473
|
+
this.terminalExecutionMode = terminalExecutionMode;
|
|
951474
|
+
if (terminalExecutionMode === "backgroundExec") {
|
|
951475
|
+
try {
|
|
951476
|
+
const { StandaloneTerminalManager } = require(_Task.STANDALONE_TERMINAL_MODULE_PATH);
|
|
951477
|
+
if (StandaloneTerminalManager) {
|
|
951478
|
+
this.terminalManager = new StandaloneTerminalManager();
|
|
951479
|
+
} else {
|
|
951480
|
+
this.terminalManager = new TerminalManager();
|
|
951481
|
+
}
|
|
951482
|
+
} catch (error) {
|
|
951483
|
+
console.error("[DEBUG] Failed to load standalone terminal manager", error);
|
|
951484
|
+
this.terminalManager = new TerminalManager();
|
|
951485
|
+
}
|
|
951486
|
+
} else {
|
|
951487
|
+
this.terminalManager = new TerminalManager();
|
|
951488
|
+
}
|
|
951199
951489
|
}
|
|
951200
951490
|
this.terminalManager.setShellIntegrationTimeout(shellIntegrationTimeout);
|
|
951201
951491
|
this.terminalManager.setTerminalReuseEnabled(terminalReuseEnabled ?? true);
|
|
@@ -951861,8 +952151,36 @@ ${output}` : ""}`
|
|
|
951861
952151
|
const terminalInfo = await this.terminalManager.getOrCreateTerminal(this.cwd);
|
|
951862
952152
|
terminalInfo.terminal.show();
|
|
951863
952153
|
const process25 = this.terminalManager.runCommand(terminalInfo, command);
|
|
952154
|
+
this.controller.updateBackgroundCommandState(true, this.taskId);
|
|
952155
|
+
if (this.terminalExecutionMode === "backgroundExec") {
|
|
952156
|
+
this.activeBackgroundCommand = { process: process25, command };
|
|
952157
|
+
}
|
|
952158
|
+
const clearCommandState = async () => {
|
|
952159
|
+
if (this.terminalExecutionMode === "backgroundExec") {
|
|
952160
|
+
if (this.activeBackgroundCommand?.process !== process25) {
|
|
952161
|
+
return;
|
|
952162
|
+
}
|
|
952163
|
+
this.activeBackgroundCommand = void 0;
|
|
952164
|
+
}
|
|
952165
|
+
this.controller.updateBackgroundCommandState(false, this.taskId);
|
|
952166
|
+
const clineMessages = this.messageStateHandler.getClineMessages();
|
|
952167
|
+
const lastCommandIndex = findLastIndex(clineMessages, (m4) => m4.ask === "command" || m4.say === "command");
|
|
952168
|
+
if (lastCommandIndex !== -1) {
|
|
952169
|
+
await this.messageStateHandler.updateClineMessage(lastCommandIndex, {
|
|
952170
|
+
commandCompleted: true
|
|
952171
|
+
});
|
|
952172
|
+
}
|
|
952173
|
+
};
|
|
952174
|
+
process25.once("completed", clearCommandState);
|
|
952175
|
+
process25.once("error", clearCommandState);
|
|
952176
|
+
process25.finally(() => {
|
|
952177
|
+
clearCommandState();
|
|
952178
|
+
}).catch(() => {
|
|
952179
|
+
clearCommandState();
|
|
952180
|
+
});
|
|
951864
952181
|
let userFeedback;
|
|
951865
952182
|
let didContinue = false;
|
|
952183
|
+
let didCancelViaUi = false;
|
|
951866
952184
|
const CHUNK_LINE_COUNT = 20;
|
|
951867
952185
|
const CHUNK_BYTE_SIZE = 2048;
|
|
951868
952186
|
const CHUNK_DEBOUNCE_MS = 100;
|
|
@@ -951892,12 +952210,21 @@ ${output}` : ""}`
|
|
|
951892
952210
|
if (text3 || images && images.length > 0 || files && files.length > 0) {
|
|
951893
952211
|
userFeedback = { text: text3, images, files };
|
|
951894
952212
|
}
|
|
952213
|
+
} else if (response === "noButtonClicked" && text3 === COMMAND_CANCEL_TOKEN) {
|
|
952214
|
+
telemetryService.captureTerminalUserIntervention("cancelled" /* CANCELLED */);
|
|
952215
|
+
didCancelViaUi = true;
|
|
952216
|
+
userFeedback = void 0;
|
|
951895
952217
|
} else {
|
|
951896
952218
|
userFeedback = { text: text3, images, files };
|
|
951897
952219
|
}
|
|
951898
952220
|
didContinue = true;
|
|
951899
952221
|
process25.continue();
|
|
951900
|
-
if (
|
|
952222
|
+
if (didCancelViaUi) {
|
|
952223
|
+
outputBuffer = [];
|
|
952224
|
+
outputBufferSize = 0;
|
|
952225
|
+
await this.say("command_output", "Command cancelled");
|
|
952226
|
+
}
|
|
952227
|
+
if (!didCancelViaUi && outputBuffer.length > 0) {
|
|
951901
952228
|
await flushBuffer();
|
|
951902
952229
|
}
|
|
951903
952230
|
} catch {
|
|
@@ -951917,6 +952244,9 @@ ${output}` : ""}`
|
|
|
951917
952244
|
};
|
|
951918
952245
|
const outputLines = [];
|
|
951919
952246
|
process25.on("line", async (line) => {
|
|
952247
|
+
if (didCancelViaUi) {
|
|
952248
|
+
return;
|
|
952249
|
+
}
|
|
951920
952250
|
outputLines.push(line);
|
|
951921
952251
|
if (!didContinue) {
|
|
951922
952252
|
outputBuffer.push(line);
|
|
@@ -951954,48 +952284,67 @@ ${output}` : ""}`
|
|
|
951954
952284
|
}
|
|
951955
952285
|
});
|
|
951956
952286
|
process25.once("no_shell_integration", async () => {
|
|
951957
|
-
|
|
952287
|
+
const shouldShowSuggestion = this.controller.shouldShowBackgroundTerminalSuggestion();
|
|
952288
|
+
if (shouldShowSuggestion) {
|
|
952289
|
+
await this.say("shell_integration_warning_with_suggestion");
|
|
952290
|
+
} else {
|
|
952291
|
+
await this.say("shell_integration_warning");
|
|
952292
|
+
}
|
|
951958
952293
|
});
|
|
951959
|
-
if (
|
|
951960
|
-
|
|
951961
|
-
|
|
951962
|
-
|
|
951963
|
-
|
|
951964
|
-
|
|
951965
|
-
|
|
951966
|
-
|
|
951967
|
-
|
|
951968
|
-
|
|
951969
|
-
|
|
951970
|
-
|
|
951971
|
-
|
|
951972
|
-
|
|
951973
|
-
|
|
951974
|
-
|
|
951975
|
-
|
|
951976
|
-
|
|
951977
|
-
|
|
951978
|
-
|
|
951979
|
-
|
|
951980
|
-
|
|
951981
|
-
|
|
951982
|
-
|
|
951983
|
-
|
|
952294
|
+
if (!didCancelViaUi) {
|
|
952295
|
+
if (timeoutSeconds) {
|
|
952296
|
+
const timeoutPromise = new Promise((_6, reject2) => {
|
|
952297
|
+
setTimeout(() => {
|
|
952298
|
+
reject2(new Error("COMMAND_TIMEOUT"));
|
|
952299
|
+
}, timeoutSeconds * 1e3);
|
|
952300
|
+
});
|
|
952301
|
+
try {
|
|
952302
|
+
await Promise.race([process25, timeoutPromise]);
|
|
952303
|
+
} catch (error) {
|
|
952304
|
+
didContinue = true;
|
|
952305
|
+
process25.continue();
|
|
952306
|
+
if (chunkTimer) {
|
|
952307
|
+
clearTimeout(chunkTimer);
|
|
952308
|
+
chunkTimer = null;
|
|
952309
|
+
}
|
|
952310
|
+
if (completionTimer) {
|
|
952311
|
+
clearTimeout(completionTimer);
|
|
952312
|
+
completionTimer = null;
|
|
952313
|
+
}
|
|
952314
|
+
await (0, import_promises53.setTimeout)(50);
|
|
952315
|
+
const result3 = this.terminalManager.processOutput(outputLines);
|
|
952316
|
+
if (error.message === "COMMAND_TIMEOUT") {
|
|
952317
|
+
return [
|
|
952318
|
+
false,
|
|
952319
|
+
`Command execution timed out after ${timeoutSeconds} seconds. ${result3.length > 0 ? `
|
|
951984
952320
|
Output so far:
|
|
951985
952321
|
${result3}` : ""}`
|
|
951986
|
-
|
|
952322
|
+
];
|
|
952323
|
+
}
|
|
952324
|
+
throw error;
|
|
951987
952325
|
}
|
|
951988
|
-
|
|
952326
|
+
} else {
|
|
952327
|
+
await process25;
|
|
951989
952328
|
}
|
|
951990
|
-
} else {
|
|
951991
|
-
await process25;
|
|
951992
952329
|
}
|
|
951993
952330
|
if (completionTimer) {
|
|
951994
952331
|
clearTimeout(completionTimer);
|
|
951995
952332
|
completionTimer = null;
|
|
951996
952333
|
}
|
|
951997
|
-
|
|
952334
|
+
if (!didCancelViaUi) {
|
|
952335
|
+
await (0, import_promises53.setTimeout)(50);
|
|
952336
|
+
}
|
|
951998
952337
|
const result2 = this.terminalManager.processOutput(outputLines);
|
|
952338
|
+
if (didCancelViaUi) {
|
|
952339
|
+
return [
|
|
952340
|
+
true,
|
|
952341
|
+
formatResponse.toolResult(
|
|
952342
|
+
`Command cancelled. ${result2.length > 0 ? `
|
|
952343
|
+
Output captured before cancellation:
|
|
952344
|
+
${result2}` : ""}`
|
|
952345
|
+
)
|
|
952346
|
+
];
|
|
952347
|
+
}
|
|
951999
952348
|
if (userFeedback) {
|
|
952000
952349
|
await this.say("user_feedback", userFeedback.text, userFeedback.images, userFeedback.files);
|
|
952001
952350
|
let fileContentString = "";
|
|
@@ -952033,6 +952382,34 @@ You will be updated on the terminal status and new output in the future.`
|
|
|
952033
952382
|
];
|
|
952034
952383
|
}
|
|
952035
952384
|
}
|
|
952385
|
+
async cancelBackgroundCommand() {
|
|
952386
|
+
if (this.terminalExecutionMode !== "backgroundExec") {
|
|
952387
|
+
return false;
|
|
952388
|
+
}
|
|
952389
|
+
if (!this.activeBackgroundCommand) {
|
|
952390
|
+
return false;
|
|
952391
|
+
}
|
|
952392
|
+
const { process: process25 } = this.activeBackgroundCommand;
|
|
952393
|
+
this.activeBackgroundCommand = void 0;
|
|
952394
|
+
this.controller.updateBackgroundCommandState(false, this.taskId);
|
|
952395
|
+
try {
|
|
952396
|
+
if (typeof process25.terminate === "function") {
|
|
952397
|
+
;
|
|
952398
|
+
process25.terminate();
|
|
952399
|
+
} else {
|
|
952400
|
+
;
|
|
952401
|
+
process25.continue?.();
|
|
952402
|
+
}
|
|
952403
|
+
} catch (error) {
|
|
952404
|
+
Logger.error("Failed to terminate background command", error);
|
|
952405
|
+
}
|
|
952406
|
+
try {
|
|
952407
|
+
await this.say("command_output", "Command cancelled. Background execution has been terminated.");
|
|
952408
|
+
} catch (error) {
|
|
952409
|
+
Logger.error("Failed to notify command cancellation", error);
|
|
952410
|
+
}
|
|
952411
|
+
return true;
|
|
952412
|
+
}
|
|
952036
952413
|
/**
|
|
952037
952414
|
* Migrates the disableBrowserTool setting from VSCode configuration to browserSettings
|
|
952038
952415
|
*/
|
|
@@ -953291,6 +953668,10 @@ var init_controller = __esm({
|
|
|
953291
953668
|
stateManager;
|
|
953292
953669
|
// NEW: Add workspace manager (optional initially)
|
|
953293
953670
|
workspaceManager;
|
|
953671
|
+
backgroundCommandRunning = false;
|
|
953672
|
+
backgroundCommandTaskId;
|
|
953673
|
+
// Shell integration warning tracker
|
|
953674
|
+
shellIntegrationWarningTracker = { timestamps: [] };
|
|
953294
953675
|
// Timer for periodic remote config fetching
|
|
953295
953676
|
remoteConfigTimer;
|
|
953296
953677
|
// Public getter for workspace manager with lazy initialization - To get workspaces when task isn't initialized (Used by file mentions)
|
|
@@ -953391,6 +953772,7 @@ var init_controller = __esm({
|
|
|
953391
953772
|
const autoApprovalSettings = this.stateManager.getGlobalSettingsKey("autoApprovalSettings");
|
|
953392
953773
|
const shellIntegrationTimeout = this.stateManager.getGlobalSettingsKey("shellIntegrationTimeout");
|
|
953393
953774
|
const terminalReuseEnabled = this.stateManager.getGlobalStateKey("terminalReuseEnabled");
|
|
953775
|
+
const vscodeTerminalExecutionMode = this.stateManager.getGlobalStateKey("vscodeTerminalExecutionMode");
|
|
953394
953776
|
const terminalOutputLineLimit = this.stateManager.getGlobalSettingsKey("terminalOutputLineLimit");
|
|
953395
953777
|
const defaultTerminalProfile = this.stateManager.getGlobalSettingsKey("defaultTerminalProfile");
|
|
953396
953778
|
const isNewUser = this.stateManager.getGlobalStateKey("isNewUser");
|
|
@@ -953440,6 +953822,7 @@ var init_controller = __esm({
|
|
|
953440
953822
|
terminalReuseEnabled: terminalReuseEnabled ?? true,
|
|
953441
953823
|
terminalOutputLineLimit: terminalOutputLineLimit ?? 500,
|
|
953442
953824
|
defaultTerminalProfile: defaultTerminalProfile ?? "default",
|
|
953825
|
+
vscodeTerminalExecutionMode,
|
|
953443
953826
|
cwd,
|
|
953444
953827
|
stateManager: this.stateManager,
|
|
953445
953828
|
workspaceManager: this.workspaceManager,
|
|
@@ -953505,6 +953888,7 @@ var init_controller = __esm({
|
|
|
953505
953888
|
}
|
|
953506
953889
|
async cancelTask() {
|
|
953507
953890
|
if (this.task) {
|
|
953891
|
+
this.updateBackgroundCommandState(false);
|
|
953508
953892
|
const { historyItem } = await this.getTaskWithId(this.task.taskId);
|
|
953509
953893
|
try {
|
|
953510
953894
|
await this.task.abortTask();
|
|
@@ -953526,6 +953910,40 @@ var init_controller = __esm({
|
|
|
953526
953910
|
await this.initTask(void 0, void 0, void 0, historyItem);
|
|
953527
953911
|
}
|
|
953528
953912
|
}
|
|
953913
|
+
updateBackgroundCommandState(running, taskId) {
|
|
953914
|
+
const nextTaskId = running ? taskId : void 0;
|
|
953915
|
+
if (this.backgroundCommandRunning === running && this.backgroundCommandTaskId === nextTaskId) {
|
|
953916
|
+
return;
|
|
953917
|
+
}
|
|
953918
|
+
this.backgroundCommandRunning = running;
|
|
953919
|
+
this.backgroundCommandTaskId = nextTaskId;
|
|
953920
|
+
void this.postStateToWebview();
|
|
953921
|
+
}
|
|
953922
|
+
async cancelBackgroundCommand() {
|
|
953923
|
+
const didCancel = await this.task?.cancelBackgroundCommand();
|
|
953924
|
+
if (!didCancel) {
|
|
953925
|
+
this.updateBackgroundCommandState(false);
|
|
953926
|
+
}
|
|
953927
|
+
}
|
|
953928
|
+
/**
|
|
953929
|
+
* Check if we should show the background terminal suggestion based on shell integration warning frequency
|
|
953930
|
+
* @returns true if we should show the suggestion, false otherwise
|
|
953931
|
+
*/
|
|
953932
|
+
shouldShowBackgroundTerminalSuggestion() {
|
|
953933
|
+
const oneHourAgo = Date.now() - 60 * 60 * 1e3;
|
|
953934
|
+
this.shellIntegrationWarningTracker.timestamps = this.shellIntegrationWarningTracker.timestamps.filter(
|
|
953935
|
+
(ts) => ts > oneHourAgo
|
|
953936
|
+
);
|
|
953937
|
+
this.shellIntegrationWarningTracker.timestamps.push(Date.now());
|
|
953938
|
+
if (this.shellIntegrationWarningTracker.lastSuggestionShown && Date.now() - this.shellIntegrationWarningTracker.lastSuggestionShown < 60 * 60 * 1e3) {
|
|
953939
|
+
return false;
|
|
953940
|
+
}
|
|
953941
|
+
if (this.shellIntegrationWarningTracker.timestamps.length >= 3) {
|
|
953942
|
+
this.shellIntegrationWarningTracker.lastSuggestionShown = Date.now();
|
|
953943
|
+
return true;
|
|
953944
|
+
}
|
|
953945
|
+
return false;
|
|
953946
|
+
}
|
|
953529
953947
|
async handleAuthCallback(customToken, provider = null) {
|
|
953530
953948
|
try {
|
|
953531
953949
|
await this.authService.handleAuthCallback(customToken, provider ? provider : "google");
|
|
@@ -953799,6 +954217,7 @@ var init_controller = __esm({
|
|
|
953799
954217
|
const globalWorkflowToggles = this.stateManager.getGlobalSettingsKey("globalWorkflowToggles");
|
|
953800
954218
|
const shellIntegrationTimeout = this.stateManager.getGlobalSettingsKey("shellIntegrationTimeout");
|
|
953801
954219
|
const terminalReuseEnabled = this.stateManager.getGlobalStateKey("terminalReuseEnabled");
|
|
954220
|
+
const vscodeTerminalExecutionMode = this.stateManager.getGlobalStateKey("vscodeTerminalExecutionMode");
|
|
953802
954221
|
const defaultTerminalProfile = this.stateManager.getGlobalSettingsKey("defaultTerminalProfile");
|
|
953803
954222
|
const isNewUser = this.stateManager.getGlobalStateKey("isNewUser");
|
|
953804
954223
|
const welcomeViewCompleted = Boolean(
|
|
@@ -953864,6 +954283,7 @@ var init_controller = __esm({
|
|
|
953864
954283
|
globalWorkflowToggles: globalWorkflowToggles || {},
|
|
953865
954284
|
shellIntegrationTimeout,
|
|
953866
954285
|
terminalReuseEnabled,
|
|
954286
|
+
vscodeTerminalExecutionMode,
|
|
953867
954287
|
defaultTerminalProfile,
|
|
953868
954288
|
isNewUser,
|
|
953869
954289
|
welcomeViewCompleted,
|
|
@@ -953875,6 +954295,8 @@ var init_controller = __esm({
|
|
|
953875
954295
|
shouldShowAnnouncement,
|
|
953876
954296
|
favoritedModelIds,
|
|
953877
954297
|
autoCondenseThreshold,
|
|
954298
|
+
backgroundCommandRunning: this.backgroundCommandRunning,
|
|
954299
|
+
backgroundCommandTaskId: this.backgroundCommandTaskId,
|
|
953878
954300
|
// NEW: Add workspace information
|
|
953879
954301
|
workspaceRoots: this.workspaceManager?.getRoots() ?? [],
|
|
953880
954302
|
primaryRootIndex: this.workspaceManager?.getPrimaryIndex() ?? 0,
|
|
@@ -970214,7 +970636,7 @@ var Metadata2 = {
|
|
|
970214
970636
|
function createBaseEmptyRequest2() {
|
|
970215
970637
|
return {};
|
|
970216
970638
|
}
|
|
970217
|
-
var
|
|
970639
|
+
var EmptyRequest15 = {
|
|
970218
970640
|
encode(_6, writer = new BinaryWriter()) {
|
|
970219
970641
|
return writer;
|
|
970220
970642
|
},
|
|
@@ -970241,7 +970663,7 @@ var EmptyRequest14 = {
|
|
|
970241
970663
|
return obj2;
|
|
970242
970664
|
},
|
|
970243
970665
|
create(base) {
|
|
970244
|
-
return
|
|
970666
|
+
return EmptyRequest15.fromPartial(base ?? {});
|
|
970245
970667
|
},
|
|
970246
970668
|
fromPartial(_6) {
|
|
970247
970669
|
const message = createBaseEmptyRequest2();
|
|
@@ -972116,7 +972538,7 @@ var EnvServiceDefinition = {
|
|
|
972116
972538
|
/** Reads text from the system clipboard. */
|
|
972117
972539
|
clipboardReadText: {
|
|
972118
972540
|
name: "clipboardReadText",
|
|
972119
|
-
requestType:
|
|
972541
|
+
requestType: EmptyRequest15,
|
|
972120
972542
|
requestStream: false,
|
|
972121
972543
|
responseType: String3,
|
|
972122
972544
|
responseStream: false,
|
|
@@ -972125,7 +972547,7 @@ var EnvServiceDefinition = {
|
|
|
972125
972547
|
/** Returns the name and version of the host IDE or environment. */
|
|
972126
972548
|
getHostVersion: {
|
|
972127
972549
|
name: "getHostVersion",
|
|
972128
|
-
requestType:
|
|
972550
|
+
requestType: EmptyRequest15,
|
|
972129
972551
|
requestStream: false,
|
|
972130
972552
|
responseType: GetHostVersionResponse,
|
|
972131
972553
|
responseStream: false,
|
|
@@ -972138,7 +972560,7 @@ var EnvServiceDefinition = {
|
|
|
972138
972560
|
*/
|
|
972139
972561
|
getIdeRedirectUri: {
|
|
972140
972562
|
name: "getIdeRedirectUri",
|
|
972141
|
-
requestType:
|
|
972563
|
+
requestType: EmptyRequest15,
|
|
972142
972564
|
requestStream: false,
|
|
972143
972565
|
responseType: String3,
|
|
972144
972566
|
responseStream: false,
|
|
@@ -972150,7 +972572,7 @@ var EnvServiceDefinition = {
|
|
|
972150
972572
|
*/
|
|
972151
972573
|
getTelemetrySettings: {
|
|
972152
972574
|
name: "getTelemetrySettings",
|
|
972153
|
-
requestType:
|
|
972575
|
+
requestType: EmptyRequest15,
|
|
972154
972576
|
requestStream: false,
|
|
972155
972577
|
responseType: GetTelemetrySettingsResponse,
|
|
972156
972578
|
responseStream: false,
|
|
@@ -972159,7 +972581,7 @@ var EnvServiceDefinition = {
|
|
|
972159
972581
|
/** Returns events when the telemetry settings change. */
|
|
972160
972582
|
subscribeToTelemetrySettings: {
|
|
972161
972583
|
name: "subscribeToTelemetrySettings",
|
|
972162
|
-
requestType:
|
|
972584
|
+
requestType: EmptyRequest15,
|
|
972163
972585
|
requestStream: false,
|
|
972164
972586
|
responseType: TelemetrySettingsEvent,
|
|
972165
972587
|
responseStream: true,
|
|
@@ -972168,7 +972590,7 @@ var EnvServiceDefinition = {
|
|
|
972168
972590
|
/** Initiates a graceful shutdown of the host bridge service. */
|
|
972169
972591
|
shutdown: {
|
|
972170
972592
|
name: "shutdown",
|
|
972171
|
-
requestType:
|
|
972593
|
+
requestType: EmptyRequest15,
|
|
972172
972594
|
requestStream: false,
|
|
972173
972595
|
responseType: Empty2,
|
|
972174
972596
|
responseStream: false,
|
|
@@ -975713,7 +976135,7 @@ __export(index_cline_exports3, {
|
|
|
975713
976135
|
AutoApprovalSettingsRequest: () => AutoApprovalSettingsRequest2,
|
|
975714
976136
|
AutoApprovalSettingsRequest_Actions: () => AutoApprovalSettingsRequest_Actions2,
|
|
975715
976137
|
Boolean: () => Boolean4,
|
|
975716
|
-
BooleanRequest: () =>
|
|
976138
|
+
BooleanRequest: () => BooleanRequest5,
|
|
975717
976139
|
BooleanResponse: () => BooleanResponse3,
|
|
975718
976140
|
BrowserAction: () => BrowserAction3,
|
|
975719
976141
|
BrowserActionResult: () => BrowserActionResult3,
|
|
@@ -975735,18 +976157,18 @@ __export(index_cline_exports3, {
|
|
|
975735
976157
|
CheckpointsServiceDefinition: () => CheckpointsServiceDefinition2,
|
|
975736
976158
|
CheckpointsServiceService: () => CheckpointsServiceService,
|
|
975737
976159
|
ChromePath: () => ChromePath2,
|
|
975738
|
-
ClineApiReqCancelReason: () =>
|
|
975739
|
-
ClineApiReqInfo: () =>
|
|
975740
|
-
ClineAsk: () =>
|
|
976160
|
+
ClineApiReqCancelReason: () => ClineApiReqCancelReason3,
|
|
976161
|
+
ClineApiReqInfo: () => ClineApiReqInfo3,
|
|
976162
|
+
ClineAsk: () => ClineAsk3,
|
|
975741
976163
|
ClineAskNewTask: () => ClineAskNewTask2,
|
|
975742
976164
|
ClineAskQuestion: () => ClineAskQuestion2,
|
|
975743
976165
|
ClineAskUseMcpServer: () => ClineAskUseMcpServer2,
|
|
975744
|
-
ClineMessage: () =>
|
|
976166
|
+
ClineMessage: () => ClineMessage3,
|
|
975745
976167
|
ClineMessageType: () => ClineMessageType2,
|
|
975746
976168
|
ClinePlanModeResponse: () => ClinePlanModeResponse2,
|
|
975747
976169
|
ClineRulesToggles: () => ClineRulesToggles2,
|
|
975748
976170
|
ClineRulesToggles_TogglesEntry: () => ClineRulesToggles_TogglesEntry2,
|
|
975749
|
-
ClineSay: () =>
|
|
976171
|
+
ClineSay: () => ClineSay3,
|
|
975750
976172
|
ClineSayBrowserAction: () => ClineSayBrowserAction3,
|
|
975751
976173
|
ClineSayTool: () => ClineSayTool2,
|
|
975752
976174
|
ClineSayToolType: () => ClineSayToolType2,
|
|
@@ -975765,7 +976187,7 @@ __export(index_cline_exports3, {
|
|
|
975765
976187
|
DictationServiceService: () => DictationServiceService,
|
|
975766
976188
|
DictationSettings: () => DictationSettings3,
|
|
975767
976189
|
Empty: () => Empty3,
|
|
975768
|
-
EmptyRequest: () =>
|
|
976190
|
+
EmptyRequest: () => EmptyRequest16,
|
|
975769
976191
|
ExecuteQuickWinRequest: () => ExecuteQuickWinRequest2,
|
|
975770
976192
|
FileDiagnostics: () => FileDiagnostics5,
|
|
975771
976193
|
FileInfo: () => FileInfo2,
|
|
@@ -975895,6 +976317,7 @@ __export(index_cline_exports3, {
|
|
|
975895
976317
|
UpdateMcpTimeoutRequest: () => UpdateMcpTimeoutRequest3,
|
|
975896
976318
|
UpdateSettingsRequest: () => UpdateSettingsRequest3,
|
|
975897
976319
|
UpdateSettingsRequestCli: () => UpdateSettingsRequestCli3,
|
|
976320
|
+
UpdateTaskSettingsRequest: () => UpdateTaskSettingsRequest3,
|
|
975898
976321
|
UpdateTerminalConnectionTimeoutRequest: () => UpdateTerminalConnectionTimeoutRequest2,
|
|
975899
976322
|
UpdateTerminalConnectionTimeoutResponse: () => UpdateTerminalConnectionTimeoutResponse2,
|
|
975900
976323
|
UsageTransaction: () => UsageTransaction2,
|
|
@@ -976028,7 +976451,7 @@ var Metadata3 = {
|
|
|
976028
976451
|
function createBaseEmptyRequest3() {
|
|
976029
976452
|
return {};
|
|
976030
976453
|
}
|
|
976031
|
-
var
|
|
976454
|
+
var EmptyRequest16 = {
|
|
976032
976455
|
encode(_6, writer = new BinaryWriter()) {
|
|
976033
976456
|
return writer;
|
|
976034
976457
|
},
|
|
@@ -976055,7 +976478,7 @@ var EmptyRequest15 = {
|
|
|
976055
976478
|
return obj2;
|
|
976056
976479
|
},
|
|
976057
976480
|
create(base) {
|
|
976058
|
-
return
|
|
976481
|
+
return EmptyRequest16.fromPartial(base ?? {});
|
|
976059
976482
|
},
|
|
976060
976483
|
fromPartial(_6) {
|
|
976061
976484
|
const message = createBaseEmptyRequest3();
|
|
@@ -976459,7 +976882,7 @@ var Bytes2 = {
|
|
|
976459
976882
|
function createBaseBooleanRequest2() {
|
|
976460
976883
|
return { value: false };
|
|
976461
976884
|
}
|
|
976462
|
-
var
|
|
976885
|
+
var BooleanRequest5 = {
|
|
976463
976886
|
encode(message, writer = new BinaryWriter()) {
|
|
976464
976887
|
if (message.value !== false) {
|
|
976465
976888
|
writer.uint32(16).bool(message.value);
|
|
@@ -976499,7 +976922,7 @@ var BooleanRequest4 = {
|
|
|
976499
976922
|
return obj2;
|
|
976500
976923
|
},
|
|
976501
976924
|
create(base) {
|
|
976502
|
-
return
|
|
976925
|
+
return BooleanRequest5.fromPartial(base ?? {});
|
|
976503
976926
|
},
|
|
976504
976927
|
fromPartial(object2) {
|
|
976505
976928
|
const message = createBaseBooleanRequest2();
|
|
@@ -978411,7 +978834,7 @@ var AccountServiceDefinition2 = {
|
|
|
978411
978834
|
*/
|
|
978412
978835
|
accountLoginClicked: {
|
|
978413
978836
|
name: "accountLoginClicked",
|
|
978414
|
-
requestType:
|
|
978837
|
+
requestType: EmptyRequest16,
|
|
978415
978838
|
requestStream: false,
|
|
978416
978839
|
responseType: String4,
|
|
978417
978840
|
responseStream: false,
|
|
@@ -978423,7 +978846,7 @@ var AccountServiceDefinition2 = {
|
|
|
978423
978846
|
*/
|
|
978424
978847
|
accountLogoutClicked: {
|
|
978425
978848
|
name: "accountLogoutClicked",
|
|
978426
|
-
requestType:
|
|
978849
|
+
requestType: EmptyRequest16,
|
|
978427
978850
|
requestStream: false,
|
|
978428
978851
|
responseType: Empty3,
|
|
978429
978852
|
responseStream: false,
|
|
@@ -978432,7 +978855,7 @@ var AccountServiceDefinition2 = {
|
|
|
978432
978855
|
/** Subscribe to auth status update events (when authentication state changes) */
|
|
978433
978856
|
subscribeToAuthStatusUpdate: {
|
|
978434
978857
|
name: "subscribeToAuthStatusUpdate",
|
|
978435
|
-
requestType:
|
|
978858
|
+
requestType: EmptyRequest16,
|
|
978436
978859
|
requestStream: false,
|
|
978437
978860
|
responseType: AuthState2,
|
|
978438
978861
|
responseStream: true,
|
|
@@ -978456,7 +978879,7 @@ var AccountServiceDefinition2 = {
|
|
|
978456
978879
|
*/
|
|
978457
978880
|
getUserCredits: {
|
|
978458
978881
|
name: "getUserCredits",
|
|
978459
|
-
requestType:
|
|
978882
|
+
requestType: EmptyRequest16,
|
|
978460
978883
|
requestStream: false,
|
|
978461
978884
|
responseType: UserCreditsData2,
|
|
978462
978885
|
responseStream: false,
|
|
@@ -978476,7 +978899,7 @@ var AccountServiceDefinition2 = {
|
|
|
978476
978899
|
*/
|
|
978477
978900
|
getUserOrganizations: {
|
|
978478
978901
|
name: "getUserOrganizations",
|
|
978479
|
-
requestType:
|
|
978902
|
+
requestType: EmptyRequest16,
|
|
978480
978903
|
requestStream: false,
|
|
978481
978904
|
responseType: UserOrganizationsResponse2,
|
|
978482
978905
|
responseStream: false,
|
|
@@ -978492,7 +978915,7 @@ var AccountServiceDefinition2 = {
|
|
|
978492
978915
|
},
|
|
978493
978916
|
openrouterAuthClicked: {
|
|
978494
978917
|
name: "openrouterAuthClicked",
|
|
978495
|
-
requestType:
|
|
978918
|
+
requestType: EmptyRequest16,
|
|
978496
978919
|
requestStream: false,
|
|
978497
978920
|
responseType: Empty3,
|
|
978498
978921
|
responseStream: false,
|
|
@@ -978501,7 +978924,7 @@ var AccountServiceDefinition2 = {
|
|
|
978501
978924
|
/** Returns a link the webview can use to redirect back to the user's IDE. */
|
|
978502
978925
|
getRedirectUrl: {
|
|
978503
978926
|
name: "getRedirectUrl",
|
|
978504
|
-
requestType:
|
|
978927
|
+
requestType: EmptyRequest16,
|
|
978505
978928
|
requestStream: false,
|
|
978506
978929
|
responseType: String4,
|
|
978507
978930
|
responseStream: false,
|
|
@@ -978519,8 +978942,8 @@ var AccountServiceService = {
|
|
|
978519
978942
|
path: "/cline.AccountService/accountLoginClicked",
|
|
978520
978943
|
requestStream: false,
|
|
978521
978944
|
responseStream: false,
|
|
978522
|
-
requestSerialize: (value) => Buffer.from(
|
|
978523
|
-
requestDeserialize: (value) =>
|
|
978945
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
978946
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
978524
978947
|
responseSerialize: (value) => Buffer.from(String4.encode(value).finish()),
|
|
978525
978948
|
responseDeserialize: (value) => String4.decode(value)
|
|
978526
978949
|
},
|
|
@@ -978532,8 +978955,8 @@ var AccountServiceService = {
|
|
|
978532
978955
|
path: "/cline.AccountService/accountLogoutClicked",
|
|
978533
978956
|
requestStream: false,
|
|
978534
978957
|
responseStream: false,
|
|
978535
|
-
requestSerialize: (value) => Buffer.from(
|
|
978536
|
-
requestDeserialize: (value) =>
|
|
978958
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
978959
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
978537
978960
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
978538
978961
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
978539
978962
|
},
|
|
@@ -978542,8 +978965,8 @@ var AccountServiceService = {
|
|
|
978542
978965
|
path: "/cline.AccountService/subscribeToAuthStatusUpdate",
|
|
978543
978966
|
requestStream: false,
|
|
978544
978967
|
responseStream: true,
|
|
978545
|
-
requestSerialize: (value) => Buffer.from(
|
|
978546
|
-
requestDeserialize: (value) =>
|
|
978968
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
978969
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
978547
978970
|
responseSerialize: (value) => Buffer.from(AuthState2.encode(value).finish()),
|
|
978548
978971
|
responseDeserialize: (value) => AuthState2.decode(value)
|
|
978549
978972
|
},
|
|
@@ -978568,8 +978991,8 @@ var AccountServiceService = {
|
|
|
978568
978991
|
path: "/cline.AccountService/getUserCredits",
|
|
978569
978992
|
requestStream: false,
|
|
978570
978993
|
responseStream: false,
|
|
978571
|
-
requestSerialize: (value) => Buffer.from(
|
|
978572
|
-
requestDeserialize: (value) =>
|
|
978994
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
978995
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
978573
978996
|
responseSerialize: (value) => Buffer.from(UserCreditsData2.encode(value).finish()),
|
|
978574
978997
|
responseDeserialize: (value) => UserCreditsData2.decode(value)
|
|
978575
978998
|
},
|
|
@@ -978590,8 +979013,8 @@ var AccountServiceService = {
|
|
|
978590
979013
|
path: "/cline.AccountService/getUserOrganizations",
|
|
978591
979014
|
requestStream: false,
|
|
978592
979015
|
responseStream: false,
|
|
978593
|
-
requestSerialize: (value) => Buffer.from(
|
|
978594
|
-
requestDeserialize: (value) =>
|
|
979016
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
979017
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
978595
979018
|
responseSerialize: (value) => Buffer.from(UserOrganizationsResponse2.encode(value).finish()),
|
|
978596
979019
|
responseDeserialize: (value) => UserOrganizationsResponse2.decode(value)
|
|
978597
979020
|
},
|
|
@@ -978608,8 +979031,8 @@ var AccountServiceService = {
|
|
|
978608
979031
|
path: "/cline.AccountService/openrouterAuthClicked",
|
|
978609
979032
|
requestStream: false,
|
|
978610
979033
|
responseStream: false,
|
|
978611
|
-
requestSerialize: (value) => Buffer.from(
|
|
978612
|
-
requestDeserialize: (value) =>
|
|
979034
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
979035
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
978613
979036
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
978614
979037
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
978615
979038
|
},
|
|
@@ -978618,8 +979041,8 @@ var AccountServiceService = {
|
|
|
978618
979041
|
path: "/cline.AccountService/getRedirectUrl",
|
|
978619
979042
|
requestStream: false,
|
|
978620
979043
|
responseStream: false,
|
|
978621
|
-
requestSerialize: (value) => Buffer.from(
|
|
978622
|
-
requestDeserialize: (value) =>
|
|
979044
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
979045
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
978623
979046
|
responseSerialize: (value) => Buffer.from(String4.encode(value).finish()),
|
|
978624
979047
|
responseDeserialize: (value) => String4.decode(value)
|
|
978625
979048
|
}
|
|
@@ -979229,7 +979652,7 @@ var BrowserServiceDefinition2 = {
|
|
|
979229
979652
|
methods: {
|
|
979230
979653
|
getBrowserConnectionInfo: {
|
|
979231
979654
|
name: "getBrowserConnectionInfo",
|
|
979232
|
-
requestType:
|
|
979655
|
+
requestType: EmptyRequest16,
|
|
979233
979656
|
requestStream: false,
|
|
979234
979657
|
responseType: BrowserConnectionInfo2,
|
|
979235
979658
|
responseStream: false,
|
|
@@ -979245,7 +979668,7 @@ var BrowserServiceDefinition2 = {
|
|
|
979245
979668
|
},
|
|
979246
979669
|
discoverBrowser: {
|
|
979247
979670
|
name: "discoverBrowser",
|
|
979248
|
-
requestType:
|
|
979671
|
+
requestType: EmptyRequest16,
|
|
979249
979672
|
requestStream: false,
|
|
979250
979673
|
responseType: BrowserConnection2,
|
|
979251
979674
|
responseStream: false,
|
|
@@ -979253,7 +979676,7 @@ var BrowserServiceDefinition2 = {
|
|
|
979253
979676
|
},
|
|
979254
979677
|
getDetectedChromePath: {
|
|
979255
979678
|
name: "getDetectedChromePath",
|
|
979256
|
-
requestType:
|
|
979679
|
+
requestType: EmptyRequest16,
|
|
979257
979680
|
requestStream: false,
|
|
979258
979681
|
responseType: ChromePath2,
|
|
979259
979682
|
responseStream: false,
|
|
@@ -979261,7 +979684,7 @@ var BrowserServiceDefinition2 = {
|
|
|
979261
979684
|
},
|
|
979262
979685
|
relaunchChromeDebugMode: {
|
|
979263
979686
|
name: "relaunchChromeDebugMode",
|
|
979264
|
-
requestType:
|
|
979687
|
+
requestType: EmptyRequest16,
|
|
979265
979688
|
requestStream: false,
|
|
979266
979689
|
responseType: String4,
|
|
979267
979690
|
responseStream: false,
|
|
@@ -979274,8 +979697,8 @@ var BrowserServiceService = {
|
|
|
979274
979697
|
path: "/cline.BrowserService/getBrowserConnectionInfo",
|
|
979275
979698
|
requestStream: false,
|
|
979276
979699
|
responseStream: false,
|
|
979277
|
-
requestSerialize: (value) => Buffer.from(
|
|
979278
|
-
requestDeserialize: (value) =>
|
|
979700
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
979701
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
979279
979702
|
responseSerialize: (value) => Buffer.from(BrowserConnectionInfo2.encode(value).finish()),
|
|
979280
979703
|
responseDeserialize: (value) => BrowserConnectionInfo2.decode(value)
|
|
979281
979704
|
},
|
|
@@ -979292,8 +979715,8 @@ var BrowserServiceService = {
|
|
|
979292
979715
|
path: "/cline.BrowserService/discoverBrowser",
|
|
979293
979716
|
requestStream: false,
|
|
979294
979717
|
responseStream: false,
|
|
979295
|
-
requestSerialize: (value) => Buffer.from(
|
|
979296
|
-
requestDeserialize: (value) =>
|
|
979718
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
979719
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
979297
979720
|
responseSerialize: (value) => Buffer.from(BrowserConnection2.encode(value).finish()),
|
|
979298
979721
|
responseDeserialize: (value) => BrowserConnection2.decode(value)
|
|
979299
979722
|
},
|
|
@@ -979301,8 +979724,8 @@ var BrowserServiceService = {
|
|
|
979301
979724
|
path: "/cline.BrowserService/getDetectedChromePath",
|
|
979302
979725
|
requestStream: false,
|
|
979303
979726
|
responseStream: false,
|
|
979304
|
-
requestSerialize: (value) => Buffer.from(
|
|
979305
|
-
requestDeserialize: (value) =>
|
|
979727
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
979728
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
979306
979729
|
responseSerialize: (value) => Buffer.from(ChromePath2.encode(value).finish()),
|
|
979307
979730
|
responseDeserialize: (value) => ChromePath2.decode(value)
|
|
979308
979731
|
},
|
|
@@ -979310,8 +979733,8 @@ var BrowserServiceService = {
|
|
|
979310
979733
|
path: "/cline.BrowserService/relaunchChromeDebugMode",
|
|
979311
979734
|
requestStream: false,
|
|
979312
979735
|
responseStream: false,
|
|
979313
|
-
requestSerialize: (value) => Buffer.from(
|
|
979314
|
-
requestDeserialize: (value) =>
|
|
979736
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
979737
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
979315
979738
|
responseSerialize: (value) => Buffer.from(String4.encode(value).finish()),
|
|
979316
979739
|
responseDeserialize: (value) => String4.decode(value)
|
|
979317
979740
|
}
|
|
@@ -980545,7 +980968,7 @@ var DictationServiceDefinition2 = {
|
|
|
980545
980968
|
methods: {
|
|
980546
980969
|
startRecording: {
|
|
980547
980970
|
name: "startRecording",
|
|
980548
|
-
requestType:
|
|
980971
|
+
requestType: EmptyRequest16,
|
|
980549
980972
|
requestStream: false,
|
|
980550
980973
|
responseType: RecordingResult2,
|
|
980551
980974
|
responseStream: false,
|
|
@@ -980553,7 +980976,7 @@ var DictationServiceDefinition2 = {
|
|
|
980553
980976
|
},
|
|
980554
980977
|
stopRecording: {
|
|
980555
980978
|
name: "stopRecording",
|
|
980556
|
-
requestType:
|
|
980979
|
+
requestType: EmptyRequest16,
|
|
980557
980980
|
requestStream: false,
|
|
980558
980981
|
responseType: RecordedAudio2,
|
|
980559
980982
|
responseStream: false,
|
|
@@ -980561,7 +980984,7 @@ var DictationServiceDefinition2 = {
|
|
|
980561
980984
|
},
|
|
980562
980985
|
cancelRecording: {
|
|
980563
980986
|
name: "cancelRecording",
|
|
980564
|
-
requestType:
|
|
980987
|
+
requestType: EmptyRequest16,
|
|
980565
980988
|
requestStream: false,
|
|
980566
980989
|
responseType: RecordingResult2,
|
|
980567
980990
|
responseStream: false,
|
|
@@ -980569,7 +980992,7 @@ var DictationServiceDefinition2 = {
|
|
|
980569
980992
|
},
|
|
980570
980993
|
getRecordingStatus: {
|
|
980571
980994
|
name: "getRecordingStatus",
|
|
980572
|
-
requestType:
|
|
980995
|
+
requestType: EmptyRequest16,
|
|
980573
980996
|
requestStream: false,
|
|
980574
980997
|
responseType: RecordingStatus2,
|
|
980575
980998
|
responseStream: false,
|
|
@@ -980590,8 +981013,8 @@ var DictationServiceService = {
|
|
|
980590
981013
|
path: "/cline.DictationService/startRecording",
|
|
980591
981014
|
requestStream: false,
|
|
980592
981015
|
responseStream: false,
|
|
980593
|
-
requestSerialize: (value) => Buffer.from(
|
|
980594
|
-
requestDeserialize: (value) =>
|
|
981016
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
981017
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
980595
981018
|
responseSerialize: (value) => Buffer.from(RecordingResult2.encode(value).finish()),
|
|
980596
981019
|
responseDeserialize: (value) => RecordingResult2.decode(value)
|
|
980597
981020
|
},
|
|
@@ -980599,8 +981022,8 @@ var DictationServiceService = {
|
|
|
980599
981022
|
path: "/cline.DictationService/stopRecording",
|
|
980600
981023
|
requestStream: false,
|
|
980601
981024
|
responseStream: false,
|
|
980602
|
-
requestSerialize: (value) => Buffer.from(
|
|
980603
|
-
requestDeserialize: (value) =>
|
|
981025
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
981026
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
980604
981027
|
responseSerialize: (value) => Buffer.from(RecordedAudio2.encode(value).finish()),
|
|
980605
981028
|
responseDeserialize: (value) => RecordedAudio2.decode(value)
|
|
980606
981029
|
},
|
|
@@ -980608,8 +981031,8 @@ var DictationServiceService = {
|
|
|
980608
981031
|
path: "/cline.DictationService/cancelRecording",
|
|
980609
981032
|
requestStream: false,
|
|
980610
981033
|
responseStream: false,
|
|
980611
|
-
requestSerialize: (value) => Buffer.from(
|
|
980612
|
-
requestDeserialize: (value) =>
|
|
981034
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
981035
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
980613
981036
|
responseSerialize: (value) => Buffer.from(RecordingResult2.encode(value).finish()),
|
|
980614
981037
|
responseDeserialize: (value) => RecordingResult2.decode(value)
|
|
980615
981038
|
},
|
|
@@ -980617,8 +981040,8 @@ var DictationServiceService = {
|
|
|
980617
981040
|
path: "/cline.DictationService/getRecordingStatus",
|
|
980618
981041
|
requestStream: false,
|
|
980619
981042
|
responseStream: false,
|
|
980620
|
-
requestSerialize: (value) => Buffer.from(
|
|
980621
|
-
requestDeserialize: (value) =>
|
|
981043
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
981044
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
980622
981045
|
responseSerialize: (value) => Buffer.from(RecordingStatus2.encode(value).finish()),
|
|
980623
981046
|
responseDeserialize: (value) => RecordingStatus2.decode(value)
|
|
980624
981047
|
},
|
|
@@ -982229,7 +982652,7 @@ var FileServiceDefinition2 = {
|
|
|
982229
982652
|
/** Select images and other files from the file system and returns as data URLs & paths respectively */
|
|
982230
982653
|
selectFiles: {
|
|
982231
982654
|
name: "selectFiles",
|
|
982232
|
-
requestType:
|
|
982655
|
+
requestType: BooleanRequest5,
|
|
982233
982656
|
requestStream: false,
|
|
982234
982657
|
responseType: StringArrays3,
|
|
982235
982658
|
responseStream: false,
|
|
@@ -982283,7 +982706,7 @@ var FileServiceDefinition2 = {
|
|
|
982283
982706
|
/** Refreshes all rule toggles (Cline, External, and Workflows) */
|
|
982284
982707
|
refreshRules: {
|
|
982285
982708
|
name: "refreshRules",
|
|
982286
|
-
requestType:
|
|
982709
|
+
requestType: EmptyRequest16,
|
|
982287
982710
|
requestStream: false,
|
|
982288
982711
|
responseType: RefreshedRules2,
|
|
982289
982712
|
responseStream: false,
|
|
@@ -982412,8 +982835,8 @@ var FileServiceService = {
|
|
|
982412
982835
|
path: "/cline.FileService/selectFiles",
|
|
982413
982836
|
requestStream: false,
|
|
982414
982837
|
responseStream: false,
|
|
982415
|
-
requestSerialize: (value) => Buffer.from(
|
|
982416
|
-
requestDeserialize: (value) =>
|
|
982838
|
+
requestSerialize: (value) => Buffer.from(BooleanRequest5.encode(value).finish()),
|
|
982839
|
+
requestDeserialize: (value) => BooleanRequest5.decode(value),
|
|
982417
982840
|
responseSerialize: (value) => Buffer.from(StringArrays3.encode(value).finish()),
|
|
982418
982841
|
responseDeserialize: (value) => StringArrays3.decode(value)
|
|
982419
982842
|
},
|
|
@@ -982472,8 +982895,8 @@ var FileServiceService = {
|
|
|
982472
982895
|
path: "/cline.FileService/refreshRules",
|
|
982473
982896
|
requestStream: false,
|
|
982474
982897
|
responseStream: false,
|
|
982475
|
-
requestSerialize: (value) => Buffer.from(
|
|
982476
|
-
requestDeserialize: (value) =>
|
|
982898
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
982899
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
982477
982900
|
responseSerialize: (value) => Buffer.from(RefreshedRules2.encode(value).finish()),
|
|
982478
982901
|
responseDeserialize: (value) => RefreshedRules2.decode(value)
|
|
982479
982902
|
},
|
|
@@ -984704,7 +985127,7 @@ var McpServiceDefinition2 = {
|
|
|
984704
985127
|
},
|
|
984705
985128
|
refreshMcpMarketplace: {
|
|
984706
985129
|
name: "refreshMcpMarketplace",
|
|
984707
|
-
requestType:
|
|
985130
|
+
requestType: EmptyRequest16,
|
|
984708
985131
|
requestStream: false,
|
|
984709
985132
|
responseType: McpMarketplaceCatalog2,
|
|
984710
985133
|
responseStream: false,
|
|
@@ -984712,7 +985135,7 @@ var McpServiceDefinition2 = {
|
|
|
984712
985135
|
},
|
|
984713
985136
|
openMcpSettings: {
|
|
984714
985137
|
name: "openMcpSettings",
|
|
984715
|
-
requestType:
|
|
985138
|
+
requestType: EmptyRequest16,
|
|
984716
985139
|
requestStream: false,
|
|
984717
985140
|
responseType: Empty3,
|
|
984718
985141
|
responseStream: false,
|
|
@@ -984721,7 +985144,7 @@ var McpServiceDefinition2 = {
|
|
|
984721
985144
|
/** Subscribe to MCP marketplace catalog updates */
|
|
984722
985145
|
subscribeToMcpMarketplaceCatalog: {
|
|
984723
985146
|
name: "subscribeToMcpMarketplaceCatalog",
|
|
984724
|
-
requestType:
|
|
985147
|
+
requestType: EmptyRequest16,
|
|
984725
985148
|
requestStream: false,
|
|
984726
985149
|
responseType: McpMarketplaceCatalog2,
|
|
984727
985150
|
responseStream: true,
|
|
@@ -984738,7 +985161,7 @@ var McpServiceDefinition2 = {
|
|
|
984738
985161
|
/** Subscribe to MCP server updates */
|
|
984739
985162
|
subscribeToMcpServers: {
|
|
984740
985163
|
name: "subscribeToMcpServers",
|
|
984741
|
-
requestType:
|
|
985164
|
+
requestType: EmptyRequest16,
|
|
984742
985165
|
requestStream: false,
|
|
984743
985166
|
responseType: McpServers2,
|
|
984744
985167
|
responseStream: true,
|
|
@@ -984814,8 +985237,8 @@ var McpServiceService = {
|
|
|
984814
985237
|
path: "/cline.McpService/refreshMcpMarketplace",
|
|
984815
985238
|
requestStream: false,
|
|
984816
985239
|
responseStream: false,
|
|
984817
|
-
requestSerialize: (value) => Buffer.from(
|
|
984818
|
-
requestDeserialize: (value) =>
|
|
985240
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
985241
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
984819
985242
|
responseSerialize: (value) => Buffer.from(McpMarketplaceCatalog2.encode(value).finish()),
|
|
984820
985243
|
responseDeserialize: (value) => McpMarketplaceCatalog2.decode(value)
|
|
984821
985244
|
},
|
|
@@ -984823,8 +985246,8 @@ var McpServiceService = {
|
|
|
984823
985246
|
path: "/cline.McpService/openMcpSettings",
|
|
984824
985247
|
requestStream: false,
|
|
984825
985248
|
responseStream: false,
|
|
984826
|
-
requestSerialize: (value) => Buffer.from(
|
|
984827
|
-
requestDeserialize: (value) =>
|
|
985249
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
985250
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
984828
985251
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
984829
985252
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
984830
985253
|
},
|
|
@@ -984833,8 +985256,8 @@ var McpServiceService = {
|
|
|
984833
985256
|
path: "/cline.McpService/subscribeToMcpMarketplaceCatalog",
|
|
984834
985257
|
requestStream: false,
|
|
984835
985258
|
responseStream: true,
|
|
984836
|
-
requestSerialize: (value) => Buffer.from(
|
|
984837
|
-
requestDeserialize: (value) =>
|
|
985259
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
985260
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
984838
985261
|
responseSerialize: (value) => Buffer.from(McpMarketplaceCatalog2.encode(value).finish()),
|
|
984839
985262
|
responseDeserialize: (value) => McpMarketplaceCatalog2.decode(value)
|
|
984840
985263
|
},
|
|
@@ -984852,8 +985275,8 @@ var McpServiceService = {
|
|
|
984852
985275
|
path: "/cline.McpService/subscribeToMcpServers",
|
|
984853
985276
|
requestStream: false,
|
|
984854
985277
|
responseStream: true,
|
|
984855
|
-
requestSerialize: (value) => Buffer.from(
|
|
984856
|
-
requestDeserialize: (value) =>
|
|
985278
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
985279
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
984857
985280
|
responseSerialize: (value) => Buffer.from(McpServers2.encode(value).finish()),
|
|
984858
985281
|
responseDeserialize: (value) => McpServers2.decode(value)
|
|
984859
985282
|
}
|
|
@@ -989839,7 +990262,7 @@ var ModelsServiceDefinition2 = {
|
|
|
989839
990262
|
/** Fetches available models from VS Code LM API */
|
|
989840
990263
|
getVsCodeLmModels: {
|
|
989841
990264
|
name: "getVsCodeLmModels",
|
|
989842
|
-
requestType:
|
|
990265
|
+
requestType: EmptyRequest16,
|
|
989843
990266
|
requestStream: false,
|
|
989844
990267
|
responseType: VsCodeLmModelsArray2,
|
|
989845
990268
|
responseStream: false,
|
|
@@ -989848,7 +990271,7 @@ var ModelsServiceDefinition2 = {
|
|
|
989848
990271
|
/** Refreshes and returns OpenRouter models */
|
|
989849
990272
|
refreshOpenRouterModels: {
|
|
989850
990273
|
name: "refreshOpenRouterModels",
|
|
989851
|
-
requestType:
|
|
990274
|
+
requestType: EmptyRequest16,
|
|
989852
990275
|
requestStream: false,
|
|
989853
990276
|
responseType: OpenRouterCompatibleModelInfo2,
|
|
989854
990277
|
responseStream: false,
|
|
@@ -989857,7 +990280,7 @@ var ModelsServiceDefinition2 = {
|
|
|
989857
990280
|
/** Refreshes and returns Hugging Face models */
|
|
989858
990281
|
refreshHuggingFaceModels: {
|
|
989859
990282
|
name: "refreshHuggingFaceModels",
|
|
989860
|
-
requestType:
|
|
990283
|
+
requestType: EmptyRequest16,
|
|
989861
990284
|
requestStream: false,
|
|
989862
990285
|
responseType: OpenRouterCompatibleModelInfo2,
|
|
989863
990286
|
responseStream: false,
|
|
@@ -989875,7 +990298,7 @@ var ModelsServiceDefinition2 = {
|
|
|
989875
990298
|
/** Refreshes and returns Vercel AI Gateway models */
|
|
989876
990299
|
refreshVercelAiGatewayModels: {
|
|
989877
990300
|
name: "refreshVercelAiGatewayModels",
|
|
989878
|
-
requestType:
|
|
990301
|
+
requestType: EmptyRequest16,
|
|
989879
990302
|
requestStream: false,
|
|
989880
990303
|
responseType: OpenRouterCompatibleModelInfo2,
|
|
989881
990304
|
responseStream: false,
|
|
@@ -989884,7 +990307,7 @@ var ModelsServiceDefinition2 = {
|
|
|
989884
990307
|
/** Refreshes and returns Requesty models */
|
|
989885
990308
|
refreshRequestyModels: {
|
|
989886
990309
|
name: "refreshRequestyModels",
|
|
989887
|
-
requestType:
|
|
990310
|
+
requestType: EmptyRequest16,
|
|
989888
990311
|
requestStream: false,
|
|
989889
990312
|
responseType: OpenRouterCompatibleModelInfo2,
|
|
989890
990313
|
responseStream: false,
|
|
@@ -989893,7 +990316,7 @@ var ModelsServiceDefinition2 = {
|
|
|
989893
990316
|
/** Subscribe to OpenRouter models updates */
|
|
989894
990317
|
subscribeToOpenRouterModels: {
|
|
989895
990318
|
name: "subscribeToOpenRouterModels",
|
|
989896
|
-
requestType:
|
|
990319
|
+
requestType: EmptyRequest16,
|
|
989897
990320
|
requestStream: false,
|
|
989898
990321
|
responseType: OpenRouterCompatibleModelInfo2,
|
|
989899
990322
|
responseStream: true,
|
|
@@ -989920,7 +990343,7 @@ var ModelsServiceDefinition2 = {
|
|
|
989920
990343
|
/** Refreshes and returns Groq models */
|
|
989921
990344
|
refreshGroqModels: {
|
|
989922
990345
|
name: "refreshGroqModels",
|
|
989923
|
-
requestType:
|
|
990346
|
+
requestType: EmptyRequest16,
|
|
989924
990347
|
requestStream: false,
|
|
989925
990348
|
responseType: OpenRouterCompatibleModelInfo2,
|
|
989926
990349
|
responseStream: false,
|
|
@@ -989929,7 +990352,7 @@ var ModelsServiceDefinition2 = {
|
|
|
989929
990352
|
/** Refreshes and returns Baseten models */
|
|
989930
990353
|
refreshBasetenModels: {
|
|
989931
990354
|
name: "refreshBasetenModels",
|
|
989932
|
-
requestType:
|
|
990355
|
+
requestType: EmptyRequest16,
|
|
989933
990356
|
requestStream: false,
|
|
989934
990357
|
responseType: OpenRouterCompatibleModelInfo2,
|
|
989935
990358
|
responseStream: false,
|
|
@@ -989981,8 +990404,8 @@ var ModelsServiceService = {
|
|
|
989981
990404
|
path: "/cline.ModelsService/getVsCodeLmModels",
|
|
989982
990405
|
requestStream: false,
|
|
989983
990406
|
responseStream: false,
|
|
989984
|
-
requestSerialize: (value) => Buffer.from(
|
|
989985
|
-
requestDeserialize: (value) =>
|
|
990407
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
990408
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
989986
990409
|
responseSerialize: (value) => Buffer.from(VsCodeLmModelsArray2.encode(value).finish()),
|
|
989987
990410
|
responseDeserialize: (value) => VsCodeLmModelsArray2.decode(value)
|
|
989988
990411
|
},
|
|
@@ -989991,8 +990414,8 @@ var ModelsServiceService = {
|
|
|
989991
990414
|
path: "/cline.ModelsService/refreshOpenRouterModels",
|
|
989992
990415
|
requestStream: false,
|
|
989993
990416
|
responseStream: false,
|
|
989994
|
-
requestSerialize: (value) => Buffer.from(
|
|
989995
|
-
requestDeserialize: (value) =>
|
|
990417
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
990418
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
989996
990419
|
responseSerialize: (value) => Buffer.from(OpenRouterCompatibleModelInfo2.encode(value).finish()),
|
|
989997
990420
|
responseDeserialize: (value) => OpenRouterCompatibleModelInfo2.decode(value)
|
|
989998
990421
|
},
|
|
@@ -990001,8 +990424,8 @@ var ModelsServiceService = {
|
|
|
990001
990424
|
path: "/cline.ModelsService/refreshHuggingFaceModels",
|
|
990002
990425
|
requestStream: false,
|
|
990003
990426
|
responseStream: false,
|
|
990004
|
-
requestSerialize: (value) => Buffer.from(
|
|
990005
|
-
requestDeserialize: (value) =>
|
|
990427
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
990428
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
990006
990429
|
responseSerialize: (value) => Buffer.from(OpenRouterCompatibleModelInfo2.encode(value).finish()),
|
|
990007
990430
|
responseDeserialize: (value) => OpenRouterCompatibleModelInfo2.decode(value)
|
|
990008
990431
|
},
|
|
@@ -990021,8 +990444,8 @@ var ModelsServiceService = {
|
|
|
990021
990444
|
path: "/cline.ModelsService/refreshVercelAiGatewayModels",
|
|
990022
990445
|
requestStream: false,
|
|
990023
990446
|
responseStream: false,
|
|
990024
|
-
requestSerialize: (value) => Buffer.from(
|
|
990025
|
-
requestDeserialize: (value) =>
|
|
990447
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
990448
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
990026
990449
|
responseSerialize: (value) => Buffer.from(OpenRouterCompatibleModelInfo2.encode(value).finish()),
|
|
990027
990450
|
responseDeserialize: (value) => OpenRouterCompatibleModelInfo2.decode(value)
|
|
990028
990451
|
},
|
|
@@ -990031,8 +990454,8 @@ var ModelsServiceService = {
|
|
|
990031
990454
|
path: "/cline.ModelsService/refreshRequestyModels",
|
|
990032
990455
|
requestStream: false,
|
|
990033
990456
|
responseStream: false,
|
|
990034
|
-
requestSerialize: (value) => Buffer.from(
|
|
990035
|
-
requestDeserialize: (value) =>
|
|
990457
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
990458
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
990036
990459
|
responseSerialize: (value) => Buffer.from(OpenRouterCompatibleModelInfo2.encode(value).finish()),
|
|
990037
990460
|
responseDeserialize: (value) => OpenRouterCompatibleModelInfo2.decode(value)
|
|
990038
990461
|
},
|
|
@@ -990041,8 +990464,8 @@ var ModelsServiceService = {
|
|
|
990041
990464
|
path: "/cline.ModelsService/subscribeToOpenRouterModels",
|
|
990042
990465
|
requestStream: false,
|
|
990043
990466
|
responseStream: true,
|
|
990044
|
-
requestSerialize: (value) => Buffer.from(
|
|
990045
|
-
requestDeserialize: (value) =>
|
|
990467
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
990468
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
990046
990469
|
responseSerialize: (value) => Buffer.from(OpenRouterCompatibleModelInfo2.encode(value).finish()),
|
|
990047
990470
|
responseDeserialize: (value) => OpenRouterCompatibleModelInfo2.decode(value)
|
|
990048
990471
|
},
|
|
@@ -990071,8 +990494,8 @@ var ModelsServiceService = {
|
|
|
990071
990494
|
path: "/cline.ModelsService/refreshGroqModels",
|
|
990072
990495
|
requestStream: false,
|
|
990073
990496
|
responseStream: false,
|
|
990074
|
-
requestSerialize: (value) => Buffer.from(
|
|
990075
|
-
requestDeserialize: (value) =>
|
|
990497
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
990498
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
990076
990499
|
responseSerialize: (value) => Buffer.from(OpenRouterCompatibleModelInfo2.encode(value).finish()),
|
|
990077
990500
|
responseDeserialize: (value) => OpenRouterCompatibleModelInfo2.decode(value)
|
|
990078
990501
|
},
|
|
@@ -990081,8 +990504,8 @@ var ModelsServiceService = {
|
|
|
990081
990504
|
path: "/cline.ModelsService/refreshBasetenModels",
|
|
990082
990505
|
requestStream: false,
|
|
990083
990506
|
responseStream: false,
|
|
990084
|
-
requestSerialize: (value) => Buffer.from(
|
|
990085
|
-
requestDeserialize: (value) =>
|
|
990507
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
990508
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
990086
990509
|
responseSerialize: (value) => Buffer.from(OpenRouterCompatibleModelInfo2.encode(value).finish()),
|
|
990087
990510
|
responseDeserialize: (value) => OpenRouterCompatibleModelInfo2.decode(value)
|
|
990088
990511
|
},
|
|
@@ -990293,7 +990716,7 @@ var OcaAccountServiceDefinition2 = {
|
|
|
990293
990716
|
*/
|
|
990294
990717
|
ocaAccountLoginClicked: {
|
|
990295
990718
|
name: "ocaAccountLoginClicked",
|
|
990296
|
-
requestType:
|
|
990719
|
+
requestType: EmptyRequest16,
|
|
990297
990720
|
requestStream: false,
|
|
990298
990721
|
responseType: String4,
|
|
990299
990722
|
responseStream: false,
|
|
@@ -990305,7 +990728,7 @@ var OcaAccountServiceDefinition2 = {
|
|
|
990305
990728
|
*/
|
|
990306
990729
|
ocaAccountLogoutClicked: {
|
|
990307
990730
|
name: "ocaAccountLogoutClicked",
|
|
990308
|
-
requestType:
|
|
990731
|
+
requestType: EmptyRequest16,
|
|
990309
990732
|
requestStream: false,
|
|
990310
990733
|
responseType: Empty3,
|
|
990311
990734
|
responseStream: false,
|
|
@@ -990314,7 +990737,7 @@ var OcaAccountServiceDefinition2 = {
|
|
|
990314
990737
|
/** Subscribe to auth status update events (when authentication state changes) */
|
|
990315
990738
|
ocaSubscribeToAuthStatusUpdate: {
|
|
990316
990739
|
name: "ocaSubscribeToAuthStatusUpdate",
|
|
990317
|
-
requestType:
|
|
990740
|
+
requestType: EmptyRequest16,
|
|
990318
990741
|
requestStream: false,
|
|
990319
990742
|
responseType: OcaAuthState2,
|
|
990320
990743
|
responseStream: true,
|
|
@@ -990332,8 +990755,8 @@ var OcaAccountServiceService = {
|
|
|
990332
990755
|
path: "/cline.OcaAccountService/ocaAccountLoginClicked",
|
|
990333
990756
|
requestStream: false,
|
|
990334
990757
|
responseStream: false,
|
|
990335
|
-
requestSerialize: (value) => Buffer.from(
|
|
990336
|
-
requestDeserialize: (value) =>
|
|
990758
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
990759
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
990337
990760
|
responseSerialize: (value) => Buffer.from(String4.encode(value).finish()),
|
|
990338
990761
|
responseDeserialize: (value) => String4.decode(value)
|
|
990339
990762
|
},
|
|
@@ -990345,8 +990768,8 @@ var OcaAccountServiceService = {
|
|
|
990345
990768
|
path: "/cline.OcaAccountService/ocaAccountLogoutClicked",
|
|
990346
990769
|
requestStream: false,
|
|
990347
990770
|
responseStream: false,
|
|
990348
|
-
requestSerialize: (value) => Buffer.from(
|
|
990349
|
-
requestDeserialize: (value) =>
|
|
990771
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
990772
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
990350
990773
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
990351
990774
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
990352
990775
|
},
|
|
@@ -990355,8 +990778,8 @@ var OcaAccountServiceService = {
|
|
|
990355
990778
|
path: "/cline.OcaAccountService/ocaSubscribeToAuthStatusUpdate",
|
|
990356
990779
|
requestStream: false,
|
|
990357
990780
|
responseStream: true,
|
|
990358
|
-
requestSerialize: (value) => Buffer.from(
|
|
990359
|
-
requestDeserialize: (value) =>
|
|
990781
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
990782
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
990360
990783
|
responseSerialize: (value) => Buffer.from(OcaAuthState2.encode(value).finish()),
|
|
990361
990784
|
responseDeserialize: (value) => OcaAuthState2.decode(value)
|
|
990362
990785
|
}
|
|
@@ -994646,6 +995069,74 @@ var UpdateSettingsRequestCli3 = {
|
|
|
994646
995069
|
return message;
|
|
994647
995070
|
}
|
|
994648
995071
|
};
|
|
995072
|
+
function createBaseUpdateTaskSettingsRequest2() {
|
|
995073
|
+
return { metadata: void 0, settings: void 0 };
|
|
995074
|
+
}
|
|
995075
|
+
var UpdateTaskSettingsRequest3 = {
|
|
995076
|
+
encode(message, writer = new BinaryWriter()) {
|
|
995077
|
+
if (message.metadata !== void 0) {
|
|
995078
|
+
Metadata3.encode(message.metadata, writer.uint32(10).fork()).join();
|
|
995079
|
+
}
|
|
995080
|
+
if (message.settings !== void 0) {
|
|
995081
|
+
Settings3.encode(message.settings, writer.uint32(18).fork()).join();
|
|
995082
|
+
}
|
|
995083
|
+
return writer;
|
|
995084
|
+
},
|
|
995085
|
+
decode(input, length) {
|
|
995086
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
995087
|
+
let end2 = length === void 0 ? reader.len : reader.pos + length;
|
|
995088
|
+
const message = createBaseUpdateTaskSettingsRequest2();
|
|
995089
|
+
while (reader.pos < end2) {
|
|
995090
|
+
const tag = reader.uint32();
|
|
995091
|
+
switch (tag >>> 3) {
|
|
995092
|
+
case 1: {
|
|
995093
|
+
if (tag !== 10) {
|
|
995094
|
+
break;
|
|
995095
|
+
}
|
|
995096
|
+
message.metadata = Metadata3.decode(reader, reader.uint32());
|
|
995097
|
+
continue;
|
|
995098
|
+
}
|
|
995099
|
+
case 2: {
|
|
995100
|
+
if (tag !== 18) {
|
|
995101
|
+
break;
|
|
995102
|
+
}
|
|
995103
|
+
message.settings = Settings3.decode(reader, reader.uint32());
|
|
995104
|
+
continue;
|
|
995105
|
+
}
|
|
995106
|
+
}
|
|
995107
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
995108
|
+
break;
|
|
995109
|
+
}
|
|
995110
|
+
reader.skip(tag & 7);
|
|
995111
|
+
}
|
|
995112
|
+
return message;
|
|
995113
|
+
},
|
|
995114
|
+
fromJSON(object2) {
|
|
995115
|
+
return {
|
|
995116
|
+
metadata: isSet37(object2.metadata) ? Metadata3.fromJSON(object2.metadata) : void 0,
|
|
995117
|
+
settings: isSet37(object2.settings) ? Settings3.fromJSON(object2.settings) : void 0
|
|
995118
|
+
};
|
|
995119
|
+
},
|
|
995120
|
+
toJSON(message) {
|
|
995121
|
+
const obj2 = {};
|
|
995122
|
+
if (message.metadata !== void 0) {
|
|
995123
|
+
obj2.metadata = Metadata3.toJSON(message.metadata);
|
|
995124
|
+
}
|
|
995125
|
+
if (message.settings !== void 0) {
|
|
995126
|
+
obj2.settings = Settings3.toJSON(message.settings);
|
|
995127
|
+
}
|
|
995128
|
+
return obj2;
|
|
995129
|
+
},
|
|
995130
|
+
create(base) {
|
|
995131
|
+
return UpdateTaskSettingsRequest3.fromPartial(base ?? {});
|
|
995132
|
+
},
|
|
995133
|
+
fromPartial(object2) {
|
|
995134
|
+
const message = createBaseUpdateTaskSettingsRequest2();
|
|
995135
|
+
message.metadata = object2.metadata !== void 0 && object2.metadata !== null ? Metadata3.fromPartial(object2.metadata) : void 0;
|
|
995136
|
+
message.settings = object2.settings !== void 0 && object2.settings !== null ? Settings3.fromPartial(object2.settings) : void 0;
|
|
995137
|
+
return message;
|
|
995138
|
+
}
|
|
995139
|
+
};
|
|
994649
995140
|
function createBaseUpdateSettingsRequest2() {
|
|
994650
995141
|
return {
|
|
994651
995142
|
metadata: void 0,
|
|
@@ -994672,7 +995163,8 @@ function createBaseUpdateSettingsRequest2() {
|
|
|
994672
995163
|
dictationSettings: void 0,
|
|
994673
995164
|
autoCondenseThreshold: void 0,
|
|
994674
995165
|
multiRootEnabled: void 0,
|
|
994675
|
-
hooksEnabled: void 0
|
|
995166
|
+
hooksEnabled: void 0,
|
|
995167
|
+
vscodeTerminalExecutionMode: void 0
|
|
994676
995168
|
};
|
|
994677
995169
|
}
|
|
994678
995170
|
var UpdateSettingsRequest3 = {
|
|
@@ -994752,6 +995244,9 @@ var UpdateSettingsRequest3 = {
|
|
|
994752
995244
|
if (message.hooksEnabled !== void 0) {
|
|
994753
995245
|
writer.uint32(208).bool(message.hooksEnabled);
|
|
994754
995246
|
}
|
|
995247
|
+
if (message.vscodeTerminalExecutionMode !== void 0) {
|
|
995248
|
+
writer.uint32(218).string(message.vscodeTerminalExecutionMode);
|
|
995249
|
+
}
|
|
994755
995250
|
return writer;
|
|
994756
995251
|
},
|
|
994757
995252
|
decode(input, length) {
|
|
@@ -994936,6 +995431,13 @@ var UpdateSettingsRequest3 = {
|
|
|
994936
995431
|
message.hooksEnabled = reader.bool();
|
|
994937
995432
|
continue;
|
|
994938
995433
|
}
|
|
995434
|
+
case 27: {
|
|
995435
|
+
if (tag !== 218) {
|
|
995436
|
+
break;
|
|
995437
|
+
}
|
|
995438
|
+
message.vscodeTerminalExecutionMode = reader.string();
|
|
995439
|
+
continue;
|
|
995440
|
+
}
|
|
994939
995441
|
}
|
|
994940
995442
|
if ((tag & 7) === 4 || tag === 0) {
|
|
994941
995443
|
break;
|
|
@@ -994970,7 +995472,8 @@ var UpdateSettingsRequest3 = {
|
|
|
994970
995472
|
dictationSettings: isSet37(object2.dictationSettings) ? DictationSettings3.fromJSON(object2.dictationSettings) : void 0,
|
|
994971
995473
|
autoCondenseThreshold: isSet37(object2.autoCondenseThreshold) ? globalThis.Number(object2.autoCondenseThreshold) : void 0,
|
|
994972
995474
|
multiRootEnabled: isSet37(object2.multiRootEnabled) ? globalThis.Boolean(object2.multiRootEnabled) : void 0,
|
|
994973
|
-
hooksEnabled: isSet37(object2.hooksEnabled) ? globalThis.Boolean(object2.hooksEnabled) : void 0
|
|
995475
|
+
hooksEnabled: isSet37(object2.hooksEnabled) ? globalThis.Boolean(object2.hooksEnabled) : void 0,
|
|
995476
|
+
vscodeTerminalExecutionMode: isSet37(object2.vscodeTerminalExecutionMode) ? globalThis.String(object2.vscodeTerminalExecutionMode) : void 0
|
|
994974
995477
|
};
|
|
994975
995478
|
},
|
|
994976
995479
|
toJSON(message) {
|
|
@@ -995050,6 +995553,9 @@ var UpdateSettingsRequest3 = {
|
|
|
995050
995553
|
if (message.hooksEnabled !== void 0) {
|
|
995051
995554
|
obj2.hooksEnabled = message.hooksEnabled;
|
|
995052
995555
|
}
|
|
995556
|
+
if (message.vscodeTerminalExecutionMode !== void 0) {
|
|
995557
|
+
obj2.vscodeTerminalExecutionMode = message.vscodeTerminalExecutionMode;
|
|
995558
|
+
}
|
|
995053
995559
|
return obj2;
|
|
995054
995560
|
},
|
|
995055
995561
|
create(base) {
|
|
@@ -995082,6 +995588,7 @@ var UpdateSettingsRequest3 = {
|
|
|
995082
995588
|
message.autoCondenseThreshold = object2.autoCondenseThreshold ?? void 0;
|
|
995083
995589
|
message.multiRootEnabled = object2.multiRootEnabled ?? void 0;
|
|
995084
995590
|
message.hooksEnabled = object2.hooksEnabled ?? void 0;
|
|
995591
|
+
message.vscodeTerminalExecutionMode = object2.vscodeTerminalExecutionMode ?? void 0;
|
|
995085
995592
|
return message;
|
|
995086
995593
|
}
|
|
995087
995594
|
};
|
|
@@ -997471,7 +997978,7 @@ var StateServiceDefinition2 = {
|
|
|
997471
997978
|
methods: {
|
|
997472
997979
|
getLatestState: {
|
|
997473
997980
|
name: "getLatestState",
|
|
997474
|
-
requestType:
|
|
997981
|
+
requestType: EmptyRequest16,
|
|
997475
997982
|
requestStream: false,
|
|
997476
997983
|
responseType: State5,
|
|
997477
997984
|
responseStream: false,
|
|
@@ -997487,7 +997994,7 @@ var StateServiceDefinition2 = {
|
|
|
997487
997994
|
},
|
|
997488
997995
|
updateTerminalReuseEnabled: {
|
|
997489
997996
|
name: "updateTerminalReuseEnabled",
|
|
997490
|
-
requestType:
|
|
997997
|
+
requestType: BooleanRequest5,
|
|
997491
997998
|
requestStream: false,
|
|
997492
997999
|
responseType: Empty3,
|
|
997493
998000
|
responseStream: false,
|
|
@@ -997495,7 +998002,7 @@ var StateServiceDefinition2 = {
|
|
|
997495
998002
|
},
|
|
997496
998003
|
getAvailableTerminalProfiles: {
|
|
997497
998004
|
name: "getAvailableTerminalProfiles",
|
|
997498
|
-
requestType:
|
|
998005
|
+
requestType: EmptyRequest16,
|
|
997499
998006
|
requestStream: false,
|
|
997500
998007
|
responseType: TerminalProfiles2,
|
|
997501
998008
|
responseStream: false,
|
|
@@ -997503,7 +998010,7 @@ var StateServiceDefinition2 = {
|
|
|
997503
998010
|
},
|
|
997504
998011
|
subscribeToState: {
|
|
997505
998012
|
name: "subscribeToState",
|
|
997506
|
-
requestType:
|
|
998013
|
+
requestType: EmptyRequest16,
|
|
997507
998014
|
requestStream: false,
|
|
997508
998015
|
responseType: State5,
|
|
997509
998016
|
responseStream: true,
|
|
@@ -997557,6 +998064,14 @@ var StateServiceDefinition2 = {
|
|
|
997557
998064
|
responseStream: false,
|
|
997558
998065
|
options: {}
|
|
997559
998066
|
},
|
|
998067
|
+
updateTaskSettings: {
|
|
998068
|
+
name: "updateTaskSettings",
|
|
998069
|
+
requestType: UpdateTaskSettingsRequest3,
|
|
998070
|
+
requestStream: false,
|
|
998071
|
+
responseType: Empty3,
|
|
998072
|
+
responseStream: false,
|
|
998073
|
+
options: {}
|
|
998074
|
+
},
|
|
997560
998075
|
updateTelemetrySetting: {
|
|
997561
998076
|
name: "updateTelemetrySetting",
|
|
997562
998077
|
requestType: TelemetrySettingRequest2,
|
|
@@ -997567,7 +998082,7 @@ var StateServiceDefinition2 = {
|
|
|
997567
998082
|
},
|
|
997568
998083
|
setWelcomeViewCompleted: {
|
|
997569
998084
|
name: "setWelcomeViewCompleted",
|
|
997570
|
-
requestType:
|
|
998085
|
+
requestType: BooleanRequest5,
|
|
997571
998086
|
requestStream: false,
|
|
997572
998087
|
responseType: Empty3,
|
|
997573
998088
|
responseStream: false,
|
|
@@ -997591,7 +998106,7 @@ var StateServiceDefinition2 = {
|
|
|
997591
998106
|
},
|
|
997592
998107
|
getProcessInfo: {
|
|
997593
998108
|
name: "getProcessInfo",
|
|
997594
|
-
requestType:
|
|
998109
|
+
requestType: EmptyRequest16,
|
|
997595
998110
|
requestStream: false,
|
|
997596
998111
|
responseType: ProcessInfo2,
|
|
997597
998112
|
responseStream: false,
|
|
@@ -997604,8 +998119,8 @@ var StateServiceService = {
|
|
|
997604
998119
|
path: "/cline.StateService/getLatestState",
|
|
997605
998120
|
requestStream: false,
|
|
997606
998121
|
responseStream: false,
|
|
997607
|
-
requestSerialize: (value) => Buffer.from(
|
|
997608
|
-
requestDeserialize: (value) =>
|
|
998122
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
998123
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
997609
998124
|
responseSerialize: (value) => Buffer.from(State5.encode(value).finish()),
|
|
997610
998125
|
responseDeserialize: (value) => State5.decode(value)
|
|
997611
998126
|
},
|
|
@@ -997622,8 +998137,8 @@ var StateServiceService = {
|
|
|
997622
998137
|
path: "/cline.StateService/updateTerminalReuseEnabled",
|
|
997623
998138
|
requestStream: false,
|
|
997624
998139
|
responseStream: false,
|
|
997625
|
-
requestSerialize: (value) => Buffer.from(
|
|
997626
|
-
requestDeserialize: (value) =>
|
|
998140
|
+
requestSerialize: (value) => Buffer.from(BooleanRequest5.encode(value).finish()),
|
|
998141
|
+
requestDeserialize: (value) => BooleanRequest5.decode(value),
|
|
997627
998142
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
997628
998143
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
997629
998144
|
},
|
|
@@ -997631,8 +998146,8 @@ var StateServiceService = {
|
|
|
997631
998146
|
path: "/cline.StateService/getAvailableTerminalProfiles",
|
|
997632
998147
|
requestStream: false,
|
|
997633
998148
|
responseStream: false,
|
|
997634
|
-
requestSerialize: (value) => Buffer.from(
|
|
997635
|
-
requestDeserialize: (value) =>
|
|
998149
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
998150
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
997636
998151
|
responseSerialize: (value) => Buffer.from(TerminalProfiles2.encode(value).finish()),
|
|
997637
998152
|
responseDeserialize: (value) => TerminalProfiles2.decode(value)
|
|
997638
998153
|
},
|
|
@@ -997640,8 +998155,8 @@ var StateServiceService = {
|
|
|
997640
998155
|
path: "/cline.StateService/subscribeToState",
|
|
997641
998156
|
requestStream: false,
|
|
997642
998157
|
responseStream: true,
|
|
997643
|
-
requestSerialize: (value) => Buffer.from(
|
|
997644
|
-
requestDeserialize: (value) =>
|
|
998158
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
998159
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
997645
998160
|
responseSerialize: (value) => Buffer.from(State5.encode(value).finish()),
|
|
997646
998161
|
responseDeserialize: (value) => State5.decode(value)
|
|
997647
998162
|
},
|
|
@@ -997699,6 +998214,15 @@ var StateServiceService = {
|
|
|
997699
998214
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
997700
998215
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
997701
998216
|
},
|
|
998217
|
+
updateTaskSettings: {
|
|
998218
|
+
path: "/cline.StateService/updateTaskSettings",
|
|
998219
|
+
requestStream: false,
|
|
998220
|
+
responseStream: false,
|
|
998221
|
+
requestSerialize: (value) => Buffer.from(UpdateTaskSettingsRequest3.encode(value).finish()),
|
|
998222
|
+
requestDeserialize: (value) => UpdateTaskSettingsRequest3.decode(value),
|
|
998223
|
+
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
998224
|
+
responseDeserialize: (value) => Empty3.decode(value)
|
|
998225
|
+
},
|
|
997702
998226
|
updateTelemetrySetting: {
|
|
997703
998227
|
path: "/cline.StateService/updateTelemetrySetting",
|
|
997704
998228
|
requestStream: false,
|
|
@@ -997712,8 +998236,8 @@ var StateServiceService = {
|
|
|
997712
998236
|
path: "/cline.StateService/setWelcomeViewCompleted",
|
|
997713
998237
|
requestStream: false,
|
|
997714
998238
|
responseStream: false,
|
|
997715
|
-
requestSerialize: (value) => Buffer.from(
|
|
997716
|
-
requestDeserialize: (value) =>
|
|
998239
|
+
requestSerialize: (value) => Buffer.from(BooleanRequest5.encode(value).finish()),
|
|
998240
|
+
requestDeserialize: (value) => BooleanRequest5.decode(value),
|
|
997717
998241
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
997718
998242
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
997719
998243
|
},
|
|
@@ -997739,8 +998263,8 @@ var StateServiceService = {
|
|
|
997739
998263
|
path: "/cline.StateService/getProcessInfo",
|
|
997740
998264
|
requestStream: false,
|
|
997741
998265
|
responseStream: false,
|
|
997742
|
-
requestSerialize: (value) => Buffer.from(
|
|
997743
|
-
requestDeserialize: (value) =>
|
|
998266
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
998267
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
997744
998268
|
responseSerialize: (value) => Buffer.from(ProcessInfo2.encode(value).finish()),
|
|
997745
998269
|
responseDeserialize: (value) => ProcessInfo2.decode(value)
|
|
997746
998270
|
}
|
|
@@ -998798,7 +999322,16 @@ var TaskServiceDefinition2 = {
|
|
|
998798
999322
|
/** Cancels the currently running task */
|
|
998799
999323
|
cancelTask: {
|
|
998800
999324
|
name: "cancelTask",
|
|
998801
|
-
requestType:
|
|
999325
|
+
requestType: EmptyRequest16,
|
|
999326
|
+
requestStream: false,
|
|
999327
|
+
responseType: Empty3,
|
|
999328
|
+
responseStream: false,
|
|
999329
|
+
options: {}
|
|
999330
|
+
},
|
|
999331
|
+
/** Cancels the currently running background command */
|
|
999332
|
+
cancelBackgroundCommand: {
|
|
999333
|
+
name: "cancelBackgroundCommand",
|
|
999334
|
+
requestType: EmptyRequest16,
|
|
998802
999335
|
requestStream: false,
|
|
998803
999336
|
responseType: Empty3,
|
|
998804
999337
|
responseStream: false,
|
|
@@ -998807,7 +999340,7 @@ var TaskServiceDefinition2 = {
|
|
|
998807
999340
|
/** Clears the current task */
|
|
998808
999341
|
clearTask: {
|
|
998809
999342
|
name: "clearTask",
|
|
998810
|
-
requestType:
|
|
999343
|
+
requestType: EmptyRequest16,
|
|
998811
999344
|
requestStream: false,
|
|
998812
999345
|
responseType: Empty3,
|
|
998813
999346
|
responseStream: false,
|
|
@@ -998816,7 +999349,7 @@ var TaskServiceDefinition2 = {
|
|
|
998816
999349
|
/** Gets the total size of all tasks */
|
|
998817
999350
|
getTotalTasksSize: {
|
|
998818
999351
|
name: "getTotalTasksSize",
|
|
998819
|
-
requestType:
|
|
999352
|
+
requestType: EmptyRequest16,
|
|
998820
999353
|
requestStream: false,
|
|
998821
999354
|
responseType: Int643,
|
|
998822
999355
|
responseStream: false,
|
|
@@ -998915,7 +999448,7 @@ var TaskServiceDefinition2 = {
|
|
|
998915
999448
|
/** Deletes all task history */
|
|
998916
999449
|
deleteAllTaskHistory: {
|
|
998917
999450
|
name: "deleteAllTaskHistory",
|
|
998918
|
-
requestType:
|
|
999451
|
+
requestType: EmptyRequest16,
|
|
998919
999452
|
requestStream: false,
|
|
998920
999453
|
responseType: DeleteAllTaskHistoryCount2,
|
|
998921
999454
|
responseStream: false,
|
|
@@ -998929,8 +999462,18 @@ var TaskServiceService = {
|
|
|
998929
999462
|
path: "/cline.TaskService/cancelTask",
|
|
998930
999463
|
requestStream: false,
|
|
998931
999464
|
responseStream: false,
|
|
998932
|
-
requestSerialize: (value) => Buffer.from(
|
|
998933
|
-
requestDeserialize: (value) =>
|
|
999465
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
999466
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
999467
|
+
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
999468
|
+
responseDeserialize: (value) => Empty3.decode(value)
|
|
999469
|
+
},
|
|
999470
|
+
/** Cancels the currently running background command */
|
|
999471
|
+
cancelBackgroundCommand: {
|
|
999472
|
+
path: "/cline.TaskService/cancelBackgroundCommand",
|
|
999473
|
+
requestStream: false,
|
|
999474
|
+
responseStream: false,
|
|
999475
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
999476
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
998934
999477
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
998935
999478
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
998936
999479
|
},
|
|
@@ -998939,8 +999482,8 @@ var TaskServiceService = {
|
|
|
998939
999482
|
path: "/cline.TaskService/clearTask",
|
|
998940
999483
|
requestStream: false,
|
|
998941
999484
|
responseStream: false,
|
|
998942
|
-
requestSerialize: (value) => Buffer.from(
|
|
998943
|
-
requestDeserialize: (value) =>
|
|
999485
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
999486
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
998944
999487
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
998945
999488
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
998946
999489
|
},
|
|
@@ -998949,8 +999492,8 @@ var TaskServiceService = {
|
|
|
998949
999492
|
path: "/cline.TaskService/getTotalTasksSize",
|
|
998950
999493
|
requestStream: false,
|
|
998951
999494
|
responseStream: false,
|
|
998952
|
-
requestSerialize: (value) => Buffer.from(
|
|
998953
|
-
requestDeserialize: (value) =>
|
|
999495
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
999496
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
998954
999497
|
responseSerialize: (value) => Buffer.from(Int643.encode(value).finish()),
|
|
998955
999498
|
responseDeserialize: (value) => Int643.decode(value)
|
|
998956
999499
|
},
|
|
@@ -999059,8 +999602,8 @@ var TaskServiceService = {
|
|
|
999059
999602
|
path: "/cline.TaskService/deleteAllTaskHistory",
|
|
999060
999603
|
requestStream: false,
|
|
999061
999604
|
responseStream: false,
|
|
999062
|
-
requestSerialize: (value) => Buffer.from(
|
|
999063
|
-
requestDeserialize: (value) =>
|
|
999605
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
999606
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
999064
999607
|
responseSerialize: (value) => Buffer.from(DeleteAllTaskHistoryCount2.encode(value).finish()),
|
|
999065
999608
|
responseDeserialize: (value) => DeleteAllTaskHistoryCount2.decode(value)
|
|
999066
999609
|
}
|
|
@@ -999114,27 +999657,27 @@ function clineMessageTypeToJSON2(object2) {
|
|
|
999114
999657
|
return "UNRECOGNIZED";
|
|
999115
999658
|
}
|
|
999116
999659
|
}
|
|
999117
|
-
var
|
|
999118
|
-
|
|
999119
|
-
|
|
999120
|
-
|
|
999121
|
-
|
|
999122
|
-
|
|
999123
|
-
|
|
999124
|
-
|
|
999125
|
-
|
|
999126
|
-
|
|
999127
|
-
|
|
999128
|
-
|
|
999129
|
-
|
|
999130
|
-
|
|
999131
|
-
|
|
999132
|
-
|
|
999133
|
-
|
|
999134
|
-
|
|
999135
|
-
|
|
999136
|
-
return
|
|
999137
|
-
})(
|
|
999660
|
+
var ClineAsk3 = /* @__PURE__ */ ((ClineAsk4) => {
|
|
999661
|
+
ClineAsk4[ClineAsk4["FOLLOWUP"] = 0] = "FOLLOWUP";
|
|
999662
|
+
ClineAsk4[ClineAsk4["PLAN_MODE_RESPOND"] = 1] = "PLAN_MODE_RESPOND";
|
|
999663
|
+
ClineAsk4[ClineAsk4["COMMAND"] = 2] = "COMMAND";
|
|
999664
|
+
ClineAsk4[ClineAsk4["COMMAND_OUTPUT"] = 3] = "COMMAND_OUTPUT";
|
|
999665
|
+
ClineAsk4[ClineAsk4["COMPLETION_RESULT"] = 4] = "COMPLETION_RESULT";
|
|
999666
|
+
ClineAsk4[ClineAsk4["TOOL"] = 5] = "TOOL";
|
|
999667
|
+
ClineAsk4[ClineAsk4["API_REQ_FAILED"] = 6] = "API_REQ_FAILED";
|
|
999668
|
+
ClineAsk4[ClineAsk4["RESUME_TASK"] = 7] = "RESUME_TASK";
|
|
999669
|
+
ClineAsk4[ClineAsk4["RESUME_COMPLETED_TASK"] = 8] = "RESUME_COMPLETED_TASK";
|
|
999670
|
+
ClineAsk4[ClineAsk4["MISTAKE_LIMIT_REACHED"] = 9] = "MISTAKE_LIMIT_REACHED";
|
|
999671
|
+
ClineAsk4[ClineAsk4["AUTO_APPROVAL_MAX_REQ_REACHED"] = 10] = "AUTO_APPROVAL_MAX_REQ_REACHED";
|
|
999672
|
+
ClineAsk4[ClineAsk4["BROWSER_ACTION_LAUNCH"] = 11] = "BROWSER_ACTION_LAUNCH";
|
|
999673
|
+
ClineAsk4[ClineAsk4["USE_MCP_SERVER"] = 12] = "USE_MCP_SERVER";
|
|
999674
|
+
ClineAsk4[ClineAsk4["NEW_TASK"] = 13] = "NEW_TASK";
|
|
999675
|
+
ClineAsk4[ClineAsk4["CONDENSE"] = 14] = "CONDENSE";
|
|
999676
|
+
ClineAsk4[ClineAsk4["REPORT_BUG"] = 15] = "REPORT_BUG";
|
|
999677
|
+
ClineAsk4[ClineAsk4["SUMMARIZE_TASK"] = 16] = "SUMMARIZE_TASK";
|
|
999678
|
+
ClineAsk4[ClineAsk4["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
999679
|
+
return ClineAsk4;
|
|
999680
|
+
})(ClineAsk3 || {});
|
|
999138
999681
|
function clineAskFromJSON2(object2) {
|
|
999139
999682
|
switch (object2) {
|
|
999140
999683
|
case 0:
|
|
@@ -999235,39 +999778,39 @@ function clineAskToJSON2(object2) {
|
|
|
999235
999778
|
return "UNRECOGNIZED";
|
|
999236
999779
|
}
|
|
999237
999780
|
}
|
|
999238
|
-
var
|
|
999239
|
-
|
|
999240
|
-
|
|
999241
|
-
|
|
999242
|
-
|
|
999243
|
-
|
|
999244
|
-
|
|
999245
|
-
|
|
999246
|
-
|
|
999247
|
-
|
|
999248
|
-
|
|
999249
|
-
|
|
999250
|
-
|
|
999251
|
-
|
|
999252
|
-
|
|
999253
|
-
|
|
999254
|
-
|
|
999255
|
-
|
|
999256
|
-
|
|
999257
|
-
|
|
999258
|
-
|
|
999259
|
-
|
|
999260
|
-
|
|
999261
|
-
|
|
999262
|
-
|
|
999263
|
-
|
|
999264
|
-
|
|
999265
|
-
|
|
999266
|
-
|
|
999267
|
-
|
|
999268
|
-
|
|
999269
|
-
return
|
|
999270
|
-
})(
|
|
999781
|
+
var ClineSay3 = /* @__PURE__ */ ((ClineSay4) => {
|
|
999782
|
+
ClineSay4[ClineSay4["TASK"] = 0] = "TASK";
|
|
999783
|
+
ClineSay4[ClineSay4["ERROR"] = 1] = "ERROR";
|
|
999784
|
+
ClineSay4[ClineSay4["API_REQ_STARTED"] = 2] = "API_REQ_STARTED";
|
|
999785
|
+
ClineSay4[ClineSay4["API_REQ_FINISHED"] = 3] = "API_REQ_FINISHED";
|
|
999786
|
+
ClineSay4[ClineSay4["TEXT"] = 4] = "TEXT";
|
|
999787
|
+
ClineSay4[ClineSay4["REASONING"] = 5] = "REASONING";
|
|
999788
|
+
ClineSay4[ClineSay4["COMPLETION_RESULT_SAY"] = 6] = "COMPLETION_RESULT_SAY";
|
|
999789
|
+
ClineSay4[ClineSay4["USER_FEEDBACK"] = 7] = "USER_FEEDBACK";
|
|
999790
|
+
ClineSay4[ClineSay4["USER_FEEDBACK_DIFF"] = 8] = "USER_FEEDBACK_DIFF";
|
|
999791
|
+
ClineSay4[ClineSay4["API_REQ_RETRIED"] = 9] = "API_REQ_RETRIED";
|
|
999792
|
+
ClineSay4[ClineSay4["COMMAND_SAY"] = 10] = "COMMAND_SAY";
|
|
999793
|
+
ClineSay4[ClineSay4["COMMAND_OUTPUT_SAY"] = 11] = "COMMAND_OUTPUT_SAY";
|
|
999794
|
+
ClineSay4[ClineSay4["TOOL_SAY"] = 12] = "TOOL_SAY";
|
|
999795
|
+
ClineSay4[ClineSay4["SHELL_INTEGRATION_WARNING"] = 13] = "SHELL_INTEGRATION_WARNING";
|
|
999796
|
+
ClineSay4[ClineSay4["BROWSER_ACTION_LAUNCH_SAY"] = 14] = "BROWSER_ACTION_LAUNCH_SAY";
|
|
999797
|
+
ClineSay4[ClineSay4["BROWSER_ACTION"] = 15] = "BROWSER_ACTION";
|
|
999798
|
+
ClineSay4[ClineSay4["BROWSER_ACTION_RESULT"] = 16] = "BROWSER_ACTION_RESULT";
|
|
999799
|
+
ClineSay4[ClineSay4["MCP_SERVER_REQUEST_STARTED"] = 17] = "MCP_SERVER_REQUEST_STARTED";
|
|
999800
|
+
ClineSay4[ClineSay4["MCP_SERVER_RESPONSE"] = 18] = "MCP_SERVER_RESPONSE";
|
|
999801
|
+
ClineSay4[ClineSay4["MCP_NOTIFICATION"] = 19] = "MCP_NOTIFICATION";
|
|
999802
|
+
ClineSay4[ClineSay4["USE_MCP_SERVER_SAY"] = 20] = "USE_MCP_SERVER_SAY";
|
|
999803
|
+
ClineSay4[ClineSay4["DIFF_ERROR"] = 21] = "DIFF_ERROR";
|
|
999804
|
+
ClineSay4[ClineSay4["DELETED_API_REQS"] = 22] = "DELETED_API_REQS";
|
|
999805
|
+
ClineSay4[ClineSay4["CLINEIGNORE_ERROR"] = 23] = "CLINEIGNORE_ERROR";
|
|
999806
|
+
ClineSay4[ClineSay4["CHECKPOINT_CREATED"] = 24] = "CHECKPOINT_CREATED";
|
|
999807
|
+
ClineSay4[ClineSay4["LOAD_MCP_DOCUMENTATION"] = 25] = "LOAD_MCP_DOCUMENTATION";
|
|
999808
|
+
ClineSay4[ClineSay4["INFO"] = 26] = "INFO";
|
|
999809
|
+
ClineSay4[ClineSay4["TASK_PROGRESS"] = 27] = "TASK_PROGRESS";
|
|
999810
|
+
ClineSay4[ClineSay4["ERROR_RETRY"] = 28] = "ERROR_RETRY";
|
|
999811
|
+
ClineSay4[ClineSay4["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
999812
|
+
return ClineSay4;
|
|
999813
|
+
})(ClineSay3 || {});
|
|
999271
999814
|
function clineSayFromJSON2(object2) {
|
|
999272
999815
|
switch (object2) {
|
|
999273
999816
|
case 0:
|
|
@@ -999581,13 +1000124,13 @@ function mcpServerRequestTypeToJSON2(object2) {
|
|
|
999581
1000124
|
return "UNRECOGNIZED";
|
|
999582
1000125
|
}
|
|
999583
1000126
|
}
|
|
999584
|
-
var
|
|
999585
|
-
|
|
999586
|
-
|
|
999587
|
-
|
|
999588
|
-
|
|
999589
|
-
return
|
|
999590
|
-
})(
|
|
1000127
|
+
var ClineApiReqCancelReason3 = /* @__PURE__ */ ((ClineApiReqCancelReason4) => {
|
|
1000128
|
+
ClineApiReqCancelReason4[ClineApiReqCancelReason4["STREAMING_FAILED"] = 0] = "STREAMING_FAILED";
|
|
1000129
|
+
ClineApiReqCancelReason4[ClineApiReqCancelReason4["USER_CANCELLED"] = 1] = "USER_CANCELLED";
|
|
1000130
|
+
ClineApiReqCancelReason4[ClineApiReqCancelReason4["RETRIES_EXHAUSTED"] = 2] = "RETRIES_EXHAUSTED";
|
|
1000131
|
+
ClineApiReqCancelReason4[ClineApiReqCancelReason4["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1000132
|
+
return ClineApiReqCancelReason4;
|
|
1000133
|
+
})(ClineApiReqCancelReason3 || {});
|
|
999591
1000134
|
function clineApiReqCancelReasonFromJSON2(object2) {
|
|
999592
1000135
|
switch (object2) {
|
|
999593
1000136
|
case 0:
|
|
@@ -1000451,7 +1000994,7 @@ function createBaseClineApiReqInfo2() {
|
|
|
1000451
1000994
|
retryStatus: void 0
|
|
1000452
1000995
|
};
|
|
1000453
1000996
|
}
|
|
1000454
|
-
var
|
|
1000997
|
+
var ClineApiReqInfo3 = {
|
|
1000455
1000998
|
encode(message, writer = new BinaryWriter()) {
|
|
1000456
1000999
|
if (message.request !== "") {
|
|
1000457
1001000
|
writer.uint32(10).string(message.request);
|
|
@@ -1000605,7 +1001148,7 @@ var ClineApiReqInfo2 = {
|
|
|
1000605
1001148
|
return obj2;
|
|
1000606
1001149
|
},
|
|
1000607
1001150
|
create(base) {
|
|
1000608
|
-
return
|
|
1001151
|
+
return ClineApiReqInfo3.fromPartial(base ?? {});
|
|
1000609
1001152
|
},
|
|
1000610
1001153
|
fromPartial(object2) {
|
|
1000611
1001154
|
const message = createBaseClineApiReqInfo2();
|
|
@@ -1000647,7 +1001190,7 @@ function createBaseClineMessage2() {
|
|
|
1000647
1001190
|
apiReqInfo: void 0
|
|
1000648
1001191
|
};
|
|
1000649
1001192
|
}
|
|
1000650
|
-
var
|
|
1001193
|
+
var ClineMessage3 = {
|
|
1000651
1001194
|
encode(message, writer = new BinaryWriter()) {
|
|
1000652
1001195
|
if (message.ts !== 0) {
|
|
1000653
1001196
|
writer.uint32(8).int64(message.ts);
|
|
@@ -1000713,7 +1001256,7 @@ var ClineMessage2 = {
|
|
|
1000713
1001256
|
ClineAskNewTask2.encode(message.askNewTask, writer.uint32(170).fork()).join();
|
|
1000714
1001257
|
}
|
|
1000715
1001258
|
if (message.apiReqInfo !== void 0) {
|
|
1000716
|
-
|
|
1001259
|
+
ClineApiReqInfo3.encode(message.apiReqInfo, writer.uint32(178).fork()).join();
|
|
1000717
1001260
|
}
|
|
1000718
1001261
|
return writer;
|
|
1000719
1001262
|
},
|
|
@@ -1000875,7 +1001418,7 @@ var ClineMessage2 = {
|
|
|
1000875
1001418
|
if (tag !== 178) {
|
|
1000876
1001419
|
break;
|
|
1000877
1001420
|
}
|
|
1000878
|
-
message.apiReqInfo =
|
|
1001421
|
+
message.apiReqInfo = ClineApiReqInfo3.decode(reader, reader.uint32());
|
|
1000879
1001422
|
continue;
|
|
1000880
1001423
|
}
|
|
1000881
1001424
|
}
|
|
@@ -1000909,7 +1001452,7 @@ var ClineMessage2 = {
|
|
|
1000909
1001452
|
planModeResponse: isSet39(object2.planModeResponse) ? ClinePlanModeResponse2.fromJSON(object2.planModeResponse) : void 0,
|
|
1000910
1001453
|
askQuestion: isSet39(object2.askQuestion) ? ClineAskQuestion2.fromJSON(object2.askQuestion) : void 0,
|
|
1000911
1001454
|
askNewTask: isSet39(object2.askNewTask) ? ClineAskNewTask2.fromJSON(object2.askNewTask) : void 0,
|
|
1000912
|
-
apiReqInfo: isSet39(object2.apiReqInfo) ?
|
|
1001455
|
+
apiReqInfo: isSet39(object2.apiReqInfo) ? ClineApiReqInfo3.fromJSON(object2.apiReqInfo) : void 0
|
|
1000913
1001456
|
};
|
|
1000914
1001457
|
},
|
|
1000915
1001458
|
toJSON(message) {
|
|
@@ -1000980,12 +1001523,12 @@ var ClineMessage2 = {
|
|
|
1000980
1001523
|
obj2.askNewTask = ClineAskNewTask2.toJSON(message.askNewTask);
|
|
1000981
1001524
|
}
|
|
1000982
1001525
|
if (message.apiReqInfo !== void 0) {
|
|
1000983
|
-
obj2.apiReqInfo =
|
|
1001526
|
+
obj2.apiReqInfo = ClineApiReqInfo3.toJSON(message.apiReqInfo);
|
|
1000984
1001527
|
}
|
|
1000985
1001528
|
return obj2;
|
|
1000986
1001529
|
},
|
|
1000987
1001530
|
create(base) {
|
|
1000988
|
-
return
|
|
1001531
|
+
return ClineMessage3.fromPartial(base ?? {});
|
|
1000989
1001532
|
},
|
|
1000990
1001533
|
fromPartial(object2) {
|
|
1000991
1001534
|
const message = createBaseClineMessage2();
|
|
@@ -1001010,7 +1001553,7 @@ var ClineMessage2 = {
|
|
|
1001010
1001553
|
message.planModeResponse = object2.planModeResponse !== void 0 && object2.planModeResponse !== null ? ClinePlanModeResponse2.fromPartial(object2.planModeResponse) : void 0;
|
|
1001011
1001554
|
message.askQuestion = object2.askQuestion !== void 0 && object2.askQuestion !== null ? ClineAskQuestion2.fromPartial(object2.askQuestion) : void 0;
|
|
1001012
1001555
|
message.askNewTask = object2.askNewTask !== void 0 && object2.askNewTask !== null ? ClineAskNewTask2.fromPartial(object2.askNewTask) : void 0;
|
|
1001013
|
-
message.apiReqInfo = object2.apiReqInfo !== void 0 && object2.apiReqInfo !== null ?
|
|
1001556
|
+
message.apiReqInfo = object2.apiReqInfo !== void 0 && object2.apiReqInfo !== null ? ClineApiReqInfo3.fromPartial(object2.apiReqInfo) : void 0;
|
|
1001014
1001557
|
return message;
|
|
1001015
1001558
|
}
|
|
1001016
1001559
|
};
|
|
@@ -1001027,10 +1001570,19 @@ var UiServiceDefinition2 = {
|
|
|
1001027
1001570
|
responseStream: false,
|
|
1001028
1001571
|
options: {}
|
|
1001029
1001572
|
},
|
|
1001573
|
+
/** Sets the terminal execution mode (vscodeTerminal or backgroundExec) */
|
|
1001574
|
+
setTerminalExecutionMode: {
|
|
1001575
|
+
name: "setTerminalExecutionMode",
|
|
1001576
|
+
requestType: BooleanRequest5,
|
|
1001577
|
+
requestStream: false,
|
|
1001578
|
+
responseType: KeyValuePair3,
|
|
1001579
|
+
responseStream: false,
|
|
1001580
|
+
options: {}
|
|
1001581
|
+
},
|
|
1001030
1001582
|
/** Marks the current announcement as shown and returns whether an announcement should still be shown */
|
|
1001031
1001583
|
onDidShowAnnouncement: {
|
|
1001032
1001584
|
name: "onDidShowAnnouncement",
|
|
1001033
|
-
requestType:
|
|
1001585
|
+
requestType: EmptyRequest16,
|
|
1001034
1001586
|
requestStream: false,
|
|
1001035
1001587
|
responseType: Boolean4,
|
|
1001036
1001588
|
responseStream: false,
|
|
@@ -1001039,7 +1001591,7 @@ var UiServiceDefinition2 = {
|
|
|
1001039
1001591
|
/** Subscribe to addToInput events (when user adds content via context menu) */
|
|
1001040
1001592
|
subscribeToAddToInput: {
|
|
1001041
1001593
|
name: "subscribeToAddToInput",
|
|
1001042
|
-
requestType:
|
|
1001594
|
+
requestType: EmptyRequest16,
|
|
1001043
1001595
|
requestStream: false,
|
|
1001044
1001596
|
responseType: String4,
|
|
1001045
1001597
|
responseStream: true,
|
|
@@ -1001048,7 +1001600,7 @@ var UiServiceDefinition2 = {
|
|
|
1001048
1001600
|
/** Subscribe to MCP button clicked events */
|
|
1001049
1001601
|
subscribeToMcpButtonClicked: {
|
|
1001050
1001602
|
name: "subscribeToMcpButtonClicked",
|
|
1001051
|
-
requestType:
|
|
1001603
|
+
requestType: EmptyRequest16,
|
|
1001052
1001604
|
requestStream: false,
|
|
1001053
1001605
|
responseType: Empty3,
|
|
1001054
1001606
|
responseStream: true,
|
|
@@ -1001057,7 +1001609,7 @@ var UiServiceDefinition2 = {
|
|
|
1001057
1001609
|
/** Subscribe to history button click events */
|
|
1001058
1001610
|
subscribeToHistoryButtonClicked: {
|
|
1001059
1001611
|
name: "subscribeToHistoryButtonClicked",
|
|
1001060
|
-
requestType:
|
|
1001612
|
+
requestType: EmptyRequest16,
|
|
1001061
1001613
|
requestStream: false,
|
|
1001062
1001614
|
responseType: Empty3,
|
|
1001063
1001615
|
responseStream: true,
|
|
@@ -1001066,7 +1001618,7 @@ var UiServiceDefinition2 = {
|
|
|
1001066
1001618
|
/** Subscribe to chat button clicked events (when the chat button is clicked in VSCode) */
|
|
1001067
1001619
|
subscribeToChatButtonClicked: {
|
|
1001068
1001620
|
name: "subscribeToChatButtonClicked",
|
|
1001069
|
-
requestType:
|
|
1001621
|
+
requestType: EmptyRequest16,
|
|
1001070
1001622
|
requestStream: false,
|
|
1001071
1001623
|
responseType: Empty3,
|
|
1001072
1001624
|
responseStream: true,
|
|
@@ -1001075,7 +1001627,7 @@ var UiServiceDefinition2 = {
|
|
|
1001075
1001627
|
/** Subscribe to account button click events */
|
|
1001076
1001628
|
subscribeToAccountButtonClicked: {
|
|
1001077
1001629
|
name: "subscribeToAccountButtonClicked",
|
|
1001078
|
-
requestType:
|
|
1001630
|
+
requestType: EmptyRequest16,
|
|
1001079
1001631
|
requestStream: false,
|
|
1001080
1001632
|
responseType: Empty3,
|
|
1001081
1001633
|
responseStream: true,
|
|
@@ -1001084,7 +1001636,7 @@ var UiServiceDefinition2 = {
|
|
|
1001084
1001636
|
/** Subscribe to settings button clicked events */
|
|
1001085
1001637
|
subscribeToSettingsButtonClicked: {
|
|
1001086
1001638
|
name: "subscribeToSettingsButtonClicked",
|
|
1001087
|
-
requestType:
|
|
1001639
|
+
requestType: EmptyRequest16,
|
|
1001088
1001640
|
requestStream: false,
|
|
1001089
1001641
|
responseType: Empty3,
|
|
1001090
1001642
|
responseStream: true,
|
|
@@ -1001093,16 +1001645,16 @@ var UiServiceDefinition2 = {
|
|
|
1001093
1001645
|
/** Subscribe to partial message updates (streaming Cline messages as they're built) */
|
|
1001094
1001646
|
subscribeToPartialMessage: {
|
|
1001095
1001647
|
name: "subscribeToPartialMessage",
|
|
1001096
|
-
requestType:
|
|
1001648
|
+
requestType: EmptyRequest16,
|
|
1001097
1001649
|
requestStream: false,
|
|
1001098
|
-
responseType:
|
|
1001650
|
+
responseType: ClineMessage3,
|
|
1001099
1001651
|
responseStream: true,
|
|
1001100
1001652
|
options: {}
|
|
1001101
1001653
|
},
|
|
1001102
1001654
|
/** Initialize webview when it launches */
|
|
1001103
1001655
|
initializeWebview: {
|
|
1001104
1001656
|
name: "initializeWebview",
|
|
1001105
|
-
requestType:
|
|
1001657
|
+
requestType: EmptyRequest16,
|
|
1001106
1001658
|
requestStream: false,
|
|
1001107
1001659
|
responseType: Empty3,
|
|
1001108
1001660
|
responseStream: false,
|
|
@@ -1001111,7 +1001663,7 @@ var UiServiceDefinition2 = {
|
|
|
1001111
1001663
|
/** Subscribe to relinquish control events */
|
|
1001112
1001664
|
subscribeToRelinquishControl: {
|
|
1001113
1001665
|
name: "subscribeToRelinquishControl",
|
|
1001114
|
-
requestType:
|
|
1001666
|
+
requestType: EmptyRequest16,
|
|
1001115
1001667
|
requestStream: false,
|
|
1001116
1001668
|
responseType: Empty3,
|
|
1001117
1001669
|
responseStream: true,
|
|
@@ -1001120,7 +1001672,7 @@ var UiServiceDefinition2 = {
|
|
|
1001120
1001672
|
/** Subscribe to focus chat input events */
|
|
1001121
1001673
|
subscribeToFocusChatInput: {
|
|
1001122
1001674
|
name: "subscribeToFocusChatInput",
|
|
1001123
|
-
requestType:
|
|
1001675
|
+
requestType: EmptyRequest16,
|
|
1001124
1001676
|
requestStream: false,
|
|
1001125
1001677
|
responseType: Empty3,
|
|
1001126
1001678
|
responseStream: true,
|
|
@@ -1001129,7 +1001681,7 @@ var UiServiceDefinition2 = {
|
|
|
1001129
1001681
|
/** Subscribe to webview visibility change events */
|
|
1001130
1001682
|
subscribeToDidBecomeVisible: {
|
|
1001131
1001683
|
name: "subscribeToDidBecomeVisible",
|
|
1001132
|
-
requestType:
|
|
1001684
|
+
requestType: EmptyRequest16,
|
|
1001133
1001685
|
requestStream: false,
|
|
1001134
1001686
|
responseType: Empty3,
|
|
1001135
1001687
|
responseStream: true,
|
|
@@ -1001138,7 +1001690,7 @@ var UiServiceDefinition2 = {
|
|
|
1001138
1001690
|
/** Returns the HTML for the webview index page. This is only used by external clients, not by the vscode webview. */
|
|
1001139
1001691
|
getWebviewHtml: {
|
|
1001140
1001692
|
name: "getWebviewHtml",
|
|
1001141
|
-
requestType:
|
|
1001693
|
+
requestType: EmptyRequest16,
|
|
1001142
1001694
|
requestStream: false,
|
|
1001143
1001695
|
responseType: String4,
|
|
1001144
1001696
|
responseStream: false,
|
|
@@ -1001156,7 +1001708,7 @@ var UiServiceDefinition2 = {
|
|
|
1001156
1001708
|
/** Opens the Cline walkthrough */
|
|
1001157
1001709
|
openWalkthrough: {
|
|
1001158
1001710
|
name: "openWalkthrough",
|
|
1001159
|
-
requestType:
|
|
1001711
|
+
requestType: EmptyRequest16,
|
|
1001160
1001712
|
requestStream: false,
|
|
1001161
1001713
|
responseType: Empty3,
|
|
1001162
1001714
|
responseStream: false,
|
|
@@ -1001175,13 +1001727,23 @@ var UiServiceService = {
|
|
|
1001175
1001727
|
responseSerialize: (value) => Buffer.from(KeyValuePair3.encode(value).finish()),
|
|
1001176
1001728
|
responseDeserialize: (value) => KeyValuePair3.decode(value)
|
|
1001177
1001729
|
},
|
|
1001730
|
+
/** Sets the terminal execution mode (vscodeTerminal or backgroundExec) */
|
|
1001731
|
+
setTerminalExecutionMode: {
|
|
1001732
|
+
path: "/cline.UiService/setTerminalExecutionMode",
|
|
1001733
|
+
requestStream: false,
|
|
1001734
|
+
responseStream: false,
|
|
1001735
|
+
requestSerialize: (value) => Buffer.from(BooleanRequest5.encode(value).finish()),
|
|
1001736
|
+
requestDeserialize: (value) => BooleanRequest5.decode(value),
|
|
1001737
|
+
responseSerialize: (value) => Buffer.from(KeyValuePair3.encode(value).finish()),
|
|
1001738
|
+
responseDeserialize: (value) => KeyValuePair3.decode(value)
|
|
1001739
|
+
},
|
|
1001178
1001740
|
/** Marks the current announcement as shown and returns whether an announcement should still be shown */
|
|
1001179
1001741
|
onDidShowAnnouncement: {
|
|
1001180
1001742
|
path: "/cline.UiService/onDidShowAnnouncement",
|
|
1001181
1001743
|
requestStream: false,
|
|
1001182
1001744
|
responseStream: false,
|
|
1001183
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001184
|
-
requestDeserialize: (value) =>
|
|
1001745
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001746
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001185
1001747
|
responseSerialize: (value) => Buffer.from(Boolean4.encode(value).finish()),
|
|
1001186
1001748
|
responseDeserialize: (value) => Boolean4.decode(value)
|
|
1001187
1001749
|
},
|
|
@@ -1001190,8 +1001752,8 @@ var UiServiceService = {
|
|
|
1001190
1001752
|
path: "/cline.UiService/subscribeToAddToInput",
|
|
1001191
1001753
|
requestStream: false,
|
|
1001192
1001754
|
responseStream: true,
|
|
1001193
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001194
|
-
requestDeserialize: (value) =>
|
|
1001755
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001756
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001195
1001757
|
responseSerialize: (value) => Buffer.from(String4.encode(value).finish()),
|
|
1001196
1001758
|
responseDeserialize: (value) => String4.decode(value)
|
|
1001197
1001759
|
},
|
|
@@ -1001200,8 +1001762,8 @@ var UiServiceService = {
|
|
|
1001200
1001762
|
path: "/cline.UiService/subscribeToMcpButtonClicked",
|
|
1001201
1001763
|
requestStream: false,
|
|
1001202
1001764
|
responseStream: true,
|
|
1001203
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001204
|
-
requestDeserialize: (value) =>
|
|
1001765
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001766
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001205
1001767
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
1001206
1001768
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
1001207
1001769
|
},
|
|
@@ -1001210,8 +1001772,8 @@ var UiServiceService = {
|
|
|
1001210
1001772
|
path: "/cline.UiService/subscribeToHistoryButtonClicked",
|
|
1001211
1001773
|
requestStream: false,
|
|
1001212
1001774
|
responseStream: true,
|
|
1001213
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001214
|
-
requestDeserialize: (value) =>
|
|
1001775
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001776
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001215
1001777
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
1001216
1001778
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
1001217
1001779
|
},
|
|
@@ -1001220,8 +1001782,8 @@ var UiServiceService = {
|
|
|
1001220
1001782
|
path: "/cline.UiService/subscribeToChatButtonClicked",
|
|
1001221
1001783
|
requestStream: false,
|
|
1001222
1001784
|
responseStream: true,
|
|
1001223
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001224
|
-
requestDeserialize: (value) =>
|
|
1001785
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001786
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001225
1001787
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
1001226
1001788
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
1001227
1001789
|
},
|
|
@@ -1001230,8 +1001792,8 @@ var UiServiceService = {
|
|
|
1001230
1001792
|
path: "/cline.UiService/subscribeToAccountButtonClicked",
|
|
1001231
1001793
|
requestStream: false,
|
|
1001232
1001794
|
responseStream: true,
|
|
1001233
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001234
|
-
requestDeserialize: (value) =>
|
|
1001795
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001796
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001235
1001797
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
1001236
1001798
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
1001237
1001799
|
},
|
|
@@ -1001240,8 +1001802,8 @@ var UiServiceService = {
|
|
|
1001240
1001802
|
path: "/cline.UiService/subscribeToSettingsButtonClicked",
|
|
1001241
1001803
|
requestStream: false,
|
|
1001242
1001804
|
responseStream: true,
|
|
1001243
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001244
|
-
requestDeserialize: (value) =>
|
|
1001805
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001806
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001245
1001807
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
1001246
1001808
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
1001247
1001809
|
},
|
|
@@ -1001250,18 +1001812,18 @@ var UiServiceService = {
|
|
|
1001250
1001812
|
path: "/cline.UiService/subscribeToPartialMessage",
|
|
1001251
1001813
|
requestStream: false,
|
|
1001252
1001814
|
responseStream: true,
|
|
1001253
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001254
|
-
requestDeserialize: (value) =>
|
|
1001255
|
-
responseSerialize: (value) => Buffer.from(
|
|
1001256
|
-
responseDeserialize: (value) =>
|
|
1001815
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001816
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001817
|
+
responseSerialize: (value) => Buffer.from(ClineMessage3.encode(value).finish()),
|
|
1001818
|
+
responseDeserialize: (value) => ClineMessage3.decode(value)
|
|
1001257
1001819
|
},
|
|
1001258
1001820
|
/** Initialize webview when it launches */
|
|
1001259
1001821
|
initializeWebview: {
|
|
1001260
1001822
|
path: "/cline.UiService/initializeWebview",
|
|
1001261
1001823
|
requestStream: false,
|
|
1001262
1001824
|
responseStream: false,
|
|
1001263
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001264
|
-
requestDeserialize: (value) =>
|
|
1001825
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001826
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001265
1001827
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
1001266
1001828
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
1001267
1001829
|
},
|
|
@@ -1001270,8 +1001832,8 @@ var UiServiceService = {
|
|
|
1001270
1001832
|
path: "/cline.UiService/subscribeToRelinquishControl",
|
|
1001271
1001833
|
requestStream: false,
|
|
1001272
1001834
|
responseStream: true,
|
|
1001273
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001274
|
-
requestDeserialize: (value) =>
|
|
1001835
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001836
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001275
1001837
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
1001276
1001838
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
1001277
1001839
|
},
|
|
@@ -1001280,8 +1001842,8 @@ var UiServiceService = {
|
|
|
1001280
1001842
|
path: "/cline.UiService/subscribeToFocusChatInput",
|
|
1001281
1001843
|
requestStream: false,
|
|
1001282
1001844
|
responseStream: true,
|
|
1001283
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001284
|
-
requestDeserialize: (value) =>
|
|
1001845
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001846
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001285
1001847
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
1001286
1001848
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
1001287
1001849
|
},
|
|
@@ -1001290,8 +1001852,8 @@ var UiServiceService = {
|
|
|
1001290
1001852
|
path: "/cline.UiService/subscribeToDidBecomeVisible",
|
|
1001291
1001853
|
requestStream: false,
|
|
1001292
1001854
|
responseStream: true,
|
|
1001293
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001294
|
-
requestDeserialize: (value) =>
|
|
1001855
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001856
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001295
1001857
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
1001296
1001858
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
1001297
1001859
|
},
|
|
@@ -1001300,8 +1001862,8 @@ var UiServiceService = {
|
|
|
1001300
1001862
|
path: "/cline.UiService/getWebviewHtml",
|
|
1001301
1001863
|
requestStream: false,
|
|
1001302
1001864
|
responseStream: false,
|
|
1001303
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001304
|
-
requestDeserialize: (value) =>
|
|
1001865
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001866
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001305
1001867
|
responseSerialize: (value) => Buffer.from(String4.encode(value).finish()),
|
|
1001306
1001868
|
responseDeserialize: (value) => String4.decode(value)
|
|
1001307
1001869
|
},
|
|
@@ -1001320,8 +1001882,8 @@ var UiServiceService = {
|
|
|
1001320
1001882
|
path: "/cline.UiService/openWalkthrough",
|
|
1001321
1001883
|
requestStream: false,
|
|
1001322
1001884
|
responseStream: false,
|
|
1001323
|
-
requestSerialize: (value) => Buffer.from(
|
|
1001324
|
-
requestDeserialize: (value) =>
|
|
1001885
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1001886
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1001325
1001887
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
1001326
1001888
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
1001327
1001889
|
}
|
|
@@ -1002943,8 +1003505,8 @@ var EnvServiceService = {
|
|
|
1002943
1003505
|
path: "/host.EnvService/clipboardReadText",
|
|
1002944
1003506
|
requestStream: false,
|
|
1002945
1003507
|
responseStream: false,
|
|
1002946
|
-
requestSerialize: (value) => Buffer.from(
|
|
1002947
|
-
requestDeserialize: (value) =>
|
|
1003508
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1003509
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1002948
1003510
|
responseSerialize: (value) => Buffer.from(String4.encode(value).finish()),
|
|
1002949
1003511
|
responseDeserialize: (value) => String4.decode(value)
|
|
1002950
1003512
|
},
|
|
@@ -1002953,8 +1003515,8 @@ var EnvServiceService = {
|
|
|
1002953
1003515
|
path: "/host.EnvService/getHostVersion",
|
|
1002954
1003516
|
requestStream: false,
|
|
1002955
1003517
|
responseStream: false,
|
|
1002956
|
-
requestSerialize: (value) => Buffer.from(
|
|
1002957
|
-
requestDeserialize: (value) =>
|
|
1003518
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1003519
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1002958
1003520
|
responseSerialize: (value) => Buffer.from(GetHostVersionResponse2.encode(value).finish()),
|
|
1002959
1003521
|
responseDeserialize: (value) => GetHostVersionResponse2.decode(value)
|
|
1002960
1003522
|
},
|
|
@@ -1002967,8 +1003529,8 @@ var EnvServiceService = {
|
|
|
1002967
1003529
|
path: "/host.EnvService/getIdeRedirectUri",
|
|
1002968
1003530
|
requestStream: false,
|
|
1002969
1003531
|
responseStream: false,
|
|
1002970
|
-
requestSerialize: (value) => Buffer.from(
|
|
1002971
|
-
requestDeserialize: (value) =>
|
|
1003532
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1003533
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1002972
1003534
|
responseSerialize: (value) => Buffer.from(String4.encode(value).finish()),
|
|
1002973
1003535
|
responseDeserialize: (value) => String4.decode(value)
|
|
1002974
1003536
|
},
|
|
@@ -1002980,8 +1003542,8 @@ var EnvServiceService = {
|
|
|
1002980
1003542
|
path: "/host.EnvService/getTelemetrySettings",
|
|
1002981
1003543
|
requestStream: false,
|
|
1002982
1003544
|
responseStream: false,
|
|
1002983
|
-
requestSerialize: (value) => Buffer.from(
|
|
1002984
|
-
requestDeserialize: (value) =>
|
|
1003545
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1003546
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1002985
1003547
|
responseSerialize: (value) => Buffer.from(GetTelemetrySettingsResponse2.encode(value).finish()),
|
|
1002986
1003548
|
responseDeserialize: (value) => GetTelemetrySettingsResponse2.decode(value)
|
|
1002987
1003549
|
},
|
|
@@ -1002990,8 +1003552,8 @@ var EnvServiceService = {
|
|
|
1002990
1003552
|
path: "/host.EnvService/subscribeToTelemetrySettings",
|
|
1002991
1003553
|
requestStream: false,
|
|
1002992
1003554
|
responseStream: true,
|
|
1002993
|
-
requestSerialize: (value) => Buffer.from(
|
|
1002994
|
-
requestDeserialize: (value) =>
|
|
1003555
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1003556
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1002995
1003557
|
responseSerialize: (value) => Buffer.from(TelemetrySettingsEvent2.encode(value).finish()),
|
|
1002996
1003558
|
responseDeserialize: (value) => TelemetrySettingsEvent2.decode(value)
|
|
1002997
1003559
|
},
|
|
@@ -1003000,8 +1003562,8 @@ var EnvServiceService = {
|
|
|
1003000
1003562
|
path: "/host.EnvService/shutdown",
|
|
1003001
1003563
|
requestStream: false,
|
|
1003002
1003564
|
responseStream: false,
|
|
1003003
|
-
requestSerialize: (value) => Buffer.from(
|
|
1003004
|
-
requestDeserialize: (value) =>
|
|
1003565
|
+
requestSerialize: (value) => Buffer.from(EmptyRequest16.encode(value).finish()),
|
|
1003566
|
+
requestDeserialize: (value) => EmptyRequest16.decode(value),
|
|
1003005
1003567
|
responseSerialize: (value) => Buffer.from(Empty3.encode(value).finish()),
|
|
1003006
1003568
|
responseDeserialize: (value) => Empty3.decode(value)
|
|
1003007
1003569
|
}
|
|
@@ -1005601,12 +1006163,14 @@ init_togglePlanActModeProto();
|
|
|
1005601
1006163
|
init_updateAutoApprovalSettings();
|
|
1005602
1006164
|
init_updateSettings();
|
|
1005603
1006165
|
init_updateSettingsCli();
|
|
1006166
|
+
init_updateTaskSettings();
|
|
1005604
1006167
|
init_updateTelemetrySetting();
|
|
1005605
1006168
|
init_setWelcomeViewCompleted();
|
|
1005606
1006169
|
init_updateInfoBannerVersion();
|
|
1005607
1006170
|
init_updateModelBannerVersion();
|
|
1005608
1006171
|
init_getProcessInfo();
|
|
1005609
1006172
|
init_cancelTask();
|
|
1006173
|
+
init_cancelBackgroundCommand();
|
|
1005610
1006174
|
init_clearTask();
|
|
1005611
1006175
|
init_getTotalTasksSize();
|
|
1005612
1006176
|
init_deleteTasksWithIds();
|
|
@@ -1005621,6 +1006185,7 @@ init_taskCompletionViewChanges();
|
|
|
1005621
1006185
|
init_executeQuickWin();
|
|
1005622
1006186
|
init_deleteAllTaskHistory();
|
|
1005623
1006187
|
init_scrollToSettings();
|
|
1006188
|
+
init_setTerminalExecutionMode();
|
|
1005624
1006189
|
init_onDidShowAnnouncement();
|
|
1005625
1006190
|
init_subscribeToAddToInput();
|
|
1005626
1006191
|
init_subscribeToMcpButtonClicked();
|
|
@@ -1005751,6 +1006316,7 @@ function addProtobusServices(server, controller, wrapper, wrapStreamingResponse)
|
|
|
1005751
1006316
|
updateAutoApprovalSettings: wrapper(updateAutoApprovalSettings, controller),
|
|
1005752
1006317
|
updateSettings: wrapper(updateSettings, controller),
|
|
1005753
1006318
|
updateSettingsCli: wrapper(updateSettingsCli, controller),
|
|
1006319
|
+
updateTaskSettings: wrapper(updateTaskSettings, controller),
|
|
1005754
1006320
|
updateTelemetrySetting: wrapper(updateTelemetrySetting, controller),
|
|
1005755
1006321
|
setWelcomeViewCompleted: wrapper(setWelcomeViewCompleted, controller),
|
|
1005756
1006322
|
updateInfoBannerVersion: wrapper(updateInfoBannerVersion, controller),
|
|
@@ -1005759,6 +1006325,7 @@ function addProtobusServices(server, controller, wrapper, wrapStreamingResponse)
|
|
|
1005759
1006325
|
});
|
|
1005760
1006326
|
server.addService(index_cline_exports3.TaskServiceService, {
|
|
1005761
1006327
|
cancelTask: wrapper(cancelTask, controller),
|
|
1006328
|
+
cancelBackgroundCommand: wrapper(cancelBackgroundCommand, controller),
|
|
1005762
1006329
|
clearTask: wrapper(clearTask, controller),
|
|
1005763
1006330
|
getTotalTasksSize: wrapper(getTotalTasksSize2, controller),
|
|
1005764
1006331
|
deleteTasksWithIds: wrapper(deleteTasksWithIds, controller),
|
|
@@ -1005775,6 +1006342,7 @@ function addProtobusServices(server, controller, wrapper, wrapStreamingResponse)
|
|
|
1005775
1006342
|
});
|
|
1005776
1006343
|
server.addService(index_cline_exports3.UiServiceService, {
|
|
1005777
1006344
|
scrollToSettings: wrapper(scrollToSettings, controller),
|
|
1006345
|
+
setTerminalExecutionMode: wrapper(setTerminalExecutionMode, controller),
|
|
1005778
1006346
|
onDidShowAnnouncement: wrapper(onDidShowAnnouncement, controller),
|
|
1005779
1006347
|
subscribeToAddToInput: wrapStreamingResponse(subscribeToAddToInput, controller),
|
|
1005780
1006348
|
subscribeToMcpButtonClicked: wrapStreamingResponse(subscribeToMcpButtonClicked, controller),
|