@openspecui/core 6.1.0 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-daemon-control.d.mts +41 -41
- package/dist/{cli-projection-DVpaxd82.d.mts → cli-projection-Cus0QYkY.d.mts} +13 -13
- package/dist/cli-projection.d.mts +4 -4
- package/dist/{command-result-BRYzlmg1.d.mts → command-result-BkUqqa0m.d.mts} +47 -47
- package/dist/{dashboard-summary-transport-DEjdVWdn.d.mts → dashboard-summary-transport-ByWMiUWn.d.mts} +2301 -2290
- package/dist/dashboard-summary-transport.d.mts +16 -16
- package/dist/hosted-app.d.mts +16 -16
- package/dist/hosted-contract.d.mts +16 -16
- package/dist/index.d.mts +17 -17
- package/dist/index.mjs +16 -4
- package/dist/{local-download-profiles-CI66p2NW.d.mts → local-download-profiles-Detliqbu.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/{notifications-DaDB-ZBM.d.mts → notifications-COeXWb2h.d.mts} +5 -5
- package/dist/notifications.d.mts +2 -2
- package/dist/{openspec-projection-DrrLI_ub.d.mts → openspec-projection-BwPchxIq.d.mts} +1 -1
- package/dist/openspec-projection.d.mts +2 -2
- package/dist/{opsx-entity-BhMqFWGT.d.mts → opsx-entity-D3aLGfC7.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +6 -6
- package/dist/{opsx-schema-detail-DvkJvwg_.d.mts → opsx-schema-detail-DJ9QKFSH.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +7 -7
- package/dist/{opsx-types-DRg1Yo2Y.d.mts → opsx-types-BJTT7C4w.d.mts} +219 -219
- package/dist/planning-cli-projection.d.mts +16 -16
- package/dist/{schemas-Bafi7L8Y.d.mts → schemas-DKF6kaQ3.d.mts} +280 -280
- package/dist/{sounds-B6SBMmGR.d.mts → sounds-CsPiQKxX.d.mts} +4 -4
- package/dist/sounds.d.mts +1 -1
- package/dist/spec-catalog.d.mts +16 -16
- package/dist/{store-mutation-protocol-Ckcv2-zs.d.mts → store-mutation-protocol-ZUGSy1a0.d.mts} +48 -48
- package/dist/store-mutation-protocol.d.mts +1 -1
- package/dist/{store-types-B0Qx8UPs.d.mts → store-types-B42Br9lz.d.mts} +1 -1
- package/dist/store-types.d.mts +4 -4
- package/dist/task-progress.d.mts +5 -5
- package/dist/{terminal-audio-BoIZa5SP.d.mts → terminal-audio-BXa1vpkF.d.mts} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/{terminal-invocation-ChWI_i72.d.mts → terminal-invocation-Bkic6avG.d.mts} +74 -74
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/{translator-C7d_Bkbo.d.mts → translator-D_V2ZFPP.d.mts} +195 -195
- package/dist/translator.d.mts +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
163
162
|
sizeBytes?: number | undefined;
|
|
164
163
|
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;
|
|
171
170
|
sizeBytes?: number | undefined;
|
|
172
171
|
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;
|
|
207
206
|
sizeBytes?: number | undefined;
|
|
208
207
|
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;
|
|
215
214
|
sizeBytes?: number | undefined;
|
|
216
215
|
etag?: string | undefined;
|
|
216
|
+
revision?: string | undefined;
|
|
217
217
|
sourceUrl?: string | undefined;
|
|
218
218
|
raw?: unknown;
|
|
219
219
|
}>, "many">;
|
|
@@ -225,14 +225,14 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
225
225
|
files: {
|
|
226
226
|
path: string;
|
|
227
227
|
required: boolean;
|
|
228
|
-
revision?: string | undefined;
|
|
229
228
|
sizeBytes?: number | undefined;
|
|
230
229
|
etag?: string | undefined;
|
|
230
|
+
revision?: string | undefined;
|
|
231
231
|
sourceUrl?: string | undefined;
|
|
232
232
|
raw?: unknown;
|
|
233
233
|
}[];
|
|
234
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
235
234
|
error?: string | undefined;
|
|
235
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
236
236
|
description?: string | undefined;
|
|
237
237
|
profile?: string | undefined;
|
|
238
238
|
dtype?: string | undefined;
|
|
@@ -253,14 +253,14 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
253
253
|
files: {
|
|
254
254
|
path: string;
|
|
255
255
|
required: boolean;
|
|
256
|
-
revision?: string | undefined;
|
|
257
256
|
sizeBytes?: number | undefined;
|
|
258
257
|
etag?: string | undefined;
|
|
258
|
+
revision?: string | undefined;
|
|
259
259
|
sourceUrl?: string | undefined;
|
|
260
260
|
raw?: unknown;
|
|
261
261
|
}[];
|
|
262
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
263
262
|
error?: string | undefined;
|
|
263
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
264
264
|
description?: string | undefined;
|
|
265
265
|
profile?: string | undefined;
|
|
266
266
|
dtype?: string | undefined;
|
|
@@ -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;
|
|
291
290
|
sizeBytes?: number | undefined;
|
|
292
291
|
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;
|
|
299
298
|
sizeBytes?: number | undefined;
|
|
300
299
|
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;
|
|
330
329
|
sizeBytes?: number | undefined;
|
|
331
330
|
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;
|
|
338
337
|
sizeBytes?: number | undefined;
|
|
339
338
|
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;
|
|
355
354
|
sizeBytes?: number | undefined;
|
|
356
355
|
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;
|
|
377
376
|
sizeBytes?: number | undefined;
|
|
378
377
|
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;
|
|
424
423
|
sizeBytes?: number | undefined;
|
|
425
424
|
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;
|
|
432
431
|
sizeBytes?: number | undefined;
|
|
433
432
|
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;
|
|
449
448
|
sizeBytes?: number | undefined;
|
|
450
449
|
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;
|
|
471
470
|
sizeBytes?: number | undefined;
|
|
472
471
|
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;
|
|
484
485
|
source: "huggingface";
|
|
485
486
|
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;
|
|
504
503
|
sizeBytes?: number | undefined;
|
|
505
504
|
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;
|
|
518
519
|
source: "huggingface";
|
|
519
520
|
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;
|
|
539
538
|
sizeBytes?: number | undefined;
|
|
540
539
|
etag?: string | undefined;
|
|
540
|
+
revision?: string | undefined;
|
|
541
541
|
sourceUrl?: string | undefined;
|
|
542
542
|
raw?: unknown;
|
|
543
543
|
}[];
|
|
@@ -568,11 +568,11 @@ declare const LocalModelLifecycleFileStateSchema: z.ZodObject<{
|
|
|
568
568
|
downloadedBytes?: number | undefined;
|
|
569
569
|
}, {
|
|
570
570
|
path: string;
|
|
571
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
572
571
|
error?: string | undefined;
|
|
573
|
-
|
|
572
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
574
573
|
updatedAt?: number | undefined;
|
|
575
574
|
sizeBytes?: number | undefined;
|
|
575
|
+
required?: boolean | undefined;
|
|
576
576
|
downloadedBytes?: number | undefined;
|
|
577
577
|
}>;
|
|
578
578
|
type LocalModelLifecycleFileState = z.infer<typeof LocalModelLifecycleFileStateSchema>;
|
|
@@ -606,16 +606,15 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
606
606
|
downloadedBytes?: number | undefined;
|
|
607
607
|
}, {
|
|
608
608
|
path: string;
|
|
609
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
610
609
|
error?: string | undefined;
|
|
611
|
-
|
|
610
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
612
611
|
updatedAt?: number | undefined;
|
|
613
612
|
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;
|
|
619
618
|
resumable: boolean;
|
|
620
619
|
files: {
|
|
621
620
|
path: string;
|
|
@@ -626,6 +625,7 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
626
625
|
sizeBytes?: number | undefined;
|
|
627
626
|
downloadedBytes?: number | undefined;
|
|
628
627
|
}[];
|
|
628
|
+
groupId: string;
|
|
629
629
|
error?: string | undefined;
|
|
630
630
|
updatedAt?: number | undefined;
|
|
631
631
|
baseGroupId?: string | undefined;
|
|
@@ -636,8 +636,8 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
636
636
|
installedAt?: number | undefined;
|
|
637
637
|
}, {
|
|
638
638
|
groupId: string;
|
|
639
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
640
639
|
error?: string | undefined;
|
|
640
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
641
641
|
updatedAt?: number | undefined;
|
|
642
642
|
baseGroupId?: string | undefined;
|
|
643
643
|
rootDir?: string | undefined;
|
|
@@ -647,11 +647,11 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
647
647
|
resumable?: boolean | undefined;
|
|
648
648
|
files?: {
|
|
649
649
|
path: string;
|
|
650
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
651
650
|
error?: string | undefined;
|
|
652
|
-
|
|
651
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
653
652
|
updatedAt?: number | undefined;
|
|
654
653
|
sizeBytes?: number | undefined;
|
|
654
|
+
required?: boolean | undefined;
|
|
655
655
|
downloadedBytes?: number | undefined;
|
|
656
656
|
}[] | undefined;
|
|
657
657
|
installedAt?: number | undefined;
|
|
@@ -663,14 +663,14 @@ 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: "
|
|
667
|
-
message?: string | undefined;
|
|
666
|
+
status: "loading" | "ready" | "error" | "idle";
|
|
668
667
|
error?: string | undefined;
|
|
668
|
+
message?: string | undefined;
|
|
669
669
|
updatedAt?: number | undefined;
|
|
670
670
|
}, {
|
|
671
|
-
message?: string | undefined;
|
|
672
|
-
status?: "ready" | "error" | "loading" | "idle" | undefined;
|
|
673
671
|
error?: string | undefined;
|
|
672
|
+
message?: string | undefined;
|
|
673
|
+
status?: "loading" | "ready" | "error" | "idle" | undefined;
|
|
674
674
|
updatedAt?: number | undefined;
|
|
675
675
|
}>;
|
|
676
676
|
type LocalModelProfileLoadState = z.infer<typeof LocalModelProfileLoadStateSchema>;
|
|
@@ -703,12 +703,10 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
703
703
|
}, "strip", z.ZodTypeAny, {
|
|
704
704
|
message: string;
|
|
705
705
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
706
|
-
engineId: "local" | "local-ct2" | "local-llama";
|
|
707
706
|
updatedAt: number;
|
|
707
|
+
engineId: "local" | "local-ct2" | "local-llama";
|
|
708
708
|
modelId: string;
|
|
709
709
|
selectedGroupId?: string | undefined;
|
|
710
|
-
sessionId?: string | undefined;
|
|
711
|
-
groupId?: string | undefined;
|
|
712
710
|
progress?: number | undefined;
|
|
713
711
|
bytesDownloaded?: number | undefined;
|
|
714
712
|
totalBytes?: number | undefined;
|
|
@@ -718,15 +716,15 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
718
716
|
sizeBytes?: number | undefined;
|
|
719
717
|
downloadedBytes?: number | undefined;
|
|
720
718
|
}[] | undefined;
|
|
719
|
+
groupId?: string | undefined;
|
|
720
|
+
sessionId?: string | undefined;
|
|
721
721
|
}, {
|
|
722
722
|
message: string;
|
|
723
723
|
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
724
|
-
engineId: "local" | "local-ct2" | "local-llama";
|
|
725
724
|
updatedAt: number;
|
|
725
|
+
engineId: "local" | "local-ct2" | "local-llama";
|
|
726
726
|
modelId: string;
|
|
727
727
|
selectedGroupId?: string | undefined;
|
|
728
|
-
sessionId?: string | undefined;
|
|
729
|
-
groupId?: string | undefined;
|
|
730
728
|
progress?: number | undefined;
|
|
731
729
|
bytesDownloaded?: number | undefined;
|
|
732
730
|
totalBytes?: number | undefined;
|
|
@@ -736,6 +734,8 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
736
734
|
sizeBytes?: number | undefined;
|
|
737
735
|
downloadedBytes?: number | undefined;
|
|
738
736
|
}[] | undefined;
|
|
737
|
+
groupId?: string | undefined;
|
|
738
|
+
sessionId?: string | undefined;
|
|
739
739
|
}>;
|
|
740
740
|
type LocalModelAssetLog = z.infer<typeof LocalModelAssetLogSchema>;
|
|
741
741
|
declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
@@ -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;
|
|
756
755
|
sizeBytes?: number | undefined;
|
|
757
756
|
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;
|
|
764
763
|
sizeBytes?: number | undefined;
|
|
765
764
|
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;
|
|
802
801
|
sizeBytes?: number | undefined;
|
|
803
802
|
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;
|
|
810
809
|
sizeBytes?: number | undefined;
|
|
811
810
|
etag?: string | undefined;
|
|
811
|
+
revision?: string | undefined;
|
|
812
812
|
sourceUrl?: string | undefined;
|
|
813
813
|
raw?: unknown;
|
|
814
814
|
}>, "many">;
|
|
@@ -820,14 +820,14 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
820
820
|
files: {
|
|
821
821
|
path: string;
|
|
822
822
|
required: boolean;
|
|
823
|
-
revision?: string | undefined;
|
|
824
823
|
sizeBytes?: number | undefined;
|
|
825
824
|
etag?: string | undefined;
|
|
825
|
+
revision?: string | undefined;
|
|
826
826
|
sourceUrl?: string | undefined;
|
|
827
827
|
raw?: unknown;
|
|
828
828
|
}[];
|
|
829
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
830
829
|
error?: string | undefined;
|
|
830
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
831
831
|
description?: string | undefined;
|
|
832
832
|
profile?: string | undefined;
|
|
833
833
|
dtype?: string | undefined;
|
|
@@ -848,14 +848,14 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
848
848
|
files: {
|
|
849
849
|
path: string;
|
|
850
850
|
required: boolean;
|
|
851
|
-
revision?: string | undefined;
|
|
852
851
|
sizeBytes?: number | undefined;
|
|
853
852
|
etag?: string | undefined;
|
|
853
|
+
revision?: string | undefined;
|
|
854
854
|
sourceUrl?: string | undefined;
|
|
855
855
|
raw?: unknown;
|
|
856
856
|
}[];
|
|
857
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
858
857
|
error?: string | undefined;
|
|
858
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
859
859
|
description?: string | undefined;
|
|
860
860
|
profile?: string | undefined;
|
|
861
861
|
dtype?: string | undefined;
|
|
@@ -873,15 +873,15 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
873
873
|
files: {
|
|
874
874
|
path: string;
|
|
875
875
|
required: boolean;
|
|
876
|
-
revision?: string | undefined;
|
|
877
876
|
sizeBytes?: number | undefined;
|
|
878
877
|
etag?: string | undefined;
|
|
878
|
+
revision?: string | undefined;
|
|
879
879
|
sourceUrl?: string | undefined;
|
|
880
880
|
raw?: unknown;
|
|
881
881
|
}[];
|
|
882
882
|
modelId: string;
|
|
883
|
-
profile?: string | undefined;
|
|
884
883
|
selectedGroupId?: string | undefined;
|
|
884
|
+
profile?: string | undefined;
|
|
885
885
|
estimatedTotalBytes?: number | undefined;
|
|
886
886
|
groups?: {
|
|
887
887
|
id: string;
|
|
@@ -891,14 +891,14 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
891
891
|
files: {
|
|
892
892
|
path: string;
|
|
893
893
|
required: boolean;
|
|
894
|
-
revision?: string | undefined;
|
|
895
894
|
sizeBytes?: number | undefined;
|
|
896
895
|
etag?: string | undefined;
|
|
896
|
+
revision?: string | undefined;
|
|
897
897
|
sourceUrl?: string | undefined;
|
|
898
898
|
raw?: unknown;
|
|
899
899
|
}[];
|
|
900
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
901
900
|
error?: string | undefined;
|
|
901
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
902
902
|
description?: string | undefined;
|
|
903
903
|
profile?: string | undefined;
|
|
904
904
|
dtype?: string | undefined;
|
|
@@ -916,15 +916,15 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
916
916
|
files: {
|
|
917
917
|
path: string;
|
|
918
918
|
required: boolean;
|
|
919
|
-
revision?: string | undefined;
|
|
920
919
|
sizeBytes?: number | undefined;
|
|
921
920
|
etag?: string | undefined;
|
|
921
|
+
revision?: string | undefined;
|
|
922
922
|
sourceUrl?: string | undefined;
|
|
923
923
|
raw?: unknown;
|
|
924
924
|
}[];
|
|
925
925
|
modelId: string;
|
|
926
|
-
profile?: string | undefined;
|
|
927
926
|
selectedGroupId?: string | undefined;
|
|
927
|
+
profile?: string | undefined;
|
|
928
928
|
estimatedTotalBytes?: number | undefined;
|
|
929
929
|
groups?: {
|
|
930
930
|
id: string;
|
|
@@ -934,14 +934,14 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
934
934
|
files: {
|
|
935
935
|
path: string;
|
|
936
936
|
required: boolean;
|
|
937
|
-
revision?: string | undefined;
|
|
938
937
|
sizeBytes?: number | undefined;
|
|
939
938
|
etag?: string | undefined;
|
|
939
|
+
revision?: string | undefined;
|
|
940
940
|
sourceUrl?: string | undefined;
|
|
941
941
|
raw?: unknown;
|
|
942
942
|
}[];
|
|
943
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
944
943
|
error?: string | undefined;
|
|
944
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
945
945
|
description?: string | undefined;
|
|
946
946
|
profile?: string | undefined;
|
|
947
947
|
dtype?: string | undefined;
|
|
@@ -976,14 +976,14 @@ 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: "
|
|
980
|
-
message?: string | undefined;
|
|
979
|
+
status: "loading" | "ready" | "error" | "idle";
|
|
981
980
|
error?: string | undefined;
|
|
981
|
+
message?: string | undefined;
|
|
982
982
|
updatedAt?: number | undefined;
|
|
983
983
|
}, {
|
|
984
|
-
message?: string | undefined;
|
|
985
|
-
status?: "ready" | "error" | "loading" | "idle" | undefined;
|
|
986
984
|
error?: string | undefined;
|
|
985
|
+
message?: string | undefined;
|
|
986
|
+
status?: "loading" | "ready" | "error" | "idle" | undefined;
|
|
987
987
|
updatedAt?: number | undefined;
|
|
988
988
|
}>>;
|
|
989
989
|
profileManifest: z.ZodOptional<z.ZodObject<{
|
|
@@ -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;
|
|
1024
1023
|
sizeBytes?: number | undefined;
|
|
1025
1024
|
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;
|
|
1032
1031
|
sizeBytes?: number | undefined;
|
|
1033
1032
|
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;
|
|
1049
1048
|
sizeBytes?: number | undefined;
|
|
1050
1049
|
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;
|
|
1071
1070
|
sizeBytes?: number | undefined;
|
|
1072
1071
|
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;
|
|
1084
1085
|
source: "huggingface";
|
|
1085
1086
|
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;
|
|
1104
1103
|
sizeBytes?: number | undefined;
|
|
1105
1104
|
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;
|
|
1118
1119
|
source: "huggingface";
|
|
1119
1120
|
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;
|
|
1139
1138
|
sizeBytes?: number | undefined;
|
|
1140
1139
|
etag?: string | undefined;
|
|
1140
|
+
revision?: string | undefined;
|
|
1141
1141
|
sourceUrl?: string | undefined;
|
|
1142
1142
|
raw?: unknown;
|
|
1143
1143
|
}[];
|
|
@@ -1179,16 +1179,15 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1179
1179
|
downloadedBytes?: number | undefined;
|
|
1180
1180
|
}, {
|
|
1181
1181
|
path: string;
|
|
1182
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1183
1182
|
error?: string | undefined;
|
|
1184
|
-
|
|
1183
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1185
1184
|
updatedAt?: number | undefined;
|
|
1186
1185
|
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;
|
|
1192
1191
|
resumable: boolean;
|
|
1193
1192
|
files: {
|
|
1194
1193
|
path: string;
|
|
@@ -1199,6 +1198,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1199
1198
|
sizeBytes?: number | undefined;
|
|
1200
1199
|
downloadedBytes?: number | undefined;
|
|
1201
1200
|
}[];
|
|
1201
|
+
groupId: string;
|
|
1202
1202
|
error?: string | undefined;
|
|
1203
1203
|
updatedAt?: number | undefined;
|
|
1204
1204
|
baseGroupId?: string | undefined;
|
|
@@ -1209,8 +1209,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1209
1209
|
installedAt?: number | undefined;
|
|
1210
1210
|
}, {
|
|
1211
1211
|
groupId: string;
|
|
1212
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1213
1212
|
error?: string | undefined;
|
|
1213
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1214
1214
|
updatedAt?: number | undefined;
|
|
1215
1215
|
baseGroupId?: string | undefined;
|
|
1216
1216
|
rootDir?: string | undefined;
|
|
@@ -1220,11 +1220,11 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1220
1220
|
resumable?: boolean | undefined;
|
|
1221
1221
|
files?: {
|
|
1222
1222
|
path: string;
|
|
1223
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1224
1223
|
error?: string | undefined;
|
|
1225
|
-
|
|
1224
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1226
1225
|
updatedAt?: number | undefined;
|
|
1227
1226
|
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;
|
|
1247
1246
|
sizeBytes?: number | undefined;
|
|
1248
1247
|
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;
|
|
1255
1254
|
sizeBytes?: number | undefined;
|
|
1256
1255
|
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;
|
|
1293
1292
|
sizeBytes?: number | undefined;
|
|
1294
1293
|
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;
|
|
1301
1300
|
sizeBytes?: number | undefined;
|
|
1302
1301
|
etag?: string | undefined;
|
|
1302
|
+
revision?: string | undefined;
|
|
1303
1303
|
sourceUrl?: string | undefined;
|
|
1304
1304
|
raw?: unknown;
|
|
1305
1305
|
}>, "many">;
|
|
@@ -1311,14 +1311,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1311
1311
|
files: {
|
|
1312
1312
|
path: string;
|
|
1313
1313
|
required: boolean;
|
|
1314
|
-
revision?: string | undefined;
|
|
1315
1314
|
sizeBytes?: number | undefined;
|
|
1316
1315
|
etag?: string | undefined;
|
|
1316
|
+
revision?: string | undefined;
|
|
1317
1317
|
sourceUrl?: string | undefined;
|
|
1318
1318
|
raw?: unknown;
|
|
1319
1319
|
}[];
|
|
1320
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1321
1320
|
error?: string | undefined;
|
|
1321
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1322
1322
|
description?: string | undefined;
|
|
1323
1323
|
profile?: string | undefined;
|
|
1324
1324
|
dtype?: string | undefined;
|
|
@@ -1339,14 +1339,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1339
1339
|
files: {
|
|
1340
1340
|
path: string;
|
|
1341
1341
|
required: boolean;
|
|
1342
|
-
revision?: string | undefined;
|
|
1343
1342
|
sizeBytes?: number | undefined;
|
|
1344
1343
|
etag?: string | undefined;
|
|
1344
|
+
revision?: string | undefined;
|
|
1345
1345
|
sourceUrl?: string | undefined;
|
|
1346
1346
|
raw?: unknown;
|
|
1347
1347
|
}[];
|
|
1348
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1349
1348
|
error?: string | undefined;
|
|
1349
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1350
1350
|
description?: string | undefined;
|
|
1351
1351
|
profile?: string | undefined;
|
|
1352
1352
|
dtype?: string | undefined;
|
|
@@ -1364,15 +1364,15 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1364
1364
|
files: {
|
|
1365
1365
|
path: string;
|
|
1366
1366
|
required: boolean;
|
|
1367
|
-
revision?: string | undefined;
|
|
1368
1367
|
sizeBytes?: number | undefined;
|
|
1369
1368
|
etag?: string | undefined;
|
|
1369
|
+
revision?: string | undefined;
|
|
1370
1370
|
sourceUrl?: string | undefined;
|
|
1371
1371
|
raw?: unknown;
|
|
1372
1372
|
}[];
|
|
1373
1373
|
modelId: string;
|
|
1374
|
-
profile?: string | undefined;
|
|
1375
1374
|
selectedGroupId?: string | undefined;
|
|
1375
|
+
profile?: string | undefined;
|
|
1376
1376
|
estimatedTotalBytes?: number | undefined;
|
|
1377
1377
|
groups?: {
|
|
1378
1378
|
id: string;
|
|
@@ -1382,14 +1382,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1382
1382
|
files: {
|
|
1383
1383
|
path: string;
|
|
1384
1384
|
required: boolean;
|
|
1385
|
-
revision?: string | undefined;
|
|
1386
1385
|
sizeBytes?: number | undefined;
|
|
1387
1386
|
etag?: string | undefined;
|
|
1387
|
+
revision?: string | undefined;
|
|
1388
1388
|
sourceUrl?: string | undefined;
|
|
1389
1389
|
raw?: unknown;
|
|
1390
1390
|
}[];
|
|
1391
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1392
1391
|
error?: string | undefined;
|
|
1392
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1393
1393
|
description?: string | undefined;
|
|
1394
1394
|
profile?: string | undefined;
|
|
1395
1395
|
dtype?: string | undefined;
|
|
@@ -1407,15 +1407,15 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1407
1407
|
files: {
|
|
1408
1408
|
path: string;
|
|
1409
1409
|
required: boolean;
|
|
1410
|
-
revision?: string | undefined;
|
|
1411
1410
|
sizeBytes?: number | undefined;
|
|
1412
1411
|
etag?: string | undefined;
|
|
1412
|
+
revision?: string | undefined;
|
|
1413
1413
|
sourceUrl?: string | undefined;
|
|
1414
1414
|
raw?: unknown;
|
|
1415
1415
|
}[];
|
|
1416
1416
|
modelId: string;
|
|
1417
|
-
profile?: string | undefined;
|
|
1418
1417
|
selectedGroupId?: string | undefined;
|
|
1418
|
+
profile?: string | undefined;
|
|
1419
1419
|
estimatedTotalBytes?: number | undefined;
|
|
1420
1420
|
groups?: {
|
|
1421
1421
|
id: string;
|
|
@@ -1425,14 +1425,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1425
1425
|
files: {
|
|
1426
1426
|
path: string;
|
|
1427
1427
|
required: boolean;
|
|
1428
|
-
revision?: string | undefined;
|
|
1429
1428
|
sizeBytes?: number | undefined;
|
|
1430
1429
|
etag?: string | undefined;
|
|
1430
|
+
revision?: string | undefined;
|
|
1431
1431
|
sourceUrl?: string | undefined;
|
|
1432
1432
|
raw?: unknown;
|
|
1433
1433
|
}[];
|
|
1434
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1435
1434
|
error?: string | undefined;
|
|
1435
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1436
1436
|
description?: string | undefined;
|
|
1437
1437
|
profile?: string | undefined;
|
|
1438
1438
|
dtype?: string | undefined;
|
|
@@ -1462,7 +1462,6 @@ 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;
|
|
1466
1465
|
resumable: boolean;
|
|
1467
1466
|
selected: boolean;
|
|
1468
1467
|
files: {
|
|
@@ -1471,15 +1470,15 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1471
1470
|
downloadedBytes?: number | undefined;
|
|
1472
1471
|
}[];
|
|
1473
1472
|
modelId: string;
|
|
1473
|
+
version: 2;
|
|
1474
1474
|
profileLoad: {
|
|
1475
|
-
status: "
|
|
1476
|
-
message?: string | undefined;
|
|
1475
|
+
status: "loading" | "ready" | "error" | "idle";
|
|
1477
1476
|
error?: string | undefined;
|
|
1477
|
+
message?: 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;
|
|
1483
1482
|
resumable: boolean;
|
|
1484
1483
|
files: {
|
|
1485
1484
|
path: string;
|
|
@@ -1490,6 +1489,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1490
1489
|
sizeBytes?: number | undefined;
|
|
1491
1490
|
downloadedBytes?: number | undefined;
|
|
1492
1491
|
}[];
|
|
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;
|
|
1504
1503
|
updatedAt?: number | undefined;
|
|
1504
|
+
selectedGroupId?: string | undefined;
|
|
1505
1505
|
progress?: number | undefined;
|
|
1506
1506
|
bytesDownloaded?: number | undefined;
|
|
1507
1507
|
totalBytes?: number | undefined;
|
|
1508
1508
|
installedAt?: number | undefined;
|
|
1509
1509
|
profileManifest?: {
|
|
1510
|
+
updatedAt: number;
|
|
1510
1511
|
source: "huggingface";
|
|
1511
1512
|
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;
|
|
1530
1529
|
sizeBytes?: number | undefined;
|
|
1531
1530
|
etag?: string | undefined;
|
|
1531
|
+
revision?: string | undefined;
|
|
1532
1532
|
sourceUrl?: string | undefined;
|
|
1533
1533
|
raw?: unknown;
|
|
1534
1534
|
}[];
|
|
@@ -1545,15 +1545,15 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1545
1545
|
files: {
|
|
1546
1546
|
path: string;
|
|
1547
1547
|
required: boolean;
|
|
1548
|
-
revision?: string | undefined;
|
|
1549
1548
|
sizeBytes?: number | undefined;
|
|
1550
1549
|
etag?: string | undefined;
|
|
1550
|
+
revision?: string | undefined;
|
|
1551
1551
|
sourceUrl?: string | undefined;
|
|
1552
1552
|
raw?: unknown;
|
|
1553
1553
|
}[];
|
|
1554
1554
|
modelId: string;
|
|
1555
|
-
profile?: string | undefined;
|
|
1556
1555
|
selectedGroupId?: string | undefined;
|
|
1556
|
+
profile?: string | undefined;
|
|
1557
1557
|
estimatedTotalBytes?: number | undefined;
|
|
1558
1558
|
groups?: {
|
|
1559
1559
|
id: string;
|
|
@@ -1563,14 +1563,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1563
1563
|
files: {
|
|
1564
1564
|
path: string;
|
|
1565
1565
|
required: boolean;
|
|
1566
|
-
revision?: string | undefined;
|
|
1567
1566
|
sizeBytes?: number | undefined;
|
|
1568
1567
|
etag?: string | undefined;
|
|
1568
|
+
revision?: string | undefined;
|
|
1569
1569
|
sourceUrl?: string | undefined;
|
|
1570
1570
|
raw?: unknown;
|
|
1571
1571
|
}[];
|
|
1572
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1573
1572
|
error?: string | undefined;
|
|
1573
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1574
1574
|
description?: string | undefined;
|
|
1575
1575
|
profile?: string | undefined;
|
|
1576
1576
|
dtype?: string | undefined;
|
|
@@ -1587,11 +1587,10 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1587
1587
|
} | undefined;
|
|
1588
1588
|
}, {
|
|
1589
1589
|
modelId: string;
|
|
1590
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1591
1590
|
error?: string | undefined;
|
|
1592
|
-
|
|
1593
|
-
selectedGroupId?: string | undefined;
|
|
1591
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1594
1592
|
updatedAt?: number | undefined;
|
|
1593
|
+
selectedGroupId?: string | undefined;
|
|
1595
1594
|
progress?: number | undefined;
|
|
1596
1595
|
bytesDownloaded?: number | undefined;
|
|
1597
1596
|
totalBytes?: number | undefined;
|
|
@@ -1603,16 +1602,17 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1603
1602
|
downloadedBytes?: number | undefined;
|
|
1604
1603
|
}[] | undefined;
|
|
1605
1604
|
installedAt?: number | undefined;
|
|
1605
|
+
version?: 2 | undefined;
|
|
1606
1606
|
profileLoad?: {
|
|
1607
|
-
message?: string | undefined;
|
|
1608
|
-
status?: "ready" | "error" | "loading" | "idle" | undefined;
|
|
1609
1607
|
error?: string | undefined;
|
|
1608
|
+
message?: string | undefined;
|
|
1609
|
+
status?: "loading" | "ready" | "error" | "idle" | undefined;
|
|
1610
1610
|
updatedAt?: number | undefined;
|
|
1611
1611
|
} | undefined;
|
|
1612
1612
|
profileManifest?: {
|
|
1613
|
+
updatedAt: number;
|
|
1613
1614
|
source: "huggingface";
|
|
1614
1615
|
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;
|
|
1634
1633
|
sizeBytes?: number | undefined;
|
|
1635
1634
|
etag?: string | undefined;
|
|
1635
|
+
revision?: string | undefined;
|
|
1636
1636
|
sourceUrl?: string | undefined;
|
|
1637
1637
|
raw?: unknown;
|
|
1638
1638
|
}[];
|
|
@@ -1646,8 +1646,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1646
1646
|
} | undefined;
|
|
1647
1647
|
groupsState?: Record<string, {
|
|
1648
1648
|
groupId: string;
|
|
1649
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1650
1649
|
error?: string | undefined;
|
|
1650
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1651
1651
|
updatedAt?: number | undefined;
|
|
1652
1652
|
baseGroupId?: string | undefined;
|
|
1653
1653
|
rootDir?: string | undefined;
|
|
@@ -1657,11 +1657,11 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1657
1657
|
resumable?: boolean | undefined;
|
|
1658
1658
|
files?: {
|
|
1659
1659
|
path: string;
|
|
1660
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1661
1660
|
error?: string | undefined;
|
|
1662
|
-
|
|
1661
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1663
1662
|
updatedAt?: number | undefined;
|
|
1664
1663
|
sizeBytes?: number | undefined;
|
|
1664
|
+
required?: boolean | undefined;
|
|
1665
1665
|
downloadedBytes?: number | undefined;
|
|
1666
1666
|
}[] | undefined;
|
|
1667
1667
|
installedAt?: number | undefined;
|
|
@@ -1670,15 +1670,15 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1670
1670
|
files: {
|
|
1671
1671
|
path: string;
|
|
1672
1672
|
required: boolean;
|
|
1673
|
-
revision?: string | undefined;
|
|
1674
1673
|
sizeBytes?: number | undefined;
|
|
1675
1674
|
etag?: string | undefined;
|
|
1675
|
+
revision?: string | undefined;
|
|
1676
1676
|
sourceUrl?: string | undefined;
|
|
1677
1677
|
raw?: unknown;
|
|
1678
1678
|
}[];
|
|
1679
1679
|
modelId: string;
|
|
1680
|
-
profile?: string | undefined;
|
|
1681
1680
|
selectedGroupId?: string | undefined;
|
|
1681
|
+
profile?: string | undefined;
|
|
1682
1682
|
estimatedTotalBytes?: number | undefined;
|
|
1683
1683
|
groups?: {
|
|
1684
1684
|
id: string;
|
|
@@ -1688,14 +1688,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1688
1688
|
files: {
|
|
1689
1689
|
path: string;
|
|
1690
1690
|
required: boolean;
|
|
1691
|
-
revision?: string | undefined;
|
|
1692
1691
|
sizeBytes?: number | undefined;
|
|
1693
1692
|
etag?: string | undefined;
|
|
1693
|
+
revision?: string | undefined;
|
|
1694
1694
|
sourceUrl?: string | undefined;
|
|
1695
1695
|
raw?: unknown;
|
|
1696
1696
|
}[];
|
|
1697
|
-
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1698
1697
|
error?: string | undefined;
|
|
1698
|
+
status?: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting" | undefined;
|
|
1699
1699
|
description?: string | undefined;
|
|
1700
1700
|
profile?: string | undefined;
|
|
1701
1701
|
dtype?: string | undefined;
|
|
@@ -1771,13 +1771,13 @@ declare const TranslationEngineDependencyStatusSchema: z.ZodObject<{
|
|
|
1771
1771
|
state: z.ZodEnum<["installed", "installing", "missing", "error", "not-applicable"]>;
|
|
1772
1772
|
}, "strip", z.ZodTypeAny, {
|
|
1773
1773
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
1774
|
-
message?: string | undefined;
|
|
1775
1774
|
error?: string | undefined;
|
|
1775
|
+
message?: string | undefined;
|
|
1776
1776
|
progress?: number | undefined;
|
|
1777
1777
|
}, {
|
|
1778
1778
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
1779
|
-
message?: string | undefined;
|
|
1780
1779
|
error?: string | undefined;
|
|
1780
|
+
message?: string | undefined;
|
|
1781
1781
|
progress?: number | undefined;
|
|
1782
1782
|
}>;
|
|
1783
1783
|
interface TranslationEngineRuntimeStatus {
|
|
@@ -1793,14 +1793,14 @@ 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: "ready" | "error" | "
|
|
1797
|
-
message?: string | undefined;
|
|
1796
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
1798
1797
|
error?: string | undefined;
|
|
1798
|
+
message?: string | undefined;
|
|
1799
1799
|
progress?: number | undefined;
|
|
1800
1800
|
}, {
|
|
1801
|
-
state: "ready" | "error" | "
|
|
1802
|
-
message?: string | undefined;
|
|
1801
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
1803
1802
|
error?: string | undefined;
|
|
1803
|
+
message?: string | undefined;
|
|
1804
1804
|
progress?: number | undefined;
|
|
1805
1805
|
}>;
|
|
1806
1806
|
interface TranslationEngineAssetStatus {
|
|
@@ -1817,13 +1817,13 @@ declare const TranslationEngineAssetStatusSchema: z.ZodObject<{
|
|
|
1817
1817
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
1818
1818
|
}, "strip", z.ZodTypeAny, {
|
|
1819
1819
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
1820
|
-
message?: string | undefined;
|
|
1821
1820
|
error?: string | undefined;
|
|
1821
|
+
message?: string | undefined;
|
|
1822
1822
|
progress?: number | undefined;
|
|
1823
1823
|
}, {
|
|
1824
1824
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
1825
|
-
message?: string | undefined;
|
|
1826
1825
|
error?: string | undefined;
|
|
1826
|
+
message?: string | undefined;
|
|
1827
1827
|
progress?: number | undefined;
|
|
1828
1828
|
}>;
|
|
1829
1829
|
interface TranslationEngineLifecycleStatus {
|
|
@@ -1841,13 +1841,13 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1841
1841
|
state: z.ZodEnum<["installed", "installing", "missing", "error", "not-applicable"]>;
|
|
1842
1842
|
}, "strip", z.ZodTypeAny, {
|
|
1843
1843
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
1844
|
-
message?: string | undefined;
|
|
1845
1844
|
error?: string | undefined;
|
|
1845
|
+
message?: string | undefined;
|
|
1846
1846
|
progress?: number | undefined;
|
|
1847
1847
|
}, {
|
|
1848
1848
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
1849
|
-
message?: string | undefined;
|
|
1850
1849
|
error?: string | undefined;
|
|
1850
|
+
message?: string | undefined;
|
|
1851
1851
|
progress?: number | undefined;
|
|
1852
1852
|
}>;
|
|
1853
1853
|
runtime: z.ZodObject<{
|
|
@@ -1857,14 +1857,14 @@ 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: "ready" | "error" | "
|
|
1861
|
-
message?: string | undefined;
|
|
1860
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
1862
1861
|
error?: string | undefined;
|
|
1862
|
+
message?: string | undefined;
|
|
1863
1863
|
progress?: number | undefined;
|
|
1864
1864
|
}, {
|
|
1865
|
-
state: "ready" | "error" | "
|
|
1866
|
-
message?: string | undefined;
|
|
1865
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
1867
1866
|
error?: string | undefined;
|
|
1867
|
+
message?: string | undefined;
|
|
1868
1868
|
progress?: number | undefined;
|
|
1869
1869
|
}>;
|
|
1870
1870
|
assets: z.ZodObject<{
|
|
@@ -1875,53 +1875,53 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1875
1875
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
1876
1876
|
}, "strip", z.ZodTypeAny, {
|
|
1877
1877
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
1878
|
-
message?: string | undefined;
|
|
1879
1878
|
error?: string | undefined;
|
|
1879
|
+
message?: string | undefined;
|
|
1880
1880
|
progress?: number | undefined;
|
|
1881
1881
|
}, {
|
|
1882
1882
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
1883
|
-
message?: string | undefined;
|
|
1884
1883
|
error?: string | undefined;
|
|
1884
|
+
message?: string | undefined;
|
|
1885
1885
|
progress?: number | undefined;
|
|
1886
1886
|
}>;
|
|
1887
1887
|
summary: z.ZodOptional<z.ZodString>;
|
|
1888
1888
|
}, "strip", z.ZodTypeAny, {
|
|
1889
1889
|
dependency: {
|
|
1890
1890
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
1891
|
-
message?: string | undefined;
|
|
1892
1891
|
error?: string | undefined;
|
|
1892
|
+
message?: string | undefined;
|
|
1893
1893
|
progress?: number | undefined;
|
|
1894
1894
|
};
|
|
1895
1895
|
runtime: {
|
|
1896
|
-
state: "ready" | "error" | "
|
|
1897
|
-
message?: string | undefined;
|
|
1896
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
1898
1897
|
error?: string | undefined;
|
|
1898
|
+
message?: string | undefined;
|
|
1899
1899
|
progress?: number | undefined;
|
|
1900
1900
|
};
|
|
1901
1901
|
assets: {
|
|
1902
1902
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
1903
|
-
message?: string | undefined;
|
|
1904
1903
|
error?: string | undefined;
|
|
1904
|
+
message?: string | undefined;
|
|
1905
1905
|
progress?: number | undefined;
|
|
1906
1906
|
};
|
|
1907
1907
|
summary?: string | undefined;
|
|
1908
1908
|
}, {
|
|
1909
1909
|
dependency: {
|
|
1910
1910
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
1911
|
-
message?: string | undefined;
|
|
1912
1911
|
error?: string | undefined;
|
|
1912
|
+
message?: string | undefined;
|
|
1913
1913
|
progress?: number | undefined;
|
|
1914
1914
|
};
|
|
1915
1915
|
runtime: {
|
|
1916
|
-
state: "ready" | "error" | "
|
|
1917
|
-
message?: string | undefined;
|
|
1916
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
1918
1917
|
error?: string | undefined;
|
|
1918
|
+
message?: string | undefined;
|
|
1919
1919
|
progress?: number | undefined;
|
|
1920
1920
|
};
|
|
1921
1921
|
assets: {
|
|
1922
1922
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
1923
|
-
message?: string | undefined;
|
|
1924
1923
|
error?: string | undefined;
|
|
1924
|
+
message?: string | undefined;
|
|
1925
1925
|
progress?: number | undefined;
|
|
1926
1926
|
};
|
|
1927
1927
|
summary?: string | undefined;
|
|
@@ -1976,13 +1976,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
1976
1976
|
state: z.ZodEnum<["installed", "installing", "missing", "error", "not-applicable"]>;
|
|
1977
1977
|
}, "strip", z.ZodTypeAny, {
|
|
1978
1978
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
1979
|
-
message?: string | undefined;
|
|
1980
1979
|
error?: string | undefined;
|
|
1980
|
+
message?: string | undefined;
|
|
1981
1981
|
progress?: number | undefined;
|
|
1982
1982
|
}, {
|
|
1983
1983
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
1984
|
-
message?: string | undefined;
|
|
1985
1984
|
error?: string | undefined;
|
|
1985
|
+
message?: string | undefined;
|
|
1986
1986
|
progress?: number | undefined;
|
|
1987
1987
|
}>;
|
|
1988
1988
|
runtime: z.ZodObject<{
|
|
@@ -1992,14 +1992,14 @@ 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: "ready" | "error" | "
|
|
1996
|
-
message?: string | undefined;
|
|
1995
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
1997
1996
|
error?: string | undefined;
|
|
1997
|
+
message?: string | undefined;
|
|
1998
1998
|
progress?: number | undefined;
|
|
1999
1999
|
}, {
|
|
2000
|
-
state: "ready" | "error" | "
|
|
2001
|
-
message?: string | undefined;
|
|
2000
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
2002
2001
|
error?: string | undefined;
|
|
2002
|
+
message?: string | undefined;
|
|
2003
2003
|
progress?: number | undefined;
|
|
2004
2004
|
}>;
|
|
2005
2005
|
assets: z.ZodObject<{
|
|
@@ -2010,53 +2010,53 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2010
2010
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
2011
2011
|
}, "strip", z.ZodTypeAny, {
|
|
2012
2012
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2013
|
-
message?: string | undefined;
|
|
2014
2013
|
error?: string | undefined;
|
|
2014
|
+
message?: string | undefined;
|
|
2015
2015
|
progress?: number | undefined;
|
|
2016
2016
|
}, {
|
|
2017
2017
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2018
|
-
message?: string | undefined;
|
|
2019
2018
|
error?: string | undefined;
|
|
2019
|
+
message?: string | undefined;
|
|
2020
2020
|
progress?: number | undefined;
|
|
2021
2021
|
}>;
|
|
2022
2022
|
summary: z.ZodOptional<z.ZodString>;
|
|
2023
2023
|
}, "strip", z.ZodTypeAny, {
|
|
2024
2024
|
dependency: {
|
|
2025
2025
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
2026
|
-
message?: string | undefined;
|
|
2027
2026
|
error?: string | undefined;
|
|
2027
|
+
message?: string | undefined;
|
|
2028
2028
|
progress?: number | undefined;
|
|
2029
2029
|
};
|
|
2030
2030
|
runtime: {
|
|
2031
|
-
state: "ready" | "error" | "
|
|
2032
|
-
message?: string | undefined;
|
|
2031
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
2033
2032
|
error?: string | undefined;
|
|
2033
|
+
message?: string | undefined;
|
|
2034
2034
|
progress?: number | undefined;
|
|
2035
2035
|
};
|
|
2036
2036
|
assets: {
|
|
2037
2037
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2038
|
-
message?: string | undefined;
|
|
2039
2038
|
error?: string | undefined;
|
|
2039
|
+
message?: string | undefined;
|
|
2040
2040
|
progress?: number | undefined;
|
|
2041
2041
|
};
|
|
2042
2042
|
summary?: string | undefined;
|
|
2043
2043
|
}, {
|
|
2044
2044
|
dependency: {
|
|
2045
2045
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
2046
|
-
message?: string | undefined;
|
|
2047
2046
|
error?: string | undefined;
|
|
2047
|
+
message?: string | undefined;
|
|
2048
2048
|
progress?: number | undefined;
|
|
2049
2049
|
};
|
|
2050
2050
|
runtime: {
|
|
2051
|
-
state: "ready" | "error" | "
|
|
2052
|
-
message?: string | undefined;
|
|
2051
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
2053
2052
|
error?: string | undefined;
|
|
2053
|
+
message?: string | undefined;
|
|
2054
2054
|
progress?: number | undefined;
|
|
2055
2055
|
};
|
|
2056
2056
|
assets: {
|
|
2057
2057
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2058
|
-
message?: string | undefined;
|
|
2059
2058
|
error?: string | undefined;
|
|
2059
|
+
message?: string | undefined;
|
|
2060
2060
|
progress?: number | undefined;
|
|
2061
2061
|
};
|
|
2062
2062
|
summary?: string | undefined;
|
|
@@ -2066,20 +2066,20 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2066
2066
|
lifecycle: {
|
|
2067
2067
|
dependency: {
|
|
2068
2068
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
2069
|
-
message?: string | undefined;
|
|
2070
2069
|
error?: string | undefined;
|
|
2070
|
+
message?: string | undefined;
|
|
2071
2071
|
progress?: number | undefined;
|
|
2072
2072
|
};
|
|
2073
2073
|
runtime: {
|
|
2074
|
-
state: "ready" | "error" | "
|
|
2075
|
-
message?: string | undefined;
|
|
2074
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
2076
2075
|
error?: string | undefined;
|
|
2076
|
+
message?: string | undefined;
|
|
2077
2077
|
progress?: number | undefined;
|
|
2078
2078
|
};
|
|
2079
2079
|
assets: {
|
|
2080
2080
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2081
|
-
message?: string | undefined;
|
|
2082
2081
|
error?: string | undefined;
|
|
2082
|
+
message?: string | undefined;
|
|
2083
2083
|
progress?: number | undefined;
|
|
2084
2084
|
};
|
|
2085
2085
|
summary?: string | undefined;
|
|
@@ -2089,20 +2089,20 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2089
2089
|
lifecycle: {
|
|
2090
2090
|
dependency: {
|
|
2091
2091
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
2092
|
-
message?: string | undefined;
|
|
2093
2092
|
error?: string | undefined;
|
|
2093
|
+
message?: string | undefined;
|
|
2094
2094
|
progress?: number | undefined;
|
|
2095
2095
|
};
|
|
2096
2096
|
runtime: {
|
|
2097
|
-
state: "ready" | "error" | "
|
|
2098
|
-
message?: string | undefined;
|
|
2097
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
2099
2098
|
error?: string | undefined;
|
|
2099
|
+
message?: string | undefined;
|
|
2100
2100
|
progress?: number | undefined;
|
|
2101
2101
|
};
|
|
2102
2102
|
assets: {
|
|
2103
2103
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2104
|
-
message?: string | undefined;
|
|
2105
2104
|
error?: string | undefined;
|
|
2105
|
+
message?: string | undefined;
|
|
2106
2106
|
progress?: number | undefined;
|
|
2107
2107
|
};
|
|
2108
2108
|
summary?: string | undefined;
|
|
@@ -2130,13 +2130,13 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2130
2130
|
state: z.ZodEnum<["installed", "installing", "missing", "error", "not-applicable"]>;
|
|
2131
2131
|
}, "strip", z.ZodTypeAny, {
|
|
2132
2132
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
2133
|
-
message?: string | undefined;
|
|
2134
2133
|
error?: string | undefined;
|
|
2134
|
+
message?: string | undefined;
|
|
2135
2135
|
progress?: number | undefined;
|
|
2136
2136
|
}, {
|
|
2137
2137
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
2138
|
-
message?: string | undefined;
|
|
2139
2138
|
error?: string | undefined;
|
|
2139
|
+
message?: string | undefined;
|
|
2140
2140
|
progress?: number | undefined;
|
|
2141
2141
|
}>;
|
|
2142
2142
|
runtime: z.ZodObject<{
|
|
@@ -2146,14 +2146,14 @@ 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: "ready" | "error" | "
|
|
2150
|
-
message?: string | undefined;
|
|
2149
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
2151
2150
|
error?: string | undefined;
|
|
2151
|
+
message?: string | undefined;
|
|
2152
2152
|
progress?: number | undefined;
|
|
2153
2153
|
}, {
|
|
2154
|
-
state: "ready" | "error" | "
|
|
2155
|
-
message?: string | undefined;
|
|
2154
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
2156
2155
|
error?: string | undefined;
|
|
2156
|
+
message?: string | undefined;
|
|
2157
2157
|
progress?: number | undefined;
|
|
2158
2158
|
}>;
|
|
2159
2159
|
assets: z.ZodObject<{
|
|
@@ -2164,53 +2164,53 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2164
2164
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
2165
2165
|
}, "strip", z.ZodTypeAny, {
|
|
2166
2166
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2167
|
-
message?: string | undefined;
|
|
2168
2167
|
error?: string | undefined;
|
|
2168
|
+
message?: string | undefined;
|
|
2169
2169
|
progress?: number | undefined;
|
|
2170
2170
|
}, {
|
|
2171
2171
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2172
|
-
message?: string | undefined;
|
|
2173
2172
|
error?: string | undefined;
|
|
2173
|
+
message?: string | undefined;
|
|
2174
2174
|
progress?: number | undefined;
|
|
2175
2175
|
}>;
|
|
2176
2176
|
summary: z.ZodOptional<z.ZodString>;
|
|
2177
2177
|
}, "strip", z.ZodTypeAny, {
|
|
2178
2178
|
dependency: {
|
|
2179
2179
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
2180
|
-
message?: string | undefined;
|
|
2181
2180
|
error?: string | undefined;
|
|
2181
|
+
message?: string | undefined;
|
|
2182
2182
|
progress?: number | undefined;
|
|
2183
2183
|
};
|
|
2184
2184
|
runtime: {
|
|
2185
|
-
state: "ready" | "error" | "
|
|
2186
|
-
message?: string | undefined;
|
|
2185
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
2187
2186
|
error?: string | undefined;
|
|
2187
|
+
message?: string | undefined;
|
|
2188
2188
|
progress?: number | undefined;
|
|
2189
2189
|
};
|
|
2190
2190
|
assets: {
|
|
2191
2191
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2192
|
-
message?: string | undefined;
|
|
2193
2192
|
error?: string | undefined;
|
|
2193
|
+
message?: string | undefined;
|
|
2194
2194
|
progress?: number | undefined;
|
|
2195
2195
|
};
|
|
2196
2196
|
summary?: string | undefined;
|
|
2197
2197
|
}, {
|
|
2198
2198
|
dependency: {
|
|
2199
2199
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
2200
|
-
message?: string | undefined;
|
|
2201
2200
|
error?: string | undefined;
|
|
2201
|
+
message?: string | undefined;
|
|
2202
2202
|
progress?: number | undefined;
|
|
2203
2203
|
};
|
|
2204
2204
|
runtime: {
|
|
2205
|
-
state: "ready" | "error" | "
|
|
2206
|
-
message?: string | undefined;
|
|
2205
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
2207
2206
|
error?: string | undefined;
|
|
2207
|
+
message?: string | undefined;
|
|
2208
2208
|
progress?: number | undefined;
|
|
2209
2209
|
};
|
|
2210
2210
|
assets: {
|
|
2211
2211
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2212
|
-
message?: string | undefined;
|
|
2213
2212
|
error?: string | undefined;
|
|
2213
|
+
message?: string | undefined;
|
|
2214
2214
|
progress?: number | undefined;
|
|
2215
2215
|
};
|
|
2216
2216
|
summary?: string | undefined;
|
|
@@ -2220,20 +2220,20 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2220
2220
|
lifecycle: {
|
|
2221
2221
|
dependency: {
|
|
2222
2222
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
2223
|
-
message?: string | undefined;
|
|
2224
2223
|
error?: string | undefined;
|
|
2224
|
+
message?: string | undefined;
|
|
2225
2225
|
progress?: number | undefined;
|
|
2226
2226
|
};
|
|
2227
2227
|
runtime: {
|
|
2228
|
-
state: "ready" | "error" | "
|
|
2229
|
-
message?: string | undefined;
|
|
2228
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
2230
2229
|
error?: string | undefined;
|
|
2230
|
+
message?: string | undefined;
|
|
2231
2231
|
progress?: number | undefined;
|
|
2232
2232
|
};
|
|
2233
2233
|
assets: {
|
|
2234
2234
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2235
|
-
message?: string | undefined;
|
|
2236
2235
|
error?: string | undefined;
|
|
2236
|
+
message?: string | undefined;
|
|
2237
2237
|
progress?: number | undefined;
|
|
2238
2238
|
};
|
|
2239
2239
|
summary?: string | undefined;
|
|
@@ -2243,20 +2243,20 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2243
2243
|
lifecycle: {
|
|
2244
2244
|
dependency: {
|
|
2245
2245
|
state: "error" | "installed" | "installing" | "missing" | "not-applicable";
|
|
2246
|
-
message?: string | undefined;
|
|
2247
2246
|
error?: string | undefined;
|
|
2247
|
+
message?: string | undefined;
|
|
2248
2248
|
progress?: number | undefined;
|
|
2249
2249
|
};
|
|
2250
2250
|
runtime: {
|
|
2251
|
-
state: "ready" | "error" | "
|
|
2252
|
-
message?: string | undefined;
|
|
2251
|
+
state: "ready" | "error" | "not-applicable" | "probing" | "failed";
|
|
2253
2252
|
error?: string | undefined;
|
|
2253
|
+
message?: string | undefined;
|
|
2254
2254
|
progress?: number | undefined;
|
|
2255
2255
|
};
|
|
2256
2256
|
assets: {
|
|
2257
2257
|
state: "ready" | "error" | "downloading" | "missing" | "not-applicable";
|
|
2258
|
-
message?: string | undefined;
|
|
2259
2258
|
error?: string | undefined;
|
|
2259
|
+
message?: string | undefined;
|
|
2260
2260
|
progress?: number | undefined;
|
|
2261
2261
|
};
|
|
2262
2262
|
summary?: string | undefined;
|
|
@@ -2759,19 +2759,19 @@ declare const BatchTranslateInputSchema: z.ZodObject<{
|
|
|
2759
2759
|
sourceLanguage: string;
|
|
2760
2760
|
inputs: string[];
|
|
2761
2761
|
timeoutMs: number;
|
|
2762
|
-
instructions?: string | undefined;
|
|
2763
|
-
context?: string | undefined;
|
|
2764
2762
|
model?: string | undefined;
|
|
2765
2763
|
selectedGroupId?: string | undefined;
|
|
2764
|
+
instructions?: string | undefined;
|
|
2765
|
+
context?: string | undefined;
|
|
2766
2766
|
}, {
|
|
2767
2767
|
targetLanguage: string;
|
|
2768
2768
|
engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama";
|
|
2769
2769
|
sourceLanguage: string;
|
|
2770
2770
|
inputs: string[];
|
|
2771
|
-
instructions?: string | undefined;
|
|
2772
|
-
context?: string | undefined;
|
|
2773
2771
|
model?: string | undefined;
|
|
2774
2772
|
selectedGroupId?: string | undefined;
|
|
2773
|
+
instructions?: string | undefined;
|
|
2774
|
+
context?: string | undefined;
|
|
2775
2775
|
timeoutMs?: number | undefined;
|
|
2776
2776
|
}>;
|
|
2777
2777
|
type BatchTranslateInput = z.infer<typeof BatchTranslateInputSchema>;
|
|
@@ -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
|
-
kind: "runtime" | "timeout" | "memory-limit" | "abort";
|
|
2786
2785
|
message: string;
|
|
2787
|
-
}, {
|
|
2788
2786
|
kind: "runtime" | "timeout" | "memory-limit" | "abort";
|
|
2787
|
+
}, {
|
|
2789
2788
|
message: string;
|
|
2789
|
+
kind: "runtime" | "timeout" | "memory-limit" | "abort";
|
|
2790
2790
|
}>>;
|
|
2791
2791
|
}, "strip", z.ZodTypeAny, {
|
|
2792
2792
|
index: number;
|
|
2793
2793
|
error?: {
|
|
2794
|
-
kind: "runtime" | "timeout" | "memory-limit" | "abort";
|
|
2795
2794
|
message: string;
|
|
2795
|
+
kind: "runtime" | "timeout" | "memory-limit" | "abort";
|
|
2796
2796
|
} | undefined;
|
|
2797
2797
|
output?: string | undefined;
|
|
2798
2798
|
}, {
|
|
2799
2799
|
index: number;
|
|
2800
2800
|
error?: {
|
|
2801
|
-
kind: "runtime" | "timeout" | "memory-limit" | "abort";
|
|
2802
2801
|
message: string;
|
|
2802
|
+
kind: "runtime" | "timeout" | "memory-limit" | "abort";
|
|
2803
2803
|
} | undefined;
|
|
2804
2804
|
output?: string | undefined;
|
|
2805
2805
|
}>;
|