@openspecui/core 9.0.2 → 10.0.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/{active-root-config-DxYz3yKb.d.mts → active-root-config-N3lOotoq.d.mts} +13 -13
- package/dist/active-root-config.d.mts +5 -5
- package/dist/app-daemon-control.d.mts +8 -8
- package/dist/{cli-projection-Bf5KrMN0.d.mts → cli-projection-bB650ru4.d.mts} +9 -9
- package/dist/cli-projection.d.mts +5 -5
- package/dist/{workflow-CmQ4pFYC.mjs → command-result-DWMmDl6I.mjs} +91 -80
- package/dist/{dashboard-summary-transport-BNOPiGUP.d.mts → dashboard-summary-transport-DcyVID8z.d.mts} +3728 -3631
- package/dist/dashboard-summary-transport.d.mts +18 -18
- package/dist/{document-translation-CBqubtWC.d.mts → document-translation-DM2eydNr.d.mts} +2 -2
- package/dist/document-translation.d.mts +1 -1
- package/dist/hosted-app.d.mts +18 -18
- package/dist/hosted-contract.d.mts +18 -18
- package/dist/{index-CajHC-38.d.mts → index-CW5hcqKC.d.mts} +12277 -7316
- package/dist/index.d.mts +19 -19
- package/dist/index.mjs +513 -184
- package/dist/{local-download-profiles-Cu0nXbF1.d.mts → local-download-profiles-DXmw0Zs3.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/local-download-profiles.mjs +1 -1
- package/dist/{notifications-D0M-01SA.d.mts → notifications-BQhnmovr.d.mts} +13 -13
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-compat-B246EQNW.mjs → openspec-compat-DctIDxRM.mjs} +23 -17
- package/dist/openspec-compat.d.mts +4 -76
- package/dist/openspec-compat.mjs +2 -2
- package/dist/{openspec-projection-DKHk3L2e.d.mts → openspec-projection-FKuNsfBp.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-eoJAox1u.d.mts → opsx-entity-CulylXeK.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -7
- package/dist/{opsx-schema-detail-C3xm4DKk.d.mts → opsx-schema-detail-C9kNWQmO.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -8
- package/dist/{opsx-types-DXBwJP68.d.mts → opsx-types-BeQJ4Le_.d.mts} +81 -81
- package/dist/{planning-cli-projection-DV22v3Xl.mjs → planning-cli-projection-pq8vZC1r.mjs} +2 -2
- package/dist/planning-cli-projection.d.mts +18 -18
- package/dist/planning-cli-projection.mjs +3 -3
- package/dist/{schemas-CxBYcq-e.d.mts → schemas-BIaPbul1.d.mts} +66 -66
- package/dist/{sounds-X-Wf5v3V.d.mts → sounds-CxSkCgKh.d.mts} +8 -8
- package/dist/sounds.d.mts +1 -1
- package/dist/{spec-catalog-Ce3uSLSc.mjs → spec-catalog-BkX0tZp9.mjs} +149 -2
- package/dist/spec-catalog.d.mts +18 -18
- package/dist/spec-catalog.mjs +2 -2
- package/dist/{store-mutation-protocol-B0e6UlO3.d.mts → store-mutation-protocol-DXeWtAvN.d.mts} +36 -36
- package/dist/store-mutation-protocol.d.mts +1 -1
- package/dist/{store-types-DhoV8sV7.d.mts → store-types-TDbmbvPx.d.mts} +1 -1
- package/dist/store-types.d.mts +5 -5
- package/dist/task-progress.d.mts +6 -6
- package/dist/{terminal-audio-D5CfhorV.d.mts → terminal-audio-R-3VBy0x.d.mts} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-audio.mjs +1 -1
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-C71aMyAX.d.mts → terminal-invocation-C8mSioBZ.d.mts} +93 -93
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/terminal-theme.mjs +1 -1
- package/dist/translation-language-pair.mjs +1 -1
- package/dist/{translator-BgCkaOkw.d.mts → translator-CVkc7MHh.d.mts} +91 -91
- package/dist/translator.d.mts +1 -1
- package/package.json +3 -2
- /package/dist/{local-download-profiles-BRsR1-kK.mjs → local-download-profiles-3I8AOUJj.mjs} +0 -0
- /package/dist/{terminal-audio-ELHVH24M.mjs → terminal-audio-CLEDFFpW.mjs} +0 -0
- /package/dist/{terminal-theme-C6BPfQ2G.mjs → terminal-theme-Bse1UdaX.mjs} +0 -0
- /package/dist/{translation-language-pair-CWLlH7Ab.mjs → translation-language-pair-BTfLQehX.mjs} +0 -0
|
@@ -482,13 +482,13 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
482
482
|
groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
483
483
|
}, "strip", z.ZodTypeAny, {
|
|
484
484
|
revision: string;
|
|
485
|
+
source: "huggingface";
|
|
486
|
+
updatedAt: number;
|
|
485
487
|
commitHash: string;
|
|
486
488
|
shortCommitHash: string;
|
|
487
489
|
modelId: string;
|
|
488
|
-
source: "huggingface";
|
|
489
490
|
endpoint: string;
|
|
490
491
|
fetchedAt: number;
|
|
491
|
-
updatedAt: number;
|
|
492
492
|
groups: Record<string, {
|
|
493
493
|
id: string;
|
|
494
494
|
label: string;
|
|
@@ -516,12 +516,12 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
516
516
|
raw?: unknown;
|
|
517
517
|
}, {
|
|
518
518
|
revision: string;
|
|
519
|
+
source: "huggingface";
|
|
520
|
+
updatedAt: number;
|
|
519
521
|
commitHash: string;
|
|
520
522
|
shortCommitHash: string;
|
|
521
523
|
modelId: string;
|
|
522
|
-
source: "huggingface";
|
|
523
524
|
fetchedAt: number;
|
|
524
|
-
updatedAt: number;
|
|
525
525
|
raw?: unknown;
|
|
526
526
|
endpoint?: string | undefined;
|
|
527
527
|
groups?: Record<string, {
|
|
@@ -559,20 +559,20 @@ 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
|
-
path: string;
|
|
563
562
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
563
|
+
path: string;
|
|
564
564
|
required: boolean;
|
|
565
565
|
error?: string | undefined;
|
|
566
|
-
sizeBytes?: number | undefined;
|
|
567
566
|
updatedAt?: number | undefined;
|
|
567
|
+
sizeBytes?: number | undefined;
|
|
568
568
|
downloadedBytes?: number | undefined;
|
|
569
569
|
}, {
|
|
570
570
|
path: string;
|
|
571
571
|
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
572
572
|
error?: string | undefined;
|
|
573
|
-
sizeBytes?: number | undefined;
|
|
574
573
|
required?: boolean | undefined;
|
|
575
574
|
updatedAt?: number | undefined;
|
|
575
|
+
sizeBytes?: number | undefined;
|
|
576
576
|
downloadedBytes?: number | undefined;
|
|
577
577
|
}>;
|
|
578
578
|
type LocalModelLifecycleFileState = z.infer<typeof LocalModelLifecycleFileStateSchema>;
|
|
@@ -597,47 +597,48 @@ 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
|
-
path: string;
|
|
601
600
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
601
|
+
path: string;
|
|
602
602
|
required: boolean;
|
|
603
603
|
error?: string | undefined;
|
|
604
|
-
sizeBytes?: number | undefined;
|
|
605
604
|
updatedAt?: number | undefined;
|
|
605
|
+
sizeBytes?: number | undefined;
|
|
606
606
|
downloadedBytes?: number | undefined;
|
|
607
607
|
}, {
|
|
608
608
|
path: string;
|
|
609
609
|
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
610
610
|
error?: string | undefined;
|
|
611
|
-
sizeBytes?: number | undefined;
|
|
612
611
|
required?: boolean | undefined;
|
|
613
612
|
updatedAt?: number | undefined;
|
|
613
|
+
sizeBytes?: number | undefined;
|
|
614
614
|
downloadedBytes?: number | undefined;
|
|
615
615
|
}>, "many">>;
|
|
616
616
|
}, "strip", z.ZodTypeAny, {
|
|
617
617
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
618
618
|
resumable: boolean;
|
|
619
619
|
files: {
|
|
620
|
-
path: string;
|
|
621
620
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
621
|
+
path: string;
|
|
622
622
|
required: boolean;
|
|
623
623
|
error?: string | undefined;
|
|
624
|
-
sizeBytes?: number | undefined;
|
|
625
624
|
updatedAt?: number | undefined;
|
|
625
|
+
sizeBytes?: number | undefined;
|
|
626
626
|
downloadedBytes?: number | undefined;
|
|
627
627
|
}[];
|
|
628
628
|
groupId: string;
|
|
629
629
|
error?: string | undefined;
|
|
630
|
+
updatedAt?: number | undefined;
|
|
630
631
|
baseGroupId?: string | undefined;
|
|
631
632
|
rootDir?: string | undefined;
|
|
632
633
|
progress?: number | undefined;
|
|
633
634
|
bytesDownloaded?: number | undefined;
|
|
634
635
|
totalBytes?: number | undefined;
|
|
635
|
-
updatedAt?: number | undefined;
|
|
636
636
|
installedAt?: number | undefined;
|
|
637
637
|
}, {
|
|
638
638
|
groupId: string;
|
|
639
639
|
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
640
640
|
error?: string | undefined;
|
|
641
|
+
updatedAt?: number | undefined;
|
|
641
642
|
baseGroupId?: string | undefined;
|
|
642
643
|
rootDir?: string | undefined;
|
|
643
644
|
progress?: number | undefined;
|
|
@@ -648,12 +649,11 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
648
649
|
path: string;
|
|
649
650
|
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
650
651
|
error?: string | undefined;
|
|
651
|
-
sizeBytes?: number | undefined;
|
|
652
652
|
required?: boolean | undefined;
|
|
653
653
|
updatedAt?: number | undefined;
|
|
654
|
+
sizeBytes?: number | undefined;
|
|
654
655
|
downloadedBytes?: number | undefined;
|
|
655
656
|
}[] | undefined;
|
|
656
|
-
updatedAt?: number | undefined;
|
|
657
657
|
installedAt?: number | undefined;
|
|
658
658
|
}>;
|
|
659
659
|
type LocalModelLifecycleGroupState = z.infer<typeof LocalModelLifecycleGroupStateSchema>;
|
|
@@ -663,13 +663,13 @@ declare const LocalModelProfileLoadStateSchema: z.ZodObject<{
|
|
|
663
663
|
error: z.ZodOptional<z.ZodString>;
|
|
664
664
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
665
665
|
}, "strip", z.ZodTypeAny, {
|
|
666
|
-
status: "error" | "
|
|
666
|
+
status: "error" | "ready" | "loading" | "idle";
|
|
667
667
|
message?: string | undefined;
|
|
668
668
|
error?: string | undefined;
|
|
669
669
|
updatedAt?: number | undefined;
|
|
670
670
|
}, {
|
|
671
|
+
status?: "error" | "ready" | "loading" | "idle" | undefined;
|
|
671
672
|
message?: string | undefined;
|
|
672
|
-
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
673
673
|
error?: string | undefined;
|
|
674
674
|
updatedAt?: number | undefined;
|
|
675
675
|
}>;
|
|
@@ -701,11 +701,11 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
701
701
|
}>, "many">>;
|
|
702
702
|
updatedAt: z.ZodNumber;
|
|
703
703
|
}, "strip", z.ZodTypeAny, {
|
|
704
|
-
message: string;
|
|
705
704
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
705
|
+
message: string;
|
|
706
|
+
updatedAt: number;
|
|
706
707
|
engineId: "local" | "local-ct2" | "local-llama";
|
|
707
708
|
modelId: string;
|
|
708
|
-
updatedAt: number;
|
|
709
709
|
selectedGroupId?: string | undefined;
|
|
710
710
|
progress?: number | undefined;
|
|
711
711
|
bytesDownloaded?: number | undefined;
|
|
@@ -719,11 +719,11 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
719
719
|
groupId?: string | undefined;
|
|
720
720
|
sessionId?: string | undefined;
|
|
721
721
|
}, {
|
|
722
|
-
message: string;
|
|
723
722
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
723
|
+
message: string;
|
|
724
|
+
updatedAt: number;
|
|
724
725
|
engineId: "local" | "local-ct2" | "local-llama";
|
|
725
726
|
modelId: string;
|
|
726
|
-
updatedAt: number;
|
|
727
727
|
selectedGroupId?: string | undefined;
|
|
728
728
|
progress?: number | undefined;
|
|
729
729
|
bytesDownloaded?: number | undefined;
|
|
@@ -976,13 +976,13 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
976
976
|
error: z.ZodOptional<z.ZodString>;
|
|
977
977
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
978
978
|
}, "strip", z.ZodTypeAny, {
|
|
979
|
-
status: "error" | "
|
|
979
|
+
status: "error" | "ready" | "loading" | "idle";
|
|
980
980
|
message?: string | undefined;
|
|
981
981
|
error?: string | undefined;
|
|
982
982
|
updatedAt?: number | undefined;
|
|
983
983
|
}, {
|
|
984
|
+
status?: "error" | "ready" | "loading" | "idle" | undefined;
|
|
984
985
|
message?: string | undefined;
|
|
985
|
-
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
986
986
|
error?: string | undefined;
|
|
987
987
|
updatedAt?: number | undefined;
|
|
988
988
|
}>>;
|
|
@@ -1082,13 +1082,13 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1082
1082
|
groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1083
1083
|
}, "strip", z.ZodTypeAny, {
|
|
1084
1084
|
revision: string;
|
|
1085
|
+
source: "huggingface";
|
|
1086
|
+
updatedAt: number;
|
|
1085
1087
|
commitHash: string;
|
|
1086
1088
|
shortCommitHash: string;
|
|
1087
1089
|
modelId: string;
|
|
1088
|
-
source: "huggingface";
|
|
1089
1090
|
endpoint: string;
|
|
1090
1091
|
fetchedAt: number;
|
|
1091
|
-
updatedAt: number;
|
|
1092
1092
|
groups: Record<string, {
|
|
1093
1093
|
id: string;
|
|
1094
1094
|
label: string;
|
|
@@ -1116,12 +1116,12 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1116
1116
|
raw?: unknown;
|
|
1117
1117
|
}, {
|
|
1118
1118
|
revision: string;
|
|
1119
|
+
source: "huggingface";
|
|
1120
|
+
updatedAt: number;
|
|
1119
1121
|
commitHash: string;
|
|
1120
1122
|
shortCommitHash: string;
|
|
1121
1123
|
modelId: string;
|
|
1122
|
-
source: "huggingface";
|
|
1123
1124
|
fetchedAt: number;
|
|
1124
|
-
updatedAt: number;
|
|
1125
1125
|
raw?: unknown;
|
|
1126
1126
|
endpoint?: string | undefined;
|
|
1127
1127
|
groups?: Record<string, {
|
|
@@ -1170,47 +1170,48 @@ 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
|
-
path: string;
|
|
1174
1173
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1174
|
+
path: string;
|
|
1175
1175
|
required: boolean;
|
|
1176
1176
|
error?: string | undefined;
|
|
1177
|
-
sizeBytes?: number | undefined;
|
|
1178
1177
|
updatedAt?: number | undefined;
|
|
1178
|
+
sizeBytes?: number | undefined;
|
|
1179
1179
|
downloadedBytes?: number | undefined;
|
|
1180
1180
|
}, {
|
|
1181
1181
|
path: string;
|
|
1182
1182
|
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1183
1183
|
error?: string | undefined;
|
|
1184
|
-
sizeBytes?: number | undefined;
|
|
1185
1184
|
required?: boolean | undefined;
|
|
1186
1185
|
updatedAt?: number | undefined;
|
|
1186
|
+
sizeBytes?: number | undefined;
|
|
1187
1187
|
downloadedBytes?: number | undefined;
|
|
1188
1188
|
}>, "many">>;
|
|
1189
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1190
1190
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1191
1191
|
resumable: boolean;
|
|
1192
1192
|
files: {
|
|
1193
|
-
path: string;
|
|
1194
1193
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1194
|
+
path: string;
|
|
1195
1195
|
required: boolean;
|
|
1196
1196
|
error?: string | undefined;
|
|
1197
|
-
sizeBytes?: number | undefined;
|
|
1198
1197
|
updatedAt?: number | undefined;
|
|
1198
|
+
sizeBytes?: number | undefined;
|
|
1199
1199
|
downloadedBytes?: number | undefined;
|
|
1200
1200
|
}[];
|
|
1201
1201
|
groupId: string;
|
|
1202
1202
|
error?: string | undefined;
|
|
1203
|
+
updatedAt?: number | undefined;
|
|
1203
1204
|
baseGroupId?: string | undefined;
|
|
1204
1205
|
rootDir?: string | undefined;
|
|
1205
1206
|
progress?: number | undefined;
|
|
1206
1207
|
bytesDownloaded?: number | undefined;
|
|
1207
1208
|
totalBytes?: number | undefined;
|
|
1208
|
-
updatedAt?: number | undefined;
|
|
1209
1209
|
installedAt?: number | undefined;
|
|
1210
1210
|
}, {
|
|
1211
1211
|
groupId: string;
|
|
1212
1212
|
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1213
1213
|
error?: string | undefined;
|
|
1214
|
+
updatedAt?: number | undefined;
|
|
1214
1215
|
baseGroupId?: string | undefined;
|
|
1215
1216
|
rootDir?: string | undefined;
|
|
1216
1217
|
progress?: number | undefined;
|
|
@@ -1221,12 +1222,11 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1221
1222
|
path: string;
|
|
1222
1223
|
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1223
1224
|
error?: string | undefined;
|
|
1224
|
-
sizeBytes?: number | undefined;
|
|
1225
1225
|
required?: boolean | undefined;
|
|
1226
1226
|
updatedAt?: number | undefined;
|
|
1227
|
+
sizeBytes?: number | undefined;
|
|
1227
1228
|
downloadedBytes?: number | undefined;
|
|
1228
1229
|
}[] | undefined;
|
|
1229
|
-
updatedAt?: number | undefined;
|
|
1230
1230
|
installedAt?: number | undefined;
|
|
1231
1231
|
}>>>;
|
|
1232
1232
|
plan: z.ZodOptional<z.ZodObject<{
|
|
@@ -1472,7 +1472,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1472
1472
|
}[];
|
|
1473
1473
|
modelId: string;
|
|
1474
1474
|
profileLoad: {
|
|
1475
|
-
status: "error" | "
|
|
1475
|
+
status: "error" | "ready" | "loading" | "idle";
|
|
1476
1476
|
message?: string | undefined;
|
|
1477
1477
|
error?: string | undefined;
|
|
1478
1478
|
updatedAt?: number | undefined;
|
|
@@ -1481,40 +1481,40 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1481
1481
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1482
1482
|
resumable: boolean;
|
|
1483
1483
|
files: {
|
|
1484
|
-
path: string;
|
|
1485
1484
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1485
|
+
path: string;
|
|
1486
1486
|
required: boolean;
|
|
1487
1487
|
error?: string | undefined;
|
|
1488
|
-
sizeBytes?: number | undefined;
|
|
1489
1488
|
updatedAt?: number | undefined;
|
|
1489
|
+
sizeBytes?: number | undefined;
|
|
1490
1490
|
downloadedBytes?: number | undefined;
|
|
1491
1491
|
}[];
|
|
1492
1492
|
groupId: string;
|
|
1493
1493
|
error?: string | undefined;
|
|
1494
|
+
updatedAt?: number | undefined;
|
|
1494
1495
|
baseGroupId?: string | undefined;
|
|
1495
1496
|
rootDir?: string | undefined;
|
|
1496
1497
|
progress?: number | undefined;
|
|
1497
1498
|
bytesDownloaded?: number | undefined;
|
|
1498
1499
|
totalBytes?: number | undefined;
|
|
1499
|
-
updatedAt?: number | undefined;
|
|
1500
1500
|
installedAt?: number | undefined;
|
|
1501
1501
|
}>;
|
|
1502
1502
|
error?: string | undefined;
|
|
1503
|
+
updatedAt?: number | undefined;
|
|
1503
1504
|
selectedGroupId?: string | undefined;
|
|
1504
1505
|
progress?: number | undefined;
|
|
1505
1506
|
bytesDownloaded?: number | undefined;
|
|
1506
1507
|
totalBytes?: number | undefined;
|
|
1507
|
-
updatedAt?: number | undefined;
|
|
1508
1508
|
installedAt?: number | undefined;
|
|
1509
1509
|
profileManifest?: {
|
|
1510
1510
|
revision: string;
|
|
1511
|
+
source: "huggingface";
|
|
1512
|
+
updatedAt: number;
|
|
1511
1513
|
commitHash: string;
|
|
1512
1514
|
shortCommitHash: string;
|
|
1513
1515
|
modelId: string;
|
|
1514
|
-
source: "huggingface";
|
|
1515
1516
|
endpoint: string;
|
|
1516
1517
|
fetchedAt: number;
|
|
1517
|
-
updatedAt: number;
|
|
1518
1518
|
groups: Record<string, {
|
|
1519
1519
|
id: string;
|
|
1520
1520
|
label: string;
|
|
@@ -1588,8 +1588,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1588
1588
|
}, {
|
|
1589
1589
|
modelId: string;
|
|
1590
1590
|
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1591
|
-
version?: 2 | undefined;
|
|
1592
1591
|
error?: string | undefined;
|
|
1592
|
+
updatedAt?: number | undefined;
|
|
1593
|
+
version?: 2 | undefined;
|
|
1593
1594
|
selectedGroupId?: string | undefined;
|
|
1594
1595
|
progress?: number | undefined;
|
|
1595
1596
|
bytesDownloaded?: number | undefined;
|
|
@@ -1601,22 +1602,21 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1601
1602
|
sizeBytes?: number | undefined;
|
|
1602
1603
|
downloadedBytes?: number | undefined;
|
|
1603
1604
|
}[] | undefined;
|
|
1604
|
-
updatedAt?: number | undefined;
|
|
1605
1605
|
installedAt?: number | undefined;
|
|
1606
1606
|
profileLoad?: {
|
|
1607
|
+
status?: "error" | "ready" | "loading" | "idle" | undefined;
|
|
1607
1608
|
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
1613
|
revision: string;
|
|
1614
|
+
source: "huggingface";
|
|
1615
|
+
updatedAt: number;
|
|
1614
1616
|
commitHash: string;
|
|
1615
1617
|
shortCommitHash: string;
|
|
1616
1618
|
modelId: string;
|
|
1617
|
-
source: "huggingface";
|
|
1618
1619
|
fetchedAt: number;
|
|
1619
|
-
updatedAt: number;
|
|
1620
1620
|
raw?: unknown;
|
|
1621
1621
|
endpoint?: string | undefined;
|
|
1622
1622
|
groups?: Record<string, {
|
|
@@ -1648,6 +1648,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1648
1648
|
groupId: string;
|
|
1649
1649
|
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1650
1650
|
error?: string | undefined;
|
|
1651
|
+
updatedAt?: number | undefined;
|
|
1651
1652
|
baseGroupId?: string | undefined;
|
|
1652
1653
|
rootDir?: string | undefined;
|
|
1653
1654
|
progress?: number | undefined;
|
|
@@ -1658,12 +1659,11 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1658
1659
|
path: string;
|
|
1659
1660
|
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1660
1661
|
error?: string | undefined;
|
|
1661
|
-
sizeBytes?: number | undefined;
|
|
1662
1662
|
required?: boolean | undefined;
|
|
1663
1663
|
updatedAt?: number | undefined;
|
|
1664
|
+
sizeBytes?: number | undefined;
|
|
1664
1665
|
downloadedBytes?: number | undefined;
|
|
1665
1666
|
}[] | undefined;
|
|
1666
|
-
updatedAt?: number | undefined;
|
|
1667
1667
|
installedAt?: number | undefined;
|
|
1668
1668
|
}> | undefined;
|
|
1669
1669
|
plan?: {
|
|
@@ -1793,12 +1793,12 @@ declare const TranslationEngineRuntimeStatusSchema: z.ZodObject<{
|
|
|
1793
1793
|
} & {
|
|
1794
1794
|
state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
|
|
1795
1795
|
}, "strip", z.ZodTypeAny, {
|
|
1796
|
-
state: "error" | "ready" | "
|
|
1796
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
1797
1797
|
message?: string | undefined;
|
|
1798
1798
|
error?: string | undefined;
|
|
1799
1799
|
progress?: number | undefined;
|
|
1800
1800
|
}, {
|
|
1801
|
-
state: "error" | "ready" | "
|
|
1801
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
1802
1802
|
message?: string | undefined;
|
|
1803
1803
|
error?: string | undefined;
|
|
1804
1804
|
progress?: number | 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: "error" | "
|
|
1819
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
1820
1820
|
message?: string | undefined;
|
|
1821
1821
|
error?: string | undefined;
|
|
1822
1822
|
progress?: number | undefined;
|
|
1823
1823
|
}, {
|
|
1824
|
-
state: "error" | "
|
|
1824
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
1825
1825
|
message?: string | undefined;
|
|
1826
1826
|
error?: string | undefined;
|
|
1827
1827
|
progress?: number | undefined;
|
|
@@ -1857,12 +1857,12 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1857
1857
|
} & {
|
|
1858
1858
|
state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
|
|
1859
1859
|
}, "strip", z.ZodTypeAny, {
|
|
1860
|
-
state: "error" | "ready" | "
|
|
1860
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
1861
1861
|
message?: string | undefined;
|
|
1862
1862
|
error?: string | undefined;
|
|
1863
1863
|
progress?: number | undefined;
|
|
1864
1864
|
}, {
|
|
1865
|
-
state: "error" | "ready" | "
|
|
1865
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
1866
1866
|
message?: string | undefined;
|
|
1867
1867
|
error?: string | undefined;
|
|
1868
1868
|
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: "error" | "
|
|
1877
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
1878
1878
|
message?: string | undefined;
|
|
1879
1879
|
error?: string | undefined;
|
|
1880
1880
|
progress?: number | undefined;
|
|
1881
1881
|
}, {
|
|
1882
|
-
state: "error" | "
|
|
1882
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
1883
1883
|
message?: string | undefined;
|
|
1884
1884
|
error?: string | undefined;
|
|
1885
1885
|
progress?: number | undefined;
|
|
@@ -1893,13 +1893,13 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1893
1893
|
progress?: number | undefined;
|
|
1894
1894
|
};
|
|
1895
1895
|
runtime: {
|
|
1896
|
-
state: "error" | "ready" | "
|
|
1896
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
1897
1897
|
message?: string | undefined;
|
|
1898
1898
|
error?: string | undefined;
|
|
1899
1899
|
progress?: number | undefined;
|
|
1900
1900
|
};
|
|
1901
1901
|
assets: {
|
|
1902
|
-
state: "error" | "
|
|
1902
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
1903
1903
|
message?: string | undefined;
|
|
1904
1904
|
error?: string | undefined;
|
|
1905
1905
|
progress?: number | undefined;
|
|
@@ -1913,13 +1913,13 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1913
1913
|
progress?: number | undefined;
|
|
1914
1914
|
};
|
|
1915
1915
|
runtime: {
|
|
1916
|
-
state: "error" | "ready" | "
|
|
1916
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
1917
1917
|
message?: string | undefined;
|
|
1918
1918
|
error?: string | undefined;
|
|
1919
1919
|
progress?: number | undefined;
|
|
1920
1920
|
};
|
|
1921
1921
|
assets: {
|
|
1922
|
-
state: "error" | "
|
|
1922
|
+
state: "error" | "ready" | "downloading" | "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
|
-
stream: "stdout" | "stderr";
|
|
1949
1948
|
text: string;
|
|
1950
|
-
}, {
|
|
1951
1949
|
stream: "stdout" | "stderr";
|
|
1950
|
+
}, {
|
|
1952
1951
|
text: string;
|
|
1952
|
+
stream: "stdout" | "stderr";
|
|
1953
1953
|
}>;
|
|
1954
1954
|
interface TranslationEngineLifecycleStatusEvent {
|
|
1955
1955
|
type: 'status';
|
|
@@ -1992,12 +1992,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
1992
1992
|
} & {
|
|
1993
1993
|
state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
|
|
1994
1994
|
}, "strip", z.ZodTypeAny, {
|
|
1995
|
-
state: "error" | "ready" | "
|
|
1995
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
1996
1996
|
message?: string | undefined;
|
|
1997
1997
|
error?: string | undefined;
|
|
1998
1998
|
progress?: number | undefined;
|
|
1999
1999
|
}, {
|
|
2000
|
-
state: "error" | "ready" | "
|
|
2000
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
2001
2001
|
message?: string | undefined;
|
|
2002
2002
|
error?: string | undefined;
|
|
2003
2003
|
progress?: number | undefined;
|
|
@@ -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: "error" | "
|
|
2012
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
2013
2013
|
message?: string | undefined;
|
|
2014
2014
|
error?: string | undefined;
|
|
2015
2015
|
progress?: number | undefined;
|
|
2016
2016
|
}, {
|
|
2017
|
-
state: "error" | "
|
|
2017
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
2018
2018
|
message?: string | undefined;
|
|
2019
2019
|
error?: string | undefined;
|
|
2020
2020
|
progress?: number | undefined;
|
|
@@ -2028,13 +2028,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2028
2028
|
progress?: number | undefined;
|
|
2029
2029
|
};
|
|
2030
2030
|
runtime: {
|
|
2031
|
-
state: "error" | "ready" | "
|
|
2031
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
2032
2032
|
message?: string | undefined;
|
|
2033
2033
|
error?: string | undefined;
|
|
2034
2034
|
progress?: number | undefined;
|
|
2035
2035
|
};
|
|
2036
2036
|
assets: {
|
|
2037
|
-
state: "error" | "
|
|
2037
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
2038
2038
|
message?: string | undefined;
|
|
2039
2039
|
error?: string | undefined;
|
|
2040
2040
|
progress?: number | undefined;
|
|
@@ -2048,13 +2048,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2048
2048
|
progress?: number | undefined;
|
|
2049
2049
|
};
|
|
2050
2050
|
runtime: {
|
|
2051
|
-
state: "error" | "ready" | "
|
|
2051
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
2052
2052
|
message?: string | undefined;
|
|
2053
2053
|
error?: string | undefined;
|
|
2054
2054
|
progress?: number | undefined;
|
|
2055
2055
|
};
|
|
2056
2056
|
assets: {
|
|
2057
|
-
state: "error" | "
|
|
2057
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
2058
2058
|
message?: string | undefined;
|
|
2059
2059
|
error?: string | undefined;
|
|
2060
2060
|
progress?: number | undefined;
|
|
@@ -2071,13 +2071,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2071
2071
|
progress?: number | undefined;
|
|
2072
2072
|
};
|
|
2073
2073
|
runtime: {
|
|
2074
|
-
state: "error" | "ready" | "
|
|
2074
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
2075
2075
|
message?: string | undefined;
|
|
2076
2076
|
error?: string | undefined;
|
|
2077
2077
|
progress?: number | undefined;
|
|
2078
2078
|
};
|
|
2079
2079
|
assets: {
|
|
2080
|
-
state: "error" | "
|
|
2080
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
2081
2081
|
message?: string | undefined;
|
|
2082
2082
|
error?: string | undefined;
|
|
2083
2083
|
progress?: number | undefined;
|
|
@@ -2094,13 +2094,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2094
2094
|
progress?: number | undefined;
|
|
2095
2095
|
};
|
|
2096
2096
|
runtime: {
|
|
2097
|
-
state: "error" | "ready" | "
|
|
2097
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
2098
2098
|
message?: string | undefined;
|
|
2099
2099
|
error?: string | undefined;
|
|
2100
2100
|
progress?: number | undefined;
|
|
2101
2101
|
};
|
|
2102
2102
|
assets: {
|
|
2103
|
-
state: "error" | "
|
|
2103
|
+
state: "error" | "ready" | "downloading" | "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
|
-
stream: "stdout" | "stderr";
|
|
2117
2116
|
text: string;
|
|
2117
|
+
stream: "stdout" | "stderr";
|
|
2118
2118
|
}, {
|
|
2119
2119
|
type: "log";
|
|
2120
|
-
stream: "stdout" | "stderr";
|
|
2121
2120
|
text: string;
|
|
2121
|
+
stream: "stdout" | "stderr";
|
|
2122
2122
|
}>, z.ZodObject<{
|
|
2123
2123
|
type: z.ZodLiteral<"exit">;
|
|
2124
2124
|
lifecycle: z.ZodObject<{
|
|
@@ -2146,12 +2146,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2146
2146
|
} & {
|
|
2147
2147
|
state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
|
|
2148
2148
|
}, "strip", z.ZodTypeAny, {
|
|
2149
|
-
state: "error" | "ready" | "
|
|
2149
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
2150
2150
|
message?: string | undefined;
|
|
2151
2151
|
error?: string | undefined;
|
|
2152
2152
|
progress?: number | undefined;
|
|
2153
2153
|
}, {
|
|
2154
|
-
state: "error" | "ready" | "
|
|
2154
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
2155
2155
|
message?: string | undefined;
|
|
2156
2156
|
error?: string | undefined;
|
|
2157
2157
|
progress?: number | undefined;
|
|
@@ -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: "error" | "
|
|
2166
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
2167
2167
|
message?: string | undefined;
|
|
2168
2168
|
error?: string | undefined;
|
|
2169
2169
|
progress?: number | undefined;
|
|
2170
2170
|
}, {
|
|
2171
|
-
state: "error" | "
|
|
2171
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
2172
2172
|
message?: string | undefined;
|
|
2173
2173
|
error?: string | undefined;
|
|
2174
2174
|
progress?: number | undefined;
|
|
@@ -2182,13 +2182,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2182
2182
|
progress?: number | undefined;
|
|
2183
2183
|
};
|
|
2184
2184
|
runtime: {
|
|
2185
|
-
state: "error" | "ready" | "
|
|
2185
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
2186
2186
|
message?: string | undefined;
|
|
2187
2187
|
error?: string | undefined;
|
|
2188
2188
|
progress?: number | undefined;
|
|
2189
2189
|
};
|
|
2190
2190
|
assets: {
|
|
2191
|
-
state: "error" | "
|
|
2191
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
2192
2192
|
message?: string | undefined;
|
|
2193
2193
|
error?: string | undefined;
|
|
2194
2194
|
progress?: number | undefined;
|
|
@@ -2202,13 +2202,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2202
2202
|
progress?: number | undefined;
|
|
2203
2203
|
};
|
|
2204
2204
|
runtime: {
|
|
2205
|
-
state: "error" | "ready" | "
|
|
2205
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
2206
2206
|
message?: string | undefined;
|
|
2207
2207
|
error?: string | undefined;
|
|
2208
2208
|
progress?: number | undefined;
|
|
2209
2209
|
};
|
|
2210
2210
|
assets: {
|
|
2211
|
-
state: "error" | "
|
|
2211
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
2212
2212
|
message?: string | undefined;
|
|
2213
2213
|
error?: string | undefined;
|
|
2214
2214
|
progress?: number | undefined;
|
|
@@ -2225,13 +2225,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2225
2225
|
progress?: number | undefined;
|
|
2226
2226
|
};
|
|
2227
2227
|
runtime: {
|
|
2228
|
-
state: "error" | "ready" | "
|
|
2228
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
2229
2229
|
message?: string | undefined;
|
|
2230
2230
|
error?: string | undefined;
|
|
2231
2231
|
progress?: number | undefined;
|
|
2232
2232
|
};
|
|
2233
2233
|
assets: {
|
|
2234
|
-
state: "error" | "
|
|
2234
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
2235
2235
|
message?: string | undefined;
|
|
2236
2236
|
error?: string | undefined;
|
|
2237
2237
|
progress?: number | undefined;
|
|
@@ -2248,13 +2248,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2248
2248
|
progress?: number | undefined;
|
|
2249
2249
|
};
|
|
2250
2250
|
runtime: {
|
|
2251
|
-
state: "error" | "ready" | "
|
|
2251
|
+
state: "error" | "ready" | "failed" | "not-applicable" | "probing";
|
|
2252
2252
|
message?: string | undefined;
|
|
2253
2253
|
error?: string | undefined;
|
|
2254
2254
|
progress?: number | undefined;
|
|
2255
2255
|
};
|
|
2256
2256
|
assets: {
|
|
2257
|
-
state: "error" | "
|
|
2257
|
+
state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
|
|
2258
2258
|
message?: string | undefined;
|
|
2259
2259
|
error?: string | undefined;
|
|
2260
2260
|
progress?: number | undefined;
|
|
@@ -2759,19 +2759,19 @@ declare const BatchTranslateInputSchema: z.ZodObject<{
|
|
|
2759
2759
|
sourceLanguage: string;
|
|
2760
2760
|
inputs: string[];
|
|
2761
2761
|
timeoutMs: number;
|
|
2762
|
+
context?: string | undefined;
|
|
2762
2763
|
model?: string | undefined;
|
|
2763
2764
|
selectedGroupId?: string | undefined;
|
|
2764
2765
|
instructions?: string | undefined;
|
|
2765
|
-
context?: string | undefined;
|
|
2766
2766
|
}, {
|
|
2767
2767
|
targetLanguage: string;
|
|
2768
2768
|
engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
|
|
2769
2769
|
sourceLanguage: string;
|
|
2770
2770
|
inputs: string[];
|
|
2771
|
+
context?: string | undefined;
|
|
2771
2772
|
model?: string | undefined;
|
|
2772
2773
|
selectedGroupId?: string | undefined;
|
|
2773
2774
|
instructions?: string | undefined;
|
|
2774
|
-
context?: string | undefined;
|
|
2775
2775
|
timeoutMs?: number | undefined;
|
|
2776
2776
|
}>;
|
|
2777
2777
|
type BatchTranslateInput = z.infer<typeof BatchTranslateInputSchema>;
|