@openspecui/core 6.0.0-beta.0 → 6.0.0-beta.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 (42) hide show
  1. package/dist/{cli-projection-DxnVGm2B.d.mts → cli-projection-CBvIiy5p.d.mts} +1 -1
  2. package/dist/cli-projection.d.mts +4 -4
  3. package/dist/{command-result-fkH3Ekdz.d.mts → command-result-CuWzPRAT.d.mts} +45 -45
  4. package/dist/dashboard-display.d.mts +22 -1
  5. package/dist/dashboard-display.mjs +42 -1
  6. package/dist/{dashboard-summary-transport-D2VBAIxg.mjs → dashboard-summary-transport-CYBuU4iT.mjs} +14 -0
  7. package/dist/{dashboard-summary-transport-CQ4is5_e.d.mts → dashboard-summary-transport-Dskh3E9-.d.mts} +5205 -4025
  8. package/dist/dashboard-summary-transport.d.mts +16 -16
  9. package/dist/dashboard-summary-transport.mjs +1 -1
  10. package/dist/hosted-app.d.mts +16 -16
  11. package/dist/hosted-contract.d.mts +16 -16
  12. package/dist/index.d.mts +16 -16
  13. package/dist/index.mjs +1 -1
  14. package/dist/{local-download-profiles-BL_rtlVM.d.mts → local-download-profiles-bYSSKmtx.d.mts} +1 -1
  15. package/dist/local-download-profiles.d.mts +2 -2
  16. package/dist/{notifications-CgJlLgLO.d.mts → notifications-Ak6LdCaL.d.mts} +17 -17
  17. package/dist/notifications.d.mts +2 -2
  18. package/dist/{openspec-projection-RohNZI4p.d.mts → openspec-projection-DU7RFRyA.d.mts} +1 -1
  19. package/dist/openspec-projection.d.mts +2 -2
  20. package/dist/{opsx-entity-D7kDQsze.d.mts → opsx-entity-6PnbYZZp.d.mts} +2 -2
  21. package/dist/opsx-entity.d.mts +6 -6
  22. package/dist/{opsx-schema-detail-BxDXEwDY.d.mts → opsx-schema-detail-CiqCYl2F.d.mts} +2 -2
  23. package/dist/opsx-schema-detail.d.mts +7 -7
  24. package/dist/{opsx-types-BJ8AjhrS.d.mts → opsx-types-Fs0tRnL2.d.mts} +301 -301
  25. package/dist/planning-cli-projection.d.mts +16 -16
  26. package/dist/{schemas-DS-JqAJ2.d.mts → schemas-D-6yi_I-.d.mts} +119 -119
  27. package/dist/{sounds-qhRgCy0F.d.mts → sounds-C24SzEHX.d.mts} +8 -8
  28. package/dist/sounds.d.mts +1 -1
  29. package/dist/spec-catalog.d.mts +16 -16
  30. package/dist/{store-mutation-protocol-5tfs-RmD.d.mts → store-mutation-protocol-3TzQ6ete.d.mts} +36 -36
  31. package/dist/store-mutation-protocol.d.mts +1 -1
  32. package/dist/{store-types-b554wAQJ.d.mts → store-types-CmDVyObq.d.mts} +1 -1
  33. package/dist/store-types.d.mts +4 -4
  34. package/dist/task-progress.d.mts +5 -5
  35. package/dist/{terminal-audio-tXDm_EDe.d.mts → terminal-audio-Rj1pLeSw.d.mts} +1 -1
  36. package/dist/terminal-audio.d.mts +2 -2
  37. package/dist/terminal-control.d.mts +2 -2
  38. package/dist/{terminal-invocation-BOvxThym.d.mts → terminal-invocation-G19ieMZy.d.mts} +67 -67
  39. package/dist/terminal-invocation.d.mts +1 -1
  40. package/dist/{translator-NKv1wo3o.d.mts → translator-CNmE1fAm.d.mts} +141 -141
  41. package/dist/translator.d.mts +1 -1
  42. package/package.json +1 -1
@@ -231,7 +231,7 @@ 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;
234
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
235
235
  error?: string | undefined;
236
236
  description?: string | undefined;
237
237
  profile?: string | undefined;
@@ -259,7 +259,7 @@ 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;
262
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
263
263
  error?: string | undefined;
264
264
  description?: string | undefined;
265
265
  profile?: string | undefined;
@@ -481,14 +481,14 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
481
481
  }>>>;
482
482
  groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
483
483
  }, "strip", z.ZodTypeAny, {
484
- updatedAt: number;
485
- source: "huggingface";
486
484
  revision: string;
487
485
  commitHash: string;
488
486
  shortCommitHash: string;
489
487
  modelId: string;
488
+ source: "huggingface";
490
489
  endpoint: string;
491
490
  fetchedAt: number;
491
+ updatedAt: number;
492
492
  groups: Record<string, {
493
493
  id: string;
494
494
  label: string;
@@ -515,13 +515,13 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
515
515
  groupOrder: string[];
516
516
  raw?: unknown;
517
517
  }, {
518
- updatedAt: number;
519
- source: "huggingface";
520
518
  revision: string;
521
519
  commitHash: string;
522
520
  shortCommitHash: string;
523
521
  modelId: string;
522
+ source: "huggingface";
524
523
  fetchedAt: number;
524
+ updatedAt: number;
525
525
  raw?: unknown;
526
526
  endpoint?: string | undefined;
527
527
  groups?: Record<string, {
@@ -559,20 +559,20 @@ declare const LocalModelLifecycleFileStateSchema: z.ZodObject<{
559
559
  updatedAt: z.ZodOptional<z.ZodNumber>;
560
560
  error: z.ZodOptional<z.ZodString>;
561
561
  }, "strip", z.ZodTypeAny, {
562
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
563
562
  path: string;
563
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
564
564
  required: boolean;
565
565
  error?: string | undefined;
566
- updatedAt?: number | undefined;
567
566
  sizeBytes?: number | undefined;
567
+ updatedAt?: number | undefined;
568
568
  downloadedBytes?: number | undefined;
569
569
  }, {
570
570
  path: string;
571
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
571
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
572
572
  error?: string | undefined;
573
- updatedAt?: number | undefined;
574
- required?: boolean | undefined;
575
573
  sizeBytes?: number | undefined;
574
+ required?: boolean | undefined;
575
+ updatedAt?: number | undefined;
576
576
  downloadedBytes?: number | undefined;
577
577
  }>;
578
578
  type LocalModelLifecycleFileState = z.infer<typeof LocalModelLifecycleFileStateSchema>;
@@ -597,48 +597,47 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
597
597
  updatedAt: z.ZodOptional<z.ZodNumber>;
598
598
  error: z.ZodOptional<z.ZodString>;
599
599
  }, "strip", z.ZodTypeAny, {
600
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
601
600
  path: string;
601
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
602
602
  required: boolean;
603
603
  error?: string | undefined;
604
- updatedAt?: number | undefined;
605
604
  sizeBytes?: number | undefined;
605
+ updatedAt?: number | undefined;
606
606
  downloadedBytes?: number | undefined;
607
607
  }, {
608
608
  path: string;
609
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
609
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
610
610
  error?: string | undefined;
611
- updatedAt?: number | undefined;
612
- required?: boolean | undefined;
613
611
  sizeBytes?: number | undefined;
612
+ required?: boolean | undefined;
613
+ updatedAt?: number | undefined;
614
614
  downloadedBytes?: number | undefined;
615
615
  }>, "many">>;
616
616
  }, "strip", z.ZodTypeAny, {
617
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
618
- groupId: string;
617
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
619
618
  resumable: boolean;
620
619
  files: {
621
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
622
620
  path: string;
621
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
623
622
  required: boolean;
624
623
  error?: string | undefined;
625
- updatedAt?: number | undefined;
626
624
  sizeBytes?: number | undefined;
625
+ updatedAt?: number | undefined;
627
626
  downloadedBytes?: number | undefined;
628
627
  }[];
628
+ groupId: string;
629
629
  error?: string | undefined;
630
- updatedAt?: number | undefined;
631
630
  baseGroupId?: string | undefined;
632
631
  rootDir?: string | undefined;
633
632
  progress?: number | undefined;
634
633
  bytesDownloaded?: number | undefined;
635
634
  totalBytes?: number | undefined;
635
+ updatedAt?: number | undefined;
636
636
  installedAt?: number | undefined;
637
637
  }, {
638
638
  groupId: string;
639
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
639
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
640
640
  error?: string | undefined;
641
- updatedAt?: number | undefined;
642
641
  baseGroupId?: string | undefined;
643
642
  rootDir?: string | undefined;
644
643
  progress?: number | undefined;
@@ -647,13 +646,14 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
647
646
  resumable?: boolean | undefined;
648
647
  files?: {
649
648
  path: string;
650
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
649
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
651
650
  error?: string | undefined;
652
- updatedAt?: number | undefined;
653
- required?: boolean | undefined;
654
651
  sizeBytes?: number | undefined;
652
+ required?: boolean | undefined;
653
+ updatedAt?: number | undefined;
655
654
  downloadedBytes?: number | undefined;
656
655
  }[] | undefined;
656
+ updatedAt?: number | undefined;
657
657
  installedAt?: number | undefined;
658
658
  }>;
659
659
  type LocalModelLifecycleGroupState = z.infer<typeof LocalModelLifecycleGroupStateSchema>;
@@ -663,13 +663,13 @@ declare const LocalModelProfileLoadStateSchema: z.ZodObject<{
663
663
  error: z.ZodOptional<z.ZodString>;
664
664
  updatedAt: z.ZodOptional<z.ZodNumber>;
665
665
  }, "strip", z.ZodTypeAny, {
666
- status: "error" | "loading" | "ready" | "idle";
666
+ status: "error" | "idle" | "loading" | "ready";
667
667
  message?: string | undefined;
668
668
  error?: string | undefined;
669
669
  updatedAt?: number | undefined;
670
670
  }, {
671
- status?: "error" | "loading" | "ready" | "idle" | undefined;
672
671
  message?: string | undefined;
672
+ status?: "error" | "idle" | "loading" | "ready" | undefined;
673
673
  error?: string | undefined;
674
674
  updatedAt?: number | undefined;
675
675
  }>;
@@ -701,14 +701,12 @@ 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;
706
- updatedAt: number;
705
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
707
706
  engineId: "local" | "local-ct2" | "local-llama";
708
707
  modelId: string;
708
+ updatedAt: number;
709
709
  selectedGroupId?: string | undefined;
710
- sessionId?: string | undefined;
711
- groupId?: string | undefined;
712
710
  progress?: number | undefined;
713
711
  bytesDownloaded?: number | undefined;
714
712
  totalBytes?: number | undefined;
@@ -718,15 +716,15 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
718
716
  sizeBytes?: number | undefined;
719
717
  downloadedBytes?: number | undefined;
720
718
  }[] | undefined;
719
+ groupId?: string | undefined;
720
+ sessionId?: string | undefined;
721
721
  }, {
722
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
723
722
  message: string;
724
- updatedAt: number;
723
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
725
724
  engineId: "local" | "local-ct2" | "local-llama";
726
725
  modelId: string;
726
+ updatedAt: number;
727
727
  selectedGroupId?: string | undefined;
728
- sessionId?: string | undefined;
729
- groupId?: string | undefined;
730
728
  progress?: number | undefined;
731
729
  bytesDownloaded?: number | undefined;
732
730
  totalBytes?: number | undefined;
@@ -736,6 +734,8 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
736
734
  sizeBytes?: number | undefined;
737
735
  downloadedBytes?: number | undefined;
738
736
  }[] | undefined;
737
+ groupId?: string | undefined;
738
+ sessionId?: string | undefined;
739
739
  }>;
740
740
  type LocalModelAssetLog = z.infer<typeof LocalModelAssetLogSchema>;
741
741
  declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
@@ -826,7 +826,7 @@ 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;
829
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
830
830
  error?: string | undefined;
831
831
  description?: string | undefined;
832
832
  profile?: string | undefined;
@@ -854,7 +854,7 @@ 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;
857
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
858
858
  error?: string | undefined;
859
859
  description?: string | undefined;
860
860
  profile?: string | undefined;
@@ -880,8 +880,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
880
880
  raw?: unknown;
881
881
  }[];
882
882
  modelId: string;
883
- profile?: string | undefined;
884
883
  selectedGroupId?: string | undefined;
884
+ profile?: string | undefined;
885
885
  estimatedTotalBytes?: number | undefined;
886
886
  groups?: {
887
887
  id: string;
@@ -897,7 +897,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
897
897
  sourceUrl?: string | undefined;
898
898
  raw?: unknown;
899
899
  }[];
900
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
900
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
901
901
  error?: string | undefined;
902
902
  description?: string | undefined;
903
903
  profile?: string | undefined;
@@ -923,8 +923,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
923
923
  raw?: unknown;
924
924
  }[];
925
925
  modelId: string;
926
- profile?: string | undefined;
927
926
  selectedGroupId?: string | undefined;
927
+ profile?: string | undefined;
928
928
  estimatedTotalBytes?: number | undefined;
929
929
  groups?: {
930
930
  id: string;
@@ -940,7 +940,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
940
940
  sourceUrl?: string | undefined;
941
941
  raw?: unknown;
942
942
  }[];
943
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
943
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
944
944
  error?: string | undefined;
945
945
  description?: string | undefined;
946
946
  profile?: string | undefined;
@@ -976,13 +976,13 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
976
976
  error: z.ZodOptional<z.ZodString>;
977
977
  updatedAt: z.ZodOptional<z.ZodNumber>;
978
978
  }, "strip", z.ZodTypeAny, {
979
- status: "error" | "loading" | "ready" | "idle";
979
+ status: "error" | "idle" | "loading" | "ready";
980
980
  message?: string | undefined;
981
981
  error?: string | undefined;
982
982
  updatedAt?: number | undefined;
983
983
  }, {
984
- status?: "error" | "loading" | "ready" | "idle" | undefined;
985
984
  message?: string | undefined;
985
+ status?: "error" | "idle" | "loading" | "ready" | undefined;
986
986
  error?: string | undefined;
987
987
  updatedAt?: number | undefined;
988
988
  }>>;
@@ -1081,14 +1081,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1081
1081
  }>>>;
1082
1082
  groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1083
1083
  }, "strip", z.ZodTypeAny, {
1084
- updatedAt: number;
1085
- source: "huggingface";
1086
1084
  revision: string;
1087
1085
  commitHash: string;
1088
1086
  shortCommitHash: string;
1089
1087
  modelId: string;
1088
+ source: "huggingface";
1090
1089
  endpoint: string;
1091
1090
  fetchedAt: number;
1091
+ updatedAt: number;
1092
1092
  groups: Record<string, {
1093
1093
  id: string;
1094
1094
  label: string;
@@ -1115,13 +1115,13 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1115
1115
  groupOrder: string[];
1116
1116
  raw?: unknown;
1117
1117
  }, {
1118
- updatedAt: number;
1119
- source: "huggingface";
1120
1118
  revision: string;
1121
1119
  commitHash: string;
1122
1120
  shortCommitHash: string;
1123
1121
  modelId: string;
1122
+ source: "huggingface";
1124
1123
  fetchedAt: number;
1124
+ updatedAt: number;
1125
1125
  raw?: unknown;
1126
1126
  endpoint?: string | undefined;
1127
1127
  groups?: Record<string, {
@@ -1170,48 +1170,47 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1170
1170
  updatedAt: z.ZodOptional<z.ZodNumber>;
1171
1171
  error: z.ZodOptional<z.ZodString>;
1172
1172
  }, "strip", z.ZodTypeAny, {
1173
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1174
1173
  path: string;
1174
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
1175
1175
  required: boolean;
1176
1176
  error?: string | undefined;
1177
- updatedAt?: number | undefined;
1178
1177
  sizeBytes?: number | undefined;
1178
+ updatedAt?: number | undefined;
1179
1179
  downloadedBytes?: number | undefined;
1180
1180
  }, {
1181
1181
  path: string;
1182
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1182
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1183
1183
  error?: string | undefined;
1184
- updatedAt?: number | undefined;
1185
- required?: boolean | undefined;
1186
1184
  sizeBytes?: number | undefined;
1185
+ required?: boolean | undefined;
1186
+ updatedAt?: number | undefined;
1187
1187
  downloadedBytes?: number | undefined;
1188
1188
  }>, "many">>;
1189
1189
  }, "strip", z.ZodTypeAny, {
1190
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1191
- groupId: string;
1190
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
1192
1191
  resumable: boolean;
1193
1192
  files: {
1194
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1195
1193
  path: string;
1194
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
1196
1195
  required: boolean;
1197
1196
  error?: string | undefined;
1198
- updatedAt?: number | undefined;
1199
1197
  sizeBytes?: number | undefined;
1198
+ updatedAt?: number | undefined;
1200
1199
  downloadedBytes?: number | undefined;
1201
1200
  }[];
1201
+ groupId: string;
1202
1202
  error?: string | undefined;
1203
- updatedAt?: number | undefined;
1204
1203
  baseGroupId?: string | undefined;
1205
1204
  rootDir?: string | undefined;
1206
1205
  progress?: number | undefined;
1207
1206
  bytesDownloaded?: number | undefined;
1208
1207
  totalBytes?: number | undefined;
1208
+ updatedAt?: number | undefined;
1209
1209
  installedAt?: number | undefined;
1210
1210
  }, {
1211
1211
  groupId: string;
1212
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1212
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1213
1213
  error?: string | undefined;
1214
- updatedAt?: number | undefined;
1215
1214
  baseGroupId?: string | undefined;
1216
1215
  rootDir?: string | undefined;
1217
1216
  progress?: number | undefined;
@@ -1220,13 +1219,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1220
1219
  resumable?: boolean | undefined;
1221
1220
  files?: {
1222
1221
  path: string;
1223
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1222
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1224
1223
  error?: string | undefined;
1225
- updatedAt?: number | undefined;
1226
- required?: boolean | undefined;
1227
1224
  sizeBytes?: number | undefined;
1225
+ required?: boolean | undefined;
1226
+ updatedAt?: number | undefined;
1228
1227
  downloadedBytes?: number | undefined;
1229
1228
  }[] | undefined;
1229
+ updatedAt?: number | undefined;
1230
1230
  installedAt?: number | undefined;
1231
1231
  }>>>;
1232
1232
  plan: z.ZodOptional<z.ZodObject<{
@@ -1317,7 +1317,7 @@ 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;
1320
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1321
1321
  error?: string | undefined;
1322
1322
  description?: string | undefined;
1323
1323
  profile?: string | undefined;
@@ -1345,7 +1345,7 @@ 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;
1348
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1349
1349
  error?: string | undefined;
1350
1350
  description?: string | undefined;
1351
1351
  profile?: string | undefined;
@@ -1371,8 +1371,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1371
1371
  raw?: unknown;
1372
1372
  }[];
1373
1373
  modelId: string;
1374
- profile?: string | undefined;
1375
1374
  selectedGroupId?: string | undefined;
1375
+ profile?: string | undefined;
1376
1376
  estimatedTotalBytes?: number | undefined;
1377
1377
  groups?: {
1378
1378
  id: string;
@@ -1388,7 +1388,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1388
1388
  sourceUrl?: string | undefined;
1389
1389
  raw?: unknown;
1390
1390
  }[];
1391
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1391
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1392
1392
  error?: string | undefined;
1393
1393
  description?: string | undefined;
1394
1394
  profile?: string | undefined;
@@ -1414,8 +1414,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1414
1414
  raw?: unknown;
1415
1415
  }[];
1416
1416
  modelId: string;
1417
- profile?: string | undefined;
1418
1417
  selectedGroupId?: string | undefined;
1418
+ profile?: string | undefined;
1419
1419
  estimatedTotalBytes?: number | undefined;
1420
1420
  groups?: {
1421
1421
  id: string;
@@ -1431,7 +1431,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1431
1431
  sourceUrl?: string | undefined;
1432
1432
  raw?: unknown;
1433
1433
  }[];
1434
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1434
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1435
1435
  error?: string | undefined;
1436
1436
  description?: string | undefined;
1437
1437
  profile?: string | undefined;
@@ -1461,8 +1461,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1461
1461
  downloadedBytes?: number | undefined;
1462
1462
  }>, "many">>;
1463
1463
  }, "strip", z.ZodTypeAny, {
1464
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1465
- version: 2;
1464
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
1466
1465
  resumable: boolean;
1467
1466
  selected: boolean;
1468
1467
  files: {
@@ -1471,50 +1470,51 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1471
1470
  downloadedBytes?: number | undefined;
1472
1471
  }[];
1473
1472
  modelId: string;
1473
+ version: 2;
1474
1474
  profileLoad: {
1475
- status: "error" | "loading" | "ready" | "idle";
1475
+ status: "error" | "idle" | "loading" | "ready";
1476
1476
  message?: string | undefined;
1477
1477
  error?: string | undefined;
1478
1478
  updatedAt?: number | undefined;
1479
1479
  };
1480
1480
  groupsState: Record<string, {
1481
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1482
- groupId: string;
1481
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
1483
1482
  resumable: boolean;
1484
1483
  files: {
1485
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1486
1484
  path: string;
1485
+ status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
1487
1486
  required: boolean;
1488
1487
  error?: string | undefined;
1489
- updatedAt?: number | undefined;
1490
1488
  sizeBytes?: number | undefined;
1489
+ updatedAt?: number | undefined;
1491
1490
  downloadedBytes?: number | undefined;
1492
1491
  }[];
1492
+ groupId: string;
1493
1493
  error?: string | undefined;
1494
- updatedAt?: number | undefined;
1495
1494
  baseGroupId?: string | undefined;
1496
1495
  rootDir?: string | undefined;
1497
1496
  progress?: number | undefined;
1498
1497
  bytesDownloaded?: number | undefined;
1499
1498
  totalBytes?: number | undefined;
1499
+ updatedAt?: number | undefined;
1500
1500
  installedAt?: number | undefined;
1501
1501
  }>;
1502
- error?: string | undefined;
1503
- updatedAt?: number | undefined;
1504
1502
  selectedGroupId?: string | undefined;
1503
+ error?: string | undefined;
1505
1504
  progress?: number | undefined;
1506
1505
  bytesDownloaded?: number | undefined;
1507
1506
  totalBytes?: number | undefined;
1507
+ updatedAt?: number | undefined;
1508
1508
  installedAt?: number | undefined;
1509
1509
  profileManifest?: {
1510
- updatedAt: number;
1511
- source: "huggingface";
1512
1510
  revision: string;
1513
1511
  commitHash: string;
1514
1512
  shortCommitHash: string;
1515
1513
  modelId: string;
1514
+ source: "huggingface";
1516
1515
  endpoint: string;
1517
1516
  fetchedAt: number;
1517
+ updatedAt: number;
1518
1518
  groups: Record<string, {
1519
1519
  id: string;
1520
1520
  label: string;
@@ -1552,8 +1552,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1552
1552
  raw?: unknown;
1553
1553
  }[];
1554
1554
  modelId: string;
1555
- profile?: string | undefined;
1556
1555
  selectedGroupId?: string | undefined;
1556
+ profile?: string | undefined;
1557
1557
  estimatedTotalBytes?: number | undefined;
1558
1558
  groups?: {
1559
1559
  id: string;
@@ -1569,7 +1569,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1569
1569
  sourceUrl?: string | undefined;
1570
1570
  raw?: unknown;
1571
1571
  }[];
1572
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1572
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1573
1573
  error?: string | undefined;
1574
1574
  description?: string | undefined;
1575
1575
  profile?: string | undefined;
@@ -1587,11 +1587,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1587
1587
  } | undefined;
1588
1588
  }, {
1589
1589
  modelId: string;
1590
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1591
- error?: string | undefined;
1592
- updatedAt?: number | undefined;
1593
- version?: 2 | undefined;
1594
1590
  selectedGroupId?: string | undefined;
1591
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1592
+ error?: string | undefined;
1595
1593
  progress?: number | undefined;
1596
1594
  bytesDownloaded?: number | undefined;
1597
1595
  totalBytes?: number | undefined;
@@ -1602,21 +1600,23 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1602
1600
  sizeBytes?: number | undefined;
1603
1601
  downloadedBytes?: number | undefined;
1604
1602
  }[] | undefined;
1603
+ updatedAt?: number | undefined;
1605
1604
  installedAt?: number | undefined;
1605
+ version?: 2 | undefined;
1606
1606
  profileLoad?: {
1607
- status?: "error" | "loading" | "ready" | "idle" | undefined;
1608
1607
  message?: string | undefined;
1608
+ status?: "error" | "idle" | "loading" | "ready" | undefined;
1609
1609
  error?: string | undefined;
1610
1610
  updatedAt?: number | undefined;
1611
1611
  } | undefined;
1612
1612
  profileManifest?: {
1613
- updatedAt: number;
1614
- source: "huggingface";
1615
1613
  revision: string;
1616
1614
  commitHash: string;
1617
1615
  shortCommitHash: string;
1618
1616
  modelId: string;
1617
+ source: "huggingface";
1619
1618
  fetchedAt: number;
1619
+ updatedAt: number;
1620
1620
  raw?: unknown;
1621
1621
  endpoint?: string | undefined;
1622
1622
  groups?: Record<string, {
@@ -1646,9 +1646,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1646
1646
  } | undefined;
1647
1647
  groupsState?: Record<string, {
1648
1648
  groupId: string;
1649
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1649
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1650
1650
  error?: string | undefined;
1651
- updatedAt?: number | undefined;
1652
1651
  baseGroupId?: string | undefined;
1653
1652
  rootDir?: string | undefined;
1654
1653
  progress?: number | undefined;
@@ -1657,13 +1656,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1657
1656
  resumable?: boolean | undefined;
1658
1657
  files?: {
1659
1658
  path: string;
1660
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1659
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1661
1660
  error?: string | undefined;
1662
- updatedAt?: number | undefined;
1663
- required?: boolean | undefined;
1664
1661
  sizeBytes?: number | undefined;
1662
+ required?: boolean | undefined;
1663
+ updatedAt?: number | undefined;
1665
1664
  downloadedBytes?: number | undefined;
1666
1665
  }[] | undefined;
1666
+ updatedAt?: number | undefined;
1667
1667
  installedAt?: number | undefined;
1668
1668
  }> | undefined;
1669
1669
  plan?: {
@@ -1677,8 +1677,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1677
1677
  raw?: unknown;
1678
1678
  }[];
1679
1679
  modelId: string;
1680
- profile?: string | undefined;
1681
1680
  selectedGroupId?: string | undefined;
1681
+ profile?: string | undefined;
1682
1682
  estimatedTotalBytes?: number | undefined;
1683
1683
  groups?: {
1684
1684
  id: string;
@@ -1694,7 +1694,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1694
1694
  sourceUrl?: string | undefined;
1695
1695
  raw?: unknown;
1696
1696
  }[];
1697
- status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1697
+ status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1698
1698
  error?: string | undefined;
1699
1699
  description?: string | undefined;
1700
1700
  profile?: string | undefined;
@@ -1793,12 +1793,12 @@ declare const TranslationEngineRuntimeStatusSchema: z.ZodObject<{
1793
1793
  } & {
1794
1794
  state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
1795
1795
  }, "strip", z.ZodTypeAny, {
1796
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1796
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1797
1797
  message?: string | undefined;
1798
1798
  error?: string | undefined;
1799
1799
  progress?: number | undefined;
1800
1800
  }, {
1801
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1801
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1802
1802
  message?: string | undefined;
1803
1803
  error?: string | undefined;
1804
1804
  progress?: number | undefined;
@@ -1816,12 +1816,12 @@ declare const TranslationEngineAssetStatusSchema: z.ZodObject<{
1816
1816
  } & {
1817
1817
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
1818
1818
  }, "strip", z.ZodTypeAny, {
1819
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1819
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1820
1820
  message?: string | undefined;
1821
1821
  error?: string | undefined;
1822
1822
  progress?: number | undefined;
1823
1823
  }, {
1824
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1824
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1825
1825
  message?: string | undefined;
1826
1826
  error?: string | undefined;
1827
1827
  progress?: number | undefined;
@@ -1857,12 +1857,12 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1857
1857
  } & {
1858
1858
  state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
1859
1859
  }, "strip", z.ZodTypeAny, {
1860
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1860
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1861
1861
  message?: string | undefined;
1862
1862
  error?: string | undefined;
1863
1863
  progress?: number | undefined;
1864
1864
  }, {
1865
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1865
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1866
1866
  message?: string | undefined;
1867
1867
  error?: string | undefined;
1868
1868
  progress?: number | undefined;
@@ -1874,12 +1874,12 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1874
1874
  } & {
1875
1875
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
1876
1876
  }, "strip", z.ZodTypeAny, {
1877
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1877
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1878
1878
  message?: string | undefined;
1879
1879
  error?: string | undefined;
1880
1880
  progress?: number | undefined;
1881
1881
  }, {
1882
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1882
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1883
1883
  message?: string | undefined;
1884
1884
  error?: string | undefined;
1885
1885
  progress?: number | undefined;
@@ -1893,13 +1893,13 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1893
1893
  progress?: number | undefined;
1894
1894
  };
1895
1895
  runtime: {
1896
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1896
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1897
1897
  message?: string | undefined;
1898
1898
  error?: string | undefined;
1899
1899
  progress?: number | undefined;
1900
1900
  };
1901
1901
  assets: {
1902
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1902
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1903
1903
  message?: string | undefined;
1904
1904
  error?: string | undefined;
1905
1905
  progress?: number | undefined;
@@ -1913,13 +1913,13 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1913
1913
  progress?: number | undefined;
1914
1914
  };
1915
1915
  runtime: {
1916
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1916
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1917
1917
  message?: string | undefined;
1918
1918
  error?: string | undefined;
1919
1919
  progress?: number | undefined;
1920
1920
  };
1921
1921
  assets: {
1922
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1922
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
1923
1923
  message?: string | undefined;
1924
1924
  error?: string | undefined;
1925
1925
  progress?: number | undefined;
@@ -1945,11 +1945,11 @@ declare const TranslationEngineInstallLogEventSchema: z.ZodObject<{
1945
1945
  stream: z.ZodEnum<["stdout", "stderr"]>;
1946
1946
  text: z.ZodString;
1947
1947
  }, "strip", z.ZodTypeAny, {
1948
- text: string;
1949
1948
  stream: "stdout" | "stderr";
1950
- }, {
1951
1949
  text: string;
1950
+ }, {
1952
1951
  stream: "stdout" | "stderr";
1952
+ text: string;
1953
1953
  }>;
1954
1954
  interface TranslationEngineLifecycleStatusEvent {
1955
1955
  type: 'status';
@@ -1992,12 +1992,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
1992
1992
  } & {
1993
1993
  state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
1994
1994
  }, "strip", z.ZodTypeAny, {
1995
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1995
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1996
1996
  message?: string | undefined;
1997
1997
  error?: string | undefined;
1998
1998
  progress?: number | undefined;
1999
1999
  }, {
2000
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2000
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2001
2001
  message?: string | undefined;
2002
2002
  error?: string | undefined;
2003
2003
  progress?: number | undefined;
@@ -2009,12 +2009,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2009
2009
  } & {
2010
2010
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
2011
2011
  }, "strip", z.ZodTypeAny, {
2012
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2012
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2013
2013
  message?: string | undefined;
2014
2014
  error?: string | undefined;
2015
2015
  progress?: number | undefined;
2016
2016
  }, {
2017
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2017
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2018
2018
  message?: string | undefined;
2019
2019
  error?: string | undefined;
2020
2020
  progress?: number | undefined;
@@ -2028,13 +2028,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2028
2028
  progress?: number | undefined;
2029
2029
  };
2030
2030
  runtime: {
2031
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2031
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2032
2032
  message?: string | undefined;
2033
2033
  error?: string | undefined;
2034
2034
  progress?: number | undefined;
2035
2035
  };
2036
2036
  assets: {
2037
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2037
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2038
2038
  message?: string | undefined;
2039
2039
  error?: string | undefined;
2040
2040
  progress?: number | undefined;
@@ -2048,13 +2048,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2048
2048
  progress?: number | undefined;
2049
2049
  };
2050
2050
  runtime: {
2051
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2051
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2052
2052
  message?: string | undefined;
2053
2053
  error?: string | undefined;
2054
2054
  progress?: number | undefined;
2055
2055
  };
2056
2056
  assets: {
2057
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2057
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2058
2058
  message?: string | undefined;
2059
2059
  error?: string | undefined;
2060
2060
  progress?: number | undefined;
@@ -2071,13 +2071,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2071
2071
  progress?: number | undefined;
2072
2072
  };
2073
2073
  runtime: {
2074
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2074
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2075
2075
  message?: string | undefined;
2076
2076
  error?: string | undefined;
2077
2077
  progress?: number | undefined;
2078
2078
  };
2079
2079
  assets: {
2080
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2080
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2081
2081
  message?: string | undefined;
2082
2082
  error?: string | undefined;
2083
2083
  progress?: number | undefined;
@@ -2094,13 +2094,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2094
2094
  progress?: number | undefined;
2095
2095
  };
2096
2096
  runtime: {
2097
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2097
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2098
2098
  message?: string | undefined;
2099
2099
  error?: string | undefined;
2100
2100
  progress?: number | undefined;
2101
2101
  };
2102
2102
  assets: {
2103
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2103
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2104
2104
  message?: string | undefined;
2105
2105
  error?: string | undefined;
2106
2106
  progress?: number | undefined;
@@ -2113,12 +2113,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2113
2113
  text: z.ZodString;
2114
2114
  }, "strip", z.ZodTypeAny, {
2115
2115
  type: "log";
2116
- text: string;
2117
2116
  stream: "stdout" | "stderr";
2117
+ text: string;
2118
2118
  }, {
2119
2119
  type: "log";
2120
- text: string;
2121
2120
  stream: "stdout" | "stderr";
2121
+ text: string;
2122
2122
  }>, z.ZodObject<{
2123
2123
  type: z.ZodLiteral<"exit">;
2124
2124
  lifecycle: z.ZodObject<{
@@ -2146,12 +2146,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2146
2146
  } & {
2147
2147
  state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
2148
2148
  }, "strip", z.ZodTypeAny, {
2149
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2149
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2150
2150
  message?: string | undefined;
2151
2151
  error?: string | undefined;
2152
2152
  progress?: number | undefined;
2153
2153
  }, {
2154
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2154
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2155
2155
  message?: string | undefined;
2156
2156
  error?: string | undefined;
2157
2157
  progress?: number | undefined;
@@ -2163,12 +2163,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2163
2163
  } & {
2164
2164
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
2165
2165
  }, "strip", z.ZodTypeAny, {
2166
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2166
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2167
2167
  message?: string | undefined;
2168
2168
  error?: string | undefined;
2169
2169
  progress?: number | undefined;
2170
2170
  }, {
2171
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2171
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2172
2172
  message?: string | undefined;
2173
2173
  error?: string | undefined;
2174
2174
  progress?: number | undefined;
@@ -2182,13 +2182,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2182
2182
  progress?: number | undefined;
2183
2183
  };
2184
2184
  runtime: {
2185
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2185
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2186
2186
  message?: string | undefined;
2187
2187
  error?: string | undefined;
2188
2188
  progress?: number | undefined;
2189
2189
  };
2190
2190
  assets: {
2191
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2191
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2192
2192
  message?: string | undefined;
2193
2193
  error?: string | undefined;
2194
2194
  progress?: number | undefined;
@@ -2202,13 +2202,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2202
2202
  progress?: number | undefined;
2203
2203
  };
2204
2204
  runtime: {
2205
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2205
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2206
2206
  message?: string | undefined;
2207
2207
  error?: string | undefined;
2208
2208
  progress?: number | undefined;
2209
2209
  };
2210
2210
  assets: {
2211
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2211
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2212
2212
  message?: string | undefined;
2213
2213
  error?: string | undefined;
2214
2214
  progress?: number | undefined;
@@ -2225,13 +2225,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2225
2225
  progress?: number | undefined;
2226
2226
  };
2227
2227
  runtime: {
2228
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2228
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2229
2229
  message?: string | undefined;
2230
2230
  error?: string | undefined;
2231
2231
  progress?: number | undefined;
2232
2232
  };
2233
2233
  assets: {
2234
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2234
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2235
2235
  message?: string | undefined;
2236
2236
  error?: string | undefined;
2237
2237
  progress?: number | undefined;
@@ -2248,13 +2248,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2248
2248
  progress?: number | undefined;
2249
2249
  };
2250
2250
  runtime: {
2251
- state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2251
+ state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2252
2252
  message?: string | undefined;
2253
2253
  error?: string | undefined;
2254
2254
  progress?: number | undefined;
2255
2255
  };
2256
2256
  assets: {
2257
- state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2257
+ state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
2258
2258
  message?: string | undefined;
2259
2259
  error?: string | undefined;
2260
2260
  progress?: number | undefined;
@@ -2759,19 +2759,19 @@ declare const BatchTranslateInputSchema: z.ZodObject<{
2759
2759
  sourceLanguage: string;
2760
2760
  inputs: string[];
2761
2761
  timeoutMs: number;
2762
- context?: string | undefined;
2763
- instructions?: string | undefined;
2764
2762
  model?: string | undefined;
2765
2763
  selectedGroupId?: string | undefined;
2764
+ instructions?: string | undefined;
2765
+ context?: string | undefined;
2766
2766
  }, {
2767
2767
  targetLanguage: string;
2768
2768
  engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2769
2769
  sourceLanguage: string;
2770
2770
  inputs: string[];
2771
- context?: string | undefined;
2772
- instructions?: string | undefined;
2773
2771
  model?: string | undefined;
2774
2772
  selectedGroupId?: string | undefined;
2773
+ instructions?: string | undefined;
2774
+ context?: string | undefined;
2775
2775
  timeoutMs?: number | undefined;
2776
2776
  }>;
2777
2777
  type BatchTranslateInput = z.infer<typeof BatchTranslateInputSchema>;