@openspecui/core 13.0.0 → 13.0.1

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 (59) hide show
  1. package/dist/{active-root-config-_ZXqUzpc.d.mts → active-root-config-wpH_ZblJ.d.mts} +17 -17
  2. package/dist/active-root-config.d.mts +5 -5
  3. package/dist/{cli-projection-D932MJzB.d.mts → cli-projection-0tdEPnTe.d.mts} +17 -17
  4. package/dist/cli-projection.d.mts +5 -5
  5. package/dist/{command-result-Eq147Dt4.mjs → command-result-DfCY18TD.mjs} +23 -2
  6. package/dist/{dashboard-summary-transport-DS-bPqn1.d.mts → dashboard-summary-transport-uE7nCxmD.d.mts} +4271 -4102
  7. package/dist/dashboard-summary-transport.d.mts +19 -19
  8. package/dist/{document-translation-DM2eydNr.d.mts → document-translation-DzF7Og-j.d.mts} +102 -102
  9. package/dist/document-translation.d.mts +1 -1
  10. package/dist/{hosted-app-CHqdo5vd.mjs → hosted-app-DWYFMLkw.mjs} +1 -1
  11. package/dist/hosted-app.d.mts +19 -19
  12. package/dist/hosted-app.mjs +3 -3
  13. package/dist/{hosted-contract-Qe5AmkiE.mjs → hosted-contract-SsTBQklx.mjs} +1 -1
  14. package/dist/hosted-contract.d.mts +19 -19
  15. package/dist/hosted-contract.mjs +2 -2
  16. package/dist/{index-zESQZeBd.d.mts → index-DPsUTX4C.d.mts} +220 -71
  17. package/dist/index.d.mts +20 -20
  18. package/dist/index.mjs +22 -11
  19. package/dist/{local-download-profiles-Dj0nGG1k.d.mts → local-download-profiles-CsKGe_qF.d.mts} +1 -1
  20. package/dist/local-download-profiles.d.mts +2 -2
  21. package/dist/{notifications-DwiGoWFM.d.mts → notifications-B8Ael_hq.d.mts} +17 -17
  22. package/dist/notifications.d.mts +2 -2
  23. package/dist/openspec-compat.d.mts +4 -4
  24. package/dist/openspec-compat.mjs +1 -1
  25. package/dist/{openspec-projection-MyG567IF.d.mts → openspec-projection-xOnjhQ7v.d.mts} +1 -1
  26. package/dist/openspec-projection.d.mts +2 -2
  27. package/dist/{opsx-entity-BsYtWdkc.d.mts → opsx-entity-DsigFL5Z.d.mts} +2 -2
  28. package/dist/opsx-entity.d.mts +7 -7
  29. package/dist/{opsx-schema-detail-Cbg1qHlw.d.mts → opsx-schema-detail-IlY4T5vO.d.mts} +2 -2
  30. package/dist/opsx-schema-detail.d.mts +8 -8
  31. package/dist/{opsx-types-8fxRIEhj.d.mts → opsx-types-r1oKVWgZ.d.mts} +248 -248
  32. package/dist/{planning-cli-projection-CttkbBh9.mjs → planning-cli-projection-C4eG7-Yr.mjs} +18 -4
  33. package/dist/planning-cli-projection.d.mts +20 -20
  34. package/dist/planning-cli-projection.mjs +5 -5
  35. package/dist/{schemas-CdprtB2t.d.mts → schemas-pfpqDlAd.d.mts} +252 -252
  36. package/dist/{sounds-BCmBc3Lm.d.mts → sounds-B0GiWqBN.d.mts} +9 -9
  37. package/dist/sounds.d.mts +1 -1
  38. package/dist/{spec-catalog-DYJ4dxTY.mjs → spec-catalog-B8TIBzwP.mjs} +1 -1
  39. package/dist/spec-catalog.d.mts +19 -19
  40. package/dist/spec-catalog.mjs +2 -2
  41. package/dist/{store-content-projection-DV31znWA.mjs → store-content-projection-CLNY-hNu.mjs} +5 -1
  42. package/dist/{store-content-projection-BnNYyb0x.d.mts → store-content-projection-DMHTVCFM.d.mts} +126 -0
  43. package/dist/store-content-projection.d.mts +1 -1
  44. package/dist/store-content-projection.mjs +1 -1
  45. package/dist/{store-mutation-protocol-C9xgZkNh.d.mts → store-mutation-protocol-DXeWtAvN.d.mts} +24 -24
  46. package/dist/store-mutation-protocol.d.mts +1 -1
  47. package/dist/{store-types-Ch6RIfO6.d.mts → store-types-BghVB9Qj.d.mts} +1 -1
  48. package/dist/store-types.d.mts +5 -5
  49. package/dist/{task-progress-Bvid_Ws8.mjs → task-progress-moL-QUhJ.mjs} +29 -4
  50. package/dist/task-progress.d.mts +6 -6
  51. package/dist/task-progress.mjs +1 -1
  52. package/dist/{terminal-audio-uas32Aa-.d.mts → terminal-audio-BpfUW_eB.d.mts} +2 -2
  53. package/dist/terminal-audio.d.mts +2 -2
  54. package/dist/terminal-control.d.mts +2 -2
  55. package/dist/{terminal-invocation-DSEgzEiU.d.mts → terminal-invocation-CYibC-WC.d.mts} +73 -73
  56. package/dist/terminal-invocation.d.mts +1 -1
  57. package/dist/{translator-2hRDPD9f.d.mts → translator-BdTMcSWN.d.mts} +234 -234
  58. package/dist/translator.d.mts +1 -1
  59. package/package.json +2 -2
@@ -231,8 +231,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
231
231
  sourceUrl?: string | undefined;
232
232
  raw?: unknown;
233
233
  }[];
234
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
235
234
  error?: string | undefined;
235
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
236
236
  description?: string | undefined;
237
237
  profile?: string | undefined;
238
238
  dtype?: string | undefined;
@@ -259,8 +259,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
259
259
  sourceUrl?: string | undefined;
260
260
  raw?: unknown;
261
261
  }[];
262
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
263
262
  error?: string | undefined;
263
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
264
264
  description?: string | undefined;
265
265
  profile?: string | undefined;
266
266
  dtype?: string | undefined;
@@ -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";
563
562
  path: string;
563
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
564
564
  required: boolean;
565
- updatedAt?: number | undefined;
566
565
  error?: string | undefined;
566
+ updatedAt?: number | undefined;
567
567
  sizeBytes?: number | undefined;
568
568
  downloadedBytes?: number | undefined;
569
569
  }, {
570
570
  path: string;
571
+ error?: string | undefined;
571
572
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
572
573
  updatedAt?: number | undefined;
573
- required?: boolean | undefined;
574
- error?: string | undefined;
575
574
  sizeBytes?: number | undefined;
575
+ required?: boolean | undefined;
576
576
  downloadedBytes?: number | undefined;
577
577
  }>;
578
578
  type LocalModelLifecycleFileState = z.infer<typeof LocalModelLifecycleFileStateSchema>;
@@ -597,37 +597,37 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
597
597
  updatedAt: z.ZodOptional<z.ZodNumber>;
598
598
  error: z.ZodOptional<z.ZodString>;
599
599
  }, "strip", z.ZodTypeAny, {
600
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
601
600
  path: string;
601
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
602
602
  required: boolean;
603
- updatedAt?: number | undefined;
604
603
  error?: string | undefined;
604
+ updatedAt?: number | undefined;
605
605
  sizeBytes?: number | undefined;
606
606
  downloadedBytes?: number | undefined;
607
607
  }, {
608
608
  path: string;
609
+ error?: string | undefined;
609
610
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
610
611
  updatedAt?: number | undefined;
611
- required?: boolean | undefined;
612
- error?: string | undefined;
613
612
  sizeBytes?: number | undefined;
613
+ required?: boolean | undefined;
614
614
  downloadedBytes?: number | undefined;
615
615
  }>, "many">>;
616
616
  }, "strip", z.ZodTypeAny, {
617
617
  status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
618
- groupId: string;
619
618
  resumable: boolean;
620
619
  files: {
621
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
622
620
  path: string;
621
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
623
622
  required: boolean;
624
- updatedAt?: number | undefined;
625
623
  error?: string | undefined;
624
+ updatedAt?: number | undefined;
626
625
  sizeBytes?: number | undefined;
627
626
  downloadedBytes?: number | undefined;
628
627
  }[];
629
- updatedAt?: number | undefined;
628
+ groupId: string;
630
629
  error?: string | undefined;
630
+ updatedAt?: number | undefined;
631
631
  baseGroupId?: string | undefined;
632
632
  rootDir?: string | undefined;
633
633
  progress?: number | undefined;
@@ -636,9 +636,9 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
636
636
  installedAt?: number | undefined;
637
637
  }, {
638
638
  groupId: string;
639
+ error?: string | undefined;
639
640
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
640
641
  updatedAt?: number | undefined;
641
- error?: string | undefined;
642
642
  baseGroupId?: string | undefined;
643
643
  rootDir?: string | undefined;
644
644
  progress?: number | undefined;
@@ -647,11 +647,11 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
647
647
  resumable?: boolean | undefined;
648
648
  files?: {
649
649
  path: string;
650
+ error?: string | undefined;
650
651
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
651
652
  updatedAt?: number | undefined;
652
- required?: boolean | undefined;
653
- error?: string | undefined;
654
653
  sizeBytes?: number | undefined;
654
+ required?: boolean | undefined;
655
655
  downloadedBytes?: number | undefined;
656
656
  }[] | undefined;
657
657
  installedAt?: number | undefined;
@@ -663,15 +663,15 @@ declare const LocalModelProfileLoadStateSchema: z.ZodObject<{
663
663
  error: z.ZodOptional<z.ZodString>;
664
664
  updatedAt: z.ZodOptional<z.ZodNumber>;
665
665
  }, "strip", z.ZodTypeAny, {
666
- status: "error" | "loading" | "ready" | "idle";
666
+ status: "loading" | "ready" | "error" | "idle";
667
+ error?: string | undefined;
667
668
  message?: string | undefined;
668
669
  updatedAt?: number | undefined;
669
- error?: string | undefined;
670
670
  }, {
671
- status?: "error" | "loading" | "ready" | "idle" | undefined;
671
+ error?: string | undefined;
672
672
  message?: string | undefined;
673
+ status?: "loading" | "ready" | "error" | "idle" | undefined;
673
674
  updatedAt?: number | undefined;
674
- error?: string | undefined;
675
675
  }>;
676
676
  type LocalModelProfileLoadState = z.infer<typeof LocalModelProfileLoadStateSchema>;
677
677
  declare const LocalModelAssetLogSchema: z.ZodObject<{
@@ -701,14 +701,11 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
701
701
  }>, "many">>;
702
702
  updatedAt: z.ZodNumber;
703
703
  }, "strip", z.ZodTypeAny, {
704
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
705
704
  message: string;
705
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
706
706
  updatedAt: number;
707
- engineId: "local" | "local-ct2" | "local-llama";
708
707
  modelId: string;
709
- sessionId?: string | undefined;
710
- groupId?: string | undefined;
711
- selectedGroupId?: string | undefined;
708
+ engineId: "local" | "local-ct2" | "local-llama";
712
709
  progress?: number | undefined;
713
710
  bytesDownloaded?: number | undefined;
714
711
  totalBytes?: number | undefined;
@@ -718,15 +715,15 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
718
715
  sizeBytes?: number | undefined;
719
716
  downloadedBytes?: number | undefined;
720
717
  }[] | 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";
723
722
  message: string;
723
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
724
724
  updatedAt: number;
725
- engineId: "local" | "local-ct2" | "local-llama";
726
725
  modelId: string;
727
- sessionId?: string | undefined;
728
- groupId?: string | undefined;
729
- selectedGroupId?: string | undefined;
726
+ engineId: "local" | "local-ct2" | "local-llama";
730
727
  progress?: number | undefined;
731
728
  bytesDownloaded?: number | undefined;
732
729
  totalBytes?: number | undefined;
@@ -736,6 +733,9 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
736
733
  sizeBytes?: number | undefined;
737
734
  downloadedBytes?: number | undefined;
738
735
  }[] | 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<{
@@ -826,8 +826,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
826
826
  sourceUrl?: string | undefined;
827
827
  raw?: unknown;
828
828
  }[];
829
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
830
829
  error?: string | undefined;
830
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
831
831
  description?: string | undefined;
832
832
  profile?: string | undefined;
833
833
  dtype?: string | undefined;
@@ -854,8 +854,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
854
854
  sourceUrl?: string | undefined;
855
855
  raw?: unknown;
856
856
  }[];
857
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
858
857
  error?: string | undefined;
858
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
859
859
  description?: string | undefined;
860
860
  profile?: string | undefined;
861
861
  dtype?: string | undefined;
@@ -881,7 +881,6 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
881
881
  }[];
882
882
  modelId: string;
883
883
  profile?: string | undefined;
884
- selectedGroupId?: string | undefined;
885
884
  estimatedTotalBytes?: number | undefined;
886
885
  groups?: {
887
886
  id: string;
@@ -897,8 +896,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
897
896
  sourceUrl?: string | undefined;
898
897
  raw?: unknown;
899
898
  }[];
900
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
901
899
  error?: string | undefined;
900
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
902
901
  description?: string | undefined;
903
902
  profile?: string | undefined;
904
903
  dtype?: string | undefined;
@@ -912,6 +911,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
912
911
  totalBytes?: number | undefined;
913
912
  resumable?: boolean | undefined;
914
913
  }[] | undefined;
914
+ selectedGroupId?: string | undefined;
915
915
  }, {
916
916
  files: {
917
917
  path: string;
@@ -924,7 +924,6 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
924
924
  }[];
925
925
  modelId: string;
926
926
  profile?: string | undefined;
927
- selectedGroupId?: string | undefined;
928
927
  estimatedTotalBytes?: number | undefined;
929
928
  groups?: {
930
929
  id: string;
@@ -940,8 +939,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
940
939
  sourceUrl?: string | undefined;
941
940
  raw?: unknown;
942
941
  }[];
943
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
944
942
  error?: string | undefined;
943
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
945
944
  description?: string | undefined;
946
945
  profile?: string | undefined;
947
946
  dtype?: string | undefined;
@@ -955,6 +954,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
955
954
  totalBytes?: number | undefined;
956
955
  resumable?: boolean | undefined;
957
956
  }[] | undefined;
957
+ selectedGroupId?: string | undefined;
958
958
  }>;
959
959
  type LocalModelAssetPlanSnapshot = z.infer<typeof LocalModelAssetPlanSnapshotSchema>;
960
960
  declare const LocalModelAssetStateSchema: z.ZodObject<{
@@ -976,15 +976,15 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
976
976
  error: z.ZodOptional<z.ZodString>;
977
977
  updatedAt: z.ZodOptional<z.ZodNumber>;
978
978
  }, "strip", z.ZodTypeAny, {
979
- status: "error" | "loading" | "ready" | "idle";
979
+ status: "loading" | "ready" | "error" | "idle";
980
+ error?: string | undefined;
980
981
  message?: string | undefined;
981
982
  updatedAt?: number | undefined;
982
- error?: string | undefined;
983
983
  }, {
984
- status?: "error" | "loading" | "ready" | "idle" | undefined;
984
+ error?: string | undefined;
985
985
  message?: string | undefined;
986
+ status?: "loading" | "ready" | "error" | "idle" | undefined;
986
987
  updatedAt?: number | undefined;
987
- error?: string | undefined;
988
988
  }>>;
989
989
  profileManifest: z.ZodOptional<z.ZodObject<{
990
990
  modelId: z.ZodString;
@@ -1170,37 +1170,37 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1170
1170
  updatedAt: z.ZodOptional<z.ZodNumber>;
1171
1171
  error: z.ZodOptional<z.ZodString>;
1172
1172
  }, "strip", z.ZodTypeAny, {
1173
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1174
1173
  path: string;
1174
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1175
1175
  required: boolean;
1176
- updatedAt?: number | undefined;
1177
1176
  error?: string | undefined;
1177
+ updatedAt?: number | undefined;
1178
1178
  sizeBytes?: number | undefined;
1179
1179
  downloadedBytes?: number | undefined;
1180
1180
  }, {
1181
1181
  path: string;
1182
+ error?: string | undefined;
1182
1183
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1183
1184
  updatedAt?: number | undefined;
1184
- required?: boolean | undefined;
1185
- error?: string | undefined;
1186
1185
  sizeBytes?: number | undefined;
1186
+ required?: boolean | undefined;
1187
1187
  downloadedBytes?: number | undefined;
1188
1188
  }>, "many">>;
1189
1189
  }, "strip", z.ZodTypeAny, {
1190
1190
  status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1191
- groupId: string;
1192
1191
  resumable: boolean;
1193
1192
  files: {
1194
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1195
1193
  path: string;
1194
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1196
1195
  required: boolean;
1197
- updatedAt?: number | undefined;
1198
1196
  error?: string | undefined;
1197
+ updatedAt?: number | undefined;
1199
1198
  sizeBytes?: number | undefined;
1200
1199
  downloadedBytes?: number | undefined;
1201
1200
  }[];
1202
- updatedAt?: number | undefined;
1201
+ groupId: string;
1203
1202
  error?: string | undefined;
1203
+ updatedAt?: number | undefined;
1204
1204
  baseGroupId?: string | undefined;
1205
1205
  rootDir?: string | undefined;
1206
1206
  progress?: number | undefined;
@@ -1209,9 +1209,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1209
1209
  installedAt?: number | undefined;
1210
1210
  }, {
1211
1211
  groupId: string;
1212
+ error?: string | undefined;
1212
1213
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1213
1214
  updatedAt?: number | undefined;
1214
- error?: string | undefined;
1215
1215
  baseGroupId?: string | undefined;
1216
1216
  rootDir?: string | undefined;
1217
1217
  progress?: number | undefined;
@@ -1220,11 +1220,11 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1220
1220
  resumable?: boolean | undefined;
1221
1221
  files?: {
1222
1222
  path: string;
1223
+ error?: string | undefined;
1223
1224
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1224
1225
  updatedAt?: number | undefined;
1225
- required?: boolean | undefined;
1226
- error?: string | undefined;
1227
1226
  sizeBytes?: number | undefined;
1227
+ required?: boolean | undefined;
1228
1228
  downloadedBytes?: number | undefined;
1229
1229
  }[] | undefined;
1230
1230
  installedAt?: number | undefined;
@@ -1317,8 +1317,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1317
1317
  sourceUrl?: string | undefined;
1318
1318
  raw?: unknown;
1319
1319
  }[];
1320
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1321
1320
  error?: string | undefined;
1321
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1322
1322
  description?: string | undefined;
1323
1323
  profile?: string | undefined;
1324
1324
  dtype?: string | undefined;
@@ -1345,8 +1345,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1345
1345
  sourceUrl?: string | undefined;
1346
1346
  raw?: unknown;
1347
1347
  }[];
1348
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1349
1348
  error?: string | undefined;
1349
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1350
1350
  description?: string | undefined;
1351
1351
  profile?: string | undefined;
1352
1352
  dtype?: string | undefined;
@@ -1372,7 +1372,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1372
1372
  }[];
1373
1373
  modelId: string;
1374
1374
  profile?: string | undefined;
1375
- selectedGroupId?: string | undefined;
1376
1375
  estimatedTotalBytes?: number | undefined;
1377
1376
  groups?: {
1378
1377
  id: string;
@@ -1388,8 +1387,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1388
1387
  sourceUrl?: string | undefined;
1389
1388
  raw?: unknown;
1390
1389
  }[];
1391
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1392
1390
  error?: string | undefined;
1391
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1393
1392
  description?: string | undefined;
1394
1393
  profile?: string | undefined;
1395
1394
  dtype?: string | undefined;
@@ -1403,6 +1402,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1403
1402
  totalBytes?: number | undefined;
1404
1403
  resumable?: boolean | undefined;
1405
1404
  }[] | undefined;
1405
+ selectedGroupId?: string | undefined;
1406
1406
  }, {
1407
1407
  files: {
1408
1408
  path: string;
@@ -1415,7 +1415,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1415
1415
  }[];
1416
1416
  modelId: string;
1417
1417
  profile?: string | undefined;
1418
- selectedGroupId?: string | undefined;
1419
1418
  estimatedTotalBytes?: number | undefined;
1420
1419
  groups?: {
1421
1420
  id: string;
@@ -1431,8 +1430,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1431
1430
  sourceUrl?: string | undefined;
1432
1431
  raw?: unknown;
1433
1432
  }[];
1434
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1435
1433
  error?: string | undefined;
1434
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1436
1435
  description?: string | undefined;
1437
1436
  profile?: string | undefined;
1438
1437
  dtype?: string | undefined;
@@ -1446,6 +1445,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1446
1445
  totalBytes?: number | undefined;
1447
1446
  resumable?: boolean | undefined;
1448
1447
  }[] | undefined;
1448
+ selectedGroupId?: string | undefined;
1449
1449
  }>>;
1450
1450
  files: z.ZodDefault<z.ZodArray<z.ZodObject<{
1451
1451
  path: z.ZodString;
@@ -1472,26 +1472,26 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1472
1472
  }[];
1473
1473
  modelId: string;
1474
1474
  profileLoad: {
1475
- status: "error" | "loading" | "ready" | "idle";
1475
+ status: "loading" | "ready" | "error" | "idle";
1476
+ error?: string | undefined;
1476
1477
  message?: string | undefined;
1477
1478
  updatedAt?: number | undefined;
1478
- error?: string | undefined;
1479
1479
  };
1480
1480
  groupsState: Record<string, {
1481
1481
  status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1482
- groupId: string;
1483
1482
  resumable: boolean;
1484
1483
  files: {
1485
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1486
1484
  path: string;
1485
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1487
1486
  required: boolean;
1488
- updatedAt?: number | undefined;
1489
1487
  error?: string | undefined;
1488
+ updatedAt?: number | undefined;
1490
1489
  sizeBytes?: number | undefined;
1491
1490
  downloadedBytes?: number | undefined;
1492
1491
  }[];
1493
- updatedAt?: number | undefined;
1492
+ groupId: string;
1494
1493
  error?: string | undefined;
1494
+ updatedAt?: number | undefined;
1495
1495
  baseGroupId?: string | undefined;
1496
1496
  rootDir?: string | undefined;
1497
1497
  progress?: number | undefined;
@@ -1499,13 +1499,13 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1499
1499
  totalBytes?: number | undefined;
1500
1500
  installedAt?: number | undefined;
1501
1501
  }>;
1502
- updatedAt?: number | undefined;
1503
1502
  error?: string | undefined;
1504
- selectedGroupId?: string | undefined;
1503
+ updatedAt?: number | undefined;
1505
1504
  progress?: number | undefined;
1506
1505
  bytesDownloaded?: number | undefined;
1507
1506
  totalBytes?: number | undefined;
1508
1507
  installedAt?: number | undefined;
1508
+ selectedGroupId?: string | undefined;
1509
1509
  profileManifest?: {
1510
1510
  updatedAt: number;
1511
1511
  source: "huggingface";
@@ -1553,7 +1553,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1553
1553
  }[];
1554
1554
  modelId: string;
1555
1555
  profile?: string | undefined;
1556
- selectedGroupId?: string | undefined;
1557
1556
  estimatedTotalBytes?: number | undefined;
1558
1557
  groups?: {
1559
1558
  id: string;
@@ -1569,8 +1568,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1569
1568
  sourceUrl?: string | undefined;
1570
1569
  raw?: unknown;
1571
1570
  }[];
1572
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1573
1571
  error?: string | undefined;
1572
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1574
1573
  description?: string | undefined;
1575
1574
  profile?: string | undefined;
1576
1575
  dtype?: string | undefined;
@@ -1584,14 +1583,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1584
1583
  totalBytes?: number | undefined;
1585
1584
  resumable?: boolean | undefined;
1586
1585
  }[] | undefined;
1586
+ selectedGroupId?: string | undefined;
1587
1587
  } | undefined;
1588
1588
  }, {
1589
1589
  modelId: string;
1590
+ error?: string | undefined;
1590
1591
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1591
1592
  updatedAt?: number | undefined;
1592
- error?: string | undefined;
1593
1593
  version?: 2 | undefined;
1594
- selectedGroupId?: string | undefined;
1595
1594
  progress?: number | undefined;
1596
1595
  bytesDownloaded?: number | undefined;
1597
1596
  totalBytes?: number | undefined;
@@ -1603,11 +1602,12 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1603
1602
  downloadedBytes?: number | undefined;
1604
1603
  }[] | undefined;
1605
1604
  installedAt?: number | undefined;
1605
+ selectedGroupId?: string | undefined;
1606
1606
  profileLoad?: {
1607
- status?: "error" | "loading" | "ready" | "idle" | undefined;
1607
+ error?: string | undefined;
1608
1608
  message?: string | undefined;
1609
+ status?: "loading" | "ready" | "error" | "idle" | undefined;
1609
1610
  updatedAt?: number | undefined;
1610
- error?: string | undefined;
1611
1611
  } | undefined;
1612
1612
  profileManifest?: {
1613
1613
  updatedAt: number;
@@ -1646,9 +1646,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1646
1646
  } | undefined;
1647
1647
  groupsState?: Record<string, {
1648
1648
  groupId: string;
1649
+ error?: string | undefined;
1649
1650
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1650
1651
  updatedAt?: number | undefined;
1651
- error?: string | undefined;
1652
1652
  baseGroupId?: string | undefined;
1653
1653
  rootDir?: string | undefined;
1654
1654
  progress?: number | undefined;
@@ -1657,11 +1657,11 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1657
1657
  resumable?: boolean | undefined;
1658
1658
  files?: {
1659
1659
  path: string;
1660
+ error?: string | undefined;
1660
1661
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1661
1662
  updatedAt?: number | undefined;
1662
- required?: boolean | undefined;
1663
- error?: string | undefined;
1664
1663
  sizeBytes?: number | undefined;
1664
+ required?: boolean | undefined;
1665
1665
  downloadedBytes?: number | undefined;
1666
1666
  }[] | undefined;
1667
1667
  installedAt?: number | undefined;
@@ -1678,7 +1678,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1678
1678
  }[];
1679
1679
  modelId: string;
1680
1680
  profile?: string | undefined;
1681
- selectedGroupId?: string | undefined;
1682
1681
  estimatedTotalBytes?: number | undefined;
1683
1682
  groups?: {
1684
1683
  id: string;
@@ -1694,8 +1693,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1694
1693
  sourceUrl?: string | undefined;
1695
1694
  raw?: unknown;
1696
1695
  }[];
1697
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1698
1696
  error?: string | undefined;
1697
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1699
1698
  description?: string | undefined;
1700
1699
  profile?: string | undefined;
1701
1700
  dtype?: string | undefined;
@@ -1709,6 +1708,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1709
1708
  totalBytes?: number | undefined;
1710
1709
  resumable?: boolean | undefined;
1711
1710
  }[] | undefined;
1711
+ selectedGroupId?: string | undefined;
1712
1712
  } | undefined;
1713
1713
  }>;
1714
1714
  type LocalModelAssetState = z.infer<typeof LocalModelAssetStateSchema>;
@@ -1771,13 +1771,13 @@ declare const TranslationEngineDependencyStatusSchema: z.ZodObject<{
1771
1771
  state: z.ZodEnum<["installed", "installing", "missing", "error", "not-applicable"]>;
1772
1772
  }, "strip", z.ZodTypeAny, {
1773
1773
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
1774
- message?: string | undefined;
1775
1774
  error?: string | undefined;
1775
+ message?: string | undefined;
1776
1776
  progress?: number | undefined;
1777
1777
  }, {
1778
1778
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
1779
- message?: string | undefined;
1780
1779
  error?: string | undefined;
1780
+ message?: string | undefined;
1781
1781
  progress?: number | undefined;
1782
1782
  }>;
1783
1783
  interface TranslationEngineRuntimeStatus {
@@ -1793,14 +1793,14 @@ declare const TranslationEngineRuntimeStatusSchema: z.ZodObject<{
1793
1793
  } & {
1794
1794
  state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
1795
1795
  }, "strip", z.ZodTypeAny, {
1796
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1797
- message?: string | undefined;
1796
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
1798
1797
  error?: string | undefined;
1798
+ message?: string | undefined;
1799
1799
  progress?: number | undefined;
1800
1800
  }, {
1801
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1802
- message?: string | undefined;
1801
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
1803
1802
  error?: string | undefined;
1803
+ message?: string | undefined;
1804
1804
  progress?: number | undefined;
1805
1805
  }>;
1806
1806
  interface TranslationEngineAssetStatus {
@@ -1816,14 +1816,14 @@ declare const TranslationEngineAssetStatusSchema: z.ZodObject<{
1816
1816
  } & {
1817
1817
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
1818
1818
  }, "strip", z.ZodTypeAny, {
1819
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1820
- message?: string | undefined;
1819
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
1821
1820
  error?: string | undefined;
1821
+ message?: string | undefined;
1822
1822
  progress?: number | undefined;
1823
1823
  }, {
1824
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1825
- message?: string | undefined;
1824
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
1826
1825
  error?: string | undefined;
1826
+ message?: string | undefined;
1827
1827
  progress?: number | undefined;
1828
1828
  }>;
1829
1829
  interface TranslationEngineLifecycleStatus {
@@ -1841,13 +1841,13 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1841
1841
  state: z.ZodEnum<["installed", "installing", "missing", "error", "not-applicable"]>;
1842
1842
  }, "strip", z.ZodTypeAny, {
1843
1843
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
1844
- message?: string | undefined;
1845
1844
  error?: string | undefined;
1845
+ message?: string | undefined;
1846
1846
  progress?: number | undefined;
1847
1847
  }, {
1848
1848
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
1849
- message?: string | undefined;
1850
1849
  error?: string | undefined;
1850
+ message?: string | undefined;
1851
1851
  progress?: number | undefined;
1852
1852
  }>;
1853
1853
  runtime: z.ZodObject<{
@@ -1857,14 +1857,14 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1857
1857
  } & {
1858
1858
  state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
1859
1859
  }, "strip", z.ZodTypeAny, {
1860
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1861
- message?: string | undefined;
1860
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
1862
1861
  error?: string | undefined;
1862
+ message?: string | undefined;
1863
1863
  progress?: number | undefined;
1864
1864
  }, {
1865
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1866
- message?: string | undefined;
1865
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
1867
1866
  error?: string | undefined;
1867
+ message?: string | undefined;
1868
1868
  progress?: number | undefined;
1869
1869
  }>;
1870
1870
  assets: z.ZodObject<{
@@ -1874,54 +1874,54 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1874
1874
  } & {
1875
1875
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
1876
1876
  }, "strip", z.ZodTypeAny, {
1877
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1878
- message?: string | undefined;
1877
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
1879
1878
  error?: string | undefined;
1879
+ message?: string | undefined;
1880
1880
  progress?: number | undefined;
1881
1881
  }, {
1882
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1883
- message?: string | undefined;
1882
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
1884
1883
  error?: string | undefined;
1884
+ message?: string | undefined;
1885
1885
  progress?: number | undefined;
1886
1886
  }>;
1887
1887
  summary: z.ZodOptional<z.ZodString>;
1888
1888
  }, "strip", z.ZodTypeAny, {
1889
1889
  dependency: {
1890
1890
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
1891
- message?: string | undefined;
1892
1891
  error?: string | undefined;
1892
+ message?: string | undefined;
1893
1893
  progress?: number | undefined;
1894
1894
  };
1895
1895
  runtime: {
1896
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1897
- message?: string | undefined;
1896
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
1898
1897
  error?: string | undefined;
1898
+ message?: string | undefined;
1899
1899
  progress?: number | undefined;
1900
1900
  };
1901
1901
  assets: {
1902
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1903
- message?: string | undefined;
1902
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
1904
1903
  error?: string | undefined;
1904
+ message?: string | undefined;
1905
1905
  progress?: number | undefined;
1906
1906
  };
1907
1907
  summary?: string | undefined;
1908
1908
  }, {
1909
1909
  dependency: {
1910
1910
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
1911
- message?: string | undefined;
1912
1911
  error?: string | undefined;
1912
+ message?: string | undefined;
1913
1913
  progress?: number | undefined;
1914
1914
  };
1915
1915
  runtime: {
1916
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1917
- message?: string | undefined;
1916
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
1918
1917
  error?: string | undefined;
1918
+ message?: string | undefined;
1919
1919
  progress?: number | undefined;
1920
1920
  };
1921
1921
  assets: {
1922
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1923
- message?: string | undefined;
1922
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
1924
1923
  error?: string | undefined;
1924
+ message?: string | undefined;
1925
1925
  progress?: number | undefined;
1926
1926
  };
1927
1927
  summary?: string | undefined;
@@ -1976,13 +1976,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
1976
1976
  state: z.ZodEnum<["installed", "installing", "missing", "error", "not-applicable"]>;
1977
1977
  }, "strip", z.ZodTypeAny, {
1978
1978
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
1979
- message?: string | undefined;
1980
1979
  error?: string | undefined;
1980
+ message?: string | undefined;
1981
1981
  progress?: number | undefined;
1982
1982
  }, {
1983
1983
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
1984
- message?: string | undefined;
1985
1984
  error?: string | undefined;
1985
+ message?: string | undefined;
1986
1986
  progress?: number | undefined;
1987
1987
  }>;
1988
1988
  runtime: z.ZodObject<{
@@ -1992,14 +1992,14 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
1992
1992
  } & {
1993
1993
  state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
1994
1994
  }, "strip", z.ZodTypeAny, {
1995
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1996
- message?: string | undefined;
1995
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
1997
1996
  error?: string | undefined;
1997
+ message?: string | undefined;
1998
1998
  progress?: number | undefined;
1999
1999
  }, {
2000
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2001
- message?: string | undefined;
2000
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
2002
2001
  error?: string | undefined;
2002
+ message?: string | undefined;
2003
2003
  progress?: number | undefined;
2004
2004
  }>;
2005
2005
  assets: z.ZodObject<{
@@ -2009,54 +2009,54 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2009
2009
  } & {
2010
2010
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
2011
2011
  }, "strip", z.ZodTypeAny, {
2012
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2013
- message?: string | undefined;
2012
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2014
2013
  error?: string | undefined;
2014
+ message?: string | undefined;
2015
2015
  progress?: number | undefined;
2016
2016
  }, {
2017
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2018
- message?: string | undefined;
2017
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2019
2018
  error?: string | undefined;
2019
+ message?: string | undefined;
2020
2020
  progress?: number | undefined;
2021
2021
  }>;
2022
2022
  summary: z.ZodOptional<z.ZodString>;
2023
2023
  }, "strip", z.ZodTypeAny, {
2024
2024
  dependency: {
2025
2025
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
2026
- message?: string | undefined;
2027
2026
  error?: string | undefined;
2027
+ message?: string | undefined;
2028
2028
  progress?: number | undefined;
2029
2029
  };
2030
2030
  runtime: {
2031
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2032
- message?: string | undefined;
2031
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
2033
2032
  error?: string | undefined;
2033
+ message?: string | undefined;
2034
2034
  progress?: number | undefined;
2035
2035
  };
2036
2036
  assets: {
2037
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2038
- message?: string | undefined;
2037
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2039
2038
  error?: string | undefined;
2039
+ message?: string | undefined;
2040
2040
  progress?: number | undefined;
2041
2041
  };
2042
2042
  summary?: string | undefined;
2043
2043
  }, {
2044
2044
  dependency: {
2045
2045
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
2046
- message?: string | undefined;
2047
2046
  error?: string | undefined;
2047
+ message?: string | undefined;
2048
2048
  progress?: number | undefined;
2049
2049
  };
2050
2050
  runtime: {
2051
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2052
- message?: string | undefined;
2051
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
2053
2052
  error?: string | undefined;
2053
+ message?: string | undefined;
2054
2054
  progress?: number | undefined;
2055
2055
  };
2056
2056
  assets: {
2057
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2058
- message?: string | undefined;
2057
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2059
2058
  error?: string | undefined;
2059
+ message?: string | undefined;
2060
2060
  progress?: number | undefined;
2061
2061
  };
2062
2062
  summary?: string | undefined;
@@ -2066,20 +2066,20 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2066
2066
  lifecycle: {
2067
2067
  dependency: {
2068
2068
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
2069
- message?: string | undefined;
2070
2069
  error?: string | undefined;
2070
+ message?: string | undefined;
2071
2071
  progress?: number | undefined;
2072
2072
  };
2073
2073
  runtime: {
2074
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2075
- message?: string | undefined;
2074
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
2076
2075
  error?: string | undefined;
2076
+ message?: string | undefined;
2077
2077
  progress?: number | undefined;
2078
2078
  };
2079
2079
  assets: {
2080
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2081
- message?: string | undefined;
2080
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2082
2081
  error?: string | undefined;
2082
+ message?: string | undefined;
2083
2083
  progress?: number | undefined;
2084
2084
  };
2085
2085
  summary?: string | undefined;
@@ -2089,20 +2089,20 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2089
2089
  lifecycle: {
2090
2090
  dependency: {
2091
2091
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
2092
- message?: string | undefined;
2093
2092
  error?: string | undefined;
2093
+ message?: string | undefined;
2094
2094
  progress?: number | undefined;
2095
2095
  };
2096
2096
  runtime: {
2097
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2098
- message?: string | undefined;
2097
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
2099
2098
  error?: string | undefined;
2099
+ message?: string | undefined;
2100
2100
  progress?: number | undefined;
2101
2101
  };
2102
2102
  assets: {
2103
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2104
- message?: string | undefined;
2103
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2105
2104
  error?: string | undefined;
2105
+ message?: string | undefined;
2106
2106
  progress?: number | undefined;
2107
2107
  };
2108
2108
  summary?: string | undefined;
@@ -2130,13 +2130,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2130
2130
  state: z.ZodEnum<["installed", "installing", "missing", "error", "not-applicable"]>;
2131
2131
  }, "strip", z.ZodTypeAny, {
2132
2132
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
2133
- message?: string | undefined;
2134
2133
  error?: string | undefined;
2134
+ message?: string | undefined;
2135
2135
  progress?: number | undefined;
2136
2136
  }, {
2137
2137
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
2138
- message?: string | undefined;
2139
2138
  error?: string | undefined;
2139
+ message?: string | undefined;
2140
2140
  progress?: number | undefined;
2141
2141
  }>;
2142
2142
  runtime: z.ZodObject<{
@@ -2146,14 +2146,14 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2146
2146
  } & {
2147
2147
  state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
2148
2148
  }, "strip", z.ZodTypeAny, {
2149
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2150
- message?: string | undefined;
2149
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
2151
2150
  error?: string | undefined;
2151
+ message?: string | undefined;
2152
2152
  progress?: number | undefined;
2153
2153
  }, {
2154
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2155
- message?: string | undefined;
2154
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
2156
2155
  error?: string | undefined;
2156
+ message?: string | undefined;
2157
2157
  progress?: number | undefined;
2158
2158
  }>;
2159
2159
  assets: z.ZodObject<{
@@ -2163,54 +2163,54 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2163
2163
  } & {
2164
2164
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
2165
2165
  }, "strip", z.ZodTypeAny, {
2166
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2167
- message?: string | undefined;
2166
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2168
2167
  error?: string | undefined;
2168
+ message?: string | undefined;
2169
2169
  progress?: number | undefined;
2170
2170
  }, {
2171
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2172
- message?: string | undefined;
2171
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2173
2172
  error?: string | undefined;
2173
+ message?: string | undefined;
2174
2174
  progress?: number | undefined;
2175
2175
  }>;
2176
2176
  summary: z.ZodOptional<z.ZodString>;
2177
2177
  }, "strip", z.ZodTypeAny, {
2178
2178
  dependency: {
2179
2179
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
2180
- message?: string | undefined;
2181
2180
  error?: string | undefined;
2181
+ message?: string | undefined;
2182
2182
  progress?: number | undefined;
2183
2183
  };
2184
2184
  runtime: {
2185
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2186
- message?: string | undefined;
2185
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
2187
2186
  error?: string | undefined;
2187
+ message?: string | undefined;
2188
2188
  progress?: number | undefined;
2189
2189
  };
2190
2190
  assets: {
2191
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2192
- message?: string | undefined;
2191
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2193
2192
  error?: string | undefined;
2193
+ message?: string | undefined;
2194
2194
  progress?: number | undefined;
2195
2195
  };
2196
2196
  summary?: string | undefined;
2197
2197
  }, {
2198
2198
  dependency: {
2199
2199
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
2200
- message?: string | undefined;
2201
2200
  error?: string | undefined;
2201
+ message?: string | undefined;
2202
2202
  progress?: number | undefined;
2203
2203
  };
2204
2204
  runtime: {
2205
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2206
- message?: string | undefined;
2205
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
2207
2206
  error?: string | undefined;
2207
+ message?: string | undefined;
2208
2208
  progress?: number | undefined;
2209
2209
  };
2210
2210
  assets: {
2211
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2212
- message?: string | undefined;
2211
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2213
2212
  error?: string | undefined;
2213
+ message?: string | undefined;
2214
2214
  progress?: number | undefined;
2215
2215
  };
2216
2216
  summary?: string | undefined;
@@ -2220,20 +2220,20 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2220
2220
  lifecycle: {
2221
2221
  dependency: {
2222
2222
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
2223
- message?: string | undefined;
2224
2223
  error?: string | undefined;
2224
+ message?: string | undefined;
2225
2225
  progress?: number | undefined;
2226
2226
  };
2227
2227
  runtime: {
2228
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2229
- message?: string | undefined;
2228
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
2230
2229
  error?: string | undefined;
2230
+ message?: string | undefined;
2231
2231
  progress?: number | undefined;
2232
2232
  };
2233
2233
  assets: {
2234
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2235
- message?: string | undefined;
2234
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2236
2235
  error?: string | undefined;
2236
+ message?: string | undefined;
2237
2237
  progress?: number | undefined;
2238
2238
  };
2239
2239
  summary?: string | undefined;
@@ -2243,20 +2243,20 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2243
2243
  lifecycle: {
2244
2244
  dependency: {
2245
2245
  state: "error" | "installed" | "installing" | "missing" | "not-applicable";
2246
- message?: string | undefined;
2247
2246
  error?: string | undefined;
2247
+ message?: string | undefined;
2248
2248
  progress?: number | undefined;
2249
2249
  };
2250
2250
  runtime: {
2251
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2252
- message?: string | undefined;
2251
+ state: "ready" | "error" | "failed" | "not-applicable" | "probing";
2253
2252
  error?: string | undefined;
2253
+ message?: string | undefined;
2254
2254
  progress?: number | undefined;
2255
2255
  };
2256
2256
  assets: {
2257
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2258
- message?: string | undefined;
2257
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2259
2258
  error?: string | undefined;
2259
+ message?: string | undefined;
2260
2260
  progress?: number | undefined;
2261
2261
  };
2262
2262
  summary?: string | 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;
2384
2383
  baseUrl: string;
2385
2384
  token: string;
2385
+ model: string;
2386
2386
  }, {
2387
- model?: string | undefined;
2388
2387
  baseUrl?: string | undefined;
2389
2388
  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;
2397
2396
  baseUrl?: string | undefined;
2398
2397
  token?: string | undefined;
2399
- }, {
2400
2398
  model?: string | undefined;
2399
+ }, {
2401
2400
  baseUrl?: string | undefined;
2402
2401
  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
- model?: string | undefined;
2417
2416
  selectedGroupId?: string | undefined;
2417
+ model?: 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
- model?: string | undefined;
2428
2427
  selectedGroupId?: string | null | undefined;
2428
+ model?: string | undefined;
2429
2429
  hfEndpoint?: string | undefined;
2430
2430
  memoryBudgetPercent?: number | undefined;
2431
2431
  }, {
2432
- model?: string | undefined;
2433
2432
  selectedGroupId?: string | null | undefined;
2433
+ model?: string | 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
- model?: string | undefined;
2450
2449
  selectedGroupId?: string | undefined;
2450
+ model?: 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
- model?: string | undefined;
2461
2460
  selectedGroupId?: string | null | undefined;
2461
+ model?: string | undefined;
2462
2462
  hfEndpoint?: string | undefined;
2463
2463
  memoryBudgetPercent?: number | undefined;
2464
2464
  }, {
2465
- model?: string | undefined;
2466
2465
  selectedGroupId?: string | null | undefined;
2466
+ model?: string | 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
- model?: string | undefined;
2483
2482
  selectedGroupId?: string | undefined;
2483
+ model?: 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
- model?: string | undefined;
2494
2493
  selectedGroupId?: string | null | undefined;
2494
+ model?: string | undefined;
2495
2495
  hfEndpoint?: string | undefined;
2496
2496
  memoryBudgetPercent?: number | undefined;
2497
2497
  }, {
2498
- model?: string | undefined;
2499
2498
  selectedGroupId?: string | null | undefined;
2499
+ model?: string | 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;
2512
2511
  baseUrl: string;
2513
2512
  token: string;
2513
+ model: string;
2514
2514
  }, {
2515
- model?: string | undefined;
2516
2515
  baseUrl?: string | undefined;
2517
2516
  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
- model?: string | undefined;
2531
2530
  selectedGroupId?: string | undefined;
2531
+ model?: 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
- model?: string | undefined;
2547
2546
  selectedGroupId?: string | undefined;
2547
+ model?: 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
- model?: string | undefined;
2563
2562
  selectedGroupId?: string | undefined;
2563
+ model?: string | undefined;
2564
2564
  hfEndpoint?: string | undefined;
2565
2565
  memoryBudgetPercent?: number | undefined;
2566
2566
  }>>;
@@ -2571,6 +2571,12 @@ 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";
2574
2580
  localCt2: {
2575
2581
  model: string;
2576
2582
  hfEndpoint: string;
@@ -2583,37 +2589,31 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2583
2589
  memoryBudgetPercent: number;
2584
2590
  selectedGroupId?: string | undefined;
2585
2591
  };
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
- model?: string | undefined;
2595
2594
  selectedGroupId?: string | undefined;
2595
+ model?: string | undefined;
2596
2596
  hfEndpoint?: string | undefined;
2597
2597
  memoryBudgetPercent?: number | undefined;
2598
2598
  } | undefined;
2599
- localCt2?: {
2599
+ openai?: {
2600
+ baseUrl?: string | undefined;
2601
+ token?: string | undefined;
2600
2602
  model?: string | undefined;
2603
+ } | undefined;
2604
+ engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2605
+ localCt2?: {
2601
2606
  selectedGroupId?: string | undefined;
2607
+ model?: string | undefined;
2602
2608
  hfEndpoint?: string | undefined;
2603
2609
  memoryBudgetPercent?: number | undefined;
2604
2610
  } | undefined;
2605
2611
  localLlama?: {
2606
- model?: string | undefined;
2607
2612
  selectedGroupId?: string | undefined;
2613
+ model?: string | undefined;
2608
2614
  hfEndpoint?: string | undefined;
2609
2615
  memoryBudgetPercent?: number | undefined;
2610
2616
  } | 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;
2626
2625
  baseUrl?: string | undefined;
2627
2626
  token?: string | undefined;
2628
- }, {
2629
2627
  model?: string | undefined;
2628
+ }, {
2630
2629
  baseUrl?: string | undefined;
2631
2630
  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
- model?: string | undefined;
2640
2639
  selectedGroupId?: string | null | undefined;
2640
+ model?: string | undefined;
2641
2641
  hfEndpoint?: string | undefined;
2642
2642
  memoryBudgetPercent?: number | undefined;
2643
2643
  }, {
2644
- model?: string | undefined;
2645
2644
  selectedGroupId?: string | null | undefined;
2645
+ model?: string | 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
- model?: string | undefined;
2656
2655
  selectedGroupId?: string | null | undefined;
2656
+ model?: string | undefined;
2657
2657
  hfEndpoint?: string | undefined;
2658
2658
  memoryBudgetPercent?: number | undefined;
2659
2659
  }, {
2660
- model?: string | undefined;
2661
2660
  selectedGroupId?: string | null | undefined;
2661
+ model?: string | 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
- model?: string | undefined;
2672
2671
  selectedGroupId?: string | null | undefined;
2672
+ model?: string | undefined;
2673
2673
  hfEndpoint?: string | undefined;
2674
2674
  memoryBudgetPercent?: number | undefined;
2675
2675
  }, {
2676
- model?: string | undefined;
2677
2676
  selectedGroupId?: string | null | undefined;
2677
+ model?: string | undefined;
2678
2678
  hfEndpoint?: string | undefined;
2679
2679
  memoryBudgetPercent?: number | undefined;
2680
2680
  }>>;
2681
2681
  }, "strip", z.ZodTypeAny, {
2682
2682
  local?: {
2683
- model?: string | undefined;
2684
2683
  selectedGroupId?: string | null | undefined;
2684
+ model?: string | undefined;
2685
2685
  hfEndpoint?: string | undefined;
2686
2686
  memoryBudgetPercent?: number | undefined;
2687
2687
  } | undefined;
2688
- localCt2?: {
2688
+ openai?: {
2689
+ baseUrl?: string | undefined;
2690
+ token?: string | undefined;
2689
2691
  model?: string | undefined;
2692
+ } | undefined;
2693
+ engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2694
+ localCt2?: {
2690
2695
  selectedGroupId?: string | null | undefined;
2696
+ model?: string | undefined;
2691
2697
  hfEndpoint?: string | undefined;
2692
2698
  memoryBudgetPercent?: number | undefined;
2693
2699
  } | undefined;
2694
2700
  localLlama?: {
2695
- model?: string | undefined;
2696
2701
  selectedGroupId?: string | null | undefined;
2702
+ model?: string | undefined;
2697
2703
  hfEndpoint?: string | undefined;
2698
2704
  memoryBudgetPercent?: number | undefined;
2699
2705
  } | undefined;
2700
- openai?: {
2701
- model?: string | undefined;
2702
- baseUrl?: string | undefined;
2703
- token?: string | undefined;
2704
- } | undefined;
2705
- engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
2706
2706
  }, {
2707
2707
  local?: {
2708
- model?: string | undefined;
2709
2708
  selectedGroupId?: string | null | undefined;
2709
+ model?: string | undefined;
2710
2710
  hfEndpoint?: string | undefined;
2711
2711
  memoryBudgetPercent?: number | undefined;
2712
2712
  } | undefined;
2713
- localCt2?: {
2713
+ openai?: {
2714
+ baseUrl?: string | undefined;
2715
+ token?: string | undefined;
2714
2716
  model?: string | undefined;
2717
+ } | undefined;
2718
+ engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2719
+ localCt2?: {
2715
2720
  selectedGroupId?: string | null | undefined;
2721
+ model?: string | undefined;
2716
2722
  hfEndpoint?: string | undefined;
2717
2723
  memoryBudgetPercent?: number | undefined;
2718
2724
  } | undefined;
2719
2725
  localLlama?: {
2720
- model?: string | undefined;
2721
2726
  selectedGroupId?: string | null | undefined;
2727
+ model?: string | undefined;
2722
2728
  hfEndpoint?: string | undefined;
2723
2729
  memoryBudgetPercent?: number | undefined;
2724
2730
  } | 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,24 +2754,24 @@ 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
- targetLanguage: string;
2758
- engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2757
+ engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
2759
2758
  sourceLanguage: string;
2759
+ targetLanguage: string;
2760
2760
  inputs: string[];
2761
2761
  timeoutMs: number;
2762
- instructions?: string | undefined;
2763
2762
  context?: string | undefined;
2764
- model?: string | undefined;
2765
2763
  selectedGroupId?: string | undefined;
2764
+ model?: string | undefined;
2765
+ instructions?: string | undefined;
2766
2766
  }, {
2767
- targetLanguage: string;
2768
- engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2767
+ engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
2769
2768
  sourceLanguage: string;
2769
+ targetLanguage: string;
2770
2770
  inputs: string[];
2771
- instructions?: string | undefined;
2772
2771
  context?: string | undefined;
2773
- model?: string | undefined;
2774
2772
  selectedGroupId?: string | undefined;
2773
+ model?: string | undefined;
2774
+ instructions?: string | undefined;
2775
2775
  timeoutMs?: number | undefined;
2776
2776
  }>;
2777
2777
  type BatchTranslateInput = z.infer<typeof BatchTranslateInputSchema>;