@openspecui/core 3.9.0 → 3.10.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.
@@ -142,8 +142,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
142
142
  sizeBytes?: number | undefined;
143
143
  }>, "many">;
144
144
  }, "strip", z.ZodTypeAny, {
145
- id: string;
146
145
  label: string;
146
+ id: string;
147
147
  selectable: boolean;
148
148
  selected: boolean;
149
149
  files: {
@@ -156,8 +156,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
156
156
  dtype?: string | undefined;
157
157
  estimatedTotalBytes?: number | undefined;
158
158
  }, {
159
- id: string;
160
159
  label: string;
160
+ id: string;
161
161
  selectable: boolean;
162
162
  selected: boolean;
163
163
  files: {
@@ -196,11 +196,12 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
196
196
  }>, "many">>;
197
197
  updatedAt: z.ZodNumber;
198
198
  }, "strip", z.ZodTypeAny, {
199
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
199
200
  message: string;
200
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
201
201
  engineId: "local";
202
202
  modelId: string;
203
203
  updatedAt: number;
204
+ sessionId?: string | undefined;
204
205
  selectedGroupId?: string | undefined;
205
206
  files?: {
206
207
  path: string;
@@ -210,14 +211,14 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
210
211
  progress?: number | undefined;
211
212
  bytesDownloaded?: number | undefined;
212
213
  totalBytes?: number | undefined;
213
- sessionId?: string | undefined;
214
214
  resumable?: boolean | undefined;
215
215
  }, {
216
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
216
217
  message: string;
217
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
218
218
  engineId: "local";
219
219
  modelId: string;
220
220
  updatedAt: number;
221
+ sessionId?: string | undefined;
221
222
  selectedGroupId?: string | undefined;
222
223
  files?: {
223
224
  path: string;
@@ -227,7 +228,6 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
227
228
  progress?: number | undefined;
228
229
  bytesDownloaded?: number | undefined;
229
230
  totalBytes?: number | undefined;
230
- sessionId?: string | undefined;
231
231
  resumable?: boolean | undefined;
232
232
  }>;
233
233
  type LocalModelAssetLog = z.infer<typeof LocalModelAssetLogSchema>;
@@ -272,8 +272,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
272
272
  sizeBytes?: number | undefined;
273
273
  }>, "many">;
274
274
  }, "strip", z.ZodTypeAny, {
275
- id: string;
276
275
  label: string;
276
+ id: string;
277
277
  selectable: boolean;
278
278
  selected: boolean;
279
279
  files: {
@@ -286,8 +286,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
286
286
  dtype?: string | undefined;
287
287
  estimatedTotalBytes?: number | undefined;
288
288
  }, {
289
- id: string;
290
289
  label: string;
290
+ id: string;
291
291
  selectable: boolean;
292
292
  selected: boolean;
293
293
  files: {
@@ -311,8 +311,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
311
311
  profile?: string | undefined;
312
312
  estimatedTotalBytes?: number | undefined;
313
313
  groups?: {
314
- id: string;
315
314
  label: string;
315
+ id: string;
316
316
  selectable: boolean;
317
317
  selected: boolean;
318
318
  files: {
@@ -336,8 +336,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
336
336
  profile?: string | undefined;
337
337
  estimatedTotalBytes?: number | undefined;
338
338
  groups?: {
339
- id: string;
340
339
  label: string;
340
+ id: string;
341
341
  selectable: boolean;
342
342
  selected: boolean;
343
343
  files: {
@@ -404,8 +404,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
404
404
  sizeBytes?: number | undefined;
405
405
  }>, "many">;
406
406
  }, "strip", z.ZodTypeAny, {
407
- id: string;
408
407
  label: string;
408
+ id: string;
409
409
  selectable: boolean;
410
410
  selected: boolean;
411
411
  files: {
@@ -418,8 +418,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
418
418
  dtype?: string | undefined;
419
419
  estimatedTotalBytes?: number | undefined;
420
420
  }, {
421
- id: string;
422
421
  label: string;
422
+ id: string;
423
423
  selectable: boolean;
424
424
  selected: boolean;
425
425
  files: {
@@ -443,8 +443,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
443
443
  profile?: string | undefined;
444
444
  estimatedTotalBytes?: number | undefined;
445
445
  groups?: {
446
- id: string;
447
446
  label: string;
447
+ id: string;
448
448
  selectable: boolean;
449
449
  selected: boolean;
450
450
  files: {
@@ -468,8 +468,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
468
468
  profile?: string | undefined;
469
469
  estimatedTotalBytes?: number | undefined;
470
470
  groups?: {
471
- id: string;
472
471
  label: string;
472
+ id: string;
473
473
  selectable: boolean;
474
474
  selected: boolean;
475
475
  files: {
@@ -497,7 +497,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
497
497
  downloadedBytes?: number | undefined;
498
498
  }>, "many">>;
499
499
  }, "strip", z.ZodTypeAny, {
500
- status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
500
+ status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
501
501
  selected: boolean;
502
502
  files: {
503
503
  path: string;
@@ -523,8 +523,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
523
523
  profile?: string | undefined;
524
524
  estimatedTotalBytes?: number | undefined;
525
525
  groups?: {
526
- id: string;
527
526
  label: string;
527
+ id: string;
528
528
  selectable: boolean;
529
529
  selected: boolean;
530
530
  files: {
@@ -540,7 +540,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
540
540
  } | undefined;
541
541
  }, {
542
542
  modelId: string;
543
- status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
543
+ status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
544
544
  error?: string | undefined;
545
545
  selected?: boolean | undefined;
546
546
  files?: {
@@ -565,8 +565,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
565
565
  profile?: string | undefined;
566
566
  estimatedTotalBytes?: number | undefined;
567
567
  groups?: {
568
- id: string;
569
568
  label: string;
569
+ id: string;
570
570
  selectable: boolean;
571
571
  selected: boolean;
572
572
  files: {
@@ -1,2 +1,2 @@
1
- import { $ as getTranslationEngineManifest, A as TranslationEngineGlobalSettingsSchema, B as TranslationModelSearchEvent, C as TRANSLATION_ENGINE_MANIFESTS, D as TranslationDownloadGroupPlan, E as TranslationDownloadFilePlanSchema, F as TranslationEngineRuntime, G as TranslationOpenAISettingsSchema, H as TranslationModelSearchPhase, I as TranslationLocalSettings, J as TranslatorFactory, K as Translator, L as TranslationLocalSettingsSchema, M as TranslationEngineId, N as TranslationEngineIdSchema, O as TranslationDownloadGroupPlanSchema, P as TranslationEngineManifest, Q as TranslatorPrepareMonitor, R as TranslationModelCandidate, S as TRANSLATION_ENGINE_IDS, T as TranslationDownloadFilePlan, U as TranslationModelSearchResult, V as TranslationModelSearchInput, W as TranslationOpenAISettings, X as TranslatorFactoryPrepareOptions, Y as TranslatorFactoryCreateOptions, Z as TranslatorOptions, _ as LocalModelDownloadStatus, a as BatchTranslationResult, b as ServiceTranslationEngineId, c as LocalModelAssetLogSchema, d as LocalModelAssetState, f as LocalModelAssetStateSchema, g as LocalModelCatalogSearchEvent, h as LocalModelCatalogResult, i as BatchTranslateInputSchema, j as TranslationEngineGlobalSettingsUpdate, k as TranslationEngineGlobalSettings, l as LocalModelAssetPlanSnapshot, m as LocalModelCatalogLocalResult, n as BatchTranslateEventSchema, o as DEFAULT_TRANSLATION_ENGINE_ID, p as LocalModelCatalogItem, q as TranslatorCreateMonitor, r as BatchTranslateInput, s as LocalModelAssetLog, t as BatchTranslateEvent, u as LocalModelAssetPlanSnapshotSchema, v as LocalModelDownloadStatusSchema, w as TRANSLATOR_CONTRACT_VERSION, x as ServiceTranslationEngineIdSchema, y as SERVICE_TRANSLATION_ENGINE_IDS, z as TranslationModelDownloadPlan } from "./translator-BEhPdQGs.mjs";
1
+ import { $ as getTranslationEngineManifest, A as TranslationEngineGlobalSettingsSchema, B as TranslationModelSearchEvent, C as TRANSLATION_ENGINE_MANIFESTS, D as TranslationDownloadGroupPlan, E as TranslationDownloadFilePlanSchema, F as TranslationEngineRuntime, G as TranslationOpenAISettingsSchema, H as TranslationModelSearchPhase, I as TranslationLocalSettings, J as TranslatorFactory, K as Translator, L as TranslationLocalSettingsSchema, M as TranslationEngineId, N as TranslationEngineIdSchema, O as TranslationDownloadGroupPlanSchema, P as TranslationEngineManifest, Q as TranslatorPrepareMonitor, R as TranslationModelCandidate, S as TRANSLATION_ENGINE_IDS, T as TranslationDownloadFilePlan, U as TranslationModelSearchResult, V as TranslationModelSearchInput, W as TranslationOpenAISettings, X as TranslatorFactoryPrepareOptions, Y as TranslatorFactoryCreateOptions, Z as TranslatorOptions, _ as LocalModelDownloadStatus, a as BatchTranslationResult, b as ServiceTranslationEngineId, c as LocalModelAssetLogSchema, d as LocalModelAssetState, f as LocalModelAssetStateSchema, g as LocalModelCatalogSearchEvent, h as LocalModelCatalogResult, i as BatchTranslateInputSchema, j as TranslationEngineGlobalSettingsUpdate, k as TranslationEngineGlobalSettings, l as LocalModelAssetPlanSnapshot, m as LocalModelCatalogLocalResult, n as BatchTranslateEventSchema, o as DEFAULT_TRANSLATION_ENGINE_ID, p as LocalModelCatalogItem, q as TranslatorCreateMonitor, r as BatchTranslateInput, s as LocalModelAssetLog, t as BatchTranslateEvent, u as LocalModelAssetPlanSnapshotSchema, v as LocalModelDownloadStatusSchema, w as TRANSLATOR_CONTRACT_VERSION, x as ServiceTranslationEngineIdSchema, y as SERVICE_TRANSLATION_ENGINE_IDS, z as TranslationModelDownloadPlan } from "./translator-C3W7bTIN.mjs";
2
2
  export { BatchTranslateEvent, BatchTranslateEventSchema, BatchTranslateInput, BatchTranslateInputSchema, BatchTranslationResult, DEFAULT_TRANSLATION_ENGINE_ID, LocalModelAssetLog, LocalModelAssetLogSchema, LocalModelAssetPlanSnapshot, LocalModelAssetPlanSnapshotSchema, LocalModelAssetState, LocalModelAssetStateSchema, LocalModelCatalogItem, LocalModelCatalogLocalResult, LocalModelCatalogResult, LocalModelCatalogSearchEvent, LocalModelDownloadStatus, LocalModelDownloadStatusSchema, SERVICE_TRANSLATION_ENGINE_IDS, ServiceTranslationEngineId, ServiceTranslationEngineIdSchema, TRANSLATION_ENGINE_IDS, TRANSLATION_ENGINE_MANIFESTS, TRANSLATOR_CONTRACT_VERSION, TranslationDownloadFilePlan, TranslationDownloadFilePlanSchema, TranslationDownloadGroupPlan, TranslationDownloadGroupPlanSchema, TranslationEngineGlobalSettings, TranslationEngineGlobalSettingsSchema, TranslationEngineGlobalSettingsUpdate, TranslationEngineId, TranslationEngineIdSchema, TranslationEngineManifest, TranslationEngineRuntime, TranslationLocalSettings, TranslationLocalSettingsSchema, TranslationModelCandidate, TranslationModelDownloadPlan, TranslationModelSearchEvent, TranslationModelSearchInput, TranslationModelSearchPhase, TranslationModelSearchResult, TranslationOpenAISettings, TranslationOpenAISettingsSchema, Translator, TranslatorCreateMonitor, TranslatorFactory, TranslatorFactoryCreateOptions, TranslatorFactoryPrepareOptions, TranslatorOptions, TranslatorPrepareMonitor, getTranslationEngineManifest };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openspecui/core",
3
- "version": "3.9.0",
3
+ "version": "3.10.0",
4
4
  "description": "Core OpenSpec adapter and parser",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",