@dipoleml/dcode-cli 1.0.0 → 1.1.0
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/dist/dcode.cjs +808 -581
- package/dist/provider/dcode-builtin.json +1 -50
- package/node_modules/@dcode/model-option-map/package.json +1 -1
- package/node_modules/@dcode/shared/dist/bots.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/conversation-share.d.ts +35 -35
- package/node_modules/@dcode/shared/dist/dcode-protocol/index.d.ts +284 -284
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.d.ts +36 -36
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/controller.d.ts +70 -70
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.d.ts +985 -985
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.js +4 -0
- package/node_modules/@dcode/shared/dist/protocol.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/validation.d.ts +109 -109
- package/node_modules/@dcode/shared/dist/validationAppSettings.d.ts +7 -7
- package/node_modules/@dcode/shared/package.json +1 -1
- package/node_modules/@dcode/tui/dist/index.js +2 -2
- package/package.json +3 -3
|
@@ -252,9 +252,9 @@ export declare const dcodeMcpTelemetryEventSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
252
252
|
}>;
|
|
253
253
|
occurredAt: z.ZodNumber;
|
|
254
254
|
platform: z.ZodEnum<{
|
|
255
|
-
darwin: "darwin";
|
|
256
255
|
aix: "aix";
|
|
257
256
|
android: "android";
|
|
257
|
+
darwin: "darwin";
|
|
258
258
|
freebsd: "freebsd";
|
|
259
259
|
haiku: "haiku";
|
|
260
260
|
linux: "linux";
|
|
@@ -272,8 +272,8 @@ export declare const dcodeMcpTelemetryEventSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
272
272
|
}>;
|
|
273
273
|
mcpSource: z.ZodEnum<{
|
|
274
274
|
custom: "custom";
|
|
275
|
-
plugin: "plugin";
|
|
276
275
|
builtin: "builtin";
|
|
276
|
+
plugin: "plugin";
|
|
277
277
|
}>;
|
|
278
278
|
kind: z.ZodLiteral<"process_start">;
|
|
279
279
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -293,9 +293,9 @@ export declare const dcodeMcpTelemetryEventSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
293
293
|
}>;
|
|
294
294
|
occurredAt: z.ZodNumber;
|
|
295
295
|
platform: z.ZodEnum<{
|
|
296
|
-
darwin: "darwin";
|
|
297
296
|
aix: "aix";
|
|
298
297
|
android: "android";
|
|
298
|
+
darwin: "darwin";
|
|
299
299
|
freebsd: "freebsd";
|
|
300
300
|
haiku: "haiku";
|
|
301
301
|
linux: "linux";
|
|
@@ -317,8 +317,8 @@ export declare const dcodeMcpTelemetryEventSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
317
317
|
}>;
|
|
318
318
|
mcpSource: z.ZodEnum<{
|
|
319
319
|
custom: "custom";
|
|
320
|
-
plugin: "plugin";
|
|
321
320
|
builtin: "builtin";
|
|
321
|
+
plugin: "plugin";
|
|
322
322
|
}>;
|
|
323
323
|
kind: z.ZodLiteral<"process_crash">;
|
|
324
324
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -338,9 +338,9 @@ export declare const dcodeMcpTelemetryEventSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
338
338
|
}>;
|
|
339
339
|
occurredAt: z.ZodNumber;
|
|
340
340
|
platform: z.ZodEnum<{
|
|
341
|
-
darwin: "darwin";
|
|
342
341
|
aix: "aix";
|
|
343
342
|
android: "android";
|
|
343
|
+
darwin: "darwin";
|
|
344
344
|
freebsd: "freebsd";
|
|
345
345
|
haiku: "haiku";
|
|
346
346
|
linux: "linux";
|
|
@@ -373,9 +373,9 @@ export declare const dcodeMcpTelemetryEventSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
373
373
|
}>;
|
|
374
374
|
occurredAt: z.ZodNumber;
|
|
375
375
|
platform: z.ZodEnum<{
|
|
376
|
-
darwin: "darwin";
|
|
377
376
|
aix: "aix";
|
|
378
377
|
android: "android";
|
|
378
|
+
darwin: "darwin";
|
|
379
379
|
freebsd: "freebsd";
|
|
380
380
|
haiku: "haiku";
|
|
381
381
|
linux: "linux";
|
|
@@ -401,8 +401,8 @@ export declare const dcodeMcpTelemetryEventSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
401
401
|
}>;
|
|
402
402
|
mcpSource: z.ZodEnum<{
|
|
403
403
|
custom: "custom";
|
|
404
|
-
plugin: "plugin";
|
|
405
404
|
builtin: "builtin";
|
|
405
|
+
plugin: "plugin";
|
|
406
406
|
}>;
|
|
407
407
|
kind: z.ZodLiteral<"memory">;
|
|
408
408
|
}, z.core.$strict>], "kind">;
|
|
@@ -420,9 +420,9 @@ export declare const dcodeMcpResourceSampleSchema: z.ZodObject<{
|
|
|
420
420
|
cpuTimeMsDelta: z.ZodNumber;
|
|
421
421
|
uptimeMinutes: z.ZodNumber;
|
|
422
422
|
platform: z.ZodEnum<{
|
|
423
|
-
darwin: "darwin";
|
|
424
423
|
aix: "aix";
|
|
425
424
|
android: "android";
|
|
425
|
+
darwin: "darwin";
|
|
426
426
|
freebsd: "freebsd";
|
|
427
427
|
haiku: "haiku";
|
|
428
428
|
linux: "linux";
|
|
@@ -461,9 +461,9 @@ export declare const dcodeMcpResourceSamplesSchema: z.ZodArray<z.ZodObject<{
|
|
|
461
461
|
cpuTimeMsDelta: z.ZodNumber;
|
|
462
462
|
uptimeMinutes: z.ZodNumber;
|
|
463
463
|
platform: z.ZodEnum<{
|
|
464
|
-
darwin: "darwin";
|
|
465
464
|
aix: "aix";
|
|
466
465
|
android: "android";
|
|
466
|
+
darwin: "darwin";
|
|
467
467
|
freebsd: "freebsd";
|
|
468
468
|
haiku: "haiku";
|
|
469
469
|
linux: "linux";
|
|
@@ -496,9 +496,9 @@ export declare const BASH_RESOURCE_MAX_SAMPLES = 20;
|
|
|
496
496
|
export declare const dcodeToolExecResourceSchema: z.ZodObject<{
|
|
497
497
|
completionToken: z.ZodOptional<z.ZodString>;
|
|
498
498
|
platform: z.ZodEnum<{
|
|
499
|
-
darwin: "darwin";
|
|
500
499
|
aix: "aix";
|
|
501
500
|
android: "android";
|
|
501
|
+
darwin: "darwin";
|
|
502
502
|
freebsd: "freebsd";
|
|
503
503
|
haiku: "haiku";
|
|
504
504
|
linux: "linux";
|
|
@@ -511,8 +511,8 @@ export declare const dcodeToolExecResourceSchema: z.ZodObject<{
|
|
|
511
511
|
toolName: z.ZodLiteral<"bash">;
|
|
512
512
|
durationMs: z.ZodNumber;
|
|
513
513
|
exitKind: z.ZodEnum<{
|
|
514
|
-
completed: "completed";
|
|
515
514
|
error: "error";
|
|
515
|
+
completed: "completed";
|
|
516
516
|
timeout: "timeout";
|
|
517
517
|
killed: "killed";
|
|
518
518
|
}>;
|
|
@@ -525,9 +525,9 @@ export declare const dcodeToolExecResourceSchema: z.ZodObject<{
|
|
|
525
525
|
export type DCodeToolExecResource = z.infer<typeof dcodeToolExecResourceSchema>;
|
|
526
526
|
export declare const dcodeProcessResourceSampleSchema: z.ZodObject<{
|
|
527
527
|
platform: z.ZodEnum<{
|
|
528
|
-
darwin: "darwin";
|
|
529
528
|
aix: "aix";
|
|
530
529
|
android: "android";
|
|
530
|
+
darwin: "darwin";
|
|
531
531
|
freebsd: "freebsd";
|
|
532
532
|
haiku: "haiku";
|
|
533
533
|
linux: "linux";
|
|
@@ -568,8 +568,8 @@ export declare const dcodeProcessChildProcessSchema: z.ZodObject<{
|
|
|
568
568
|
serverName: z.ZodString;
|
|
569
569
|
mcpSource: z.ZodEnum<{
|
|
570
570
|
custom: "custom";
|
|
571
|
-
plugin: "plugin";
|
|
572
571
|
builtin: "builtin";
|
|
572
|
+
plugin: "plugin";
|
|
573
573
|
}>;
|
|
574
574
|
pluginName: z.ZodOptional<z.ZodString>;
|
|
575
575
|
}, z.core.$strict>;
|
|
@@ -579,8 +579,8 @@ export declare const dcodeProcessChildProcessesResultSchema: z.ZodObject<{
|
|
|
579
579
|
serverName: z.ZodString;
|
|
580
580
|
mcpSource: z.ZodEnum<{
|
|
581
581
|
custom: "custom";
|
|
582
|
-
plugin: "plugin";
|
|
583
582
|
builtin: "builtin";
|
|
583
|
+
plugin: "plugin";
|
|
584
584
|
}>;
|
|
585
585
|
pluginName: z.ZodOptional<z.ZodString>;
|
|
586
586
|
}, z.core.$strict>>;
|
|
@@ -678,9 +678,9 @@ export declare const dcodeProtocolMcpServerSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
678
678
|
}, z.core.$strict>]>;
|
|
679
679
|
export type DCodeProtocolMcpServer = z.infer<typeof dcodeProtocolMcpServerSchema>;
|
|
680
680
|
export declare const dcodeMcpServerStatusKindSchema: z.ZodEnum<{
|
|
681
|
+
connected: "connected";
|
|
681
682
|
failed: "failed";
|
|
682
683
|
disabled: "disabled";
|
|
683
|
-
connected: "connected";
|
|
684
684
|
connecting: "connecting";
|
|
685
685
|
disconnected: "disconnected";
|
|
686
686
|
untrusted: "untrusted";
|
|
@@ -688,7 +688,6 @@ export declare const dcodeMcpServerStatusKindSchema: z.ZodEnum<{
|
|
|
688
688
|
export declare const MCP_SERVER_FAILURE_KINDS: readonly ["config_invalid", "runtime_unavailable", "process_start_failed", "network_unreachable", "connection_timeout", "protocol_negotiation_failed", "tool_list_failed", "unexpected_disconnect", "oauth_authorization_failed", "official_origin_untrusted", "not_authenticated", "coding_plan_required", "server_not_found", "server_unavailable", "rate_limited", "server_internal_error", "protocol_error", "status_unavailable", "connection_failed"];
|
|
689
689
|
export declare const mcpServerFailureKindSchema: z.ZodEnum<{
|
|
690
690
|
not_authenticated: "not_authenticated";
|
|
691
|
-
coding_plan_required: "coding_plan_required";
|
|
692
691
|
config_invalid: "config_invalid";
|
|
693
692
|
runtime_unavailable: "runtime_unavailable";
|
|
694
693
|
process_start_failed: "process_start_failed";
|
|
@@ -699,6 +698,7 @@ export declare const mcpServerFailureKindSchema: z.ZodEnum<{
|
|
|
699
698
|
unexpected_disconnect: "unexpected_disconnect";
|
|
700
699
|
oauth_authorization_failed: "oauth_authorization_failed";
|
|
701
700
|
official_origin_untrusted: "official_origin_untrusted";
|
|
701
|
+
coding_plan_required: "coding_plan_required";
|
|
702
702
|
server_not_found: "server_not_found";
|
|
703
703
|
server_unavailable: "server_unavailable";
|
|
704
704
|
rate_limited: "rate_limited";
|
|
@@ -710,9 +710,9 @@ export declare const mcpServerFailureKindSchema: z.ZodEnum<{
|
|
|
710
710
|
export type McpServerFailureKind = z.infer<typeof mcpServerFailureKindSchema>;
|
|
711
711
|
export declare const dcodeMcpServerStatusSnapshotSchema: z.ZodObject<{
|
|
712
712
|
status: z.ZodEnum<{
|
|
713
|
+
connected: "connected";
|
|
713
714
|
failed: "failed";
|
|
714
715
|
disabled: "disabled";
|
|
715
|
-
connected: "connected";
|
|
716
716
|
connecting: "connecting";
|
|
717
717
|
disconnected: "disconnected";
|
|
718
718
|
untrusted: "untrusted";
|
|
@@ -727,7 +727,6 @@ export declare const dcodeMcpServerStatusSnapshotSchema: z.ZodObject<{
|
|
|
727
727
|
error: z.ZodOptional<z.ZodString>;
|
|
728
728
|
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
729
729
|
not_authenticated: "not_authenticated";
|
|
730
|
-
coding_plan_required: "coding_plan_required";
|
|
731
730
|
config_invalid: "config_invalid";
|
|
732
731
|
runtime_unavailable: "runtime_unavailable";
|
|
733
732
|
process_start_failed: "process_start_failed";
|
|
@@ -738,6 +737,7 @@ export declare const dcodeMcpServerStatusSnapshotSchema: z.ZodObject<{
|
|
|
738
737
|
unexpected_disconnect: "unexpected_disconnect";
|
|
739
738
|
oauth_authorization_failed: "oauth_authorization_failed";
|
|
740
739
|
official_origin_untrusted: "official_origin_untrusted";
|
|
740
|
+
coding_plan_required: "coding_plan_required";
|
|
741
741
|
server_not_found: "server_not_found";
|
|
742
742
|
server_unavailable: "server_unavailable";
|
|
743
743
|
rate_limited: "rate_limited";
|
|
@@ -832,9 +832,9 @@ export declare const dcodeMcpListParamsSchema: z.ZodObject<{
|
|
|
832
832
|
export declare const dcodeMcpListResultSchema: z.ZodObject<{
|
|
833
833
|
statuses: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
834
834
|
status: z.ZodEnum<{
|
|
835
|
+
connected: "connected";
|
|
835
836
|
failed: "failed";
|
|
836
837
|
disabled: "disabled";
|
|
837
|
-
connected: "connected";
|
|
838
838
|
connecting: "connecting";
|
|
839
839
|
disconnected: "disconnected";
|
|
840
840
|
untrusted: "untrusted";
|
|
@@ -849,7 +849,6 @@ export declare const dcodeMcpListResultSchema: z.ZodObject<{
|
|
|
849
849
|
error: z.ZodOptional<z.ZodString>;
|
|
850
850
|
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
851
851
|
not_authenticated: "not_authenticated";
|
|
852
|
-
coding_plan_required: "coding_plan_required";
|
|
853
852
|
config_invalid: "config_invalid";
|
|
854
853
|
runtime_unavailable: "runtime_unavailable";
|
|
855
854
|
process_start_failed: "process_start_failed";
|
|
@@ -860,6 +859,7 @@ export declare const dcodeMcpListResultSchema: z.ZodObject<{
|
|
|
860
859
|
unexpected_disconnect: "unexpected_disconnect";
|
|
861
860
|
oauth_authorization_failed: "oauth_authorization_failed";
|
|
862
861
|
official_origin_untrusted: "official_origin_untrusted";
|
|
862
|
+
coding_plan_required: "coding_plan_required";
|
|
863
863
|
server_not_found: "server_not_found";
|
|
864
864
|
server_unavailable: "server_unavailable";
|
|
865
865
|
rate_limited: "rate_limited";
|
|
@@ -1040,8 +1040,8 @@ export type DCodeSessionGoal = z.infer<typeof dcodeSessionGoalSchema>;
|
|
|
1040
1040
|
export declare const dcodeSessionTodoItemSchema: z.ZodObject<{
|
|
1041
1041
|
content: z.ZodString;
|
|
1042
1042
|
status: z.ZodEnum<{
|
|
1043
|
-
completed: "completed";
|
|
1044
1043
|
pending: "pending";
|
|
1044
|
+
completed: "completed";
|
|
1045
1045
|
in_progress: "in_progress";
|
|
1046
1046
|
}>;
|
|
1047
1047
|
priority: z.ZodEnum<{
|
|
@@ -1075,8 +1075,8 @@ export declare const dcodeSessionTodoGroupSchema: z.ZodObject<{
|
|
|
1075
1075
|
todos: z.ZodArray<z.ZodObject<{
|
|
1076
1076
|
content: z.ZodString;
|
|
1077
1077
|
status: z.ZodEnum<{
|
|
1078
|
-
completed: "completed";
|
|
1079
1078
|
pending: "pending";
|
|
1079
|
+
completed: "completed";
|
|
1080
1080
|
in_progress: "in_progress";
|
|
1081
1081
|
}>;
|
|
1082
1082
|
priority: z.ZodEnum<{
|
|
@@ -1151,19 +1151,19 @@ export declare const dcodeSessionSettingsStateSchema: z.ZodObject<{
|
|
|
1151
1151
|
}, z.core.$strict>;
|
|
1152
1152
|
mode: z.ZodObject<{
|
|
1153
1153
|
current: z.ZodEnum<{
|
|
1154
|
-
|
|
1154
|
+
auto: "auto";
|
|
1155
1155
|
plan: "plan";
|
|
1156
|
+
yolo: "yolo";
|
|
1156
1157
|
edit: "edit";
|
|
1157
|
-
auto: "auto";
|
|
1158
1158
|
build: "build";
|
|
1159
1159
|
}>;
|
|
1160
1160
|
}, z.core.$strict>;
|
|
1161
1161
|
permission: z.ZodOptional<z.ZodObject<{
|
|
1162
1162
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1163
|
-
|
|
1163
|
+
auto: "auto";
|
|
1164
1164
|
plan: "plan";
|
|
1165
|
+
yolo: "yolo";
|
|
1165
1166
|
edit: "edit";
|
|
1166
|
-
auto: "auto";
|
|
1167
1167
|
build: "build";
|
|
1168
1168
|
}>>;
|
|
1169
1169
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1228,10 +1228,10 @@ export declare const dcodeActiveToolCallSchema: z.ZodObject<{
|
|
|
1228
1228
|
toolCallId: z.ZodString;
|
|
1229
1229
|
toolName: z.ZodString;
|
|
1230
1230
|
status: z.ZodEnum<{
|
|
1231
|
-
completed: "completed";
|
|
1232
1231
|
failed: "failed";
|
|
1233
|
-
running: "running";
|
|
1234
1232
|
pending: "pending";
|
|
1233
|
+
completed: "completed";
|
|
1234
|
+
running: "running";
|
|
1235
1235
|
denied: "denied";
|
|
1236
1236
|
}>;
|
|
1237
1237
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1240,18 +1240,18 @@ export type DCodeActiveToolCall = z.infer<typeof dcodeActiveToolCallSchema>;
|
|
|
1240
1240
|
export declare const dcodeSessionProjectionSchema: z.ZodObject<{
|
|
1241
1241
|
sessionId: z.ZodString;
|
|
1242
1242
|
status: z.ZodEnum<{
|
|
1243
|
+
error: "error";
|
|
1243
1244
|
completed: "completed";
|
|
1244
|
-
paused: "paused";
|
|
1245
1245
|
idle: "idle";
|
|
1246
|
+
paused: "paused";
|
|
1246
1247
|
running: "running";
|
|
1247
|
-
error: "error";
|
|
1248
1248
|
waiting: "waiting";
|
|
1249
1249
|
}>;
|
|
1250
1250
|
mode: z.ZodEnum<{
|
|
1251
|
-
|
|
1251
|
+
auto: "auto";
|
|
1252
1252
|
plan: "plan";
|
|
1253
|
+
yolo: "yolo";
|
|
1253
1254
|
edit: "edit";
|
|
1254
|
-
auto: "auto";
|
|
1255
1255
|
build: "build";
|
|
1256
1256
|
}>;
|
|
1257
1257
|
turnCount: z.ZodNumber;
|
|
@@ -1316,10 +1316,10 @@ export declare const dcodeSessionProjectionSchema: z.ZodObject<{
|
|
|
1316
1316
|
toolCallId: z.ZodString;
|
|
1317
1317
|
toolName: z.ZodString;
|
|
1318
1318
|
status: z.ZodEnum<{
|
|
1319
|
-
completed: "completed";
|
|
1320
1319
|
failed: "failed";
|
|
1321
|
-
running: "running";
|
|
1322
1320
|
pending: "pending";
|
|
1321
|
+
completed: "completed";
|
|
1322
|
+
running: "running";
|
|
1323
1323
|
denied: "denied";
|
|
1324
1324
|
}>;
|
|
1325
1325
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1333,8 +1333,8 @@ export declare const dcodeSessionProjectionSchema: z.ZodObject<{
|
|
|
1333
1333
|
status: z.ZodEnum<{
|
|
1334
1334
|
active: "active";
|
|
1335
1335
|
paused: "paused";
|
|
1336
|
-
complete: "complete";
|
|
1337
1336
|
budget_limited: "budget_limited";
|
|
1337
|
+
complete: "complete";
|
|
1338
1338
|
}>;
|
|
1339
1339
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
1340
1340
|
tokensUsed: z.ZodNumber;
|
|
@@ -1353,28 +1353,28 @@ export declare const dcodeSessionProjectionSchema: z.ZodObject<{
|
|
|
1353
1353
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
1354
1354
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1355
1355
|
provider: "provider";
|
|
1356
|
-
runtime: "runtime";
|
|
1357
1356
|
tool: "tool";
|
|
1357
|
+
runtime: "runtime";
|
|
1358
1358
|
network: "network";
|
|
1359
1359
|
}>>;
|
|
1360
1360
|
reason: z.ZodOptional<z.ZodString>;
|
|
1361
1361
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
1362
1362
|
response: "response";
|
|
1363
|
+
connect: "connect";
|
|
1363
1364
|
prepare: "prepare";
|
|
1364
1365
|
configuration: "configuration";
|
|
1365
|
-
connect: "connect";
|
|
1366
1366
|
stream: "stream";
|
|
1367
1367
|
parse: "parse";
|
|
1368
1368
|
validation: "validation";
|
|
1369
1369
|
unhandled: "unhandled";
|
|
1370
1370
|
}>>;
|
|
1371
1371
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
1372
|
+
transport: "transport";
|
|
1372
1373
|
validation: "validation";
|
|
1373
1374
|
api_call: "api_call";
|
|
1374
1375
|
generic: "generic";
|
|
1375
1376
|
protocol: "protocol";
|
|
1376
1377
|
provider_business: "provider_business";
|
|
1377
|
-
transport: "transport";
|
|
1378
1378
|
type_error: "type_error";
|
|
1379
1379
|
}>>;
|
|
1380
1380
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -1472,22 +1472,22 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1472
1472
|
titleSource: z.ZodOptional<z.ZodEnum<{
|
|
1473
1473
|
default: "default";
|
|
1474
1474
|
custom: "custom";
|
|
1475
|
-
generated: "generated";
|
|
1476
1475
|
first_input: "first_input";
|
|
1476
|
+
generated: "generated";
|
|
1477
1477
|
}>>;
|
|
1478
1478
|
mode: z.ZodEnum<{
|
|
1479
|
-
|
|
1479
|
+
auto: "auto";
|
|
1480
1480
|
plan: "plan";
|
|
1481
|
+
yolo: "yolo";
|
|
1481
1482
|
edit: "edit";
|
|
1482
|
-
auto: "auto";
|
|
1483
1483
|
build: "build";
|
|
1484
1484
|
}>;
|
|
1485
1485
|
status: z.ZodEnum<{
|
|
1486
|
+
error: "error";
|
|
1486
1487
|
completed: "completed";
|
|
1487
|
-
paused: "paused";
|
|
1488
1488
|
idle: "idle";
|
|
1489
|
+
paused: "paused";
|
|
1489
1490
|
running: "running";
|
|
1490
|
-
error: "error";
|
|
1491
1491
|
waiting: "waiting";
|
|
1492
1492
|
}>;
|
|
1493
1493
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -1505,8 +1505,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1505
1505
|
status: z.ZodEnum<{
|
|
1506
1506
|
active: "active";
|
|
1507
1507
|
paused: "paused";
|
|
1508
|
-
complete: "complete";
|
|
1509
1508
|
budget_limited: "budget_limited";
|
|
1509
|
+
complete: "complete";
|
|
1510
1510
|
}>;
|
|
1511
1511
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
1512
1512
|
tokensUsed: z.ZodNumber;
|
|
@@ -1585,19 +1585,19 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1585
1585
|
}, z.core.$strict>;
|
|
1586
1586
|
mode: z.ZodObject<{
|
|
1587
1587
|
current: z.ZodEnum<{
|
|
1588
|
-
|
|
1588
|
+
auto: "auto";
|
|
1589
1589
|
plan: "plan";
|
|
1590
|
+
yolo: "yolo";
|
|
1590
1591
|
edit: "edit";
|
|
1591
|
-
auto: "auto";
|
|
1592
1592
|
build: "build";
|
|
1593
1593
|
}>;
|
|
1594
1594
|
}, z.core.$strict>;
|
|
1595
1595
|
permission: z.ZodOptional<z.ZodObject<{
|
|
1596
1596
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1597
|
-
|
|
1597
|
+
auto: "auto";
|
|
1598
1598
|
plan: "plan";
|
|
1599
|
+
yolo: "yolo";
|
|
1599
1600
|
edit: "edit";
|
|
1600
|
-
auto: "auto";
|
|
1601
1601
|
build: "build";
|
|
1602
1602
|
}>>;
|
|
1603
1603
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1606,18 +1606,18 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1606
1606
|
projection: z.ZodObject<{
|
|
1607
1607
|
sessionId: z.ZodString;
|
|
1608
1608
|
status: z.ZodEnum<{
|
|
1609
|
+
error: "error";
|
|
1609
1610
|
completed: "completed";
|
|
1610
|
-
paused: "paused";
|
|
1611
1611
|
idle: "idle";
|
|
1612
|
+
paused: "paused";
|
|
1612
1613
|
running: "running";
|
|
1613
|
-
error: "error";
|
|
1614
1614
|
waiting: "waiting";
|
|
1615
1615
|
}>;
|
|
1616
1616
|
mode: z.ZodEnum<{
|
|
1617
|
-
|
|
1617
|
+
auto: "auto";
|
|
1618
1618
|
plan: "plan";
|
|
1619
|
+
yolo: "yolo";
|
|
1619
1620
|
edit: "edit";
|
|
1620
|
-
auto: "auto";
|
|
1621
1621
|
build: "build";
|
|
1622
1622
|
}>;
|
|
1623
1623
|
turnCount: z.ZodNumber;
|
|
@@ -1682,10 +1682,10 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1682
1682
|
toolCallId: z.ZodString;
|
|
1683
1683
|
toolName: z.ZodString;
|
|
1684
1684
|
status: z.ZodEnum<{
|
|
1685
|
-
completed: "completed";
|
|
1686
1685
|
failed: "failed";
|
|
1687
|
-
running: "running";
|
|
1688
1686
|
pending: "pending";
|
|
1687
|
+
completed: "completed";
|
|
1688
|
+
running: "running";
|
|
1689
1689
|
denied: "denied";
|
|
1690
1690
|
}>;
|
|
1691
1691
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1699,8 +1699,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1699
1699
|
status: z.ZodEnum<{
|
|
1700
1700
|
active: "active";
|
|
1701
1701
|
paused: "paused";
|
|
1702
|
-
complete: "complete";
|
|
1703
1702
|
budget_limited: "budget_limited";
|
|
1703
|
+
complete: "complete";
|
|
1704
1704
|
}>;
|
|
1705
1705
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
1706
1706
|
tokensUsed: z.ZodNumber;
|
|
@@ -1719,28 +1719,28 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1719
1719
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
1720
1720
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1721
1721
|
provider: "provider";
|
|
1722
|
-
runtime: "runtime";
|
|
1723
1722
|
tool: "tool";
|
|
1723
|
+
runtime: "runtime";
|
|
1724
1724
|
network: "network";
|
|
1725
1725
|
}>>;
|
|
1726
1726
|
reason: z.ZodOptional<z.ZodString>;
|
|
1727
1727
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
1728
1728
|
response: "response";
|
|
1729
|
+
connect: "connect";
|
|
1729
1730
|
prepare: "prepare";
|
|
1730
1731
|
configuration: "configuration";
|
|
1731
|
-
connect: "connect";
|
|
1732
1732
|
stream: "stream";
|
|
1733
1733
|
parse: "parse";
|
|
1734
1734
|
validation: "validation";
|
|
1735
1735
|
unhandled: "unhandled";
|
|
1736
1736
|
}>>;
|
|
1737
1737
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
1738
|
+
transport: "transport";
|
|
1738
1739
|
validation: "validation";
|
|
1739
1740
|
api_call: "api_call";
|
|
1740
1741
|
generic: "generic";
|
|
1741
1742
|
protocol: "protocol";
|
|
1742
1743
|
provider_business: "provider_business";
|
|
1743
|
-
transport: "transport";
|
|
1744
1744
|
type_error: "type_error";
|
|
1745
1745
|
}>>;
|
|
1746
1746
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -1767,8 +1767,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1767
1767
|
activeTurnId: z.ZodOptional<z.ZodString>;
|
|
1768
1768
|
activeTurnKind: z.ZodOptional<z.ZodEnum<{
|
|
1769
1769
|
rewind: "rewind";
|
|
1770
|
-
compact: "compact";
|
|
1771
1770
|
regular: "regular";
|
|
1771
|
+
compact: "compact";
|
|
1772
1772
|
}>>;
|
|
1773
1773
|
pendingRequestIds: z.ZodArray<z.ZodString>;
|
|
1774
1774
|
apiRetry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1799,13 +1799,13 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1799
1799
|
}, z.core.$strict>>;
|
|
1800
1800
|
breakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1801
1801
|
source: z.ZodEnum<{
|
|
1802
|
-
|
|
1802
|
+
messages: "messages";
|
|
1803
1803
|
system_prompt: "system_prompt";
|
|
1804
1804
|
meta_user_context: "meta_user_context";
|
|
1805
|
+
skills: "skills";
|
|
1805
1806
|
tool_prompt: "tool_prompt";
|
|
1806
1807
|
system_tool_schemas: "system_tool_schemas";
|
|
1807
1808
|
mcp_tool_schemas: "mcp_tool_schemas";
|
|
1808
|
-
messages: "messages";
|
|
1809
1809
|
}>;
|
|
1810
1810
|
chars: z.ZodNumber;
|
|
1811
1811
|
}, z.core.$strict>>>;
|
|
@@ -1862,12 +1862,12 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1862
1862
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
1863
1863
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1864
1864
|
subagent: "subagent";
|
|
1865
|
-
rewind: "rewind";
|
|
1866
|
-
fork: "fork";
|
|
1867
1865
|
background_task: "background_task";
|
|
1866
|
+
fork: "fork";
|
|
1868
1867
|
goal_state_change: "goal_state_change";
|
|
1869
1868
|
"goal-continuation": "goal-continuation";
|
|
1870
1869
|
plugin_reference: "plugin_reference";
|
|
1870
|
+
rewind: "rewind";
|
|
1871
1871
|
selection_side_chat: "selection_side_chat";
|
|
1872
1872
|
subagent_message: "subagent_message";
|
|
1873
1873
|
todo_reminder: "todo_reminder";
|
|
@@ -2120,8 +2120,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
2120
2120
|
}, z.core.$strict>>;
|
|
2121
2121
|
operationId: z.ZodOptional<z.ZodString>;
|
|
2122
2122
|
trigger: z.ZodOptional<z.ZodEnum<{
|
|
2123
|
-
manual: "manual";
|
|
2124
2123
|
auto: "auto";
|
|
2124
|
+
manual: "manual";
|
|
2125
2125
|
partial: "partial";
|
|
2126
2126
|
reactive: "reactive";
|
|
2127
2127
|
session_memory: "session_memory";
|
|
@@ -2212,8 +2212,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
2212
2212
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2213
2213
|
content: z.ZodString;
|
|
2214
2214
|
status: z.ZodEnum<{
|
|
2215
|
-
completed: "completed";
|
|
2216
2215
|
pending: "pending";
|
|
2216
|
+
completed: "completed";
|
|
2217
2217
|
in_progress: "in_progress";
|
|
2218
2218
|
}>;
|
|
2219
2219
|
priority: z.ZodEnum<{
|
|
@@ -2235,8 +2235,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
2235
2235
|
todos: z.ZodArray<z.ZodObject<{
|
|
2236
2236
|
content: z.ZodString;
|
|
2237
2237
|
status: z.ZodEnum<{
|
|
2238
|
-
completed: "completed";
|
|
2239
2238
|
pending: "pending";
|
|
2239
|
+
completed: "completed";
|
|
2240
2240
|
in_progress: "in_progress";
|
|
2241
2241
|
}>;
|
|
2242
2242
|
priority: z.ZodEnum<{
|
|
@@ -2356,28 +2356,28 @@ export declare const dcodeProtocolErrorDetailSchema: z.ZodObject<{
|
|
|
2356
2356
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
2357
2357
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2358
2358
|
provider: "provider";
|
|
2359
|
-
runtime: "runtime";
|
|
2360
2359
|
tool: "tool";
|
|
2360
|
+
runtime: "runtime";
|
|
2361
2361
|
network: "network";
|
|
2362
2362
|
}>>;
|
|
2363
2363
|
reason: z.ZodOptional<z.ZodString>;
|
|
2364
2364
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
2365
2365
|
response: "response";
|
|
2366
|
+
connect: "connect";
|
|
2366
2367
|
prepare: "prepare";
|
|
2367
2368
|
configuration: "configuration";
|
|
2368
|
-
connect: "connect";
|
|
2369
2369
|
stream: "stream";
|
|
2370
2370
|
parse: "parse";
|
|
2371
2371
|
validation: "validation";
|
|
2372
2372
|
unhandled: "unhandled";
|
|
2373
2373
|
}>>;
|
|
2374
2374
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
2375
|
+
transport: "transport";
|
|
2375
2376
|
validation: "validation";
|
|
2376
2377
|
api_call: "api_call";
|
|
2377
2378
|
generic: "generic";
|
|
2378
2379
|
protocol: "protocol";
|
|
2379
2380
|
provider_business: "provider_business";
|
|
2380
|
-
transport: "transport";
|
|
2381
2381
|
type_error: "type_error";
|
|
2382
2382
|
}>>;
|
|
2383
2383
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -2397,10 +2397,10 @@ export declare const dcodeProtocolErrorDetailSchema: z.ZodObject<{
|
|
|
2397
2397
|
}, z.core.$strict>;
|
|
2398
2398
|
export declare const dcodeSessionCreatedEventPayloadSchema: z.ZodObject<{
|
|
2399
2399
|
mode: z.ZodEnum<{
|
|
2400
|
-
|
|
2400
|
+
auto: "auto";
|
|
2401
2401
|
plan: "plan";
|
|
2402
|
+
yolo: "yolo";
|
|
2402
2403
|
edit: "edit";
|
|
2403
|
-
auto: "auto";
|
|
2404
2404
|
build: "build";
|
|
2405
2405
|
}>;
|
|
2406
2406
|
contextWindow: z.ZodNumber;
|
|
@@ -2420,8 +2420,8 @@ export declare const dcodeSessionTitleUpdatedEventPayloadSchema: z.ZodObject<{
|
|
|
2420
2420
|
source: z.ZodEnum<{
|
|
2421
2421
|
default: "default";
|
|
2422
2422
|
custom: "custom";
|
|
2423
|
-
generated: "generated";
|
|
2424
2423
|
first_input: "first_input";
|
|
2424
|
+
generated: "generated";
|
|
2425
2425
|
}>;
|
|
2426
2426
|
title: z.ZodString;
|
|
2427
2427
|
}, z.core.$strict>;
|
|
@@ -2432,12 +2432,12 @@ export declare const dcodeTurnStartedEventPayloadSchema: z.ZodObject<{
|
|
|
2432
2432
|
queryId: z.ZodOptional<z.ZodString>;
|
|
2433
2433
|
inputSource: z.ZodOptional<z.ZodEnum<{
|
|
2434
2434
|
subagent: "subagent";
|
|
2435
|
-
rewind: "rewind";
|
|
2436
|
-
fork: "fork";
|
|
2437
2435
|
background_task: "background_task";
|
|
2436
|
+
fork: "fork";
|
|
2438
2437
|
goal_state_change: "goal_state_change";
|
|
2439
2438
|
"goal-continuation": "goal-continuation";
|
|
2440
2439
|
plugin_reference: "plugin_reference";
|
|
2440
|
+
rewind: "rewind";
|
|
2441
2441
|
selection_side_chat: "selection_side_chat";
|
|
2442
2442
|
subagent_message: "subagent_message";
|
|
2443
2443
|
todo_reminder: "todo_reminder";
|
|
@@ -2541,28 +2541,28 @@ export declare const dcodeTurnFailedEventPayloadSchema: z.ZodObject<{
|
|
|
2541
2541
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
2542
2542
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2543
2543
|
provider: "provider";
|
|
2544
|
-
runtime: "runtime";
|
|
2545
2544
|
tool: "tool";
|
|
2545
|
+
runtime: "runtime";
|
|
2546
2546
|
network: "network";
|
|
2547
2547
|
}>>;
|
|
2548
2548
|
reason: z.ZodOptional<z.ZodString>;
|
|
2549
2549
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
2550
2550
|
response: "response";
|
|
2551
|
+
connect: "connect";
|
|
2551
2552
|
prepare: "prepare";
|
|
2552
2553
|
configuration: "configuration";
|
|
2553
|
-
connect: "connect";
|
|
2554
2554
|
stream: "stream";
|
|
2555
2555
|
parse: "parse";
|
|
2556
2556
|
validation: "validation";
|
|
2557
2557
|
unhandled: "unhandled";
|
|
2558
2558
|
}>>;
|
|
2559
2559
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
2560
|
+
transport: "transport";
|
|
2560
2561
|
validation: "validation";
|
|
2561
2562
|
api_call: "api_call";
|
|
2562
2563
|
generic: "generic";
|
|
2563
2564
|
protocol: "protocol";
|
|
2564
2565
|
provider_business: "provider_business";
|
|
2565
|
-
transport: "transport";
|
|
2566
2566
|
type_error: "type_error";
|
|
2567
2567
|
}>>;
|
|
2568
2568
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -2601,8 +2601,8 @@ export declare const dcodeMessagePartDeltaEventPayloadSchema: z.ZodObject<{
|
|
|
2601
2601
|
field: z.ZodOptional<z.ZodEnum<{
|
|
2602
2602
|
output: "output";
|
|
2603
2603
|
input: "input";
|
|
2604
|
-
text: "text";
|
|
2605
2604
|
reasoning: "reasoning";
|
|
2605
|
+
text: "text";
|
|
2606
2606
|
}>>;
|
|
2607
2607
|
delta: z.ZodString;
|
|
2608
2608
|
}, z.core.$strict>;
|
|
@@ -2736,8 +2736,8 @@ export declare const dcodeMessagePartUpsertedEventPayloadSchema: z.ZodObject<{
|
|
|
2736
2736
|
}, z.core.$strict>>;
|
|
2737
2737
|
operationId: z.ZodOptional<z.ZodString>;
|
|
2738
2738
|
trigger: z.ZodOptional<z.ZodEnum<{
|
|
2739
|
-
manual: "manual";
|
|
2740
2739
|
auto: "auto";
|
|
2740
|
+
manual: "manual";
|
|
2741
2741
|
partial: "partial";
|
|
2742
2742
|
reactive: "reactive";
|
|
2743
2743
|
session_memory: "session_memory";
|
|
@@ -2928,28 +2928,28 @@ export declare const dcodeToolUpdatedEventPayloadSchema: z.ZodDiscriminatedUnion
|
|
|
2928
2928
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
2929
2929
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2930
2930
|
provider: "provider";
|
|
2931
|
-
runtime: "runtime";
|
|
2932
2931
|
tool: "tool";
|
|
2932
|
+
runtime: "runtime";
|
|
2933
2933
|
network: "network";
|
|
2934
2934
|
}>>;
|
|
2935
2935
|
reason: z.ZodOptional<z.ZodString>;
|
|
2936
2936
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
2937
2937
|
response: "response";
|
|
2938
|
+
connect: "connect";
|
|
2938
2939
|
prepare: "prepare";
|
|
2939
2940
|
configuration: "configuration";
|
|
2940
|
-
connect: "connect";
|
|
2941
2941
|
stream: "stream";
|
|
2942
2942
|
parse: "parse";
|
|
2943
2943
|
validation: "validation";
|
|
2944
2944
|
unhandled: "unhandled";
|
|
2945
2945
|
}>>;
|
|
2946
2946
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
2947
|
+
transport: "transport";
|
|
2947
2948
|
validation: "validation";
|
|
2948
2949
|
api_call: "api_call";
|
|
2949
2950
|
generic: "generic";
|
|
2950
2951
|
protocol: "protocol";
|
|
2951
2952
|
provider_business: "provider_business";
|
|
2952
|
-
transport: "transport";
|
|
2953
2953
|
type_error: "type_error";
|
|
2954
2954
|
}>>;
|
|
2955
2955
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -3074,9 +3074,9 @@ export declare const dcodeUserInputRequestedEventPayloadSchema: z.ZodObject<{
|
|
|
3074
3074
|
requestId: z.ZodString;
|
|
3075
3075
|
prompt: z.ZodString;
|
|
3076
3076
|
inputType: z.ZodOptional<z.ZodEnum<{
|
|
3077
|
-
confirm: "confirm";
|
|
3078
3077
|
text: "text";
|
|
3079
3078
|
choice: "choice";
|
|
3079
|
+
confirm: "confirm";
|
|
3080
3080
|
}>>;
|
|
3081
3081
|
choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3082
3082
|
}, z.core.$strict>;
|
|
@@ -3766,12 +3766,12 @@ export declare const dcodeSessionMessagesResultSchema: z.ZodObject<{
|
|
|
3766
3766
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
3767
3767
|
source: z.ZodOptional<z.ZodEnum<{
|
|
3768
3768
|
subagent: "subagent";
|
|
3769
|
-
rewind: "rewind";
|
|
3770
|
-
fork: "fork";
|
|
3771
3769
|
background_task: "background_task";
|
|
3770
|
+
fork: "fork";
|
|
3772
3771
|
goal_state_change: "goal_state_change";
|
|
3773
3772
|
"goal-continuation": "goal-continuation";
|
|
3774
3773
|
plugin_reference: "plugin_reference";
|
|
3774
|
+
rewind: "rewind";
|
|
3775
3775
|
selection_side_chat: "selection_side_chat";
|
|
3776
3776
|
subagent_message: "subagent_message";
|
|
3777
3777
|
todo_reminder: "todo_reminder";
|
|
@@ -4024,8 +4024,8 @@ export declare const dcodeSessionMessagesResultSchema: z.ZodObject<{
|
|
|
4024
4024
|
}, z.core.$strict>>;
|
|
4025
4025
|
operationId: z.ZodOptional<z.ZodString>;
|
|
4026
4026
|
trigger: z.ZodOptional<z.ZodEnum<{
|
|
4027
|
-
manual: "manual";
|
|
4028
4027
|
auto: "auto";
|
|
4028
|
+
manual: "manual";
|
|
4029
4029
|
partial: "partial";
|
|
4030
4030
|
reactive: "reactive";
|
|
4031
4031
|
session_memory: "session_memory";
|
|
@@ -4491,22 +4491,22 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4491
4491
|
titleSource: z.ZodOptional<z.ZodEnum<{
|
|
4492
4492
|
default: "default";
|
|
4493
4493
|
custom: "custom";
|
|
4494
|
-
generated: "generated";
|
|
4495
4494
|
first_input: "first_input";
|
|
4495
|
+
generated: "generated";
|
|
4496
4496
|
}>>;
|
|
4497
4497
|
mode: z.ZodEnum<{
|
|
4498
|
-
|
|
4498
|
+
auto: "auto";
|
|
4499
4499
|
plan: "plan";
|
|
4500
|
+
yolo: "yolo";
|
|
4500
4501
|
edit: "edit";
|
|
4501
|
-
auto: "auto";
|
|
4502
4502
|
build: "build";
|
|
4503
4503
|
}>;
|
|
4504
4504
|
status: z.ZodEnum<{
|
|
4505
|
+
error: "error";
|
|
4505
4506
|
completed: "completed";
|
|
4506
|
-
paused: "paused";
|
|
4507
4507
|
idle: "idle";
|
|
4508
|
+
paused: "paused";
|
|
4508
4509
|
running: "running";
|
|
4509
|
-
error: "error";
|
|
4510
4510
|
waiting: "waiting";
|
|
4511
4511
|
}>;
|
|
4512
4512
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -4524,8 +4524,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4524
4524
|
status: z.ZodEnum<{
|
|
4525
4525
|
active: "active";
|
|
4526
4526
|
paused: "paused";
|
|
4527
|
-
complete: "complete";
|
|
4528
4527
|
budget_limited: "budget_limited";
|
|
4528
|
+
complete: "complete";
|
|
4529
4529
|
}>;
|
|
4530
4530
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
4531
4531
|
tokensUsed: z.ZodNumber;
|
|
@@ -4604,19 +4604,19 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4604
4604
|
}, z.core.$strict>;
|
|
4605
4605
|
mode: z.ZodObject<{
|
|
4606
4606
|
current: z.ZodEnum<{
|
|
4607
|
-
|
|
4607
|
+
auto: "auto";
|
|
4608
4608
|
plan: "plan";
|
|
4609
|
+
yolo: "yolo";
|
|
4609
4610
|
edit: "edit";
|
|
4610
|
-
auto: "auto";
|
|
4611
4611
|
build: "build";
|
|
4612
4612
|
}>;
|
|
4613
4613
|
}, z.core.$strict>;
|
|
4614
4614
|
permission: z.ZodOptional<z.ZodObject<{
|
|
4615
4615
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
4616
|
-
|
|
4616
|
+
auto: "auto";
|
|
4617
4617
|
plan: "plan";
|
|
4618
|
+
yolo: "yolo";
|
|
4618
4619
|
edit: "edit";
|
|
4619
|
-
auto: "auto";
|
|
4620
4620
|
build: "build";
|
|
4621
4621
|
}>>;
|
|
4622
4622
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4625,18 +4625,18 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4625
4625
|
projection: z.ZodObject<{
|
|
4626
4626
|
sessionId: z.ZodString;
|
|
4627
4627
|
status: z.ZodEnum<{
|
|
4628
|
+
error: "error";
|
|
4628
4629
|
completed: "completed";
|
|
4629
|
-
paused: "paused";
|
|
4630
4630
|
idle: "idle";
|
|
4631
|
+
paused: "paused";
|
|
4631
4632
|
running: "running";
|
|
4632
|
-
error: "error";
|
|
4633
4633
|
waiting: "waiting";
|
|
4634
4634
|
}>;
|
|
4635
4635
|
mode: z.ZodEnum<{
|
|
4636
|
-
|
|
4636
|
+
auto: "auto";
|
|
4637
4637
|
plan: "plan";
|
|
4638
|
+
yolo: "yolo";
|
|
4638
4639
|
edit: "edit";
|
|
4639
|
-
auto: "auto";
|
|
4640
4640
|
build: "build";
|
|
4641
4641
|
}>;
|
|
4642
4642
|
turnCount: z.ZodNumber;
|
|
@@ -4701,10 +4701,10 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4701
4701
|
toolCallId: z.ZodString;
|
|
4702
4702
|
toolName: z.ZodString;
|
|
4703
4703
|
status: z.ZodEnum<{
|
|
4704
|
-
completed: "completed";
|
|
4705
4704
|
failed: "failed";
|
|
4706
|
-
running: "running";
|
|
4707
4705
|
pending: "pending";
|
|
4706
|
+
completed: "completed";
|
|
4707
|
+
running: "running";
|
|
4708
4708
|
denied: "denied";
|
|
4709
4709
|
}>;
|
|
4710
4710
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4718,8 +4718,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4718
4718
|
status: z.ZodEnum<{
|
|
4719
4719
|
active: "active";
|
|
4720
4720
|
paused: "paused";
|
|
4721
|
-
complete: "complete";
|
|
4722
4721
|
budget_limited: "budget_limited";
|
|
4722
|
+
complete: "complete";
|
|
4723
4723
|
}>;
|
|
4724
4724
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
4725
4725
|
tokensUsed: z.ZodNumber;
|
|
@@ -4738,28 +4738,28 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4738
4738
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
4739
4739
|
source: z.ZodOptional<z.ZodEnum<{
|
|
4740
4740
|
provider: "provider";
|
|
4741
|
-
runtime: "runtime";
|
|
4742
4741
|
tool: "tool";
|
|
4742
|
+
runtime: "runtime";
|
|
4743
4743
|
network: "network";
|
|
4744
4744
|
}>>;
|
|
4745
4745
|
reason: z.ZodOptional<z.ZodString>;
|
|
4746
4746
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
4747
4747
|
response: "response";
|
|
4748
|
+
connect: "connect";
|
|
4748
4749
|
prepare: "prepare";
|
|
4749
4750
|
configuration: "configuration";
|
|
4750
|
-
connect: "connect";
|
|
4751
4751
|
stream: "stream";
|
|
4752
4752
|
parse: "parse";
|
|
4753
4753
|
validation: "validation";
|
|
4754
4754
|
unhandled: "unhandled";
|
|
4755
4755
|
}>>;
|
|
4756
4756
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
4757
|
+
transport: "transport";
|
|
4757
4758
|
validation: "validation";
|
|
4758
4759
|
api_call: "api_call";
|
|
4759
4760
|
generic: "generic";
|
|
4760
4761
|
protocol: "protocol";
|
|
4761
4762
|
provider_business: "provider_business";
|
|
4762
|
-
transport: "transport";
|
|
4763
4763
|
type_error: "type_error";
|
|
4764
4764
|
}>>;
|
|
4765
4765
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -4786,8 +4786,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4786
4786
|
activeTurnId: z.ZodOptional<z.ZodString>;
|
|
4787
4787
|
activeTurnKind: z.ZodOptional<z.ZodEnum<{
|
|
4788
4788
|
rewind: "rewind";
|
|
4789
|
-
compact: "compact";
|
|
4790
4789
|
regular: "regular";
|
|
4790
|
+
compact: "compact";
|
|
4791
4791
|
}>>;
|
|
4792
4792
|
pendingRequestIds: z.ZodArray<z.ZodString>;
|
|
4793
4793
|
apiRetry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -4818,13 +4818,13 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4818
4818
|
}, z.core.$strict>>;
|
|
4819
4819
|
breakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4820
4820
|
source: z.ZodEnum<{
|
|
4821
|
-
|
|
4821
|
+
messages: "messages";
|
|
4822
4822
|
system_prompt: "system_prompt";
|
|
4823
4823
|
meta_user_context: "meta_user_context";
|
|
4824
|
+
skills: "skills";
|
|
4824
4825
|
tool_prompt: "tool_prompt";
|
|
4825
4826
|
system_tool_schemas: "system_tool_schemas";
|
|
4826
4827
|
mcp_tool_schemas: "mcp_tool_schemas";
|
|
4827
|
-
messages: "messages";
|
|
4828
4828
|
}>;
|
|
4829
4829
|
chars: z.ZodNumber;
|
|
4830
4830
|
}, z.core.$strict>>>;
|
|
@@ -4881,12 +4881,12 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4881
4881
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
4882
4882
|
source: z.ZodOptional<z.ZodEnum<{
|
|
4883
4883
|
subagent: "subagent";
|
|
4884
|
-
rewind: "rewind";
|
|
4885
|
-
fork: "fork";
|
|
4886
4884
|
background_task: "background_task";
|
|
4885
|
+
fork: "fork";
|
|
4887
4886
|
goal_state_change: "goal_state_change";
|
|
4888
4887
|
"goal-continuation": "goal-continuation";
|
|
4889
4888
|
plugin_reference: "plugin_reference";
|
|
4889
|
+
rewind: "rewind";
|
|
4890
4890
|
selection_side_chat: "selection_side_chat";
|
|
4891
4891
|
subagent_message: "subagent_message";
|
|
4892
4892
|
todo_reminder: "todo_reminder";
|
|
@@ -5139,8 +5139,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
5139
5139
|
}, z.core.$strict>>;
|
|
5140
5140
|
operationId: z.ZodOptional<z.ZodString>;
|
|
5141
5141
|
trigger: z.ZodOptional<z.ZodEnum<{
|
|
5142
|
-
manual: "manual";
|
|
5143
5142
|
auto: "auto";
|
|
5143
|
+
manual: "manual";
|
|
5144
5144
|
partial: "partial";
|
|
5145
5145
|
reactive: "reactive";
|
|
5146
5146
|
session_memory: "session_memory";
|
|
@@ -5231,8 +5231,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
5231
5231
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5232
5232
|
content: z.ZodString;
|
|
5233
5233
|
status: z.ZodEnum<{
|
|
5234
|
-
completed: "completed";
|
|
5235
5234
|
pending: "pending";
|
|
5235
|
+
completed: "completed";
|
|
5236
5236
|
in_progress: "in_progress";
|
|
5237
5237
|
}>;
|
|
5238
5238
|
priority: z.ZodEnum<{
|
|
@@ -5254,8 +5254,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
5254
5254
|
todos: z.ZodArray<z.ZodObject<{
|
|
5255
5255
|
content: z.ZodString;
|
|
5256
5256
|
status: z.ZodEnum<{
|
|
5257
|
-
completed: "completed";
|
|
5258
5257
|
pending: "pending";
|
|
5258
|
+
completed: "completed";
|
|
5259
5259
|
in_progress: "in_progress";
|
|
5260
5260
|
}>;
|
|
5261
5261
|
priority: z.ZodEnum<{
|
|
@@ -5300,22 +5300,22 @@ export declare const dcodeSessionListResultSchema: z.ZodObject<{
|
|
|
5300
5300
|
titleSource: z.ZodOptional<z.ZodEnum<{
|
|
5301
5301
|
default: "default";
|
|
5302
5302
|
custom: "custom";
|
|
5303
|
-
generated: "generated";
|
|
5304
5303
|
first_input: "first_input";
|
|
5304
|
+
generated: "generated";
|
|
5305
5305
|
}>>;
|
|
5306
5306
|
mode: z.ZodEnum<{
|
|
5307
|
-
|
|
5307
|
+
auto: "auto";
|
|
5308
5308
|
plan: "plan";
|
|
5309
|
+
yolo: "yolo";
|
|
5309
5310
|
edit: "edit";
|
|
5310
|
-
auto: "auto";
|
|
5311
5311
|
build: "build";
|
|
5312
5312
|
}>;
|
|
5313
5313
|
status: z.ZodEnum<{
|
|
5314
|
+
error: "error";
|
|
5314
5315
|
completed: "completed";
|
|
5315
|
-
paused: "paused";
|
|
5316
5316
|
idle: "idle";
|
|
5317
|
+
paused: "paused";
|
|
5317
5318
|
running: "running";
|
|
5318
|
-
error: "error";
|
|
5319
5319
|
waiting: "waiting";
|
|
5320
5320
|
}>;
|
|
5321
5321
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -5333,8 +5333,8 @@ export declare const dcodeSessionListResultSchema: z.ZodObject<{
|
|
|
5333
5333
|
status: z.ZodEnum<{
|
|
5334
5334
|
active: "active";
|
|
5335
5335
|
paused: "paused";
|
|
5336
|
-
complete: "complete";
|
|
5337
5336
|
budget_limited: "budget_limited";
|
|
5337
|
+
complete: "complete";
|
|
5338
5338
|
}>;
|
|
5339
5339
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
5340
5340
|
tokensUsed: z.ZodNumber;
|
|
@@ -5433,10 +5433,10 @@ export declare const dcodeSessionCreateParamsSchema: z.ZodObject<{
|
|
|
5433
5433
|
}, z.core.$strict>;
|
|
5434
5434
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
5435
5435
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
5436
|
-
|
|
5436
|
+
auto: "auto";
|
|
5437
5437
|
plan: "plan";
|
|
5438
|
+
yolo: "yolo";
|
|
5438
5439
|
edit: "edit";
|
|
5439
|
-
auto: "auto";
|
|
5440
5440
|
build: "build";
|
|
5441
5441
|
}>>;
|
|
5442
5442
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -5929,22 +5929,22 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
5929
5929
|
titleSource: z.ZodOptional<z.ZodEnum<{
|
|
5930
5930
|
default: "default";
|
|
5931
5931
|
custom: "custom";
|
|
5932
|
-
generated: "generated";
|
|
5933
5932
|
first_input: "first_input";
|
|
5933
|
+
generated: "generated";
|
|
5934
5934
|
}>>;
|
|
5935
5935
|
mode: z.ZodEnum<{
|
|
5936
|
-
|
|
5936
|
+
auto: "auto";
|
|
5937
5937
|
plan: "plan";
|
|
5938
|
+
yolo: "yolo";
|
|
5938
5939
|
edit: "edit";
|
|
5939
|
-
auto: "auto";
|
|
5940
5940
|
build: "build";
|
|
5941
5941
|
}>;
|
|
5942
5942
|
status: z.ZodEnum<{
|
|
5943
|
+
error: "error";
|
|
5943
5944
|
completed: "completed";
|
|
5944
|
-
paused: "paused";
|
|
5945
5945
|
idle: "idle";
|
|
5946
|
+
paused: "paused";
|
|
5946
5947
|
running: "running";
|
|
5947
|
-
error: "error";
|
|
5948
5948
|
waiting: "waiting";
|
|
5949
5949
|
}>;
|
|
5950
5950
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -5962,8 +5962,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
5962
5962
|
status: z.ZodEnum<{
|
|
5963
5963
|
active: "active";
|
|
5964
5964
|
paused: "paused";
|
|
5965
|
-
complete: "complete";
|
|
5966
5965
|
budget_limited: "budget_limited";
|
|
5966
|
+
complete: "complete";
|
|
5967
5967
|
}>;
|
|
5968
5968
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
5969
5969
|
tokensUsed: z.ZodNumber;
|
|
@@ -6042,19 +6042,19 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6042
6042
|
}, z.core.$strict>;
|
|
6043
6043
|
mode: z.ZodObject<{
|
|
6044
6044
|
current: z.ZodEnum<{
|
|
6045
|
-
|
|
6045
|
+
auto: "auto";
|
|
6046
6046
|
plan: "plan";
|
|
6047
|
+
yolo: "yolo";
|
|
6047
6048
|
edit: "edit";
|
|
6048
|
-
auto: "auto";
|
|
6049
6049
|
build: "build";
|
|
6050
6050
|
}>;
|
|
6051
6051
|
}, z.core.$strict>;
|
|
6052
6052
|
permission: z.ZodOptional<z.ZodObject<{
|
|
6053
6053
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
6054
|
-
|
|
6054
|
+
auto: "auto";
|
|
6055
6055
|
plan: "plan";
|
|
6056
|
+
yolo: "yolo";
|
|
6056
6057
|
edit: "edit";
|
|
6057
|
-
auto: "auto";
|
|
6058
6058
|
build: "build";
|
|
6059
6059
|
}>>;
|
|
6060
6060
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6063,18 +6063,18 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6063
6063
|
projection: z.ZodObject<{
|
|
6064
6064
|
sessionId: z.ZodString;
|
|
6065
6065
|
status: z.ZodEnum<{
|
|
6066
|
+
error: "error";
|
|
6066
6067
|
completed: "completed";
|
|
6067
|
-
paused: "paused";
|
|
6068
6068
|
idle: "idle";
|
|
6069
|
+
paused: "paused";
|
|
6069
6070
|
running: "running";
|
|
6070
|
-
error: "error";
|
|
6071
6071
|
waiting: "waiting";
|
|
6072
6072
|
}>;
|
|
6073
6073
|
mode: z.ZodEnum<{
|
|
6074
|
-
|
|
6074
|
+
auto: "auto";
|
|
6075
6075
|
plan: "plan";
|
|
6076
|
+
yolo: "yolo";
|
|
6076
6077
|
edit: "edit";
|
|
6077
|
-
auto: "auto";
|
|
6078
6078
|
build: "build";
|
|
6079
6079
|
}>;
|
|
6080
6080
|
turnCount: z.ZodNumber;
|
|
@@ -6139,10 +6139,10 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6139
6139
|
toolCallId: z.ZodString;
|
|
6140
6140
|
toolName: z.ZodString;
|
|
6141
6141
|
status: z.ZodEnum<{
|
|
6142
|
-
completed: "completed";
|
|
6143
6142
|
failed: "failed";
|
|
6144
|
-
running: "running";
|
|
6145
6143
|
pending: "pending";
|
|
6144
|
+
completed: "completed";
|
|
6145
|
+
running: "running";
|
|
6146
6146
|
denied: "denied";
|
|
6147
6147
|
}>;
|
|
6148
6148
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6156,8 +6156,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6156
6156
|
status: z.ZodEnum<{
|
|
6157
6157
|
active: "active";
|
|
6158
6158
|
paused: "paused";
|
|
6159
|
-
complete: "complete";
|
|
6160
6159
|
budget_limited: "budget_limited";
|
|
6160
|
+
complete: "complete";
|
|
6161
6161
|
}>;
|
|
6162
6162
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
6163
6163
|
tokensUsed: z.ZodNumber;
|
|
@@ -6176,28 +6176,28 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6176
6176
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
6177
6177
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6178
6178
|
provider: "provider";
|
|
6179
|
-
runtime: "runtime";
|
|
6180
6179
|
tool: "tool";
|
|
6180
|
+
runtime: "runtime";
|
|
6181
6181
|
network: "network";
|
|
6182
6182
|
}>>;
|
|
6183
6183
|
reason: z.ZodOptional<z.ZodString>;
|
|
6184
6184
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
6185
6185
|
response: "response";
|
|
6186
|
+
connect: "connect";
|
|
6186
6187
|
prepare: "prepare";
|
|
6187
6188
|
configuration: "configuration";
|
|
6188
|
-
connect: "connect";
|
|
6189
6189
|
stream: "stream";
|
|
6190
6190
|
parse: "parse";
|
|
6191
6191
|
validation: "validation";
|
|
6192
6192
|
unhandled: "unhandled";
|
|
6193
6193
|
}>>;
|
|
6194
6194
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
6195
|
+
transport: "transport";
|
|
6195
6196
|
validation: "validation";
|
|
6196
6197
|
api_call: "api_call";
|
|
6197
6198
|
generic: "generic";
|
|
6198
6199
|
protocol: "protocol";
|
|
6199
6200
|
provider_business: "provider_business";
|
|
6200
|
-
transport: "transport";
|
|
6201
6201
|
type_error: "type_error";
|
|
6202
6202
|
}>>;
|
|
6203
6203
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -6224,8 +6224,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6224
6224
|
activeTurnId: z.ZodOptional<z.ZodString>;
|
|
6225
6225
|
activeTurnKind: z.ZodOptional<z.ZodEnum<{
|
|
6226
6226
|
rewind: "rewind";
|
|
6227
|
-
compact: "compact";
|
|
6228
6227
|
regular: "regular";
|
|
6228
|
+
compact: "compact";
|
|
6229
6229
|
}>>;
|
|
6230
6230
|
pendingRequestIds: z.ZodArray<z.ZodString>;
|
|
6231
6231
|
apiRetry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -6256,13 +6256,13 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6256
6256
|
}, z.core.$strict>>;
|
|
6257
6257
|
breakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6258
6258
|
source: z.ZodEnum<{
|
|
6259
|
-
|
|
6259
|
+
messages: "messages";
|
|
6260
6260
|
system_prompt: "system_prompt";
|
|
6261
6261
|
meta_user_context: "meta_user_context";
|
|
6262
|
+
skills: "skills";
|
|
6262
6263
|
tool_prompt: "tool_prompt";
|
|
6263
6264
|
system_tool_schemas: "system_tool_schemas";
|
|
6264
6265
|
mcp_tool_schemas: "mcp_tool_schemas";
|
|
6265
|
-
messages: "messages";
|
|
6266
6266
|
}>;
|
|
6267
6267
|
chars: z.ZodNumber;
|
|
6268
6268
|
}, z.core.$strict>>>;
|
|
@@ -6319,12 +6319,12 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6319
6319
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
6320
6320
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6321
6321
|
subagent: "subagent";
|
|
6322
|
-
rewind: "rewind";
|
|
6323
|
-
fork: "fork";
|
|
6324
6322
|
background_task: "background_task";
|
|
6323
|
+
fork: "fork";
|
|
6325
6324
|
goal_state_change: "goal_state_change";
|
|
6326
6325
|
"goal-continuation": "goal-continuation";
|
|
6327
6326
|
plugin_reference: "plugin_reference";
|
|
6327
|
+
rewind: "rewind";
|
|
6328
6328
|
selection_side_chat: "selection_side_chat";
|
|
6329
6329
|
subagent_message: "subagent_message";
|
|
6330
6330
|
todo_reminder: "todo_reminder";
|
|
@@ -6577,8 +6577,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6577
6577
|
}, z.core.$strict>>;
|
|
6578
6578
|
operationId: z.ZodOptional<z.ZodString>;
|
|
6579
6579
|
trigger: z.ZodOptional<z.ZodEnum<{
|
|
6580
|
-
manual: "manual";
|
|
6581
6580
|
auto: "auto";
|
|
6581
|
+
manual: "manual";
|
|
6582
6582
|
partial: "partial";
|
|
6583
6583
|
reactive: "reactive";
|
|
6584
6584
|
session_memory: "session_memory";
|
|
@@ -6669,8 +6669,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6669
6669
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6670
6670
|
content: z.ZodString;
|
|
6671
6671
|
status: z.ZodEnum<{
|
|
6672
|
-
completed: "completed";
|
|
6673
6672
|
pending: "pending";
|
|
6673
|
+
completed: "completed";
|
|
6674
6674
|
in_progress: "in_progress";
|
|
6675
6675
|
}>;
|
|
6676
6676
|
priority: z.ZodEnum<{
|
|
@@ -6692,8 +6692,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6692
6692
|
todos: z.ZodArray<z.ZodObject<{
|
|
6693
6693
|
content: z.ZodString;
|
|
6694
6694
|
status: z.ZodEnum<{
|
|
6695
|
-
completed: "completed";
|
|
6696
6695
|
pending: "pending";
|
|
6696
|
+
completed: "completed";
|
|
6697
6697
|
in_progress: "in_progress";
|
|
6698
6698
|
}>;
|
|
6699
6699
|
priority: z.ZodEnum<{
|
|
@@ -6752,22 +6752,22 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6752
6752
|
titleSource: z.ZodOptional<z.ZodEnum<{
|
|
6753
6753
|
default: "default";
|
|
6754
6754
|
custom: "custom";
|
|
6755
|
-
generated: "generated";
|
|
6756
6755
|
first_input: "first_input";
|
|
6756
|
+
generated: "generated";
|
|
6757
6757
|
}>>;
|
|
6758
6758
|
mode: z.ZodEnum<{
|
|
6759
|
-
|
|
6759
|
+
auto: "auto";
|
|
6760
6760
|
plan: "plan";
|
|
6761
|
+
yolo: "yolo";
|
|
6761
6762
|
edit: "edit";
|
|
6762
|
-
auto: "auto";
|
|
6763
6763
|
build: "build";
|
|
6764
6764
|
}>;
|
|
6765
6765
|
status: z.ZodEnum<{
|
|
6766
|
+
error: "error";
|
|
6766
6767
|
completed: "completed";
|
|
6767
|
-
paused: "paused";
|
|
6768
6768
|
idle: "idle";
|
|
6769
|
+
paused: "paused";
|
|
6769
6770
|
running: "running";
|
|
6770
|
-
error: "error";
|
|
6771
6771
|
waiting: "waiting";
|
|
6772
6772
|
}>;
|
|
6773
6773
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -6785,8 +6785,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6785
6785
|
status: z.ZodEnum<{
|
|
6786
6786
|
active: "active";
|
|
6787
6787
|
paused: "paused";
|
|
6788
|
-
complete: "complete";
|
|
6789
6788
|
budget_limited: "budget_limited";
|
|
6789
|
+
complete: "complete";
|
|
6790
6790
|
}>;
|
|
6791
6791
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
6792
6792
|
tokensUsed: z.ZodNumber;
|
|
@@ -6865,19 +6865,19 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6865
6865
|
}, z.core.$strict>;
|
|
6866
6866
|
mode: z.ZodObject<{
|
|
6867
6867
|
current: z.ZodEnum<{
|
|
6868
|
-
|
|
6868
|
+
auto: "auto";
|
|
6869
6869
|
plan: "plan";
|
|
6870
|
+
yolo: "yolo";
|
|
6870
6871
|
edit: "edit";
|
|
6871
|
-
auto: "auto";
|
|
6872
6872
|
build: "build";
|
|
6873
6873
|
}>;
|
|
6874
6874
|
}, z.core.$strict>;
|
|
6875
6875
|
permission: z.ZodOptional<z.ZodObject<{
|
|
6876
6876
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
6877
|
-
|
|
6877
|
+
auto: "auto";
|
|
6878
6878
|
plan: "plan";
|
|
6879
|
+
yolo: "yolo";
|
|
6879
6880
|
edit: "edit";
|
|
6880
|
-
auto: "auto";
|
|
6881
6881
|
build: "build";
|
|
6882
6882
|
}>>;
|
|
6883
6883
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6886,18 +6886,18 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6886
6886
|
projection: z.ZodObject<{
|
|
6887
6887
|
sessionId: z.ZodString;
|
|
6888
6888
|
status: z.ZodEnum<{
|
|
6889
|
+
error: "error";
|
|
6889
6890
|
completed: "completed";
|
|
6890
|
-
paused: "paused";
|
|
6891
6891
|
idle: "idle";
|
|
6892
|
+
paused: "paused";
|
|
6892
6893
|
running: "running";
|
|
6893
|
-
error: "error";
|
|
6894
6894
|
waiting: "waiting";
|
|
6895
6895
|
}>;
|
|
6896
6896
|
mode: z.ZodEnum<{
|
|
6897
|
-
|
|
6897
|
+
auto: "auto";
|
|
6898
6898
|
plan: "plan";
|
|
6899
|
+
yolo: "yolo";
|
|
6899
6900
|
edit: "edit";
|
|
6900
|
-
auto: "auto";
|
|
6901
6901
|
build: "build";
|
|
6902
6902
|
}>;
|
|
6903
6903
|
turnCount: z.ZodNumber;
|
|
@@ -6962,10 +6962,10 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6962
6962
|
toolCallId: z.ZodString;
|
|
6963
6963
|
toolName: z.ZodString;
|
|
6964
6964
|
status: z.ZodEnum<{
|
|
6965
|
-
completed: "completed";
|
|
6966
6965
|
failed: "failed";
|
|
6967
|
-
running: "running";
|
|
6968
6966
|
pending: "pending";
|
|
6967
|
+
completed: "completed";
|
|
6968
|
+
running: "running";
|
|
6969
6969
|
denied: "denied";
|
|
6970
6970
|
}>;
|
|
6971
6971
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6979,8 +6979,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6979
6979
|
status: z.ZodEnum<{
|
|
6980
6980
|
active: "active";
|
|
6981
6981
|
paused: "paused";
|
|
6982
|
-
complete: "complete";
|
|
6983
6982
|
budget_limited: "budget_limited";
|
|
6983
|
+
complete: "complete";
|
|
6984
6984
|
}>;
|
|
6985
6985
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
6986
6986
|
tokensUsed: z.ZodNumber;
|
|
@@ -6999,28 +6999,28 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6999
6999
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
7000
7000
|
source: z.ZodOptional<z.ZodEnum<{
|
|
7001
7001
|
provider: "provider";
|
|
7002
|
-
runtime: "runtime";
|
|
7003
7002
|
tool: "tool";
|
|
7003
|
+
runtime: "runtime";
|
|
7004
7004
|
network: "network";
|
|
7005
7005
|
}>>;
|
|
7006
7006
|
reason: z.ZodOptional<z.ZodString>;
|
|
7007
7007
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
7008
7008
|
response: "response";
|
|
7009
|
+
connect: "connect";
|
|
7009
7010
|
prepare: "prepare";
|
|
7010
7011
|
configuration: "configuration";
|
|
7011
|
-
connect: "connect";
|
|
7012
7012
|
stream: "stream";
|
|
7013
7013
|
parse: "parse";
|
|
7014
7014
|
validation: "validation";
|
|
7015
7015
|
unhandled: "unhandled";
|
|
7016
7016
|
}>>;
|
|
7017
7017
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
7018
|
+
transport: "transport";
|
|
7018
7019
|
validation: "validation";
|
|
7019
7020
|
api_call: "api_call";
|
|
7020
7021
|
generic: "generic";
|
|
7021
7022
|
protocol: "protocol";
|
|
7022
7023
|
provider_business: "provider_business";
|
|
7023
|
-
transport: "transport";
|
|
7024
7024
|
type_error: "type_error";
|
|
7025
7025
|
}>>;
|
|
7026
7026
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -7047,8 +7047,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7047
7047
|
activeTurnId: z.ZodOptional<z.ZodString>;
|
|
7048
7048
|
activeTurnKind: z.ZodOptional<z.ZodEnum<{
|
|
7049
7049
|
rewind: "rewind";
|
|
7050
|
-
compact: "compact";
|
|
7051
7050
|
regular: "regular";
|
|
7051
|
+
compact: "compact";
|
|
7052
7052
|
}>>;
|
|
7053
7053
|
pendingRequestIds: z.ZodArray<z.ZodString>;
|
|
7054
7054
|
apiRetry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -7079,13 +7079,13 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7079
7079
|
}, z.core.$strict>>;
|
|
7080
7080
|
breakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7081
7081
|
source: z.ZodEnum<{
|
|
7082
|
-
|
|
7082
|
+
messages: "messages";
|
|
7083
7083
|
system_prompt: "system_prompt";
|
|
7084
7084
|
meta_user_context: "meta_user_context";
|
|
7085
|
+
skills: "skills";
|
|
7085
7086
|
tool_prompt: "tool_prompt";
|
|
7086
7087
|
system_tool_schemas: "system_tool_schemas";
|
|
7087
7088
|
mcp_tool_schemas: "mcp_tool_schemas";
|
|
7088
|
-
messages: "messages";
|
|
7089
7089
|
}>;
|
|
7090
7090
|
chars: z.ZodNumber;
|
|
7091
7091
|
}, z.core.$strict>>>;
|
|
@@ -7142,12 +7142,12 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7142
7142
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
7143
7143
|
source: z.ZodOptional<z.ZodEnum<{
|
|
7144
7144
|
subagent: "subagent";
|
|
7145
|
-
rewind: "rewind";
|
|
7146
|
-
fork: "fork";
|
|
7147
7145
|
background_task: "background_task";
|
|
7146
|
+
fork: "fork";
|
|
7148
7147
|
goal_state_change: "goal_state_change";
|
|
7149
7148
|
"goal-continuation": "goal-continuation";
|
|
7150
7149
|
plugin_reference: "plugin_reference";
|
|
7150
|
+
rewind: "rewind";
|
|
7151
7151
|
selection_side_chat: "selection_side_chat";
|
|
7152
7152
|
subagent_message: "subagent_message";
|
|
7153
7153
|
todo_reminder: "todo_reminder";
|
|
@@ -7400,8 +7400,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7400
7400
|
}, z.core.$strict>>;
|
|
7401
7401
|
operationId: z.ZodOptional<z.ZodString>;
|
|
7402
7402
|
trigger: z.ZodOptional<z.ZodEnum<{
|
|
7403
|
-
manual: "manual";
|
|
7404
7403
|
auto: "auto";
|
|
7404
|
+
manual: "manual";
|
|
7405
7405
|
partial: "partial";
|
|
7406
7406
|
reactive: "reactive";
|
|
7407
7407
|
session_memory: "session_memory";
|
|
@@ -7492,8 +7492,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7492
7492
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7493
7493
|
content: z.ZodString;
|
|
7494
7494
|
status: z.ZodEnum<{
|
|
7495
|
-
completed: "completed";
|
|
7496
7495
|
pending: "pending";
|
|
7496
|
+
completed: "completed";
|
|
7497
7497
|
in_progress: "in_progress";
|
|
7498
7498
|
}>;
|
|
7499
7499
|
priority: z.ZodEnum<{
|
|
@@ -7515,8 +7515,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7515
7515
|
todos: z.ZodArray<z.ZodObject<{
|
|
7516
7516
|
content: z.ZodString;
|
|
7517
7517
|
status: z.ZodEnum<{
|
|
7518
|
-
completed: "completed";
|
|
7519
7518
|
pending: "pending";
|
|
7519
|
+
completed: "completed";
|
|
7520
7520
|
in_progress: "in_progress";
|
|
7521
7521
|
}>;
|
|
7522
7522
|
priority: z.ZodEnum<{
|
|
@@ -7548,8 +7548,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7548
7548
|
export type DCodeSessionCompactResult = z.infer<typeof dcodeSessionCompactResultSchema>;
|
|
7549
7549
|
export declare const dcodeSessionGoalActionSchema: z.ZodEnum<{
|
|
7550
7550
|
set: "set";
|
|
7551
|
-
resume: "resume";
|
|
7552
7551
|
replace: "replace";
|
|
7552
|
+
resume: "resume";
|
|
7553
7553
|
show: "show";
|
|
7554
7554
|
pause: "pause";
|
|
7555
7555
|
clear: "clear";
|
|
@@ -7560,8 +7560,8 @@ export declare const dcodeSessionGoalParamsSchema: z.ZodObject<{
|
|
|
7560
7560
|
inputId: z.ZodOptional<z.ZodString>;
|
|
7561
7561
|
action: z.ZodEnum<{
|
|
7562
7562
|
set: "set";
|
|
7563
|
-
resume: "resume";
|
|
7564
7563
|
replace: "replace";
|
|
7564
|
+
resume: "resume";
|
|
7565
7565
|
show: "show";
|
|
7566
7566
|
pause: "pause";
|
|
7567
7567
|
clear: "clear";
|
|
@@ -7600,22 +7600,22 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7600
7600
|
titleSource: z.ZodOptional<z.ZodEnum<{
|
|
7601
7601
|
default: "default";
|
|
7602
7602
|
custom: "custom";
|
|
7603
|
-
generated: "generated";
|
|
7604
7603
|
first_input: "first_input";
|
|
7604
|
+
generated: "generated";
|
|
7605
7605
|
}>>;
|
|
7606
7606
|
mode: z.ZodEnum<{
|
|
7607
|
-
|
|
7607
|
+
auto: "auto";
|
|
7608
7608
|
plan: "plan";
|
|
7609
|
+
yolo: "yolo";
|
|
7609
7610
|
edit: "edit";
|
|
7610
|
-
auto: "auto";
|
|
7611
7611
|
build: "build";
|
|
7612
7612
|
}>;
|
|
7613
7613
|
status: z.ZodEnum<{
|
|
7614
|
+
error: "error";
|
|
7614
7615
|
completed: "completed";
|
|
7615
|
-
paused: "paused";
|
|
7616
7616
|
idle: "idle";
|
|
7617
|
+
paused: "paused";
|
|
7617
7618
|
running: "running";
|
|
7618
|
-
error: "error";
|
|
7619
7619
|
waiting: "waiting";
|
|
7620
7620
|
}>;
|
|
7621
7621
|
model: z.ZodOptional<z.ZodObject<{
|
|
@@ -7633,8 +7633,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7633
7633
|
status: z.ZodEnum<{
|
|
7634
7634
|
active: "active";
|
|
7635
7635
|
paused: "paused";
|
|
7636
|
-
complete: "complete";
|
|
7637
7636
|
budget_limited: "budget_limited";
|
|
7637
|
+
complete: "complete";
|
|
7638
7638
|
}>;
|
|
7639
7639
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
7640
7640
|
tokensUsed: z.ZodNumber;
|
|
@@ -7713,19 +7713,19 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7713
7713
|
}, z.core.$strict>;
|
|
7714
7714
|
mode: z.ZodObject<{
|
|
7715
7715
|
current: z.ZodEnum<{
|
|
7716
|
-
|
|
7716
|
+
auto: "auto";
|
|
7717
7717
|
plan: "plan";
|
|
7718
|
+
yolo: "yolo";
|
|
7718
7719
|
edit: "edit";
|
|
7719
|
-
auto: "auto";
|
|
7720
7720
|
build: "build";
|
|
7721
7721
|
}>;
|
|
7722
7722
|
}, z.core.$strict>;
|
|
7723
7723
|
permission: z.ZodOptional<z.ZodObject<{
|
|
7724
7724
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
7725
|
-
|
|
7725
|
+
auto: "auto";
|
|
7726
7726
|
plan: "plan";
|
|
7727
|
+
yolo: "yolo";
|
|
7727
7728
|
edit: "edit";
|
|
7728
|
-
auto: "auto";
|
|
7729
7729
|
build: "build";
|
|
7730
7730
|
}>>;
|
|
7731
7731
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7734,18 +7734,18 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7734
7734
|
projection: z.ZodObject<{
|
|
7735
7735
|
sessionId: z.ZodString;
|
|
7736
7736
|
status: z.ZodEnum<{
|
|
7737
|
+
error: "error";
|
|
7737
7738
|
completed: "completed";
|
|
7738
|
-
paused: "paused";
|
|
7739
7739
|
idle: "idle";
|
|
7740
|
+
paused: "paused";
|
|
7740
7741
|
running: "running";
|
|
7741
|
-
error: "error";
|
|
7742
7742
|
waiting: "waiting";
|
|
7743
7743
|
}>;
|
|
7744
7744
|
mode: z.ZodEnum<{
|
|
7745
|
-
|
|
7745
|
+
auto: "auto";
|
|
7746
7746
|
plan: "plan";
|
|
7747
|
+
yolo: "yolo";
|
|
7747
7748
|
edit: "edit";
|
|
7748
|
-
auto: "auto";
|
|
7749
7749
|
build: "build";
|
|
7750
7750
|
}>;
|
|
7751
7751
|
turnCount: z.ZodNumber;
|
|
@@ -7810,10 +7810,10 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7810
7810
|
toolCallId: z.ZodString;
|
|
7811
7811
|
toolName: z.ZodString;
|
|
7812
7812
|
status: z.ZodEnum<{
|
|
7813
|
-
completed: "completed";
|
|
7814
7813
|
failed: "failed";
|
|
7815
|
-
running: "running";
|
|
7816
7814
|
pending: "pending";
|
|
7815
|
+
completed: "completed";
|
|
7816
|
+
running: "running";
|
|
7817
7817
|
denied: "denied";
|
|
7818
7818
|
}>;
|
|
7819
7819
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7827,8 +7827,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7827
7827
|
status: z.ZodEnum<{
|
|
7828
7828
|
active: "active";
|
|
7829
7829
|
paused: "paused";
|
|
7830
|
-
complete: "complete";
|
|
7831
7830
|
budget_limited: "budget_limited";
|
|
7831
|
+
complete: "complete";
|
|
7832
7832
|
}>;
|
|
7833
7833
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
7834
7834
|
tokensUsed: z.ZodNumber;
|
|
@@ -7847,28 +7847,28 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7847
7847
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
7848
7848
|
source: z.ZodOptional<z.ZodEnum<{
|
|
7849
7849
|
provider: "provider";
|
|
7850
|
-
runtime: "runtime";
|
|
7851
7850
|
tool: "tool";
|
|
7851
|
+
runtime: "runtime";
|
|
7852
7852
|
network: "network";
|
|
7853
7853
|
}>>;
|
|
7854
7854
|
reason: z.ZodOptional<z.ZodString>;
|
|
7855
7855
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
7856
7856
|
response: "response";
|
|
7857
|
+
connect: "connect";
|
|
7857
7858
|
prepare: "prepare";
|
|
7858
7859
|
configuration: "configuration";
|
|
7859
|
-
connect: "connect";
|
|
7860
7860
|
stream: "stream";
|
|
7861
7861
|
parse: "parse";
|
|
7862
7862
|
validation: "validation";
|
|
7863
7863
|
unhandled: "unhandled";
|
|
7864
7864
|
}>>;
|
|
7865
7865
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
7866
|
+
transport: "transport";
|
|
7866
7867
|
validation: "validation";
|
|
7867
7868
|
api_call: "api_call";
|
|
7868
7869
|
generic: "generic";
|
|
7869
7870
|
protocol: "protocol";
|
|
7870
7871
|
provider_business: "provider_business";
|
|
7871
|
-
transport: "transport";
|
|
7872
7872
|
type_error: "type_error";
|
|
7873
7873
|
}>>;
|
|
7874
7874
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -7895,8 +7895,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7895
7895
|
activeTurnId: z.ZodOptional<z.ZodString>;
|
|
7896
7896
|
activeTurnKind: z.ZodOptional<z.ZodEnum<{
|
|
7897
7897
|
rewind: "rewind";
|
|
7898
|
-
compact: "compact";
|
|
7899
7898
|
regular: "regular";
|
|
7899
|
+
compact: "compact";
|
|
7900
7900
|
}>>;
|
|
7901
7901
|
pendingRequestIds: z.ZodArray<z.ZodString>;
|
|
7902
7902
|
apiRetry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -7927,13 +7927,13 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7927
7927
|
}, z.core.$strict>>;
|
|
7928
7928
|
breakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7929
7929
|
source: z.ZodEnum<{
|
|
7930
|
-
|
|
7930
|
+
messages: "messages";
|
|
7931
7931
|
system_prompt: "system_prompt";
|
|
7932
7932
|
meta_user_context: "meta_user_context";
|
|
7933
|
+
skills: "skills";
|
|
7933
7934
|
tool_prompt: "tool_prompt";
|
|
7934
7935
|
system_tool_schemas: "system_tool_schemas";
|
|
7935
7936
|
mcp_tool_schemas: "mcp_tool_schemas";
|
|
7936
|
-
messages: "messages";
|
|
7937
7937
|
}>;
|
|
7938
7938
|
chars: z.ZodNumber;
|
|
7939
7939
|
}, z.core.$strict>>>;
|
|
@@ -7990,12 +7990,12 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7990
7990
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
7991
7991
|
source: z.ZodOptional<z.ZodEnum<{
|
|
7992
7992
|
subagent: "subagent";
|
|
7993
|
-
rewind: "rewind";
|
|
7994
|
-
fork: "fork";
|
|
7995
7993
|
background_task: "background_task";
|
|
7994
|
+
fork: "fork";
|
|
7996
7995
|
goal_state_change: "goal_state_change";
|
|
7997
7996
|
"goal-continuation": "goal-continuation";
|
|
7998
7997
|
plugin_reference: "plugin_reference";
|
|
7998
|
+
rewind: "rewind";
|
|
7999
7999
|
selection_side_chat: "selection_side_chat";
|
|
8000
8000
|
subagent_message: "subagent_message";
|
|
8001
8001
|
todo_reminder: "todo_reminder";
|
|
@@ -8248,8 +8248,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
8248
8248
|
}, z.core.$strict>>;
|
|
8249
8249
|
operationId: z.ZodOptional<z.ZodString>;
|
|
8250
8250
|
trigger: z.ZodOptional<z.ZodEnum<{
|
|
8251
|
-
manual: "manual";
|
|
8252
8251
|
auto: "auto";
|
|
8252
|
+
manual: "manual";
|
|
8253
8253
|
partial: "partial";
|
|
8254
8254
|
reactive: "reactive";
|
|
8255
8255
|
session_memory: "session_memory";
|
|
@@ -8340,8 +8340,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
8340
8340
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8341
8341
|
content: z.ZodString;
|
|
8342
8342
|
status: z.ZodEnum<{
|
|
8343
|
-
completed: "completed";
|
|
8344
8343
|
pending: "pending";
|
|
8344
|
+
completed: "completed";
|
|
8345
8345
|
in_progress: "in_progress";
|
|
8346
8346
|
}>;
|
|
8347
8347
|
priority: z.ZodEnum<{
|
|
@@ -8363,8 +8363,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
8363
8363
|
todos: z.ZodArray<z.ZodObject<{
|
|
8364
8364
|
content: z.ZodString;
|
|
8365
8365
|
status: z.ZodEnum<{
|
|
8366
|
-
completed: "completed";
|
|
8367
8366
|
pending: "pending";
|
|
8367
|
+
completed: "completed";
|
|
8368
8368
|
in_progress: "in_progress";
|
|
8369
8369
|
}>;
|
|
8370
8370
|
priority: z.ZodEnum<{
|
|
@@ -8405,12 +8405,12 @@ export declare const dcodeBackgroundTaskInfoSchema: z.ZodObject<{
|
|
|
8405
8405
|
command: z.ZodOptional<z.ZodString>;
|
|
8406
8406
|
description: z.ZodOptional<z.ZodString>;
|
|
8407
8407
|
status: z.ZodEnum<{
|
|
8408
|
-
completed: "completed";
|
|
8409
8408
|
failed: "failed";
|
|
8410
|
-
|
|
8409
|
+
completed: "completed";
|
|
8411
8410
|
cancelled: "cancelled";
|
|
8412
|
-
|
|
8411
|
+
running: "running";
|
|
8413
8412
|
lost: "lost";
|
|
8413
|
+
timed_out: "timed_out";
|
|
8414
8414
|
spawn_error: "spawn_error";
|
|
8415
8415
|
}>;
|
|
8416
8416
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8451,12 +8451,12 @@ export declare const dcodeSessionCancelBackgroundTaskResultSchema: z.ZodObject<{
|
|
|
8451
8451
|
command: z.ZodOptional<z.ZodString>;
|
|
8452
8452
|
description: z.ZodOptional<z.ZodString>;
|
|
8453
8453
|
status: z.ZodEnum<{
|
|
8454
|
-
completed: "completed";
|
|
8455
8454
|
failed: "failed";
|
|
8456
|
-
|
|
8455
|
+
completed: "completed";
|
|
8457
8456
|
cancelled: "cancelled";
|
|
8458
|
-
|
|
8457
|
+
running: "running";
|
|
8459
8458
|
lost: "lost";
|
|
8459
|
+
timed_out: "timed_out";
|
|
8460
8460
|
spawn_error: "spawn_error";
|
|
8461
8461
|
}>;
|
|
8462
8462
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8475,12 +8475,12 @@ export declare const dcodeSessionCancelBackgroundTaskResultSchema: z.ZodObject<{
|
|
|
8475
8475
|
terminalId: z.ZodOptional<z.ZodString>;
|
|
8476
8476
|
}, z.core.$strict>>;
|
|
8477
8477
|
status: z.ZodEnum<{
|
|
8478
|
-
completed: "completed";
|
|
8479
8478
|
failed: "failed";
|
|
8480
|
-
|
|
8479
|
+
completed: "completed";
|
|
8481
8480
|
cancelled: "cancelled";
|
|
8482
|
-
|
|
8481
|
+
running: "running";
|
|
8483
8482
|
lost: "lost";
|
|
8483
|
+
timed_out: "timed_out";
|
|
8484
8484
|
spawn_error: "spawn_error";
|
|
8485
8485
|
}>;
|
|
8486
8486
|
taskId: z.ZodString;
|
|
@@ -8509,10 +8509,10 @@ export type DCodeSessionSetThoughtLevelParams = z.infer<typeof dcodeSessionSetTh
|
|
|
8509
8509
|
export declare const dcodeSessionSetModeParamsSchema: z.ZodObject<{
|
|
8510
8510
|
sessionId: z.ZodString;
|
|
8511
8511
|
mode: z.ZodEnum<{
|
|
8512
|
-
|
|
8512
|
+
auto: "auto";
|
|
8513
8513
|
plan: "plan";
|
|
8514
|
+
yolo: "yolo";
|
|
8514
8515
|
edit: "edit";
|
|
8515
|
-
auto: "auto";
|
|
8516
8516
|
build: "build";
|
|
8517
8517
|
}>;
|
|
8518
8518
|
expectedRevision: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8546,10 +8546,10 @@ export declare const dcodeWorkspacePresentationSchema: z.ZodObject<{
|
|
|
8546
8546
|
workspaceKey: z.ZodString;
|
|
8547
8547
|
}, z.core.$strict>;
|
|
8548
8548
|
mode: z.ZodEnum<{
|
|
8549
|
-
|
|
8549
|
+
auto: "auto";
|
|
8550
8550
|
plan: "plan";
|
|
8551
|
+
yolo: "yolo";
|
|
8551
8552
|
edit: "edit";
|
|
8552
|
-
auto: "auto";
|
|
8553
8553
|
build: "build";
|
|
8554
8554
|
}>;
|
|
8555
8555
|
slashCommands: z.ZodArray<z.ZodObject<{
|
|
@@ -8733,8 +8733,8 @@ export declare const dcodeProviderUpdateAccountConfigParamsSchema: z.ZodObject<{
|
|
|
8733
8733
|
availability: z.ZodEnum<{
|
|
8734
8734
|
unknown: "unknown";
|
|
8735
8735
|
pending: "pending";
|
|
8736
|
-
available: "available";
|
|
8737
8736
|
unavailable: "unavailable";
|
|
8737
|
+
available: "available";
|
|
8738
8738
|
}>;
|
|
8739
8739
|
entitled: z.ZodBoolean;
|
|
8740
8740
|
unavailableReason: z.ZodOptional<z.ZodEnum<{
|
|
@@ -8920,8 +8920,8 @@ export declare const dcodeBrowserListParamsSchema: z.ZodObject<{
|
|
|
8920
8920
|
"web-remote-replayable": "web-remote-replayable";
|
|
8921
8921
|
}>;
|
|
8922
8922
|
sessionContext: z.ZodEnum<{
|
|
8923
|
-
cached: "cached";
|
|
8924
8923
|
live: "live";
|
|
8924
|
+
cached: "cached";
|
|
8925
8925
|
}>;
|
|
8926
8926
|
}, z.core.$strict>;
|
|
8927
8927
|
export type DCodeBrowserListParams = z.infer<typeof dcodeBrowserListParamsSchema>;
|
|
@@ -8930,8 +8930,8 @@ export declare const dcodeBrowserListResultSchema: z.ZodObject<{
|
|
|
8930
8930
|
id: z.ZodString;
|
|
8931
8931
|
generation: z.ZodDefault<z.ZodNumber>;
|
|
8932
8932
|
type: z.ZodEnum<{
|
|
8933
|
-
extension: "extension";
|
|
8934
8933
|
iab: "iab";
|
|
8934
|
+
extension: "extension";
|
|
8935
8935
|
cdp: "cdp";
|
|
8936
8936
|
}>;
|
|
8937
8937
|
name: z.ZodString;
|
|
@@ -8966,8 +8966,8 @@ export declare const dcodeBrowserExecuteParamsSchema: z.ZodObject<{
|
|
|
8966
8966
|
"web-remote-replayable": "web-remote-replayable";
|
|
8967
8967
|
}>>;
|
|
8968
8968
|
sessionContext: z.ZodOptional<z.ZodEnum<{
|
|
8969
|
-
cached: "cached";
|
|
8970
8969
|
live: "live";
|
|
8970
|
+
cached: "cached";
|
|
8971
8971
|
}>>;
|
|
8972
8972
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8973
8973
|
method: z.ZodLiteral<"navigate">;
|
|
@@ -9219,12 +9219,12 @@ export declare const dcodeBrowserExecuteParamsSchema: z.ZodObject<{
|
|
|
9219
9219
|
selector: z.ZodString;
|
|
9220
9220
|
operation: z.ZodEnum<{
|
|
9221
9221
|
fill: "fill";
|
|
9222
|
-
count: "count";
|
|
9223
9222
|
click: "click";
|
|
9224
9223
|
press: "press";
|
|
9225
9224
|
evaluate: "evaluate";
|
|
9226
9225
|
waitFor: "waitFor";
|
|
9227
9226
|
allTextContents: "allTextContents";
|
|
9227
|
+
count: "count";
|
|
9228
9228
|
dblclick: "dblclick";
|
|
9229
9229
|
downloadMedia: "downloadMedia";
|
|
9230
9230
|
getAttribute: "getAttribute";
|
|
@@ -9259,8 +9259,8 @@ export declare const dcodeBrowserExecuteParamsSchema: z.ZodObject<{
|
|
|
9259
9259
|
Shift: "Shift";
|
|
9260
9260
|
}>>>;
|
|
9261
9261
|
state: z.ZodOptional<z.ZodEnum<{
|
|
9262
|
-
visible: "visible";
|
|
9263
9262
|
attached: "attached";
|
|
9263
|
+
visible: "visible";
|
|
9264
9264
|
hidden: "hidden";
|
|
9265
9265
|
detached: "detached";
|
|
9266
9266
|
}>>;
|
|
@@ -9365,8 +9365,8 @@ export declare const dcodeBrowserExecuteParamsSchema: z.ZodObject<{
|
|
|
9365
9365
|
type: z.ZodLiteral<"waitFor">;
|
|
9366
9366
|
selector: z.ZodString;
|
|
9367
9367
|
state: z.ZodOptional<z.ZodEnum<{
|
|
9368
|
-
visible: "visible";
|
|
9369
9368
|
attached: "attached";
|
|
9369
|
+
visible: "visible";
|
|
9370
9370
|
hidden: "hidden";
|
|
9371
9371
|
detached: "detached";
|
|
9372
9372
|
}>>;
|
|
@@ -9548,9 +9548,9 @@ export declare const dcodeBrowserExecuteResultSchema: z.ZodObject<{
|
|
|
9548
9548
|
}, z.core.$strict>>;
|
|
9549
9549
|
dialog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9550
9550
|
type: z.ZodEnum<{
|
|
9551
|
-
alert: "alert";
|
|
9552
|
-
confirm: "confirm";
|
|
9553
9551
|
prompt: "prompt";
|
|
9552
|
+
confirm: "confirm";
|
|
9553
|
+
alert: "alert";
|
|
9554
9554
|
beforeunload: "beforeunload";
|
|
9555
9555
|
}>;
|
|
9556
9556
|
message: z.ZodString;
|
|
@@ -9559,14 +9559,14 @@ export declare const dcodeBrowserExecuteResultSchema: z.ZodObject<{
|
|
|
9559
9559
|
recording: z.ZodOptional<z.ZodObject<{
|
|
9560
9560
|
id: z.ZodString;
|
|
9561
9561
|
status: z.ZodEnum<{
|
|
9562
|
-
completed: "completed";
|
|
9563
9562
|
failed: "failed";
|
|
9564
|
-
|
|
9563
|
+
completed: "completed";
|
|
9565
9564
|
cancelled: "cancelled";
|
|
9565
|
+
running: "running";
|
|
9566
9566
|
}>;
|
|
9567
9567
|
phase: z.ZodEnum<{
|
|
9568
|
-
completed: "completed";
|
|
9569
9568
|
failed: "failed";
|
|
9569
|
+
completed: "completed";
|
|
9570
9570
|
cancelled: "cancelled";
|
|
9571
9571
|
preparing: "preparing";
|
|
9572
9572
|
capturing: "capturing";
|
|
@@ -9607,8 +9607,8 @@ export declare const dcodeBrowserExecuteResultSchema: z.ZodObject<{
|
|
|
9607
9607
|
meta: z.ZodOptional<z.ZodObject<{
|
|
9608
9608
|
browserUse: z.ZodLiteral<true>;
|
|
9609
9609
|
backendType: z.ZodEnum<{
|
|
9610
|
-
extension: "extension";
|
|
9611
9610
|
iab: "iab";
|
|
9611
|
+
extension: "extension";
|
|
9612
9612
|
cdp: "cdp";
|
|
9613
9613
|
}>;
|
|
9614
9614
|
browserId: z.ZodString;
|
|
@@ -9830,9 +9830,9 @@ export type DCodePluginUserConfigOption = z.infer<typeof dcodePluginUserConfigOp
|
|
|
9830
9830
|
export declare const dcodePluginComponentKindSchema: z.ZodEnum<{
|
|
9831
9831
|
command: "command";
|
|
9832
9832
|
agent: "agent";
|
|
9833
|
-
mcp: "mcp";
|
|
9834
9833
|
skill: "skill";
|
|
9835
9834
|
hook: "hook";
|
|
9835
|
+
mcp: "mcp";
|
|
9836
9836
|
}>;
|
|
9837
9837
|
export type DCodePluginComponentKind = z.infer<typeof dcodePluginComponentKindSchema>;
|
|
9838
9838
|
export declare const dcodePluginComponentItemSchema: z.ZodObject<{
|
|
@@ -9843,9 +9843,9 @@ export declare const dcodePluginComponentGroupSchema: z.ZodObject<{
|
|
|
9843
9843
|
kind: z.ZodEnum<{
|
|
9844
9844
|
command: "command";
|
|
9845
9845
|
agent: "agent";
|
|
9846
|
-
mcp: "mcp";
|
|
9847
9846
|
skill: "skill";
|
|
9848
9847
|
hook: "hook";
|
|
9848
|
+
mcp: "mcp";
|
|
9849
9849
|
}>;
|
|
9850
9850
|
items: z.ZodArray<z.ZodObject<{
|
|
9851
9851
|
name: z.ZodString;
|
|
@@ -9871,9 +9871,9 @@ export declare const dcodePluginInfoSchema: z.ZodObject<{
|
|
|
9871
9871
|
kind: z.ZodEnum<{
|
|
9872
9872
|
command: "command";
|
|
9873
9873
|
agent: "agent";
|
|
9874
|
-
mcp: "mcp";
|
|
9875
9874
|
skill: "skill";
|
|
9876
9875
|
hook: "hook";
|
|
9876
|
+
mcp: "mcp";
|
|
9877
9877
|
}>;
|
|
9878
9878
|
items: z.ZodArray<z.ZodObject<{
|
|
9879
9879
|
name: z.ZodString;
|
|
@@ -9972,9 +9972,9 @@ export declare const dcodePluginsListResultSchema: z.ZodObject<{
|
|
|
9972
9972
|
kind: z.ZodEnum<{
|
|
9973
9973
|
command: "command";
|
|
9974
9974
|
agent: "agent";
|
|
9975
|
-
mcp: "mcp";
|
|
9976
9975
|
skill: "skill";
|
|
9977
9976
|
hook: "hook";
|
|
9977
|
+
mcp: "mcp";
|
|
9978
9978
|
}>;
|
|
9979
9979
|
items: z.ZodArray<z.ZodObject<{
|
|
9980
9980
|
name: z.ZodString;
|
|
@@ -10402,10 +10402,10 @@ export declare const dcodeWorkflowsRunsParamsSchema: z.ZodObject<{
|
|
|
10402
10402
|
}, z.core.$strict>;
|
|
10403
10403
|
export type DCodeWorkflowsRunsParams = z.infer<typeof dcodeWorkflowsRunsParamsSchema>;
|
|
10404
10404
|
export declare const dcodeSavedWorkflowRunStatusSchema: z.ZodEnum<{
|
|
10405
|
+
pending: "pending";
|
|
10405
10406
|
completed: "completed";
|
|
10406
10407
|
running: "running";
|
|
10407
10408
|
stopped: "stopped";
|
|
10408
|
-
pending: "pending";
|
|
10409
10409
|
errored: "errored";
|
|
10410
10410
|
}>;
|
|
10411
10411
|
export type DCodeSavedWorkflowRunStatus = z.infer<typeof dcodeSavedWorkflowRunStatusSchema>;
|
|
@@ -10420,10 +10420,10 @@ export declare const dcodeSavedWorkflowRunSchema: z.ZodObject<{
|
|
|
10420
10420
|
runId: z.ZodString;
|
|
10421
10421
|
name: z.ZodOptional<z.ZodString>;
|
|
10422
10422
|
status: z.ZodEnum<{
|
|
10423
|
+
pending: "pending";
|
|
10423
10424
|
completed: "completed";
|
|
10424
10425
|
running: "running";
|
|
10425
10426
|
stopped: "stopped";
|
|
10426
|
-
pending: "pending";
|
|
10427
10427
|
errored: "errored";
|
|
10428
10428
|
}>;
|
|
10429
10429
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10461,10 +10461,10 @@ export declare const dcodeWorkflowsRunsResultSchema: z.ZodObject<{
|
|
|
10461
10461
|
runId: z.ZodString;
|
|
10462
10462
|
name: z.ZodOptional<z.ZodString>;
|
|
10463
10463
|
status: z.ZodEnum<{
|
|
10464
|
+
pending: "pending";
|
|
10464
10465
|
completed: "completed";
|
|
10465
10466
|
running: "running";
|
|
10466
10467
|
stopped: "stopped";
|
|
10467
|
-
pending: "pending";
|
|
10468
10468
|
errored: "errored";
|
|
10469
10469
|
}>;
|
|
10470
10470
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10537,8 +10537,8 @@ export type DCodePluginSuggestedReferenceStatus = z.infer<typeof dcodePluginSugg
|
|
|
10537
10537
|
export declare const dcodePluginOperationStateSchema: z.ZodEnum<{
|
|
10538
10538
|
failed: "failed";
|
|
10539
10539
|
cancelled: "cancelled";
|
|
10540
|
-
complete: "complete";
|
|
10541
10540
|
checking: "checking";
|
|
10541
|
+
complete: "complete";
|
|
10542
10542
|
refreshing: "refreshing";
|
|
10543
10543
|
installing: "installing";
|
|
10544
10544
|
enabling: "enabling";
|
|
@@ -10603,9 +10603,9 @@ export declare const dcodePluginsSetEnabledResultSchema: z.ZodObject<{
|
|
|
10603
10603
|
kind: z.ZodEnum<{
|
|
10604
10604
|
command: "command";
|
|
10605
10605
|
agent: "agent";
|
|
10606
|
-
mcp: "mcp";
|
|
10607
10606
|
skill: "skill";
|
|
10608
10607
|
hook: "hook";
|
|
10608
|
+
mcp: "mcp";
|
|
10609
10609
|
}>;
|
|
10610
10610
|
items: z.ZodArray<z.ZodObject<{
|
|
10611
10611
|
name: z.ZodString;
|
|
@@ -11327,9 +11327,9 @@ export declare const dcodePluginsDescribeResultSchema: z.ZodObject<{
|
|
|
11327
11327
|
kind: z.ZodEnum<{
|
|
11328
11328
|
command: "command";
|
|
11329
11329
|
agent: "agent";
|
|
11330
|
-
mcp: "mcp";
|
|
11331
11330
|
skill: "skill";
|
|
11332
11331
|
hook: "hook";
|
|
11332
|
+
mcp: "mcp";
|
|
11333
11333
|
}>;
|
|
11334
11334
|
items: z.ZodArray<z.ZodObject<{
|
|
11335
11335
|
name: z.ZodString;
|
|
@@ -11397,19 +11397,19 @@ export declare const dcodeAutomationProtocolSchema: z.ZodObject<{
|
|
|
11397
11397
|
}, z.core.$strict>>;
|
|
11398
11398
|
}, z.core.$strict>>;
|
|
11399
11399
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
11400
|
-
|
|
11400
|
+
auto: "auto";
|
|
11401
11401
|
plan: "plan";
|
|
11402
|
+
yolo: "yolo";
|
|
11402
11403
|
edit: "edit";
|
|
11403
|
-
auto: "auto";
|
|
11404
11404
|
autoEdit: "autoEdit";
|
|
11405
11405
|
build: "build";
|
|
11406
11406
|
}>>;
|
|
11407
11407
|
targetTaskId: z.ZodOptional<z.ZodString>;
|
|
11408
11408
|
enabled: z.ZodBoolean;
|
|
11409
11409
|
lifecycleStatus: z.ZodEnum<{
|
|
11410
|
-
active: "active";
|
|
11411
|
-
completed: "completed";
|
|
11412
11410
|
failed: "failed";
|
|
11411
|
+
completed: "completed";
|
|
11412
|
+
active: "active";
|
|
11413
11413
|
paused: "paused";
|
|
11414
11414
|
}>;
|
|
11415
11415
|
nextRunAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11453,10 +11453,10 @@ export declare const dcodeAutomationCreateParamsSchema: z.ZodObject<{
|
|
|
11453
11453
|
}, z.core.$strict>>;
|
|
11454
11454
|
}, z.core.$strict>>;
|
|
11455
11455
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
11456
|
-
|
|
11456
|
+
auto: "auto";
|
|
11457
11457
|
plan: "plan";
|
|
11458
|
+
yolo: "yolo";
|
|
11458
11459
|
edit: "edit";
|
|
11459
|
-
auto: "auto";
|
|
11460
11460
|
autoEdit: "autoEdit";
|
|
11461
11461
|
build: "build";
|
|
11462
11462
|
}>>;
|
|
@@ -11501,19 +11501,19 @@ export declare const dcodeAutomationCreateResultSchema: z.ZodObject<{
|
|
|
11501
11501
|
}, z.core.$strict>>;
|
|
11502
11502
|
}, z.core.$strict>>;
|
|
11503
11503
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
11504
|
-
|
|
11504
|
+
auto: "auto";
|
|
11505
11505
|
plan: "plan";
|
|
11506
|
+
yolo: "yolo";
|
|
11506
11507
|
edit: "edit";
|
|
11507
|
-
auto: "auto";
|
|
11508
11508
|
autoEdit: "autoEdit";
|
|
11509
11509
|
build: "build";
|
|
11510
11510
|
}>>;
|
|
11511
11511
|
targetTaskId: z.ZodOptional<z.ZodString>;
|
|
11512
11512
|
enabled: z.ZodBoolean;
|
|
11513
11513
|
lifecycleStatus: z.ZodEnum<{
|
|
11514
|
-
active: "active";
|
|
11515
|
-
completed: "completed";
|
|
11516
11514
|
failed: "failed";
|
|
11515
|
+
completed: "completed";
|
|
11516
|
+
active: "active";
|
|
11517
11517
|
paused: "paused";
|
|
11518
11518
|
}>;
|
|
11519
11519
|
nextRunAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11577,19 +11577,19 @@ export declare const dcodeAutomationUpdateResultSchema: z.ZodObject<{
|
|
|
11577
11577
|
}, z.core.$strict>>;
|
|
11578
11578
|
}, z.core.$strict>>;
|
|
11579
11579
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
11580
|
-
|
|
11580
|
+
auto: "auto";
|
|
11581
11581
|
plan: "plan";
|
|
11582
|
+
yolo: "yolo";
|
|
11582
11583
|
edit: "edit";
|
|
11583
|
-
auto: "auto";
|
|
11584
11584
|
autoEdit: "autoEdit";
|
|
11585
11585
|
build: "build";
|
|
11586
11586
|
}>>;
|
|
11587
11587
|
targetTaskId: z.ZodOptional<z.ZodString>;
|
|
11588
11588
|
enabled: z.ZodBoolean;
|
|
11589
11589
|
lifecycleStatus: z.ZodEnum<{
|
|
11590
|
-
active: "active";
|
|
11591
|
-
completed: "completed";
|
|
11592
11590
|
failed: "failed";
|
|
11591
|
+
completed: "completed";
|
|
11592
|
+
active: "active";
|
|
11593
11593
|
paused: "paused";
|
|
11594
11594
|
}>;
|
|
11595
11595
|
nextRunAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11637,19 +11637,19 @@ export declare const dcodeAutomationListResultSchema: z.ZodObject<{
|
|
|
11637
11637
|
}, z.core.$strict>>;
|
|
11638
11638
|
}, z.core.$strict>>;
|
|
11639
11639
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
11640
|
-
|
|
11640
|
+
auto: "auto";
|
|
11641
11641
|
plan: "plan";
|
|
11642
|
+
yolo: "yolo";
|
|
11642
11643
|
edit: "edit";
|
|
11643
|
-
auto: "auto";
|
|
11644
11644
|
autoEdit: "autoEdit";
|
|
11645
11645
|
build: "build";
|
|
11646
11646
|
}>>;
|
|
11647
11647
|
targetTaskId: z.ZodOptional<z.ZodString>;
|
|
11648
11648
|
enabled: z.ZodBoolean;
|
|
11649
11649
|
lifecycleStatus: z.ZodEnum<{
|
|
11650
|
-
active: "active";
|
|
11651
|
-
completed: "completed";
|
|
11652
11650
|
failed: "failed";
|
|
11651
|
+
completed: "completed";
|
|
11652
|
+
active: "active";
|
|
11653
11653
|
paused: "paused";
|
|
11654
11654
|
}>;
|
|
11655
11655
|
nextRunAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11698,8 +11698,8 @@ export declare const dcodeAutomationDeleteResultSchema: z.ZodObject<{
|
|
|
11698
11698
|
}, z.core.$strict>;
|
|
11699
11699
|
export type DCodeAutomationDeleteProtocolResult = z.infer<typeof dcodeAutomationDeleteResultSchema>;
|
|
11700
11700
|
export declare const dcodeOffPeakPermissionModeSchema: z.ZodEnum<{
|
|
11701
|
-
yolo: "yolo";
|
|
11702
11701
|
plan: "plan";
|
|
11702
|
+
yolo: "yolo";
|
|
11703
11703
|
edit: "edit";
|
|
11704
11704
|
build: "build";
|
|
11705
11705
|
}>;
|
|
@@ -11708,8 +11708,8 @@ export declare const dcodeOffPeakCreateParamsSchema: z.ZodObject<{
|
|
|
11708
11708
|
title: z.ZodString;
|
|
11709
11709
|
prompt: z.ZodString;
|
|
11710
11710
|
permissionMode: z.ZodOptional<z.ZodEnum<{
|
|
11711
|
-
yolo: "yolo";
|
|
11712
11711
|
plan: "plan";
|
|
11712
|
+
yolo: "yolo";
|
|
11713
11713
|
edit: "edit";
|
|
11714
11714
|
build: "build";
|
|
11715
11715
|
}>>;
|
|
@@ -11722,11 +11722,11 @@ export declare const dcodeOffPeakTaskSnapshotSchema: z.ZodObject<{
|
|
|
11722
11722
|
offPeakTaskId: z.ZodString;
|
|
11723
11723
|
title: z.ZodString;
|
|
11724
11724
|
status: z.ZodEnum<{
|
|
11725
|
-
completed: "completed";
|
|
11726
11725
|
failed: "failed";
|
|
11726
|
+
completed: "completed";
|
|
11727
|
+
cancelled: "cancelled";
|
|
11727
11728
|
paused: "paused";
|
|
11728
11729
|
running: "running";
|
|
11729
|
-
cancelled: "cancelled";
|
|
11730
11730
|
queued: "queued";
|
|
11731
11731
|
}>;
|
|
11732
11732
|
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11740,11 +11740,11 @@ export declare const dcodeOffPeakCreateResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11740
11740
|
offPeakTaskId: z.ZodString;
|
|
11741
11741
|
title: z.ZodString;
|
|
11742
11742
|
status: z.ZodEnum<{
|
|
11743
|
-
completed: "completed";
|
|
11744
11743
|
failed: "failed";
|
|
11744
|
+
completed: "completed";
|
|
11745
|
+
cancelled: "cancelled";
|
|
11745
11746
|
paused: "paused";
|
|
11746
11747
|
running: "running";
|
|
11747
|
-
cancelled: "cancelled";
|
|
11748
11748
|
queued: "queued";
|
|
11749
11749
|
}>;
|
|
11750
11750
|
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11777,11 +11777,11 @@ export declare const dcodeOffPeakListResultSchema: z.ZodObject<{
|
|
|
11777
11777
|
offPeakTaskId: z.ZodString;
|
|
11778
11778
|
title: z.ZodString;
|
|
11779
11779
|
status: z.ZodEnum<{
|
|
11780
|
-
completed: "completed";
|
|
11781
11780
|
failed: "failed";
|
|
11781
|
+
completed: "completed";
|
|
11782
|
+
cancelled: "cancelled";
|
|
11782
11783
|
paused: "paused";
|
|
11783
11784
|
running: "running";
|
|
11784
|
-
cancelled: "cancelled";
|
|
11785
11785
|
queued: "queued";
|
|
11786
11786
|
}>;
|
|
11787
11787
|
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11962,9 +11962,9 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
11962
11962
|
readonly result: z.ZodObject<{
|
|
11963
11963
|
statuses: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11964
11964
|
status: z.ZodEnum<{
|
|
11965
|
+
connected: "connected";
|
|
11965
11966
|
failed: "failed";
|
|
11966
11967
|
disabled: "disabled";
|
|
11967
|
-
connected: "connected";
|
|
11968
11968
|
connecting: "connecting";
|
|
11969
11969
|
disconnected: "disconnected";
|
|
11970
11970
|
untrusted: "untrusted";
|
|
@@ -11979,7 +11979,6 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
11979
11979
|
error: z.ZodOptional<z.ZodString>;
|
|
11980
11980
|
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
11981
11981
|
not_authenticated: "not_authenticated";
|
|
11982
|
-
coding_plan_required: "coding_plan_required";
|
|
11983
11982
|
config_invalid: "config_invalid";
|
|
11984
11983
|
runtime_unavailable: "runtime_unavailable";
|
|
11985
11984
|
process_start_failed: "process_start_failed";
|
|
@@ -11990,6 +11989,7 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
11990
11989
|
unexpected_disconnect: "unexpected_disconnect";
|
|
11991
11990
|
oauth_authorization_failed: "oauth_authorization_failed";
|
|
11992
11991
|
official_origin_untrusted: "official_origin_untrusted";
|
|
11992
|
+
coding_plan_required: "coding_plan_required";
|
|
11993
11993
|
server_not_found: "server_not_found";
|
|
11994
11994
|
server_unavailable: "server_unavailable";
|
|
11995
11995
|
rate_limited: "rate_limited";
|
|
@@ -12025,8 +12025,8 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12025
12025
|
"web-remote-replayable": "web-remote-replayable";
|
|
12026
12026
|
}>;
|
|
12027
12027
|
sessionContext: z.ZodEnum<{
|
|
12028
|
-
cached: "cached";
|
|
12029
12028
|
live: "live";
|
|
12029
|
+
cached: "cached";
|
|
12030
12030
|
}>;
|
|
12031
12031
|
}, z.core.$strict>;
|
|
12032
12032
|
readonly result: z.ZodObject<{
|
|
@@ -12034,8 +12034,8 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12034
12034
|
id: z.ZodString;
|
|
12035
12035
|
generation: z.ZodDefault<z.ZodNumber>;
|
|
12036
12036
|
type: z.ZodEnum<{
|
|
12037
|
-
extension: "extension";
|
|
12038
12037
|
iab: "iab";
|
|
12038
|
+
extension: "extension";
|
|
12039
12039
|
cdp: "cdp";
|
|
12040
12040
|
}>;
|
|
12041
12041
|
name: z.ZodString;
|
|
@@ -12070,8 +12070,8 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12070
12070
|
"web-remote-replayable": "web-remote-replayable";
|
|
12071
12071
|
}>>;
|
|
12072
12072
|
sessionContext: z.ZodOptional<z.ZodEnum<{
|
|
12073
|
-
cached: "cached";
|
|
12074
12073
|
live: "live";
|
|
12074
|
+
cached: "cached";
|
|
12075
12075
|
}>>;
|
|
12076
12076
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12077
12077
|
method: z.ZodLiteral<"navigate">;
|
|
@@ -12323,12 +12323,12 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12323
12323
|
selector: z.ZodString;
|
|
12324
12324
|
operation: z.ZodEnum<{
|
|
12325
12325
|
fill: "fill";
|
|
12326
|
-
count: "count";
|
|
12327
12326
|
click: "click";
|
|
12328
12327
|
press: "press";
|
|
12329
12328
|
evaluate: "evaluate";
|
|
12330
12329
|
waitFor: "waitFor";
|
|
12331
12330
|
allTextContents: "allTextContents";
|
|
12331
|
+
count: "count";
|
|
12332
12332
|
dblclick: "dblclick";
|
|
12333
12333
|
downloadMedia: "downloadMedia";
|
|
12334
12334
|
getAttribute: "getAttribute";
|
|
@@ -12363,8 +12363,8 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12363
12363
|
Shift: "Shift";
|
|
12364
12364
|
}>>>;
|
|
12365
12365
|
state: z.ZodOptional<z.ZodEnum<{
|
|
12366
|
-
visible: "visible";
|
|
12367
12366
|
attached: "attached";
|
|
12367
|
+
visible: "visible";
|
|
12368
12368
|
hidden: "hidden";
|
|
12369
12369
|
detached: "detached";
|
|
12370
12370
|
}>>;
|
|
@@ -12469,8 +12469,8 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12469
12469
|
type: z.ZodLiteral<"waitFor">;
|
|
12470
12470
|
selector: z.ZodString;
|
|
12471
12471
|
state: z.ZodOptional<z.ZodEnum<{
|
|
12472
|
-
visible: "visible";
|
|
12473
12472
|
attached: "attached";
|
|
12473
|
+
visible: "visible";
|
|
12474
12474
|
hidden: "hidden";
|
|
12475
12475
|
detached: "detached";
|
|
12476
12476
|
}>>;
|
|
@@ -12651,9 +12651,9 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12651
12651
|
}, z.core.$strict>>;
|
|
12652
12652
|
dialog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12653
12653
|
type: z.ZodEnum<{
|
|
12654
|
-
alert: "alert";
|
|
12655
|
-
confirm: "confirm";
|
|
12656
12654
|
prompt: "prompt";
|
|
12655
|
+
confirm: "confirm";
|
|
12656
|
+
alert: "alert";
|
|
12657
12657
|
beforeunload: "beforeunload";
|
|
12658
12658
|
}>;
|
|
12659
12659
|
message: z.ZodString;
|
|
@@ -12662,14 +12662,14 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12662
12662
|
recording: z.ZodOptional<z.ZodObject<{
|
|
12663
12663
|
id: z.ZodString;
|
|
12664
12664
|
status: z.ZodEnum<{
|
|
12665
|
-
completed: "completed";
|
|
12666
12665
|
failed: "failed";
|
|
12667
|
-
|
|
12666
|
+
completed: "completed";
|
|
12668
12667
|
cancelled: "cancelled";
|
|
12668
|
+
running: "running";
|
|
12669
12669
|
}>;
|
|
12670
12670
|
phase: z.ZodEnum<{
|
|
12671
|
-
completed: "completed";
|
|
12672
12671
|
failed: "failed";
|
|
12672
|
+
completed: "completed";
|
|
12673
12673
|
cancelled: "cancelled";
|
|
12674
12674
|
preparing: "preparing";
|
|
12675
12675
|
capturing: "capturing";
|
|
@@ -12710,8 +12710,8 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12710
12710
|
meta: z.ZodOptional<z.ZodObject<{
|
|
12711
12711
|
browserUse: z.ZodLiteral<true>;
|
|
12712
12712
|
backendType: z.ZodEnum<{
|
|
12713
|
-
extension: "extension";
|
|
12714
12713
|
iab: "iab";
|
|
12714
|
+
extension: "extension";
|
|
12715
12715
|
cdp: "cdp";
|
|
12716
12716
|
}>;
|
|
12717
12717
|
browserId: z.ZodString;
|