@openspecui/core 4.0.1 → 4.0.2
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/{document-translation-qn5NBrnH.d.mts → document-translation-BAhXJaIl.d.mts} +2 -2
- package/dist/document-translation.d.mts +1 -1
- package/dist/index.d.mts +21 -21
- package/dist/{local-download-profiles-BhO8CkRc.d.mts → local-download-profiles-C6VVRttC.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-C0EQ04ku.d.mts → notifications-DcBVI03P.d.mts} +15 -15
- package/dist/notifications.d.mts +1 -1
- package/dist/{openspec-projection-C7cMJcuy.d.mts → openspec-projection-i2pkZ4hQ.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-404UeNow.d.mts → opsx-entity-DNzyALN-.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +3 -3
- package/dist/{opsx-schema-detail-B9NHA1-j.d.mts → opsx-schema-detail-BZpl9jiW.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +4 -4
- package/dist/{opsx-types-C25v_oS5.d.mts → opsx-types-Ccrsvb3l.d.mts} +8 -8
- package/dist/{schemas-LJL0QQgI.d.mts → schemas-C01jZKK1.d.mts} +44 -44
- package/dist/{task-progress-Bf2EoHAM.d.mts → task-progress-C2YCGSyC.d.mts} +2 -2
- package/dist/task-progress.d.mts +3 -3
- package/dist/terminal-control.d.mts +1 -1
- package/dist/{terminal-invocation-DfkBTSwU.d.mts → terminal-invocation-Be3YlFOI.d.mts} +81 -81
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-AkWoCraN.d.mts → translator-CZeKoeLW.d.mts} +104 -104
- package/dist/translator.d.mts +1 -1
- package/package.json +1 -1
|
@@ -218,8 +218,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
218
218
|
raw?: unknown;
|
|
219
219
|
}>, "many">;
|
|
220
220
|
}, "strip", z.ZodTypeAny, {
|
|
221
|
-
label: string;
|
|
222
221
|
id: string;
|
|
222
|
+
label: string;
|
|
223
223
|
selectable: boolean;
|
|
224
224
|
selected: boolean;
|
|
225
225
|
files: {
|
|
@@ -231,7 +231,7 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
231
231
|
sourceUrl?: string | undefined;
|
|
232
232
|
raw?: unknown;
|
|
233
233
|
}[];
|
|
234
|
-
status?: "
|
|
234
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
235
235
|
error?: string | undefined;
|
|
236
236
|
description?: string | undefined;
|
|
237
237
|
profile?: string | undefined;
|
|
@@ -246,8 +246,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
246
246
|
totalBytes?: number | undefined;
|
|
247
247
|
resumable?: boolean | undefined;
|
|
248
248
|
}, {
|
|
249
|
-
label: string;
|
|
250
249
|
id: string;
|
|
250
|
+
label: string;
|
|
251
251
|
selectable: boolean;
|
|
252
252
|
selected: boolean;
|
|
253
253
|
files: {
|
|
@@ -259,7 +259,7 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
259
259
|
sourceUrl?: string | undefined;
|
|
260
260
|
raw?: unknown;
|
|
261
261
|
}[];
|
|
262
|
-
status?: "
|
|
262
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
263
263
|
error?: string | undefined;
|
|
264
264
|
description?: string | undefined;
|
|
265
265
|
profile?: string | undefined;
|
|
@@ -341,8 +341,8 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
|
|
|
341
341
|
raw?: unknown;
|
|
342
342
|
}>, "many">;
|
|
343
343
|
}, "strip", z.ZodTypeAny, {
|
|
344
|
-
label: string;
|
|
345
344
|
id: string;
|
|
345
|
+
label: string;
|
|
346
346
|
baseGroupId: string;
|
|
347
347
|
commitHash: string;
|
|
348
348
|
shortCommitHash: string;
|
|
@@ -363,8 +363,8 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
|
|
|
363
363
|
dtype?: string | undefined;
|
|
364
364
|
estimatedTotalBytes?: number | undefined;
|
|
365
365
|
}, {
|
|
366
|
-
label: string;
|
|
367
366
|
id: string;
|
|
367
|
+
label: string;
|
|
368
368
|
baseGroupId: string;
|
|
369
369
|
commitHash: string;
|
|
370
370
|
shortCommitHash: string;
|
|
@@ -435,8 +435,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
435
435
|
raw?: unknown;
|
|
436
436
|
}>, "many">;
|
|
437
437
|
}, "strip", z.ZodTypeAny, {
|
|
438
|
-
label: string;
|
|
439
438
|
id: string;
|
|
439
|
+
label: string;
|
|
440
440
|
baseGroupId: string;
|
|
441
441
|
commitHash: string;
|
|
442
442
|
shortCommitHash: string;
|
|
@@ -457,8 +457,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
457
457
|
dtype?: string | undefined;
|
|
458
458
|
estimatedTotalBytes?: number | undefined;
|
|
459
459
|
}, {
|
|
460
|
-
label: string;
|
|
461
460
|
id: string;
|
|
461
|
+
label: string;
|
|
462
462
|
baseGroupId: string;
|
|
463
463
|
commitHash: string;
|
|
464
464
|
shortCommitHash: string;
|
|
@@ -481,17 +481,17 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
481
481
|
}>>>;
|
|
482
482
|
groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
483
483
|
}, "strip", z.ZodTypeAny, {
|
|
484
|
-
source: "huggingface";
|
|
485
484
|
revision: string;
|
|
486
485
|
commitHash: string;
|
|
487
486
|
shortCommitHash: string;
|
|
488
487
|
modelId: string;
|
|
488
|
+
source: "huggingface";
|
|
489
489
|
endpoint: string;
|
|
490
490
|
fetchedAt: number;
|
|
491
491
|
updatedAt: number;
|
|
492
492
|
groups: Record<string, {
|
|
493
|
-
label: string;
|
|
494
493
|
id: string;
|
|
494
|
+
label: string;
|
|
495
495
|
baseGroupId: string;
|
|
496
496
|
commitHash: string;
|
|
497
497
|
shortCommitHash: string;
|
|
@@ -515,18 +515,18 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
515
515
|
groupOrder: string[];
|
|
516
516
|
raw?: unknown;
|
|
517
517
|
}, {
|
|
518
|
-
source: "huggingface";
|
|
519
518
|
revision: string;
|
|
520
519
|
commitHash: string;
|
|
521
520
|
shortCommitHash: string;
|
|
522
521
|
modelId: string;
|
|
522
|
+
source: "huggingface";
|
|
523
523
|
fetchedAt: number;
|
|
524
524
|
updatedAt: number;
|
|
525
525
|
raw?: unknown;
|
|
526
526
|
endpoint?: string | undefined;
|
|
527
527
|
groups?: Record<string, {
|
|
528
|
-
label: string;
|
|
529
528
|
id: string;
|
|
529
|
+
label: string;
|
|
530
530
|
baseGroupId: string;
|
|
531
531
|
commitHash: string;
|
|
532
532
|
shortCommitHash: string;
|
|
@@ -559,8 +559,8 @@ declare const LocalModelLifecycleFileStateSchema: z.ZodObject<{
|
|
|
559
559
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
560
560
|
error: z.ZodOptional<z.ZodString>;
|
|
561
561
|
}, "strip", z.ZodTypeAny, {
|
|
562
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
563
562
|
path: string;
|
|
563
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
564
564
|
required: boolean;
|
|
565
565
|
error?: string | undefined;
|
|
566
566
|
sizeBytes?: number | undefined;
|
|
@@ -568,10 +568,10 @@ declare const LocalModelLifecycleFileStateSchema: z.ZodObject<{
|
|
|
568
568
|
downloadedBytes?: number | undefined;
|
|
569
569
|
}, {
|
|
570
570
|
path: string;
|
|
571
|
-
status?: "
|
|
571
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
572
572
|
error?: string | undefined;
|
|
573
|
-
required?: boolean | undefined;
|
|
574
573
|
sizeBytes?: number | undefined;
|
|
574
|
+
required?: boolean | undefined;
|
|
575
575
|
updatedAt?: number | undefined;
|
|
576
576
|
downloadedBytes?: number | undefined;
|
|
577
577
|
}>;
|
|
@@ -597,8 +597,8 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
597
597
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
598
598
|
error: z.ZodOptional<z.ZodString>;
|
|
599
599
|
}, "strip", z.ZodTypeAny, {
|
|
600
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
601
600
|
path: string;
|
|
601
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
602
602
|
required: boolean;
|
|
603
603
|
error?: string | undefined;
|
|
604
604
|
sizeBytes?: number | undefined;
|
|
@@ -606,26 +606,26 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
606
606
|
downloadedBytes?: number | undefined;
|
|
607
607
|
}, {
|
|
608
608
|
path: string;
|
|
609
|
-
status?: "
|
|
609
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
610
610
|
error?: string | undefined;
|
|
611
|
-
required?: boolean | undefined;
|
|
612
611
|
sizeBytes?: number | undefined;
|
|
612
|
+
required?: boolean | undefined;
|
|
613
613
|
updatedAt?: number | undefined;
|
|
614
614
|
downloadedBytes?: number | undefined;
|
|
615
615
|
}>, "many">>;
|
|
616
616
|
}, "strip", z.ZodTypeAny, {
|
|
617
|
-
status: "
|
|
618
|
-
groupId: string;
|
|
617
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
619
618
|
resumable: boolean;
|
|
620
619
|
files: {
|
|
621
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
622
620
|
path: string;
|
|
621
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
623
622
|
required: boolean;
|
|
624
623
|
error?: string | undefined;
|
|
625
624
|
sizeBytes?: number | undefined;
|
|
626
625
|
updatedAt?: number | undefined;
|
|
627
626
|
downloadedBytes?: number | undefined;
|
|
628
627
|
}[];
|
|
628
|
+
groupId: string;
|
|
629
629
|
error?: string | undefined;
|
|
630
630
|
baseGroupId?: string | undefined;
|
|
631
631
|
rootDir?: string | undefined;
|
|
@@ -636,7 +636,7 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
636
636
|
installedAt?: number | undefined;
|
|
637
637
|
}, {
|
|
638
638
|
groupId: string;
|
|
639
|
-
status?: "
|
|
639
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
640
640
|
error?: string | undefined;
|
|
641
641
|
baseGroupId?: string | undefined;
|
|
642
642
|
rootDir?: string | undefined;
|
|
@@ -646,10 +646,10 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
646
646
|
resumable?: boolean | undefined;
|
|
647
647
|
files?: {
|
|
648
648
|
path: string;
|
|
649
|
-
status?: "
|
|
649
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
650
650
|
error?: string | undefined;
|
|
651
|
-
required?: boolean | undefined;
|
|
652
651
|
sizeBytes?: number | undefined;
|
|
652
|
+
required?: boolean | undefined;
|
|
653
653
|
updatedAt?: number | undefined;
|
|
654
654
|
downloadedBytes?: number | undefined;
|
|
655
655
|
}[] | undefined;
|
|
@@ -668,8 +668,8 @@ declare const LocalModelProfileLoadStateSchema: z.ZodObject<{
|
|
|
668
668
|
error?: string | undefined;
|
|
669
669
|
updatedAt?: number | undefined;
|
|
670
670
|
}, {
|
|
671
|
-
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
672
671
|
message?: string | undefined;
|
|
672
|
+
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
673
673
|
error?: string | undefined;
|
|
674
674
|
updatedAt?: number | undefined;
|
|
675
675
|
}>;
|
|
@@ -701,13 +701,11 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
701
701
|
}>, "many">>;
|
|
702
702
|
updatedAt: z.ZodNumber;
|
|
703
703
|
}, "strip", z.ZodTypeAny, {
|
|
704
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
705
704
|
message: string;
|
|
705
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
706
706
|
engineId: "local" | "local-ct2" | "local-llama";
|
|
707
707
|
modelId: string;
|
|
708
708
|
updatedAt: number;
|
|
709
|
-
sessionId?: string | undefined;
|
|
710
|
-
groupId?: string | undefined;
|
|
711
709
|
selectedGroupId?: string | undefined;
|
|
712
710
|
progress?: number | undefined;
|
|
713
711
|
bytesDownloaded?: number | undefined;
|
|
@@ -718,14 +716,14 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
718
716
|
sizeBytes?: number | undefined;
|
|
719
717
|
downloadedBytes?: number | undefined;
|
|
720
718
|
}[] | undefined;
|
|
719
|
+
groupId?: string | undefined;
|
|
720
|
+
sessionId?: string | undefined;
|
|
721
721
|
}, {
|
|
722
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
723
722
|
message: string;
|
|
723
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
724
724
|
engineId: "local" | "local-ct2" | "local-llama";
|
|
725
725
|
modelId: string;
|
|
726
726
|
updatedAt: number;
|
|
727
|
-
sessionId?: string | undefined;
|
|
728
|
-
groupId?: string | undefined;
|
|
729
727
|
selectedGroupId?: string | undefined;
|
|
730
728
|
progress?: number | undefined;
|
|
731
729
|
bytesDownloaded?: number | undefined;
|
|
@@ -736,6 +734,8 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
736
734
|
sizeBytes?: number | undefined;
|
|
737
735
|
downloadedBytes?: number | undefined;
|
|
738
736
|
}[] | undefined;
|
|
737
|
+
groupId?: string | undefined;
|
|
738
|
+
sessionId?: string | undefined;
|
|
739
739
|
}>;
|
|
740
740
|
type LocalModelAssetLog = z.infer<typeof LocalModelAssetLogSchema>;
|
|
741
741
|
declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
@@ -813,8 +813,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
813
813
|
raw?: unknown;
|
|
814
814
|
}>, "many">;
|
|
815
815
|
}, "strip", z.ZodTypeAny, {
|
|
816
|
-
label: string;
|
|
817
816
|
id: string;
|
|
817
|
+
label: string;
|
|
818
818
|
selectable: boolean;
|
|
819
819
|
selected: boolean;
|
|
820
820
|
files: {
|
|
@@ -826,7 +826,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
826
826
|
sourceUrl?: string | undefined;
|
|
827
827
|
raw?: unknown;
|
|
828
828
|
}[];
|
|
829
|
-
status?: "
|
|
829
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
830
830
|
error?: string | undefined;
|
|
831
831
|
description?: string | undefined;
|
|
832
832
|
profile?: string | undefined;
|
|
@@ -841,8 +841,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
841
841
|
totalBytes?: number | undefined;
|
|
842
842
|
resumable?: boolean | undefined;
|
|
843
843
|
}, {
|
|
844
|
-
label: string;
|
|
845
844
|
id: string;
|
|
845
|
+
label: string;
|
|
846
846
|
selectable: boolean;
|
|
847
847
|
selected: boolean;
|
|
848
848
|
files: {
|
|
@@ -854,7 +854,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
854
854
|
sourceUrl?: string | undefined;
|
|
855
855
|
raw?: unknown;
|
|
856
856
|
}[];
|
|
857
|
-
status?: "
|
|
857
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
858
858
|
error?: string | undefined;
|
|
859
859
|
description?: string | undefined;
|
|
860
860
|
profile?: string | undefined;
|
|
@@ -884,8 +884,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
884
884
|
profile?: string | undefined;
|
|
885
885
|
estimatedTotalBytes?: number | undefined;
|
|
886
886
|
groups?: {
|
|
887
|
-
label: string;
|
|
888
887
|
id: string;
|
|
888
|
+
label: string;
|
|
889
889
|
selectable: boolean;
|
|
890
890
|
selected: boolean;
|
|
891
891
|
files: {
|
|
@@ -897,7 +897,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
897
897
|
sourceUrl?: string | undefined;
|
|
898
898
|
raw?: unknown;
|
|
899
899
|
}[];
|
|
900
|
-
status?: "
|
|
900
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
901
901
|
error?: string | undefined;
|
|
902
902
|
description?: string | undefined;
|
|
903
903
|
profile?: string | undefined;
|
|
@@ -927,8 +927,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
927
927
|
profile?: string | undefined;
|
|
928
928
|
estimatedTotalBytes?: number | undefined;
|
|
929
929
|
groups?: {
|
|
930
|
-
label: string;
|
|
931
930
|
id: string;
|
|
931
|
+
label: string;
|
|
932
932
|
selectable: boolean;
|
|
933
933
|
selected: boolean;
|
|
934
934
|
files: {
|
|
@@ -940,7 +940,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
940
940
|
sourceUrl?: string | undefined;
|
|
941
941
|
raw?: unknown;
|
|
942
942
|
}[];
|
|
943
|
-
status?: "
|
|
943
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
944
944
|
error?: string | undefined;
|
|
945
945
|
description?: string | undefined;
|
|
946
946
|
profile?: string | undefined;
|
|
@@ -981,8 +981,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
981
981
|
error?: string | undefined;
|
|
982
982
|
updatedAt?: number | undefined;
|
|
983
983
|
}, {
|
|
984
|
-
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
985
984
|
message?: string | undefined;
|
|
985
|
+
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
986
986
|
error?: string | undefined;
|
|
987
987
|
updatedAt?: number | undefined;
|
|
988
988
|
}>>;
|
|
@@ -1035,8 +1035,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1035
1035
|
raw?: unknown;
|
|
1036
1036
|
}>, "many">;
|
|
1037
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1038
|
-
label: string;
|
|
1039
1038
|
id: string;
|
|
1039
|
+
label: string;
|
|
1040
1040
|
baseGroupId: string;
|
|
1041
1041
|
commitHash: string;
|
|
1042
1042
|
shortCommitHash: string;
|
|
@@ -1057,8 +1057,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1057
1057
|
dtype?: string | undefined;
|
|
1058
1058
|
estimatedTotalBytes?: number | undefined;
|
|
1059
1059
|
}, {
|
|
1060
|
-
label: string;
|
|
1061
1060
|
id: string;
|
|
1061
|
+
label: string;
|
|
1062
1062
|
baseGroupId: string;
|
|
1063
1063
|
commitHash: string;
|
|
1064
1064
|
shortCommitHash: string;
|
|
@@ -1081,17 +1081,17 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1081
1081
|
}>>>;
|
|
1082
1082
|
groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1083
1083
|
}, "strip", z.ZodTypeAny, {
|
|
1084
|
-
source: "huggingface";
|
|
1085
1084
|
revision: string;
|
|
1086
1085
|
commitHash: string;
|
|
1087
1086
|
shortCommitHash: string;
|
|
1088
1087
|
modelId: string;
|
|
1088
|
+
source: "huggingface";
|
|
1089
1089
|
endpoint: string;
|
|
1090
1090
|
fetchedAt: number;
|
|
1091
1091
|
updatedAt: number;
|
|
1092
1092
|
groups: Record<string, {
|
|
1093
|
-
label: string;
|
|
1094
1093
|
id: string;
|
|
1094
|
+
label: string;
|
|
1095
1095
|
baseGroupId: string;
|
|
1096
1096
|
commitHash: string;
|
|
1097
1097
|
shortCommitHash: string;
|
|
@@ -1115,18 +1115,18 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1115
1115
|
groupOrder: string[];
|
|
1116
1116
|
raw?: unknown;
|
|
1117
1117
|
}, {
|
|
1118
|
-
source: "huggingface";
|
|
1119
1118
|
revision: string;
|
|
1120
1119
|
commitHash: string;
|
|
1121
1120
|
shortCommitHash: string;
|
|
1122
1121
|
modelId: string;
|
|
1122
|
+
source: "huggingface";
|
|
1123
1123
|
fetchedAt: number;
|
|
1124
1124
|
updatedAt: number;
|
|
1125
1125
|
raw?: unknown;
|
|
1126
1126
|
endpoint?: string | undefined;
|
|
1127
1127
|
groups?: Record<string, {
|
|
1128
|
-
label: string;
|
|
1129
1128
|
id: string;
|
|
1129
|
+
label: string;
|
|
1130
1130
|
baseGroupId: string;
|
|
1131
1131
|
commitHash: string;
|
|
1132
1132
|
shortCommitHash: string;
|
|
@@ -1170,8 +1170,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1170
1170
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1171
1171
|
error: z.ZodOptional<z.ZodString>;
|
|
1172
1172
|
}, "strip", z.ZodTypeAny, {
|
|
1173
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1174
1173
|
path: string;
|
|
1174
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1175
1175
|
required: boolean;
|
|
1176
1176
|
error?: string | undefined;
|
|
1177
1177
|
sizeBytes?: number | undefined;
|
|
@@ -1179,26 +1179,26 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1179
1179
|
downloadedBytes?: number | undefined;
|
|
1180
1180
|
}, {
|
|
1181
1181
|
path: string;
|
|
1182
|
-
status?: "
|
|
1182
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1183
1183
|
error?: string | undefined;
|
|
1184
|
-
required?: boolean | undefined;
|
|
1185
1184
|
sizeBytes?: number | undefined;
|
|
1185
|
+
required?: boolean | undefined;
|
|
1186
1186
|
updatedAt?: number | undefined;
|
|
1187
1187
|
downloadedBytes?: number | undefined;
|
|
1188
1188
|
}>, "many">>;
|
|
1189
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1190
|
-
status: "
|
|
1191
|
-
groupId: string;
|
|
1190
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1192
1191
|
resumable: boolean;
|
|
1193
1192
|
files: {
|
|
1194
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1195
1193
|
path: string;
|
|
1194
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1196
1195
|
required: boolean;
|
|
1197
1196
|
error?: string | undefined;
|
|
1198
1197
|
sizeBytes?: number | undefined;
|
|
1199
1198
|
updatedAt?: number | undefined;
|
|
1200
1199
|
downloadedBytes?: number | undefined;
|
|
1201
1200
|
}[];
|
|
1201
|
+
groupId: string;
|
|
1202
1202
|
error?: string | undefined;
|
|
1203
1203
|
baseGroupId?: string | undefined;
|
|
1204
1204
|
rootDir?: string | undefined;
|
|
@@ -1209,7 +1209,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1209
1209
|
installedAt?: number | undefined;
|
|
1210
1210
|
}, {
|
|
1211
1211
|
groupId: string;
|
|
1212
|
-
status?: "
|
|
1212
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1213
1213
|
error?: string | undefined;
|
|
1214
1214
|
baseGroupId?: string | undefined;
|
|
1215
1215
|
rootDir?: string | undefined;
|
|
@@ -1219,10 +1219,10 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1219
1219
|
resumable?: boolean | undefined;
|
|
1220
1220
|
files?: {
|
|
1221
1221
|
path: string;
|
|
1222
|
-
status?: "
|
|
1222
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1223
1223
|
error?: string | undefined;
|
|
1224
|
-
required?: boolean | undefined;
|
|
1225
1224
|
sizeBytes?: number | undefined;
|
|
1225
|
+
required?: boolean | undefined;
|
|
1226
1226
|
updatedAt?: number | undefined;
|
|
1227
1227
|
downloadedBytes?: number | undefined;
|
|
1228
1228
|
}[] | undefined;
|
|
@@ -1304,8 +1304,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1304
1304
|
raw?: unknown;
|
|
1305
1305
|
}>, "many">;
|
|
1306
1306
|
}, "strip", z.ZodTypeAny, {
|
|
1307
|
-
label: string;
|
|
1308
1307
|
id: string;
|
|
1308
|
+
label: string;
|
|
1309
1309
|
selectable: boolean;
|
|
1310
1310
|
selected: boolean;
|
|
1311
1311
|
files: {
|
|
@@ -1317,7 +1317,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1317
1317
|
sourceUrl?: string | undefined;
|
|
1318
1318
|
raw?: unknown;
|
|
1319
1319
|
}[];
|
|
1320
|
-
status?: "
|
|
1320
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1321
1321
|
error?: string | undefined;
|
|
1322
1322
|
description?: string | undefined;
|
|
1323
1323
|
profile?: string | undefined;
|
|
@@ -1332,8 +1332,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1332
1332
|
totalBytes?: number | undefined;
|
|
1333
1333
|
resumable?: boolean | undefined;
|
|
1334
1334
|
}, {
|
|
1335
|
-
label: string;
|
|
1336
1335
|
id: string;
|
|
1336
|
+
label: string;
|
|
1337
1337
|
selectable: boolean;
|
|
1338
1338
|
selected: boolean;
|
|
1339
1339
|
files: {
|
|
@@ -1345,7 +1345,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1345
1345
|
sourceUrl?: string | undefined;
|
|
1346
1346
|
raw?: unknown;
|
|
1347
1347
|
}[];
|
|
1348
|
-
status?: "
|
|
1348
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1349
1349
|
error?: string | undefined;
|
|
1350
1350
|
description?: string | undefined;
|
|
1351
1351
|
profile?: string | undefined;
|
|
@@ -1375,8 +1375,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1375
1375
|
profile?: string | undefined;
|
|
1376
1376
|
estimatedTotalBytes?: number | undefined;
|
|
1377
1377
|
groups?: {
|
|
1378
|
-
label: string;
|
|
1379
1378
|
id: string;
|
|
1379
|
+
label: string;
|
|
1380
1380
|
selectable: boolean;
|
|
1381
1381
|
selected: boolean;
|
|
1382
1382
|
files: {
|
|
@@ -1388,7 +1388,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1388
1388
|
sourceUrl?: string | undefined;
|
|
1389
1389
|
raw?: unknown;
|
|
1390
1390
|
}[];
|
|
1391
|
-
status?: "
|
|
1391
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1392
1392
|
error?: string | undefined;
|
|
1393
1393
|
description?: string | undefined;
|
|
1394
1394
|
profile?: string | undefined;
|
|
@@ -1418,8 +1418,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1418
1418
|
profile?: string | undefined;
|
|
1419
1419
|
estimatedTotalBytes?: number | undefined;
|
|
1420
1420
|
groups?: {
|
|
1421
|
-
label: string;
|
|
1422
1421
|
id: string;
|
|
1422
|
+
label: string;
|
|
1423
1423
|
selectable: boolean;
|
|
1424
1424
|
selected: boolean;
|
|
1425
1425
|
files: {
|
|
@@ -1431,7 +1431,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1431
1431
|
sourceUrl?: string | undefined;
|
|
1432
1432
|
raw?: unknown;
|
|
1433
1433
|
}[];
|
|
1434
|
-
status?: "
|
|
1434
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1435
1435
|
error?: string | undefined;
|
|
1436
1436
|
description?: string | undefined;
|
|
1437
1437
|
profile?: string | undefined;
|
|
@@ -1461,7 +1461,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1461
1461
|
downloadedBytes?: number | undefined;
|
|
1462
1462
|
}>, "many">>;
|
|
1463
1463
|
}, "strip", z.ZodTypeAny, {
|
|
1464
|
-
status: "
|
|
1464
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1465
1465
|
resumable: boolean;
|
|
1466
1466
|
selected: boolean;
|
|
1467
1467
|
files: {
|
|
@@ -1478,18 +1478,18 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1478
1478
|
updatedAt?: number | undefined;
|
|
1479
1479
|
};
|
|
1480
1480
|
groupsState: Record<string, {
|
|
1481
|
-
status: "
|
|
1482
|
-
groupId: string;
|
|
1481
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1483
1482
|
resumable: boolean;
|
|
1484
1483
|
files: {
|
|
1485
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1486
1484
|
path: string;
|
|
1485
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1487
1486
|
required: boolean;
|
|
1488
1487
|
error?: string | undefined;
|
|
1489
1488
|
sizeBytes?: number | undefined;
|
|
1490
1489
|
updatedAt?: number | undefined;
|
|
1491
1490
|
downloadedBytes?: number | undefined;
|
|
1492
1491
|
}[];
|
|
1492
|
+
groupId: string;
|
|
1493
1493
|
error?: string | undefined;
|
|
1494
1494
|
baseGroupId?: string | undefined;
|
|
1495
1495
|
rootDir?: string | undefined;
|
|
@@ -1499,25 +1499,25 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1499
1499
|
updatedAt?: number | undefined;
|
|
1500
1500
|
installedAt?: number | undefined;
|
|
1501
1501
|
}>;
|
|
1502
|
-
error?: string | undefined;
|
|
1503
1502
|
selectedGroupId?: string | undefined;
|
|
1503
|
+
error?: string | undefined;
|
|
1504
1504
|
progress?: number | undefined;
|
|
1505
1505
|
bytesDownloaded?: number | undefined;
|
|
1506
1506
|
totalBytes?: number | undefined;
|
|
1507
1507
|
updatedAt?: number | undefined;
|
|
1508
1508
|
installedAt?: number | undefined;
|
|
1509
1509
|
profileManifest?: {
|
|
1510
|
-
source: "huggingface";
|
|
1511
1510
|
revision: string;
|
|
1512
1511
|
commitHash: string;
|
|
1513
1512
|
shortCommitHash: string;
|
|
1514
1513
|
modelId: string;
|
|
1514
|
+
source: "huggingface";
|
|
1515
1515
|
endpoint: string;
|
|
1516
1516
|
fetchedAt: number;
|
|
1517
1517
|
updatedAt: number;
|
|
1518
1518
|
groups: Record<string, {
|
|
1519
|
-
label: string;
|
|
1520
1519
|
id: string;
|
|
1520
|
+
label: string;
|
|
1521
1521
|
baseGroupId: string;
|
|
1522
1522
|
commitHash: string;
|
|
1523
1523
|
shortCommitHash: string;
|
|
@@ -1556,8 +1556,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1556
1556
|
profile?: string | undefined;
|
|
1557
1557
|
estimatedTotalBytes?: number | undefined;
|
|
1558
1558
|
groups?: {
|
|
1559
|
-
label: string;
|
|
1560
1559
|
id: string;
|
|
1560
|
+
label: string;
|
|
1561
1561
|
selectable: boolean;
|
|
1562
1562
|
selected: boolean;
|
|
1563
1563
|
files: {
|
|
@@ -1569,7 +1569,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1569
1569
|
sourceUrl?: string | undefined;
|
|
1570
1570
|
raw?: unknown;
|
|
1571
1571
|
}[];
|
|
1572
|
-
status?: "
|
|
1572
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1573
1573
|
error?: string | undefined;
|
|
1574
1574
|
description?: string | undefined;
|
|
1575
1575
|
profile?: string | undefined;
|
|
@@ -1587,9 +1587,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1587
1587
|
} | undefined;
|
|
1588
1588
|
}, {
|
|
1589
1589
|
modelId: string;
|
|
1590
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1591
|
-
error?: string | undefined;
|
|
1592
1590
|
selectedGroupId?: string | undefined;
|
|
1591
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1592
|
+
error?: string | undefined;
|
|
1593
1593
|
progress?: number | undefined;
|
|
1594
1594
|
bytesDownloaded?: number | undefined;
|
|
1595
1595
|
totalBytes?: number | undefined;
|
|
@@ -1604,24 +1604,24 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1604
1604
|
installedAt?: number | undefined;
|
|
1605
1605
|
version?: 2 | undefined;
|
|
1606
1606
|
profileLoad?: {
|
|
1607
|
-
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
1608
1607
|
message?: string | undefined;
|
|
1608
|
+
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
1609
1609
|
error?: string | undefined;
|
|
1610
1610
|
updatedAt?: number | undefined;
|
|
1611
1611
|
} | undefined;
|
|
1612
1612
|
profileManifest?: {
|
|
1613
|
-
source: "huggingface";
|
|
1614
1613
|
revision: string;
|
|
1615
1614
|
commitHash: string;
|
|
1616
1615
|
shortCommitHash: string;
|
|
1617
1616
|
modelId: string;
|
|
1617
|
+
source: "huggingface";
|
|
1618
1618
|
fetchedAt: number;
|
|
1619
1619
|
updatedAt: number;
|
|
1620
1620
|
raw?: unknown;
|
|
1621
1621
|
endpoint?: string | undefined;
|
|
1622
1622
|
groups?: Record<string, {
|
|
1623
|
-
label: string;
|
|
1624
1623
|
id: string;
|
|
1624
|
+
label: string;
|
|
1625
1625
|
baseGroupId: string;
|
|
1626
1626
|
commitHash: string;
|
|
1627
1627
|
shortCommitHash: string;
|
|
@@ -1646,7 +1646,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1646
1646
|
} | undefined;
|
|
1647
1647
|
groupsState?: Record<string, {
|
|
1648
1648
|
groupId: string;
|
|
1649
|
-
status?: "
|
|
1649
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1650
1650
|
error?: string | undefined;
|
|
1651
1651
|
baseGroupId?: string | undefined;
|
|
1652
1652
|
rootDir?: string | undefined;
|
|
@@ -1656,10 +1656,10 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1656
1656
|
resumable?: boolean | undefined;
|
|
1657
1657
|
files?: {
|
|
1658
1658
|
path: string;
|
|
1659
|
-
status?: "
|
|
1659
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1660
1660
|
error?: string | undefined;
|
|
1661
|
-
required?: boolean | undefined;
|
|
1662
1661
|
sizeBytes?: number | undefined;
|
|
1662
|
+
required?: boolean | undefined;
|
|
1663
1663
|
updatedAt?: number | undefined;
|
|
1664
1664
|
downloadedBytes?: number | undefined;
|
|
1665
1665
|
}[] | undefined;
|
|
@@ -1681,8 +1681,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1681
1681
|
profile?: string | undefined;
|
|
1682
1682
|
estimatedTotalBytes?: number | undefined;
|
|
1683
1683
|
groups?: {
|
|
1684
|
-
label: string;
|
|
1685
1684
|
id: string;
|
|
1685
|
+
label: string;
|
|
1686
1686
|
selectable: boolean;
|
|
1687
1687
|
selected: boolean;
|
|
1688
1688
|
files: {
|
|
@@ -1694,7 +1694,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1694
1694
|
sourceUrl?: string | undefined;
|
|
1695
1695
|
raw?: unknown;
|
|
1696
1696
|
}[];
|
|
1697
|
-
status?: "
|
|
1697
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1698
1698
|
error?: string | undefined;
|
|
1699
1699
|
description?: string | undefined;
|
|
1700
1700
|
profile?: string | undefined;
|
|
@@ -1816,12 +1816,12 @@ declare const TranslationEngineAssetStatusSchema: z.ZodObject<{
|
|
|
1816
1816
|
} & {
|
|
1817
1817
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
1818
1818
|
}, "strip", z.ZodTypeAny, {
|
|
1819
|
-
state: "
|
|
1819
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1820
1820
|
message?: string | undefined;
|
|
1821
1821
|
error?: string | undefined;
|
|
1822
1822
|
progress?: number | undefined;
|
|
1823
1823
|
}, {
|
|
1824
|
-
state: "
|
|
1824
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1825
1825
|
message?: string | undefined;
|
|
1826
1826
|
error?: string | undefined;
|
|
1827
1827
|
progress?: number | undefined;
|
|
@@ -1874,12 +1874,12 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1874
1874
|
} & {
|
|
1875
1875
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
1876
1876
|
}, "strip", z.ZodTypeAny, {
|
|
1877
|
-
state: "
|
|
1877
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1878
1878
|
message?: string | undefined;
|
|
1879
1879
|
error?: string | undefined;
|
|
1880
1880
|
progress?: number | undefined;
|
|
1881
1881
|
}, {
|
|
1882
|
-
state: "
|
|
1882
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1883
1883
|
message?: string | undefined;
|
|
1884
1884
|
error?: string | undefined;
|
|
1885
1885
|
progress?: number | undefined;
|
|
@@ -1899,7 +1899,7 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1899
1899
|
progress?: number | undefined;
|
|
1900
1900
|
};
|
|
1901
1901
|
assets: {
|
|
1902
|
-
state: "
|
|
1902
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1903
1903
|
message?: string | undefined;
|
|
1904
1904
|
error?: string | undefined;
|
|
1905
1905
|
progress?: number | undefined;
|
|
@@ -1919,7 +1919,7 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1919
1919
|
progress?: number | undefined;
|
|
1920
1920
|
};
|
|
1921
1921
|
assets: {
|
|
1922
|
-
state: "
|
|
1922
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1923
1923
|
message?: string | undefined;
|
|
1924
1924
|
error?: string | undefined;
|
|
1925
1925
|
progress?: number | undefined;
|
|
@@ -1945,11 +1945,11 @@ declare const TranslationEngineInstallLogEventSchema: z.ZodObject<{
|
|
|
1945
1945
|
stream: z.ZodEnum<["stdout", "stderr"]>;
|
|
1946
1946
|
text: z.ZodString;
|
|
1947
1947
|
}, "strip", z.ZodTypeAny, {
|
|
1948
|
-
text: string;
|
|
1949
1948
|
stream: "stdout" | "stderr";
|
|
1950
|
-
}, {
|
|
1951
1949
|
text: string;
|
|
1950
|
+
}, {
|
|
1952
1951
|
stream: "stdout" | "stderr";
|
|
1952
|
+
text: string;
|
|
1953
1953
|
}>;
|
|
1954
1954
|
interface TranslationEngineLifecycleStatusEvent {
|
|
1955
1955
|
type: 'status';
|
|
@@ -2009,12 +2009,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2009
2009
|
} & {
|
|
2010
2010
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
2011
2011
|
}, "strip", z.ZodTypeAny, {
|
|
2012
|
-
state: "
|
|
2012
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2013
2013
|
message?: string | undefined;
|
|
2014
2014
|
error?: string | undefined;
|
|
2015
2015
|
progress?: number | undefined;
|
|
2016
2016
|
}, {
|
|
2017
|
-
state: "
|
|
2017
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2018
2018
|
message?: string | undefined;
|
|
2019
2019
|
error?: string | undefined;
|
|
2020
2020
|
progress?: number | undefined;
|
|
@@ -2034,7 +2034,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2034
2034
|
progress?: number | undefined;
|
|
2035
2035
|
};
|
|
2036
2036
|
assets: {
|
|
2037
|
-
state: "
|
|
2037
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2038
2038
|
message?: string | undefined;
|
|
2039
2039
|
error?: string | undefined;
|
|
2040
2040
|
progress?: number | undefined;
|
|
@@ -2054,7 +2054,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2054
2054
|
progress?: number | undefined;
|
|
2055
2055
|
};
|
|
2056
2056
|
assets: {
|
|
2057
|
-
state: "
|
|
2057
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2058
2058
|
message?: string | undefined;
|
|
2059
2059
|
error?: string | undefined;
|
|
2060
2060
|
progress?: number | undefined;
|
|
@@ -2077,7 +2077,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2077
2077
|
progress?: number | undefined;
|
|
2078
2078
|
};
|
|
2079
2079
|
assets: {
|
|
2080
|
-
state: "
|
|
2080
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2081
2081
|
message?: string | undefined;
|
|
2082
2082
|
error?: string | undefined;
|
|
2083
2083
|
progress?: number | undefined;
|
|
@@ -2100,7 +2100,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2100
2100
|
progress?: number | undefined;
|
|
2101
2101
|
};
|
|
2102
2102
|
assets: {
|
|
2103
|
-
state: "
|
|
2103
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2104
2104
|
message?: string | undefined;
|
|
2105
2105
|
error?: string | undefined;
|
|
2106
2106
|
progress?: number | undefined;
|
|
@@ -2113,12 +2113,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2113
2113
|
text: z.ZodString;
|
|
2114
2114
|
}, "strip", z.ZodTypeAny, {
|
|
2115
2115
|
type: "log";
|
|
2116
|
-
text: string;
|
|
2117
2116
|
stream: "stdout" | "stderr";
|
|
2117
|
+
text: string;
|
|
2118
2118
|
}, {
|
|
2119
2119
|
type: "log";
|
|
2120
|
-
text: string;
|
|
2121
2120
|
stream: "stdout" | "stderr";
|
|
2121
|
+
text: string;
|
|
2122
2122
|
}>, z.ZodObject<{
|
|
2123
2123
|
type: z.ZodLiteral<"exit">;
|
|
2124
2124
|
lifecycle: z.ZodObject<{
|
|
@@ -2163,12 +2163,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2163
2163
|
} & {
|
|
2164
2164
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
2165
2165
|
}, "strip", z.ZodTypeAny, {
|
|
2166
|
-
state: "
|
|
2166
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2167
2167
|
message?: string | undefined;
|
|
2168
2168
|
error?: string | undefined;
|
|
2169
2169
|
progress?: number | undefined;
|
|
2170
2170
|
}, {
|
|
2171
|
-
state: "
|
|
2171
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2172
2172
|
message?: string | undefined;
|
|
2173
2173
|
error?: string | undefined;
|
|
2174
2174
|
progress?: number | undefined;
|
|
@@ -2188,7 +2188,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2188
2188
|
progress?: number | undefined;
|
|
2189
2189
|
};
|
|
2190
2190
|
assets: {
|
|
2191
|
-
state: "
|
|
2191
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2192
2192
|
message?: string | undefined;
|
|
2193
2193
|
error?: string | undefined;
|
|
2194
2194
|
progress?: number | undefined;
|
|
@@ -2208,7 +2208,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2208
2208
|
progress?: number | undefined;
|
|
2209
2209
|
};
|
|
2210
2210
|
assets: {
|
|
2211
|
-
state: "
|
|
2211
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2212
2212
|
message?: string | undefined;
|
|
2213
2213
|
error?: string | undefined;
|
|
2214
2214
|
progress?: number | undefined;
|
|
@@ -2231,7 +2231,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2231
2231
|
progress?: number | undefined;
|
|
2232
2232
|
};
|
|
2233
2233
|
assets: {
|
|
2234
|
-
state: "
|
|
2234
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2235
2235
|
message?: string | undefined;
|
|
2236
2236
|
error?: string | undefined;
|
|
2237
2237
|
progress?: number | undefined;
|
|
@@ -2254,7 +2254,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2254
2254
|
progress?: number | undefined;
|
|
2255
2255
|
};
|
|
2256
2256
|
assets: {
|
|
2257
|
-
state: "
|
|
2257
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2258
2258
|
message?: string | undefined;
|
|
2259
2259
|
error?: string | undefined;
|
|
2260
2260
|
progress?: number | undefined;
|