@openspecui/core 5.0.0 → 6.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/cli-projection-DxnVGm2B.d.mts +789 -0
  2. package/dist/cli-projection-vO3-FJg5.mjs +161 -0
  3. package/dist/cli-projection.d.mts +6 -0
  4. package/dist/cli-projection.mjs +4 -0
  5. package/dist/command-result-fkH3Ekdz.d.mts +8477 -0
  6. package/dist/common-D8YUK9dA.mjs +57 -0
  7. package/dist/dashboard-summary-transport-CQ4is5_e.d.mts +66227 -0
  8. package/dist/dashboard-summary-transport-D2VBAIxg.mjs +175 -0
  9. package/dist/dashboard-summary-transport.d.mts +25 -0
  10. package/dist/dashboard-summary-transport.mjs +6 -0
  11. package/dist/{document-translation-D4YK18I3.mjs → document-translation-CeJFGMoy.mjs} +1 -1
  12. package/dist/{document-translation-7R8cf8_B.d.mts → document-translation-D50BnvVh.d.mts} +2 -2
  13. package/dist/document-translation.d.mts +1 -1
  14. package/dist/document-translation.mjs +2 -2
  15. package/dist/{hosted-app-CzMRiEgY.mjs → hosted-app-BPU4OR41.mjs} +31 -9
  16. package/dist/hosted-app.d.mts +25 -2
  17. package/dist/hosted-app.mjs +7 -2
  18. package/dist/hosted-contract-CcRnb51e.mjs +234 -0
  19. package/dist/hosted-contract.d.mts +25 -0
  20. package/dist/hosted-contract.mjs +7 -0
  21. package/dist/index.d.mts +25 -2686
  22. package/dist/index.mjs +2114 -1098
  23. package/dist/{local-download-profiles-caa4PECd.d.mts → local-download-profiles-BL_rtlVM.d.mts} +1 -1
  24. package/dist/local-download-profiles.d.mts +2 -2
  25. package/dist/local-download-profiles.mjs +1 -1
  26. package/dist/markdown-facts.d.mts +1 -1
  27. package/dist/markdown-facts.mjs +1 -1
  28. package/dist/{markdown-reading-CgXuXp6s.d.mts → markdown-reading-LUdqfbxH.d.mts} +1 -1
  29. package/dist/{markdown-reading-DdcB7run.mjs → markdown-reading-mG4OAbDO.mjs} +1 -1
  30. package/dist/markdown-reading.d.mts +2 -2
  31. package/dist/markdown-reading.mjs +2 -2
  32. package/dist/{notifications-AKAcmeKT.mjs → notifications-C2bxAzX_.mjs} +13 -2
  33. package/dist/{notifications-DZeOl4HV.d.mts → notifications-CgJlLgLO.d.mts} +51 -25
  34. package/dist/notifications.d.mts +2 -2
  35. package/dist/notifications.mjs +3 -3
  36. package/dist/{openspec-annotations-CeXd0JIZ.d.mts → openspec-annotations-C58Aoi-V.d.mts} +2 -2
  37. package/dist/{openspec-annotations-D_6Pz7k4.mjs → openspec-annotations-DCfqBMal.mjs} +2 -2
  38. package/dist/openspec-annotations.d.mts +3 -3
  39. package/dist/openspec-annotations.mjs +3 -3
  40. package/dist/openspec-compat.d.mts +18 -11
  41. package/dist/openspec-compat.mjs +20 -13
  42. package/dist/{openspec-projection-B8s-KWQ7.mjs → openspec-projection-DCgToo0Q.mjs} +2 -2
  43. package/dist/{openspec-projection-B0ch1rZw.d.mts → openspec-projection-RohNZI4p.d.mts} +3 -3
  44. package/dist/openspec-projection.d.mts +5 -5
  45. package/dist/openspec-projection.mjs +4 -4
  46. package/dist/opsx-display-path.d.mts +1 -1
  47. package/dist/opsx-display-path.mjs +1 -1
  48. package/dist/{opsx-entity-DZyl-uhQ.d.mts → opsx-entity-D7kDQsze.d.mts} +2 -2
  49. package/dist/opsx-entity.d.mts +7 -3
  50. package/dist/opsx-entity.mjs +1 -1
  51. package/dist/{opsx-schema-detail-CS0tWa9v.d.mts → opsx-schema-detail-BxDXEwDY.d.mts} +2 -2
  52. package/dist/opsx-schema-detail.d.mts +8 -4
  53. package/dist/opsx-schema-detail.mjs +1 -1
  54. package/dist/opsx-types-BJ8AjhrS.d.mts +3642 -0
  55. package/dist/opsx-workflows-BvnJqjfL.d.mts +36 -0
  56. package/dist/opsx-workflows-Ccc6U7IR.mjs +89 -0
  57. package/dist/opsx-workflows.d.mts +2 -0
  58. package/dist/opsx-workflows.mjs +3 -0
  59. package/dist/planning-cli-projection-DIRxeq2H.mjs +421 -0
  60. package/dist/planning-cli-projection.d.mts +25 -0
  61. package/dist/planning-cli-projection.mjs +9 -0
  62. package/dist/schemas-BFroDdOC.mjs +287 -0
  63. package/dist/{schemas-D01aQnV4.d.mts → schemas-DS-JqAJ2.d.mts} +524 -78
  64. package/dist/{sounds-kgDn4x8v.d.mts → sounds-qhRgCy0F.d.mts} +12 -12
  65. package/dist/sounds.d.mts +1 -1
  66. package/dist/sounds.mjs +1 -1
  67. package/dist/spec-catalog-ZGuiZ4CE.mjs +901 -0
  68. package/dist/spec-catalog.d.mts +25 -0
  69. package/dist/spec-catalog.mjs +6 -0
  70. package/dist/store-mutation-protocol-5tfs-RmD.d.mts +727 -0
  71. package/dist/store-mutation-protocol-CSwD-xPO.mjs +63 -0
  72. package/dist/store-mutation-protocol.d.mts +2 -0
  73. package/dist/store-mutation-protocol.mjs +4 -0
  74. package/dist/{store-types-Cu41QSww.mjs → store-types-DlX1REBg.mjs} +39 -18
  75. package/dist/{store-types-BiE-Ey--.d.mts → store-types-b554wAQJ.d.mts} +22 -12
  76. package/dist/store-types.d.mts +6 -2
  77. package/dist/store-types.mjs +2 -2
  78. package/dist/task-progress-B_IWVXjA.mjs +216 -0
  79. package/dist/task-progress.d.mts +7 -4
  80. package/dist/task-progress.mjs +3 -3
  81. package/dist/{terminal-audio-TBoU2jSK.mjs → terminal-audio-d6KItUeJ.mjs} +1 -1
  82. package/dist/{terminal-audio-CsuGTNV-.d.mts → terminal-audio-tXDm_EDe.d.mts} +1 -1
  83. package/dist/terminal-audio.d.mts +2 -2
  84. package/dist/terminal-audio.mjs +2 -2
  85. package/dist/terminal-control.d.mts +2 -2
  86. package/dist/terminal-control.mjs +1 -1
  87. package/dist/{terminal-invocation-BlFwKpIc.d.mts → terminal-invocation-BOvxThym.d.mts} +239 -120
  88. package/dist/terminal-invocation.d.mts +1 -1
  89. package/dist/terminal-invocation.mjs +1 -1
  90. package/dist/terminal-theme.d.mts +1 -1
  91. package/dist/terminal-theme.mjs +1 -1
  92. package/dist/translation-language-pair.d.mts +1 -1
  93. package/dist/translation-language-pair.mjs +1 -1
  94. package/dist/{translator-BErXgQxx.d.mts → translator-NKv1wo3o.d.mts} +86 -86
  95. package/dist/translator.d.mts +1 -1
  96. package/dist/translator.mjs +1 -1
  97. package/package.json +55 -7
  98. package/dist/hosted-app-DHs94gIR.d.mts +0 -43
  99. package/dist/opsx-types-Dnb06uff.d.mts +0 -402
  100. package/dist/task-progress-C1TGMbIR.d.mts +0 -24
  101. package/dist/task-progress-DhHYHnTv.mjs +0 -70
  102. /package/dist/{local-download-profiles-kpNEcdF_.mjs → local-download-profiles-odzOdf96.mjs} +0 -0
  103. /package/dist/{markdown-facts-BBCTe_qq.mjs → markdown-facts-BUqLvFRf.mjs} +0 -0
  104. /package/dist/{markdown-facts-Dk7FKaaT.d.mts → markdown-facts-CCw3QdbM.d.mts} +0 -0
  105. /package/dist/{opsx-display-path-CUCOrHcM.mjs → opsx-display-path-D13XV20v.mjs} +0 -0
  106. /package/dist/{opsx-display-path-cIMKa1aw.d.mts → opsx-display-path-RXS5JTbV.d.mts} +0 -0
  107. /package/dist/{opsx-entity-c7m5CbgU.mjs → opsx-entity-Cn_Zu1J3.mjs} +0 -0
  108. /package/dist/{opsx-schema-detail-BH82X6aU.mjs → opsx-schema-detail-Beis4Ba2.mjs} +0 -0
  109. /package/dist/{sounds-CB3ubSnj.mjs → sounds-NXwveBqq.mjs} +0 -0
  110. /package/dist/{terminal-control-VpTuh17B.mjs → terminal-control-BSAlOTs8.mjs} +0 -0
  111. /package/dist/{terminal-invocation-C2MCNBhK.mjs → terminal-invocation-0p-j2eSP.mjs} +0 -0
  112. /package/dist/{terminal-theme-cevliJw2.mjs → terminal-theme-B8iRttTR.mjs} +0 -0
  113. /package/dist/{terminal-theme-hvQjTsNh.d.mts → terminal-theme-m3MSGJ7U.d.mts} +0 -0
  114. /package/dist/{translation-language-pair-DZ_WNp_M.mjs → translation-language-pair-Bbhk-LAC.mjs} +0 -0
  115. /package/dist/{translation-language-pair-DmaOfHqD.d.mts → translation-language-pair-C18GPATW.d.mts} +0 -0
  116. /package/dist/{translator-DbUT1Ayn.mjs → translator-Cjtv4tya.mjs} +0 -0
@@ -218,8 +218,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
218
218
  raw?: unknown;
219
219
  }>, "many">;
220
220
  }, "strip", z.ZodTypeAny, {
221
- label: string;
222
221
  id: string;
222
+ label: string;
223
223
  selectable: boolean;
224
224
  selected: boolean;
225
225
  files: {
@@ -246,8 +246,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
246
246
  totalBytes?: number | undefined;
247
247
  resumable?: boolean | undefined;
248
248
  }, {
249
- label: string;
250
249
  id: string;
250
+ label: string;
251
251
  selectable: boolean;
252
252
  selected: boolean;
253
253
  files: {
@@ -341,8 +341,8 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
341
341
  raw?: unknown;
342
342
  }>, "many">;
343
343
  }, "strip", z.ZodTypeAny, {
344
- label: string;
345
344
  id: string;
345
+ label: string;
346
346
  baseGroupId: string;
347
347
  commitHash: string;
348
348
  shortCommitHash: string;
@@ -363,8 +363,8 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
363
363
  dtype?: string | undefined;
364
364
  estimatedTotalBytes?: number | undefined;
365
365
  }, {
366
- label: string;
367
366
  id: string;
367
+ label: string;
368
368
  baseGroupId: string;
369
369
  commitHash: string;
370
370
  shortCommitHash: string;
@@ -435,8 +435,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
435
435
  raw?: unknown;
436
436
  }>, "many">;
437
437
  }, "strip", z.ZodTypeAny, {
438
- label: string;
439
438
  id: string;
439
+ label: string;
440
440
  baseGroupId: string;
441
441
  commitHash: string;
442
442
  shortCommitHash: string;
@@ -457,8 +457,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
457
457
  dtype?: string | undefined;
458
458
  estimatedTotalBytes?: number | undefined;
459
459
  }, {
460
- label: string;
461
460
  id: string;
461
+ label: string;
462
462
  baseGroupId: string;
463
463
  commitHash: string;
464
464
  shortCommitHash: string;
@@ -481,8 +481,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
481
481
  }>>>;
482
482
  groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
483
483
  }, "strip", z.ZodTypeAny, {
484
- source: "huggingface";
485
484
  updatedAt: number;
485
+ source: "huggingface";
486
486
  revision: string;
487
487
  commitHash: string;
488
488
  shortCommitHash: string;
@@ -490,8 +490,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
490
490
  endpoint: string;
491
491
  fetchedAt: number;
492
492
  groups: Record<string, {
493
- label: string;
494
493
  id: string;
494
+ label: string;
495
495
  baseGroupId: string;
496
496
  commitHash: string;
497
497
  shortCommitHash: string;
@@ -515,8 +515,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
515
515
  groupOrder: string[];
516
516
  raw?: unknown;
517
517
  }, {
518
- source: "huggingface";
519
518
  updatedAt: number;
519
+ source: "huggingface";
520
520
  revision: string;
521
521
  commitHash: string;
522
522
  shortCommitHash: string;
@@ -525,8 +525,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
525
525
  raw?: unknown;
526
526
  endpoint?: string | undefined;
527
527
  groups?: Record<string, {
528
- label: string;
529
528
  id: string;
529
+ label: string;
530
530
  baseGroupId: string;
531
531
  commitHash: string;
532
532
  shortCommitHash: string;
@@ -663,12 +663,12 @@ 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" | "idle" | "loading" | "ready";
666
+ status: "error" | "loading" | "ready" | "idle";
667
667
  message?: string | undefined;
668
668
  error?: string | undefined;
669
669
  updatedAt?: number | undefined;
670
670
  }, {
671
- status?: "error" | "idle" | "loading" | "ready" | undefined;
671
+ status?: "error" | "loading" | "ready" | "idle" | undefined;
672
672
  message?: string | undefined;
673
673
  error?: string | undefined;
674
674
  updatedAt?: number | undefined;
@@ -706,9 +706,9 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
706
706
  updatedAt: number;
707
707
  engineId: "local" | "local-ct2" | "local-llama";
708
708
  modelId: string;
709
+ selectedGroupId?: string | undefined;
709
710
  sessionId?: string | undefined;
710
711
  groupId?: string | undefined;
711
- selectedGroupId?: string | undefined;
712
712
  progress?: number | undefined;
713
713
  bytesDownloaded?: number | undefined;
714
714
  totalBytes?: number | undefined;
@@ -724,9 +724,9 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
724
724
  updatedAt: number;
725
725
  engineId: "local" | "local-ct2" | "local-llama";
726
726
  modelId: string;
727
+ selectedGroupId?: string | undefined;
727
728
  sessionId?: string | undefined;
728
729
  groupId?: string | undefined;
729
- selectedGroupId?: string | undefined;
730
730
  progress?: number | undefined;
731
731
  bytesDownloaded?: number | undefined;
732
732
  totalBytes?: number | undefined;
@@ -813,8 +813,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
813
813
  raw?: unknown;
814
814
  }>, "many">;
815
815
  }, "strip", z.ZodTypeAny, {
816
- label: string;
817
816
  id: string;
817
+ label: string;
818
818
  selectable: boolean;
819
819
  selected: boolean;
820
820
  files: {
@@ -841,8 +841,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
841
841
  totalBytes?: number | undefined;
842
842
  resumable?: boolean | undefined;
843
843
  }, {
844
- label: string;
845
844
  id: string;
845
+ label: string;
846
846
  selectable: boolean;
847
847
  selected: boolean;
848
848
  files: {
@@ -880,12 +880,12 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
880
880
  raw?: unknown;
881
881
  }[];
882
882
  modelId: string;
883
- selectedGroupId?: string | undefined;
884
883
  profile?: string | undefined;
884
+ selectedGroupId?: string | undefined;
885
885
  estimatedTotalBytes?: number | undefined;
886
886
  groups?: {
887
- label: string;
888
887
  id: string;
888
+ label: string;
889
889
  selectable: boolean;
890
890
  selected: boolean;
891
891
  files: {
@@ -923,12 +923,12 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
923
923
  raw?: unknown;
924
924
  }[];
925
925
  modelId: string;
926
- selectedGroupId?: string | undefined;
927
926
  profile?: string | undefined;
927
+ selectedGroupId?: string | undefined;
928
928
  estimatedTotalBytes?: number | undefined;
929
929
  groups?: {
930
- label: string;
931
930
  id: string;
931
+ label: string;
932
932
  selectable: boolean;
933
933
  selected: boolean;
934
934
  files: {
@@ -976,12 +976,12 @@ 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" | "idle" | "loading" | "ready";
979
+ status: "error" | "loading" | "ready" | "idle";
980
980
  message?: string | undefined;
981
981
  error?: string | undefined;
982
982
  updatedAt?: number | undefined;
983
983
  }, {
984
- status?: "error" | "idle" | "loading" | "ready" | undefined;
984
+ status?: "error" | "loading" | "ready" | "idle" | undefined;
985
985
  message?: string | undefined;
986
986
  error?: string | undefined;
987
987
  updatedAt?: number | undefined;
@@ -1035,8 +1035,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1035
1035
  raw?: unknown;
1036
1036
  }>, "many">;
1037
1037
  }, "strip", z.ZodTypeAny, {
1038
- label: string;
1039
1038
  id: string;
1039
+ label: string;
1040
1040
  baseGroupId: string;
1041
1041
  commitHash: string;
1042
1042
  shortCommitHash: string;
@@ -1057,8 +1057,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1057
1057
  dtype?: string | undefined;
1058
1058
  estimatedTotalBytes?: number | undefined;
1059
1059
  }, {
1060
- label: string;
1061
1060
  id: string;
1061
+ label: string;
1062
1062
  baseGroupId: string;
1063
1063
  commitHash: string;
1064
1064
  shortCommitHash: string;
@@ -1081,8 +1081,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1081
1081
  }>>>;
1082
1082
  groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1083
1083
  }, "strip", z.ZodTypeAny, {
1084
- source: "huggingface";
1085
1084
  updatedAt: number;
1085
+ source: "huggingface";
1086
1086
  revision: string;
1087
1087
  commitHash: string;
1088
1088
  shortCommitHash: string;
@@ -1090,8 +1090,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1090
1090
  endpoint: string;
1091
1091
  fetchedAt: number;
1092
1092
  groups: Record<string, {
1093
- label: string;
1094
1093
  id: string;
1094
+ label: string;
1095
1095
  baseGroupId: string;
1096
1096
  commitHash: string;
1097
1097
  shortCommitHash: string;
@@ -1115,8 +1115,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1115
1115
  groupOrder: string[];
1116
1116
  raw?: unknown;
1117
1117
  }, {
1118
- source: "huggingface";
1119
1118
  updatedAt: number;
1119
+ source: "huggingface";
1120
1120
  revision: string;
1121
1121
  commitHash: string;
1122
1122
  shortCommitHash: string;
@@ -1125,8 +1125,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1125
1125
  raw?: unknown;
1126
1126
  endpoint?: string | undefined;
1127
1127
  groups?: Record<string, {
1128
- label: string;
1129
1128
  id: string;
1129
+ label: string;
1130
1130
  baseGroupId: string;
1131
1131
  commitHash: string;
1132
1132
  shortCommitHash: string;
@@ -1304,8 +1304,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1304
1304
  raw?: unknown;
1305
1305
  }>, "many">;
1306
1306
  }, "strip", z.ZodTypeAny, {
1307
- label: string;
1308
1307
  id: string;
1308
+ label: string;
1309
1309
  selectable: boolean;
1310
1310
  selected: boolean;
1311
1311
  files: {
@@ -1332,8 +1332,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1332
1332
  totalBytes?: number | undefined;
1333
1333
  resumable?: boolean | undefined;
1334
1334
  }, {
1335
- label: string;
1336
1335
  id: string;
1336
+ label: string;
1337
1337
  selectable: boolean;
1338
1338
  selected: boolean;
1339
1339
  files: {
@@ -1371,12 +1371,12 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1371
1371
  raw?: unknown;
1372
1372
  }[];
1373
1373
  modelId: string;
1374
- selectedGroupId?: string | undefined;
1375
1374
  profile?: string | undefined;
1375
+ selectedGroupId?: string | undefined;
1376
1376
  estimatedTotalBytes?: number | undefined;
1377
1377
  groups?: {
1378
- label: string;
1379
1378
  id: string;
1379
+ label: string;
1380
1380
  selectable: boolean;
1381
1381
  selected: boolean;
1382
1382
  files: {
@@ -1414,12 +1414,12 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1414
1414
  raw?: unknown;
1415
1415
  }[];
1416
1416
  modelId: string;
1417
- selectedGroupId?: string | undefined;
1418
1417
  profile?: string | undefined;
1418
+ selectedGroupId?: string | undefined;
1419
1419
  estimatedTotalBytes?: number | undefined;
1420
1420
  groups?: {
1421
- label: string;
1422
1421
  id: string;
1422
+ label: string;
1423
1423
  selectable: boolean;
1424
1424
  selected: boolean;
1425
1425
  files: {
@@ -1462,6 +1462,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1462
1462
  }>, "many">>;
1463
1463
  }, "strip", z.ZodTypeAny, {
1464
1464
  status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1465
+ version: 2;
1465
1466
  resumable: boolean;
1466
1467
  selected: boolean;
1467
1468
  files: {
@@ -1470,9 +1471,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1470
1471
  downloadedBytes?: number | undefined;
1471
1472
  }[];
1472
1473
  modelId: string;
1473
- version: 2;
1474
1474
  profileLoad: {
1475
- status: "error" | "idle" | "loading" | "ready";
1475
+ status: "error" | "loading" | "ready" | "idle";
1476
1476
  message?: string | undefined;
1477
1477
  error?: string | undefined;
1478
1478
  updatedAt?: number | undefined;
@@ -1507,8 +1507,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1507
1507
  totalBytes?: number | undefined;
1508
1508
  installedAt?: number | undefined;
1509
1509
  profileManifest?: {
1510
- source: "huggingface";
1511
1510
  updatedAt: number;
1511
+ source: "huggingface";
1512
1512
  revision: string;
1513
1513
  commitHash: string;
1514
1514
  shortCommitHash: string;
@@ -1516,8 +1516,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1516
1516
  endpoint: string;
1517
1517
  fetchedAt: number;
1518
1518
  groups: Record<string, {
1519
- label: string;
1520
1519
  id: string;
1520
+ label: string;
1521
1521
  baseGroupId: string;
1522
1522
  commitHash: string;
1523
1523
  shortCommitHash: string;
@@ -1552,12 +1552,12 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1552
1552
  raw?: unknown;
1553
1553
  }[];
1554
1554
  modelId: string;
1555
- selectedGroupId?: string | undefined;
1556
1555
  profile?: string | undefined;
1556
+ selectedGroupId?: string | undefined;
1557
1557
  estimatedTotalBytes?: number | undefined;
1558
1558
  groups?: {
1559
- label: string;
1560
1559
  id: string;
1560
+ label: string;
1561
1561
  selectable: boolean;
1562
1562
  selected: boolean;
1563
1563
  files: {
@@ -1590,6 +1590,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1590
1590
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1591
1591
  error?: string | undefined;
1592
1592
  updatedAt?: number | undefined;
1593
+ version?: 2 | undefined;
1593
1594
  selectedGroupId?: string | undefined;
1594
1595
  progress?: number | undefined;
1595
1596
  bytesDownloaded?: number | undefined;
@@ -1602,16 +1603,15 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1602
1603
  downloadedBytes?: number | undefined;
1603
1604
  }[] | undefined;
1604
1605
  installedAt?: number | undefined;
1605
- version?: 2 | undefined;
1606
1606
  profileLoad?: {
1607
- status?: "error" | "idle" | "loading" | "ready" | undefined;
1607
+ status?: "error" | "loading" | "ready" | "idle" | undefined;
1608
1608
  message?: string | undefined;
1609
1609
  error?: string | undefined;
1610
1610
  updatedAt?: number | undefined;
1611
1611
  } | undefined;
1612
1612
  profileManifest?: {
1613
- source: "huggingface";
1614
1613
  updatedAt: number;
1614
+ source: "huggingface";
1615
1615
  revision: string;
1616
1616
  commitHash: string;
1617
1617
  shortCommitHash: string;
@@ -1620,8 +1620,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1620
1620
  raw?: unknown;
1621
1621
  endpoint?: string | undefined;
1622
1622
  groups?: Record<string, {
1623
- label: string;
1624
1623
  id: string;
1624
+ label: string;
1625
1625
  baseGroupId: string;
1626
1626
  commitHash: string;
1627
1627
  shortCommitHash: string;
@@ -1677,12 +1677,12 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1677
1677
  raw?: unknown;
1678
1678
  }[];
1679
1679
  modelId: string;
1680
- selectedGroupId?: string | undefined;
1681
1680
  profile?: string | undefined;
1681
+ selectedGroupId?: string | undefined;
1682
1682
  estimatedTotalBytes?: number | undefined;
1683
1683
  groups?: {
1684
- label: string;
1685
1684
  id: string;
1685
+ label: string;
1686
1686
  selectable: boolean;
1687
1687
  selected: boolean;
1688
1688
  files: {
@@ -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" | "not-applicable" | "probing" | "failed";
1796
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1797
1797
  message?: string | undefined;
1798
1798
  error?: string | undefined;
1799
1799
  progress?: number | undefined;
1800
1800
  }, {
1801
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1801
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1802
1802
  message?: string | undefined;
1803
1803
  error?: string | undefined;
1804
1804
  progress?: number | undefined;
@@ -1816,12 +1816,12 @@ declare const TranslationEngineAssetStatusSchema: z.ZodObject<{
1816
1816
  } & {
1817
1817
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
1818
1818
  }, "strip", z.ZodTypeAny, {
1819
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1819
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1820
1820
  message?: string | undefined;
1821
1821
  error?: string | undefined;
1822
1822
  progress?: number | undefined;
1823
1823
  }, {
1824
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1824
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1825
1825
  message?: string | undefined;
1826
1826
  error?: string | undefined;
1827
1827
  progress?: number | undefined;
@@ -1857,12 +1857,12 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1857
1857
  } & {
1858
1858
  state: z.ZodEnum<["ready", "probing", "failed", "error", "not-applicable"]>;
1859
1859
  }, "strip", z.ZodTypeAny, {
1860
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1860
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1861
1861
  message?: string | undefined;
1862
1862
  error?: string | undefined;
1863
1863
  progress?: number | undefined;
1864
1864
  }, {
1865
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1865
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1866
1866
  message?: string | undefined;
1867
1867
  error?: string | undefined;
1868
1868
  progress?: number | undefined;
@@ -1874,12 +1874,12 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1874
1874
  } & {
1875
1875
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
1876
1876
  }, "strip", z.ZodTypeAny, {
1877
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1877
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1878
1878
  message?: string | undefined;
1879
1879
  error?: string | undefined;
1880
1880
  progress?: number | undefined;
1881
1881
  }, {
1882
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1882
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1883
1883
  message?: string | undefined;
1884
1884
  error?: string | undefined;
1885
1885
  progress?: number | undefined;
@@ -1893,13 +1893,13 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1893
1893
  progress?: number | undefined;
1894
1894
  };
1895
1895
  runtime: {
1896
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1896
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1897
1897
  message?: string | undefined;
1898
1898
  error?: string | undefined;
1899
1899
  progress?: number | undefined;
1900
1900
  };
1901
1901
  assets: {
1902
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1902
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1903
1903
  message?: string | undefined;
1904
1904
  error?: string | undefined;
1905
1905
  progress?: number | undefined;
@@ -1913,13 +1913,13 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
1913
1913
  progress?: number | undefined;
1914
1914
  };
1915
1915
  runtime: {
1916
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
1916
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1917
1917
  message?: string | undefined;
1918
1918
  error?: string | undefined;
1919
1919
  progress?: number | undefined;
1920
1920
  };
1921
1921
  assets: {
1922
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
1922
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
1923
1923
  message?: string | undefined;
1924
1924
  error?: string | undefined;
1925
1925
  progress?: number | undefined;
@@ -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" | "not-applicable" | "probing" | "failed";
1995
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
1996
1996
  message?: string | undefined;
1997
1997
  error?: string | undefined;
1998
1998
  progress?: number | undefined;
1999
1999
  }, {
2000
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2000
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2001
2001
  message?: string | undefined;
2002
2002
  error?: string | undefined;
2003
2003
  progress?: number | undefined;
@@ -2009,12 +2009,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2009
2009
  } & {
2010
2010
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
2011
2011
  }, "strip", z.ZodTypeAny, {
2012
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2012
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2013
2013
  message?: string | undefined;
2014
2014
  error?: string | undefined;
2015
2015
  progress?: number | undefined;
2016
2016
  }, {
2017
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2017
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2018
2018
  message?: string | undefined;
2019
2019
  error?: string | undefined;
2020
2020
  progress?: number | undefined;
@@ -2028,13 +2028,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2028
2028
  progress?: number | undefined;
2029
2029
  };
2030
2030
  runtime: {
2031
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2031
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2032
2032
  message?: string | undefined;
2033
2033
  error?: string | undefined;
2034
2034
  progress?: number | undefined;
2035
2035
  };
2036
2036
  assets: {
2037
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2037
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2038
2038
  message?: string | undefined;
2039
2039
  error?: string | undefined;
2040
2040
  progress?: number | undefined;
@@ -2048,13 +2048,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2048
2048
  progress?: number | undefined;
2049
2049
  };
2050
2050
  runtime: {
2051
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2051
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2052
2052
  message?: string | undefined;
2053
2053
  error?: string | undefined;
2054
2054
  progress?: number | undefined;
2055
2055
  };
2056
2056
  assets: {
2057
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2057
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2058
2058
  message?: string | undefined;
2059
2059
  error?: string | undefined;
2060
2060
  progress?: number | undefined;
@@ -2071,13 +2071,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2071
2071
  progress?: number | undefined;
2072
2072
  };
2073
2073
  runtime: {
2074
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2074
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2075
2075
  message?: string | undefined;
2076
2076
  error?: string | undefined;
2077
2077
  progress?: number | undefined;
2078
2078
  };
2079
2079
  assets: {
2080
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2080
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2081
2081
  message?: string | undefined;
2082
2082
  error?: string | undefined;
2083
2083
  progress?: number | undefined;
@@ -2094,13 +2094,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2094
2094
  progress?: number | undefined;
2095
2095
  };
2096
2096
  runtime: {
2097
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2097
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2098
2098
  message?: string | undefined;
2099
2099
  error?: string | undefined;
2100
2100
  progress?: number | undefined;
2101
2101
  };
2102
2102
  assets: {
2103
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2103
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2104
2104
  message?: string | undefined;
2105
2105
  error?: string | undefined;
2106
2106
  progress?: number | undefined;
@@ -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" | "not-applicable" | "probing" | "failed";
2149
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2150
2150
  message?: string | undefined;
2151
2151
  error?: string | undefined;
2152
2152
  progress?: number | undefined;
2153
2153
  }, {
2154
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2154
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2155
2155
  message?: string | undefined;
2156
2156
  error?: string | undefined;
2157
2157
  progress?: number | undefined;
@@ -2163,12 +2163,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2163
2163
  } & {
2164
2164
  state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
2165
2165
  }, "strip", z.ZodTypeAny, {
2166
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2166
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2167
2167
  message?: string | undefined;
2168
2168
  error?: string | undefined;
2169
2169
  progress?: number | undefined;
2170
2170
  }, {
2171
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2171
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2172
2172
  message?: string | undefined;
2173
2173
  error?: string | undefined;
2174
2174
  progress?: number | undefined;
@@ -2182,13 +2182,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2182
2182
  progress?: number | undefined;
2183
2183
  };
2184
2184
  runtime: {
2185
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2185
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2186
2186
  message?: string | undefined;
2187
2187
  error?: string | undefined;
2188
2188
  progress?: number | undefined;
2189
2189
  };
2190
2190
  assets: {
2191
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2191
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2192
2192
  message?: string | undefined;
2193
2193
  error?: string | undefined;
2194
2194
  progress?: number | undefined;
@@ -2202,13 +2202,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2202
2202
  progress?: number | undefined;
2203
2203
  };
2204
2204
  runtime: {
2205
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2205
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2206
2206
  message?: string | undefined;
2207
2207
  error?: string | undefined;
2208
2208
  progress?: number | undefined;
2209
2209
  };
2210
2210
  assets: {
2211
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2211
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2212
2212
  message?: string | undefined;
2213
2213
  error?: string | undefined;
2214
2214
  progress?: number | undefined;
@@ -2225,13 +2225,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2225
2225
  progress?: number | undefined;
2226
2226
  };
2227
2227
  runtime: {
2228
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2228
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2229
2229
  message?: string | undefined;
2230
2230
  error?: string | undefined;
2231
2231
  progress?: number | undefined;
2232
2232
  };
2233
2233
  assets: {
2234
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2234
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2235
2235
  message?: string | undefined;
2236
2236
  error?: string | undefined;
2237
2237
  progress?: number | undefined;
@@ -2248,13 +2248,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
2248
2248
  progress?: number | undefined;
2249
2249
  };
2250
2250
  runtime: {
2251
- state: "error" | "ready" | "not-applicable" | "probing" | "failed";
2251
+ state: "error" | "ready" | "failed" | "not-applicable" | "probing";
2252
2252
  message?: string | undefined;
2253
2253
  error?: string | undefined;
2254
2254
  progress?: number | undefined;
2255
2255
  };
2256
2256
  assets: {
2257
- state: "error" | "downloading" | "ready" | "missing" | "not-applicable";
2257
+ state: "error" | "ready" | "downloading" | "missing" | "not-applicable";
2258
2258
  message?: string | undefined;
2259
2259
  error?: string | undefined;
2260
2260
  progress?: number | undefined;
@@ -2759,19 +2759,19 @@ declare const BatchTranslateInputSchema: z.ZodObject<{
2759
2759
  sourceLanguage: string;
2760
2760
  inputs: string[];
2761
2761
  timeoutMs: number;
2762
+ context?: string | undefined;
2763
+ instructions?: string | undefined;
2762
2764
  model?: string | undefined;
2763
2765
  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;
2771
2773
  model?: string | undefined;
2772
2774
  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>;