@openspecui/core 3.11.2 → 3.11.3
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-BTEG-uW_.mjs → document-translation-BrlCvnLZ.mjs} +5 -1
- package/dist/{document-translation-EMIQf5dw.d.mts → document-translation-Cv6BIGL5.d.mts} +58 -11
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/index.d.mts +95 -27
- package/dist/index.mjs +29 -4
- package/dist/{local-download-profiles-CSXKbamv.d.mts → local-download-profiles-GKs2OOqJ.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-Ct6rtBwb.d.mts → notifications-CJQ_F_Un.d.mts} +15 -15
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-projection-DrTZ0P31.d.mts → openspec-projection-BbuPTbvj.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-CIB-Wi0n.d.mts → opsx-entity-BO9G2SCW.d.mts} +1 -1
- package/dist/opsx-entity.d.mts +2 -2
- package/dist/{opsx-schema-detail-Cjoesix_.d.mts → opsx-schema-detail-DTajJW4g.d.mts} +1 -1
- package/dist/opsx-schema-detail.d.mts +3 -3
- package/dist/{schemas-DeEkRkAH.d.mts → schemas-DQzd1hgp.d.mts} +124 -124
- package/dist/{sounds-BaxOUgWE.d.mts → sounds-3yEx1YXT.d.mts} +4 -4
- package/dist/sounds.d.mts +1 -1
- package/dist/{terminal-audio-v3YSYJKq.d.mts → terminal-audio-UCLlM1qN.d.mts} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-C5gqne5H.d.mts → terminal-invocation-DCPc8hmm.d.mts} +81 -81
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-yHmEiuRX.mjs → translator-Car0_7uk.mjs} +40 -3
- package/dist/{translator-BtbU7rjR.d.mts → translator-prn3W9lf.d.mts} +175 -114
- package/dist/translator.d.mts +2 -2
- package/dist/translator.mjs +2 -2
- package/package.json +1 -1
|
@@ -2,14 +2,15 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/translator.d.ts
|
|
4
4
|
declare const TRANSLATOR_CONTRACT_VERSION = 3;
|
|
5
|
-
declare const TRANSLATION_ENGINE_IDS: readonly ["browser", "local", "local-ct2", "openai"];
|
|
6
|
-
declare const TranslationEngineIdSchema: z.ZodEnum<["browser", "local", "local-ct2", "openai"]>;
|
|
5
|
+
declare const TRANSLATION_ENGINE_IDS: readonly ["browser", "local", "local-ct2", "local-llama", "openai"];
|
|
6
|
+
declare const TranslationEngineIdSchema: z.ZodEnum<["browser", "local", "local-ct2", "local-llama", "openai"]>;
|
|
7
7
|
type TranslationEngineId = z.infer<typeof TranslationEngineIdSchema>;
|
|
8
8
|
declare const DEFAULT_TRANSLATION_ENGINE_ID: TranslationEngineId;
|
|
9
|
-
declare function isManagedLocalTranslationEngineId(engineId: TranslationEngineId | null | undefined): engineId is Extract<TranslationEngineId, 'local' | 'local-ct2'>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
declare const
|
|
9
|
+
declare function isManagedLocalTranslationEngineId(engineId: TranslationEngineId | null | undefined): engineId is Extract<TranslationEngineId, 'local' | 'local-ct2' | 'local-llama'>;
|
|
10
|
+
declare function isDirectionalManagedLocalTranslationEngineId(engineId: TranslationEngineId | null | undefined): engineId is Extract<TranslationEngineId, 'local' | 'local-ct2'>;
|
|
11
|
+
type ManagedLocalTranslationEngineId = Extract<TranslationEngineId, 'local' | 'local-ct2' | 'local-llama'>;
|
|
12
|
+
declare const SERVICE_TRANSLATION_ENGINE_IDS: readonly ["local", "local-ct2", "local-llama", "openai"];
|
|
13
|
+
declare const ServiceTranslationEngineIdSchema: z.ZodEnum<["local", "local-ct2", "local-llama", "openai"]>;
|
|
13
14
|
type ServiceTranslationEngineId = z.infer<typeof ServiceTranslationEngineIdSchema>;
|
|
14
15
|
interface TranslatorOptions {
|
|
15
16
|
instructions?: string;
|
|
@@ -192,8 +193,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
192
193
|
raw?: unknown;
|
|
193
194
|
}>, "many">;
|
|
194
195
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
-
id: string;
|
|
196
196
|
label: string;
|
|
197
|
+
id: string;
|
|
197
198
|
selectable: boolean;
|
|
198
199
|
selected: boolean;
|
|
199
200
|
files: {
|
|
@@ -205,7 +206,7 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
205
206
|
sourceUrl?: string | undefined;
|
|
206
207
|
raw?: unknown;
|
|
207
208
|
}[];
|
|
208
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
209
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
209
210
|
error?: string | undefined;
|
|
210
211
|
description?: string | undefined;
|
|
211
212
|
profile?: string | undefined;
|
|
@@ -220,8 +221,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
220
221
|
totalBytes?: number | undefined;
|
|
221
222
|
resumable?: boolean | undefined;
|
|
222
223
|
}, {
|
|
223
|
-
id: string;
|
|
224
224
|
label: string;
|
|
225
|
+
id: string;
|
|
225
226
|
selectable: boolean;
|
|
226
227
|
selected: boolean;
|
|
227
228
|
files: {
|
|
@@ -233,7 +234,7 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
233
234
|
sourceUrl?: string | undefined;
|
|
234
235
|
raw?: unknown;
|
|
235
236
|
}[];
|
|
236
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
237
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
237
238
|
error?: string | undefined;
|
|
238
239
|
description?: string | undefined;
|
|
239
240
|
profile?: string | undefined;
|
|
@@ -315,8 +316,8 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
|
|
|
315
316
|
raw?: unknown;
|
|
316
317
|
}>, "many">;
|
|
317
318
|
}, "strip", z.ZodTypeAny, {
|
|
318
|
-
id: string;
|
|
319
319
|
label: string;
|
|
320
|
+
id: string;
|
|
320
321
|
baseGroupId: string;
|
|
321
322
|
commitHash: string;
|
|
322
323
|
shortCommitHash: string;
|
|
@@ -337,8 +338,8 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
|
|
|
337
338
|
dtype?: string | undefined;
|
|
338
339
|
estimatedTotalBytes?: number | undefined;
|
|
339
340
|
}, {
|
|
340
|
-
id: string;
|
|
341
341
|
label: string;
|
|
342
|
+
id: string;
|
|
342
343
|
baseGroupId: string;
|
|
343
344
|
commitHash: string;
|
|
344
345
|
shortCommitHash: string;
|
|
@@ -409,8 +410,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
409
410
|
raw?: unknown;
|
|
410
411
|
}>, "many">;
|
|
411
412
|
}, "strip", z.ZodTypeAny, {
|
|
412
|
-
id: string;
|
|
413
413
|
label: string;
|
|
414
|
+
id: string;
|
|
414
415
|
baseGroupId: string;
|
|
415
416
|
commitHash: string;
|
|
416
417
|
shortCommitHash: string;
|
|
@@ -431,8 +432,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
431
432
|
dtype?: string | undefined;
|
|
432
433
|
estimatedTotalBytes?: number | undefined;
|
|
433
434
|
}, {
|
|
434
|
-
id: string;
|
|
435
435
|
label: string;
|
|
436
|
+
id: string;
|
|
436
437
|
baseGroupId: string;
|
|
437
438
|
commitHash: string;
|
|
438
439
|
shortCommitHash: string;
|
|
@@ -455,17 +456,17 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
455
456
|
}>>>;
|
|
456
457
|
groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
457
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
|
+
source: "huggingface";
|
|
458
460
|
revision: string;
|
|
459
461
|
commitHash: string;
|
|
460
462
|
shortCommitHash: string;
|
|
461
463
|
modelId: string;
|
|
462
|
-
source: "huggingface";
|
|
463
464
|
endpoint: string;
|
|
464
465
|
fetchedAt: number;
|
|
465
466
|
updatedAt: number;
|
|
466
467
|
groups: Record<string, {
|
|
467
|
-
id: string;
|
|
468
468
|
label: string;
|
|
469
|
+
id: string;
|
|
469
470
|
baseGroupId: string;
|
|
470
471
|
commitHash: string;
|
|
471
472
|
shortCommitHash: string;
|
|
@@ -489,18 +490,18 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
489
490
|
groupOrder: string[];
|
|
490
491
|
raw?: unknown;
|
|
491
492
|
}, {
|
|
493
|
+
source: "huggingface";
|
|
492
494
|
revision: string;
|
|
493
495
|
commitHash: string;
|
|
494
496
|
shortCommitHash: string;
|
|
495
497
|
modelId: string;
|
|
496
|
-
source: "huggingface";
|
|
497
498
|
fetchedAt: number;
|
|
498
499
|
updatedAt: number;
|
|
499
500
|
raw?: unknown;
|
|
500
501
|
endpoint?: string | undefined;
|
|
501
502
|
groups?: Record<string, {
|
|
502
|
-
id: string;
|
|
503
503
|
label: string;
|
|
504
|
+
id: string;
|
|
504
505
|
baseGroupId: string;
|
|
505
506
|
commitHash: string;
|
|
506
507
|
shortCommitHash: string;
|
|
@@ -533,7 +534,7 @@ declare const LocalModelLifecycleFileStateSchema: z.ZodObject<{
|
|
|
533
534
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
534
535
|
error: z.ZodOptional<z.ZodString>;
|
|
535
536
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
537
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
537
538
|
path: string;
|
|
538
539
|
required: boolean;
|
|
539
540
|
error?: string | undefined;
|
|
@@ -542,10 +543,10 @@ declare const LocalModelLifecycleFileStateSchema: z.ZodObject<{
|
|
|
542
543
|
downloadedBytes?: number | undefined;
|
|
543
544
|
}, {
|
|
544
545
|
path: string;
|
|
545
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
546
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
546
547
|
error?: string | undefined;
|
|
547
|
-
sizeBytes?: number | undefined;
|
|
548
548
|
required?: boolean | undefined;
|
|
549
|
+
sizeBytes?: number | undefined;
|
|
549
550
|
updatedAt?: number | undefined;
|
|
550
551
|
downloadedBytes?: number | undefined;
|
|
551
552
|
}>;
|
|
@@ -571,7 +572,7 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
571
572
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
572
573
|
error: z.ZodOptional<z.ZodString>;
|
|
573
574
|
}, "strip", z.ZodTypeAny, {
|
|
574
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
575
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
575
576
|
path: string;
|
|
576
577
|
required: boolean;
|
|
577
578
|
error?: string | undefined;
|
|
@@ -580,18 +581,19 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
580
581
|
downloadedBytes?: number | undefined;
|
|
581
582
|
}, {
|
|
582
583
|
path: string;
|
|
583
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
584
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
584
585
|
error?: string | undefined;
|
|
585
|
-
sizeBytes?: number | undefined;
|
|
586
586
|
required?: boolean | undefined;
|
|
587
|
+
sizeBytes?: number | undefined;
|
|
587
588
|
updatedAt?: number | undefined;
|
|
588
589
|
downloadedBytes?: number | undefined;
|
|
589
590
|
}>, "many">>;
|
|
590
591
|
}, "strip", z.ZodTypeAny, {
|
|
591
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
592
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
593
|
+
groupId: string;
|
|
592
594
|
resumable: boolean;
|
|
593
595
|
files: {
|
|
594
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
596
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
595
597
|
path: string;
|
|
596
598
|
required: boolean;
|
|
597
599
|
error?: string | undefined;
|
|
@@ -599,7 +601,6 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
599
601
|
updatedAt?: number | undefined;
|
|
600
602
|
downloadedBytes?: number | undefined;
|
|
601
603
|
}[];
|
|
602
|
-
groupId: string;
|
|
603
604
|
error?: string | undefined;
|
|
604
605
|
baseGroupId?: string | undefined;
|
|
605
606
|
rootDir?: string | undefined;
|
|
@@ -610,7 +611,7 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
610
611
|
installedAt?: number | undefined;
|
|
611
612
|
}, {
|
|
612
613
|
groupId: string;
|
|
613
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
614
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
614
615
|
error?: string | undefined;
|
|
615
616
|
baseGroupId?: string | undefined;
|
|
616
617
|
rootDir?: string | undefined;
|
|
@@ -620,10 +621,10 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
620
621
|
resumable?: boolean | undefined;
|
|
621
622
|
files?: {
|
|
622
623
|
path: string;
|
|
623
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
624
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
624
625
|
error?: string | undefined;
|
|
625
|
-
sizeBytes?: number | undefined;
|
|
626
626
|
required?: boolean | undefined;
|
|
627
|
+
sizeBytes?: number | undefined;
|
|
627
628
|
updatedAt?: number | undefined;
|
|
628
629
|
downloadedBytes?: number | undefined;
|
|
629
630
|
}[] | undefined;
|
|
@@ -649,7 +650,7 @@ declare const LocalModelProfileLoadStateSchema: z.ZodObject<{
|
|
|
649
650
|
}>;
|
|
650
651
|
type LocalModelProfileLoadState = z.infer<typeof LocalModelProfileLoadStateSchema>;
|
|
651
652
|
declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
652
|
-
engineId: z.ZodEnum<["local", "local-ct2"]>;
|
|
653
|
+
engineId: z.ZodEnum<["local", "local-ct2", "local-llama"]>;
|
|
653
654
|
modelId: z.ZodString;
|
|
654
655
|
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
655
656
|
groupId: z.ZodOptional<z.ZodString>;
|
|
@@ -675,11 +676,13 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
675
676
|
}>, "many">>;
|
|
676
677
|
updatedAt: z.ZodNumber;
|
|
677
678
|
}, "strip", z.ZodTypeAny, {
|
|
678
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
679
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
679
680
|
message: string;
|
|
680
681
|
modelId: string;
|
|
681
682
|
updatedAt: number;
|
|
682
|
-
engineId: "local" | "local-ct2";
|
|
683
|
+
engineId: "local" | "local-ct2" | "local-llama";
|
|
684
|
+
sessionId?: string | undefined;
|
|
685
|
+
groupId?: string | undefined;
|
|
683
686
|
progress?: number | undefined;
|
|
684
687
|
bytesDownloaded?: number | undefined;
|
|
685
688
|
totalBytes?: number | undefined;
|
|
@@ -689,15 +692,15 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
689
692
|
sizeBytes?: number | undefined;
|
|
690
693
|
downloadedBytes?: number | undefined;
|
|
691
694
|
}[] | undefined;
|
|
692
|
-
groupId?: string | undefined;
|
|
693
695
|
selectedGroupId?: string | undefined;
|
|
694
|
-
sessionId?: string | undefined;
|
|
695
696
|
}, {
|
|
696
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
697
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
697
698
|
message: string;
|
|
698
699
|
modelId: string;
|
|
699
700
|
updatedAt: number;
|
|
700
|
-
engineId: "local" | "local-ct2";
|
|
701
|
+
engineId: "local" | "local-ct2" | "local-llama";
|
|
702
|
+
sessionId?: string | undefined;
|
|
703
|
+
groupId?: string | undefined;
|
|
701
704
|
progress?: number | undefined;
|
|
702
705
|
bytesDownloaded?: number | undefined;
|
|
703
706
|
totalBytes?: number | undefined;
|
|
@@ -707,9 +710,7 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
707
710
|
sizeBytes?: number | undefined;
|
|
708
711
|
downloadedBytes?: number | undefined;
|
|
709
712
|
}[] | undefined;
|
|
710
|
-
groupId?: string | undefined;
|
|
711
713
|
selectedGroupId?: string | undefined;
|
|
712
|
-
sessionId?: string | undefined;
|
|
713
714
|
}>;
|
|
714
715
|
type LocalModelAssetLog = z.infer<typeof LocalModelAssetLogSchema>;
|
|
715
716
|
declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
@@ -787,8 +788,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
787
788
|
raw?: unknown;
|
|
788
789
|
}>, "many">;
|
|
789
790
|
}, "strip", z.ZodTypeAny, {
|
|
790
|
-
id: string;
|
|
791
791
|
label: string;
|
|
792
|
+
id: string;
|
|
792
793
|
selectable: boolean;
|
|
793
794
|
selected: boolean;
|
|
794
795
|
files: {
|
|
@@ -800,7 +801,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
800
801
|
sourceUrl?: string | undefined;
|
|
801
802
|
raw?: unknown;
|
|
802
803
|
}[];
|
|
803
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
804
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
804
805
|
error?: string | undefined;
|
|
805
806
|
description?: string | undefined;
|
|
806
807
|
profile?: string | undefined;
|
|
@@ -815,8 +816,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
815
816
|
totalBytes?: number | undefined;
|
|
816
817
|
resumable?: boolean | undefined;
|
|
817
818
|
}, {
|
|
818
|
-
id: string;
|
|
819
819
|
label: string;
|
|
820
|
+
id: string;
|
|
820
821
|
selectable: boolean;
|
|
821
822
|
selected: boolean;
|
|
822
823
|
files: {
|
|
@@ -828,7 +829,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
828
829
|
sourceUrl?: string | undefined;
|
|
829
830
|
raw?: unknown;
|
|
830
831
|
}[];
|
|
831
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
832
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
832
833
|
error?: string | undefined;
|
|
833
834
|
description?: string | undefined;
|
|
834
835
|
profile?: string | undefined;
|
|
@@ -857,8 +858,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
857
858
|
profile?: string | undefined;
|
|
858
859
|
estimatedTotalBytes?: number | undefined;
|
|
859
860
|
groups?: {
|
|
860
|
-
id: string;
|
|
861
861
|
label: string;
|
|
862
|
+
id: string;
|
|
862
863
|
selectable: boolean;
|
|
863
864
|
selected: boolean;
|
|
864
865
|
files: {
|
|
@@ -870,7 +871,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
870
871
|
sourceUrl?: string | undefined;
|
|
871
872
|
raw?: unknown;
|
|
872
873
|
}[];
|
|
873
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
874
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
874
875
|
error?: string | undefined;
|
|
875
876
|
description?: string | undefined;
|
|
876
877
|
profile?: string | undefined;
|
|
@@ -900,8 +901,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
900
901
|
profile?: string | undefined;
|
|
901
902
|
estimatedTotalBytes?: number | undefined;
|
|
902
903
|
groups?: {
|
|
903
|
-
id: string;
|
|
904
904
|
label: string;
|
|
905
|
+
id: string;
|
|
905
906
|
selectable: boolean;
|
|
906
907
|
selected: boolean;
|
|
907
908
|
files: {
|
|
@@ -913,7 +914,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
913
914
|
sourceUrl?: string | undefined;
|
|
914
915
|
raw?: unknown;
|
|
915
916
|
}[];
|
|
916
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
917
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
917
918
|
error?: string | undefined;
|
|
918
919
|
description?: string | undefined;
|
|
919
920
|
profile?: string | undefined;
|
|
@@ -1009,8 +1010,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1009
1010
|
raw?: unknown;
|
|
1010
1011
|
}>, "many">;
|
|
1011
1012
|
}, "strip", z.ZodTypeAny, {
|
|
1012
|
-
id: string;
|
|
1013
1013
|
label: string;
|
|
1014
|
+
id: string;
|
|
1014
1015
|
baseGroupId: string;
|
|
1015
1016
|
commitHash: string;
|
|
1016
1017
|
shortCommitHash: string;
|
|
@@ -1031,8 +1032,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1031
1032
|
dtype?: string | undefined;
|
|
1032
1033
|
estimatedTotalBytes?: number | undefined;
|
|
1033
1034
|
}, {
|
|
1034
|
-
id: string;
|
|
1035
1035
|
label: string;
|
|
1036
|
+
id: string;
|
|
1036
1037
|
baseGroupId: string;
|
|
1037
1038
|
commitHash: string;
|
|
1038
1039
|
shortCommitHash: string;
|
|
@@ -1055,17 +1056,17 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1055
1056
|
}>>>;
|
|
1056
1057
|
groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1057
1058
|
}, "strip", z.ZodTypeAny, {
|
|
1059
|
+
source: "huggingface";
|
|
1058
1060
|
revision: string;
|
|
1059
1061
|
commitHash: string;
|
|
1060
1062
|
shortCommitHash: string;
|
|
1061
1063
|
modelId: string;
|
|
1062
|
-
source: "huggingface";
|
|
1063
1064
|
endpoint: string;
|
|
1064
1065
|
fetchedAt: number;
|
|
1065
1066
|
updatedAt: number;
|
|
1066
1067
|
groups: Record<string, {
|
|
1067
|
-
id: string;
|
|
1068
1068
|
label: string;
|
|
1069
|
+
id: string;
|
|
1069
1070
|
baseGroupId: string;
|
|
1070
1071
|
commitHash: string;
|
|
1071
1072
|
shortCommitHash: string;
|
|
@@ -1089,18 +1090,18 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1089
1090
|
groupOrder: string[];
|
|
1090
1091
|
raw?: unknown;
|
|
1091
1092
|
}, {
|
|
1093
|
+
source: "huggingface";
|
|
1092
1094
|
revision: string;
|
|
1093
1095
|
commitHash: string;
|
|
1094
1096
|
shortCommitHash: string;
|
|
1095
1097
|
modelId: string;
|
|
1096
|
-
source: "huggingface";
|
|
1097
1098
|
fetchedAt: number;
|
|
1098
1099
|
updatedAt: number;
|
|
1099
1100
|
raw?: unknown;
|
|
1100
1101
|
endpoint?: string | undefined;
|
|
1101
1102
|
groups?: Record<string, {
|
|
1102
|
-
id: string;
|
|
1103
1103
|
label: string;
|
|
1104
|
+
id: string;
|
|
1104
1105
|
baseGroupId: string;
|
|
1105
1106
|
commitHash: string;
|
|
1106
1107
|
shortCommitHash: string;
|
|
@@ -1144,7 +1145,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1144
1145
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1145
1146
|
error: z.ZodOptional<z.ZodString>;
|
|
1146
1147
|
}, "strip", z.ZodTypeAny, {
|
|
1147
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1148
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1148
1149
|
path: string;
|
|
1149
1150
|
required: boolean;
|
|
1150
1151
|
error?: string | undefined;
|
|
@@ -1153,18 +1154,19 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1153
1154
|
downloadedBytes?: number | undefined;
|
|
1154
1155
|
}, {
|
|
1155
1156
|
path: string;
|
|
1156
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1157
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1157
1158
|
error?: string | undefined;
|
|
1158
|
-
sizeBytes?: number | undefined;
|
|
1159
1159
|
required?: boolean | undefined;
|
|
1160
|
+
sizeBytes?: number | undefined;
|
|
1160
1161
|
updatedAt?: number | undefined;
|
|
1161
1162
|
downloadedBytes?: number | undefined;
|
|
1162
1163
|
}>, "many">>;
|
|
1163
1164
|
}, "strip", z.ZodTypeAny, {
|
|
1164
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1165
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1166
|
+
groupId: string;
|
|
1165
1167
|
resumable: boolean;
|
|
1166
1168
|
files: {
|
|
1167
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1169
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1168
1170
|
path: string;
|
|
1169
1171
|
required: boolean;
|
|
1170
1172
|
error?: string | undefined;
|
|
@@ -1172,7 +1174,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1172
1174
|
updatedAt?: number | undefined;
|
|
1173
1175
|
downloadedBytes?: number | undefined;
|
|
1174
1176
|
}[];
|
|
1175
|
-
groupId: string;
|
|
1176
1177
|
error?: string | undefined;
|
|
1177
1178
|
baseGroupId?: string | undefined;
|
|
1178
1179
|
rootDir?: string | undefined;
|
|
@@ -1183,7 +1184,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1183
1184
|
installedAt?: number | undefined;
|
|
1184
1185
|
}, {
|
|
1185
1186
|
groupId: string;
|
|
1186
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1187
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1187
1188
|
error?: string | undefined;
|
|
1188
1189
|
baseGroupId?: string | undefined;
|
|
1189
1190
|
rootDir?: string | undefined;
|
|
@@ -1193,10 +1194,10 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1193
1194
|
resumable?: boolean | undefined;
|
|
1194
1195
|
files?: {
|
|
1195
1196
|
path: string;
|
|
1196
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1197
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1197
1198
|
error?: string | undefined;
|
|
1198
|
-
sizeBytes?: number | undefined;
|
|
1199
1199
|
required?: boolean | undefined;
|
|
1200
|
+
sizeBytes?: number | undefined;
|
|
1200
1201
|
updatedAt?: number | undefined;
|
|
1201
1202
|
downloadedBytes?: number | undefined;
|
|
1202
1203
|
}[] | undefined;
|
|
@@ -1278,8 +1279,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1278
1279
|
raw?: unknown;
|
|
1279
1280
|
}>, "many">;
|
|
1280
1281
|
}, "strip", z.ZodTypeAny, {
|
|
1281
|
-
id: string;
|
|
1282
1282
|
label: string;
|
|
1283
|
+
id: string;
|
|
1283
1284
|
selectable: boolean;
|
|
1284
1285
|
selected: boolean;
|
|
1285
1286
|
files: {
|
|
@@ -1291,7 +1292,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1291
1292
|
sourceUrl?: string | undefined;
|
|
1292
1293
|
raw?: unknown;
|
|
1293
1294
|
}[];
|
|
1294
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1295
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1295
1296
|
error?: string | undefined;
|
|
1296
1297
|
description?: string | undefined;
|
|
1297
1298
|
profile?: string | undefined;
|
|
@@ -1306,8 +1307,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1306
1307
|
totalBytes?: number | undefined;
|
|
1307
1308
|
resumable?: boolean | undefined;
|
|
1308
1309
|
}, {
|
|
1309
|
-
id: string;
|
|
1310
1310
|
label: string;
|
|
1311
|
+
id: string;
|
|
1311
1312
|
selectable: boolean;
|
|
1312
1313
|
selected: boolean;
|
|
1313
1314
|
files: {
|
|
@@ -1319,7 +1320,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1319
1320
|
sourceUrl?: string | undefined;
|
|
1320
1321
|
raw?: unknown;
|
|
1321
1322
|
}[];
|
|
1322
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1323
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1323
1324
|
error?: string | undefined;
|
|
1324
1325
|
description?: string | undefined;
|
|
1325
1326
|
profile?: string | undefined;
|
|
@@ -1348,8 +1349,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1348
1349
|
profile?: string | undefined;
|
|
1349
1350
|
estimatedTotalBytes?: number | undefined;
|
|
1350
1351
|
groups?: {
|
|
1351
|
-
id: string;
|
|
1352
1352
|
label: string;
|
|
1353
|
+
id: string;
|
|
1353
1354
|
selectable: boolean;
|
|
1354
1355
|
selected: boolean;
|
|
1355
1356
|
files: {
|
|
@@ -1361,7 +1362,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1361
1362
|
sourceUrl?: string | undefined;
|
|
1362
1363
|
raw?: unknown;
|
|
1363
1364
|
}[];
|
|
1364
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1365
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1365
1366
|
error?: string | undefined;
|
|
1366
1367
|
description?: string | undefined;
|
|
1367
1368
|
profile?: string | undefined;
|
|
@@ -1391,8 +1392,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1391
1392
|
profile?: string | undefined;
|
|
1392
1393
|
estimatedTotalBytes?: number | undefined;
|
|
1393
1394
|
groups?: {
|
|
1394
|
-
id: string;
|
|
1395
1395
|
label: string;
|
|
1396
|
+
id: string;
|
|
1396
1397
|
selectable: boolean;
|
|
1397
1398
|
selected: boolean;
|
|
1398
1399
|
files: {
|
|
@@ -1404,7 +1405,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1404
1405
|
sourceUrl?: string | undefined;
|
|
1405
1406
|
raw?: unknown;
|
|
1406
1407
|
}[];
|
|
1407
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1408
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1408
1409
|
error?: string | undefined;
|
|
1409
1410
|
description?: string | undefined;
|
|
1410
1411
|
profile?: string | undefined;
|
|
@@ -1435,7 +1436,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1435
1436
|
downloadedBytes?: number | undefined;
|
|
1436
1437
|
}>, "many">>;
|
|
1437
1438
|
}, "strip", z.ZodTypeAny, {
|
|
1438
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1439
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1439
1440
|
resumable: boolean;
|
|
1440
1441
|
selected: boolean;
|
|
1441
1442
|
files: {
|
|
@@ -1452,10 +1453,11 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1452
1453
|
updatedAt?: number | undefined;
|
|
1453
1454
|
};
|
|
1454
1455
|
groupsState: Record<string, {
|
|
1455
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1456
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1457
|
+
groupId: string;
|
|
1456
1458
|
resumable: boolean;
|
|
1457
1459
|
files: {
|
|
1458
|
-
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1460
|
+
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1459
1461
|
path: string;
|
|
1460
1462
|
required: boolean;
|
|
1461
1463
|
error?: string | undefined;
|
|
@@ -1463,7 +1465,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1463
1465
|
updatedAt?: number | undefined;
|
|
1464
1466
|
downloadedBytes?: number | undefined;
|
|
1465
1467
|
}[];
|
|
1466
|
-
groupId: string;
|
|
1467
1468
|
error?: string | undefined;
|
|
1468
1469
|
baseGroupId?: string | undefined;
|
|
1469
1470
|
rootDir?: string | undefined;
|
|
@@ -1481,17 +1482,17 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1481
1482
|
installedAt?: number | undefined;
|
|
1482
1483
|
selectedGroupId?: string | undefined;
|
|
1483
1484
|
profileManifest?: {
|
|
1485
|
+
source: "huggingface";
|
|
1484
1486
|
revision: string;
|
|
1485
1487
|
commitHash: string;
|
|
1486
1488
|
shortCommitHash: string;
|
|
1487
1489
|
modelId: string;
|
|
1488
|
-
source: "huggingface";
|
|
1489
1490
|
endpoint: string;
|
|
1490
1491
|
fetchedAt: number;
|
|
1491
1492
|
updatedAt: number;
|
|
1492
1493
|
groups: Record<string, {
|
|
1493
|
-
id: string;
|
|
1494
1494
|
label: string;
|
|
1495
|
+
id: string;
|
|
1495
1496
|
baseGroupId: string;
|
|
1496
1497
|
commitHash: string;
|
|
1497
1498
|
shortCommitHash: string;
|
|
@@ -1529,8 +1530,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1529
1530
|
profile?: string | undefined;
|
|
1530
1531
|
estimatedTotalBytes?: number | undefined;
|
|
1531
1532
|
groups?: {
|
|
1532
|
-
id: string;
|
|
1533
1533
|
label: string;
|
|
1534
|
+
id: string;
|
|
1534
1535
|
selectable: boolean;
|
|
1535
1536
|
selected: boolean;
|
|
1536
1537
|
files: {
|
|
@@ -1542,7 +1543,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1542
1543
|
sourceUrl?: string | undefined;
|
|
1543
1544
|
raw?: unknown;
|
|
1544
1545
|
}[];
|
|
1545
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1546
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1546
1547
|
error?: string | undefined;
|
|
1547
1548
|
description?: string | undefined;
|
|
1548
1549
|
profile?: string | undefined;
|
|
@@ -1561,7 +1562,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1561
1562
|
} | undefined;
|
|
1562
1563
|
}, {
|
|
1563
1564
|
modelId: string;
|
|
1564
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1565
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1565
1566
|
error?: string | undefined;
|
|
1566
1567
|
progress?: number | undefined;
|
|
1567
1568
|
bytesDownloaded?: number | undefined;
|
|
@@ -1584,18 +1585,18 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1584
1585
|
updatedAt?: number | undefined;
|
|
1585
1586
|
} | undefined;
|
|
1586
1587
|
profileManifest?: {
|
|
1588
|
+
source: "huggingface";
|
|
1587
1589
|
revision: string;
|
|
1588
1590
|
commitHash: string;
|
|
1589
1591
|
shortCommitHash: string;
|
|
1590
1592
|
modelId: string;
|
|
1591
|
-
source: "huggingface";
|
|
1592
1593
|
fetchedAt: number;
|
|
1593
1594
|
updatedAt: number;
|
|
1594
1595
|
raw?: unknown;
|
|
1595
1596
|
endpoint?: string | undefined;
|
|
1596
1597
|
groups?: Record<string, {
|
|
1597
|
-
id: string;
|
|
1598
1598
|
label: string;
|
|
1599
|
+
id: string;
|
|
1599
1600
|
baseGroupId: string;
|
|
1600
1601
|
commitHash: string;
|
|
1601
1602
|
shortCommitHash: string;
|
|
@@ -1620,7 +1621,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1620
1621
|
} | undefined;
|
|
1621
1622
|
groupsState?: Record<string, {
|
|
1622
1623
|
groupId: string;
|
|
1623
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1624
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1624
1625
|
error?: string | undefined;
|
|
1625
1626
|
baseGroupId?: string | undefined;
|
|
1626
1627
|
rootDir?: string | undefined;
|
|
@@ -1630,10 +1631,10 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1630
1631
|
resumable?: boolean | undefined;
|
|
1631
1632
|
files?: {
|
|
1632
1633
|
path: string;
|
|
1633
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1634
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1634
1635
|
error?: string | undefined;
|
|
1635
|
-
sizeBytes?: number | undefined;
|
|
1636
1636
|
required?: boolean | undefined;
|
|
1637
|
+
sizeBytes?: number | undefined;
|
|
1637
1638
|
updatedAt?: number | undefined;
|
|
1638
1639
|
downloadedBytes?: number | undefined;
|
|
1639
1640
|
}[] | undefined;
|
|
@@ -1654,8 +1655,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1654
1655
|
profile?: string | undefined;
|
|
1655
1656
|
estimatedTotalBytes?: number | undefined;
|
|
1656
1657
|
groups?: {
|
|
1657
|
-
id: string;
|
|
1658
1658
|
label: string;
|
|
1659
|
+
id: string;
|
|
1659
1660
|
selectable: boolean;
|
|
1660
1661
|
selected: boolean;
|
|
1661
1662
|
files: {
|
|
@@ -1667,7 +1668,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1667
1668
|
sourceUrl?: string | undefined;
|
|
1668
1669
|
raw?: unknown;
|
|
1669
1670
|
}[];
|
|
1670
|
-
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "
|
|
1671
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1671
1672
|
error?: string | undefined;
|
|
1672
1673
|
description?: string | undefined;
|
|
1673
1674
|
profile?: string | undefined;
|
|
@@ -1686,10 +1687,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1686
1687
|
} | undefined;
|
|
1687
1688
|
}>;
|
|
1688
1689
|
type LocalModelAssetState = z.infer<typeof LocalModelAssetStateSchema>;
|
|
1690
|
+
declare const ManagedLocalCatalogSourceSchema: z.ZodEnum<["local", "network", "recommended"]>;
|
|
1691
|
+
type ManagedLocalCatalogSource = z.infer<typeof ManagedLocalCatalogSourceSchema>;
|
|
1689
1692
|
interface LocalModelCatalogItem extends TranslationModelCandidate {
|
|
1690
1693
|
asset: LocalModelAssetState;
|
|
1691
1694
|
selectable: boolean;
|
|
1692
1695
|
local: boolean;
|
|
1696
|
+
primarySource: ManagedLocalCatalogSource;
|
|
1697
|
+
sources: ManagedLocalCatalogSource[];
|
|
1693
1698
|
}
|
|
1694
1699
|
interface LocalModelCatalogResult {
|
|
1695
1700
|
items: LocalModelCatalogItem[];
|
|
@@ -1786,12 +1791,12 @@ declare const TranslationEngineAssetStatusSchema: z.ZodObject<{
|
|
|
1786
1791
|
} & {
|
|
1787
1792
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
1788
1793
|
}, "strip", z.ZodTypeAny, {
|
|
1789
|
-
state: "
|
|
1794
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
1790
1795
|
message?: string | undefined;
|
|
1791
1796
|
error?: string | undefined;
|
|
1792
1797
|
progress?: number | undefined;
|
|
1793
1798
|
}, {
|
|
1794
|
-
state: "
|
|
1799
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
1795
1800
|
message?: string | undefined;
|
|
1796
1801
|
error?: string | undefined;
|
|
1797
1802
|
progress?: number | undefined;
|
|
@@ -1844,12 +1849,12 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1844
1849
|
} & {
|
|
1845
1850
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
1846
1851
|
}, "strip", z.ZodTypeAny, {
|
|
1847
|
-
state: "
|
|
1852
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
1848
1853
|
message?: string | undefined;
|
|
1849
1854
|
error?: string | undefined;
|
|
1850
1855
|
progress?: number | undefined;
|
|
1851
1856
|
}, {
|
|
1852
|
-
state: "
|
|
1857
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
1853
1858
|
message?: string | undefined;
|
|
1854
1859
|
error?: string | undefined;
|
|
1855
1860
|
progress?: number | undefined;
|
|
@@ -1869,7 +1874,7 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1869
1874
|
progress?: number | undefined;
|
|
1870
1875
|
};
|
|
1871
1876
|
assets: {
|
|
1872
|
-
state: "
|
|
1877
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
1873
1878
|
message?: string | undefined;
|
|
1874
1879
|
error?: string | undefined;
|
|
1875
1880
|
progress?: number | undefined;
|
|
@@ -1889,7 +1894,7 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1889
1894
|
progress?: number | undefined;
|
|
1890
1895
|
};
|
|
1891
1896
|
assets: {
|
|
1892
|
-
state: "
|
|
1897
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
1893
1898
|
message?: string | undefined;
|
|
1894
1899
|
error?: string | undefined;
|
|
1895
1900
|
progress?: number | undefined;
|
|
@@ -1915,11 +1920,11 @@ declare const TranslationEngineInstallLogEventSchema: z.ZodObject<{
|
|
|
1915
1920
|
stream: z.ZodEnum<["stdout", "stderr"]>;
|
|
1916
1921
|
text: z.ZodString;
|
|
1917
1922
|
}, "strip", z.ZodTypeAny, {
|
|
1918
|
-
stream: "stdout" | "stderr";
|
|
1919
1923
|
text: string;
|
|
1920
|
-
}, {
|
|
1921
1924
|
stream: "stdout" | "stderr";
|
|
1925
|
+
}, {
|
|
1922
1926
|
text: string;
|
|
1927
|
+
stream: "stdout" | "stderr";
|
|
1923
1928
|
}>;
|
|
1924
1929
|
interface TranslationEngineLifecycleStatusEvent {
|
|
1925
1930
|
type: 'status';
|
|
@@ -1979,12 +1984,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
1979
1984
|
} & {
|
|
1980
1985
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
1981
1986
|
}, "strip", z.ZodTypeAny, {
|
|
1982
|
-
state: "
|
|
1987
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
1983
1988
|
message?: string | undefined;
|
|
1984
1989
|
error?: string | undefined;
|
|
1985
1990
|
progress?: number | undefined;
|
|
1986
1991
|
}, {
|
|
1987
|
-
state: "
|
|
1992
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
1988
1993
|
message?: string | undefined;
|
|
1989
1994
|
error?: string | undefined;
|
|
1990
1995
|
progress?: number | undefined;
|
|
@@ -2004,7 +2009,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2004
2009
|
progress?: number | undefined;
|
|
2005
2010
|
};
|
|
2006
2011
|
assets: {
|
|
2007
|
-
state: "
|
|
2012
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
2008
2013
|
message?: string | undefined;
|
|
2009
2014
|
error?: string | undefined;
|
|
2010
2015
|
progress?: number | undefined;
|
|
@@ -2024,7 +2029,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2024
2029
|
progress?: number | undefined;
|
|
2025
2030
|
};
|
|
2026
2031
|
assets: {
|
|
2027
|
-
state: "
|
|
2032
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
2028
2033
|
message?: string | undefined;
|
|
2029
2034
|
error?: string | undefined;
|
|
2030
2035
|
progress?: number | undefined;
|
|
@@ -2047,7 +2052,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2047
2052
|
progress?: number | undefined;
|
|
2048
2053
|
};
|
|
2049
2054
|
assets: {
|
|
2050
|
-
state: "
|
|
2055
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
2051
2056
|
message?: string | undefined;
|
|
2052
2057
|
error?: string | undefined;
|
|
2053
2058
|
progress?: number | undefined;
|
|
@@ -2070,7 +2075,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2070
2075
|
progress?: number | undefined;
|
|
2071
2076
|
};
|
|
2072
2077
|
assets: {
|
|
2073
|
-
state: "
|
|
2078
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
2074
2079
|
message?: string | undefined;
|
|
2075
2080
|
error?: string | undefined;
|
|
2076
2081
|
progress?: number | undefined;
|
|
@@ -2083,12 +2088,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2083
2088
|
text: z.ZodString;
|
|
2084
2089
|
}, "strip", z.ZodTypeAny, {
|
|
2085
2090
|
type: "log";
|
|
2086
|
-
stream: "stdout" | "stderr";
|
|
2087
2091
|
text: string;
|
|
2092
|
+
stream: "stdout" | "stderr";
|
|
2088
2093
|
}, {
|
|
2089
2094
|
type: "log";
|
|
2090
|
-
stream: "stdout" | "stderr";
|
|
2091
2095
|
text: string;
|
|
2096
|
+
stream: "stdout" | "stderr";
|
|
2092
2097
|
}>, z.ZodObject<{
|
|
2093
2098
|
type: z.ZodLiteral<"exit">;
|
|
2094
2099
|
lifecycle: z.ZodObject<{
|
|
@@ -2133,12 +2138,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2133
2138
|
} & {
|
|
2134
2139
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
2135
2140
|
}, "strip", z.ZodTypeAny, {
|
|
2136
|
-
state: "
|
|
2141
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
2137
2142
|
message?: string | undefined;
|
|
2138
2143
|
error?: string | undefined;
|
|
2139
2144
|
progress?: number | undefined;
|
|
2140
2145
|
}, {
|
|
2141
|
-
state: "
|
|
2146
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
2142
2147
|
message?: string | undefined;
|
|
2143
2148
|
error?: string | undefined;
|
|
2144
2149
|
progress?: number | undefined;
|
|
@@ -2158,7 +2163,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2158
2163
|
progress?: number | undefined;
|
|
2159
2164
|
};
|
|
2160
2165
|
assets: {
|
|
2161
|
-
state: "
|
|
2166
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
2162
2167
|
message?: string | undefined;
|
|
2163
2168
|
error?: string | undefined;
|
|
2164
2169
|
progress?: number | undefined;
|
|
@@ -2178,7 +2183,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2178
2183
|
progress?: number | undefined;
|
|
2179
2184
|
};
|
|
2180
2185
|
assets: {
|
|
2181
|
-
state: "
|
|
2186
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
2182
2187
|
message?: string | undefined;
|
|
2183
2188
|
error?: string | undefined;
|
|
2184
2189
|
progress?: number | undefined;
|
|
@@ -2201,7 +2206,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2201
2206
|
progress?: number | undefined;
|
|
2202
2207
|
};
|
|
2203
2208
|
assets: {
|
|
2204
|
-
state: "
|
|
2209
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
2205
2210
|
message?: string | undefined;
|
|
2206
2211
|
error?: string | undefined;
|
|
2207
2212
|
progress?: number | undefined;
|
|
@@ -2224,7 +2229,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2224
2229
|
progress?: number | undefined;
|
|
2225
2230
|
};
|
|
2226
2231
|
assets: {
|
|
2227
|
-
state: "
|
|
2232
|
+
state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
|
|
2228
2233
|
message?: string | undefined;
|
|
2229
2234
|
error?: string | undefined;
|
|
2230
2235
|
progress?: number | undefined;
|
|
@@ -2245,7 +2250,7 @@ interface TranslationEngineLifecycleController {
|
|
|
2245
2250
|
}
|
|
2246
2251
|
type TranslationEngineRuntime = 'browser' | 'server';
|
|
2247
2252
|
type TranslationEngineKind = 'browser' | 'managed-local' | 'remote-provider';
|
|
2248
|
-
type TranslationEngineSettingsKey = 'local' | 'localCt2' | 'openai';
|
|
2253
|
+
type TranslationEngineSettingsKey = 'local' | 'localCt2' | 'localLlama' | 'openai';
|
|
2249
2254
|
interface TranslationEngineManifest {
|
|
2250
2255
|
id: TranslationEngineId;
|
|
2251
2256
|
label: string;
|
|
@@ -2305,6 +2310,22 @@ declare const TRANSLATION_ENGINE_MANIFESTS: readonly [{
|
|
|
2305
2310
|
readonly refreshTooltip: "Refresh local model artifacts";
|
|
2306
2311
|
readonly moduleName: "@openspecui/local-ct2-translator";
|
|
2307
2312
|
readonly factoryExport: "createLocalCt2TranslatorFactory";
|
|
2313
|
+
}, {
|
|
2314
|
+
readonly id: "local-llama";
|
|
2315
|
+
readonly label: "Local-Llama";
|
|
2316
|
+
readonly description: "Runs a local GGUF translation-capable LLM through node-llama-cpp with managed GGUF model files.";
|
|
2317
|
+
readonly technicalSummary: "Server-side llama.cpp adapter via node-llama-cpp. Runtime package is installed on demand; selected GGUF model files are downloaded separately and can range from hundreds of MB to multiple GB.";
|
|
2318
|
+
readonly runtime: "server";
|
|
2319
|
+
readonly kind: "managed-local";
|
|
2320
|
+
readonly settingsKey: "localLlama";
|
|
2321
|
+
readonly defaultModel: "bartowski/Qwen2.5-0.5B-Instruct-GGUF";
|
|
2322
|
+
readonly runtimePackageName: "node-llama-cpp";
|
|
2323
|
+
readonly installDescription: "Install the Local-Llama runtime package to enable server-side GGUF translation.";
|
|
2324
|
+
readonly modelLabel: "Llama Model";
|
|
2325
|
+
readonly downloadGroupsLabel: "Local GGUF files";
|
|
2326
|
+
readonly refreshTooltip: "Refresh local GGUF artifacts";
|
|
2327
|
+
readonly moduleName: "@openspecui/local-llama-translator";
|
|
2328
|
+
readonly factoryExport: "createLocalLlamaTranslatorFactory";
|
|
2308
2329
|
}, {
|
|
2309
2330
|
readonly id: "openai";
|
|
2310
2331
|
readonly label: "OpenAI-Completion";
|
|
@@ -2321,7 +2342,7 @@ declare const TRANSLATION_ENGINE_MANIFESTS: readonly [{
|
|
|
2321
2342
|
declare function getTranslationEngineManifest(engineId: TranslationEngineId): TranslationEngineManifest;
|
|
2322
2343
|
declare function getManagedLocalTranslationEngineManifest(engineId: ManagedLocalTranslationEngineId): TranslationEngineManifest & {
|
|
2323
2344
|
kind: 'managed-local';
|
|
2324
|
-
settingsKey: Extract<TranslationEngineSettingsKey, 'local' | 'localCt2'>;
|
|
2345
|
+
settingsKey: Extract<TranslationEngineSettingsKey, 'local' | 'localCt2' | 'localLlama'>;
|
|
2325
2346
|
defaultModel: string;
|
|
2326
2347
|
runtimePackageName: string;
|
|
2327
2348
|
installDescription: string;
|
|
@@ -2371,6 +2392,20 @@ declare const TranslationLocalCt2SettingsSchema: z.ZodObject<{
|
|
|
2371
2392
|
hfEndpoint?: string | undefined;
|
|
2372
2393
|
}>;
|
|
2373
2394
|
type TranslationLocalCt2Settings = z.infer<typeof TranslationLocalCt2SettingsSchema>;
|
|
2395
|
+
declare const TranslationLocalLlamaSettingsSchema: z.ZodObject<{
|
|
2396
|
+
model: z.ZodDefault<z.ZodString>;
|
|
2397
|
+
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
2398
|
+
hfEndpoint: z.ZodDefault<z.ZodString>;
|
|
2399
|
+
}, "strip", z.ZodTypeAny, {
|
|
2400
|
+
model: string;
|
|
2401
|
+
hfEndpoint: string;
|
|
2402
|
+
selectedGroupId?: string | undefined;
|
|
2403
|
+
}, {
|
|
2404
|
+
selectedGroupId?: string | undefined;
|
|
2405
|
+
model?: string | undefined;
|
|
2406
|
+
hfEndpoint?: string | undefined;
|
|
2407
|
+
}>;
|
|
2408
|
+
type TranslationLocalLlamaSettings = z.infer<typeof TranslationLocalLlamaSettingsSchema>;
|
|
2374
2409
|
declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
|
|
2375
2410
|
openai: z.ZodDefault<z.ZodObject<{
|
|
2376
2411
|
baseUrl: z.ZodDefault<z.ZodString>;
|
|
@@ -2411,6 +2446,19 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
|
|
|
2411
2446
|
model?: string | undefined;
|
|
2412
2447
|
hfEndpoint?: string | undefined;
|
|
2413
2448
|
}>>;
|
|
2449
|
+
localLlama: z.ZodDefault<z.ZodObject<{
|
|
2450
|
+
model: z.ZodDefault<z.ZodString>;
|
|
2451
|
+
selectedGroupId: z.ZodOptional<z.ZodString>;
|
|
2452
|
+
hfEndpoint: z.ZodDefault<z.ZodString>;
|
|
2453
|
+
}, "strip", z.ZodTypeAny, {
|
|
2454
|
+
model: string;
|
|
2455
|
+
hfEndpoint: string;
|
|
2456
|
+
selectedGroupId?: string | undefined;
|
|
2457
|
+
}, {
|
|
2458
|
+
selectedGroupId?: string | undefined;
|
|
2459
|
+
model?: string | undefined;
|
|
2460
|
+
hfEndpoint?: string | undefined;
|
|
2461
|
+
}>>;
|
|
2414
2462
|
}, "strip", z.ZodTypeAny, {
|
|
2415
2463
|
local: {
|
|
2416
2464
|
model: string;
|
|
@@ -2427,6 +2475,11 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
|
|
|
2427
2475
|
hfEndpoint: string;
|
|
2428
2476
|
selectedGroupId?: string | undefined;
|
|
2429
2477
|
};
|
|
2478
|
+
localLlama: {
|
|
2479
|
+
model: string;
|
|
2480
|
+
hfEndpoint: string;
|
|
2481
|
+
selectedGroupId?: string | undefined;
|
|
2482
|
+
};
|
|
2430
2483
|
}, {
|
|
2431
2484
|
local?: {
|
|
2432
2485
|
selectedGroupId?: string | undefined;
|
|
@@ -2443,6 +2496,11 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
|
|
|
2443
2496
|
model?: string | undefined;
|
|
2444
2497
|
hfEndpoint?: string | undefined;
|
|
2445
2498
|
} | undefined;
|
|
2499
|
+
localLlama?: {
|
|
2500
|
+
selectedGroupId?: string | undefined;
|
|
2501
|
+
model?: string | undefined;
|
|
2502
|
+
hfEndpoint?: string | undefined;
|
|
2503
|
+
} | undefined;
|
|
2446
2504
|
}>;
|
|
2447
2505
|
type TranslationEngineGlobalSettings = z.infer<typeof TranslationEngineGlobalSettingsSchema>;
|
|
2448
2506
|
type TranslationEngineGlobalSettingsUpdate = {
|
|
@@ -2453,9 +2511,12 @@ type TranslationEngineGlobalSettingsUpdate = {
|
|
|
2453
2511
|
localCt2?: Partial<Omit<TranslationLocalCt2Settings, 'selectedGroupId'>> & {
|
|
2454
2512
|
selectedGroupId?: TranslationLocalCt2Settings['selectedGroupId'] | null;
|
|
2455
2513
|
};
|
|
2514
|
+
localLlama?: Partial<Omit<TranslationLocalLlamaSettings, 'selectedGroupId'>> & {
|
|
2515
|
+
selectedGroupId?: TranslationLocalLlamaSettings['selectedGroupId'] | null;
|
|
2516
|
+
};
|
|
2456
2517
|
};
|
|
2457
2518
|
declare const BatchTranslateInputSchema: z.ZodObject<{
|
|
2458
|
-
engineId: z.ZodEnum<["browser", "local", "local-ct2", "openai"]>;
|
|
2519
|
+
engineId: z.ZodEnum<["browser", "local", "local-ct2", "local-llama", "openai"]>;
|
|
2459
2520
|
sourceLanguage: z.ZodString;
|
|
2460
2521
|
targetLanguage: z.ZodString;
|
|
2461
2522
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -2464,7 +2525,7 @@ declare const BatchTranslateInputSchema: z.ZodObject<{
|
|
|
2464
2525
|
instructions: z.ZodOptional<z.ZodString>;
|
|
2465
2526
|
context: z.ZodOptional<z.ZodString>;
|
|
2466
2527
|
}, "strip", z.ZodTypeAny, {
|
|
2467
|
-
engineId: "browser" | "local" | "local-ct2" | "openai";
|
|
2528
|
+
engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
|
|
2468
2529
|
sourceLanguage: string;
|
|
2469
2530
|
targetLanguage: string;
|
|
2470
2531
|
inputs: string[];
|
|
@@ -2473,7 +2534,7 @@ declare const BatchTranslateInputSchema: z.ZodObject<{
|
|
|
2473
2534
|
instructions?: string | undefined;
|
|
2474
2535
|
context?: string | undefined;
|
|
2475
2536
|
}, {
|
|
2476
|
-
engineId: "browser" | "local" | "local-ct2" | "openai";
|
|
2537
|
+
engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
|
|
2477
2538
|
sourceLanguage: string;
|
|
2478
2539
|
targetLanguage: string;
|
|
2479
2540
|
inputs: string[];
|
|
@@ -2495,4 +2556,4 @@ declare const BatchTranslateEventSchema: z.ZodObject<{
|
|
|
2495
2556
|
}>;
|
|
2496
2557
|
type BatchTranslateEvent = z.infer<typeof BatchTranslateEventSchema>;
|
|
2497
2558
|
//#endregion
|
|
2498
|
-
export {
|
|
2559
|
+
export { TranslationEngineDependencyStatusSchema as $, isTranslationEngineDependencyReady as $t, LocalModelProfileManifestSchema as A, TranslationLocalSettings as At, TRANSLATION_ENGINE_MANIFESTS as B, Translator as Bt, LocalModelProfileLoadState as C, TranslationEngineRuntimeStatus as Ct, LocalModelProfileManifestFileSchema as D, TranslationLocalCt2SettingsSchema as Dt, LocalModelProfileManifestFile as E, TranslationLocalCt2Settings as Et, ManagedLocalTranslationEngineId as F, TranslationModelSearchInput as Ft, TranslationDownloadGroupPlanSchema as G, TranslatorOptions as Gt, TranslationDownloadFilePlan as H, TranslatorFactory as Ht, SERVICE_TRANSLATION_ENGINE_IDS as I, TranslationModelSearchPhase as It, TranslationEngineAssetStatus as J, getManagedLocalTranslationEngineManifest as Jt, TranslationEngineAssetState as K, TranslatorPrepareMonitor as Kt, ServiceTranslationEngineId as L, TranslationModelSearchResult as Lt, LocalModelProfileStatusSchema as M, TranslationModelCandidate as Mt, ManagedLocalCatalogSource as N, TranslationModelDownloadPlan as Nt, LocalModelProfileManifestGroup as O, TranslationLocalLlamaSettings as Ot, ManagedLocalCatalogSourceSchema as P, TranslationModelSearchEvent as Pt, TranslationEngineDependencyStatus as Q, isManagedLocalTranslationEngineId as Qt, ServiceTranslationEngineIdSchema as R, TranslationOpenAISettings as Rt, LocalModelLifecycleGroupStateSchema as S, TranslationEngineRuntimeStateSchema as St, LocalModelProfileManifest as T, TranslationEngineSettingsKey as Tt, TranslationDownloadFilePlanSchema as U, TranslatorFactoryCreateOptions as Ut, TRANSLATOR_CONTRACT_VERSION as V, TranslatorCreateMonitor as Vt, TranslationDownloadGroupPlan as W, TranslatorFactoryPrepareOptions as Wt, TranslationEngineDependencyState as X, getTranslationEngineManifest as Xt, TranslationEngineAssetStatusSchema as Y, getTranslationEngineLifecycleMessage as Yt, TranslationEngineDependencyStateSchema as Z, isDirectionalManagedLocalTranslationEngineId as Zt, LocalModelDownloadStatus as _, TranslationEngineLifecycleStatusEvent as _t, BatchTranslationResult as a, TranslationEngineInstallLogEvent as at, LocalModelLifecycleFileStateSchema as b, TranslationEngineRuntime as bt, LocalModelAssetLogSchema as c, TranslationEngineInstallLogStreamSchema as ct, LocalModelAssetState as d, TranslationEngineLifecycleController as dt, isTranslationEngineRuntimeReady as en, TranslationEngineGlobalSettings as et, LocalModelAssetStateSchema as f, TranslationEngineLifecycleEvent as ft, LocalModelCatalogSearchEvent as g, TranslationEngineLifecycleStatus as gt, LocalModelCatalogResult as h, TranslationEngineLifecycleLogEvent as ht, BatchTranslateInputSchema as i, TranslationEngineIdSchema as it, LocalModelProfileStatus as j, TranslationLocalSettingsSchema as jt, LocalModelProfileManifestGroupSchema as k, TranslationLocalLlamaSettingsSchema as kt, LocalModelAssetPlanSnapshot as l, TranslationEngineKind as lt, LocalModelCatalogLocalResult as m, TranslationEngineLifecycleExitEvent as mt, BatchTranslateEventSchema as n, TranslationEngineGlobalSettingsUpdate as nt, DEFAULT_TRANSLATION_ENGINE_ID as o, TranslationEngineInstallLogEventSchema as ot, LocalModelCatalogItem as p, TranslationEngineLifecycleEventSchema as pt, TranslationEngineAssetStateSchema as q, createTranslationEngineLifecycleStatus as qt, BatchTranslateInput as r, TranslationEngineId as rt, LocalModelAssetLog as s, TranslationEngineInstallLogStream as st, BatchTranslateEvent as t, shouldShowTranslationEngineInstallGate as tn, TranslationEngineGlobalSettingsSchema as tt, LocalModelAssetPlanSnapshotSchema as u, TranslationEngineLifecycleContext as ut, LocalModelDownloadStatusSchema as v, TranslationEngineLifecycleStatusSchema as vt, LocalModelProfileLoadStateSchema as w, TranslationEngineRuntimeStatusSchema as wt, LocalModelLifecycleGroupState as x, TranslationEngineRuntimeState as xt, LocalModelLifecycleFileState as y, TranslationEngineManifest as yt, TRANSLATION_ENGINE_IDS as z, TranslationOpenAISettingsSchema as zt };
|