@openspecui/core 4.1.0 → 5.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.
Files changed (29) hide show
  1. package/dist/{document-translation-CIPGsZD8.d.mts → document-translation-7R8cf8_B.d.mts} +102 -102
  2. package/dist/document-translation.d.mts +1 -1
  3. package/dist/index.d.mts +198 -198
  4. package/dist/{local-download-profiles-B30HrSO2.d.mts → local-download-profiles-caa4PECd.d.mts} +1 -1
  5. package/dist/local-download-profiles.d.mts +2 -2
  6. package/dist/{notifications-HYH-lklF.d.mts → notifications-DZeOl4HV.d.mts} +28 -28
  7. package/dist/notifications.d.mts +2 -2
  8. package/dist/openspec-compat.d.mts +7 -7
  9. package/dist/openspec-compat.mjs +11 -10
  10. package/dist/{openspec-projection-BphzrwYP.d.mts → openspec-projection-B0ch1rZw.d.mts} +1 -1
  11. package/dist/openspec-projection.d.mts +2 -2
  12. package/dist/{opsx-entity-CFUCqev8.d.mts → opsx-entity-DZyl-uhQ.d.mts} +2 -2
  13. package/dist/opsx-entity.d.mts +3 -3
  14. package/dist/{opsx-schema-detail-DXKXqMQa.d.mts → opsx-schema-detail-CS0tWa9v.d.mts} +2 -2
  15. package/dist/opsx-schema-detail.d.mts +4 -4
  16. package/dist/{opsx-types-2rgsQHsB.d.mts → opsx-types-Dnb06uff.d.mts} +12 -12
  17. package/dist/{schemas-CNKCVc7m.d.mts → schemas-D01aQnV4.d.mts} +28 -28
  18. package/dist/{sounds-J6z7o4mt.d.mts → sounds-kgDn4x8v.d.mts} +9 -9
  19. package/dist/sounds.d.mts +1 -1
  20. package/dist/{task-progress-BHn4bCoD.d.mts → task-progress-C1TGMbIR.d.mts} +2 -2
  21. package/dist/task-progress.d.mts +3 -3
  22. package/dist/{terminal-audio-BeUXlQgj.d.mts → terminal-audio-CsuGTNV-.d.mts} +2 -2
  23. package/dist/terminal-audio.d.mts +2 -2
  24. package/dist/terminal-control.d.mts +2 -2
  25. package/dist/{terminal-invocation-ClVh0HeM.d.mts → terminal-invocation-BlFwKpIc.d.mts} +75 -75
  26. package/dist/terminal-invocation.d.mts +1 -1
  27. package/dist/{translator-D6t_LEVN.d.mts → translator-BErXgQxx.d.mts} +205 -205
  28. package/dist/translator.d.mts +1 -1
  29. package/package.json +1 -1
@@ -218,8 +218,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
218
218
  raw?: unknown;
219
219
  }>, "many">;
220
220
  }, "strip", z.ZodTypeAny, {
221
- id: string;
222
221
  label: string;
222
+ id: string;
223
223
  selectable: boolean;
224
224
  selected: boolean;
225
225
  files: {
@@ -231,7 +231,7 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
231
231
  sourceUrl?: string | undefined;
232
232
  raw?: unknown;
233
233
  }[];
234
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
234
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
235
235
  error?: string | undefined;
236
236
  description?: string | undefined;
237
237
  profile?: string | undefined;
@@ -246,8 +246,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
246
246
  totalBytes?: number | undefined;
247
247
  resumable?: boolean | undefined;
248
248
  }, {
249
- id: string;
250
249
  label: string;
250
+ id: string;
251
251
  selectable: boolean;
252
252
  selected: boolean;
253
253
  files: {
@@ -259,7 +259,7 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
259
259
  sourceUrl?: string | undefined;
260
260
  raw?: unknown;
261
261
  }[];
262
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
262
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
263
263
  error?: string | undefined;
264
264
  description?: string | undefined;
265
265
  profile?: string | undefined;
@@ -341,8 +341,8 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
341
341
  raw?: unknown;
342
342
  }>, "many">;
343
343
  }, "strip", z.ZodTypeAny, {
344
- id: string;
345
344
  label: string;
345
+ id: string;
346
346
  baseGroupId: string;
347
347
  commitHash: string;
348
348
  shortCommitHash: string;
@@ -363,8 +363,8 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
363
363
  dtype?: string | undefined;
364
364
  estimatedTotalBytes?: number | undefined;
365
365
  }, {
366
- id: string;
367
366
  label: string;
367
+ id: string;
368
368
  baseGroupId: string;
369
369
  commitHash: string;
370
370
  shortCommitHash: string;
@@ -435,8 +435,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
435
435
  raw?: unknown;
436
436
  }>, "many">;
437
437
  }, "strip", z.ZodTypeAny, {
438
- id: string;
439
438
  label: string;
439
+ id: string;
440
440
  baseGroupId: string;
441
441
  commitHash: string;
442
442
  shortCommitHash: string;
@@ -457,8 +457,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
457
457
  dtype?: string | undefined;
458
458
  estimatedTotalBytes?: number | undefined;
459
459
  }, {
460
- id: string;
461
460
  label: string;
461
+ id: string;
462
462
  baseGroupId: string;
463
463
  commitHash: string;
464
464
  shortCommitHash: string;
@@ -481,17 +481,17 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
481
481
  }>>>;
482
482
  groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
483
483
  }, "strip", z.ZodTypeAny, {
484
+ source: "huggingface";
485
+ updatedAt: number;
484
486
  revision: string;
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
- id: string;
494
493
  label: string;
494
+ id: string;
495
495
  baseGroupId: string;
496
496
  commitHash: string;
497
497
  shortCommitHash: string;
@@ -515,18 +515,18 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
515
515
  groupOrder: string[];
516
516
  raw?: unknown;
517
517
  }, {
518
+ source: "huggingface";
519
+ updatedAt: number;
518
520
  revision: string;
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, {
528
- id: string;
529
528
  label: string;
529
+ id: string;
530
530
  baseGroupId: string;
531
531
  commitHash: string;
532
532
  shortCommitHash: 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
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
562
563
  path: string;
563
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
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
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
571
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
572
572
  error?: string | undefined;
573
- sizeBytes?: number | undefined;
574
- required?: boolean | undefined;
575
573
  updatedAt?: number | undefined;
574
+ required?: boolean | 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
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
600
601
  path: string;
601
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
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
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
609
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
610
610
  error?: string | undefined;
611
- sizeBytes?: number | undefined;
612
- required?: boolean | undefined;
613
611
  updatedAt?: number | undefined;
612
+ required?: boolean | undefined;
613
+ sizeBytes?: number | undefined;
614
614
  downloadedBytes?: number | undefined;
615
615
  }>, "many">>;
616
616
  }, "strip", z.ZodTypeAny, {
617
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
617
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
618
+ groupId: string;
618
619
  resumable: boolean;
619
620
  files: {
621
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
620
622
  path: string;
621
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
622
623
  required: boolean;
623
624
  error?: string | undefined;
624
- sizeBytes?: number | undefined;
625
625
  updatedAt?: number | undefined;
626
+ sizeBytes?: number | undefined;
626
627
  downloadedBytes?: number | undefined;
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
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
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;
@@ -646,14 +647,13 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
646
647
  resumable?: boolean | undefined;
647
648
  files?: {
648
649
  path: string;
649
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
650
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
650
651
  error?: string | undefined;
651
- sizeBytes?: number | undefined;
652
- required?: boolean | undefined;
653
652
  updatedAt?: number | undefined;
653
+ required?: boolean | 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>;
@@ -668,8 +668,8 @@ declare const LocalModelProfileLoadStateSchema: z.ZodObject<{
668
668
  error?: string | undefined;
669
669
  updatedAt?: number | undefined;
670
670
  }, {
671
- message?: string | undefined;
672
671
  status?: "error" | "idle" | "loading" | "ready" | undefined;
672
+ message?: string | undefined;
673
673
  error?: string | undefined;
674
674
  updatedAt?: number | undefined;
675
675
  }>;
@@ -701,11 +701,14 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
701
701
  }>, "many">>;
702
702
  updatedAt: z.ZodNumber;
703
703
  }, "strip", z.ZodTypeAny, {
704
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
704
705
  message: string;
705
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
706
- modelId: string;
707
706
  updatedAt: number;
708
707
  engineId: "local" | "local-ct2" | "local-llama";
708
+ modelId: string;
709
+ sessionId?: string | undefined;
710
+ groupId?: string | undefined;
711
+ selectedGroupId?: string | undefined;
709
712
  progress?: number | undefined;
710
713
  bytesDownloaded?: number | undefined;
711
714
  totalBytes?: number | undefined;
@@ -715,15 +718,15 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
715
718
  sizeBytes?: number | undefined;
716
719
  downloadedBytes?: number | undefined;
717
720
  }[] | undefined;
718
- groupId?: string | undefined;
719
- selectedGroupId?: string | undefined;
720
- sessionId?: string | undefined;
721
721
  }, {
722
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
722
723
  message: string;
723
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
724
- modelId: string;
725
724
  updatedAt: number;
726
725
  engineId: "local" | "local-ct2" | "local-llama";
726
+ modelId: string;
727
+ sessionId?: string | undefined;
728
+ groupId?: string | undefined;
729
+ selectedGroupId?: string | undefined;
727
730
  progress?: number | undefined;
728
731
  bytesDownloaded?: number | undefined;
729
732
  totalBytes?: number | undefined;
@@ -733,9 +736,6 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
733
736
  sizeBytes?: number | undefined;
734
737
  downloadedBytes?: number | undefined;
735
738
  }[] | undefined;
736
- groupId?: string | undefined;
737
- selectedGroupId?: string | undefined;
738
- sessionId?: string | undefined;
739
739
  }>;
740
740
  type LocalModelAssetLog = z.infer<typeof LocalModelAssetLogSchema>;
741
741
  declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
@@ -813,8 +813,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
813
813
  raw?: unknown;
814
814
  }>, "many">;
815
815
  }, "strip", z.ZodTypeAny, {
816
- id: string;
817
816
  label: string;
817
+ id: string;
818
818
  selectable: boolean;
819
819
  selected: boolean;
820
820
  files: {
@@ -826,7 +826,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
826
826
  sourceUrl?: string | undefined;
827
827
  raw?: unknown;
828
828
  }[];
829
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
829
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
830
830
  error?: string | undefined;
831
831
  description?: string | undefined;
832
832
  profile?: string | undefined;
@@ -841,8 +841,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
841
841
  totalBytes?: number | undefined;
842
842
  resumable?: boolean | undefined;
843
843
  }, {
844
- id: string;
845
844
  label: string;
845
+ id: string;
846
846
  selectable: boolean;
847
847
  selected: boolean;
848
848
  files: {
@@ -854,7 +854,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
854
854
  sourceUrl?: string | undefined;
855
855
  raw?: unknown;
856
856
  }[];
857
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
857
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
858
858
  error?: string | undefined;
859
859
  description?: string | undefined;
860
860
  profile?: string | undefined;
@@ -880,11 +880,12 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
880
880
  raw?: unknown;
881
881
  }[];
882
882
  modelId: string;
883
+ selectedGroupId?: string | undefined;
883
884
  profile?: string | undefined;
884
885
  estimatedTotalBytes?: number | undefined;
885
886
  groups?: {
886
- id: string;
887
887
  label: string;
888
+ id: string;
888
889
  selectable: boolean;
889
890
  selected: boolean;
890
891
  files: {
@@ -896,7 +897,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
896
897
  sourceUrl?: string | undefined;
897
898
  raw?: unknown;
898
899
  }[];
899
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
900
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
900
901
  error?: string | undefined;
901
902
  description?: string | undefined;
902
903
  profile?: string | undefined;
@@ -911,7 +912,6 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
911
912
  totalBytes?: number | undefined;
912
913
  resumable?: boolean | undefined;
913
914
  }[] | undefined;
914
- selectedGroupId?: string | undefined;
915
915
  }, {
916
916
  files: {
917
917
  path: string;
@@ -923,11 +923,12 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
923
923
  raw?: unknown;
924
924
  }[];
925
925
  modelId: string;
926
+ selectedGroupId?: string | undefined;
926
927
  profile?: string | undefined;
927
928
  estimatedTotalBytes?: number | undefined;
928
929
  groups?: {
929
- id: string;
930
930
  label: string;
931
+ id: string;
931
932
  selectable: boolean;
932
933
  selected: boolean;
933
934
  files: {
@@ -939,7 +940,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
939
940
  sourceUrl?: string | undefined;
940
941
  raw?: unknown;
941
942
  }[];
942
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
943
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
943
944
  error?: string | undefined;
944
945
  description?: string | undefined;
945
946
  profile?: string | undefined;
@@ -954,7 +955,6 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
954
955
  totalBytes?: number | undefined;
955
956
  resumable?: boolean | undefined;
956
957
  }[] | undefined;
957
- selectedGroupId?: string | undefined;
958
958
  }>;
959
959
  type LocalModelAssetPlanSnapshot = z.infer<typeof LocalModelAssetPlanSnapshotSchema>;
960
960
  declare const LocalModelAssetStateSchema: z.ZodObject<{
@@ -981,8 +981,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
981
981
  error?: string | undefined;
982
982
  updatedAt?: number | undefined;
983
983
  }, {
984
- message?: string | undefined;
985
984
  status?: "error" | "idle" | "loading" | "ready" | undefined;
985
+ message?: string | undefined;
986
986
  error?: string | undefined;
987
987
  updatedAt?: number | undefined;
988
988
  }>>;
@@ -1035,8 +1035,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1035
1035
  raw?: unknown;
1036
1036
  }>, "many">;
1037
1037
  }, "strip", z.ZodTypeAny, {
1038
- id: string;
1039
1038
  label: string;
1039
+ id: string;
1040
1040
  baseGroupId: string;
1041
1041
  commitHash: string;
1042
1042
  shortCommitHash: string;
@@ -1057,8 +1057,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1057
1057
  dtype?: string | undefined;
1058
1058
  estimatedTotalBytes?: number | undefined;
1059
1059
  }, {
1060
- id: string;
1061
1060
  label: string;
1061
+ id: string;
1062
1062
  baseGroupId: string;
1063
1063
  commitHash: string;
1064
1064
  shortCommitHash: string;
@@ -1081,17 +1081,17 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1081
1081
  }>>>;
1082
1082
  groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1083
1083
  }, "strip", z.ZodTypeAny, {
1084
+ source: "huggingface";
1085
+ updatedAt: number;
1084
1086
  revision: string;
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
- id: string;
1094
1093
  label: string;
1094
+ id: string;
1095
1095
  baseGroupId: string;
1096
1096
  commitHash: string;
1097
1097
  shortCommitHash: string;
@@ -1115,18 +1115,18 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1115
1115
  groupOrder: string[];
1116
1116
  raw?: unknown;
1117
1117
  }, {
1118
+ source: "huggingface";
1119
+ updatedAt: number;
1118
1120
  revision: string;
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, {
1128
- id: string;
1129
1128
  label: string;
1129
+ id: string;
1130
1130
  baseGroupId: string;
1131
1131
  commitHash: string;
1132
1132
  shortCommitHash: 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
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1173
1174
  path: string;
1174
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
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
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1182
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1183
1183
  error?: string | undefined;
1184
- sizeBytes?: number | undefined;
1185
- required?: boolean | undefined;
1186
1184
  updatedAt?: number | undefined;
1185
+ required?: boolean | undefined;
1186
+ sizeBytes?: number | undefined;
1187
1187
  downloadedBytes?: number | undefined;
1188
1188
  }>, "many">>;
1189
1189
  }, "strip", z.ZodTypeAny, {
1190
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
1190
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1191
+ groupId: string;
1191
1192
  resumable: boolean;
1192
1193
  files: {
1194
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1193
1195
  path: string;
1194
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
1195
1196
  required: boolean;
1196
1197
  error?: string | undefined;
1197
- sizeBytes?: number | undefined;
1198
1198
  updatedAt?: number | undefined;
1199
+ sizeBytes?: number | undefined;
1199
1200
  downloadedBytes?: number | undefined;
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
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
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;
@@ -1219,14 +1220,13 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1219
1220
  resumable?: boolean | undefined;
1220
1221
  files?: {
1221
1222
  path: string;
1222
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1223
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1223
1224
  error?: string | undefined;
1224
- sizeBytes?: number | undefined;
1225
- required?: boolean | undefined;
1226
1225
  updatedAt?: number | undefined;
1226
+ required?: boolean | 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<{
@@ -1304,8 +1304,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1304
1304
  raw?: unknown;
1305
1305
  }>, "many">;
1306
1306
  }, "strip", z.ZodTypeAny, {
1307
- id: string;
1308
1307
  label: string;
1308
+ id: string;
1309
1309
  selectable: boolean;
1310
1310
  selected: boolean;
1311
1311
  files: {
@@ -1317,7 +1317,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1317
1317
  sourceUrl?: string | undefined;
1318
1318
  raw?: unknown;
1319
1319
  }[];
1320
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1320
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1321
1321
  error?: string | undefined;
1322
1322
  description?: string | undefined;
1323
1323
  profile?: string | undefined;
@@ -1332,8 +1332,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1332
1332
  totalBytes?: number | undefined;
1333
1333
  resumable?: boolean | undefined;
1334
1334
  }, {
1335
- id: string;
1336
1335
  label: string;
1336
+ id: string;
1337
1337
  selectable: boolean;
1338
1338
  selected: boolean;
1339
1339
  files: {
@@ -1345,7 +1345,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1345
1345
  sourceUrl?: string | undefined;
1346
1346
  raw?: unknown;
1347
1347
  }[];
1348
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1348
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1349
1349
  error?: string | undefined;
1350
1350
  description?: string | undefined;
1351
1351
  profile?: string | undefined;
@@ -1371,11 +1371,12 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1371
1371
  raw?: unknown;
1372
1372
  }[];
1373
1373
  modelId: string;
1374
+ selectedGroupId?: string | undefined;
1374
1375
  profile?: string | undefined;
1375
1376
  estimatedTotalBytes?: number | undefined;
1376
1377
  groups?: {
1377
- id: string;
1378
1378
  label: string;
1379
+ id: string;
1379
1380
  selectable: boolean;
1380
1381
  selected: boolean;
1381
1382
  files: {
@@ -1387,7 +1388,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1387
1388
  sourceUrl?: string | undefined;
1388
1389
  raw?: unknown;
1389
1390
  }[];
1390
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1391
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1391
1392
  error?: string | undefined;
1392
1393
  description?: string | undefined;
1393
1394
  profile?: string | undefined;
@@ -1402,7 +1403,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1402
1403
  totalBytes?: number | undefined;
1403
1404
  resumable?: boolean | undefined;
1404
1405
  }[] | undefined;
1405
- selectedGroupId?: string | undefined;
1406
1406
  }, {
1407
1407
  files: {
1408
1408
  path: string;
@@ -1414,11 +1414,12 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1414
1414
  raw?: unknown;
1415
1415
  }[];
1416
1416
  modelId: string;
1417
+ selectedGroupId?: string | undefined;
1417
1418
  profile?: string | undefined;
1418
1419
  estimatedTotalBytes?: number | undefined;
1419
1420
  groups?: {
1420
- id: string;
1421
1421
  label: string;
1422
+ id: string;
1422
1423
  selectable: boolean;
1423
1424
  selected: boolean;
1424
1425
  files: {
@@ -1430,7 +1431,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1430
1431
  sourceUrl?: string | undefined;
1431
1432
  raw?: unknown;
1432
1433
  }[];
1433
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1434
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1434
1435
  error?: string | undefined;
1435
1436
  description?: string | undefined;
1436
1437
  profile?: string | undefined;
@@ -1445,7 +1446,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1445
1446
  totalBytes?: number | undefined;
1446
1447
  resumable?: boolean | undefined;
1447
1448
  }[] | undefined;
1448
- selectedGroupId?: string | undefined;
1449
1449
  }>>;
1450
1450
  files: z.ZodDefault<z.ZodArray<z.ZodObject<{
1451
1451
  path: z.ZodString;
@@ -1461,7 +1461,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1461
1461
  downloadedBytes?: number | undefined;
1462
1462
  }>, "many">>;
1463
1463
  }, "strip", z.ZodTypeAny, {
1464
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
1464
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1465
1465
  resumable: boolean;
1466
1466
  selected: boolean;
1467
1467
  files: {
@@ -1478,46 +1478,46 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1478
1478
  updatedAt?: number | undefined;
1479
1479
  };
1480
1480
  groupsState: Record<string, {
1481
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
1481
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1482
+ groupId: string;
1482
1483
  resumable: boolean;
1483
1484
  files: {
1485
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1484
1486
  path: string;
1485
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
1486
1487
  required: boolean;
1487
1488
  error?: string | undefined;
1488
- sizeBytes?: number | undefined;
1489
1489
  updatedAt?: number | undefined;
1490
+ sizeBytes?: number | undefined;
1490
1491
  downloadedBytes?: number | undefined;
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;
1504
+ selectedGroupId?: string | undefined;
1503
1505
  progress?: number | undefined;
1504
1506
  bytesDownloaded?: number | undefined;
1505
1507
  totalBytes?: number | undefined;
1506
- updatedAt?: number | undefined;
1507
1508
  installedAt?: number | undefined;
1508
- selectedGroupId?: string | undefined;
1509
1509
  profileManifest?: {
1510
+ source: "huggingface";
1511
+ updatedAt: number;
1510
1512
  revision: string;
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
- id: string;
1520
1519
  label: string;
1520
+ id: string;
1521
1521
  baseGroupId: string;
1522
1522
  commitHash: string;
1523
1523
  shortCommitHash: string;
@@ -1552,11 +1552,12 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1552
1552
  raw?: unknown;
1553
1553
  }[];
1554
1554
  modelId: string;
1555
+ selectedGroupId?: string | undefined;
1555
1556
  profile?: string | undefined;
1556
1557
  estimatedTotalBytes?: number | undefined;
1557
1558
  groups?: {
1558
- id: string;
1559
1559
  label: string;
1560
+ id: string;
1560
1561
  selectable: boolean;
1561
1562
  selected: boolean;
1562
1563
  files: {
@@ -1568,7 +1569,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1568
1569
  sourceUrl?: string | undefined;
1569
1570
  raw?: unknown;
1570
1571
  }[];
1571
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1572
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1572
1573
  error?: string | undefined;
1573
1574
  description?: string | undefined;
1574
1575
  profile?: string | undefined;
@@ -1583,12 +1584,13 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1583
1584
  totalBytes?: number | undefined;
1584
1585
  resumable?: boolean | undefined;
1585
1586
  }[] | undefined;
1586
- selectedGroupId?: string | undefined;
1587
1587
  } | undefined;
1588
1588
  }, {
1589
1589
  modelId: string;
1590
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1590
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1591
1591
  error?: string | undefined;
1592
+ updatedAt?: number | undefined;
1593
+ selectedGroupId?: string | undefined;
1592
1594
  progress?: number | undefined;
1593
1595
  bytesDownloaded?: number | undefined;
1594
1596
  totalBytes?: number | undefined;
@@ -1599,29 +1601,27 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1599
1601
  sizeBytes?: number | undefined;
1600
1602
  downloadedBytes?: number | undefined;
1601
1603
  }[] | undefined;
1602
- updatedAt?: number | undefined;
1603
1604
  installedAt?: number | undefined;
1604
- selectedGroupId?: string | undefined;
1605
1605
  version?: 2 | undefined;
1606
1606
  profileLoad?: {
1607
- message?: string | undefined;
1608
1607
  status?: "error" | "idle" | "loading" | "ready" | undefined;
1608
+ message?: string | undefined;
1609
1609
  error?: string | undefined;
1610
1610
  updatedAt?: number | undefined;
1611
1611
  } | undefined;
1612
1612
  profileManifest?: {
1613
+ source: "huggingface";
1614
+ updatedAt: number;
1613
1615
  revision: string;
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, {
1623
- id: string;
1624
1623
  label: string;
1624
+ id: string;
1625
1625
  baseGroupId: string;
1626
1626
  commitHash: string;
1627
1627
  shortCommitHash: string;
@@ -1646,8 +1646,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1646
1646
  } | undefined;
1647
1647
  groupsState?: Record<string, {
1648
1648
  groupId: string;
1649
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
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;
@@ -1656,14 +1657,13 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1656
1657
  resumable?: boolean | undefined;
1657
1658
  files?: {
1658
1659
  path: string;
1659
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1660
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1660
1661
  error?: string | undefined;
1661
- sizeBytes?: number | undefined;
1662
- required?: boolean | undefined;
1663
1662
  updatedAt?: number | undefined;
1663
+ required?: boolean | 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?: {
@@ -1677,11 +1677,12 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1677
1677
  raw?: unknown;
1678
1678
  }[];
1679
1679
  modelId: string;
1680
+ selectedGroupId?: string | undefined;
1680
1681
  profile?: string | undefined;
1681
1682
  estimatedTotalBytes?: number | undefined;
1682
1683
  groups?: {
1683
- id: string;
1684
1684
  label: string;
1685
+ id: string;
1685
1686
  selectable: boolean;
1686
1687
  selected: boolean;
1687
1688
  files: {
@@ -1693,7 +1694,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1693
1694
  sourceUrl?: string | undefined;
1694
1695
  raw?: unknown;
1695
1696
  }[];
1696
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1697
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1697
1698
  error?: string | undefined;
1698
1699
  description?: string | undefined;
1699
1700
  profile?: string | undefined;
@@ -1708,7 +1709,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1708
1709
  totalBytes?: number | undefined;
1709
1710
  resumable?: boolean | undefined;
1710
1711
  }[] | undefined;
1711
- selectedGroupId?: string | undefined;
1712
1712
  } | undefined;
1713
1713
  }>;
1714
1714
  type LocalModelAssetState = z.infer<typeof LocalModelAssetStateSchema>;
@@ -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: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1819
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1820
1820
  message?: string | undefined;
1821
1821
  error?: string | undefined;
1822
1822
  progress?: number | undefined;
1823
1823
  }, {
1824
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1824
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1825
1825
  message?: string | undefined;
1826
1826
  error?: string | undefined;
1827
1827
  progress?: number | undefined;
@@ -1874,12 +1874,12 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1874
1874
  } & {
1875
1875
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
1876
1876
  }, "strip", z.ZodTypeAny, {
1877
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1877
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1878
1878
  message?: string | undefined;
1879
1879
  error?: string | undefined;
1880
1880
  progress?: number | undefined;
1881
1881
  }, {
1882
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1882
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1883
1883
  message?: string | undefined;
1884
1884
  error?: string | undefined;
1885
1885
  progress?: number | undefined;
@@ -1899,7 +1899,7 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1899
1899
  progress?: number | undefined;
1900
1900
  };
1901
1901
  assets: {
1902
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1902
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1903
1903
  message?: string | undefined;
1904
1904
  error?: string | undefined;
1905
1905
  progress?: number | undefined;
@@ -1919,7 +1919,7 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1919
1919
  progress?: number | undefined;
1920
1920
  };
1921
1921
  assets: {
1922
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1922
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1923
1923
  message?: string | undefined;
1924
1924
  error?: string | undefined;
1925
1925
  progress?: number | undefined;
@@ -1945,11 +1945,11 @@ declare const TranslationEngineInstallLogEventSchema: z.ZodObject<{
1945
1945
  stream: z.ZodEnum<["stdout", "stderr"]>;
1946
1946
  text: z.ZodString;
1947
1947
  }, "strip", z.ZodTypeAny, {
1948
- 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';
@@ -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: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2012
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2013
2013
  message?: string | undefined;
2014
2014
  error?: string | undefined;
2015
2015
  progress?: number | undefined;
2016
2016
  }, {
2017
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2017
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2018
2018
  message?: string | undefined;
2019
2019
  error?: string | undefined;
2020
2020
  progress?: number | undefined;
@@ -2034,7 +2034,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2034
2034
  progress?: number | undefined;
2035
2035
  };
2036
2036
  assets: {
2037
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2037
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2038
2038
  message?: string | undefined;
2039
2039
  error?: string | undefined;
2040
2040
  progress?: number | undefined;
@@ -2054,7 +2054,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2054
2054
  progress?: number | undefined;
2055
2055
  };
2056
2056
  assets: {
2057
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2057
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2058
2058
  message?: string | undefined;
2059
2059
  error?: string | undefined;
2060
2060
  progress?: number | undefined;
@@ -2077,7 +2077,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2077
2077
  progress?: number | undefined;
2078
2078
  };
2079
2079
  assets: {
2080
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2080
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2081
2081
  message?: string | undefined;
2082
2082
  error?: string | undefined;
2083
2083
  progress?: number | undefined;
@@ -2100,7 +2100,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2100
2100
  progress?: number | undefined;
2101
2101
  };
2102
2102
  assets: {
2103
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2103
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2104
2104
  message?: string | undefined;
2105
2105
  error?: string | undefined;
2106
2106
  progress?: number | undefined;
@@ -2113,12 +2113,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2113
2113
  text: z.ZodString;
2114
2114
  }, "strip", z.ZodTypeAny, {
2115
2115
  type: "log";
2116
- 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<{
@@ -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: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2166
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2167
2167
  message?: string | undefined;
2168
2168
  error?: string | undefined;
2169
2169
  progress?: number | undefined;
2170
2170
  }, {
2171
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2171
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2172
2172
  message?: string | undefined;
2173
2173
  error?: string | undefined;
2174
2174
  progress?: number | undefined;
@@ -2188,7 +2188,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2188
2188
  progress?: number | undefined;
2189
2189
  };
2190
2190
  assets: {
2191
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2191
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2192
2192
  message?: string | undefined;
2193
2193
  error?: string | undefined;
2194
2194
  progress?: number | undefined;
@@ -2208,7 +2208,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2208
2208
  progress?: number | undefined;
2209
2209
  };
2210
2210
  assets: {
2211
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2211
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2212
2212
  message?: string | undefined;
2213
2213
  error?: string | undefined;
2214
2214
  progress?: number | undefined;
@@ -2231,7 +2231,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2231
2231
  progress?: number | undefined;
2232
2232
  };
2233
2233
  assets: {
2234
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2234
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2235
2235
  message?: string | undefined;
2236
2236
  error?: string | undefined;
2237
2237
  progress?: number | undefined;
@@ -2254,7 +2254,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2254
2254
  progress?: number | undefined;
2255
2255
  };
2256
2256
  assets: {
2257
- state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2257
+ state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2258
2258
  message?: string | undefined;
2259
2259
  error?: string | undefined;
2260
2260
  progress?: number | undefined;
@@ -2380,26 +2380,26 @@ declare const TranslationOpenAISettingsSchema: z.ZodObject<{
2380
2380
  token: z.ZodDefault<z.ZodString>;
2381
2381
  model: z.ZodDefault<z.ZodString>;
2382
2382
  }, "strip", z.ZodTypeAny, {
2383
+ model: string;
2383
2384
  baseUrl: string;
2384
2385
  token: string;
2385
- model: string;
2386
2386
  }, {
2387
+ model?: string | undefined;
2387
2388
  baseUrl?: string | undefined;
2388
2389
  token?: string | undefined;
2389
- model?: string | undefined;
2390
2390
  }>;
2391
2391
  declare const TranslationOpenAISettingsUpdateSchema: z.ZodObject<{
2392
2392
  baseUrl: z.ZodOptional<z.ZodString>;
2393
2393
  token: z.ZodOptional<z.ZodString>;
2394
2394
  model: z.ZodOptional<z.ZodString>;
2395
2395
  }, "strip", z.ZodTypeAny, {
2396
+ model?: string | undefined;
2396
2397
  baseUrl?: string | undefined;
2397
2398
  token?: string | undefined;
2398
- model?: string | undefined;
2399
2399
  }, {
2400
+ model?: string | undefined;
2400
2401
  baseUrl?: string | undefined;
2401
2402
  token?: string | undefined;
2402
- model?: string | undefined;
2403
2403
  }>;
2404
2404
  type TranslationOpenAISettings = z.infer<typeof TranslationOpenAISettingsSchema>;
2405
2405
  declare const TranslationLocalSettingsSchema: z.ZodObject<{
@@ -2413,8 +2413,8 @@ declare const TranslationLocalSettingsSchema: z.ZodObject<{
2413
2413
  memoryBudgetPercent: number;
2414
2414
  selectedGroupId?: string | undefined;
2415
2415
  }, {
2416
- selectedGroupId?: string | undefined;
2417
2416
  model?: string | undefined;
2417
+ selectedGroupId?: string | undefined;
2418
2418
  hfEndpoint?: string | undefined;
2419
2419
  memoryBudgetPercent?: number | undefined;
2420
2420
  }>;
@@ -2424,13 +2424,13 @@ declare const TranslationLocalSettingsUpdateSchema: z.ZodObject<{
2424
2424
  hfEndpoint: z.ZodOptional<z.ZodString>;
2425
2425
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2426
2426
  }, "strip", z.ZodTypeAny, {
2427
- selectedGroupId?: string | null | undefined;
2428
2427
  model?: string | undefined;
2428
+ selectedGroupId?: string | null | undefined;
2429
2429
  hfEndpoint?: string | undefined;
2430
2430
  memoryBudgetPercent?: number | undefined;
2431
2431
  }, {
2432
- selectedGroupId?: string | null | undefined;
2433
2432
  model?: string | undefined;
2433
+ selectedGroupId?: string | null | undefined;
2434
2434
  hfEndpoint?: string | undefined;
2435
2435
  memoryBudgetPercent?: number | undefined;
2436
2436
  }>;
@@ -2446,8 +2446,8 @@ declare const TranslationLocalCt2SettingsSchema: z.ZodObject<{
2446
2446
  memoryBudgetPercent: number;
2447
2447
  selectedGroupId?: string | undefined;
2448
2448
  }, {
2449
- selectedGroupId?: string | undefined;
2450
2449
  model?: string | undefined;
2450
+ selectedGroupId?: string | undefined;
2451
2451
  hfEndpoint?: string | undefined;
2452
2452
  memoryBudgetPercent?: number | undefined;
2453
2453
  }>;
@@ -2457,13 +2457,13 @@ declare const TranslationLocalCt2SettingsUpdateSchema: z.ZodObject<{
2457
2457
  hfEndpoint: z.ZodOptional<z.ZodString>;
2458
2458
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2459
2459
  }, "strip", z.ZodTypeAny, {
2460
- selectedGroupId?: string | null | undefined;
2461
2460
  model?: string | undefined;
2461
+ selectedGroupId?: string | null | undefined;
2462
2462
  hfEndpoint?: string | undefined;
2463
2463
  memoryBudgetPercent?: number | undefined;
2464
2464
  }, {
2465
- selectedGroupId?: string | null | undefined;
2466
2465
  model?: string | undefined;
2466
+ selectedGroupId?: string | null | undefined;
2467
2467
  hfEndpoint?: string | undefined;
2468
2468
  memoryBudgetPercent?: number | undefined;
2469
2469
  }>;
@@ -2479,8 +2479,8 @@ declare const TranslationLocalLlamaSettingsSchema: z.ZodObject<{
2479
2479
  memoryBudgetPercent: number;
2480
2480
  selectedGroupId?: string | undefined;
2481
2481
  }, {
2482
- selectedGroupId?: string | undefined;
2483
2482
  model?: string | undefined;
2483
+ selectedGroupId?: string | undefined;
2484
2484
  hfEndpoint?: string | undefined;
2485
2485
  memoryBudgetPercent?: number | undefined;
2486
2486
  }>;
@@ -2490,13 +2490,13 @@ declare const TranslationLocalLlamaSettingsUpdateSchema: z.ZodObject<{
2490
2490
  hfEndpoint: z.ZodOptional<z.ZodString>;
2491
2491
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2492
2492
  }, "strip", z.ZodTypeAny, {
2493
- selectedGroupId?: string | null | undefined;
2494
2493
  model?: string | undefined;
2494
+ selectedGroupId?: string | null | undefined;
2495
2495
  hfEndpoint?: string | undefined;
2496
2496
  memoryBudgetPercent?: number | undefined;
2497
2497
  }, {
2498
- selectedGroupId?: string | null | undefined;
2499
2498
  model?: string | undefined;
2499
+ selectedGroupId?: string | null | undefined;
2500
2500
  hfEndpoint?: string | undefined;
2501
2501
  memoryBudgetPercent?: number | undefined;
2502
2502
  }>;
@@ -2508,13 +2508,13 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2508
2508
  token: z.ZodDefault<z.ZodString>;
2509
2509
  model: z.ZodDefault<z.ZodString>;
2510
2510
  }, "strip", z.ZodTypeAny, {
2511
+ model: string;
2511
2512
  baseUrl: string;
2512
2513
  token: string;
2513
- model: string;
2514
2514
  }, {
2515
+ model?: string | undefined;
2515
2516
  baseUrl?: string | undefined;
2516
2517
  token?: string | undefined;
2517
- model?: string | undefined;
2518
2518
  }>>;
2519
2519
  local: z.ZodDefault<z.ZodObject<{
2520
2520
  model: z.ZodDefault<z.ZodString>;
@@ -2527,8 +2527,8 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2527
2527
  memoryBudgetPercent: number;
2528
2528
  selectedGroupId?: string | undefined;
2529
2529
  }, {
2530
- selectedGroupId?: string | undefined;
2531
2530
  model?: string | undefined;
2531
+ selectedGroupId?: string | undefined;
2532
2532
  hfEndpoint?: string | undefined;
2533
2533
  memoryBudgetPercent?: number | undefined;
2534
2534
  }>>;
@@ -2543,8 +2543,8 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2543
2543
  memoryBudgetPercent: number;
2544
2544
  selectedGroupId?: string | undefined;
2545
2545
  }, {
2546
- selectedGroupId?: string | undefined;
2547
2546
  model?: string | undefined;
2547
+ selectedGroupId?: string | undefined;
2548
2548
  hfEndpoint?: string | undefined;
2549
2549
  memoryBudgetPercent?: number | undefined;
2550
2550
  }>>;
@@ -2559,8 +2559,8 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2559
2559
  memoryBudgetPercent: number;
2560
2560
  selectedGroupId?: string | undefined;
2561
2561
  }, {
2562
- selectedGroupId?: string | undefined;
2563
2562
  model?: string | undefined;
2563
+ selectedGroupId?: string | undefined;
2564
2564
  hfEndpoint?: string | undefined;
2565
2565
  memoryBudgetPercent?: number | undefined;
2566
2566
  }>>;
@@ -2571,12 +2571,6 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2571
2571
  memoryBudgetPercent: number;
2572
2572
  selectedGroupId?: string | undefined;
2573
2573
  };
2574
- openai: {
2575
- baseUrl: string;
2576
- token: string;
2577
- model: string;
2578
- };
2579
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
2580
2574
  localCt2: {
2581
2575
  model: string;
2582
2576
  hfEndpoint: string;
@@ -2589,31 +2583,37 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2589
2583
  memoryBudgetPercent: number;
2590
2584
  selectedGroupId?: string | undefined;
2591
2585
  };
2586
+ openai: {
2587
+ model: string;
2588
+ baseUrl: string;
2589
+ token: string;
2590
+ };
2591
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2592
2592
  }, {
2593
2593
  local?: {
2594
- selectedGroupId?: string | undefined;
2595
2594
  model?: string | undefined;
2595
+ selectedGroupId?: string | undefined;
2596
2596
  hfEndpoint?: string | undefined;
2597
2597
  memoryBudgetPercent?: number | undefined;
2598
2598
  } | undefined;
2599
- openai?: {
2600
- baseUrl?: string | undefined;
2601
- token?: string | undefined;
2602
- model?: string | undefined;
2603
- } | undefined;
2604
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2605
2599
  localCt2?: {
2606
- selectedGroupId?: string | undefined;
2607
2600
  model?: string | undefined;
2601
+ selectedGroupId?: string | undefined;
2608
2602
  hfEndpoint?: string | undefined;
2609
2603
  memoryBudgetPercent?: number | undefined;
2610
2604
  } | undefined;
2611
2605
  localLlama?: {
2612
- selectedGroupId?: string | undefined;
2613
2606
  model?: string | undefined;
2607
+ selectedGroupId?: string | undefined;
2614
2608
  hfEndpoint?: string | undefined;
2615
2609
  memoryBudgetPercent?: number | undefined;
2616
2610
  } | undefined;
2611
+ openai?: {
2612
+ model?: string | undefined;
2613
+ baseUrl?: string | undefined;
2614
+ token?: string | undefined;
2615
+ } | undefined;
2616
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
2617
2617
  }>;
2618
2618
  declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2619
2619
  engineId: z.ZodOptional<z.ZodEnum<["browser", "local", "local-ct2", "local-llama", "openai"]>>;
@@ -2622,13 +2622,13 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2622
2622
  token: z.ZodOptional<z.ZodString>;
2623
2623
  model: z.ZodOptional<z.ZodString>;
2624
2624
  }, "strip", z.ZodTypeAny, {
2625
+ model?: string | undefined;
2625
2626
  baseUrl?: string | undefined;
2626
2627
  token?: string | undefined;
2627
- model?: string | undefined;
2628
2628
  }, {
2629
+ model?: string | undefined;
2629
2630
  baseUrl?: string | undefined;
2630
2631
  token?: string | undefined;
2631
- model?: string | undefined;
2632
2632
  }>>;
2633
2633
  local: z.ZodOptional<z.ZodObject<{
2634
2634
  model: z.ZodOptional<z.ZodString>;
@@ -2636,13 +2636,13 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2636
2636
  hfEndpoint: z.ZodOptional<z.ZodString>;
2637
2637
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2638
2638
  }, "strip", z.ZodTypeAny, {
2639
- selectedGroupId?: string | null | undefined;
2640
2639
  model?: string | undefined;
2640
+ selectedGroupId?: string | null | undefined;
2641
2641
  hfEndpoint?: string | undefined;
2642
2642
  memoryBudgetPercent?: number | undefined;
2643
2643
  }, {
2644
- selectedGroupId?: string | null | undefined;
2645
2644
  model?: string | undefined;
2645
+ selectedGroupId?: string | null | undefined;
2646
2646
  hfEndpoint?: string | undefined;
2647
2647
  memoryBudgetPercent?: number | undefined;
2648
2648
  }>>;
@@ -2652,13 +2652,13 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2652
2652
  hfEndpoint: z.ZodOptional<z.ZodString>;
2653
2653
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2654
2654
  }, "strip", z.ZodTypeAny, {
2655
- selectedGroupId?: string | null | undefined;
2656
2655
  model?: string | undefined;
2656
+ selectedGroupId?: string | null | undefined;
2657
2657
  hfEndpoint?: string | undefined;
2658
2658
  memoryBudgetPercent?: number | undefined;
2659
2659
  }, {
2660
- selectedGroupId?: string | null | undefined;
2661
2660
  model?: string | undefined;
2661
+ selectedGroupId?: string | null | undefined;
2662
2662
  hfEndpoint?: string | undefined;
2663
2663
  memoryBudgetPercent?: number | undefined;
2664
2664
  }>>;
@@ -2668,66 +2668,66 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2668
2668
  hfEndpoint: z.ZodOptional<z.ZodString>;
2669
2669
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2670
2670
  }, "strip", z.ZodTypeAny, {
2671
- selectedGroupId?: string | null | undefined;
2672
2671
  model?: string | undefined;
2672
+ selectedGroupId?: string | null | undefined;
2673
2673
  hfEndpoint?: string | undefined;
2674
2674
  memoryBudgetPercent?: number | undefined;
2675
2675
  }, {
2676
- selectedGroupId?: string | null | undefined;
2677
2676
  model?: string | undefined;
2677
+ selectedGroupId?: string | null | undefined;
2678
2678
  hfEndpoint?: string | undefined;
2679
2679
  memoryBudgetPercent?: number | undefined;
2680
2680
  }>>;
2681
2681
  }, "strip", z.ZodTypeAny, {
2682
2682
  local?: {
2683
- selectedGroupId?: string | null | undefined;
2684
2683
  model?: string | undefined;
2684
+ selectedGroupId?: string | null | undefined;
2685
2685
  hfEndpoint?: string | undefined;
2686
2686
  memoryBudgetPercent?: number | undefined;
2687
2687
  } | undefined;
2688
- openai?: {
2689
- baseUrl?: string | undefined;
2690
- token?: string | undefined;
2691
- model?: string | undefined;
2692
- } | undefined;
2693
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2694
2688
  localCt2?: {
2695
- selectedGroupId?: string | null | undefined;
2696
2689
  model?: string | undefined;
2690
+ selectedGroupId?: string | null | undefined;
2697
2691
  hfEndpoint?: string | undefined;
2698
2692
  memoryBudgetPercent?: number | undefined;
2699
2693
  } | undefined;
2700
2694
  localLlama?: {
2701
- selectedGroupId?: string | null | undefined;
2702
2695
  model?: string | undefined;
2703
- hfEndpoint?: string | undefined;
2704
- memoryBudgetPercent?: number | undefined;
2705
- } | undefined;
2706
- }, {
2707
- local?: {
2708
2696
  selectedGroupId?: string | null | undefined;
2709
- model?: string | undefined;
2710
2697
  hfEndpoint?: string | undefined;
2711
2698
  memoryBudgetPercent?: number | undefined;
2712
2699
  } | undefined;
2713
2700
  openai?: {
2701
+ model?: string | undefined;
2714
2702
  baseUrl?: string | undefined;
2715
2703
  token?: string | undefined;
2704
+ } | undefined;
2705
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
2706
+ }, {
2707
+ local?: {
2716
2708
  model?: string | undefined;
2709
+ selectedGroupId?: string | null | undefined;
2710
+ hfEndpoint?: string | undefined;
2711
+ memoryBudgetPercent?: number | undefined;
2717
2712
  } | undefined;
2718
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2719
2713
  localCt2?: {
2720
- selectedGroupId?: string | null | undefined;
2721
2714
  model?: string | undefined;
2715
+ selectedGroupId?: string | null | undefined;
2722
2716
  hfEndpoint?: string | undefined;
2723
2717
  memoryBudgetPercent?: number | undefined;
2724
2718
  } | undefined;
2725
2719
  localLlama?: {
2726
- selectedGroupId?: string | null | undefined;
2727
2720
  model?: string | undefined;
2721
+ selectedGroupId?: string | null | undefined;
2728
2722
  hfEndpoint?: string | undefined;
2729
2723
  memoryBudgetPercent?: number | undefined;
2730
2724
  } | undefined;
2725
+ openai?: {
2726
+ model?: string | undefined;
2727
+ baseUrl?: string | undefined;
2728
+ token?: string | undefined;
2729
+ } | undefined;
2730
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
2731
2731
  }>;
2732
2732
  type TranslationEngineGlobalSettings = z.infer<typeof TranslationEngineGlobalSettingsSchema>;
2733
2733
  type TranslationEngineGlobalSettingsUpdate = {
@@ -2754,22 +2754,22 @@ declare const BatchTranslateInputSchema: z.ZodObject<{
2754
2754
  context: z.ZodOptional<z.ZodString>;
2755
2755
  timeoutMs: z.ZodDefault<z.ZodNumber>;
2756
2756
  }, "strip", z.ZodTypeAny, {
2757
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
2758
- sourceLanguage: string;
2759
2757
  targetLanguage: string;
2758
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2759
+ sourceLanguage: string;
2760
2760
  inputs: string[];
2761
2761
  timeoutMs: number;
2762
- selectedGroupId?: string | undefined;
2763
2762
  model?: string | undefined;
2763
+ selectedGroupId?: string | undefined;
2764
2764
  instructions?: string | undefined;
2765
2765
  context?: string | undefined;
2766
2766
  }, {
2767
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
2768
- sourceLanguage: string;
2769
2767
  targetLanguage: string;
2768
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2769
+ sourceLanguage: string;
2770
2770
  inputs: string[];
2771
- selectedGroupId?: string | undefined;
2772
2771
  model?: string | undefined;
2772
+ selectedGroupId?: string | undefined;
2773
2773
  instructions?: string | undefined;
2774
2774
  context?: string | undefined;
2775
2775
  timeoutMs?: number | undefined;