@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
|
@@ -20,8 +20,8 @@ export declare const commandPayloadSchemas: {
|
|
|
20
20
|
}, z.core.$strict>>;
|
|
21
21
|
}, z.core.$strict>>;
|
|
22
22
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
23
|
-
yolo: "yolo";
|
|
24
23
|
plan: "plan";
|
|
24
|
+
yolo: "yolo";
|
|
25
25
|
edit: "edit";
|
|
26
26
|
build: "build";
|
|
27
27
|
}>>;
|
|
@@ -149,8 +149,8 @@ export declare const commandPayloadSchemas: {
|
|
|
149
149
|
}, z.core.$strict>>;
|
|
150
150
|
}, z.core.$strict>>;
|
|
151
151
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
152
|
-
yolo: "yolo";
|
|
153
152
|
plan: "plan";
|
|
153
|
+
yolo: "yolo";
|
|
154
154
|
edit: "edit";
|
|
155
155
|
build: "build";
|
|
156
156
|
}>>;
|
|
@@ -199,8 +199,8 @@ export declare const commandPayloadSchemas: {
|
|
|
199
199
|
}, z.core.$strict>>;
|
|
200
200
|
}, z.core.$strict>>;
|
|
201
201
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
202
|
-
yolo: "yolo";
|
|
203
202
|
plan: "plan";
|
|
203
|
+
yolo: "yolo";
|
|
204
204
|
edit: "edit";
|
|
205
205
|
build: "build";
|
|
206
206
|
}>>;
|
|
@@ -353,8 +353,8 @@ export declare const commandPayloadSchemas: {
|
|
|
353
353
|
}, z.core.$strip>;
|
|
354
354
|
readonly switchCollaborationMode: z.ZodObject<{
|
|
355
355
|
mode: z.ZodEnum<{
|
|
356
|
-
yolo: "yolo";
|
|
357
356
|
plan: "plan";
|
|
357
|
+
yolo: "yolo";
|
|
358
358
|
edit: "edit";
|
|
359
359
|
build: "build";
|
|
360
360
|
}>;
|
|
@@ -402,16 +402,20 @@ export type CommandPayloadMap = {
|
|
|
402
402
|
export declare const commandTypeSchema: z.ZodEnum<{
|
|
403
403
|
stop: "stop";
|
|
404
404
|
compact: "compact";
|
|
405
|
-
createSession: "createSession";
|
|
406
|
-
createSelectionSideSession: "createSelectionSideSession";
|
|
407
405
|
sendText: "sendText";
|
|
408
406
|
sendGoalCommand: "sendGoalCommand";
|
|
407
|
+
switchModelConfig: "switchModelConfig";
|
|
408
|
+
setFollowupMode: "setFollowupMode";
|
|
409
|
+
sendQueuedNow: "sendQueuedNow";
|
|
410
|
+
pauseGoal: "pauseGoal";
|
|
411
|
+
resumeGoal: "resumeGoal";
|
|
412
|
+
createSession: "createSession";
|
|
413
|
+
createSelectionSideSession: "createSelectionSideSession";
|
|
409
414
|
forkAssistant: "forkAssistant";
|
|
410
415
|
applyFileRewind: "applyFileRewind";
|
|
411
416
|
editUserQuery: "editUserQuery";
|
|
412
417
|
retryTurn: "retryTurn";
|
|
413
418
|
setAssistantFeedback: "setAssistantFeedback";
|
|
414
|
-
sendQueuedNow: "sendQueuedNow";
|
|
415
419
|
editQueueItem: "editQueueItem";
|
|
416
420
|
reorderQueueItem: "reorderQueueItem";
|
|
417
421
|
deleteQueueItem: "deleteQueueItem";
|
|
@@ -422,11 +426,7 @@ export declare const commandTypeSchema: z.ZodEnum<{
|
|
|
422
426
|
revokeWorkspaceHookTrust: "revokeWorkspaceHookTrust";
|
|
423
427
|
requestWorkspaceHookReview: "requestWorkspaceHookReview";
|
|
424
428
|
snoozeInteractionAutoResolution: "snoozeInteractionAutoResolution";
|
|
425
|
-
switchModelConfig: "switchModelConfig";
|
|
426
429
|
switchCollaborationMode: "switchCollaborationMode";
|
|
427
|
-
setFollowupMode: "setFollowupMode";
|
|
428
|
-
pauseGoal: "pauseGoal";
|
|
429
|
-
resumeGoal: "resumeGoal";
|
|
430
430
|
cancelBackgroundWork: "cancelBackgroundWork";
|
|
431
431
|
resumeWorkflowRun: "resumeWorkflowRun";
|
|
432
432
|
startSavedWorkflow: "startSavedWorkflow";
|
|
@@ -462,16 +462,20 @@ export declare const commandEnvelopeSchema: z.ZodObject<{
|
|
|
462
462
|
type: z.ZodEnum<{
|
|
463
463
|
stop: "stop";
|
|
464
464
|
compact: "compact";
|
|
465
|
-
createSession: "createSession";
|
|
466
|
-
createSelectionSideSession: "createSelectionSideSession";
|
|
467
465
|
sendText: "sendText";
|
|
468
466
|
sendGoalCommand: "sendGoalCommand";
|
|
467
|
+
switchModelConfig: "switchModelConfig";
|
|
468
|
+
setFollowupMode: "setFollowupMode";
|
|
469
|
+
sendQueuedNow: "sendQueuedNow";
|
|
470
|
+
pauseGoal: "pauseGoal";
|
|
471
|
+
resumeGoal: "resumeGoal";
|
|
472
|
+
createSession: "createSession";
|
|
473
|
+
createSelectionSideSession: "createSelectionSideSession";
|
|
469
474
|
forkAssistant: "forkAssistant";
|
|
470
475
|
applyFileRewind: "applyFileRewind";
|
|
471
476
|
editUserQuery: "editUserQuery";
|
|
472
477
|
retryTurn: "retryTurn";
|
|
473
478
|
setAssistantFeedback: "setAssistantFeedback";
|
|
474
|
-
sendQueuedNow: "sendQueuedNow";
|
|
475
479
|
editQueueItem: "editQueueItem";
|
|
476
480
|
reorderQueueItem: "reorderQueueItem";
|
|
477
481
|
deleteQueueItem: "deleteQueueItem";
|
|
@@ -482,11 +486,7 @@ export declare const commandEnvelopeSchema: z.ZodObject<{
|
|
|
482
486
|
revokeWorkspaceHookTrust: "revokeWorkspaceHookTrust";
|
|
483
487
|
requestWorkspaceHookReview: "requestWorkspaceHookReview";
|
|
484
488
|
snoozeInteractionAutoResolution: "snoozeInteractionAutoResolution";
|
|
485
|
-
switchModelConfig: "switchModelConfig";
|
|
486
489
|
switchCollaborationMode: "switchCollaborationMode";
|
|
487
|
-
setFollowupMode: "setFollowupMode";
|
|
488
|
-
pauseGoal: "pauseGoal";
|
|
489
|
-
resumeGoal: "resumeGoal";
|
|
490
490
|
cancelBackgroundWork: "cancelBackgroundWork";
|
|
491
491
|
resumeWorkflowRun: "resumeWorkflowRun";
|
|
492
492
|
startSavedWorkflow: "startSavedWorkflow";
|
|
@@ -542,8 +542,8 @@ export declare const commandResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
542
542
|
}, z.core.$strict>>;
|
|
543
543
|
safeFiles: z.ZodArray<z.ZodObject<{
|
|
544
544
|
action: z.ZodEnum<{
|
|
545
|
-
restore: "restore";
|
|
546
545
|
delete: "delete";
|
|
546
|
+
restore: "restore";
|
|
547
547
|
}>;
|
|
548
548
|
operationCount: z.ZodNumber;
|
|
549
549
|
path: z.ZodString;
|
|
@@ -569,8 +569,8 @@ export declare const commandResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
569
569
|
}, z.core.$strip>, z.ZodObject<{
|
|
570
570
|
type: z.ZodLiteral<"editUserQuery">;
|
|
571
571
|
disposition: z.ZodEnum<{
|
|
572
|
-
rewind: "rewind";
|
|
573
572
|
fork: "fork";
|
|
573
|
+
rewind: "rewind";
|
|
574
574
|
blocked: "blocked";
|
|
575
575
|
}>;
|
|
576
576
|
sessionId: z.ZodString;
|
|
@@ -585,8 +585,8 @@ export declare const commandResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
585
585
|
}, z.core.$strict>>;
|
|
586
586
|
safeFiles: z.ZodArray<z.ZodObject<{
|
|
587
587
|
action: z.ZodEnum<{
|
|
588
|
-
restore: "restore";
|
|
589
588
|
delete: "delete";
|
|
589
|
+
restore: "restore";
|
|
590
590
|
}>;
|
|
591
591
|
operationCount: z.ZodNumber;
|
|
592
592
|
path: z.ZodString;
|
|
@@ -641,10 +641,10 @@ export declare const commandAckSchema: z.ZodObject<{
|
|
|
641
641
|
commandId: z.ZodString;
|
|
642
642
|
status: z.ZodEnum<{
|
|
643
643
|
failed: "failed";
|
|
644
|
-
rejected: "rejected";
|
|
645
|
-
noop: "noop";
|
|
646
644
|
accepted: "accepted";
|
|
647
645
|
stale: "stale";
|
|
646
|
+
noop: "noop";
|
|
647
|
+
rejected: "rejected";
|
|
648
648
|
duplicate: "duplicate";
|
|
649
649
|
}>;
|
|
650
650
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
@@ -685,8 +685,8 @@ export declare const commandAckSchema: z.ZodObject<{
|
|
|
685
685
|
}, z.core.$strict>>;
|
|
686
686
|
safeFiles: z.ZodArray<z.ZodObject<{
|
|
687
687
|
action: z.ZodEnum<{
|
|
688
|
-
restore: "restore";
|
|
689
688
|
delete: "delete";
|
|
689
|
+
restore: "restore";
|
|
690
690
|
}>;
|
|
691
691
|
operationCount: z.ZodNumber;
|
|
692
692
|
path: z.ZodString;
|
|
@@ -712,8 +712,8 @@ export declare const commandAckSchema: z.ZodObject<{
|
|
|
712
712
|
}, z.core.$strip>, z.ZodObject<{
|
|
713
713
|
type: z.ZodLiteral<"editUserQuery">;
|
|
714
714
|
disposition: z.ZodEnum<{
|
|
715
|
-
rewind: "rewind";
|
|
716
715
|
fork: "fork";
|
|
716
|
+
rewind: "rewind";
|
|
717
717
|
blocked: "blocked";
|
|
718
718
|
}>;
|
|
719
719
|
sessionId: z.ZodString;
|
|
@@ -728,8 +728,8 @@ export declare const commandAckSchema: z.ZodObject<{
|
|
|
728
728
|
}, z.core.$strict>>;
|
|
729
729
|
safeFiles: z.ZodArray<z.ZodObject<{
|
|
730
730
|
action: z.ZodEnum<{
|
|
731
|
-
restore: "restore";
|
|
732
731
|
delete: "delete";
|
|
732
|
+
restore: "restore";
|
|
733
733
|
}>;
|
|
734
734
|
operationCount: z.ZodNumber;
|
|
735
735
|
path: z.ZodString;
|
|
@@ -803,10 +803,10 @@ export declare const commandQueryItemSchema: z.ZodObject<{
|
|
|
803
803
|
commandId: z.ZodString;
|
|
804
804
|
status: z.ZodEnum<{
|
|
805
805
|
failed: "failed";
|
|
806
|
-
rejected: "rejected";
|
|
807
|
-
noop: "noop";
|
|
808
806
|
accepted: "accepted";
|
|
809
807
|
stale: "stale";
|
|
808
|
+
noop: "noop";
|
|
809
|
+
rejected: "rejected";
|
|
810
810
|
duplicate: "duplicate";
|
|
811
811
|
}>;
|
|
812
812
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
@@ -847,8 +847,8 @@ export declare const commandQueryItemSchema: z.ZodObject<{
|
|
|
847
847
|
}, z.core.$strict>>;
|
|
848
848
|
safeFiles: z.ZodArray<z.ZodObject<{
|
|
849
849
|
action: z.ZodEnum<{
|
|
850
|
-
restore: "restore";
|
|
851
850
|
delete: "delete";
|
|
851
|
+
restore: "restore";
|
|
852
852
|
}>;
|
|
853
853
|
operationCount: z.ZodNumber;
|
|
854
854
|
path: z.ZodString;
|
|
@@ -874,8 +874,8 @@ export declare const commandQueryItemSchema: z.ZodObject<{
|
|
|
874
874
|
}, z.core.$strip>, z.ZodObject<{
|
|
875
875
|
type: z.ZodLiteral<"editUserQuery">;
|
|
876
876
|
disposition: z.ZodEnum<{
|
|
877
|
-
rewind: "rewind";
|
|
878
877
|
fork: "fork";
|
|
878
|
+
rewind: "rewind";
|
|
879
879
|
blocked: "blocked";
|
|
880
880
|
}>;
|
|
881
881
|
sessionId: z.ZodString;
|
|
@@ -890,8 +890,8 @@ export declare const commandQueryItemSchema: z.ZodObject<{
|
|
|
890
890
|
}, z.core.$strict>>;
|
|
891
891
|
safeFiles: z.ZodArray<z.ZodObject<{
|
|
892
892
|
action: z.ZodEnum<{
|
|
893
|
-
restore: "restore";
|
|
894
893
|
delete: "delete";
|
|
894
|
+
restore: "restore";
|
|
895
895
|
}>;
|
|
896
896
|
operationCount: z.ZodNumber;
|
|
897
897
|
path: z.ZodString;
|
|
@@ -954,10 +954,10 @@ export declare const commandsQueryResultSchema: z.ZodObject<{
|
|
|
954
954
|
commandId: z.ZodString;
|
|
955
955
|
status: z.ZodEnum<{
|
|
956
956
|
failed: "failed";
|
|
957
|
-
rejected: "rejected";
|
|
958
|
-
noop: "noop";
|
|
959
957
|
accepted: "accepted";
|
|
960
958
|
stale: "stale";
|
|
959
|
+
noop: "noop";
|
|
960
|
+
rejected: "rejected";
|
|
961
961
|
duplicate: "duplicate";
|
|
962
962
|
}>;
|
|
963
963
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
@@ -998,8 +998,8 @@ export declare const commandsQueryResultSchema: z.ZodObject<{
|
|
|
998
998
|
}, z.core.$strict>>;
|
|
999
999
|
safeFiles: z.ZodArray<z.ZodObject<{
|
|
1000
1000
|
action: z.ZodEnum<{
|
|
1001
|
-
restore: "restore";
|
|
1002
1001
|
delete: "delete";
|
|
1002
|
+
restore: "restore";
|
|
1003
1003
|
}>;
|
|
1004
1004
|
operationCount: z.ZodNumber;
|
|
1005
1005
|
path: z.ZodString;
|
|
@@ -1025,8 +1025,8 @@ export declare const commandsQueryResultSchema: z.ZodObject<{
|
|
|
1025
1025
|
}, z.core.$strip>, z.ZodObject<{
|
|
1026
1026
|
type: z.ZodLiteral<"editUserQuery">;
|
|
1027
1027
|
disposition: z.ZodEnum<{
|
|
1028
|
-
rewind: "rewind";
|
|
1029
1028
|
fork: "fork";
|
|
1029
|
+
rewind: "rewind";
|
|
1030
1030
|
blocked: "blocked";
|
|
1031
1031
|
}>;
|
|
1032
1032
|
sessionId: z.ZodString;
|
|
@@ -1041,8 +1041,8 @@ export declare const commandsQueryResultSchema: z.ZodObject<{
|
|
|
1041
1041
|
}, z.core.$strict>>;
|
|
1042
1042
|
safeFiles: z.ZodArray<z.ZodObject<{
|
|
1043
1043
|
action: z.ZodEnum<{
|
|
1044
|
-
restore: "restore";
|
|
1045
1044
|
delete: "delete";
|
|
1045
|
+
restore: "restore";
|
|
1046
1046
|
}>;
|
|
1047
1047
|
operationCount: z.ZodNumber;
|
|
1048
1048
|
path: z.ZodString;
|