@openspecui/core 4.0.2 → 4.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 (86) hide show
  1. package/dist/{document-translation-BAhXJaIl.d.mts → document-translation-CIPGsZD8.d.mts} +100 -100
  2. package/dist/{document-translation-C3SE2CBJ.mjs → document-translation-D4YK18I3.mjs} +1 -1
  3. package/dist/document-translation.d.mts +1 -1
  4. package/dist/document-translation.mjs +2 -2
  5. package/dist/hosted-app.d.mts +1 -1
  6. package/dist/hosted-app.mjs +1 -1
  7. package/dist/index.d.mts +226 -211
  8. package/dist/index.mjs +46 -20
  9. package/dist/{local-download-profiles-C6VVRttC.d.mts → local-download-profiles-B30HrSO2.d.mts} +1 -1
  10. package/dist/local-download-profiles.d.mts +2 -2
  11. package/dist/local-download-profiles.mjs +1 -1
  12. package/dist/markdown-facts.d.mts +1 -1
  13. package/dist/markdown-facts.mjs +1 -1
  14. package/dist/{markdown-reading-BnoDddEA.d.mts → markdown-reading-CgXuXp6s.d.mts} +1 -1
  15. package/dist/{markdown-reading-4d3w3xgw.mjs → markdown-reading-DdcB7run.mjs} +1 -1
  16. package/dist/markdown-reading.d.mts +2 -2
  17. package/dist/markdown-reading.mjs +2 -2
  18. package/dist/{notifications-3ZJ6BBzT.mjs → notifications-AKAcmeKT.mjs} +2 -2
  19. package/dist/{notifications-DcBVI03P.d.mts → notifications-HYH-lklF.d.mts} +16 -16
  20. package/dist/notifications.d.mts +2 -2
  21. package/dist/notifications.mjs +3 -3
  22. package/dist/{openspec-annotations-DDKeedpf.d.mts → openspec-annotations-CeXd0JIZ.d.mts} +2 -2
  23. package/dist/{openspec-annotations-DZDb0Qox.mjs → openspec-annotations-D_6Pz7k4.mjs} +2 -2
  24. package/dist/openspec-annotations.d.mts +3 -3
  25. package/dist/openspec-annotations.mjs +3 -3
  26. package/dist/openspec-compat.d.mts +8 -7
  27. package/dist/openspec-compat.mjs +23 -8
  28. package/dist/{openspec-projection-DJ_mSfmq.mjs → openspec-projection-B8s-KWQ7.mjs} +2 -2
  29. package/dist/{openspec-projection-i2pkZ4hQ.d.mts → openspec-projection-BphzrwYP.d.mts} +3 -3
  30. package/dist/openspec-projection.d.mts +5 -5
  31. package/dist/openspec-projection.mjs +4 -4
  32. package/dist/opsx-display-path.d.mts +1 -1
  33. package/dist/opsx-display-path.mjs +1 -1
  34. package/dist/{opsx-entity-DNzyALN-.d.mts → opsx-entity-CFUCqev8.d.mts} +2 -2
  35. package/dist/opsx-entity.d.mts +3 -3
  36. package/dist/opsx-entity.mjs +1 -1
  37. package/dist/{opsx-schema-detail-BZpl9jiW.d.mts → opsx-schema-detail-DXKXqMQa.d.mts} +2 -2
  38. package/dist/opsx-schema-detail.d.mts +4 -4
  39. package/dist/opsx-schema-detail.mjs +1 -1
  40. package/dist/{opsx-types-Ccrsvb3l.d.mts → opsx-types-2rgsQHsB.d.mts} +20 -20
  41. package/dist/{schemas-C01jZKK1.d.mts → schemas-CNKCVc7m.d.mts} +18 -18
  42. package/dist/{sounds-BhmJDMmO.d.mts → sounds-J6z7o4mt.d.mts} +5 -5
  43. package/dist/sounds.d.mts +1 -1
  44. package/dist/sounds.mjs +1 -1
  45. package/dist/store-types-BiE-Ey--.d.mts +1092 -0
  46. package/dist/store-types-Cu41QSww.mjs +109 -0
  47. package/dist/store-types.d.mts +2 -0
  48. package/dist/store-types.mjs +3 -0
  49. package/dist/{task-progress-C2YCGSyC.d.mts → task-progress-BHn4bCoD.d.mts} +2 -2
  50. package/dist/{task-progress-RLYFNkpL.mjs → task-progress-DhHYHnTv.mjs} +1 -1
  51. package/dist/task-progress.d.mts +3 -3
  52. package/dist/task-progress.mjs +2 -2
  53. package/dist/{terminal-audio-BDbVowLy.d.mts → terminal-audio-BeUXlQgj.d.mts} +2 -2
  54. package/dist/{terminal-audio-DhslppvD.mjs → terminal-audio-TBoU2jSK.mjs} +1 -1
  55. package/dist/terminal-audio.d.mts +2 -2
  56. package/dist/terminal-audio.mjs +2 -2
  57. package/dist/terminal-control.d.mts +2 -2
  58. package/dist/terminal-control.mjs +1 -1
  59. package/dist/{terminal-invocation-Be3YlFOI.d.mts → terminal-invocation-ClVh0HeM.d.mts} +22 -22
  60. package/dist/terminal-invocation.d.mts +1 -1
  61. package/dist/terminal-invocation.mjs +1 -1
  62. package/dist/terminal-theme.d.mts +1 -1
  63. package/dist/terminal-theme.mjs +1 -1
  64. package/dist/translation-language-pair.d.mts +1 -1
  65. package/dist/translation-language-pair.mjs +1 -1
  66. package/dist/{translator-CZeKoeLW.d.mts → translator-D6t_LEVN.d.mts} +77 -77
  67. package/dist/translator.d.mts +1 -1
  68. package/dist/translator.mjs +1 -1
  69. package/package.json +9 -3
  70. /package/dist/{hosted-app-DfEh4rR3.mjs → hosted-app-CzMRiEgY.mjs} +0 -0
  71. /package/dist/{hosted-app-BZvbSDOk.d.mts → hosted-app-DHs94gIR.d.mts} +0 -0
  72. /package/dist/{local-download-profiles-C8ZHpk2F.mjs → local-download-profiles-kpNEcdF_.mjs} +0 -0
  73. /package/dist/{markdown-facts-ByM-tdm5.mjs → markdown-facts-BBCTe_qq.mjs} +0 -0
  74. /package/dist/{markdown-facts-DQe77Xbc.d.mts → markdown-facts-Dk7FKaaT.d.mts} +0 -0
  75. /package/dist/{opsx-display-path-DGjayJTF.mjs → opsx-display-path-CUCOrHcM.mjs} +0 -0
  76. /package/dist/{opsx-display-path-dEtDIqJD.d.mts → opsx-display-path-cIMKa1aw.d.mts} +0 -0
  77. /package/dist/{opsx-entity-DrY7pgMe.mjs → opsx-entity-c7m5CbgU.mjs} +0 -0
  78. /package/dist/{opsx-schema-detail-B-4bLoZS.mjs → opsx-schema-detail-BH82X6aU.mjs} +0 -0
  79. /package/dist/{sounds-CuSsy7X-.mjs → sounds-CB3ubSnj.mjs} +0 -0
  80. /package/dist/{terminal-control-D5dCna6A.mjs → terminal-control-VpTuh17B.mjs} +0 -0
  81. /package/dist/{terminal-invocation-BSrS_0zu.mjs → terminal-invocation-C2MCNBhK.mjs} +0 -0
  82. /package/dist/{terminal-theme-TogWGicr.mjs → terminal-theme-cevliJw2.mjs} +0 -0
  83. /package/dist/{terminal-theme-DO6B6-o0.d.mts → terminal-theme-hvQjTsNh.d.mts} +0 -0
  84. /package/dist/{translation-language-pair-D2B_LoN1.mjs → translation-language-pair-DZ_WNp_M.mjs} +0 -0
  85. /package/dist/{translation-language-pair-C1tou_ks.d.mts → translation-language-pair-DmaOfHqD.d.mts} +0 -0
  86. /package/dist/{translator-bwybQ07U.mjs → translator-DbUT1Ayn.mjs} +0 -0
@@ -703,10 +703,9 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
703
703
  }, "strip", z.ZodTypeAny, {
704
704
  message: string;
705
705
  status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
706
- engineId: "local" | "local-ct2" | "local-llama";
707
706
  modelId: string;
708
707
  updatedAt: number;
709
- selectedGroupId?: string | undefined;
708
+ engineId: "local" | "local-ct2" | "local-llama";
710
709
  progress?: number | undefined;
711
710
  bytesDownloaded?: number | undefined;
712
711
  totalBytes?: number | undefined;
@@ -717,14 +716,14 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
717
716
  downloadedBytes?: number | undefined;
718
717
  }[] | undefined;
719
718
  groupId?: string | undefined;
719
+ selectedGroupId?: string | undefined;
720
720
  sessionId?: string | undefined;
721
721
  }, {
722
722
  message: string;
723
723
  status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
724
- engineId: "local" | "local-ct2" | "local-llama";
725
724
  modelId: string;
726
725
  updatedAt: number;
727
- selectedGroupId?: string | undefined;
726
+ engineId: "local" | "local-ct2" | "local-llama";
728
727
  progress?: number | undefined;
729
728
  bytesDownloaded?: number | undefined;
730
729
  totalBytes?: number | undefined;
@@ -735,6 +734,7 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
735
734
  downloadedBytes?: number | undefined;
736
735
  }[] | undefined;
737
736
  groupId?: string | undefined;
737
+ selectedGroupId?: string | undefined;
738
738
  sessionId?: string | undefined;
739
739
  }>;
740
740
  type LocalModelAssetLog = z.infer<typeof LocalModelAssetLogSchema>;
@@ -880,7 +880,6 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
880
880
  raw?: unknown;
881
881
  }[];
882
882
  modelId: string;
883
- selectedGroupId?: string | undefined;
884
883
  profile?: string | undefined;
885
884
  estimatedTotalBytes?: number | undefined;
886
885
  groups?: {
@@ -912,6 +911,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
912
911
  totalBytes?: number | undefined;
913
912
  resumable?: boolean | undefined;
914
913
  }[] | undefined;
914
+ selectedGroupId?: string | undefined;
915
915
  }, {
916
916
  files: {
917
917
  path: string;
@@ -923,7 +923,6 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
923
923
  raw?: unknown;
924
924
  }[];
925
925
  modelId: string;
926
- selectedGroupId?: string | undefined;
927
926
  profile?: string | undefined;
928
927
  estimatedTotalBytes?: number | undefined;
929
928
  groups?: {
@@ -955,6 +954,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
955
954
  totalBytes?: number | undefined;
956
955
  resumable?: boolean | undefined;
957
956
  }[] | undefined;
957
+ selectedGroupId?: string | undefined;
958
958
  }>;
959
959
  type LocalModelAssetPlanSnapshot = z.infer<typeof LocalModelAssetPlanSnapshotSchema>;
960
960
  declare const LocalModelAssetStateSchema: z.ZodObject<{
@@ -1371,7 +1371,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1371
1371
  raw?: unknown;
1372
1372
  }[];
1373
1373
  modelId: string;
1374
- selectedGroupId?: string | undefined;
1375
1374
  profile?: string | undefined;
1376
1375
  estimatedTotalBytes?: number | undefined;
1377
1376
  groups?: {
@@ -1403,6 +1402,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1403
1402
  totalBytes?: number | undefined;
1404
1403
  resumable?: boolean | undefined;
1405
1404
  }[] | undefined;
1405
+ selectedGroupId?: string | undefined;
1406
1406
  }, {
1407
1407
  files: {
1408
1408
  path: string;
@@ -1414,7 +1414,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1414
1414
  raw?: unknown;
1415
1415
  }[];
1416
1416
  modelId: string;
1417
- selectedGroupId?: string | undefined;
1418
1417
  profile?: string | undefined;
1419
1418
  estimatedTotalBytes?: number | undefined;
1420
1419
  groups?: {
@@ -1446,6 +1445,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1446
1445
  totalBytes?: number | undefined;
1447
1446
  resumable?: boolean | undefined;
1448
1447
  }[] | undefined;
1448
+ selectedGroupId?: string | undefined;
1449
1449
  }>>;
1450
1450
  files: z.ZodDefault<z.ZodArray<z.ZodObject<{
1451
1451
  path: z.ZodString;
@@ -1499,13 +1499,13 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1499
1499
  updatedAt?: number | undefined;
1500
1500
  installedAt?: number | undefined;
1501
1501
  }>;
1502
- selectedGroupId?: string | undefined;
1503
1502
  error?: string | undefined;
1504
1503
  progress?: number | undefined;
1505
1504
  bytesDownloaded?: number | undefined;
1506
1505
  totalBytes?: number | undefined;
1507
1506
  updatedAt?: number | undefined;
1508
1507
  installedAt?: number | undefined;
1508
+ selectedGroupId?: string | undefined;
1509
1509
  profileManifest?: {
1510
1510
  revision: string;
1511
1511
  commitHash: string;
@@ -1552,7 +1552,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1552
1552
  raw?: unknown;
1553
1553
  }[];
1554
1554
  modelId: string;
1555
- selectedGroupId?: string | undefined;
1556
1555
  profile?: string | undefined;
1557
1556
  estimatedTotalBytes?: number | undefined;
1558
1557
  groups?: {
@@ -1584,10 +1583,10 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1584
1583
  totalBytes?: number | undefined;
1585
1584
  resumable?: boolean | undefined;
1586
1585
  }[] | undefined;
1586
+ selectedGroupId?: string | undefined;
1587
1587
  } | undefined;
1588
1588
  }, {
1589
1589
  modelId: string;
1590
- selectedGroupId?: string | undefined;
1591
1590
  status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
1592
1591
  error?: string | undefined;
1593
1592
  progress?: number | undefined;
@@ -1602,6 +1601,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1602
1601
  }[] | undefined;
1603
1602
  updatedAt?: number | undefined;
1604
1603
  installedAt?: number | undefined;
1604
+ selectedGroupId?: string | undefined;
1605
1605
  version?: 2 | undefined;
1606
1606
  profileLoad?: {
1607
1607
  message?: string | undefined;
@@ -1677,7 +1677,6 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1677
1677
  raw?: unknown;
1678
1678
  }[];
1679
1679
  modelId: string;
1680
- selectedGroupId?: string | undefined;
1681
1680
  profile?: string | undefined;
1682
1681
  estimatedTotalBytes?: number | undefined;
1683
1682
  groups?: {
@@ -1709,6 +1708,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
1709
1708
  totalBytes?: number | undefined;
1710
1709
  resumable?: boolean | undefined;
1711
1710
  }[] | undefined;
1711
+ selectedGroupId?: string | undefined;
1712
1712
  } | undefined;
1713
1713
  }>;
1714
1714
  type LocalModelAssetState = z.infer<typeof LocalModelAssetStateSchema>;
@@ -2380,26 +2380,26 @@ declare const TranslationOpenAISettingsSchema: z.ZodObject<{
2380
2380
  token: z.ZodDefault<z.ZodString>;
2381
2381
  model: z.ZodDefault<z.ZodString>;
2382
2382
  }, "strip", z.ZodTypeAny, {
2383
- model: string;
2384
2383
  baseUrl: string;
2385
2384
  token: string;
2385
+ model: string;
2386
2386
  }, {
2387
- model?: string | undefined;
2388
2387
  baseUrl?: string | undefined;
2389
2388
  token?: string | undefined;
2389
+ model?: string | undefined;
2390
2390
  }>;
2391
2391
  declare const TranslationOpenAISettingsUpdateSchema: z.ZodObject<{
2392
2392
  baseUrl: z.ZodOptional<z.ZodString>;
2393
2393
  token: z.ZodOptional<z.ZodString>;
2394
2394
  model: z.ZodOptional<z.ZodString>;
2395
2395
  }, "strip", z.ZodTypeAny, {
2396
- model?: string | undefined;
2397
2396
  baseUrl?: string | undefined;
2398
2397
  token?: string | undefined;
2399
- }, {
2400
2398
  model?: string | undefined;
2399
+ }, {
2401
2400
  baseUrl?: string | undefined;
2402
2401
  token?: string | undefined;
2402
+ model?: string | undefined;
2403
2403
  }>;
2404
2404
  type TranslationOpenAISettings = z.infer<typeof TranslationOpenAISettingsSchema>;
2405
2405
  declare const TranslationLocalSettingsSchema: z.ZodObject<{
@@ -2413,8 +2413,8 @@ declare const TranslationLocalSettingsSchema: z.ZodObject<{
2413
2413
  memoryBudgetPercent: number;
2414
2414
  selectedGroupId?: string | undefined;
2415
2415
  }, {
2416
- model?: string | undefined;
2417
2416
  selectedGroupId?: string | undefined;
2417
+ model?: string | undefined;
2418
2418
  hfEndpoint?: string | undefined;
2419
2419
  memoryBudgetPercent?: number | undefined;
2420
2420
  }>;
@@ -2424,13 +2424,13 @@ declare const TranslationLocalSettingsUpdateSchema: z.ZodObject<{
2424
2424
  hfEndpoint: z.ZodOptional<z.ZodString>;
2425
2425
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2426
2426
  }, "strip", z.ZodTypeAny, {
2427
- model?: string | undefined;
2428
2427
  selectedGroupId?: string | null | undefined;
2428
+ model?: string | undefined;
2429
2429
  hfEndpoint?: string | undefined;
2430
2430
  memoryBudgetPercent?: number | undefined;
2431
2431
  }, {
2432
- model?: string | undefined;
2433
2432
  selectedGroupId?: string | null | undefined;
2433
+ model?: string | undefined;
2434
2434
  hfEndpoint?: string | undefined;
2435
2435
  memoryBudgetPercent?: number | undefined;
2436
2436
  }>;
@@ -2446,8 +2446,8 @@ declare const TranslationLocalCt2SettingsSchema: z.ZodObject<{
2446
2446
  memoryBudgetPercent: number;
2447
2447
  selectedGroupId?: string | undefined;
2448
2448
  }, {
2449
- model?: string | undefined;
2450
2449
  selectedGroupId?: string | undefined;
2450
+ model?: string | undefined;
2451
2451
  hfEndpoint?: string | undefined;
2452
2452
  memoryBudgetPercent?: number | undefined;
2453
2453
  }>;
@@ -2457,13 +2457,13 @@ declare const TranslationLocalCt2SettingsUpdateSchema: z.ZodObject<{
2457
2457
  hfEndpoint: z.ZodOptional<z.ZodString>;
2458
2458
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2459
2459
  }, "strip", z.ZodTypeAny, {
2460
- model?: string | undefined;
2461
2460
  selectedGroupId?: string | null | undefined;
2461
+ model?: string | undefined;
2462
2462
  hfEndpoint?: string | undefined;
2463
2463
  memoryBudgetPercent?: number | undefined;
2464
2464
  }, {
2465
- model?: string | undefined;
2466
2465
  selectedGroupId?: string | null | undefined;
2466
+ model?: string | undefined;
2467
2467
  hfEndpoint?: string | undefined;
2468
2468
  memoryBudgetPercent?: number | undefined;
2469
2469
  }>;
@@ -2479,8 +2479,8 @@ declare const TranslationLocalLlamaSettingsSchema: z.ZodObject<{
2479
2479
  memoryBudgetPercent: number;
2480
2480
  selectedGroupId?: string | undefined;
2481
2481
  }, {
2482
- model?: string | undefined;
2483
2482
  selectedGroupId?: string | undefined;
2483
+ model?: string | undefined;
2484
2484
  hfEndpoint?: string | undefined;
2485
2485
  memoryBudgetPercent?: number | undefined;
2486
2486
  }>;
@@ -2490,13 +2490,13 @@ declare const TranslationLocalLlamaSettingsUpdateSchema: z.ZodObject<{
2490
2490
  hfEndpoint: z.ZodOptional<z.ZodString>;
2491
2491
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2492
2492
  }, "strip", z.ZodTypeAny, {
2493
- model?: string | undefined;
2494
2493
  selectedGroupId?: string | null | undefined;
2494
+ model?: string | undefined;
2495
2495
  hfEndpoint?: string | undefined;
2496
2496
  memoryBudgetPercent?: number | undefined;
2497
2497
  }, {
2498
- model?: string | undefined;
2499
2498
  selectedGroupId?: string | null | undefined;
2499
+ model?: string | undefined;
2500
2500
  hfEndpoint?: string | undefined;
2501
2501
  memoryBudgetPercent?: number | undefined;
2502
2502
  }>;
@@ -2508,13 +2508,13 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2508
2508
  token: z.ZodDefault<z.ZodString>;
2509
2509
  model: z.ZodDefault<z.ZodString>;
2510
2510
  }, "strip", z.ZodTypeAny, {
2511
- model: string;
2512
2511
  baseUrl: string;
2513
2512
  token: string;
2513
+ model: string;
2514
2514
  }, {
2515
- model?: string | undefined;
2516
2515
  baseUrl?: string | undefined;
2517
2516
  token?: string | undefined;
2517
+ model?: string | undefined;
2518
2518
  }>>;
2519
2519
  local: z.ZodDefault<z.ZodObject<{
2520
2520
  model: z.ZodDefault<z.ZodString>;
@@ -2527,8 +2527,8 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2527
2527
  memoryBudgetPercent: number;
2528
2528
  selectedGroupId?: string | undefined;
2529
2529
  }, {
2530
- model?: string | undefined;
2531
2530
  selectedGroupId?: string | undefined;
2531
+ model?: string | undefined;
2532
2532
  hfEndpoint?: string | undefined;
2533
2533
  memoryBudgetPercent?: number | undefined;
2534
2534
  }>>;
@@ -2543,8 +2543,8 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2543
2543
  memoryBudgetPercent: number;
2544
2544
  selectedGroupId?: string | undefined;
2545
2545
  }, {
2546
- model?: string | undefined;
2547
2546
  selectedGroupId?: string | undefined;
2547
+ model?: string | undefined;
2548
2548
  hfEndpoint?: string | undefined;
2549
2549
  memoryBudgetPercent?: number | undefined;
2550
2550
  }>>;
@@ -2559,8 +2559,8 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2559
2559
  memoryBudgetPercent: number;
2560
2560
  selectedGroupId?: string | undefined;
2561
2561
  }, {
2562
- model?: string | undefined;
2563
2562
  selectedGroupId?: string | undefined;
2563
+ model?: string | undefined;
2564
2564
  hfEndpoint?: string | undefined;
2565
2565
  memoryBudgetPercent?: number | undefined;
2566
2566
  }>>;
@@ -2571,6 +2571,12 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2571
2571
  memoryBudgetPercent: number;
2572
2572
  selectedGroupId?: string | undefined;
2573
2573
  };
2574
+ openai: {
2575
+ baseUrl: string;
2576
+ token: string;
2577
+ model: string;
2578
+ };
2579
+ engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
2574
2580
  localCt2: {
2575
2581
  model: string;
2576
2582
  hfEndpoint: string;
@@ -2583,37 +2589,31 @@ declare const TranslationEngineGlobalSettingsSchema: z.ZodObject<{
2583
2589
  memoryBudgetPercent: number;
2584
2590
  selectedGroupId?: string | undefined;
2585
2591
  };
2586
- openai: {
2587
- model: string;
2588
- baseUrl: string;
2589
- token: string;
2590
- };
2591
- engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2592
2592
  }, {
2593
2593
  local?: {
2594
- model?: string | undefined;
2595
2594
  selectedGroupId?: string | undefined;
2595
+ model?: string | undefined;
2596
2596
  hfEndpoint?: string | undefined;
2597
2597
  memoryBudgetPercent?: number | undefined;
2598
2598
  } | undefined;
2599
- localCt2?: {
2599
+ openai?: {
2600
+ baseUrl?: string | undefined;
2601
+ token?: string | undefined;
2600
2602
  model?: string | undefined;
2603
+ } | undefined;
2604
+ engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2605
+ localCt2?: {
2601
2606
  selectedGroupId?: string | undefined;
2607
+ model?: string | undefined;
2602
2608
  hfEndpoint?: string | undefined;
2603
2609
  memoryBudgetPercent?: number | undefined;
2604
2610
  } | undefined;
2605
2611
  localLlama?: {
2606
- model?: string | undefined;
2607
2612
  selectedGroupId?: string | undefined;
2613
+ model?: string | undefined;
2608
2614
  hfEndpoint?: string | undefined;
2609
2615
  memoryBudgetPercent?: number | undefined;
2610
2616
  } | undefined;
2611
- openai?: {
2612
- model?: string | undefined;
2613
- baseUrl?: string | undefined;
2614
- token?: string | undefined;
2615
- } | undefined;
2616
- engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
2617
2617
  }>;
2618
2618
  declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2619
2619
  engineId: z.ZodOptional<z.ZodEnum<["browser", "local", "local-ct2", "local-llama", "openai"]>>;
@@ -2622,13 +2622,13 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2622
2622
  token: z.ZodOptional<z.ZodString>;
2623
2623
  model: z.ZodOptional<z.ZodString>;
2624
2624
  }, "strip", z.ZodTypeAny, {
2625
- model?: string | undefined;
2626
2625
  baseUrl?: string | undefined;
2627
2626
  token?: string | undefined;
2628
- }, {
2629
2627
  model?: string | undefined;
2628
+ }, {
2630
2629
  baseUrl?: string | undefined;
2631
2630
  token?: string | undefined;
2631
+ model?: string | undefined;
2632
2632
  }>>;
2633
2633
  local: z.ZodOptional<z.ZodObject<{
2634
2634
  model: z.ZodOptional<z.ZodString>;
@@ -2636,13 +2636,13 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2636
2636
  hfEndpoint: z.ZodOptional<z.ZodString>;
2637
2637
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2638
2638
  }, "strip", z.ZodTypeAny, {
2639
- model?: string | undefined;
2640
2639
  selectedGroupId?: string | null | undefined;
2640
+ model?: string | undefined;
2641
2641
  hfEndpoint?: string | undefined;
2642
2642
  memoryBudgetPercent?: number | undefined;
2643
2643
  }, {
2644
- model?: string | undefined;
2645
2644
  selectedGroupId?: string | null | undefined;
2645
+ model?: string | undefined;
2646
2646
  hfEndpoint?: string | undefined;
2647
2647
  memoryBudgetPercent?: number | undefined;
2648
2648
  }>>;
@@ -2652,13 +2652,13 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2652
2652
  hfEndpoint: z.ZodOptional<z.ZodString>;
2653
2653
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2654
2654
  }, "strip", z.ZodTypeAny, {
2655
- model?: string | undefined;
2656
2655
  selectedGroupId?: string | null | undefined;
2656
+ model?: string | undefined;
2657
2657
  hfEndpoint?: string | undefined;
2658
2658
  memoryBudgetPercent?: number | undefined;
2659
2659
  }, {
2660
- model?: string | undefined;
2661
2660
  selectedGroupId?: string | null | undefined;
2661
+ model?: string | undefined;
2662
2662
  hfEndpoint?: string | undefined;
2663
2663
  memoryBudgetPercent?: number | undefined;
2664
2664
  }>>;
@@ -2668,66 +2668,66 @@ declare const TranslationEngineGlobalSettingsUpdateSchema: z.ZodObject<{
2668
2668
  hfEndpoint: z.ZodOptional<z.ZodString>;
2669
2669
  memoryBudgetPercent: z.ZodOptional<z.ZodNumber>;
2670
2670
  }, "strip", z.ZodTypeAny, {
2671
- model?: string | undefined;
2672
2671
  selectedGroupId?: string | null | undefined;
2672
+ model?: string | undefined;
2673
2673
  hfEndpoint?: string | undefined;
2674
2674
  memoryBudgetPercent?: number | undefined;
2675
2675
  }, {
2676
- model?: string | undefined;
2677
2676
  selectedGroupId?: string | null | undefined;
2677
+ model?: string | undefined;
2678
2678
  hfEndpoint?: string | undefined;
2679
2679
  memoryBudgetPercent?: number | undefined;
2680
2680
  }>>;
2681
2681
  }, "strip", z.ZodTypeAny, {
2682
2682
  local?: {
2683
- model?: string | undefined;
2684
2683
  selectedGroupId?: string | null | undefined;
2684
+ model?: string | undefined;
2685
2685
  hfEndpoint?: string | undefined;
2686
2686
  memoryBudgetPercent?: number | undefined;
2687
2687
  } | undefined;
2688
- localCt2?: {
2688
+ openai?: {
2689
+ baseUrl?: string | undefined;
2690
+ token?: string | undefined;
2689
2691
  model?: string | undefined;
2692
+ } | undefined;
2693
+ engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2694
+ localCt2?: {
2690
2695
  selectedGroupId?: string | null | undefined;
2696
+ model?: string | undefined;
2691
2697
  hfEndpoint?: string | undefined;
2692
2698
  memoryBudgetPercent?: number | undefined;
2693
2699
  } | undefined;
2694
2700
  localLlama?: {
2695
- model?: string | undefined;
2696
2701
  selectedGroupId?: string | null | undefined;
2702
+ model?: string | undefined;
2697
2703
  hfEndpoint?: string | undefined;
2698
2704
  memoryBudgetPercent?: number | undefined;
2699
2705
  } | undefined;
2700
- openai?: {
2701
- model?: string | undefined;
2702
- baseUrl?: string | undefined;
2703
- token?: string | undefined;
2704
- } | undefined;
2705
- engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
2706
2706
  }, {
2707
2707
  local?: {
2708
- model?: string | undefined;
2709
2708
  selectedGroupId?: string | null | undefined;
2709
+ model?: string | undefined;
2710
2710
  hfEndpoint?: string | undefined;
2711
2711
  memoryBudgetPercent?: number | undefined;
2712
2712
  } | undefined;
2713
- localCt2?: {
2713
+ openai?: {
2714
+ baseUrl?: string | undefined;
2715
+ token?: string | undefined;
2714
2716
  model?: string | undefined;
2717
+ } | undefined;
2718
+ engineId?: "browser" | "local" | "local-ct2" | "local-llama" | "openai" | undefined;
2719
+ localCt2?: {
2715
2720
  selectedGroupId?: string | null | undefined;
2721
+ model?: string | undefined;
2716
2722
  hfEndpoint?: string | undefined;
2717
2723
  memoryBudgetPercent?: number | undefined;
2718
2724
  } | undefined;
2719
2725
  localLlama?: {
2720
- model?: string | undefined;
2721
2726
  selectedGroupId?: string | null | undefined;
2727
+ model?: string | undefined;
2722
2728
  hfEndpoint?: string | undefined;
2723
2729
  memoryBudgetPercent?: number | undefined;
2724
2730
  } | undefined;
2725
- openai?: {
2726
- model?: string | undefined;
2727
- baseUrl?: string | undefined;
2728
- token?: string | undefined;
2729
- } | undefined;
2730
- engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined;
2731
2731
  }>;
2732
2732
  type TranslationEngineGlobalSettings = z.infer<typeof TranslationEngineGlobalSettingsSchema>;
2733
2733
  type TranslationEngineGlobalSettingsUpdate = {
@@ -2754,22 +2754,22 @@ declare const BatchTranslateInputSchema: z.ZodObject<{
2754
2754
  context: z.ZodOptional<z.ZodString>;
2755
2755
  timeoutMs: z.ZodDefault<z.ZodNumber>;
2756
2756
  }, "strip", z.ZodTypeAny, {
2757
- targetLanguage: string;
2758
- engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2757
+ engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
2759
2758
  sourceLanguage: string;
2759
+ targetLanguage: string;
2760
2760
  inputs: string[];
2761
2761
  timeoutMs: number;
2762
- model?: string | undefined;
2763
2762
  selectedGroupId?: string | undefined;
2763
+ model?: string | undefined;
2764
2764
  instructions?: string | undefined;
2765
2765
  context?: string | undefined;
2766
2766
  }, {
2767
- targetLanguage: string;
2768
- engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
2767
+ engineId: "browser" | "local" | "local-ct2" | "local-llama" | "openai";
2769
2768
  sourceLanguage: string;
2769
+ targetLanguage: string;
2770
2770
  inputs: string[];
2771
- model?: string | undefined;
2772
2771
  selectedGroupId?: string | undefined;
2772
+ model?: string | undefined;
2773
2773
  instructions?: string | undefined;
2774
2774
  context?: string | undefined;
2775
2775
  timeoutMs?: number | undefined;
@@ -1,2 +1,2 @@
1
- import { $ as TranslationEngineDependencyStatus, $t as createTranslationEngineLifecycleStatus, A as LocalModelProfileManifestGroupSchema, At as TranslationLocalCt2SettingsUpdateSchema, B as TRANSLATION_ENGINE_IDS, Bt as TranslationModelSearchInput, C as LocalModelLifecycleGroupStateSchema, Ct as TranslationEngineRuntimeState, D as LocalModelProfileManifestFile, Dt as TranslationEngineSettingsKey, E as LocalModelProfileManifest, Et as TranslationEngineRuntimeStatusSchema, F as ManagedLocalCatalogSourceSchema, Ft as TranslationLocalSettingsSchema, G as TranslationDownloadGroupPlan, Gt as TranslationOpenAISettingsUpdateSchema, H as TRANSLATOR_CONTRACT_VERSION, Ht as TranslationModelSearchResult, I as ManagedLocalTranslationEngineId, It as TranslationLocalSettingsUpdateSchema, J as TranslationEngineAssetStateSchema, Jt as TranslatorFactory, K as TranslationDownloadGroupPlanSchema, Kt as Translator, L as SERVICE_TRANSLATION_ENGINE_IDS, Lt as TranslationModelCandidate, M as LocalModelProfileStatus, Mt as TranslationLocalLlamaSettingsSchema, N as LocalModelProfileStatusSchema, Nt as TranslationLocalLlamaSettingsUpdateSchema, O as LocalModelProfileManifestFileSchema, Ot as TranslationLocalCt2Settings, P as ManagedLocalCatalogSource, Pt as TranslationLocalSettings, Q as TranslationEngineDependencyStateSchema, Qt as TranslatorPrepareMonitor, R as ServiceTranslationEngineId, Rt as TranslationModelDownloadPlan, S as LocalModelLifecycleGroupState, St as TranslationEngineRuntime, T as LocalModelProfileLoadStateSchema, Tt as TranslationEngineRuntimeStatus, U as TranslationDownloadFilePlan, Ut as TranslationOpenAISettings, V as TRANSLATION_ENGINE_MANIFESTS, Vt as TranslationModelSearchPhase, W as TranslationDownloadFilePlanSchema, Wt as TranslationOpenAISettingsSchema, X as TranslationEngineAssetStatusSchema, Xt as TranslatorFactoryPrepareOptions, Y as TranslationEngineAssetStatus, Yt as TranslatorFactoryCreateOptions, Z as TranslationEngineDependencyState, Zt as TranslatorOptions, _ as LocalModelCatalogSearchEvent, _t as TranslationEngineLifecycleLogEvent, a as BatchTranslationResult, an as isTranslationEngineDependencyReady, at as TranslationEngineId, b as LocalModelLifecycleFileState, bt as TranslationEngineLifecycleStatusSchema, c as LocalModelAssetLog, cn as BatchTranslationError, ct as TranslationEngineInstallLogEventSchema, d as LocalModelAssetPlanSnapshotSchema, dn as normalizeBatchTranslationError, dt as TranslationEngineKind, en as getManagedLocalTranslationEngineManifest, et as TranslationEngineDependencyStatusSchema, f as LocalModelAssetState, fn as runControlledTranslationTask, ft as TranslationEngineLifecycleContext, g as LocalModelCatalogResult, gt as TranslationEngineLifecycleExitEvent, h as LocalModelCatalogLocalResult, ht as TranslationEngineLifecycleEventSchema, i as BatchTranslateInputSchema, in as isManagedLocalTranslationEngineId, it as TranslationEngineGlobalSettingsUpdateSchema, j as LocalModelProfileManifestSchema, jt as TranslationLocalLlamaSettings, k as LocalModelProfileManifestGroup, kt as TranslationLocalCt2SettingsSchema, l as LocalModelAssetLogSchema, ln as BatchTranslationErrorKind, lt as TranslationEngineInstallLogStream, m as LocalModelCatalogItem, mt as TranslationEngineLifecycleEvent, n as BatchTranslateEventSchema, nn as getTranslationEngineManifest, nt as TranslationEngineGlobalSettingsSchema, o as DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, on as isTranslationEngineRuntimeReady, ot as TranslationEngineIdSchema, p as LocalModelAssetStateSchema, pt as TranslationEngineLifecycleController, q as TranslationEngineAssetState, qt as TranslatorCreateMonitor, r as BatchTranslateInput, rn as isDirectionalManagedLocalTranslationEngineId, rt as TranslationEngineGlobalSettingsUpdate, s as DEFAULT_TRANSLATION_ENGINE_ID, sn as shouldShowTranslationEngineInstallGate, st as TranslationEngineInstallLogEvent, t as BatchTranslateEvent, tn as getTranslationEngineLifecycleMessage, tt as TranslationEngineGlobalSettings, u as LocalModelAssetPlanSnapshot, un as isBatchTranslationAbort, ut as TranslationEngineInstallLogStreamSchema, v as LocalModelDownloadStatus, vt as TranslationEngineLifecycleStatus, w as LocalModelProfileLoadState, wt as TranslationEngineRuntimeStateSchema, x as LocalModelLifecycleFileStateSchema, xt as TranslationEngineManifest, y as LocalModelDownloadStatusSchema, yt as TranslationEngineLifecycleStatusEvent, z as ServiceTranslationEngineIdSchema, zt as TranslationModelSearchEvent } from "./translator-CZeKoeLW.mjs";
1
+ import { $ as TranslationEngineDependencyStatus, $t as createTranslationEngineLifecycleStatus, A as LocalModelProfileManifestGroupSchema, At as TranslationLocalCt2SettingsUpdateSchema, B as TRANSLATION_ENGINE_IDS, Bt as TranslationModelSearchInput, C as LocalModelLifecycleGroupStateSchema, Ct as TranslationEngineRuntimeState, D as LocalModelProfileManifestFile, Dt as TranslationEngineSettingsKey, E as LocalModelProfileManifest, Et as TranslationEngineRuntimeStatusSchema, F as ManagedLocalCatalogSourceSchema, Ft as TranslationLocalSettingsSchema, G as TranslationDownloadGroupPlan, Gt as TranslationOpenAISettingsUpdateSchema, H as TRANSLATOR_CONTRACT_VERSION, Ht as TranslationModelSearchResult, I as ManagedLocalTranslationEngineId, It as TranslationLocalSettingsUpdateSchema, J as TranslationEngineAssetStateSchema, Jt as TranslatorFactory, K as TranslationDownloadGroupPlanSchema, Kt as Translator, L as SERVICE_TRANSLATION_ENGINE_IDS, Lt as TranslationModelCandidate, M as LocalModelProfileStatus, Mt as TranslationLocalLlamaSettingsSchema, N as LocalModelProfileStatusSchema, Nt as TranslationLocalLlamaSettingsUpdateSchema, O as LocalModelProfileManifestFileSchema, Ot as TranslationLocalCt2Settings, P as ManagedLocalCatalogSource, Pt as TranslationLocalSettings, Q as TranslationEngineDependencyStateSchema, Qt as TranslatorPrepareMonitor, R as ServiceTranslationEngineId, Rt as TranslationModelDownloadPlan, S as LocalModelLifecycleGroupState, St as TranslationEngineRuntime, T as LocalModelProfileLoadStateSchema, Tt as TranslationEngineRuntimeStatus, U as TranslationDownloadFilePlan, Ut as TranslationOpenAISettings, V as TRANSLATION_ENGINE_MANIFESTS, Vt as TranslationModelSearchPhase, W as TranslationDownloadFilePlanSchema, Wt as TranslationOpenAISettingsSchema, X as TranslationEngineAssetStatusSchema, Xt as TranslatorFactoryPrepareOptions, Y as TranslationEngineAssetStatus, Yt as TranslatorFactoryCreateOptions, Z as TranslationEngineDependencyState, Zt as TranslatorOptions, _ as LocalModelCatalogSearchEvent, _t as TranslationEngineLifecycleLogEvent, a as BatchTranslationResult, an as isTranslationEngineDependencyReady, at as TranslationEngineId, b as LocalModelLifecycleFileState, bt as TranslationEngineLifecycleStatusSchema, c as LocalModelAssetLog, cn as BatchTranslationError, ct as TranslationEngineInstallLogEventSchema, d as LocalModelAssetPlanSnapshotSchema, dn as normalizeBatchTranslationError, dt as TranslationEngineKind, en as getManagedLocalTranslationEngineManifest, et as TranslationEngineDependencyStatusSchema, f as LocalModelAssetState, fn as runControlledTranslationTask, ft as TranslationEngineLifecycleContext, g as LocalModelCatalogResult, gt as TranslationEngineLifecycleExitEvent, h as LocalModelCatalogLocalResult, ht as TranslationEngineLifecycleEventSchema, i as BatchTranslateInputSchema, in as isManagedLocalTranslationEngineId, it as TranslationEngineGlobalSettingsUpdateSchema, j as LocalModelProfileManifestSchema, jt as TranslationLocalLlamaSettings, k as LocalModelProfileManifestGroup, kt as TranslationLocalCt2SettingsSchema, l as LocalModelAssetLogSchema, ln as BatchTranslationErrorKind, lt as TranslationEngineInstallLogStream, m as LocalModelCatalogItem, mt as TranslationEngineLifecycleEvent, n as BatchTranslateEventSchema, nn as getTranslationEngineManifest, nt as TranslationEngineGlobalSettingsSchema, o as DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, on as isTranslationEngineRuntimeReady, ot as TranslationEngineIdSchema, p as LocalModelAssetStateSchema, pt as TranslationEngineLifecycleController, q as TranslationEngineAssetState, qt as TranslatorCreateMonitor, r as BatchTranslateInput, rn as isDirectionalManagedLocalTranslationEngineId, rt as TranslationEngineGlobalSettingsUpdate, s as DEFAULT_TRANSLATION_ENGINE_ID, sn as shouldShowTranslationEngineInstallGate, st as TranslationEngineInstallLogEvent, t as BatchTranslateEvent, tn as getTranslationEngineLifecycleMessage, tt as TranslationEngineGlobalSettings, u as LocalModelAssetPlanSnapshot, un as isBatchTranslationAbort, ut as TranslationEngineInstallLogStreamSchema, v as LocalModelDownloadStatus, vt as TranslationEngineLifecycleStatus, w as LocalModelProfileLoadState, wt as TranslationEngineRuntimeStateSchema, x as LocalModelLifecycleFileStateSchema, xt as TranslationEngineManifest, y as LocalModelDownloadStatusSchema, yt as TranslationEngineLifecycleStatusEvent, z as ServiceTranslationEngineIdSchema, zt as TranslationModelSearchEvent } from "./translator-D6t_LEVN.mjs";
2
2
  export { BatchTranslateEvent, BatchTranslateEventSchema, BatchTranslateInput, BatchTranslateInputSchema, BatchTranslationError, BatchTranslationErrorKind, BatchTranslationResult, DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, DEFAULT_TRANSLATION_ENGINE_ID, LocalModelAssetLog, LocalModelAssetLogSchema, LocalModelAssetPlanSnapshot, LocalModelAssetPlanSnapshotSchema, LocalModelAssetState, LocalModelAssetStateSchema, LocalModelCatalogItem, LocalModelCatalogLocalResult, LocalModelCatalogResult, LocalModelCatalogSearchEvent, LocalModelDownloadStatus, LocalModelDownloadStatusSchema, LocalModelLifecycleFileState, LocalModelLifecycleFileStateSchema, LocalModelLifecycleGroupState, LocalModelLifecycleGroupStateSchema, LocalModelProfileLoadState, LocalModelProfileLoadStateSchema, LocalModelProfileManifest, LocalModelProfileManifestFile, LocalModelProfileManifestFileSchema, LocalModelProfileManifestGroup, LocalModelProfileManifestGroupSchema, LocalModelProfileManifestSchema, LocalModelProfileStatus, LocalModelProfileStatusSchema, ManagedLocalCatalogSource, ManagedLocalCatalogSourceSchema, ManagedLocalTranslationEngineId, SERVICE_TRANSLATION_ENGINE_IDS, ServiceTranslationEngineId, ServiceTranslationEngineIdSchema, TRANSLATION_ENGINE_IDS, TRANSLATION_ENGINE_MANIFESTS, TRANSLATOR_CONTRACT_VERSION, TranslationDownloadFilePlan, TranslationDownloadFilePlanSchema, TranslationDownloadGroupPlan, TranslationDownloadGroupPlanSchema, TranslationEngineAssetState, TranslationEngineAssetStateSchema, TranslationEngineAssetStatus, TranslationEngineAssetStatusSchema, TranslationEngineDependencyState, TranslationEngineDependencyStateSchema, TranslationEngineDependencyStatus, TranslationEngineDependencyStatusSchema, TranslationEngineGlobalSettings, TranslationEngineGlobalSettingsSchema, TranslationEngineGlobalSettingsUpdate, TranslationEngineGlobalSettingsUpdateSchema, TranslationEngineId, TranslationEngineIdSchema, TranslationEngineInstallLogEvent, TranslationEngineInstallLogEventSchema, TranslationEngineInstallLogStream, TranslationEngineInstallLogStreamSchema, TranslationEngineKind, TranslationEngineLifecycleContext, TranslationEngineLifecycleController, TranslationEngineLifecycleEvent, TranslationEngineLifecycleEventSchema, TranslationEngineLifecycleExitEvent, TranslationEngineLifecycleLogEvent, TranslationEngineLifecycleStatus, TranslationEngineLifecycleStatusEvent, TranslationEngineLifecycleStatusSchema, TranslationEngineManifest, TranslationEngineRuntime, TranslationEngineRuntimeState, TranslationEngineRuntimeStateSchema, TranslationEngineRuntimeStatus, TranslationEngineRuntimeStatusSchema, TranslationEngineSettingsKey, TranslationLocalCt2Settings, TranslationLocalCt2SettingsSchema, TranslationLocalCt2SettingsUpdateSchema, TranslationLocalLlamaSettings, TranslationLocalLlamaSettingsSchema, TranslationLocalLlamaSettingsUpdateSchema, TranslationLocalSettings, TranslationLocalSettingsSchema, TranslationLocalSettingsUpdateSchema, TranslationModelCandidate, TranslationModelDownloadPlan, TranslationModelSearchEvent, TranslationModelSearchInput, TranslationModelSearchPhase, TranslationModelSearchResult, TranslationOpenAISettings, TranslationOpenAISettingsSchema, TranslationOpenAISettingsUpdateSchema, Translator, TranslatorCreateMonitor, TranslatorFactory, TranslatorFactoryCreateOptions, TranslatorFactoryPrepareOptions, TranslatorOptions, TranslatorPrepareMonitor, createTranslationEngineLifecycleStatus, getManagedLocalTranslationEngineManifest, getTranslationEngineLifecycleMessage, getTranslationEngineManifest, isBatchTranslationAbort, isDirectionalManagedLocalTranslationEngineId, isManagedLocalTranslationEngineId, isTranslationEngineDependencyReady, isTranslationEngineRuntimeReady, normalizeBatchTranslationError, runControlledTranslationTask, shouldShowTranslationEngineInstallGate };
@@ -1,3 +1,3 @@
1
- import { $ as shouldShowTranslationEngineInstallGate, A as TranslationEngineIdSchema, B as TranslationLocalLlamaSettingsUpdateSchema, C as TranslationDownloadGroupPlanSchema, D as TranslationEngineDependencyStatusSchema, E as TranslationEngineDependencyStateSchema, F as TranslationEngineRuntimeStateSchema, G as createTranslationEngineLifecycleStatus, H as TranslationLocalSettingsUpdateSchema, I as TranslationEngineRuntimeStatusSchema, J as getTranslationEngineManifest, K as getManagedLocalTranslationEngineManifest, L as TranslationLocalCt2SettingsSchema, M as TranslationEngineInstallLogStreamSchema, N as TranslationEngineLifecycleEventSchema, O as TranslationEngineGlobalSettingsSchema, P as TranslationEngineLifecycleStatusSchema, Q as isTranslationEngineRuntimeReady, R as TranslationLocalCt2SettingsUpdateSchema, S as TranslationDownloadFilePlanSchema, T as TranslationEngineAssetStatusSchema, U as TranslationOpenAISettingsSchema, V as TranslationLocalSettingsSchema, W as TranslationOpenAISettingsUpdateSchema, X as isManagedLocalTranslationEngineId, Y as isDirectionalManagedLocalTranslationEngineId, Z as isTranslationEngineDependencyReady, _ as SERVICE_TRANSLATION_ENGINE_IDS, a as LocalModelAssetLogSchema, b as TRANSLATION_ENGINE_MANIFESTS, c as LocalModelDownloadStatusSchema, d as LocalModelProfileLoadStateSchema, et as isBatchTranslationAbort, f as LocalModelProfileManifestFileSchema, g as ManagedLocalCatalogSourceSchema, h as LocalModelProfileStatusSchema, i as DEFAULT_TRANSLATION_ENGINE_ID, j as TranslationEngineInstallLogEventSchema, k as TranslationEngineGlobalSettingsUpdateSchema, l as LocalModelLifecycleFileStateSchema, m as LocalModelProfileManifestSchema, n as BatchTranslateInputSchema, nt as runControlledTranslationTask, o as LocalModelAssetPlanSnapshotSchema, p as LocalModelProfileManifestGroupSchema, q as getTranslationEngineLifecycleMessage, r as DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, s as LocalModelAssetStateSchema, t as BatchTranslateEventSchema, tt as normalizeBatchTranslationError, u as LocalModelLifecycleGroupStateSchema, v as ServiceTranslationEngineIdSchema, w as TranslationEngineAssetStateSchema, x as TRANSLATOR_CONTRACT_VERSION, y as TRANSLATION_ENGINE_IDS, z as TranslationLocalLlamaSettingsSchema } from "./translator-bwybQ07U.mjs";
1
+ import { $ as shouldShowTranslationEngineInstallGate, A as TranslationEngineIdSchema, B as TranslationLocalLlamaSettingsUpdateSchema, C as TranslationDownloadGroupPlanSchema, D as TranslationEngineDependencyStatusSchema, E as TranslationEngineDependencyStateSchema, F as TranslationEngineRuntimeStateSchema, G as createTranslationEngineLifecycleStatus, H as TranslationLocalSettingsUpdateSchema, I as TranslationEngineRuntimeStatusSchema, J as getTranslationEngineManifest, K as getManagedLocalTranslationEngineManifest, L as TranslationLocalCt2SettingsSchema, M as TranslationEngineInstallLogStreamSchema, N as TranslationEngineLifecycleEventSchema, O as TranslationEngineGlobalSettingsSchema, P as TranslationEngineLifecycleStatusSchema, Q as isTranslationEngineRuntimeReady, R as TranslationLocalCt2SettingsUpdateSchema, S as TranslationDownloadFilePlanSchema, T as TranslationEngineAssetStatusSchema, U as TranslationOpenAISettingsSchema, V as TranslationLocalSettingsSchema, W as TranslationOpenAISettingsUpdateSchema, X as isManagedLocalTranslationEngineId, Y as isDirectionalManagedLocalTranslationEngineId, Z as isTranslationEngineDependencyReady, _ as SERVICE_TRANSLATION_ENGINE_IDS, a as LocalModelAssetLogSchema, b as TRANSLATION_ENGINE_MANIFESTS, c as LocalModelDownloadStatusSchema, d as LocalModelProfileLoadStateSchema, et as isBatchTranslationAbort, f as LocalModelProfileManifestFileSchema, g as ManagedLocalCatalogSourceSchema, h as LocalModelProfileStatusSchema, i as DEFAULT_TRANSLATION_ENGINE_ID, j as TranslationEngineInstallLogEventSchema, k as TranslationEngineGlobalSettingsUpdateSchema, l as LocalModelLifecycleFileStateSchema, m as LocalModelProfileManifestSchema, n as BatchTranslateInputSchema, nt as runControlledTranslationTask, o as LocalModelAssetPlanSnapshotSchema, p as LocalModelProfileManifestGroupSchema, q as getTranslationEngineLifecycleMessage, r as DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, s as LocalModelAssetStateSchema, t as BatchTranslateEventSchema, tt as normalizeBatchTranslationError, u as LocalModelLifecycleGroupStateSchema, v as ServiceTranslationEngineIdSchema, w as TranslationEngineAssetStateSchema, x as TRANSLATOR_CONTRACT_VERSION, y as TRANSLATION_ENGINE_IDS, z as TranslationLocalLlamaSettingsSchema } from "./translator-DbUT1Ayn.mjs";
2
2
 
3
3
  export { BatchTranslateEventSchema, BatchTranslateInputSchema, DEFAULT_BATCH_TRANSLATION_TIMEOUT_MS, DEFAULT_TRANSLATION_ENGINE_ID, LocalModelAssetLogSchema, LocalModelAssetPlanSnapshotSchema, LocalModelAssetStateSchema, LocalModelDownloadStatusSchema, LocalModelLifecycleFileStateSchema, LocalModelLifecycleGroupStateSchema, LocalModelProfileLoadStateSchema, LocalModelProfileManifestFileSchema, LocalModelProfileManifestGroupSchema, LocalModelProfileManifestSchema, LocalModelProfileStatusSchema, ManagedLocalCatalogSourceSchema, SERVICE_TRANSLATION_ENGINE_IDS, ServiceTranslationEngineIdSchema, TRANSLATION_ENGINE_IDS, TRANSLATION_ENGINE_MANIFESTS, TRANSLATOR_CONTRACT_VERSION, TranslationDownloadFilePlanSchema, TranslationDownloadGroupPlanSchema, TranslationEngineAssetStateSchema, TranslationEngineAssetStatusSchema, TranslationEngineDependencyStateSchema, TranslationEngineDependencyStatusSchema, TranslationEngineGlobalSettingsSchema, TranslationEngineGlobalSettingsUpdateSchema, TranslationEngineIdSchema, TranslationEngineInstallLogEventSchema, TranslationEngineInstallLogStreamSchema, TranslationEngineLifecycleEventSchema, TranslationEngineLifecycleStatusSchema, TranslationEngineRuntimeStateSchema, TranslationEngineRuntimeStatusSchema, TranslationLocalCt2SettingsSchema, TranslationLocalCt2SettingsUpdateSchema, TranslationLocalLlamaSettingsSchema, TranslationLocalLlamaSettingsUpdateSchema, TranslationLocalSettingsSchema, TranslationLocalSettingsUpdateSchema, TranslationOpenAISettingsSchema, TranslationOpenAISettingsUpdateSchema, createTranslationEngineLifecycleStatus, getManagedLocalTranslationEngineManifest, getTranslationEngineLifecycleMessage, getTranslationEngineManifest, isBatchTranslationAbort, isDirectionalManagedLocalTranslationEngineId, isManagedLocalTranslationEngineId, isTranslationEngineDependencyReady, isTranslationEngineRuntimeReady, normalizeBatchTranslationError, runControlledTranslationTask, shouldShowTranslationEngineInstallGate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openspecui/core",
3
- "version": "4.0.2",
3
+ "version": "4.1.0",
4
4
  "description": "Core OpenSpec adapter and parser",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -30,6 +30,12 @@
30
30
  "default": "./dist/openspec-compat.mjs",
31
31
  "types": "./dist/openspec-compat.d.mts"
32
32
  },
33
+ "./store-types": {
34
+ "development": "./src/store-types.ts",
35
+ "import": "./dist/store-types.mjs",
36
+ "default": "./dist/store-types.mjs",
37
+ "types": "./dist/store-types.d.mts"
38
+ },
33
39
  "./markdown-facts": {
34
40
  "development": "./src/markdown-facts.ts",
35
41
  "import": "./dist/markdown-facts.mjs",
@@ -143,8 +149,8 @@
143
149
  "dist"
144
150
  ],
145
151
  "scripts": {
146
- "build": "tsdown src/index.ts src/dashboard-display.ts src/opsx-display-path.ts src/opsx-entity.ts src/opsx-schema-detail.ts src/task-progress.ts src/hosted-app.ts src/openspec-compat.ts src/markdown-facts.ts src/markdown-reading.ts src/document-translation.ts src/translator.ts src/local-download-profiles.ts src/translation-language-pair.ts src/openspec-annotations.ts src/openspec-projection.ts src/notifications.ts src/sounds.ts src/terminal-theme.ts src/terminal-invocation.ts src/terminal-audio.ts src/terminal-control.ts --format esm --dts",
147
- "dev": "tsdown src/index.ts src/dashboard-display.ts src/opsx-display-path.ts src/opsx-entity.ts src/opsx-schema-detail.ts src/task-progress.ts src/hosted-app.ts src/openspec-compat.ts src/markdown-facts.ts src/markdown-reading.ts src/document-translation.ts src/translator.ts src/local-download-profiles.ts src/translation-language-pair.ts src/openspec-annotations.ts src/openspec-projection.ts src/notifications.ts src/sounds.ts src/terminal-theme.ts src/terminal-invocation.ts src/terminal-audio.ts src/terminal-control.ts --format esm --dts --watch",
152
+ "build": "tsdown src/index.ts src/dashboard-display.ts src/opsx-display-path.ts src/opsx-entity.ts src/opsx-schema-detail.ts src/task-progress.ts src/hosted-app.ts src/openspec-compat.ts src/store-types.ts src/markdown-facts.ts src/markdown-reading.ts src/document-translation.ts src/translator.ts src/local-download-profiles.ts src/translation-language-pair.ts src/openspec-annotations.ts src/openspec-projection.ts src/notifications.ts src/sounds.ts src/terminal-theme.ts src/terminal-invocation.ts src/terminal-audio.ts src/terminal-control.ts --format esm --dts",
153
+ "dev": "tsdown src/index.ts src/dashboard-display.ts src/opsx-display-path.ts src/opsx-entity.ts src/opsx-schema-detail.ts src/task-progress.ts src/hosted-app.ts src/openspec-compat.ts src/store-types.ts src/markdown-facts.ts src/markdown-reading.ts src/document-translation.ts src/translator.ts src/local-download-profiles.ts src/translation-language-pair.ts src/openspec-annotations.ts src/openspec-projection.ts src/notifications.ts src/sounds.ts src/terminal-theme.ts src/terminal-invocation.ts src/terminal-audio.ts src/terminal-control.ts --format esm --dts --watch",
148
154
  "test": "vitest run",
149
155
  "test:watch": "vitest",
150
156
  "typecheck": "tsc --noEmit"