@openspecui/core 6.0.1 → 6.1.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 (120) hide show
  1. package/dist/app-daemon-control.d.mts +362 -0
  2. package/dist/app-daemon-control.mjs +81 -0
  3. package/dist/{cli-projection-vO3-FJg5.mjs → cli-projection-BHfqvlpA.mjs} +1 -1
  4. package/dist/{cli-projection-w3LzenG5.d.mts → cli-projection-DVpaxd82.d.mts} +9 -9
  5. package/dist/cli-projection.d.mts +5 -5
  6. package/dist/cli-projection.mjs +2 -2
  7. package/dist/{command-result-CjnZNtGL.d.mts → command-result-BRYzlmg1.d.mts} +71 -60
  8. package/dist/{dashboard-summary-transport-CYBuU4iT.mjs → dashboard-summary-transport-BMtZ0q12.mjs} +2 -2
  9. package/dist/{dashboard-summary-transport-DAFz2ZQe.d.mts → dashboard-summary-transport-DEjdVWdn.d.mts} +4080 -2642
  10. package/dist/dashboard-summary-transport.d.mts +25 -24
  11. package/dist/dashboard-summary-transport.mjs +4 -4
  12. package/dist/{document-translation-CeJFGMoy.mjs → document-translation-CUkkxnYV.mjs} +1 -1
  13. package/dist/{document-translation-DyEj4JKj.d.mts → document-translation-J_NddeDy.d.mts} +100 -100
  14. package/dist/document-translation.d.mts +1 -1
  15. package/dist/document-translation.mjs +2 -2
  16. package/dist/{hosted-app-Y7yqlPBG.mjs → hosted-app-C3gBSvov.mjs} +3 -2
  17. package/dist/hosted-app.d.mts +26 -25
  18. package/dist/hosted-app.mjs +8 -7
  19. package/dist/{hosted-contract-BuhF_tuQ.mjs → hosted-contract-CaN2aw54.mjs} +31 -7
  20. package/dist/hosted-contract.d.mts +26 -25
  21. package/dist/hosted-contract.mjs +7 -6
  22. package/dist/index.d.mts +26 -25
  23. package/dist/index.mjs +953 -102
  24. package/dist/{local-download-profiles-BokmRLew.d.mts → local-download-profiles-CI66p2NW.d.mts} +1 -1
  25. package/dist/local-download-profiles.d.mts +2 -2
  26. package/dist/local-download-profiles.mjs +1 -1
  27. package/dist/markdown-facts.d.mts +1 -1
  28. package/dist/markdown-facts.mjs +1 -1
  29. package/dist/{markdown-reading-mG4OAbDO.mjs → markdown-reading-0L-mVBJp.mjs} +1 -1
  30. package/dist/{markdown-reading-LUdqfbxH.d.mts → markdown-reading-w686Obnl.d.mts} +1 -1
  31. package/dist/markdown-reading.d.mts +2 -2
  32. package/dist/markdown-reading.mjs +2 -2
  33. package/dist/{notifications-CgJlLgLO.d.mts → notifications-DaDB-ZBM.d.mts} +1 -1
  34. package/dist/{notifications-C2bxAzX_.mjs → notifications-E6_WBjQO.mjs} +2 -2
  35. package/dist/notifications.d.mts +2 -2
  36. package/dist/notifications.mjs +3 -3
  37. package/dist/{openspec-annotations-C58Aoi-V.d.mts → openspec-annotations-BXAqKLXc.d.mts} +2 -2
  38. package/dist/{openspec-annotations-DCfqBMal.mjs → openspec-annotations-DiHje5HD.mjs} +2 -2
  39. package/dist/openspec-annotations.d.mts +3 -3
  40. package/dist/openspec-annotations.mjs +3 -3
  41. package/dist/openspec-compat.d.mts +12 -10
  42. package/dist/openspec-compat.mjs +19 -23
  43. package/dist/{openspec-projection-DnB0EalA.d.mts → openspec-projection-DrrLI_ub.d.mts} +3 -3
  44. package/dist/{openspec-projection-DCgToo0Q.mjs → openspec-projection-DvJnsxLZ.mjs} +2 -2
  45. package/dist/openspec-projection.d.mts +5 -5
  46. package/dist/openspec-projection.mjs +4 -4
  47. package/dist/opsx-display-path.d.mts +1 -1
  48. package/dist/opsx-display-path.mjs +1 -1
  49. package/dist/{opsx-entity-CQGXOj_a.d.mts → opsx-entity-BhMqFWGT.d.mts} +2 -2
  50. package/dist/opsx-entity.d.mts +7 -7
  51. package/dist/opsx-entity.mjs +1 -1
  52. package/dist/{opsx-schema-detail-DTWBhlbh.d.mts → opsx-schema-detail-DvkJvwg_.d.mts} +2 -2
  53. package/dist/opsx-schema-detail.d.mts +8 -8
  54. package/dist/opsx-schema-detail.mjs +1 -1
  55. package/dist/{opsx-types-BKGpvDDe.d.mts → opsx-types-DRg1Yo2Y.d.mts} +213 -213
  56. package/dist/opsx-workflows.d.mts +1 -1
  57. package/dist/opsx-workflows.mjs +1 -1
  58. package/dist/{planning-cli-projection-DIRxeq2H.mjs → planning-cli-projection-DrkT18EI.mjs} +4 -4
  59. package/dist/planning-cli-projection.d.mts +25 -24
  60. package/dist/planning-cli-projection.mjs +7 -7
  61. package/dist/{schemas-C-BZiH0m.d.mts → schemas-Bafi7L8Y.d.mts} +190 -190
  62. package/dist/{sounds-qhRgCy0F.d.mts → sounds-B6SBMmGR.d.mts} +8 -8
  63. package/dist/sounds.d.mts +1 -1
  64. package/dist/sounds.mjs +1 -1
  65. package/dist/{spec-catalog-ZGuiZ4CE.mjs → spec-catalog-Dv2qolxy.mjs} +3 -3
  66. package/dist/spec-catalog.d.mts +25 -24
  67. package/dist/spec-catalog.mjs +4 -4
  68. package/dist/store-content-projection-BPDCma8v.d.mts +463 -0
  69. package/dist/store-content-projection-CiMcGZnG.mjs +82 -0
  70. package/dist/store-content-projection.d.mts +2 -0
  71. package/dist/store-content-projection.mjs +4 -0
  72. package/dist/{store-mutation-protocol-CSwD-xPO.mjs → store-mutation-protocol-CLtYUSwC.mjs} +1 -1
  73. package/dist/{store-mutation-protocol-3TzQ6ete.d.mts → store-mutation-protocol-Ckcv2-zs.d.mts} +48 -48
  74. package/dist/store-mutation-protocol.d.mts +1 -1
  75. package/dist/store-mutation-protocol.mjs +2 -2
  76. package/dist/{store-types-QeY5nWlF.d.mts → store-types-B0Qx8UPs.d.mts} +1 -1
  77. package/dist/store-types.d.mts +5 -5
  78. package/dist/store-types.mjs +1 -1
  79. package/dist/{task-progress-B_IWVXjA.mjs → task-progress-DpZak5xA.mjs} +1 -1
  80. package/dist/task-progress.d.mts +6 -6
  81. package/dist/task-progress.mjs +2 -2
  82. package/dist/{terminal-audio-tXDm_EDe.d.mts → terminal-audio-BoIZa5SP.d.mts} +1 -1
  83. package/dist/{terminal-audio-d6KItUeJ.mjs → terminal-audio-punFQHXI.mjs} +1 -1
  84. package/dist/terminal-audio.d.mts +2 -2
  85. package/dist/terminal-audio.mjs +2 -2
  86. package/dist/terminal-control.d.mts +2 -2
  87. package/dist/terminal-control.mjs +1 -1
  88. package/dist/{terminal-invocation-rKDNnsUS.d.mts → terminal-invocation-ChWI_i72.d.mts} +86 -86
  89. package/dist/terminal-invocation.d.mts +1 -1
  90. package/dist/terminal-invocation.mjs +1 -1
  91. package/dist/terminal-theme.d.mts +1 -1
  92. package/dist/terminal-theme.mjs +1 -1
  93. package/dist/translation-language-pair.d.mts +1 -1
  94. package/dist/translation-language-pair.mjs +1 -1
  95. package/dist/{translator-BEiXnLjR.d.mts → translator-C7d_Bkbo.d.mts} +204 -204
  96. package/dist/translator.d.mts +1 -1
  97. package/dist/translator.mjs +1 -1
  98. package/dist/workspace-directory-catalog.d.mts +172 -0
  99. package/dist/workspace-directory-catalog.mjs +111 -0
  100. package/package.json +28 -5
  101. /package/dist/{common-D8YUK9dA.mjs → common-BpgNUOOT.mjs} +0 -0
  102. /package/dist/{local-download-profiles-odzOdf96.mjs → local-download-profiles-DK4g6FRe.mjs} +0 -0
  103. /package/dist/{markdown-facts-CCw3QdbM.d.mts → markdown-facts-C9yWB2I9.d.mts} +0 -0
  104. /package/dist/{markdown-facts-BUqLvFRf.mjs → markdown-facts-Dve6IAJP.mjs} +0 -0
  105. /package/dist/{opsx-display-path-D13XV20v.mjs → opsx-display-path-DuPEvPV0.mjs} +0 -0
  106. /package/dist/{opsx-display-path-RXS5JTbV.d.mts → opsx-display-path-eWJ4ve-O.d.mts} +0 -0
  107. /package/dist/{opsx-entity-Cn_Zu1J3.mjs → opsx-entity-Br5S5N0o.mjs} +0 -0
  108. /package/dist/{opsx-schema-detail-Beis4Ba2.mjs → opsx-schema-detail-CckZIEVr.mjs} +0 -0
  109. /package/dist/{opsx-workflows-BvnJqjfL.d.mts → opsx-workflows-Bhh_bI-e.d.mts} +0 -0
  110. /package/dist/{opsx-workflows-Ccc6U7IR.mjs → opsx-workflows-GPZSe1C_.mjs} +0 -0
  111. /package/dist/{schemas-BFroDdOC.mjs → schemas-BrS9qSB3.mjs} +0 -0
  112. /package/dist/{sounds-NXwveBqq.mjs → sounds-na4c8j0c.mjs} +0 -0
  113. /package/dist/{store-types-DlX1REBg.mjs → store-types-Cs40yohL.mjs} +0 -0
  114. /package/dist/{terminal-control-BSAlOTs8.mjs → terminal-control-BvoxwQ6m.mjs} +0 -0
  115. /package/dist/{terminal-invocation-0p-j2eSP.mjs → terminal-invocation-BexVY5E2.mjs} +0 -0
  116. /package/dist/{terminal-theme-m3MSGJ7U.d.mts → terminal-theme-BzARb2Do.d.mts} +0 -0
  117. /package/dist/{terminal-theme-B8iRttTR.mjs → terminal-theme-DIhzj5Si.mjs} +0 -0
  118. /package/dist/{translation-language-pair-Bbhk-LAC.mjs → translation-language-pair-BV2cGjfv.mjs} +0 -0
  119. /package/dist/{translation-language-pair-C18GPATW.d.mts → translation-language-pair-DeAiww3_.d.mts} +0 -0
  120. /package/dist/{translator-Cjtv4tya.mjs → translator-DCCZeHt1.mjs} +0 -0
@@ -159,17 +159,17 @@ declare const TranslationDownloadFilePlanSchema: z.ZodObject<{
159
159
  }, "strip", z.ZodTypeAny, {
160
160
  path: string;
161
161
  required: boolean;
162
+ revision?: string | undefined;
162
163
  sizeBytes?: number | undefined;
163
164
  etag?: string | undefined;
164
- revision?: string | undefined;
165
165
  sourceUrl?: string | undefined;
166
166
  raw?: unknown;
167
167
  }, {
168
168
  path: string;
169
169
  required: boolean;
170
+ revision?: string | undefined;
170
171
  sizeBytes?: number | undefined;
171
172
  etag?: string | undefined;
172
- revision?: string | undefined;
173
173
  sourceUrl?: string | undefined;
174
174
  raw?: unknown;
175
175
  }>;
@@ -203,17 +203,17 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
203
203
  }, "strip", z.ZodTypeAny, {
204
204
  path: string;
205
205
  required: boolean;
206
+ revision?: string | undefined;
206
207
  sizeBytes?: number | undefined;
207
208
  etag?: string | undefined;
208
- revision?: string | undefined;
209
209
  sourceUrl?: string | undefined;
210
210
  raw?: unknown;
211
211
  }, {
212
212
  path: string;
213
213
  required: boolean;
214
+ revision?: string | undefined;
214
215
  sizeBytes?: number | undefined;
215
216
  etag?: string | undefined;
216
- revision?: string | undefined;
217
217
  sourceUrl?: string | undefined;
218
218
  raw?: unknown;
219
219
  }>, "many">;
@@ -225,9 +225,9 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
225
225
  files: {
226
226
  path: string;
227
227
  required: boolean;
228
+ revision?: string | undefined;
228
229
  sizeBytes?: number | undefined;
229
230
  etag?: string | undefined;
230
- revision?: string | undefined;
231
231
  sourceUrl?: string | undefined;
232
232
  raw?: unknown;
233
233
  }[];
@@ -253,9 +253,9 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
253
253
  files: {
254
254
  path: string;
255
255
  required: boolean;
256
+ revision?: string | undefined;
256
257
  sizeBytes?: number | undefined;
257
258
  etag?: string | undefined;
258
- revision?: string | undefined;
259
259
  sourceUrl?: string | undefined;
260
260
  raw?: unknown;
261
261
  }[];
@@ -287,17 +287,17 @@ declare const LocalModelProfileManifestFileSchema: z.ZodObject<{
287
287
  }, "strip", z.ZodTypeAny, {
288
288
  path: string;
289
289
  required: boolean;
290
+ revision?: string | undefined;
290
291
  sizeBytes?: number | undefined;
291
292
  etag?: string | undefined;
292
- revision?: string | undefined;
293
293
  sourceUrl?: string | undefined;
294
294
  raw?: unknown;
295
295
  }, {
296
296
  path: string;
297
297
  required: boolean;
298
+ revision?: string | undefined;
298
299
  sizeBytes?: number | undefined;
299
300
  etag?: string | undefined;
300
- revision?: string | undefined;
301
301
  sourceUrl?: string | undefined;
302
302
  raw?: unknown;
303
303
  }>;
@@ -326,17 +326,17 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
326
326
  }, "strip", z.ZodTypeAny, {
327
327
  path: string;
328
328
  required: boolean;
329
+ revision?: string | undefined;
329
330
  sizeBytes?: number | undefined;
330
331
  etag?: string | undefined;
331
- revision?: string | undefined;
332
332
  sourceUrl?: string | undefined;
333
333
  raw?: unknown;
334
334
  }, {
335
335
  path: string;
336
336
  required: boolean;
337
+ revision?: string | undefined;
337
338
  sizeBytes?: number | undefined;
338
339
  etag?: string | undefined;
339
- revision?: string | undefined;
340
340
  sourceUrl?: string | undefined;
341
341
  raw?: unknown;
342
342
  }>, "many">;
@@ -351,9 +351,9 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
351
351
  files: {
352
352
  path: string;
353
353
  required: boolean;
354
+ revision?: string | undefined;
354
355
  sizeBytes?: number | undefined;
355
356
  etag?: string | undefined;
356
- revision?: string | undefined;
357
357
  sourceUrl?: string | undefined;
358
358
  raw?: unknown;
359
359
  }[];
@@ -373,9 +373,9 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
373
373
  files: {
374
374
  path: string;
375
375
  required: boolean;
376
+ revision?: string | undefined;
376
377
  sizeBytes?: number | undefined;
377
378
  etag?: string | undefined;
378
- revision?: string | undefined;
379
379
  sourceUrl?: string | undefined;
380
380
  raw?: unknown;
381
381
  }[];
@@ -420,17 +420,17 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
420
420
  }, "strip", z.ZodTypeAny, {
421
421
  path: string;
422
422
  required: boolean;
423
+ revision?: string | undefined;
423
424
  sizeBytes?: number | undefined;
424
425
  etag?: string | undefined;
425
- revision?: string | undefined;
426
426
  sourceUrl?: string | undefined;
427
427
  raw?: unknown;
428
428
  }, {
429
429
  path: string;
430
430
  required: boolean;
431
+ revision?: string | undefined;
431
432
  sizeBytes?: number | undefined;
432
433
  etag?: string | undefined;
433
- revision?: string | undefined;
434
434
  sourceUrl?: string | undefined;
435
435
  raw?: unknown;
436
436
  }>, "many">;
@@ -445,9 +445,9 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
445
445
  files: {
446
446
  path: string;
447
447
  required: boolean;
448
+ revision?: string | undefined;
448
449
  sizeBytes?: number | undefined;
449
450
  etag?: string | undefined;
450
- revision?: string | undefined;
451
451
  sourceUrl?: string | undefined;
452
452
  raw?: unknown;
453
453
  }[];
@@ -467,9 +467,9 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
467
467
  files: {
468
468
  path: string;
469
469
  required: boolean;
470
+ revision?: string | undefined;
470
471
  sizeBytes?: number | undefined;
471
472
  etag?: string | undefined;
472
- revision?: string | undefined;
473
473
  sourceUrl?: string | undefined;
474
474
  raw?: unknown;
475
475
  }[];
@@ -481,9 +481,9 @@ 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
484
  source: "huggingface";
486
485
  revision: string;
486
+ updatedAt: number;
487
487
  commitHash: string;
488
488
  shortCommitHash: string;
489
489
  modelId: string;
@@ -500,9 +500,9 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
500
500
  files: {
501
501
  path: string;
502
502
  required: boolean;
503
+ revision?: string | undefined;
503
504
  sizeBytes?: number | undefined;
504
505
  etag?: string | undefined;
505
- revision?: string | undefined;
506
506
  sourceUrl?: string | undefined;
507
507
  raw?: unknown;
508
508
  }[];
@@ -515,9 +515,9 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
515
515
  groupOrder: string[];
516
516
  raw?: unknown;
517
517
  }, {
518
- updatedAt: number;
519
518
  source: "huggingface";
520
519
  revision: string;
520
+ updatedAt: number;
521
521
  commitHash: string;
522
522
  shortCommitHash: string;
523
523
  modelId: string;
@@ -535,9 +535,9 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
535
535
  files: {
536
536
  path: string;
537
537
  required: boolean;
538
+ revision?: string | undefined;
538
539
  sizeBytes?: number | undefined;
539
540
  etag?: string | undefined;
540
- revision?: string | undefined;
541
541
  sourceUrl?: string | undefined;
542
542
  raw?: unknown;
543
543
  }[];
@@ -559,8 +559,8 @@ 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
565
  error?: string | undefined;
566
566
  updatedAt?: number | undefined;
@@ -570,9 +570,9 @@ declare const LocalModelLifecycleFileStateSchema: z.ZodObject<{
570
570
  path: string;
571
571
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
572
572
  error?: string | undefined;
573
+ required?: boolean | undefined;
573
574
  updatedAt?: number | undefined;
574
575
  sizeBytes?: number | undefined;
575
- required?: boolean | undefined;
576
576
  downloadedBytes?: number | undefined;
577
577
  }>;
578
578
  type LocalModelLifecycleFileState = z.infer<typeof LocalModelLifecycleFileStateSchema>;
@@ -597,8 +597,8 @@ 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
603
  error?: string | undefined;
604
604
  updatedAt?: number | undefined;
@@ -608,24 +608,24 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
608
608
  path: string;
609
609
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
610
610
  error?: string | undefined;
611
+ required?: boolean | undefined;
611
612
  updatedAt?: number | undefined;
612
613
  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;
618
619
  resumable: boolean;
619
620
  files: {
620
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
621
621
  path: string;
622
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
622
623
  required: boolean;
623
624
  error?: string | undefined;
624
625
  updatedAt?: number | undefined;
625
626
  sizeBytes?: number | undefined;
626
627
  downloadedBytes?: number | undefined;
627
628
  }[];
628
- groupId: string;
629
629
  error?: string | undefined;
630
630
  updatedAt?: number | undefined;
631
631
  baseGroupId?: string | undefined;
@@ -649,9 +649,9 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
649
649
  path: string;
650
650
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
651
651
  error?: string | undefined;
652
+ required?: boolean | undefined;
652
653
  updatedAt?: number | undefined;
653
654
  sizeBytes?: number | undefined;
654
- required?: boolean | undefined;
655
655
  downloadedBytes?: number | undefined;
656
656
  }[] | undefined;
657
657
  installedAt?: number | undefined;
@@ -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: "ready" | "error" | "loading" | "idle";
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?: "ready" | "error" | "loading" | "idle" | undefined;
673
673
  error?: string | undefined;
674
674
  updatedAt?: number | undefined;
675
675
  }>;
@@ -701,11 +701,14 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
701
701
  }>, "many">>;
702
702
  updatedAt: z.ZodNumber;
703
703
  }, "strip", z.ZodTypeAny, {
704
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
705
704
  message: string;
705
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
706
+ engineId: "local" | "local-ct2" | "local-llama";
706
707
  updatedAt: number;
707
708
  modelId: string;
708
- engineId: "local" | "local-ct2" | "local-llama";
709
+ selectedGroupId?: string | undefined;
710
+ sessionId?: string | undefined;
711
+ groupId?: string | undefined;
709
712
  progress?: number | undefined;
710
713
  bytesDownloaded?: number | undefined;
711
714
  totalBytes?: number | undefined;
@@ -715,15 +718,15 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
715
718
  sizeBytes?: number | undefined;
716
719
  downloadedBytes?: number | undefined;
717
720
  }[] | undefined;
718
- groupId?: string | undefined;
719
- selectedGroupId?: string | undefined;
720
- sessionId?: string | undefined;
721
721
  }, {
722
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
723
722
  message: string;
723
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
724
+ engineId: "local" | "local-ct2" | "local-llama";
724
725
  updatedAt: number;
725
726
  modelId: string;
726
- engineId: "local" | "local-ct2" | "local-llama";
727
+ selectedGroupId?: string | undefined;
728
+ sessionId?: string | undefined;
729
+ groupId?: string | undefined;
727
730
  progress?: number | undefined;
728
731
  bytesDownloaded?: number | undefined;
729
732
  totalBytes?: number | undefined;
@@ -733,9 +736,6 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
733
736
  sizeBytes?: number | undefined;
734
737
  downloadedBytes?: number | undefined;
735
738
  }[] | undefined;
736
- groupId?: string | undefined;
737
- selectedGroupId?: string | undefined;
738
- sessionId?: string | undefined;
739
739
  }>;
740
740
  type LocalModelAssetLog = z.infer<typeof LocalModelAssetLogSchema>;
741
741
  declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
@@ -752,17 +752,17 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
752
752
  }, "strip", z.ZodTypeAny, {
753
753
  path: string;
754
754
  required: boolean;
755
+ revision?: string | undefined;
755
756
  sizeBytes?: number | undefined;
756
757
  etag?: string | undefined;
757
- revision?: string | undefined;
758
758
  sourceUrl?: string | undefined;
759
759
  raw?: unknown;
760
760
  }, {
761
761
  path: string;
762
762
  required: boolean;
763
+ revision?: string | undefined;
763
764
  sizeBytes?: number | undefined;
764
765
  etag?: string | undefined;
765
- revision?: string | undefined;
766
766
  sourceUrl?: string | undefined;
767
767
  raw?: unknown;
768
768
  }>, "many">;
@@ -798,17 +798,17 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
798
798
  }, "strip", z.ZodTypeAny, {
799
799
  path: string;
800
800
  required: boolean;
801
+ revision?: string | undefined;
801
802
  sizeBytes?: number | undefined;
802
803
  etag?: string | undefined;
803
- revision?: string | undefined;
804
804
  sourceUrl?: string | undefined;
805
805
  raw?: unknown;
806
806
  }, {
807
807
  path: string;
808
808
  required: boolean;
809
+ revision?: string | undefined;
809
810
  sizeBytes?: number | undefined;
810
811
  etag?: string | undefined;
811
- revision?: string | undefined;
812
812
  sourceUrl?: string | undefined;
813
813
  raw?: unknown;
814
814
  }>, "many">;
@@ -820,9 +820,9 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
820
820
  files: {
821
821
  path: string;
822
822
  required: boolean;
823
+ revision?: string | undefined;
823
824
  sizeBytes?: number | undefined;
824
825
  etag?: string | undefined;
825
- revision?: string | undefined;
826
826
  sourceUrl?: string | undefined;
827
827
  raw?: unknown;
828
828
  }[];
@@ -848,9 +848,9 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
848
848
  files: {
849
849
  path: string;
850
850
  required: boolean;
851
+ revision?: string | undefined;
851
852
  sizeBytes?: number | undefined;
852
853
  etag?: string | undefined;
853
- revision?: string | undefined;
854
854
  sourceUrl?: string | undefined;
855
855
  raw?: unknown;
856
856
  }[];
@@ -873,14 +873,15 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
873
873
  files: {
874
874
  path: string;
875
875
  required: boolean;
876
+ revision?: string | undefined;
876
877
  sizeBytes?: number | undefined;
877
878
  etag?: string | undefined;
878
- revision?: string | undefined;
879
879
  sourceUrl?: string | undefined;
880
880
  raw?: unknown;
881
881
  }[];
882
882
  modelId: string;
883
883
  profile?: string | undefined;
884
+ selectedGroupId?: string | undefined;
884
885
  estimatedTotalBytes?: number | undefined;
885
886
  groups?: {
886
887
  id: string;
@@ -890,9 +891,9 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
890
891
  files: {
891
892
  path: string;
892
893
  required: boolean;
894
+ revision?: string | undefined;
893
895
  sizeBytes?: number | undefined;
894
896
  etag?: string | undefined;
895
- revision?: string | undefined;
896
897
  sourceUrl?: string | undefined;
897
898
  raw?: unknown;
898
899
  }[];
@@ -911,19 +912,19 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
911
912
  totalBytes?: number | undefined;
912
913
  resumable?: boolean | undefined;
913
914
  }[] | undefined;
914
- selectedGroupId?: string | undefined;
915
915
  }, {
916
916
  files: {
917
917
  path: string;
918
918
  required: boolean;
919
+ revision?: string | undefined;
919
920
  sizeBytes?: number | undefined;
920
921
  etag?: string | undefined;
921
- revision?: string | undefined;
922
922
  sourceUrl?: string | undefined;
923
923
  raw?: unknown;
924
924
  }[];
925
925
  modelId: string;
926
926
  profile?: string | undefined;
927
+ selectedGroupId?: string | undefined;
927
928
  estimatedTotalBytes?: number | undefined;
928
929
  groups?: {
929
930
  id: string;
@@ -933,9 +934,9 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
933
934
  files: {
934
935
  path: string;
935
936
  required: boolean;
937
+ revision?: string | undefined;
936
938
  sizeBytes?: number | undefined;
937
939
  etag?: string | undefined;
938
- revision?: string | undefined;
939
940
  sourceUrl?: string | undefined;
940
941
  raw?: unknown;
941
942
  }[];
@@ -954,7 +955,6 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
954
955
  totalBytes?: number | undefined;
955
956
  resumable?: boolean | undefined;
956
957
  }[] | undefined;
957
- selectedGroupId?: string | undefined;
958
958
  }>;
959
959
  type LocalModelAssetPlanSnapshot = z.infer<typeof LocalModelAssetPlanSnapshotSchema>;
960
960
  declare const LocalModelAssetStateSchema: z.ZodObject<{
@@ -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: "ready" | "error" | "loading" | "idle";
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?: "ready" | "error" | "loading" | "idle" | undefined;
986
986
  error?: string | undefined;
987
987
  updatedAt?: number | undefined;
988
988
  }>>;
@@ -1020,17 +1020,17 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1020
1020
  }, "strip", z.ZodTypeAny, {
1021
1021
  path: string;
1022
1022
  required: boolean;
1023
+ revision?: string | undefined;
1023
1024
  sizeBytes?: number | undefined;
1024
1025
  etag?: string | undefined;
1025
- revision?: string | undefined;
1026
1026
  sourceUrl?: string | undefined;
1027
1027
  raw?: unknown;
1028
1028
  }, {
1029
1029
  path: string;
1030
1030
  required: boolean;
1031
+ revision?: string | undefined;
1031
1032
  sizeBytes?: number | undefined;
1032
1033
  etag?: string | undefined;
1033
- revision?: string | undefined;
1034
1034
  sourceUrl?: string | undefined;
1035
1035
  raw?: unknown;
1036
1036
  }>, "many">;
@@ -1045,9 +1045,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1045
1045
  files: {
1046
1046
  path: string;
1047
1047
  required: boolean;
1048
+ revision?: string | undefined;
1048
1049
  sizeBytes?: number | undefined;
1049
1050
  etag?: string | undefined;
1050
- revision?: string | undefined;
1051
1051
  sourceUrl?: string | undefined;
1052
1052
  raw?: unknown;
1053
1053
  }[];
@@ -1067,9 +1067,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1067
1067
  files: {
1068
1068
  path: string;
1069
1069
  required: boolean;
1070
+ revision?: string | undefined;
1070
1071
  sizeBytes?: number | undefined;
1071
1072
  etag?: string | undefined;
1072
- revision?: string | undefined;
1073
1073
  sourceUrl?: string | undefined;
1074
1074
  raw?: unknown;
1075
1075
  }[];
@@ -1081,9 +1081,9 @@ 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
1084
  source: "huggingface";
1086
1085
  revision: string;
1086
+ updatedAt: number;
1087
1087
  commitHash: string;
1088
1088
  shortCommitHash: string;
1089
1089
  modelId: string;
@@ -1100,9 +1100,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1100
1100
  files: {
1101
1101
  path: string;
1102
1102
  required: boolean;
1103
+ revision?: string | undefined;
1103
1104
  sizeBytes?: number | undefined;
1104
1105
  etag?: string | undefined;
1105
- revision?: string | undefined;
1106
1106
  sourceUrl?: string | undefined;
1107
1107
  raw?: unknown;
1108
1108
  }[];
@@ -1115,9 +1115,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1115
1115
  groupOrder: string[];
1116
1116
  raw?: unknown;
1117
1117
  }, {
1118
- updatedAt: number;
1119
1118
  source: "huggingface";
1120
1119
  revision: string;
1120
+ updatedAt: number;
1121
1121
  commitHash: string;
1122
1122
  shortCommitHash: string;
1123
1123
  modelId: string;
@@ -1135,9 +1135,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1135
1135
  files: {
1136
1136
  path: string;
1137
1137
  required: boolean;
1138
+ revision?: string | undefined;
1138
1139
  sizeBytes?: number | undefined;
1139
1140
  etag?: string | undefined;
1140
- revision?: string | undefined;
1141
1141
  sourceUrl?: string | undefined;
1142
1142
  raw?: unknown;
1143
1143
  }[];
@@ -1170,8 +1170,8 @@ 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
1176
  error?: string | undefined;
1177
1177
  updatedAt?: number | undefined;
@@ -1181,24 +1181,24 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1181
1181
  path: string;
1182
1182
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1183
1183
  error?: string | undefined;
1184
+ required?: boolean | undefined;
1184
1185
  updatedAt?: number | undefined;
1185
1186
  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;
1191
1192
  resumable: boolean;
1192
1193
  files: {
1193
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1194
1194
  path: string;
1195
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1195
1196
  required: boolean;
1196
1197
  error?: string | undefined;
1197
1198
  updatedAt?: number | undefined;
1198
1199
  sizeBytes?: number | undefined;
1199
1200
  downloadedBytes?: number | undefined;
1200
1201
  }[];
1201
- groupId: string;
1202
1202
  error?: string | undefined;
1203
1203
  updatedAt?: number | undefined;
1204
1204
  baseGroupId?: string | undefined;
@@ -1222,9 +1222,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1222
1222
  path: string;
1223
1223
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1224
1224
  error?: string | undefined;
1225
+ required?: boolean | undefined;
1225
1226
  updatedAt?: number | undefined;
1226
1227
  sizeBytes?: number | undefined;
1227
- required?: boolean | undefined;
1228
1228
  downloadedBytes?: number | undefined;
1229
1229
  }[] | undefined;
1230
1230
  installedAt?: number | undefined;
@@ -1243,17 +1243,17 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1243
1243
  }, "strip", z.ZodTypeAny, {
1244
1244
  path: string;
1245
1245
  required: boolean;
1246
+ revision?: string | undefined;
1246
1247
  sizeBytes?: number | undefined;
1247
1248
  etag?: string | undefined;
1248
- revision?: string | undefined;
1249
1249
  sourceUrl?: string | undefined;
1250
1250
  raw?: unknown;
1251
1251
  }, {
1252
1252
  path: string;
1253
1253
  required: boolean;
1254
+ revision?: string | undefined;
1254
1255
  sizeBytes?: number | undefined;
1255
1256
  etag?: string | undefined;
1256
- revision?: string | undefined;
1257
1257
  sourceUrl?: string | undefined;
1258
1258
  raw?: unknown;
1259
1259
  }>, "many">;
@@ -1289,17 +1289,17 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1289
1289
  }, "strip", z.ZodTypeAny, {
1290
1290
  path: string;
1291
1291
  required: boolean;
1292
+ revision?: string | undefined;
1292
1293
  sizeBytes?: number | undefined;
1293
1294
  etag?: string | undefined;
1294
- revision?: string | undefined;
1295
1295
  sourceUrl?: string | undefined;
1296
1296
  raw?: unknown;
1297
1297
  }, {
1298
1298
  path: string;
1299
1299
  required: boolean;
1300
+ revision?: string | undefined;
1300
1301
  sizeBytes?: number | undefined;
1301
1302
  etag?: string | undefined;
1302
- revision?: string | undefined;
1303
1303
  sourceUrl?: string | undefined;
1304
1304
  raw?: unknown;
1305
1305
  }>, "many">;
@@ -1311,9 +1311,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1311
1311
  files: {
1312
1312
  path: string;
1313
1313
  required: boolean;
1314
+ revision?: string | undefined;
1314
1315
  sizeBytes?: number | undefined;
1315
1316
  etag?: string | undefined;
1316
- revision?: string | undefined;
1317
1317
  sourceUrl?: string | undefined;
1318
1318
  raw?: unknown;
1319
1319
  }[];
@@ -1339,9 +1339,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1339
1339
  files: {
1340
1340
  path: string;
1341
1341
  required: boolean;
1342
+ revision?: string | undefined;
1342
1343
  sizeBytes?: number | undefined;
1343
1344
  etag?: string | undefined;
1344
- revision?: string | undefined;
1345
1345
  sourceUrl?: string | undefined;
1346
1346
  raw?: unknown;
1347
1347
  }[];
@@ -1364,14 +1364,15 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1364
1364
  files: {
1365
1365
  path: string;
1366
1366
  required: boolean;
1367
+ revision?: string | undefined;
1367
1368
  sizeBytes?: number | undefined;
1368
1369
  etag?: string | undefined;
1369
- revision?: string | undefined;
1370
1370
  sourceUrl?: string | undefined;
1371
1371
  raw?: unknown;
1372
1372
  }[];
1373
1373
  modelId: string;
1374
1374
  profile?: string | undefined;
1375
+ selectedGroupId?: string | undefined;
1375
1376
  estimatedTotalBytes?: number | undefined;
1376
1377
  groups?: {
1377
1378
  id: string;
@@ -1381,9 +1382,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1381
1382
  files: {
1382
1383
  path: string;
1383
1384
  required: boolean;
1385
+ revision?: string | undefined;
1384
1386
  sizeBytes?: number | undefined;
1385
1387
  etag?: string | undefined;
1386
- revision?: string | undefined;
1387
1388
  sourceUrl?: string | undefined;
1388
1389
  raw?: unknown;
1389
1390
  }[];
@@ -1402,19 +1403,19 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1402
1403
  totalBytes?: number | undefined;
1403
1404
  resumable?: boolean | undefined;
1404
1405
  }[] | undefined;
1405
- selectedGroupId?: string | undefined;
1406
1406
  }, {
1407
1407
  files: {
1408
1408
  path: string;
1409
1409
  required: boolean;
1410
+ revision?: string | undefined;
1410
1411
  sizeBytes?: number | undefined;
1411
1412
  etag?: string | undefined;
1412
- revision?: string | undefined;
1413
1413
  sourceUrl?: string | undefined;
1414
1414
  raw?: unknown;
1415
1415
  }[];
1416
1416
  modelId: string;
1417
1417
  profile?: string | undefined;
1418
+ selectedGroupId?: string | undefined;
1418
1419
  estimatedTotalBytes?: number | undefined;
1419
1420
  groups?: {
1420
1421
  id: string;
@@ -1424,9 +1425,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1424
1425
  files: {
1425
1426
  path: string;
1426
1427
  required: boolean;
1428
+ revision?: string | undefined;
1427
1429
  sizeBytes?: number | undefined;
1428
1430
  etag?: string | undefined;
1429
- revision?: string | undefined;
1430
1431
  sourceUrl?: string | undefined;
1431
1432
  raw?: unknown;
1432
1433
  }[];
@@ -1445,7 +1446,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1445
1446
  totalBytes?: number | undefined;
1446
1447
  resumable?: boolean | undefined;
1447
1448
  }[] | undefined;
1448
- selectedGroupId?: string | undefined;
1449
1449
  }>>;
1450
1450
  files: z.ZodDefault<z.ZodArray<z.ZodObject<{
1451
1451
  path: z.ZodString;
@@ -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,26 +1471,25 @@ 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" | "loading" | "ready" | "idle";
1475
+ status: "ready" | "error" | "loading" | "idle";
1476
1476
  message?: string | undefined;
1477
1477
  error?: string | undefined;
1478
1478
  updatedAt?: number | undefined;
1479
1479
  };
1480
1480
  groupsState: Record<string, {
1481
1481
  status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1482
+ groupId: string;
1482
1483
  resumable: boolean;
1483
1484
  files: {
1484
- status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1485
1485
  path: string;
1486
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
1486
1487
  required: boolean;
1487
1488
  error?: string | undefined;
1488
1489
  updatedAt?: number | undefined;
1489
1490
  sizeBytes?: number | undefined;
1490
1491
  downloadedBytes?: number | undefined;
1491
1492
  }[];
1492
- groupId: string;
1493
1493
  error?: string | undefined;
1494
1494
  updatedAt?: number | undefined;
1495
1495
  baseGroupId?: string | undefined;
@@ -1500,16 +1500,16 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1500
1500
  installedAt?: number | undefined;
1501
1501
  }>;
1502
1502
  error?: string | undefined;
1503
+ selectedGroupId?: string | undefined;
1503
1504
  updatedAt?: number | undefined;
1504
1505
  progress?: number | undefined;
1505
1506
  bytesDownloaded?: number | undefined;
1506
1507
  totalBytes?: number | undefined;
1507
1508
  installedAt?: number | undefined;
1508
- selectedGroupId?: string | undefined;
1509
1509
  profileManifest?: {
1510
- updatedAt: number;
1511
1510
  source: "huggingface";
1512
1511
  revision: string;
1512
+ updatedAt: number;
1513
1513
  commitHash: string;
1514
1514
  shortCommitHash: string;
1515
1515
  modelId: string;
@@ -1526,9 +1526,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1526
1526
  files: {
1527
1527
  path: string;
1528
1528
  required: boolean;
1529
+ revision?: string | undefined;
1529
1530
  sizeBytes?: number | undefined;
1530
1531
  etag?: string | undefined;
1531
- revision?: string | undefined;
1532
1532
  sourceUrl?: string | undefined;
1533
1533
  raw?: unknown;
1534
1534
  }[];
@@ -1545,14 +1545,15 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1545
1545
  files: {
1546
1546
  path: string;
1547
1547
  required: boolean;
1548
+ revision?: string | undefined;
1548
1549
  sizeBytes?: number | undefined;
1549
1550
  etag?: string | undefined;
1550
- revision?: string | undefined;
1551
1551
  sourceUrl?: string | undefined;
1552
1552
  raw?: unknown;
1553
1553
  }[];
1554
1554
  modelId: string;
1555
1555
  profile?: string | undefined;
1556
+ selectedGroupId?: string | undefined;
1556
1557
  estimatedTotalBytes?: number | undefined;
1557
1558
  groups?: {
1558
1559
  id: string;
@@ -1562,9 +1563,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1562
1563
  files: {
1563
1564
  path: string;
1564
1565
  required: boolean;
1566
+ revision?: string | undefined;
1565
1567
  sizeBytes?: number | undefined;
1566
1568
  etag?: string | undefined;
1567
- revision?: string | undefined;
1568
1569
  sourceUrl?: string | undefined;
1569
1570
  raw?: unknown;
1570
1571
  }[];
@@ -1583,12 +1584,13 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1583
1584
  totalBytes?: number | undefined;
1584
1585
  resumable?: boolean | undefined;
1585
1586
  }[] | undefined;
1586
- selectedGroupId?: string | undefined;
1587
1587
  } | undefined;
1588
1588
  }, {
1589
1589
  modelId: string;
1590
1590
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1591
1591
  error?: string | undefined;
1592
+ version?: 2 | undefined;
1593
+ selectedGroupId?: string | undefined;
1592
1594
  updatedAt?: number | undefined;
1593
1595
  progress?: number | undefined;
1594
1596
  bytesDownloaded?: number | undefined;
@@ -1601,18 +1603,16 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1601
1603
  downloadedBytes?: number | undefined;
1602
1604
  }[] | undefined;
1603
1605
  installedAt?: number | undefined;
1604
- selectedGroupId?: string | undefined;
1605
- version?: 2 | undefined;
1606
1606
  profileLoad?: {
1607
- status?: "error" | "loading" | "ready" | "idle" | undefined;
1608
1607
  message?: string | undefined;
1608
+ status?: "ready" | "error" | "loading" | "idle" | undefined;
1609
1609
  error?: string | undefined;
1610
1610
  updatedAt?: number | undefined;
1611
1611
  } | undefined;
1612
1612
  profileManifest?: {
1613
- updatedAt: number;
1614
1613
  source: "huggingface";
1615
1614
  revision: string;
1615
+ updatedAt: number;
1616
1616
  commitHash: string;
1617
1617
  shortCommitHash: string;
1618
1618
  modelId: string;
@@ -1630,9 +1630,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1630
1630
  files: {
1631
1631
  path: string;
1632
1632
  required: boolean;
1633
+ revision?: string | undefined;
1633
1634
  sizeBytes?: number | undefined;
1634
1635
  etag?: string | undefined;
1635
- revision?: string | undefined;
1636
1636
  sourceUrl?: string | undefined;
1637
1637
  raw?: unknown;
1638
1638
  }[];
@@ -1659,9 +1659,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1659
1659
  path: string;
1660
1660
  status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
1661
1661
  error?: string | undefined;
1662
+ required?: boolean | undefined;
1662
1663
  updatedAt?: number | undefined;
1663
1664
  sizeBytes?: number | undefined;
1664
- required?: boolean | undefined;
1665
1665
  downloadedBytes?: number | undefined;
1666
1666
  }[] | undefined;
1667
1667
  installedAt?: number | undefined;
@@ -1670,14 +1670,15 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1670
1670
  files: {
1671
1671
  path: string;
1672
1672
  required: boolean;
1673
+ revision?: string | undefined;
1673
1674
  sizeBytes?: number | undefined;
1674
1675
  etag?: string | undefined;
1675
- revision?: string | undefined;
1676
1676
  sourceUrl?: string | undefined;
1677
1677
  raw?: unknown;
1678
1678
  }[];
1679
1679
  modelId: string;
1680
1680
  profile?: string | undefined;
1681
+ selectedGroupId?: string | undefined;
1681
1682
  estimatedTotalBytes?: number | undefined;
1682
1683
  groups?: {
1683
1684
  id: string;
@@ -1687,9 +1688,9 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1687
1688
  files: {
1688
1689
  path: string;
1689
1690
  required: boolean;
1691
+ revision?: string | undefined;
1690
1692
  sizeBytes?: number | undefined;
1691
1693
  etag?: string | undefined;
1692
- revision?: string | undefined;
1693
1694
  sourceUrl?: string | undefined;
1694
1695
  raw?: unknown;
1695
1696
  }[];
@@ -1708,7 +1709,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1708
1709
  totalBytes?: number | undefined;
1709
1710
  resumable?: boolean | undefined;
1710
1711
  }[] | undefined;
1711
- selectedGroupId?: string | undefined;
1712
1712
  } | undefined;
1713
1713
  }>;
1714
1714
  type LocalModelAssetState = z.infer<typeof LocalModelAssetStateSchema>;
@@ -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: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
1819
+ state: "ready" | "error" | "downloading" | "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: "ready" | "error" | "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: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
1877
+ state: "ready" | "error" | "downloading" | "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: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
1902
+ state: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
1922
+ state: "ready" | "error" | "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: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
2012
+ state: "ready" | "error" | "downloading" | "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: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
2037
+ state: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
2057
+ state: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
2080
+ state: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
2103
+ state: "ready" | "error" | "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: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
2166
+ state: "ready" | "error" | "downloading" | "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: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
2191
+ state: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
2211
+ state: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
2234
+ state: "ready" | "error" | "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: "ready" | "error" | "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" | "ready" | "downloading" | "missing" | "not-applicable";
2257
+ state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
2258
2258
  message?: string | undefined;
2259
2259
  error?: string | undefined;
2260
2260
  progress?: number | undefined;
@@ -2380,26 +2380,26 @@ declare const TranslationOpenAISettingsSchema: z.ZodObject<{
2380
2380
  token: z.ZodDefault<z.ZodString>;
2381
2381
  model: z.ZodDefault<z.ZodString>;
2382
2382
  }, "strip", z.ZodTypeAny, {
2383
+ model: string;
2383
2384
  baseUrl: string;
2384
2385
  token: string;
2385
- model: string;
2386
2386
  }, {
2387
+ model?: string | undefined;
2387
2388
  baseUrl?: string | undefined;
2388
2389
  token?: string | undefined;
2389
- model?: string | undefined;
2390
2390
  }>;
2391
2391
  declare const TranslationOpenAISettingsUpdateSchema: z.ZodObject<{
2392
2392
  baseUrl: z.ZodOptional<z.ZodString>;
2393
2393
  token: z.ZodOptional<z.ZodString>;
2394
2394
  model: z.ZodOptional<z.ZodString>;
2395
2395
  }, "strip", z.ZodTypeAny, {
2396
+ model?: string | undefined;
2396
2397
  baseUrl?: string | undefined;
2397
2398
  token?: string | undefined;
2398
- model?: string | undefined;
2399
2399
  }, {
2400
+ model?: string | undefined;
2400
2401
  baseUrl?: string | undefined;
2401
2402
  token?: string | undefined;
2402
- model?: string | undefined;
2403
2403
  }>;
2404
2404
  type TranslationOpenAISettings = z.infer<typeof TranslationOpenAISettingsSchema>;
2405
2405
  declare const TranslationLocalSettingsSchema: z.ZodObject<{
@@ -2413,8 +2413,8 @@ declare const TranslationLocalSettingsSchema: z.ZodObject<{
2413
2413
  memoryBudgetPercent: number;
2414
2414
  selectedGroupId?: string | undefined;
2415
2415
  }, {
2416
- selectedGroupId?: string | undefined;
2417
2416
  model?: string | undefined;
2417
+ selectedGroupId?: string | undefined;
2418
2418
  hfEndpoint?: string | undefined;
2419
2419
  memoryBudgetPercent?: number | undefined;
2420
2420
  }>;
@@ -2424,13 +2424,13 @@ declare const TranslationLocalSettingsUpdateSchema: z.ZodObject<{
2424
2424
  hfEndpoint: z.ZodOptional<z.ZodString>;
2425
2425
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2426
2426
  }, "strip", z.ZodTypeAny, {
2427
- selectedGroupId?: string | null | undefined;
2428
2427
  model?: string | undefined;
2428
+ selectedGroupId?: string | null | undefined;
2429
2429
  hfEndpoint?: string | undefined;
2430
2430
  memoryBudgetPercent?: number | undefined;
2431
2431
  }, {
2432
- selectedGroupId?: string | null | undefined;
2433
2432
  model?: string | undefined;
2433
+ selectedGroupId?: string | null | undefined;
2434
2434
  hfEndpoint?: string | undefined;
2435
2435
  memoryBudgetPercent?: number | undefined;
2436
2436
  }>;
@@ -2446,8 +2446,8 @@ declare const TranslationLocalCt2SettingsSchema: z.ZodObject<{
2446
2446
  memoryBudgetPercent: number;
2447
2447
  selectedGroupId?: string | undefined;
2448
2448
  }, {
2449
- selectedGroupId?: string | undefined;
2450
2449
  model?: string | undefined;
2450
+ selectedGroupId?: string | undefined;
2451
2451
  hfEndpoint?: string | undefined;
2452
2452
  memoryBudgetPercent?: number | undefined;
2453
2453
  }>;
@@ -2457,13 +2457,13 @@ declare const TranslationLocalCt2SettingsUpdateSchema: z.ZodObject<{
2457
2457
  hfEndpoint: z.ZodOptional<z.ZodString>;
2458
2458
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2459
2459
  }, "strip", z.ZodTypeAny, {
2460
- selectedGroupId?: string | null | undefined;
2461
2460
  model?: string | undefined;
2461
+ selectedGroupId?: string | null | undefined;
2462
2462
  hfEndpoint?: string | undefined;
2463
2463
  memoryBudgetPercent?: number | undefined;
2464
2464
  }, {
2465
- selectedGroupId?: string | null | undefined;
2466
2465
  model?: string | undefined;
2466
+ selectedGroupId?: string | null | undefined;
2467
2467
  hfEndpoint?: string | undefined;
2468
2468
  memoryBudgetPercent?: number | undefined;
2469
2469
  }>;
@@ -2479,8 +2479,8 @@ declare const TranslationLocalLlamaSettingsSchema: z.ZodObject<{
2479
2479
  memoryBudgetPercent: number;
2480
2480
  selectedGroupId?: string | undefined;
2481
2481
  }, {
2482
- selectedGroupId?: string | undefined;
2483
2482
  model?: string | undefined;
2483
+ selectedGroupId?: string | undefined;
2484
2484
  hfEndpoint?: string | undefined;
2485
2485
  memoryBudgetPercent?: number | undefined;
2486
2486
  }>;
@@ -2490,13 +2490,13 @@ declare const TranslationLocalLlamaSettingsUpdateSchema: z.ZodObject<{
2490
2490
  hfEndpoint: z.ZodOptional<z.ZodString>;
2491
2491
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2492
2492
  }, "strip", z.ZodTypeAny, {
2493
- selectedGroupId?: string | null | undefined;
2494
2493
  model?: string | undefined;
2494
+ selectedGroupId?: string | null | undefined;
2495
2495
  hfEndpoint?: string | undefined;
2496
2496
  memoryBudgetPercent?: number | undefined;
2497
2497
  }, {
2498
- selectedGroupId?: string | null | undefined;
2499
2498
  model?: string | undefined;
2499
+ selectedGroupId?: string | null | undefined;
2500
2500
  hfEndpoint?: string | undefined;
2501
2501
  memoryBudgetPercent?: number | undefined;
2502
2502
  }>;
@@ -2508,13 +2508,13 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2508
2508
  token: z.ZodDefault<z.ZodString>;
2509
2509
  model: z.ZodDefault<z.ZodString>;
2510
2510
  }, "strip", z.ZodTypeAny, {
2511
+ model: string;
2511
2512
  baseUrl: string;
2512
2513
  token: string;
2513
- model: string;
2514
2514
  }, {
2515
+ model?: string | undefined;
2515
2516
  baseUrl?: string | undefined;
2516
2517
  token?: string | undefined;
2517
- model?: string | undefined;
2518
2518
  }>>;
2519
2519
  local: z.ZodDefault<z.ZodObject<{
2520
2520
  model: z.ZodDefault<z.ZodString>;
@@ -2527,8 +2527,8 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2527
2527
  memoryBudgetPercent: number;
2528
2528
  selectedGroupId?: string | undefined;
2529
2529
  }, {
2530
- selectedGroupId?: string | undefined;
2531
2530
  model?: string | undefined;
2531
+ selectedGroupId?: string | undefined;
2532
2532
  hfEndpoint?: string | undefined;
2533
2533
  memoryBudgetPercent?: number | undefined;
2534
2534
  }>>;
@@ -2543,8 +2543,8 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2543
2543
  memoryBudgetPercent: number;
2544
2544
  selectedGroupId?: string | undefined;
2545
2545
  }, {
2546
- selectedGroupId?: string | undefined;
2547
2546
  model?: string | undefined;
2547
+ selectedGroupId?: string | undefined;
2548
2548
  hfEndpoint?: string | undefined;
2549
2549
  memoryBudgetPercent?: number | undefined;
2550
2550
  }>>;
@@ -2559,8 +2559,8 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2559
2559
  memoryBudgetPercent: number;
2560
2560
  selectedGroupId?: string | undefined;
2561
2561
  }, {
2562
- selectedGroupId?: string | undefined;
2563
2562
  model?: string | undefined;
2563
+ selectedGroupId?: string | undefined;
2564
2564
  hfEndpoint?: string | undefined;
2565
2565
  memoryBudgetPercent?: number | undefined;
2566
2566
  }>>;
@@ -2571,12 +2571,6 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2571
2571
  memoryBudgetPercent: number;
2572
2572
  selectedGroupId?: string | undefined;
2573
2573
  };
2574
- openai: {
2575
- baseUrl: string;
2576
- token: string;
2577
- model: string;
2578
- };
2579
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
2580
2574
  localCt2: {
2581
2575
  model: string;
2582
2576
  hfEndpoint: string;
@@ -2589,31 +2583,37 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2589
2583
  memoryBudgetPercent: number;
2590
2584
  selectedGroupId?: string | undefined;
2591
2585
  };
2586
+ openai: {
2587
+ model: string;
2588
+ baseUrl: string;
2589
+ token: string;
2590
+ };
2591
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2592
2592
  }, {
2593
2593
  local?: {
2594
- selectedGroupId?: string | undefined;
2595
2594
  model?: string | undefined;
2595
+ selectedGroupId?: string | undefined;
2596
2596
  hfEndpoint?: string | undefined;
2597
2597
  memoryBudgetPercent?: number | undefined;
2598
2598
  } | undefined;
2599
- openai?: {
2600
- baseUrl?: string | undefined;
2601
- token?: string | undefined;
2602
- model?: string | undefined;
2603
- } | undefined;
2604
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2605
2599
  localCt2?: {
2606
- selectedGroupId?: string | undefined;
2607
2600
  model?: string | undefined;
2601
+ selectedGroupId?: string | undefined;
2608
2602
  hfEndpoint?: string | undefined;
2609
2603
  memoryBudgetPercent?: number | undefined;
2610
2604
  } | undefined;
2611
2605
  localLlama?: {
2612
- selectedGroupId?: string | undefined;
2613
2606
  model?: string | undefined;
2607
+ selectedGroupId?: string | undefined;
2614
2608
  hfEndpoint?: string | undefined;
2615
2609
  memoryBudgetPercent?: number | undefined;
2616
2610
  } | undefined;
2611
+ openai?: {
2612
+ model?: string | undefined;
2613
+ baseUrl?: string | undefined;
2614
+ token?: string | undefined;
2615
+ } | undefined;
2616
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
2617
2617
  }>;
2618
2618
  declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2619
2619
  engineId: z.ZodOptional<z.ZodEnum<["browser", "local", "local-ct2", "local-llama", "openai"]>>;
@@ -2622,13 +2622,13 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2622
2622
  token: z.ZodOptional<z.ZodString>;
2623
2623
  model: z.ZodOptional<z.ZodString>;
2624
2624
  }, "strip", z.ZodTypeAny, {
2625
+ model?: string | undefined;
2625
2626
  baseUrl?: string | undefined;
2626
2627
  token?: string | undefined;
2627
- model?: string | undefined;
2628
2628
  }, {
2629
+ model?: string | undefined;
2629
2630
  baseUrl?: string | undefined;
2630
2631
  token?: string | undefined;
2631
- model?: string | undefined;
2632
2632
  }>>;
2633
2633
  local: z.ZodOptional<z.ZodObject<{
2634
2634
  model: z.ZodOptional<z.ZodString>;
@@ -2636,13 +2636,13 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2636
2636
  hfEndpoint: z.ZodOptional<z.ZodString>;
2637
2637
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2638
2638
  }, "strip", z.ZodTypeAny, {
2639
- selectedGroupId?: string | null | undefined;
2640
2639
  model?: string | undefined;
2640
+ selectedGroupId?: string | null | undefined;
2641
2641
  hfEndpoint?: string | undefined;
2642
2642
  memoryBudgetPercent?: number | undefined;
2643
2643
  }, {
2644
- selectedGroupId?: string | null | undefined;
2645
2644
  model?: string | undefined;
2645
+ selectedGroupId?: string | null | undefined;
2646
2646
  hfEndpoint?: string | undefined;
2647
2647
  memoryBudgetPercent?: number | undefined;
2648
2648
  }>>;
@@ -2652,13 +2652,13 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2652
2652
  hfEndpoint: z.ZodOptional<z.ZodString>;
2653
2653
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2654
2654
  }, "strip", z.ZodTypeAny, {
2655
- selectedGroupId?: string | null | undefined;
2656
2655
  model?: string | undefined;
2656
+ selectedGroupId?: string | null | undefined;
2657
2657
  hfEndpoint?: string | undefined;
2658
2658
  memoryBudgetPercent?: number | undefined;
2659
2659
  }, {
2660
- selectedGroupId?: string | null | undefined;
2661
2660
  model?: string | undefined;
2661
+ selectedGroupId?: string | null | undefined;
2662
2662
  hfEndpoint?: string | undefined;
2663
2663
  memoryBudgetPercent?: number | undefined;
2664
2664
  }>>;
@@ -2668,66 +2668,66 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2668
2668
  hfEndpoint: z.ZodOptional<z.ZodString>;
2669
2669
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2670
2670
  }, "strip", z.ZodTypeAny, {
2671
- selectedGroupId?: string | null | undefined;
2672
2671
  model?: string | undefined;
2672
+ selectedGroupId?: string | null | undefined;
2673
2673
  hfEndpoint?: string | undefined;
2674
2674
  memoryBudgetPercent?: number | undefined;
2675
2675
  }, {
2676
- selectedGroupId?: string | null | undefined;
2677
2676
  model?: string | undefined;
2677
+ selectedGroupId?: string | null | undefined;
2678
2678
  hfEndpoint?: string | undefined;
2679
2679
  memoryBudgetPercent?: number | undefined;
2680
2680
  }>>;
2681
2681
  }, "strip", z.ZodTypeAny, {
2682
2682
  local?: {
2683
- selectedGroupId?: string | null | undefined;
2684
2683
  model?: string | undefined;
2684
+ selectedGroupId?: string | null | undefined;
2685
2685
  hfEndpoint?: string | undefined;
2686
2686
  memoryBudgetPercent?: number | undefined;
2687
2687
  } | undefined;
2688
- openai?: {
2689
- baseUrl?: string | undefined;
2690
- token?: string | undefined;
2691
- model?: string | undefined;
2692
- } | undefined;
2693
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2694
2688
  localCt2?: {
2695
- selectedGroupId?: string | null | undefined;
2696
2689
  model?: string | undefined;
2690
+ selectedGroupId?: string | null | undefined;
2697
2691
  hfEndpoint?: string | undefined;
2698
2692
  memoryBudgetPercent?: number | undefined;
2699
2693
  } | undefined;
2700
2694
  localLlama?: {
2701
- selectedGroupId?: string | null | undefined;
2702
2695
  model?: string | undefined;
2703
- hfEndpoint?: string | undefined;
2704
- memoryBudgetPercent?: number | undefined;
2705
- } | undefined;
2706
- }, {
2707
- local?: {
2708
2696
  selectedGroupId?: string | null | undefined;
2709
- model?: string | undefined;
2710
2697
  hfEndpoint?: string | undefined;
2711
2698
  memoryBudgetPercent?: number | undefined;
2712
2699
  } | undefined;
2713
2700
  openai?: {
2701
+ model?: string | undefined;
2714
2702
  baseUrl?: string | undefined;
2715
2703
  token?: string | undefined;
2704
+ } | undefined;
2705
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
2706
+ }, {
2707
+ local?: {
2716
2708
  model?: string | undefined;
2709
+ selectedGroupId?: string | null | undefined;
2710
+ hfEndpoint?: string | undefined;
2711
+ memoryBudgetPercent?: number | undefined;
2717
2712
  } | undefined;
2718
- engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2719
2713
  localCt2?: {
2720
- selectedGroupId?: string | null | undefined;
2721
2714
  model?: string | undefined;
2715
+ selectedGroupId?: string | null | undefined;
2722
2716
  hfEndpoint?: string | undefined;
2723
2717
  memoryBudgetPercent?: number | undefined;
2724
2718
  } | undefined;
2725
2719
  localLlama?: {
2726
- selectedGroupId?: string | null | undefined;
2727
2720
  model?: string | undefined;
2721
+ selectedGroupId?: string | null | undefined;
2728
2722
  hfEndpoint?: string | undefined;
2729
2723
  memoryBudgetPercent?: number | undefined;
2730
2724
  } | undefined;
2725
+ openai?: {
2726
+ model?: string | undefined;
2727
+ baseUrl?: string | undefined;
2728
+ token?: string | undefined;
2729
+ } | undefined;
2730
+ engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
2731
2731
  }>;
2732
2732
  type TranslationEngineGlobalSettings = z.infer<typeof TranslationEngineGlobalSettingsSchema>;
2733
2733
  type TranslationEngineGlobalSettingsUpdate = {
@@ -2754,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
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
2758
- sourceLanguage: string;
2759
2757
  targetLanguage: string;
2758
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2759
+ sourceLanguage: string;
2760
2760
  inputs: string[];
2761
2761
  timeoutMs: number;
2762
- selectedGroupId?: string | undefined;
2763
- model?: string | undefined;
2764
2762
  instructions?: string | undefined;
2765
2763
  context?: string | undefined;
2764
+ model?: string | undefined;
2765
+ selectedGroupId?: string | undefined;
2766
2766
  }, {
2767
- engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
2768
- sourceLanguage: string;
2769
2767
  targetLanguage: string;
2768
+ engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2769
+ sourceLanguage: string;
2770
2770
  inputs: string[];
2771
- selectedGroupId?: string | undefined;
2772
- model?: string | undefined;
2773
2771
  instructions?: string | undefined;
2774
2772
  context?: string | undefined;
2773
+ model?: string | undefined;
2774
+ selectedGroupId?: string | undefined;
2775
2775
  timeoutMs?: number | undefined;
2776
2776
  }>;
2777
2777
  type BatchTranslateInput = z.infer<typeof BatchTranslateInputSchema>;
@@ -2782,24 +2782,24 @@ declare const BatchTranslateEventSchema: z.ZodObject<{
2782
2782
  kind: z.ZodEnum<["timeout", "memory-limit", "runtime", "abort"]>;
2783
2783
  message: z.ZodString;
2784
2784
  }, "strip", z.ZodTypeAny, {
2785
- message: string;
2786
2785
  kind: "runtime" | "timeout" | "memory-limit" | "abort";
2787
- }, {
2788
2786
  message: string;
2787
+ }, {
2789
2788
  kind: "runtime" | "timeout" | "memory-limit" | "abort";
2789
+ message: string;
2790
2790
  }>>;
2791
2791
  }, "strip", z.ZodTypeAny, {
2792
2792
  index: number;
2793
2793
  error?: {
2794
- message: string;
2795
2794
  kind: "runtime" | "timeout" | "memory-limit" | "abort";
2795
+ message: string;
2796
2796
  } | undefined;
2797
2797
  output?: string | undefined;
2798
2798
  }, {
2799
2799
  index: number;
2800
2800
  error?: {
2801
- message: string;
2802
2801
  kind: "runtime" | "timeout" | "memory-limit" | "abort";
2802
+ message: string;
2803
2803
  } | undefined;
2804
2804
  output?: string | undefined;
2805
2805
  }>;