@openspecui/core 5.0.0 → 6.0.0-beta.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/cli-projection-CBvIiy5p.d.mts +789 -0
- package/dist/cli-projection-vO3-FJg5.mjs +161 -0
- package/dist/cli-projection.d.mts +6 -0
- package/dist/cli-projection.mjs +4 -0
- package/dist/command-result-CuWzPRAT.d.mts +8477 -0
- package/dist/common-D8YUK9dA.mjs +57 -0
- package/dist/dashboard-display.d.mts +22 -1
- package/dist/dashboard-display.mjs +42 -1
- package/dist/dashboard-summary-transport-CYBuU4iT.mjs +189 -0
- package/dist/dashboard-summary-transport-Dskh3E9-.d.mts +67407 -0
- package/dist/dashboard-summary-transport.d.mts +25 -0
- package/dist/dashboard-summary-transport.mjs +6 -0
- package/dist/{document-translation-D4YK18I3.mjs → document-translation-CeJFGMoy.mjs} +1 -1
- package/dist/{document-translation-7R8cf8_B.d.mts → document-translation-D50BnvVh.d.mts} +2 -2
- package/dist/document-translation.d.mts +1 -1
- package/dist/document-translation.mjs +2 -2
- package/dist/{hosted-app-CzMRiEgY.mjs → hosted-app-BPU4OR41.mjs} +31 -9
- package/dist/hosted-app.d.mts +25 -2
- package/dist/hosted-app.mjs +7 -2
- package/dist/hosted-contract-CcRnb51e.mjs +234 -0
- package/dist/hosted-contract.d.mts +25 -0
- package/dist/hosted-contract.mjs +7 -0
- package/dist/index.d.mts +25 -2686
- package/dist/index.mjs +2114 -1098
- package/dist/{local-download-profiles-caa4PECd.d.mts → local-download-profiles-bYSSKmtx.d.mts} +1 -1
- package/dist/local-download-profiles.d.mts +2 -2
- package/dist/local-download-profiles.mjs +1 -1
- package/dist/markdown-facts.d.mts +1 -1
- package/dist/markdown-facts.mjs +1 -1
- package/dist/{markdown-reading-CgXuXp6s.d.mts → markdown-reading-LUdqfbxH.d.mts} +1 -1
- package/dist/{markdown-reading-DdcB7run.mjs → markdown-reading-mG4OAbDO.mjs} +1 -1
- package/dist/markdown-reading.d.mts +2 -2
- package/dist/markdown-reading.mjs +2 -2
- package/dist/{notifications-DZeOl4HV.d.mts → notifications-Ak6LdCaL.d.mts} +42 -16
- package/dist/{notifications-AKAcmeKT.mjs → notifications-C2bxAzX_.mjs} +13 -2
- package/dist/notifications.d.mts +2 -2
- package/dist/notifications.mjs +3 -3
- package/dist/{openspec-annotations-CeXd0JIZ.d.mts → openspec-annotations-C58Aoi-V.d.mts} +2 -2
- package/dist/{openspec-annotations-D_6Pz7k4.mjs → openspec-annotations-DCfqBMal.mjs} +2 -2
- package/dist/openspec-annotations.d.mts +3 -3
- package/dist/openspec-annotations.mjs +3 -3
- package/dist/openspec-compat.d.mts +18 -11
- package/dist/openspec-compat.mjs +20 -13
- package/dist/{openspec-projection-B8s-KWQ7.mjs → openspec-projection-DCgToo0Q.mjs} +2 -2
- package/dist/{openspec-projection-B0ch1rZw.d.mts → openspec-projection-DU7RFRyA.d.mts} +3 -3
- package/dist/openspec-projection.d.mts +5 -5
- package/dist/openspec-projection.mjs +4 -4
- package/dist/opsx-display-path.d.mts +1 -1
- package/dist/opsx-display-path.mjs +1 -1
- package/dist/{opsx-entity-DZyl-uhQ.d.mts → opsx-entity-6PnbYZZp.d.mts} +2 -2
- package/dist/opsx-entity.d.mts +7 -3
- package/dist/opsx-entity.mjs +1 -1
- package/dist/{opsx-schema-detail-CS0tWa9v.d.mts → opsx-schema-detail-CiqCYl2F.d.mts} +2 -2
- package/dist/opsx-schema-detail.d.mts +8 -4
- package/dist/opsx-schema-detail.mjs +1 -1
- package/dist/opsx-types-Fs0tRnL2.d.mts +3642 -0
- package/dist/opsx-workflows-BvnJqjfL.d.mts +36 -0
- package/dist/opsx-workflows-Ccc6U7IR.mjs +89 -0
- package/dist/opsx-workflows.d.mts +2 -0
- package/dist/opsx-workflows.mjs +3 -0
- package/dist/planning-cli-projection-DIRxeq2H.mjs +421 -0
- package/dist/planning-cli-projection.d.mts +25 -0
- package/dist/planning-cli-projection.mjs +9 -0
- package/dist/schemas-BFroDdOC.mjs +287 -0
- package/dist/{schemas-D01aQnV4.d.mts → schemas-D-6yi_I-.d.mts} +524 -78
- package/dist/{sounds-kgDn4x8v.d.mts → sounds-C24SzEHX.d.mts} +4 -4
- package/dist/sounds.d.mts +1 -1
- package/dist/sounds.mjs +1 -1
- package/dist/spec-catalog-ZGuiZ4CE.mjs +901 -0
- package/dist/spec-catalog.d.mts +25 -0
- package/dist/spec-catalog.mjs +6 -0
- package/dist/store-mutation-protocol-3TzQ6ete.d.mts +727 -0
- package/dist/store-mutation-protocol-CSwD-xPO.mjs +63 -0
- package/dist/store-mutation-protocol.d.mts +2 -0
- package/dist/store-mutation-protocol.mjs +4 -0
- package/dist/{store-types-BiE-Ey--.d.mts → store-types-CmDVyObq.d.mts} +22 -12
- package/dist/{store-types-Cu41QSww.mjs → store-types-DlX1REBg.mjs} +39 -18
- package/dist/store-types.d.mts +6 -2
- package/dist/store-types.mjs +2 -2
- package/dist/task-progress-B_IWVXjA.mjs +216 -0
- package/dist/task-progress.d.mts +7 -4
- package/dist/task-progress.mjs +3 -3
- package/dist/{terminal-audio-CsuGTNV-.d.mts → terminal-audio-Rj1pLeSw.d.mts} +1 -1
- package/dist/{terminal-audio-TBoU2jSK.mjs → terminal-audio-d6KItUeJ.mjs} +1 -1
- package/dist/terminal-audio.d.mts +2 -2
- package/dist/terminal-audio.mjs +2 -2
- package/dist/terminal-control.d.mts +2 -2
- package/dist/terminal-control.mjs +1 -1
- package/dist/{terminal-invocation-BlFwKpIc.d.mts → terminal-invocation-G19ieMZy.d.mts} +212 -93
- package/dist/terminal-invocation.d.mts +1 -1
- package/dist/terminal-invocation.mjs +1 -1
- package/dist/terminal-theme.d.mts +1 -1
- package/dist/terminal-theme.mjs +1 -1
- package/dist/translation-language-pair.d.mts +1 -1
- package/dist/translation-language-pair.mjs +1 -1
- package/dist/{translator-BErXgQxx.d.mts → translator-CNmE1fAm.d.mts} +132 -132
- package/dist/translator.d.mts +1 -1
- package/dist/translator.mjs +1 -1
- package/package.json +55 -7
- package/dist/hosted-app-DHs94gIR.d.mts +0 -43
- package/dist/opsx-types-Dnb06uff.d.mts +0 -402
- package/dist/task-progress-C1TGMbIR.d.mts +0 -24
- package/dist/task-progress-DhHYHnTv.mjs +0 -70
- /package/dist/{local-download-profiles-kpNEcdF_.mjs → local-download-profiles-odzOdf96.mjs} +0 -0
- /package/dist/{markdown-facts-BBCTe_qq.mjs → markdown-facts-BUqLvFRf.mjs} +0 -0
- /package/dist/{markdown-facts-Dk7FKaaT.d.mts → markdown-facts-CCw3QdbM.d.mts} +0 -0
- /package/dist/{opsx-display-path-CUCOrHcM.mjs → opsx-display-path-D13XV20v.mjs} +0 -0
- /package/dist/{opsx-display-path-cIMKa1aw.d.mts → opsx-display-path-RXS5JTbV.d.mts} +0 -0
- /package/dist/{opsx-entity-c7m5CbgU.mjs → opsx-entity-Cn_Zu1J3.mjs} +0 -0
- /package/dist/{opsx-schema-detail-BH82X6aU.mjs → opsx-schema-detail-Beis4Ba2.mjs} +0 -0
- /package/dist/{sounds-CB3ubSnj.mjs → sounds-NXwveBqq.mjs} +0 -0
- /package/dist/{terminal-control-VpTuh17B.mjs → terminal-control-BSAlOTs8.mjs} +0 -0
- /package/dist/{terminal-invocation-C2MCNBhK.mjs → terminal-invocation-0p-j2eSP.mjs} +0 -0
- /package/dist/{terminal-theme-cevliJw2.mjs → terminal-theme-B8iRttTR.mjs} +0 -0
- /package/dist/{terminal-theme-hvQjTsNh.d.mts → terminal-theme-m3MSGJ7U.d.mts} +0 -0
- /package/dist/{translation-language-pair-DZ_WNp_M.mjs → translation-language-pair-Bbhk-LAC.mjs} +0 -0
- /package/dist/{translation-language-pair-DmaOfHqD.d.mts → translation-language-pair-C18GPATW.d.mts} +0 -0
- /package/dist/{translator-DbUT1Ayn.mjs → translator-Cjtv4tya.mjs} +0 -0
|
@@ -218,8 +218,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
218
218
|
raw?: unknown;
|
|
219
219
|
}>, "many">;
|
|
220
220
|
}, "strip", z.ZodTypeAny, {
|
|
221
|
-
label: string;
|
|
222
221
|
id: string;
|
|
222
|
+
label: string;
|
|
223
223
|
selectable: boolean;
|
|
224
224
|
selected: boolean;
|
|
225
225
|
files: {
|
|
@@ -231,7 +231,7 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
231
231
|
sourceUrl?: string | undefined;
|
|
232
232
|
raw?: unknown;
|
|
233
233
|
}[];
|
|
234
|
-
status?: "
|
|
234
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
235
235
|
error?: string | undefined;
|
|
236
236
|
description?: string | undefined;
|
|
237
237
|
profile?: string | undefined;
|
|
@@ -246,8 +246,8 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
246
246
|
totalBytes?: number | undefined;
|
|
247
247
|
resumable?: boolean | undefined;
|
|
248
248
|
}, {
|
|
249
|
-
label: string;
|
|
250
249
|
id: string;
|
|
250
|
+
label: string;
|
|
251
251
|
selectable: boolean;
|
|
252
252
|
selected: boolean;
|
|
253
253
|
files: {
|
|
@@ -259,7 +259,7 @@ declare const TranslationDownloadGroupPlanSchema: z.ZodObject<{
|
|
|
259
259
|
sourceUrl?: string | undefined;
|
|
260
260
|
raw?: unknown;
|
|
261
261
|
}[];
|
|
262
|
-
status?: "
|
|
262
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
263
263
|
error?: string | undefined;
|
|
264
264
|
description?: string | undefined;
|
|
265
265
|
profile?: string | undefined;
|
|
@@ -341,8 +341,8 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
|
|
|
341
341
|
raw?: unknown;
|
|
342
342
|
}>, "many">;
|
|
343
343
|
}, "strip", z.ZodTypeAny, {
|
|
344
|
-
label: string;
|
|
345
344
|
id: string;
|
|
345
|
+
label: string;
|
|
346
346
|
baseGroupId: string;
|
|
347
347
|
commitHash: string;
|
|
348
348
|
shortCommitHash: string;
|
|
@@ -363,8 +363,8 @@ declare const LocalModelProfileManifestGroupSchema: z.ZodObject<{
|
|
|
363
363
|
dtype?: string | undefined;
|
|
364
364
|
estimatedTotalBytes?: number | undefined;
|
|
365
365
|
}, {
|
|
366
|
-
label: string;
|
|
367
366
|
id: string;
|
|
367
|
+
label: string;
|
|
368
368
|
baseGroupId: string;
|
|
369
369
|
commitHash: string;
|
|
370
370
|
shortCommitHash: string;
|
|
@@ -435,8 +435,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
435
435
|
raw?: unknown;
|
|
436
436
|
}>, "many">;
|
|
437
437
|
}, "strip", z.ZodTypeAny, {
|
|
438
|
-
label: string;
|
|
439
438
|
id: string;
|
|
439
|
+
label: string;
|
|
440
440
|
baseGroupId: string;
|
|
441
441
|
commitHash: string;
|
|
442
442
|
shortCommitHash: string;
|
|
@@ -457,8 +457,8 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
457
457
|
dtype?: string | undefined;
|
|
458
458
|
estimatedTotalBytes?: number | undefined;
|
|
459
459
|
}, {
|
|
460
|
-
label: string;
|
|
461
460
|
id: string;
|
|
461
|
+
label: string;
|
|
462
462
|
baseGroupId: string;
|
|
463
463
|
commitHash: string;
|
|
464
464
|
shortCommitHash: string;
|
|
@@ -481,17 +481,17 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
481
481
|
}>>>;
|
|
482
482
|
groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
483
483
|
}, "strip", z.ZodTypeAny, {
|
|
484
|
-
source: "huggingface";
|
|
485
|
-
updatedAt: number;
|
|
486
484
|
revision: string;
|
|
487
485
|
commitHash: string;
|
|
488
486
|
shortCommitHash: string;
|
|
489
487
|
modelId: string;
|
|
488
|
+
source: "huggingface";
|
|
490
489
|
endpoint: string;
|
|
491
490
|
fetchedAt: number;
|
|
491
|
+
updatedAt: number;
|
|
492
492
|
groups: Record<string, {
|
|
493
|
-
label: string;
|
|
494
493
|
id: string;
|
|
494
|
+
label: string;
|
|
495
495
|
baseGroupId: string;
|
|
496
496
|
commitHash: string;
|
|
497
497
|
shortCommitHash: string;
|
|
@@ -515,18 +515,18 @@ declare const LocalModelProfileManifestSchema: z.ZodObject<{
|
|
|
515
515
|
groupOrder: string[];
|
|
516
516
|
raw?: unknown;
|
|
517
517
|
}, {
|
|
518
|
-
source: "huggingface";
|
|
519
|
-
updatedAt: number;
|
|
520
518
|
revision: string;
|
|
521
519
|
commitHash: string;
|
|
522
520
|
shortCommitHash: string;
|
|
523
521
|
modelId: string;
|
|
522
|
+
source: "huggingface";
|
|
524
523
|
fetchedAt: number;
|
|
524
|
+
updatedAt: number;
|
|
525
525
|
raw?: unknown;
|
|
526
526
|
endpoint?: string | undefined;
|
|
527
527
|
groups?: Record<string, {
|
|
528
|
-
label: string;
|
|
529
528
|
id: string;
|
|
529
|
+
label: string;
|
|
530
530
|
baseGroupId: string;
|
|
531
531
|
commitHash: string;
|
|
532
532
|
shortCommitHash: string;
|
|
@@ -559,20 +559,20 @@ declare const LocalModelLifecycleFileStateSchema: z.ZodObject<{
|
|
|
559
559
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
560
560
|
error: z.ZodOptional<z.ZodString>;
|
|
561
561
|
}, "strip", z.ZodTypeAny, {
|
|
562
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
563
562
|
path: string;
|
|
563
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
564
564
|
required: boolean;
|
|
565
565
|
error?: string | undefined;
|
|
566
|
-
updatedAt?: number | undefined;
|
|
567
566
|
sizeBytes?: number | undefined;
|
|
567
|
+
updatedAt?: number | undefined;
|
|
568
568
|
downloadedBytes?: number | undefined;
|
|
569
569
|
}, {
|
|
570
570
|
path: string;
|
|
571
|
-
status?: "
|
|
571
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
572
572
|
error?: string | undefined;
|
|
573
|
-
updatedAt?: number | undefined;
|
|
574
|
-
required?: boolean | undefined;
|
|
575
573
|
sizeBytes?: number | undefined;
|
|
574
|
+
required?: boolean | undefined;
|
|
575
|
+
updatedAt?: number | undefined;
|
|
576
576
|
downloadedBytes?: number | undefined;
|
|
577
577
|
}>;
|
|
578
578
|
type LocalModelLifecycleFileState = z.infer<typeof LocalModelLifecycleFileStateSchema>;
|
|
@@ -597,48 +597,47 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
597
597
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
598
598
|
error: z.ZodOptional<z.ZodString>;
|
|
599
599
|
}, "strip", z.ZodTypeAny, {
|
|
600
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
601
600
|
path: string;
|
|
601
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
602
602
|
required: boolean;
|
|
603
603
|
error?: string | undefined;
|
|
604
|
-
updatedAt?: number | undefined;
|
|
605
604
|
sizeBytes?: number | undefined;
|
|
605
|
+
updatedAt?: number | undefined;
|
|
606
606
|
downloadedBytes?: number | undefined;
|
|
607
607
|
}, {
|
|
608
608
|
path: string;
|
|
609
|
-
status?: "
|
|
609
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
610
610
|
error?: string | undefined;
|
|
611
|
-
updatedAt?: number | undefined;
|
|
612
|
-
required?: boolean | undefined;
|
|
613
611
|
sizeBytes?: number | undefined;
|
|
612
|
+
required?: boolean | undefined;
|
|
613
|
+
updatedAt?: number | undefined;
|
|
614
614
|
downloadedBytes?: number | undefined;
|
|
615
615
|
}>, "many">>;
|
|
616
616
|
}, "strip", z.ZodTypeAny, {
|
|
617
|
-
status: "
|
|
618
|
-
groupId: string;
|
|
617
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
619
618
|
resumable: boolean;
|
|
620
619
|
files: {
|
|
621
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
622
620
|
path: string;
|
|
621
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
623
622
|
required: boolean;
|
|
624
623
|
error?: string | undefined;
|
|
625
|
-
updatedAt?: number | undefined;
|
|
626
624
|
sizeBytes?: number | undefined;
|
|
625
|
+
updatedAt?: number | undefined;
|
|
627
626
|
downloadedBytes?: number | undefined;
|
|
628
627
|
}[];
|
|
628
|
+
groupId: string;
|
|
629
629
|
error?: string | undefined;
|
|
630
|
-
updatedAt?: number | undefined;
|
|
631
630
|
baseGroupId?: string | undefined;
|
|
632
631
|
rootDir?: string | undefined;
|
|
633
632
|
progress?: number | undefined;
|
|
634
633
|
bytesDownloaded?: number | undefined;
|
|
635
634
|
totalBytes?: number | undefined;
|
|
635
|
+
updatedAt?: number | undefined;
|
|
636
636
|
installedAt?: number | undefined;
|
|
637
637
|
}, {
|
|
638
638
|
groupId: string;
|
|
639
|
-
status?: "
|
|
639
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
640
640
|
error?: string | undefined;
|
|
641
|
-
updatedAt?: number | undefined;
|
|
642
641
|
baseGroupId?: string | undefined;
|
|
643
642
|
rootDir?: string | undefined;
|
|
644
643
|
progress?: number | undefined;
|
|
@@ -647,13 +646,14 @@ declare const LocalModelLifecycleGroupStateSchema: z.ZodObject<{
|
|
|
647
646
|
resumable?: boolean | undefined;
|
|
648
647
|
files?: {
|
|
649
648
|
path: string;
|
|
650
|
-
status?: "
|
|
649
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
651
650
|
error?: string | undefined;
|
|
652
|
-
updatedAt?: number | undefined;
|
|
653
|
-
required?: boolean | undefined;
|
|
654
651
|
sizeBytes?: number | undefined;
|
|
652
|
+
required?: boolean | undefined;
|
|
653
|
+
updatedAt?: number | undefined;
|
|
655
654
|
downloadedBytes?: number | undefined;
|
|
656
655
|
}[] | undefined;
|
|
656
|
+
updatedAt?: number | undefined;
|
|
657
657
|
installedAt?: number | undefined;
|
|
658
658
|
}>;
|
|
659
659
|
type LocalModelLifecycleGroupState = z.infer<typeof LocalModelLifecycleGroupStateSchema>;
|
|
@@ -668,8 +668,8 @@ declare const LocalModelProfileLoadStateSchema: z.ZodObject<{
|
|
|
668
668
|
error?: string | undefined;
|
|
669
669
|
updatedAt?: number | undefined;
|
|
670
670
|
}, {
|
|
671
|
-
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
672
671
|
message?: string | undefined;
|
|
672
|
+
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
673
673
|
error?: string | undefined;
|
|
674
674
|
updatedAt?: number | undefined;
|
|
675
675
|
}>;
|
|
@@ -701,13 +701,11 @@ declare const LocalModelAssetLogSchema: z.ZodObject<{
|
|
|
701
701
|
}>, "many">>;
|
|
702
702
|
updatedAt: z.ZodNumber;
|
|
703
703
|
}, "strip", z.ZodTypeAny, {
|
|
704
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
705
704
|
message: string;
|
|
706
|
-
|
|
705
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
707
706
|
engineId: "local" | "local-ct2" | "local-llama";
|
|
708
707
|
modelId: string;
|
|
709
|
-
|
|
710
|
-
groupId?: string | undefined;
|
|
708
|
+
updatedAt: number;
|
|
711
709
|
selectedGroupId?: string | undefined;
|
|
712
710
|
progress?: number | undefined;
|
|
713
711
|
bytesDownloaded?: number | undefined;
|
|
@@ -718,14 +716,14 @@ 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
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
723
722
|
message: string;
|
|
724
|
-
|
|
723
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
725
724
|
engineId: "local" | "local-ct2" | "local-llama";
|
|
726
725
|
modelId: string;
|
|
727
|
-
|
|
728
|
-
groupId?: string | undefined;
|
|
726
|
+
updatedAt: number;
|
|
729
727
|
selectedGroupId?: string | undefined;
|
|
730
728
|
progress?: number | undefined;
|
|
731
729
|
bytesDownloaded?: 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<{
|
|
@@ -813,8 +813,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
813
813
|
raw?: unknown;
|
|
814
814
|
}>, "many">;
|
|
815
815
|
}, "strip", z.ZodTypeAny, {
|
|
816
|
-
label: string;
|
|
817
816
|
id: string;
|
|
817
|
+
label: string;
|
|
818
818
|
selectable: boolean;
|
|
819
819
|
selected: boolean;
|
|
820
820
|
files: {
|
|
@@ -826,7 +826,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
826
826
|
sourceUrl?: string | undefined;
|
|
827
827
|
raw?: unknown;
|
|
828
828
|
}[];
|
|
829
|
-
status?: "
|
|
829
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
830
830
|
error?: string | undefined;
|
|
831
831
|
description?: string | undefined;
|
|
832
832
|
profile?: string | undefined;
|
|
@@ -841,8 +841,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
841
841
|
totalBytes?: number | undefined;
|
|
842
842
|
resumable?: boolean | undefined;
|
|
843
843
|
}, {
|
|
844
|
-
label: string;
|
|
845
844
|
id: string;
|
|
845
|
+
label: string;
|
|
846
846
|
selectable: boolean;
|
|
847
847
|
selected: boolean;
|
|
848
848
|
files: {
|
|
@@ -854,7 +854,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
854
854
|
sourceUrl?: string | undefined;
|
|
855
855
|
raw?: unknown;
|
|
856
856
|
}[];
|
|
857
|
-
status?: "
|
|
857
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
858
858
|
error?: string | undefined;
|
|
859
859
|
description?: string | undefined;
|
|
860
860
|
profile?: string | undefined;
|
|
@@ -884,8 +884,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
884
884
|
profile?: string | undefined;
|
|
885
885
|
estimatedTotalBytes?: number | undefined;
|
|
886
886
|
groups?: {
|
|
887
|
-
label: string;
|
|
888
887
|
id: string;
|
|
888
|
+
label: string;
|
|
889
889
|
selectable: boolean;
|
|
890
890
|
selected: boolean;
|
|
891
891
|
files: {
|
|
@@ -897,7 +897,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
897
897
|
sourceUrl?: string | undefined;
|
|
898
898
|
raw?: unknown;
|
|
899
899
|
}[];
|
|
900
|
-
status?: "
|
|
900
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
901
901
|
error?: string | undefined;
|
|
902
902
|
description?: string | undefined;
|
|
903
903
|
profile?: string | undefined;
|
|
@@ -927,8 +927,8 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
927
927
|
profile?: string | undefined;
|
|
928
928
|
estimatedTotalBytes?: number | undefined;
|
|
929
929
|
groups?: {
|
|
930
|
-
label: string;
|
|
931
930
|
id: string;
|
|
931
|
+
label: string;
|
|
932
932
|
selectable: boolean;
|
|
933
933
|
selected: boolean;
|
|
934
934
|
files: {
|
|
@@ -940,7 +940,7 @@ declare const LocalModelAssetPlanSnapshotSchema: z.ZodObject<{
|
|
|
940
940
|
sourceUrl?: string | undefined;
|
|
941
941
|
raw?: unknown;
|
|
942
942
|
}[];
|
|
943
|
-
status?: "
|
|
943
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
944
944
|
error?: string | undefined;
|
|
945
945
|
description?: string | undefined;
|
|
946
946
|
profile?: string | undefined;
|
|
@@ -981,8 +981,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
981
981
|
error?: string | undefined;
|
|
982
982
|
updatedAt?: number | undefined;
|
|
983
983
|
}, {
|
|
984
|
-
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
985
984
|
message?: string | undefined;
|
|
985
|
+
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
986
986
|
error?: string | undefined;
|
|
987
987
|
updatedAt?: number | undefined;
|
|
988
988
|
}>>;
|
|
@@ -1035,8 +1035,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1035
1035
|
raw?: unknown;
|
|
1036
1036
|
}>, "many">;
|
|
1037
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1038
|
-
label: string;
|
|
1039
1038
|
id: string;
|
|
1039
|
+
label: string;
|
|
1040
1040
|
baseGroupId: string;
|
|
1041
1041
|
commitHash: string;
|
|
1042
1042
|
shortCommitHash: string;
|
|
@@ -1057,8 +1057,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1057
1057
|
dtype?: string | undefined;
|
|
1058
1058
|
estimatedTotalBytes?: number | undefined;
|
|
1059
1059
|
}, {
|
|
1060
|
-
label: string;
|
|
1061
1060
|
id: string;
|
|
1061
|
+
label: string;
|
|
1062
1062
|
baseGroupId: string;
|
|
1063
1063
|
commitHash: string;
|
|
1064
1064
|
shortCommitHash: string;
|
|
@@ -1081,17 +1081,17 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1081
1081
|
}>>>;
|
|
1082
1082
|
groupOrder: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1083
1083
|
}, "strip", z.ZodTypeAny, {
|
|
1084
|
-
source: "huggingface";
|
|
1085
|
-
updatedAt: number;
|
|
1086
1084
|
revision: string;
|
|
1087
1085
|
commitHash: string;
|
|
1088
1086
|
shortCommitHash: string;
|
|
1089
1087
|
modelId: string;
|
|
1088
|
+
source: "huggingface";
|
|
1090
1089
|
endpoint: string;
|
|
1091
1090
|
fetchedAt: number;
|
|
1091
|
+
updatedAt: number;
|
|
1092
1092
|
groups: Record<string, {
|
|
1093
|
-
label: string;
|
|
1094
1093
|
id: string;
|
|
1094
|
+
label: string;
|
|
1095
1095
|
baseGroupId: string;
|
|
1096
1096
|
commitHash: string;
|
|
1097
1097
|
shortCommitHash: string;
|
|
@@ -1115,18 +1115,18 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1115
1115
|
groupOrder: string[];
|
|
1116
1116
|
raw?: unknown;
|
|
1117
1117
|
}, {
|
|
1118
|
-
source: "huggingface";
|
|
1119
|
-
updatedAt: number;
|
|
1120
1118
|
revision: string;
|
|
1121
1119
|
commitHash: string;
|
|
1122
1120
|
shortCommitHash: string;
|
|
1123
1121
|
modelId: string;
|
|
1122
|
+
source: "huggingface";
|
|
1124
1123
|
fetchedAt: number;
|
|
1124
|
+
updatedAt: number;
|
|
1125
1125
|
raw?: unknown;
|
|
1126
1126
|
endpoint?: string | undefined;
|
|
1127
1127
|
groups?: Record<string, {
|
|
1128
|
-
label: string;
|
|
1129
1128
|
id: string;
|
|
1129
|
+
label: string;
|
|
1130
1130
|
baseGroupId: string;
|
|
1131
1131
|
commitHash: string;
|
|
1132
1132
|
shortCommitHash: string;
|
|
@@ -1170,48 +1170,47 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1170
1170
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1171
1171
|
error: z.ZodOptional<z.ZodString>;
|
|
1172
1172
|
}, "strip", z.ZodTypeAny, {
|
|
1173
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1174
1173
|
path: string;
|
|
1174
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1175
1175
|
required: boolean;
|
|
1176
1176
|
error?: string | undefined;
|
|
1177
|
-
updatedAt?: number | undefined;
|
|
1178
1177
|
sizeBytes?: number | undefined;
|
|
1178
|
+
updatedAt?: number | undefined;
|
|
1179
1179
|
downloadedBytes?: number | undefined;
|
|
1180
1180
|
}, {
|
|
1181
1181
|
path: string;
|
|
1182
|
-
status?: "
|
|
1182
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1183
1183
|
error?: string | undefined;
|
|
1184
|
-
updatedAt?: number | undefined;
|
|
1185
|
-
required?: boolean | undefined;
|
|
1186
1184
|
sizeBytes?: number | undefined;
|
|
1185
|
+
required?: boolean | undefined;
|
|
1186
|
+
updatedAt?: number | undefined;
|
|
1187
1187
|
downloadedBytes?: number | undefined;
|
|
1188
1188
|
}>, "many">>;
|
|
1189
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1190
|
-
status: "
|
|
1191
|
-
groupId: string;
|
|
1190
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1192
1191
|
resumable: boolean;
|
|
1193
1192
|
files: {
|
|
1194
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1195
1193
|
path: string;
|
|
1194
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1196
1195
|
required: boolean;
|
|
1197
1196
|
error?: string | undefined;
|
|
1198
|
-
updatedAt?: number | undefined;
|
|
1199
1197
|
sizeBytes?: number | undefined;
|
|
1198
|
+
updatedAt?: number | undefined;
|
|
1200
1199
|
downloadedBytes?: number | undefined;
|
|
1201
1200
|
}[];
|
|
1201
|
+
groupId: string;
|
|
1202
1202
|
error?: string | undefined;
|
|
1203
|
-
updatedAt?: number | undefined;
|
|
1204
1203
|
baseGroupId?: string | undefined;
|
|
1205
1204
|
rootDir?: string | undefined;
|
|
1206
1205
|
progress?: number | undefined;
|
|
1207
1206
|
bytesDownloaded?: number | undefined;
|
|
1208
1207
|
totalBytes?: number | undefined;
|
|
1208
|
+
updatedAt?: number | undefined;
|
|
1209
1209
|
installedAt?: number | undefined;
|
|
1210
1210
|
}, {
|
|
1211
1211
|
groupId: string;
|
|
1212
|
-
status?: "
|
|
1212
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1213
1213
|
error?: string | undefined;
|
|
1214
|
-
updatedAt?: number | undefined;
|
|
1215
1214
|
baseGroupId?: string | undefined;
|
|
1216
1215
|
rootDir?: string | undefined;
|
|
1217
1216
|
progress?: number | undefined;
|
|
@@ -1220,13 +1219,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1220
1219
|
resumable?: boolean | undefined;
|
|
1221
1220
|
files?: {
|
|
1222
1221
|
path: string;
|
|
1223
|
-
status?: "
|
|
1222
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1224
1223
|
error?: string | undefined;
|
|
1225
|
-
updatedAt?: number | undefined;
|
|
1226
|
-
required?: boolean | undefined;
|
|
1227
1224
|
sizeBytes?: number | undefined;
|
|
1225
|
+
required?: boolean | undefined;
|
|
1226
|
+
updatedAt?: number | undefined;
|
|
1228
1227
|
downloadedBytes?: number | undefined;
|
|
1229
1228
|
}[] | undefined;
|
|
1229
|
+
updatedAt?: number | undefined;
|
|
1230
1230
|
installedAt?: number | undefined;
|
|
1231
1231
|
}>>>;
|
|
1232
1232
|
plan: z.ZodOptional<z.ZodObject<{
|
|
@@ -1304,8 +1304,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1304
1304
|
raw?: unknown;
|
|
1305
1305
|
}>, "many">;
|
|
1306
1306
|
}, "strip", z.ZodTypeAny, {
|
|
1307
|
-
label: string;
|
|
1308
1307
|
id: string;
|
|
1308
|
+
label: string;
|
|
1309
1309
|
selectable: boolean;
|
|
1310
1310
|
selected: boolean;
|
|
1311
1311
|
files: {
|
|
@@ -1317,7 +1317,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1317
1317
|
sourceUrl?: string | undefined;
|
|
1318
1318
|
raw?: unknown;
|
|
1319
1319
|
}[];
|
|
1320
|
-
status?: "
|
|
1320
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1321
1321
|
error?: string | undefined;
|
|
1322
1322
|
description?: string | undefined;
|
|
1323
1323
|
profile?: string | undefined;
|
|
@@ -1332,8 +1332,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1332
1332
|
totalBytes?: number | undefined;
|
|
1333
1333
|
resumable?: boolean | undefined;
|
|
1334
1334
|
}, {
|
|
1335
|
-
label: string;
|
|
1336
1335
|
id: string;
|
|
1336
|
+
label: string;
|
|
1337
1337
|
selectable: boolean;
|
|
1338
1338
|
selected: boolean;
|
|
1339
1339
|
files: {
|
|
@@ -1345,7 +1345,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1345
1345
|
sourceUrl?: string | undefined;
|
|
1346
1346
|
raw?: unknown;
|
|
1347
1347
|
}[];
|
|
1348
|
-
status?: "
|
|
1348
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1349
1349
|
error?: string | undefined;
|
|
1350
1350
|
description?: string | undefined;
|
|
1351
1351
|
profile?: string | undefined;
|
|
@@ -1375,8 +1375,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1375
1375
|
profile?: string | undefined;
|
|
1376
1376
|
estimatedTotalBytes?: number | undefined;
|
|
1377
1377
|
groups?: {
|
|
1378
|
-
label: string;
|
|
1379
1378
|
id: string;
|
|
1379
|
+
label: string;
|
|
1380
1380
|
selectable: boolean;
|
|
1381
1381
|
selected: boolean;
|
|
1382
1382
|
files: {
|
|
@@ -1388,7 +1388,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1388
1388
|
sourceUrl?: string | undefined;
|
|
1389
1389
|
raw?: unknown;
|
|
1390
1390
|
}[];
|
|
1391
|
-
status?: "
|
|
1391
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1392
1392
|
error?: string | undefined;
|
|
1393
1393
|
description?: string | undefined;
|
|
1394
1394
|
profile?: string | undefined;
|
|
@@ -1418,8 +1418,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1418
1418
|
profile?: string | undefined;
|
|
1419
1419
|
estimatedTotalBytes?: number | undefined;
|
|
1420
1420
|
groups?: {
|
|
1421
|
-
label: string;
|
|
1422
1421
|
id: string;
|
|
1422
|
+
label: string;
|
|
1423
1423
|
selectable: boolean;
|
|
1424
1424
|
selected: boolean;
|
|
1425
1425
|
files: {
|
|
@@ -1431,7 +1431,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1431
1431
|
sourceUrl?: string | undefined;
|
|
1432
1432
|
raw?: unknown;
|
|
1433
1433
|
}[];
|
|
1434
|
-
status?: "
|
|
1434
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1435
1435
|
error?: string | undefined;
|
|
1436
1436
|
description?: string | undefined;
|
|
1437
1437
|
profile?: string | undefined;
|
|
@@ -1461,7 +1461,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1461
1461
|
downloadedBytes?: number | undefined;
|
|
1462
1462
|
}>, "many">>;
|
|
1463
1463
|
}, "strip", z.ZodTypeAny, {
|
|
1464
|
-
status: "
|
|
1464
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1465
1465
|
resumable: boolean;
|
|
1466
1466
|
selected: boolean;
|
|
1467
1467
|
files: {
|
|
@@ -1478,46 +1478,46 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1478
1478
|
updatedAt?: number | undefined;
|
|
1479
1479
|
};
|
|
1480
1480
|
groupsState: Record<string, {
|
|
1481
|
-
status: "
|
|
1482
|
-
groupId: string;
|
|
1481
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1483
1482
|
resumable: boolean;
|
|
1484
1483
|
files: {
|
|
1485
|
-
status: "error" | "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "deleting";
|
|
1486
1484
|
path: string;
|
|
1485
|
+
status: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting";
|
|
1487
1486
|
required: boolean;
|
|
1488
1487
|
error?: string | undefined;
|
|
1489
|
-
updatedAt?: number | undefined;
|
|
1490
1488
|
sizeBytes?: number | undefined;
|
|
1489
|
+
updatedAt?: number | undefined;
|
|
1491
1490
|
downloadedBytes?: number | undefined;
|
|
1492
1491
|
}[];
|
|
1492
|
+
groupId: string;
|
|
1493
1493
|
error?: string | undefined;
|
|
1494
|
-
updatedAt?: number | undefined;
|
|
1495
1494
|
baseGroupId?: string | undefined;
|
|
1496
1495
|
rootDir?: string | undefined;
|
|
1497
1496
|
progress?: number | undefined;
|
|
1498
1497
|
bytesDownloaded?: number | undefined;
|
|
1499
1498
|
totalBytes?: number | undefined;
|
|
1499
|
+
updatedAt?: number | undefined;
|
|
1500
1500
|
installedAt?: number | undefined;
|
|
1501
1501
|
}>;
|
|
1502
|
-
error?: string | undefined;
|
|
1503
|
-
updatedAt?: number | undefined;
|
|
1504
1502
|
selectedGroupId?: string | undefined;
|
|
1503
|
+
error?: string | undefined;
|
|
1505
1504
|
progress?: number | undefined;
|
|
1506
1505
|
bytesDownloaded?: number | undefined;
|
|
1507
1506
|
totalBytes?: number | undefined;
|
|
1507
|
+
updatedAt?: number | undefined;
|
|
1508
1508
|
installedAt?: number | undefined;
|
|
1509
1509
|
profileManifest?: {
|
|
1510
|
-
source: "huggingface";
|
|
1511
|
-
updatedAt: number;
|
|
1512
1510
|
revision: string;
|
|
1513
1511
|
commitHash: string;
|
|
1514
1512
|
shortCommitHash: string;
|
|
1515
1513
|
modelId: string;
|
|
1514
|
+
source: "huggingface";
|
|
1516
1515
|
endpoint: string;
|
|
1517
1516
|
fetchedAt: number;
|
|
1517
|
+
updatedAt: number;
|
|
1518
1518
|
groups: Record<string, {
|
|
1519
|
-
label: string;
|
|
1520
1519
|
id: string;
|
|
1520
|
+
label: string;
|
|
1521
1521
|
baseGroupId: string;
|
|
1522
1522
|
commitHash: string;
|
|
1523
1523
|
shortCommitHash: string;
|
|
@@ -1556,8 +1556,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1556
1556
|
profile?: string | undefined;
|
|
1557
1557
|
estimatedTotalBytes?: number | undefined;
|
|
1558
1558
|
groups?: {
|
|
1559
|
-
label: string;
|
|
1560
1559
|
id: string;
|
|
1560
|
+
label: string;
|
|
1561
1561
|
selectable: boolean;
|
|
1562
1562
|
selected: boolean;
|
|
1563
1563
|
files: {
|
|
@@ -1569,7 +1569,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1569
1569
|
sourceUrl?: string | undefined;
|
|
1570
1570
|
raw?: unknown;
|
|
1571
1571
|
}[];
|
|
1572
|
-
status?: "
|
|
1572
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1573
1573
|
error?: string | undefined;
|
|
1574
1574
|
description?: string | undefined;
|
|
1575
1575
|
profile?: string | undefined;
|
|
@@ -1587,10 +1587,9 @@ 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
|
-
error?: string | undefined;
|
|
1592
|
-
updatedAt?: number | undefined;
|
|
1593
1590
|
selectedGroupId?: string | undefined;
|
|
1591
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1592
|
+
error?: string | undefined;
|
|
1594
1593
|
progress?: number | undefined;
|
|
1595
1594
|
bytesDownloaded?: number | undefined;
|
|
1596
1595
|
totalBytes?: number | undefined;
|
|
@@ -1601,27 +1600,28 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1601
1600
|
sizeBytes?: number | undefined;
|
|
1602
1601
|
downloadedBytes?: number | undefined;
|
|
1603
1602
|
}[] | undefined;
|
|
1603
|
+
updatedAt?: number | undefined;
|
|
1604
1604
|
installedAt?: number | undefined;
|
|
1605
1605
|
version?: 2 | undefined;
|
|
1606
1606
|
profileLoad?: {
|
|
1607
|
-
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
1608
1607
|
message?: string | undefined;
|
|
1608
|
+
status?: "error" | "idle" | "loading" | "ready" | undefined;
|
|
1609
1609
|
error?: string | undefined;
|
|
1610
1610
|
updatedAt?: number | undefined;
|
|
1611
1611
|
} | undefined;
|
|
1612
1612
|
profileManifest?: {
|
|
1613
|
-
source: "huggingface";
|
|
1614
|
-
updatedAt: number;
|
|
1615
1613
|
revision: string;
|
|
1616
1614
|
commitHash: string;
|
|
1617
1615
|
shortCommitHash: string;
|
|
1618
1616
|
modelId: string;
|
|
1617
|
+
source: "huggingface";
|
|
1619
1618
|
fetchedAt: number;
|
|
1619
|
+
updatedAt: number;
|
|
1620
1620
|
raw?: unknown;
|
|
1621
1621
|
endpoint?: string | undefined;
|
|
1622
1622
|
groups?: Record<string, {
|
|
1623
|
-
label: string;
|
|
1624
1623
|
id: string;
|
|
1624
|
+
label: string;
|
|
1625
1625
|
baseGroupId: string;
|
|
1626
1626
|
commitHash: string;
|
|
1627
1627
|
shortCommitHash: string;
|
|
@@ -1646,9 +1646,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1646
1646
|
} | undefined;
|
|
1647
1647
|
groupsState?: Record<string, {
|
|
1648
1648
|
groupId: string;
|
|
1649
|
-
status?: "
|
|
1649
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1650
1650
|
error?: string | undefined;
|
|
1651
|
-
updatedAt?: number | undefined;
|
|
1652
1651
|
baseGroupId?: string | undefined;
|
|
1653
1652
|
rootDir?: string | undefined;
|
|
1654
1653
|
progress?: number | undefined;
|
|
@@ -1657,13 +1656,14 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1657
1656
|
resumable?: boolean | undefined;
|
|
1658
1657
|
files?: {
|
|
1659
1658
|
path: string;
|
|
1660
|
-
status?: "
|
|
1659
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1661
1660
|
error?: string | undefined;
|
|
1662
|
-
updatedAt?: number | undefined;
|
|
1663
|
-
required?: boolean | undefined;
|
|
1664
1661
|
sizeBytes?: number | undefined;
|
|
1662
|
+
required?: boolean | undefined;
|
|
1663
|
+
updatedAt?: number | undefined;
|
|
1665
1664
|
downloadedBytes?: number | undefined;
|
|
1666
1665
|
}[] | undefined;
|
|
1666
|
+
updatedAt?: number | undefined;
|
|
1667
1667
|
installedAt?: number | undefined;
|
|
1668
1668
|
}> | undefined;
|
|
1669
1669
|
plan?: {
|
|
@@ -1681,8 +1681,8 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1681
1681
|
profile?: string | undefined;
|
|
1682
1682
|
estimatedTotalBytes?: number | undefined;
|
|
1683
1683
|
groups?: {
|
|
1684
|
-
label: string;
|
|
1685
1684
|
id: string;
|
|
1685
|
+
label: string;
|
|
1686
1686
|
selectable: boolean;
|
|
1687
1687
|
selected: boolean;
|
|
1688
1688
|
files: {
|
|
@@ -1694,7 +1694,7 @@ declare const LocalModelAssetStateSchema: z.ZodObject<{
|
|
|
1694
1694
|
sourceUrl?: string | undefined;
|
|
1695
1695
|
raw?: unknown;
|
|
1696
1696
|
}[];
|
|
1697
|
-
status?: "
|
|
1697
|
+
status?: "not-downloaded" | "queued" | "downloading" | "paused" | "downloaded" | "error" | "deleting" | undefined;
|
|
1698
1698
|
error?: string | undefined;
|
|
1699
1699
|
description?: string | undefined;
|
|
1700
1700
|
profile?: string | undefined;
|
|
@@ -1816,12 +1816,12 @@ declare const TranslationEngineAssetStatusSchema: z.ZodObject<{
|
|
|
1816
1816
|
} & {
|
|
1817
1817
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
1818
1818
|
}, "strip", z.ZodTypeAny, {
|
|
1819
|
-
state: "
|
|
1819
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1820
1820
|
message?: string | undefined;
|
|
1821
1821
|
error?: string | undefined;
|
|
1822
1822
|
progress?: number | undefined;
|
|
1823
1823
|
}, {
|
|
1824
|
-
state: "
|
|
1824
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1825
1825
|
message?: string | undefined;
|
|
1826
1826
|
error?: string | undefined;
|
|
1827
1827
|
progress?: number | undefined;
|
|
@@ -1874,12 +1874,12 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1874
1874
|
} & {
|
|
1875
1875
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
1876
1876
|
}, "strip", z.ZodTypeAny, {
|
|
1877
|
-
state: "
|
|
1877
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1878
1878
|
message?: string | undefined;
|
|
1879
1879
|
error?: string | undefined;
|
|
1880
1880
|
progress?: number | undefined;
|
|
1881
1881
|
}, {
|
|
1882
|
-
state: "
|
|
1882
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1883
1883
|
message?: string | undefined;
|
|
1884
1884
|
error?: string | undefined;
|
|
1885
1885
|
progress?: number | undefined;
|
|
@@ -1899,7 +1899,7 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1899
1899
|
progress?: number | undefined;
|
|
1900
1900
|
};
|
|
1901
1901
|
assets: {
|
|
1902
|
-
state: "
|
|
1902
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1903
1903
|
message?: string | undefined;
|
|
1904
1904
|
error?: string | undefined;
|
|
1905
1905
|
progress?: number | undefined;
|
|
@@ -1919,7 +1919,7 @@ declare const TranslationEngineLifecycleStatusSchema: z.ZodObject<{
|
|
|
1919
1919
|
progress?: number | undefined;
|
|
1920
1920
|
};
|
|
1921
1921
|
assets: {
|
|
1922
|
-
state: "
|
|
1922
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
1923
1923
|
message?: string | undefined;
|
|
1924
1924
|
error?: string | undefined;
|
|
1925
1925
|
progress?: number | undefined;
|
|
@@ -1945,11 +1945,11 @@ declare const TranslationEngineInstallLogEventSchema: z.ZodObject<{
|
|
|
1945
1945
|
stream: z.ZodEnum<["stdout", "stderr"]>;
|
|
1946
1946
|
text: z.ZodString;
|
|
1947
1947
|
}, "strip", z.ZodTypeAny, {
|
|
1948
|
-
text: string;
|
|
1949
1948
|
stream: "stdout" | "stderr";
|
|
1950
|
-
}, {
|
|
1951
1949
|
text: string;
|
|
1950
|
+
}, {
|
|
1952
1951
|
stream: "stdout" | "stderr";
|
|
1952
|
+
text: string;
|
|
1953
1953
|
}>;
|
|
1954
1954
|
interface TranslationEngineLifecycleStatusEvent {
|
|
1955
1955
|
type: 'status';
|
|
@@ -2009,12 +2009,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2009
2009
|
} & {
|
|
2010
2010
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
2011
2011
|
}, "strip", z.ZodTypeAny, {
|
|
2012
|
-
state: "
|
|
2012
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2013
2013
|
message?: string | undefined;
|
|
2014
2014
|
error?: string | undefined;
|
|
2015
2015
|
progress?: number | undefined;
|
|
2016
2016
|
}, {
|
|
2017
|
-
state: "
|
|
2017
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2018
2018
|
message?: string | undefined;
|
|
2019
2019
|
error?: string | undefined;
|
|
2020
2020
|
progress?: number | undefined;
|
|
@@ -2034,7 +2034,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2034
2034
|
progress?: number | undefined;
|
|
2035
2035
|
};
|
|
2036
2036
|
assets: {
|
|
2037
|
-
state: "
|
|
2037
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2038
2038
|
message?: string | undefined;
|
|
2039
2039
|
error?: string | undefined;
|
|
2040
2040
|
progress?: number | undefined;
|
|
@@ -2054,7 +2054,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2054
2054
|
progress?: number | undefined;
|
|
2055
2055
|
};
|
|
2056
2056
|
assets: {
|
|
2057
|
-
state: "
|
|
2057
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2058
2058
|
message?: string | undefined;
|
|
2059
2059
|
error?: string | undefined;
|
|
2060
2060
|
progress?: number | undefined;
|
|
@@ -2077,7 +2077,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2077
2077
|
progress?: number | undefined;
|
|
2078
2078
|
};
|
|
2079
2079
|
assets: {
|
|
2080
|
-
state: "
|
|
2080
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2081
2081
|
message?: string | undefined;
|
|
2082
2082
|
error?: string | undefined;
|
|
2083
2083
|
progress?: number | undefined;
|
|
@@ -2100,7 +2100,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2100
2100
|
progress?: number | undefined;
|
|
2101
2101
|
};
|
|
2102
2102
|
assets: {
|
|
2103
|
-
state: "
|
|
2103
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2104
2104
|
message?: string | undefined;
|
|
2105
2105
|
error?: string | undefined;
|
|
2106
2106
|
progress?: number | undefined;
|
|
@@ -2113,12 +2113,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2113
2113
|
text: z.ZodString;
|
|
2114
2114
|
}, "strip", z.ZodTypeAny, {
|
|
2115
2115
|
type: "log";
|
|
2116
|
-
text: string;
|
|
2117
2116
|
stream: "stdout" | "stderr";
|
|
2117
|
+
text: string;
|
|
2118
2118
|
}, {
|
|
2119
2119
|
type: "log";
|
|
2120
|
-
text: string;
|
|
2121
2120
|
stream: "stdout" | "stderr";
|
|
2121
|
+
text: string;
|
|
2122
2122
|
}>, z.ZodObject<{
|
|
2123
2123
|
type: z.ZodLiteral<"exit">;
|
|
2124
2124
|
lifecycle: z.ZodObject<{
|
|
@@ -2163,12 +2163,12 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2163
2163
|
} & {
|
|
2164
2164
|
state: z.ZodEnum<["ready", "missing", "downloading", "error", "not-applicable"]>;
|
|
2165
2165
|
}, "strip", z.ZodTypeAny, {
|
|
2166
|
-
state: "
|
|
2166
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2167
2167
|
message?: string | undefined;
|
|
2168
2168
|
error?: string | undefined;
|
|
2169
2169
|
progress?: number | undefined;
|
|
2170
2170
|
}, {
|
|
2171
|
-
state: "
|
|
2171
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2172
2172
|
message?: string | undefined;
|
|
2173
2173
|
error?: string | undefined;
|
|
2174
2174
|
progress?: number | undefined;
|
|
@@ -2188,7 +2188,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2188
2188
|
progress?: number | undefined;
|
|
2189
2189
|
};
|
|
2190
2190
|
assets: {
|
|
2191
|
-
state: "
|
|
2191
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2192
2192
|
message?: string | undefined;
|
|
2193
2193
|
error?: string | undefined;
|
|
2194
2194
|
progress?: number | undefined;
|
|
@@ -2208,7 +2208,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2208
2208
|
progress?: number | undefined;
|
|
2209
2209
|
};
|
|
2210
2210
|
assets: {
|
|
2211
|
-
state: "
|
|
2211
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2212
2212
|
message?: string | undefined;
|
|
2213
2213
|
error?: string | undefined;
|
|
2214
2214
|
progress?: number | undefined;
|
|
@@ -2231,7 +2231,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2231
2231
|
progress?: number | undefined;
|
|
2232
2232
|
};
|
|
2233
2233
|
assets: {
|
|
2234
|
-
state: "
|
|
2234
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2235
2235
|
message?: string | undefined;
|
|
2236
2236
|
error?: string | undefined;
|
|
2237
2237
|
progress?: number | undefined;
|
|
@@ -2254,7 +2254,7 @@ declare const TranslationEngineLifecycleEventSchema: z.ZodDiscriminatedUnion<"ty
|
|
|
2254
2254
|
progress?: number | undefined;
|
|
2255
2255
|
};
|
|
2256
2256
|
assets: {
|
|
2257
|
-
state: "
|
|
2257
|
+
state: "downloading" | "error" | "ready" | "missing" | "not-applicable";
|
|
2258
2258
|
message?: string | undefined;
|
|
2259
2259
|
error?: string | undefined;
|
|
2260
2260
|
progress?: number | undefined;
|