@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
|
@@ -23,19 +23,19 @@ export declare const windowHostControllerWorkspaceFactSchema: z.ZodObject<{
|
|
|
23
23
|
}>;
|
|
24
24
|
connectionState: z.ZodEnum<{
|
|
25
25
|
failed: "failed";
|
|
26
|
-
online: "online";
|
|
27
26
|
connecting: "connecting";
|
|
28
|
-
closing: "closing";
|
|
29
27
|
disconnected: "disconnected";
|
|
28
|
+
online: "online";
|
|
29
|
+
closing: "closing";
|
|
30
30
|
reconnecting: "reconnecting";
|
|
31
31
|
}>;
|
|
32
32
|
}, z.core.$strict>;
|
|
33
33
|
export type WindowHostControllerWorkspaceFact = z.infer<typeof windowHostControllerWorkspaceFactSchema>;
|
|
34
34
|
export declare const windowHostControllerTaskActivitySchema: z.ZodObject<{
|
|
35
35
|
phase: z.ZodEnum<{
|
|
36
|
-
running: "running";
|
|
37
36
|
error: "error";
|
|
38
37
|
draft: "draft";
|
|
38
|
+
running: "running";
|
|
39
39
|
completedSuccess: "completedSuccess";
|
|
40
40
|
completedInterrupted: "completedInterrupted";
|
|
41
41
|
prewarming: "prewarming";
|
|
@@ -52,10 +52,10 @@ export declare const windowHostControllerTaskActivitySchema: z.ZodObject<{
|
|
|
52
52
|
toolCallId: z.ZodOptional<z.ZodString>;
|
|
53
53
|
name: z.ZodOptional<z.ZodString>;
|
|
54
54
|
status: z.ZodEnum<{
|
|
55
|
+
pending: "pending";
|
|
55
56
|
completed: "completed";
|
|
56
57
|
running: "running";
|
|
57
58
|
stopped: "stopped";
|
|
58
|
-
pending: "pending";
|
|
59
59
|
errored: "errored";
|
|
60
60
|
}>;
|
|
61
61
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
@@ -70,8 +70,8 @@ export declare const windowHostControllerTaskActivitySchema: z.ZodObject<{
|
|
|
70
70
|
name: z.ZodString;
|
|
71
71
|
status: z.ZodEnum<{
|
|
72
72
|
failed: "failed";
|
|
73
|
-
running: "running";
|
|
74
73
|
pending: "pending";
|
|
74
|
+
running: "running";
|
|
75
75
|
done: "done";
|
|
76
76
|
}>;
|
|
77
77
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -103,10 +103,10 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
103
103
|
createdAt: z.ZodNumber;
|
|
104
104
|
updatedAt: z.ZodNumber;
|
|
105
105
|
mode: z.ZodEnum<{
|
|
106
|
-
|
|
106
|
+
auto: "auto";
|
|
107
107
|
plan: "plan";
|
|
108
|
+
yolo: "yolo";
|
|
108
109
|
edit: "edit";
|
|
109
|
-
auto: "auto";
|
|
110
110
|
autoEdit: "autoEdit";
|
|
111
111
|
build: "build";
|
|
112
112
|
}>;
|
|
@@ -122,9 +122,9 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
122
122
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
123
123
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
124
124
|
status: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
error: "error";
|
|
125
126
|
completed: "completed";
|
|
126
127
|
running: "running";
|
|
127
|
-
error: "error";
|
|
128
128
|
}>>;
|
|
129
129
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
130
130
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -135,28 +135,28 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
135
135
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
136
136
|
source: z.ZodOptional<z.ZodEnum<{
|
|
137
137
|
provider: "provider";
|
|
138
|
-
runtime: "runtime";
|
|
139
138
|
tool: "tool";
|
|
139
|
+
runtime: "runtime";
|
|
140
140
|
network: "network";
|
|
141
141
|
}>>;
|
|
142
142
|
reason: z.ZodOptional<z.ZodString>;
|
|
143
143
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
144
144
|
response: "response";
|
|
145
|
+
connect: "connect";
|
|
145
146
|
prepare: "prepare";
|
|
146
147
|
configuration: "configuration";
|
|
147
|
-
connect: "connect";
|
|
148
148
|
stream: "stream";
|
|
149
149
|
parse: "parse";
|
|
150
150
|
validation: "validation";
|
|
151
151
|
unhandled: "unhandled";
|
|
152
152
|
}>>;
|
|
153
153
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
154
|
+
transport: "transport";
|
|
154
155
|
validation: "validation";
|
|
155
156
|
api_call: "api_call";
|
|
156
157
|
generic: "generic";
|
|
157
158
|
protocol: "protocol";
|
|
158
159
|
provider_business: "provider_business";
|
|
159
|
-
transport: "transport";
|
|
160
160
|
type_error: "type_error";
|
|
161
161
|
}>>;
|
|
162
162
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -192,8 +192,8 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
192
192
|
status: z.ZodEnum<{
|
|
193
193
|
active: "active";
|
|
194
194
|
paused: "paused";
|
|
195
|
-
complete: "complete";
|
|
196
195
|
budget_limited: "budget_limited";
|
|
196
|
+
complete: "complete";
|
|
197
197
|
}>;
|
|
198
198
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
199
199
|
tokensUsed: z.ZodNumber;
|
|
@@ -217,17 +217,17 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
217
217
|
offline: "offline";
|
|
218
218
|
}>;
|
|
219
219
|
liveStatus: z.ZodEnum<{
|
|
220
|
+
error: "error";
|
|
220
221
|
completed: "completed";
|
|
221
222
|
idle: "idle";
|
|
222
223
|
running: "running";
|
|
223
|
-
error: "error";
|
|
224
224
|
waiting: "waiting";
|
|
225
225
|
}>;
|
|
226
226
|
activity: z.ZodOptional<z.ZodObject<{
|
|
227
227
|
phase: z.ZodEnum<{
|
|
228
|
-
running: "running";
|
|
229
228
|
error: "error";
|
|
230
229
|
draft: "draft";
|
|
230
|
+
running: "running";
|
|
231
231
|
completedSuccess: "completedSuccess";
|
|
232
232
|
completedInterrupted: "completedInterrupted";
|
|
233
233
|
prewarming: "prewarming";
|
|
@@ -244,10 +244,10 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
244
244
|
toolCallId: z.ZodOptional<z.ZodString>;
|
|
245
245
|
name: z.ZodOptional<z.ZodString>;
|
|
246
246
|
status: z.ZodEnum<{
|
|
247
|
+
pending: "pending";
|
|
247
248
|
completed: "completed";
|
|
248
249
|
running: "running";
|
|
249
250
|
stopped: "stopped";
|
|
250
|
-
pending: "pending";
|
|
251
251
|
errored: "errored";
|
|
252
252
|
}>;
|
|
253
253
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
@@ -262,8 +262,8 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
262
262
|
name: z.ZodString;
|
|
263
263
|
status: z.ZodEnum<{
|
|
264
264
|
failed: "failed";
|
|
265
|
-
running: "running";
|
|
266
265
|
pending: "pending";
|
|
266
|
+
running: "running";
|
|
267
267
|
done: "done";
|
|
268
268
|
}>;
|
|
269
269
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -292,10 +292,10 @@ export declare const windowHostControllerWorkspacesSnapshotSchema: z.ZodObject<{
|
|
|
292
292
|
}>;
|
|
293
293
|
connectionState: z.ZodEnum<{
|
|
294
294
|
failed: "failed";
|
|
295
|
-
online: "online";
|
|
296
295
|
connecting: "connecting";
|
|
297
|
-
closing: "closing";
|
|
298
296
|
disconnected: "disconnected";
|
|
297
|
+
online: "online";
|
|
298
|
+
closing: "closing";
|
|
299
299
|
reconnecting: "reconnecting";
|
|
300
300
|
}>;
|
|
301
301
|
}, z.core.$strict>>;
|
|
@@ -325,10 +325,10 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
325
325
|
createdAt: z.ZodNumber;
|
|
326
326
|
updatedAt: z.ZodNumber;
|
|
327
327
|
mode: z.ZodEnum<{
|
|
328
|
-
|
|
328
|
+
auto: "auto";
|
|
329
329
|
plan: "plan";
|
|
330
|
+
yolo: "yolo";
|
|
330
331
|
edit: "edit";
|
|
331
|
-
auto: "auto";
|
|
332
332
|
autoEdit: "autoEdit";
|
|
333
333
|
build: "build";
|
|
334
334
|
}>;
|
|
@@ -344,9 +344,9 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
344
344
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
345
345
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
346
346
|
status: z.ZodOptional<z.ZodEnum<{
|
|
347
|
+
error: "error";
|
|
347
348
|
completed: "completed";
|
|
348
349
|
running: "running";
|
|
349
|
-
error: "error";
|
|
350
350
|
}>>;
|
|
351
351
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
352
352
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -357,28 +357,28 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
357
357
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
358
358
|
source: z.ZodOptional<z.ZodEnum<{
|
|
359
359
|
provider: "provider";
|
|
360
|
-
runtime: "runtime";
|
|
361
360
|
tool: "tool";
|
|
361
|
+
runtime: "runtime";
|
|
362
362
|
network: "network";
|
|
363
363
|
}>>;
|
|
364
364
|
reason: z.ZodOptional<z.ZodString>;
|
|
365
365
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
366
366
|
response: "response";
|
|
367
|
+
connect: "connect";
|
|
367
368
|
prepare: "prepare";
|
|
368
369
|
configuration: "configuration";
|
|
369
|
-
connect: "connect";
|
|
370
370
|
stream: "stream";
|
|
371
371
|
parse: "parse";
|
|
372
372
|
validation: "validation";
|
|
373
373
|
unhandled: "unhandled";
|
|
374
374
|
}>>;
|
|
375
375
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
376
|
+
transport: "transport";
|
|
376
377
|
validation: "validation";
|
|
377
378
|
api_call: "api_call";
|
|
378
379
|
generic: "generic";
|
|
379
380
|
protocol: "protocol";
|
|
380
381
|
provider_business: "provider_business";
|
|
381
|
-
transport: "transport";
|
|
382
382
|
type_error: "type_error";
|
|
383
383
|
}>>;
|
|
384
384
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -414,8 +414,8 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
414
414
|
status: z.ZodEnum<{
|
|
415
415
|
active: "active";
|
|
416
416
|
paused: "paused";
|
|
417
|
-
complete: "complete";
|
|
418
417
|
budget_limited: "budget_limited";
|
|
418
|
+
complete: "complete";
|
|
419
419
|
}>;
|
|
420
420
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
421
421
|
tokensUsed: z.ZodNumber;
|
|
@@ -439,17 +439,17 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
439
439
|
offline: "offline";
|
|
440
440
|
}>;
|
|
441
441
|
liveStatus: z.ZodEnum<{
|
|
442
|
+
error: "error";
|
|
442
443
|
completed: "completed";
|
|
443
444
|
idle: "idle";
|
|
444
445
|
running: "running";
|
|
445
|
-
error: "error";
|
|
446
446
|
waiting: "waiting";
|
|
447
447
|
}>;
|
|
448
448
|
activity: z.ZodOptional<z.ZodObject<{
|
|
449
449
|
phase: z.ZodEnum<{
|
|
450
|
-
running: "running";
|
|
451
450
|
error: "error";
|
|
452
451
|
draft: "draft";
|
|
452
|
+
running: "running";
|
|
453
453
|
completedSuccess: "completedSuccess";
|
|
454
454
|
completedInterrupted: "completedInterrupted";
|
|
455
455
|
prewarming: "prewarming";
|
|
@@ -466,10 +466,10 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
466
466
|
toolCallId: z.ZodOptional<z.ZodString>;
|
|
467
467
|
name: z.ZodOptional<z.ZodString>;
|
|
468
468
|
status: z.ZodEnum<{
|
|
469
|
+
pending: "pending";
|
|
469
470
|
completed: "completed";
|
|
470
471
|
running: "running";
|
|
471
472
|
stopped: "stopped";
|
|
472
|
-
pending: "pending";
|
|
473
473
|
errored: "errored";
|
|
474
474
|
}>;
|
|
475
475
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
@@ -484,8 +484,8 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
484
484
|
name: z.ZodString;
|
|
485
485
|
status: z.ZodEnum<{
|
|
486
486
|
failed: "failed";
|
|
487
|
-
running: "running";
|
|
488
487
|
pending: "pending";
|
|
488
|
+
running: "running";
|
|
489
489
|
done: "done";
|
|
490
490
|
}>;
|
|
491
491
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -511,10 +511,10 @@ export declare const windowHostControllerWorkspaceDeltaSchema: z.ZodDiscriminate
|
|
|
511
511
|
}>;
|
|
512
512
|
connectionState: z.ZodEnum<{
|
|
513
513
|
failed: "failed";
|
|
514
|
-
online: "online";
|
|
515
514
|
connecting: "connecting";
|
|
516
|
-
closing: "closing";
|
|
517
515
|
disconnected: "disconnected";
|
|
516
|
+
online: "online";
|
|
517
|
+
closing: "closing";
|
|
518
518
|
reconnecting: "reconnecting";
|
|
519
519
|
}>;
|
|
520
520
|
}, z.core.$strict>;
|
|
@@ -548,10 +548,10 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
548
548
|
createdAt: z.ZodNumber;
|
|
549
549
|
updatedAt: z.ZodNumber;
|
|
550
550
|
mode: z.ZodEnum<{
|
|
551
|
-
|
|
551
|
+
auto: "auto";
|
|
552
552
|
plan: "plan";
|
|
553
|
+
yolo: "yolo";
|
|
553
554
|
edit: "edit";
|
|
554
|
-
auto: "auto";
|
|
555
555
|
autoEdit: "autoEdit";
|
|
556
556
|
build: "build";
|
|
557
557
|
}>;
|
|
@@ -567,9 +567,9 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
567
567
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
568
568
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
569
569
|
status: z.ZodOptional<z.ZodEnum<{
|
|
570
|
+
error: "error";
|
|
570
571
|
completed: "completed";
|
|
571
572
|
running: "running";
|
|
572
|
-
error: "error";
|
|
573
573
|
}>>;
|
|
574
574
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
575
575
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -580,28 +580,28 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
580
580
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
581
581
|
source: z.ZodOptional<z.ZodEnum<{
|
|
582
582
|
provider: "provider";
|
|
583
|
-
runtime: "runtime";
|
|
584
583
|
tool: "tool";
|
|
584
|
+
runtime: "runtime";
|
|
585
585
|
network: "network";
|
|
586
586
|
}>>;
|
|
587
587
|
reason: z.ZodOptional<z.ZodString>;
|
|
588
588
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
589
589
|
response: "response";
|
|
590
|
+
connect: "connect";
|
|
590
591
|
prepare: "prepare";
|
|
591
592
|
configuration: "configuration";
|
|
592
|
-
connect: "connect";
|
|
593
593
|
stream: "stream";
|
|
594
594
|
parse: "parse";
|
|
595
595
|
validation: "validation";
|
|
596
596
|
unhandled: "unhandled";
|
|
597
597
|
}>>;
|
|
598
598
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
599
|
+
transport: "transport";
|
|
599
600
|
validation: "validation";
|
|
600
601
|
api_call: "api_call";
|
|
601
602
|
generic: "generic";
|
|
602
603
|
protocol: "protocol";
|
|
603
604
|
provider_business: "provider_business";
|
|
604
|
-
transport: "transport";
|
|
605
605
|
type_error: "type_error";
|
|
606
606
|
}>>;
|
|
607
607
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -637,8 +637,8 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
637
637
|
status: z.ZodEnum<{
|
|
638
638
|
active: "active";
|
|
639
639
|
paused: "paused";
|
|
640
|
-
complete: "complete";
|
|
641
640
|
budget_limited: "budget_limited";
|
|
641
|
+
complete: "complete";
|
|
642
642
|
}>;
|
|
643
643
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
644
644
|
tokensUsed: z.ZodNumber;
|
|
@@ -662,17 +662,17 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
662
662
|
offline: "offline";
|
|
663
663
|
}>;
|
|
664
664
|
liveStatus: z.ZodEnum<{
|
|
665
|
+
error: "error";
|
|
665
666
|
completed: "completed";
|
|
666
667
|
idle: "idle";
|
|
667
668
|
running: "running";
|
|
668
|
-
error: "error";
|
|
669
669
|
waiting: "waiting";
|
|
670
670
|
}>;
|
|
671
671
|
activity: z.ZodOptional<z.ZodObject<{
|
|
672
672
|
phase: z.ZodEnum<{
|
|
673
|
-
running: "running";
|
|
674
673
|
error: "error";
|
|
675
674
|
draft: "draft";
|
|
675
|
+
running: "running";
|
|
676
676
|
completedSuccess: "completedSuccess";
|
|
677
677
|
completedInterrupted: "completedInterrupted";
|
|
678
678
|
prewarming: "prewarming";
|
|
@@ -689,10 +689,10 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
689
689
|
toolCallId: z.ZodOptional<z.ZodString>;
|
|
690
690
|
name: z.ZodOptional<z.ZodString>;
|
|
691
691
|
status: z.ZodEnum<{
|
|
692
|
+
pending: "pending";
|
|
692
693
|
completed: "completed";
|
|
693
694
|
running: "running";
|
|
694
695
|
stopped: "stopped";
|
|
695
|
-
pending: "pending";
|
|
696
696
|
errored: "errored";
|
|
697
697
|
}>;
|
|
698
698
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
@@ -707,8 +707,8 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
707
707
|
name: z.ZodString;
|
|
708
708
|
status: z.ZodEnum<{
|
|
709
709
|
failed: "failed";
|
|
710
|
-
running: "running";
|
|
711
710
|
pending: "pending";
|
|
711
|
+
running: "running";
|
|
712
712
|
done: "done";
|
|
713
713
|
}>;
|
|
714
714
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -752,10 +752,10 @@ export declare const windowHostControllerWorkspaceFrameSchema: z.ZodObject<{
|
|
|
752
752
|
}>;
|
|
753
753
|
connectionState: z.ZodEnum<{
|
|
754
754
|
failed: "failed";
|
|
755
|
-
online: "online";
|
|
756
755
|
connecting: "connecting";
|
|
757
|
-
closing: "closing";
|
|
758
756
|
disconnected: "disconnected";
|
|
757
|
+
online: "online";
|
|
758
|
+
closing: "closing";
|
|
759
759
|
reconnecting: "reconnecting";
|
|
760
760
|
}>;
|
|
761
761
|
}, z.core.$strict>>;
|
|
@@ -774,10 +774,10 @@ export declare const windowHostControllerWorkspaceFrameSchema: z.ZodObject<{
|
|
|
774
774
|
}>;
|
|
775
775
|
connectionState: z.ZodEnum<{
|
|
776
776
|
failed: "failed";
|
|
777
|
-
online: "online";
|
|
778
777
|
connecting: "connecting";
|
|
779
|
-
closing: "closing";
|
|
780
778
|
disconnected: "disconnected";
|
|
779
|
+
online: "online";
|
|
780
|
+
closing: "closing";
|
|
781
781
|
reconnecting: "reconnecting";
|
|
782
782
|
}>;
|
|
783
783
|
}, z.core.$strict>;
|
|
@@ -823,10 +823,10 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
823
823
|
createdAt: z.ZodNumber;
|
|
824
824
|
updatedAt: z.ZodNumber;
|
|
825
825
|
mode: z.ZodEnum<{
|
|
826
|
-
|
|
826
|
+
auto: "auto";
|
|
827
827
|
plan: "plan";
|
|
828
|
+
yolo: "yolo";
|
|
828
829
|
edit: "edit";
|
|
829
|
-
auto: "auto";
|
|
830
830
|
autoEdit: "autoEdit";
|
|
831
831
|
build: "build";
|
|
832
832
|
}>;
|
|
@@ -842,9 +842,9 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
842
842
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
843
843
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
844
844
|
status: z.ZodOptional<z.ZodEnum<{
|
|
845
|
+
error: "error";
|
|
845
846
|
completed: "completed";
|
|
846
847
|
running: "running";
|
|
847
|
-
error: "error";
|
|
848
848
|
}>>;
|
|
849
849
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
850
850
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -855,28 +855,28 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
855
855
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
856
856
|
source: z.ZodOptional<z.ZodEnum<{
|
|
857
857
|
provider: "provider";
|
|
858
|
-
runtime: "runtime";
|
|
859
858
|
tool: "tool";
|
|
859
|
+
runtime: "runtime";
|
|
860
860
|
network: "network";
|
|
861
861
|
}>>;
|
|
862
862
|
reason: z.ZodOptional<z.ZodString>;
|
|
863
863
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
864
864
|
response: "response";
|
|
865
|
+
connect: "connect";
|
|
865
866
|
prepare: "prepare";
|
|
866
867
|
configuration: "configuration";
|
|
867
|
-
connect: "connect";
|
|
868
868
|
stream: "stream";
|
|
869
869
|
parse: "parse";
|
|
870
870
|
validation: "validation";
|
|
871
871
|
unhandled: "unhandled";
|
|
872
872
|
}>>;
|
|
873
873
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
874
|
+
transport: "transport";
|
|
874
875
|
validation: "validation";
|
|
875
876
|
api_call: "api_call";
|
|
876
877
|
generic: "generic";
|
|
877
878
|
protocol: "protocol";
|
|
878
879
|
provider_business: "provider_business";
|
|
879
|
-
transport: "transport";
|
|
880
880
|
type_error: "type_error";
|
|
881
881
|
}>>;
|
|
882
882
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -912,8 +912,8 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
912
912
|
status: z.ZodEnum<{
|
|
913
913
|
active: "active";
|
|
914
914
|
paused: "paused";
|
|
915
|
-
complete: "complete";
|
|
916
915
|
budget_limited: "budget_limited";
|
|
916
|
+
complete: "complete";
|
|
917
917
|
}>;
|
|
918
918
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
919
919
|
tokensUsed: z.ZodNumber;
|
|
@@ -937,17 +937,17 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
937
937
|
offline: "offline";
|
|
938
938
|
}>;
|
|
939
939
|
liveStatus: z.ZodEnum<{
|
|
940
|
+
error: "error";
|
|
940
941
|
completed: "completed";
|
|
941
942
|
idle: "idle";
|
|
942
943
|
running: "running";
|
|
943
|
-
error: "error";
|
|
944
944
|
waiting: "waiting";
|
|
945
945
|
}>;
|
|
946
946
|
activity: z.ZodOptional<z.ZodObject<{
|
|
947
947
|
phase: z.ZodEnum<{
|
|
948
|
-
running: "running";
|
|
949
948
|
error: "error";
|
|
950
949
|
draft: "draft";
|
|
950
|
+
running: "running";
|
|
951
951
|
completedSuccess: "completedSuccess";
|
|
952
952
|
completedInterrupted: "completedInterrupted";
|
|
953
953
|
prewarming: "prewarming";
|
|
@@ -964,10 +964,10 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
964
964
|
toolCallId: z.ZodOptional<z.ZodString>;
|
|
965
965
|
name: z.ZodOptional<z.ZodString>;
|
|
966
966
|
status: z.ZodEnum<{
|
|
967
|
+
pending: "pending";
|
|
967
968
|
completed: "completed";
|
|
968
969
|
running: "running";
|
|
969
970
|
stopped: "stopped";
|
|
970
|
-
pending: "pending";
|
|
971
971
|
errored: "errored";
|
|
972
972
|
}>;
|
|
973
973
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
@@ -982,8 +982,8 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
982
982
|
name: z.ZodString;
|
|
983
983
|
status: z.ZodEnum<{
|
|
984
984
|
failed: "failed";
|
|
985
|
-
running: "running";
|
|
986
985
|
pending: "pending";
|
|
986
|
+
running: "running";
|
|
987
987
|
done: "done";
|
|
988
988
|
}>;
|
|
989
989
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -1021,10 +1021,10 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1021
1021
|
createdAt: z.ZodNumber;
|
|
1022
1022
|
updatedAt: z.ZodNumber;
|
|
1023
1023
|
mode: z.ZodEnum<{
|
|
1024
|
-
|
|
1024
|
+
auto: "auto";
|
|
1025
1025
|
plan: "plan";
|
|
1026
|
+
yolo: "yolo";
|
|
1026
1027
|
edit: "edit";
|
|
1027
|
-
auto: "auto";
|
|
1028
1028
|
autoEdit: "autoEdit";
|
|
1029
1029
|
build: "build";
|
|
1030
1030
|
}>;
|
|
@@ -1040,9 +1040,9 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1040
1040
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
1041
1041
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
1042
1042
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1043
|
+
error: "error";
|
|
1043
1044
|
completed: "completed";
|
|
1044
1045
|
running: "running";
|
|
1045
|
-
error: "error";
|
|
1046
1046
|
}>>;
|
|
1047
1047
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
1048
1048
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -1053,28 +1053,28 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1053
1053
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
1054
1054
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1055
1055
|
provider: "provider";
|
|
1056
|
-
runtime: "runtime";
|
|
1057
1056
|
tool: "tool";
|
|
1057
|
+
runtime: "runtime";
|
|
1058
1058
|
network: "network";
|
|
1059
1059
|
}>>;
|
|
1060
1060
|
reason: z.ZodOptional<z.ZodString>;
|
|
1061
1061
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
1062
1062
|
response: "response";
|
|
1063
|
+
connect: "connect";
|
|
1063
1064
|
prepare: "prepare";
|
|
1064
1065
|
configuration: "configuration";
|
|
1065
|
-
connect: "connect";
|
|
1066
1066
|
stream: "stream";
|
|
1067
1067
|
parse: "parse";
|
|
1068
1068
|
validation: "validation";
|
|
1069
1069
|
unhandled: "unhandled";
|
|
1070
1070
|
}>>;
|
|
1071
1071
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
1072
|
+
transport: "transport";
|
|
1072
1073
|
validation: "validation";
|
|
1073
1074
|
api_call: "api_call";
|
|
1074
1075
|
generic: "generic";
|
|
1075
1076
|
protocol: "protocol";
|
|
1076
1077
|
provider_business: "provider_business";
|
|
1077
|
-
transport: "transport";
|
|
1078
1078
|
type_error: "type_error";
|
|
1079
1079
|
}>>;
|
|
1080
1080
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -1110,8 +1110,8 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1110
1110
|
status: z.ZodEnum<{
|
|
1111
1111
|
active: "active";
|
|
1112
1112
|
paused: "paused";
|
|
1113
|
-
complete: "complete";
|
|
1114
1113
|
budget_limited: "budget_limited";
|
|
1114
|
+
complete: "complete";
|
|
1115
1115
|
}>;
|
|
1116
1116
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
1117
1117
|
tokensUsed: z.ZodNumber;
|
|
@@ -1135,17 +1135,17 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1135
1135
|
offline: "offline";
|
|
1136
1136
|
}>;
|
|
1137
1137
|
liveStatus: z.ZodEnum<{
|
|
1138
|
+
error: "error";
|
|
1138
1139
|
completed: "completed";
|
|
1139
1140
|
idle: "idle";
|
|
1140
1141
|
running: "running";
|
|
1141
|
-
error: "error";
|
|
1142
1142
|
waiting: "waiting";
|
|
1143
1143
|
}>;
|
|
1144
1144
|
activity: z.ZodOptional<z.ZodObject<{
|
|
1145
1145
|
phase: z.ZodEnum<{
|
|
1146
|
-
running: "running";
|
|
1147
1146
|
error: "error";
|
|
1148
1147
|
draft: "draft";
|
|
1148
|
+
running: "running";
|
|
1149
1149
|
completedSuccess: "completedSuccess";
|
|
1150
1150
|
completedInterrupted: "completedInterrupted";
|
|
1151
1151
|
prewarming: "prewarming";
|
|
@@ -1162,10 +1162,10 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1162
1162
|
toolCallId: z.ZodOptional<z.ZodString>;
|
|
1163
1163
|
name: z.ZodOptional<z.ZodString>;
|
|
1164
1164
|
status: z.ZodEnum<{
|
|
1165
|
+
pending: "pending";
|
|
1165
1166
|
completed: "completed";
|
|
1166
1167
|
running: "running";
|
|
1167
1168
|
stopped: "stopped";
|
|
1168
|
-
pending: "pending";
|
|
1169
1169
|
errored: "errored";
|
|
1170
1170
|
}>;
|
|
1171
1171
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1180,8 +1180,8 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1180
1180
|
name: z.ZodString;
|
|
1181
1181
|
status: z.ZodEnum<{
|
|
1182
1182
|
failed: "failed";
|
|
1183
|
-
running: "running";
|
|
1184
1183
|
pending: "pending";
|
|
1184
|
+
running: "running";
|
|
1185
1185
|
done: "done";
|
|
1186
1186
|
}>;
|
|
1187
1187
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -1224,8 +1224,8 @@ export declare const controllerSubscribeResultSchema: z.ZodObject<{
|
|
|
1224
1224
|
ack: z.ZodObject<{
|
|
1225
1225
|
subscriptionId: z.ZodString;
|
|
1226
1226
|
mode: z.ZodEnum<{
|
|
1227
|
-
resume: "resume";
|
|
1228
1227
|
snapshot: "snapshot";
|
|
1228
|
+
resume: "resume";
|
|
1229
1229
|
}>;
|
|
1230
1230
|
logEpoch: z.ZodString;
|
|
1231
1231
|
}, z.core.$strip>;
|
|
@@ -1244,8 +1244,8 @@ export declare const controllerResyncResultSchema: z.ZodObject<{
|
|
|
1244
1244
|
ack: z.ZodObject<{
|
|
1245
1245
|
subscriptionId: z.ZodString;
|
|
1246
1246
|
mode: z.ZodEnum<{
|
|
1247
|
-
resume: "resume";
|
|
1248
1247
|
snapshot: "snapshot";
|
|
1248
|
+
resume: "resume";
|
|
1249
1249
|
}>;
|
|
1250
1250
|
logEpoch: z.ZodString;
|
|
1251
1251
|
}, z.core.$strip>;
|