@usefragments/core 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/chunk-MZ4SW3TP.js +375 -0
  2. package/dist/chunk-MZ4SW3TP.js.map +1 -0
  3. package/dist/{chunk-WNMWKUYG.js → chunk-UUREQ4HD.js} +318 -6
  4. package/dist/chunk-UUREQ4HD.js.map +1 -0
  5. package/dist/codes/index.d.ts +1 -1
  6. package/dist/codes/index.js +1 -2
  7. package/dist/compiled-types/index.d.ts +1 -1
  8. package/dist/generate/index.d.ts +1 -1
  9. package/dist/governance-telemetry.d.ts +316 -0
  10. package/dist/governance-telemetry.js +11 -0
  11. package/dist/governance-telemetry.js.map +1 -0
  12. package/dist/{index-hZAlYCli.d.ts → index-Cxk3SOQP.d.ts} +1005 -1005
  13. package/dist/index.d.ts +529 -477
  14. package/dist/index.js +78 -37
  15. package/dist/index.js.map +1 -1
  16. package/dist/react-types.d.ts +1 -1
  17. package/dist/registry.d.ts +146 -146
  18. package/dist/schemas/index.d.ts +1 -1
  19. package/dist/schemas/index.js +3 -1
  20. package/dist/test-utils.d.ts +1 -1
  21. package/package.json +5 -1
  22. package/src/component-contract.ts +12 -0
  23. package/src/contract-parser.ts +2 -0
  24. package/src/governance-telemetry.test.ts +18 -0
  25. package/src/governance-telemetry.ts +398 -0
  26. package/src/index.ts +17 -0
  27. package/src/rules/index.ts +5 -1
  28. package/src/rules/tokens-css-vars-must-be-defined.test.ts +66 -1
  29. package/src/rules/tokens-css-vars-must-be-defined.ts +88 -16
  30. package/src/schemas/index.ts +4 -0
  31. package/src/schemas/normalize-finding.test.ts +50 -0
  32. package/dist/chunk-WNMWKUYG.js.map +0 -1
  33. package/dist/chunk-ZHS52OT4.js +0 -317
  34. package/dist/chunk-ZHS52OT4.js.map +0 -1
  35. package/dist/{governance-D9KtH-vg.d.ts → governance-eEzCyfes.d.ts} +154 -154
@@ -31,14 +31,14 @@ declare const registryFileSchema: z.ZodObject<{
31
31
  }, "strip", z.ZodTypeAny, {
32
32
  path: string;
33
33
  size: number;
34
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
34
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
35
35
  contentType: string;
36
36
  sha256: string;
37
37
  contentRef: string;
38
38
  }, {
39
39
  path: string;
40
40
  size: number;
41
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
41
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
42
42
  contentType: string;
43
43
  sha256: string;
44
44
  contentRef: string;
@@ -122,13 +122,13 @@ declare const registryComponentExportSchema: z.ZodObject<{
122
122
  kind: z.ZodDefault<z.ZodEnum<["component", "hook", "utility", "type", "style"]>>;
123
123
  path: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
124
124
  }, "strip", z.ZodTypeAny, {
125
- kind: "type" | "utility" | "style" | "component" | "hook";
125
+ kind: "hook" | "type" | "style" | "component" | "utility";
126
126
  name: string;
127
127
  path?: string | undefined;
128
128
  }, {
129
129
  name: string;
130
130
  path?: string | undefined;
131
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
131
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
132
132
  }>;
133
133
  declare const registryComponentSchema: z.ZodObject<{
134
134
  componentId: z.ZodString;
@@ -147,14 +147,14 @@ declare const registryComponentSchema: z.ZodObject<{
147
147
  }, "strip", z.ZodTypeAny, {
148
148
  path: string;
149
149
  size: number;
150
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
150
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
151
151
  contentType: string;
152
152
  sha256: string;
153
153
  contentRef: string;
154
154
  }, {
155
155
  path: string;
156
156
  size: number;
157
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
157
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
158
158
  contentType: string;
159
159
  sha256: string;
160
160
  contentRef: string;
@@ -199,29 +199,29 @@ declare const registryComponentSchema: z.ZodObject<{
199
199
  kind: z.ZodDefault<z.ZodEnum<["component", "hook", "utility", "type", "style"]>>;
200
200
  path: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
201
201
  }, "strip", z.ZodTypeAny, {
202
- kind: "type" | "utility" | "style" | "component" | "hook";
202
+ kind: "hook" | "type" | "style" | "component" | "utility";
203
203
  name: string;
204
204
  path?: string | undefined;
205
205
  }, {
206
206
  name: string;
207
207
  path?: string | undefined;
208
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
208
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
209
209
  }>, "many">>;
210
210
  contract: z.ZodOptional<z.ZodUnknown>;
211
211
  examples: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
212
212
  provenance: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
213
213
  }, "strip", z.ZodTypeAny, {
214
214
  status: string;
215
- provenance: Record<string, unknown>;
216
215
  componentId: string;
217
216
  name: string;
218
217
  publicRef: string;
219
- tier: "custom" | "utility" | "composition" | "core";
218
+ tier: "core" | "composition" | "custom" | "utility";
219
+ provenance: Record<string, unknown>;
220
220
  examples: unknown[];
221
221
  files: {
222
222
  path: string;
223
223
  size: number;
224
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
224
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
225
225
  contentType: string;
226
226
  sha256: string;
227
227
  contentRef: string;
@@ -242,7 +242,7 @@ declare const registryComponentSchema: z.ZodObject<{
242
242
  }[];
243
243
  internalDependencies: string[];
244
244
  exports: {
245
- kind: "type" | "utility" | "style" | "component" | "hook";
245
+ kind: "hook" | "type" | "style" | "component" | "utility";
246
246
  name: string;
247
247
  path?: string | undefined;
248
248
  }[];
@@ -255,16 +255,16 @@ declare const registryComponentSchema: z.ZodObject<{
255
255
  files: {
256
256
  path: string;
257
257
  size: number;
258
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
258
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
259
259
  contentType: string;
260
260
  sha256: string;
261
261
  contentRef: string;
262
262
  }[];
263
263
  status?: string | undefined;
264
- provenance?: Record<string, unknown> | undefined;
265
264
  category?: string | undefined;
266
265
  contract?: unknown;
267
- tier?: "custom" | "utility" | "composition" | "core" | undefined;
266
+ tier?: "core" | "composition" | "custom" | "utility" | undefined;
267
+ provenance?: Record<string, unknown> | undefined;
268
268
  examples?: unknown[] | undefined;
269
269
  styleFiles?: string[] | undefined;
270
270
  tokenDependencies?: string[] | undefined;
@@ -284,7 +284,7 @@ declare const registryComponentSchema: z.ZodObject<{
284
284
  exports?: {
285
285
  name: string;
286
286
  path?: string | undefined;
287
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
287
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
288
288
  }[] | undefined;
289
289
  }>;
290
290
  declare const registryEntrypointSchema: z.ZodObject<{
@@ -390,14 +390,14 @@ declare const registryManifestDraftSchema: z.ZodObject<{
390
390
  }, "strip", z.ZodTypeAny, {
391
391
  path: string;
392
392
  size: number;
393
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
393
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
394
394
  contentType: string;
395
395
  sha256: string;
396
396
  contentRef: string;
397
397
  }, {
398
398
  path: string;
399
399
  size: number;
400
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
400
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
401
401
  contentType: string;
402
402
  sha256: string;
403
403
  contentRef: string;
@@ -429,14 +429,14 @@ declare const registryManifestDraftSchema: z.ZodObject<{
429
429
  }, "strip", z.ZodTypeAny, {
430
430
  path: string;
431
431
  size: number;
432
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
432
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
433
433
  contentType: string;
434
434
  sha256: string;
435
435
  contentRef: string;
436
436
  }, {
437
437
  path: string;
438
438
  size: number;
439
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
439
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
440
440
  contentType: string;
441
441
  sha256: string;
442
442
  contentRef: string;
@@ -481,29 +481,29 @@ declare const registryManifestDraftSchema: z.ZodObject<{
481
481
  kind: z.ZodDefault<z.ZodEnum<["component", "hook", "utility", "type", "style"]>>;
482
482
  path: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
483
483
  }, "strip", z.ZodTypeAny, {
484
- kind: "type" | "utility" | "style" | "component" | "hook";
484
+ kind: "hook" | "type" | "style" | "component" | "utility";
485
485
  name: string;
486
486
  path?: string | undefined;
487
487
  }, {
488
488
  name: string;
489
489
  path?: string | undefined;
490
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
490
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
491
491
  }>, "many">>;
492
492
  contract: z.ZodOptional<z.ZodUnknown>;
493
493
  examples: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
494
494
  provenance: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
495
495
  }, "strip", z.ZodTypeAny, {
496
496
  status: string;
497
- provenance: Record<string, unknown>;
498
497
  componentId: string;
499
498
  name: string;
500
499
  publicRef: string;
501
- tier: "custom" | "utility" | "composition" | "core";
500
+ tier: "core" | "composition" | "custom" | "utility";
501
+ provenance: Record<string, unknown>;
502
502
  examples: unknown[];
503
503
  files: {
504
504
  path: string;
505
505
  size: number;
506
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
506
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
507
507
  contentType: string;
508
508
  sha256: string;
509
509
  contentRef: string;
@@ -524,7 +524,7 @@ declare const registryManifestDraftSchema: z.ZodObject<{
524
524
  }[];
525
525
  internalDependencies: string[];
526
526
  exports: {
527
- kind: "type" | "utility" | "style" | "component" | "hook";
527
+ kind: "hook" | "type" | "style" | "component" | "utility";
528
528
  name: string;
529
529
  path?: string | undefined;
530
530
  }[];
@@ -537,16 +537,16 @@ declare const registryManifestDraftSchema: z.ZodObject<{
537
537
  files: {
538
538
  path: string;
539
539
  size: number;
540
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
540
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
541
541
  contentType: string;
542
542
  sha256: string;
543
543
  contentRef: string;
544
544
  }[];
545
545
  status?: string | undefined;
546
- provenance?: Record<string, unknown> | undefined;
547
546
  category?: string | undefined;
548
547
  contract?: unknown;
549
- tier?: "custom" | "utility" | "composition" | "core" | undefined;
548
+ tier?: "core" | "composition" | "custom" | "utility" | undefined;
549
+ provenance?: Record<string, unknown> | undefined;
550
550
  examples?: unknown[] | undefined;
551
551
  styleFiles?: string[] | undefined;
552
552
  tokenDependencies?: string[] | undefined;
@@ -566,7 +566,7 @@ declare const registryManifestDraftSchema: z.ZodObject<{
566
566
  exports?: {
567
567
  name: string;
568
568
  path?: string | undefined;
569
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
569
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
570
570
  }[] | undefined;
571
571
  }>>;
572
572
  dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -607,16 +607,16 @@ declare const registryManifestDraftSchema: z.ZodObject<{
607
607
  }, "strip", z.ZodTypeAny, {
608
608
  components: Record<string, {
609
609
  status: string;
610
- provenance: Record<string, unknown>;
611
610
  componentId: string;
612
611
  name: string;
613
612
  publicRef: string;
614
- tier: "custom" | "utility" | "composition" | "core";
613
+ tier: "core" | "composition" | "custom" | "utility";
614
+ provenance: Record<string, unknown>;
615
615
  examples: unknown[];
616
616
  files: {
617
617
  path: string;
618
618
  size: number;
619
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
619
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
620
620
  contentType: string;
621
621
  sha256: string;
622
622
  contentRef: string;
@@ -637,7 +637,7 @@ declare const registryManifestDraftSchema: z.ZodObject<{
637
637
  }[];
638
638
  internalDependencies: string[];
639
639
  exports: {
640
- kind: "type" | "utility" | "style" | "component" | "hook";
640
+ kind: "hook" | "type" | "style" | "component" | "utility";
641
641
  name: string;
642
642
  path?: string | undefined;
643
643
  }[];
@@ -645,8 +645,7 @@ declare const registryManifestDraftSchema: z.ZodObject<{
645
645
  contract?: unknown;
646
646
  }>;
647
647
  schemaVersion: "fragments.registry.v1";
648
- name: string;
649
- registryId: string;
648
+ generatedAt: string;
650
649
  source: {
651
650
  kind: "package";
652
651
  packageName: string;
@@ -666,13 +665,14 @@ declare const registryManifestDraftSchema: z.ZodObject<{
666
665
  kind: "manual";
667
666
  label: string;
668
667
  };
668
+ name: string;
669
+ registryId: string;
669
670
  version: string;
670
- generatedAt: string;
671
671
  channel: string;
672
672
  packageFiles: {
673
673
  path: string;
674
674
  size: number;
675
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
675
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
676
676
  contentType: string;
677
677
  sha256: string;
678
678
  contentRef: string;
@@ -704,16 +704,16 @@ declare const registryManifestDraftSchema: z.ZodObject<{
704
704
  files: {
705
705
  path: string;
706
706
  size: number;
707
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
707
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
708
708
  contentType: string;
709
709
  sha256: string;
710
710
  contentRef: string;
711
711
  }[];
712
712
  status?: string | undefined;
713
- provenance?: Record<string, unknown> | undefined;
714
713
  category?: string | undefined;
715
714
  contract?: unknown;
716
- tier?: "custom" | "utility" | "composition" | "core" | undefined;
715
+ tier?: "core" | "composition" | "custom" | "utility" | undefined;
716
+ provenance?: Record<string, unknown> | undefined;
717
717
  examples?: unknown[] | undefined;
718
718
  styleFiles?: string[] | undefined;
719
719
  tokenDependencies?: string[] | undefined;
@@ -733,12 +733,11 @@ declare const registryManifestDraftSchema: z.ZodObject<{
733
733
  exports?: {
734
734
  name: string;
735
735
  path?: string | undefined;
736
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
736
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
737
737
  }[] | undefined;
738
738
  }>;
739
739
  schemaVersion: "fragments.registry.v1";
740
- name: string;
741
- registryId: string;
740
+ generatedAt: string;
742
741
  source: {
743
742
  kind: "package";
744
743
  packageName: string;
@@ -758,15 +757,16 @@ declare const registryManifestDraftSchema: z.ZodObject<{
758
757
  kind: "manual";
759
758
  label: string;
760
759
  };
760
+ name: string;
761
+ registryId: string;
761
762
  version: string;
762
- generatedAt: string;
763
763
  channel: string;
764
764
  fcid?: string | undefined;
765
765
  contractVersionId?: string | undefined;
766
766
  packageFiles?: {
767
767
  path: string;
768
768
  size: number;
769
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
769
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
770
770
  contentType: string;
771
771
  sha256: string;
772
772
  contentRef: string;
@@ -863,14 +863,14 @@ declare const registryManifestSchema: z.ZodObject<{
863
863
  }, "strip", z.ZodTypeAny, {
864
864
  path: string;
865
865
  size: number;
866
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
866
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
867
867
  contentType: string;
868
868
  sha256: string;
869
869
  contentRef: string;
870
870
  }, {
871
871
  path: string;
872
872
  size: number;
873
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
873
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
874
874
  contentType: string;
875
875
  sha256: string;
876
876
  contentRef: string;
@@ -902,14 +902,14 @@ declare const registryManifestSchema: z.ZodObject<{
902
902
  }, "strip", z.ZodTypeAny, {
903
903
  path: string;
904
904
  size: number;
905
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
905
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
906
906
  contentType: string;
907
907
  sha256: string;
908
908
  contentRef: string;
909
909
  }, {
910
910
  path: string;
911
911
  size: number;
912
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
912
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
913
913
  contentType: string;
914
914
  sha256: string;
915
915
  contentRef: string;
@@ -954,29 +954,29 @@ declare const registryManifestSchema: z.ZodObject<{
954
954
  kind: z.ZodDefault<z.ZodEnum<["component", "hook", "utility", "type", "style"]>>;
955
955
  path: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
956
956
  }, "strip", z.ZodTypeAny, {
957
- kind: "type" | "utility" | "style" | "component" | "hook";
957
+ kind: "hook" | "type" | "style" | "component" | "utility";
958
958
  name: string;
959
959
  path?: string | undefined;
960
960
  }, {
961
961
  name: string;
962
962
  path?: string | undefined;
963
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
963
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
964
964
  }>, "many">>;
965
965
  contract: z.ZodOptional<z.ZodUnknown>;
966
966
  examples: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
967
967
  provenance: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
968
968
  }, "strip", z.ZodTypeAny, {
969
969
  status: string;
970
- provenance: Record<string, unknown>;
971
970
  componentId: string;
972
971
  name: string;
973
972
  publicRef: string;
974
- tier: "custom" | "utility" | "composition" | "core";
973
+ tier: "core" | "composition" | "custom" | "utility";
974
+ provenance: Record<string, unknown>;
975
975
  examples: unknown[];
976
976
  files: {
977
977
  path: string;
978
978
  size: number;
979
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
979
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
980
980
  contentType: string;
981
981
  sha256: string;
982
982
  contentRef: string;
@@ -997,7 +997,7 @@ declare const registryManifestSchema: z.ZodObject<{
997
997
  }[];
998
998
  internalDependencies: string[];
999
999
  exports: {
1000
- kind: "type" | "utility" | "style" | "component" | "hook";
1000
+ kind: "hook" | "type" | "style" | "component" | "utility";
1001
1001
  name: string;
1002
1002
  path?: string | undefined;
1003
1003
  }[];
@@ -1010,16 +1010,16 @@ declare const registryManifestSchema: z.ZodObject<{
1010
1010
  files: {
1011
1011
  path: string;
1012
1012
  size: number;
1013
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1013
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1014
1014
  contentType: string;
1015
1015
  sha256: string;
1016
1016
  contentRef: string;
1017
1017
  }[];
1018
1018
  status?: string | undefined;
1019
- provenance?: Record<string, unknown> | undefined;
1020
1019
  category?: string | undefined;
1021
1020
  contract?: unknown;
1022
- tier?: "custom" | "utility" | "composition" | "core" | undefined;
1021
+ tier?: "core" | "composition" | "custom" | "utility" | undefined;
1022
+ provenance?: Record<string, unknown> | undefined;
1023
1023
  examples?: unknown[] | undefined;
1024
1024
  styleFiles?: string[] | undefined;
1025
1025
  tokenDependencies?: string[] | undefined;
@@ -1039,7 +1039,7 @@ declare const registryManifestSchema: z.ZodObject<{
1039
1039
  exports?: {
1040
1040
  name: string;
1041
1041
  path?: string | undefined;
1042
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
1042
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
1043
1043
  }[] | undefined;
1044
1044
  }>>;
1045
1045
  dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1082,16 +1082,16 @@ declare const registryManifestSchema: z.ZodObject<{
1082
1082
  }, "strip", z.ZodTypeAny, {
1083
1083
  components: Record<string, {
1084
1084
  status: string;
1085
- provenance: Record<string, unknown>;
1086
1085
  componentId: string;
1087
1086
  name: string;
1088
1087
  publicRef: string;
1089
- tier: "custom" | "utility" | "composition" | "core";
1088
+ tier: "core" | "composition" | "custom" | "utility";
1089
+ provenance: Record<string, unknown>;
1090
1090
  examples: unknown[];
1091
1091
  files: {
1092
1092
  path: string;
1093
1093
  size: number;
1094
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1094
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1095
1095
  contentType: string;
1096
1096
  sha256: string;
1097
1097
  contentRef: string;
@@ -1112,7 +1112,7 @@ declare const registryManifestSchema: z.ZodObject<{
1112
1112
  }[];
1113
1113
  internalDependencies: string[];
1114
1114
  exports: {
1115
- kind: "type" | "utility" | "style" | "component" | "hook";
1115
+ kind: "hook" | "type" | "style" | "component" | "utility";
1116
1116
  name: string;
1117
1117
  path?: string | undefined;
1118
1118
  }[];
@@ -1120,9 +1120,7 @@ declare const registryManifestSchema: z.ZodObject<{
1120
1120
  contract?: unknown;
1121
1121
  }>;
1122
1122
  schemaVersion: "fragments.registry.v1";
1123
- name: string;
1124
- registryId: string;
1125
- registryHash: string;
1123
+ generatedAt: string;
1126
1124
  source: {
1127
1125
  kind: "package";
1128
1126
  packageName: string;
@@ -1142,13 +1140,15 @@ declare const registryManifestSchema: z.ZodObject<{
1142
1140
  kind: "manual";
1143
1141
  label: string;
1144
1142
  };
1143
+ name: string;
1144
+ registryId: string;
1145
+ registryHash: string;
1145
1146
  version: string;
1146
- generatedAt: string;
1147
1147
  channel: string;
1148
1148
  packageFiles: {
1149
1149
  path: string;
1150
1150
  size: number;
1151
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1151
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1152
1152
  contentType: string;
1153
1153
  sha256: string;
1154
1154
  contentRef: string;
@@ -1180,16 +1180,16 @@ declare const registryManifestSchema: z.ZodObject<{
1180
1180
  files: {
1181
1181
  path: string;
1182
1182
  size: number;
1183
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1183
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1184
1184
  contentType: string;
1185
1185
  sha256: string;
1186
1186
  contentRef: string;
1187
1187
  }[];
1188
1188
  status?: string | undefined;
1189
- provenance?: Record<string, unknown> | undefined;
1190
1189
  category?: string | undefined;
1191
1190
  contract?: unknown;
1192
- tier?: "custom" | "utility" | "composition" | "core" | undefined;
1191
+ tier?: "core" | "composition" | "custom" | "utility" | undefined;
1192
+ provenance?: Record<string, unknown> | undefined;
1193
1193
  examples?: unknown[] | undefined;
1194
1194
  styleFiles?: string[] | undefined;
1195
1195
  tokenDependencies?: string[] | undefined;
@@ -1209,13 +1209,11 @@ declare const registryManifestSchema: z.ZodObject<{
1209
1209
  exports?: {
1210
1210
  name: string;
1211
1211
  path?: string | undefined;
1212
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
1212
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
1213
1213
  }[] | undefined;
1214
1214
  }>;
1215
1215
  schemaVersion: "fragments.registry.v1";
1216
- name: string;
1217
- registryId: string;
1218
- registryHash: string;
1216
+ generatedAt: string;
1219
1217
  source: {
1220
1218
  kind: "package";
1221
1219
  packageName: string;
@@ -1235,15 +1233,17 @@ declare const registryManifestSchema: z.ZodObject<{
1235
1233
  kind: "manual";
1236
1234
  label: string;
1237
1235
  };
1236
+ name: string;
1237
+ registryId: string;
1238
+ registryHash: string;
1238
1239
  version: string;
1239
- generatedAt: string;
1240
1240
  channel: string;
1241
1241
  fcid?: string | undefined;
1242
1242
  contractVersionId?: string | undefined;
1243
1243
  packageFiles?: {
1244
1244
  path: string;
1245
1245
  size: number;
1246
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1246
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1247
1247
  contentType: string;
1248
1248
  sha256: string;
1249
1249
  contentRef: string;
@@ -1342,14 +1342,14 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1342
1342
  }, "strip", z.ZodTypeAny, {
1343
1343
  path: string;
1344
1344
  size: number;
1345
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1345
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1346
1346
  contentType: string;
1347
1347
  sha256: string;
1348
1348
  contentRef: string;
1349
1349
  }, {
1350
1350
  path: string;
1351
1351
  size: number;
1352
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1352
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1353
1353
  contentType: string;
1354
1354
  sha256: string;
1355
1355
  contentRef: string;
@@ -1381,14 +1381,14 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1381
1381
  }, "strip", z.ZodTypeAny, {
1382
1382
  path: string;
1383
1383
  size: number;
1384
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1384
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1385
1385
  contentType: string;
1386
1386
  sha256: string;
1387
1387
  contentRef: string;
1388
1388
  }, {
1389
1389
  path: string;
1390
1390
  size: number;
1391
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1391
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1392
1392
  contentType: string;
1393
1393
  sha256: string;
1394
1394
  contentRef: string;
@@ -1433,29 +1433,29 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1433
1433
  kind: z.ZodDefault<z.ZodEnum<["component", "hook", "utility", "type", "style"]>>;
1434
1434
  path: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1435
1435
  }, "strip", z.ZodTypeAny, {
1436
- kind: "type" | "utility" | "style" | "component" | "hook";
1436
+ kind: "hook" | "type" | "style" | "component" | "utility";
1437
1437
  name: string;
1438
1438
  path?: string | undefined;
1439
1439
  }, {
1440
1440
  name: string;
1441
1441
  path?: string | undefined;
1442
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
1442
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
1443
1443
  }>, "many">>;
1444
1444
  contract: z.ZodOptional<z.ZodUnknown>;
1445
1445
  examples: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
1446
1446
  provenance: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1447
1447
  }, "strip", z.ZodTypeAny, {
1448
1448
  status: string;
1449
- provenance: Record<string, unknown>;
1450
1449
  componentId: string;
1451
1450
  name: string;
1452
1451
  publicRef: string;
1453
- tier: "custom" | "utility" | "composition" | "core";
1452
+ tier: "core" | "composition" | "custom" | "utility";
1453
+ provenance: Record<string, unknown>;
1454
1454
  examples: unknown[];
1455
1455
  files: {
1456
1456
  path: string;
1457
1457
  size: number;
1458
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1458
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1459
1459
  contentType: string;
1460
1460
  sha256: string;
1461
1461
  contentRef: string;
@@ -1476,7 +1476,7 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1476
1476
  }[];
1477
1477
  internalDependencies: string[];
1478
1478
  exports: {
1479
- kind: "type" | "utility" | "style" | "component" | "hook";
1479
+ kind: "hook" | "type" | "style" | "component" | "utility";
1480
1480
  name: string;
1481
1481
  path?: string | undefined;
1482
1482
  }[];
@@ -1489,16 +1489,16 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1489
1489
  files: {
1490
1490
  path: string;
1491
1491
  size: number;
1492
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1492
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1493
1493
  contentType: string;
1494
1494
  sha256: string;
1495
1495
  contentRef: string;
1496
1496
  }[];
1497
1497
  status?: string | undefined;
1498
- provenance?: Record<string, unknown> | undefined;
1499
1498
  category?: string | undefined;
1500
1499
  contract?: unknown;
1501
- tier?: "custom" | "utility" | "composition" | "core" | undefined;
1500
+ tier?: "core" | "composition" | "custom" | "utility" | undefined;
1501
+ provenance?: Record<string, unknown> | undefined;
1502
1502
  examples?: unknown[] | undefined;
1503
1503
  styleFiles?: string[] | undefined;
1504
1504
  tokenDependencies?: string[] | undefined;
@@ -1518,7 +1518,7 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1518
1518
  exports?: {
1519
1519
  name: string;
1520
1520
  path?: string | undefined;
1521
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
1521
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
1522
1522
  }[] | undefined;
1523
1523
  }>>;
1524
1524
  dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1561,16 +1561,16 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1561
1561
  }, "strip", z.ZodTypeAny, {
1562
1562
  components: Record<string, {
1563
1563
  status: string;
1564
- provenance: Record<string, unknown>;
1565
1564
  componentId: string;
1566
1565
  name: string;
1567
1566
  publicRef: string;
1568
- tier: "custom" | "utility" | "composition" | "core";
1567
+ tier: "core" | "composition" | "custom" | "utility";
1568
+ provenance: Record<string, unknown>;
1569
1569
  examples: unknown[];
1570
1570
  files: {
1571
1571
  path: string;
1572
1572
  size: number;
1573
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1573
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1574
1574
  contentType: string;
1575
1575
  sha256: string;
1576
1576
  contentRef: string;
@@ -1591,7 +1591,7 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1591
1591
  }[];
1592
1592
  internalDependencies: string[];
1593
1593
  exports: {
1594
- kind: "type" | "utility" | "style" | "component" | "hook";
1594
+ kind: "hook" | "type" | "style" | "component" | "utility";
1595
1595
  name: string;
1596
1596
  path?: string | undefined;
1597
1597
  }[];
@@ -1599,9 +1599,7 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1599
1599
  contract?: unknown;
1600
1600
  }>;
1601
1601
  schemaVersion: "fragments.registry.v1";
1602
- name: string;
1603
- registryId: string;
1604
- registryHash: string;
1602
+ generatedAt: string;
1605
1603
  source: {
1606
1604
  kind: "package";
1607
1605
  packageName: string;
@@ -1621,13 +1619,15 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1621
1619
  kind: "manual";
1622
1620
  label: string;
1623
1621
  };
1622
+ name: string;
1623
+ registryId: string;
1624
+ registryHash: string;
1624
1625
  version: string;
1625
- generatedAt: string;
1626
1626
  channel: string;
1627
1627
  packageFiles: {
1628
1628
  path: string;
1629
1629
  size: number;
1630
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1630
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1631
1631
  contentType: string;
1632
1632
  sha256: string;
1633
1633
  contentRef: string;
@@ -1659,16 +1659,16 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1659
1659
  files: {
1660
1660
  path: string;
1661
1661
  size: number;
1662
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1662
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1663
1663
  contentType: string;
1664
1664
  sha256: string;
1665
1665
  contentRef: string;
1666
1666
  }[];
1667
1667
  status?: string | undefined;
1668
- provenance?: Record<string, unknown> | undefined;
1669
1668
  category?: string | undefined;
1670
1669
  contract?: unknown;
1671
- tier?: "custom" | "utility" | "composition" | "core" | undefined;
1670
+ tier?: "core" | "composition" | "custom" | "utility" | undefined;
1671
+ provenance?: Record<string, unknown> | undefined;
1672
1672
  examples?: unknown[] | undefined;
1673
1673
  styleFiles?: string[] | undefined;
1674
1674
  tokenDependencies?: string[] | undefined;
@@ -1688,13 +1688,11 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1688
1688
  exports?: {
1689
1689
  name: string;
1690
1690
  path?: string | undefined;
1691
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
1691
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
1692
1692
  }[] | undefined;
1693
1693
  }>;
1694
1694
  schemaVersion: "fragments.registry.v1";
1695
- name: string;
1696
- registryId: string;
1697
- registryHash: string;
1695
+ generatedAt: string;
1698
1696
  source: {
1699
1697
  kind: "package";
1700
1698
  packageName: string;
@@ -1714,15 +1712,17 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1714
1712
  kind: "manual";
1715
1713
  label: string;
1716
1714
  };
1715
+ name: string;
1716
+ registryId: string;
1717
+ registryHash: string;
1717
1718
  version: string;
1718
- generatedAt: string;
1719
1719
  channel: string;
1720
1720
  fcid?: string | undefined;
1721
1721
  contractVersionId?: string | undefined;
1722
1722
  packageFiles?: {
1723
1723
  path: string;
1724
1724
  size: number;
1725
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1725
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1726
1726
  contentType: string;
1727
1727
  sha256: string;
1728
1728
  contentRef: string;
@@ -1769,16 +1769,16 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1769
1769
  manifest: {
1770
1770
  components: Record<string, {
1771
1771
  status: string;
1772
- provenance: Record<string, unknown>;
1773
1772
  componentId: string;
1774
1773
  name: string;
1775
1774
  publicRef: string;
1776
- tier: "custom" | "utility" | "composition" | "core";
1775
+ tier: "core" | "composition" | "custom" | "utility";
1776
+ provenance: Record<string, unknown>;
1777
1777
  examples: unknown[];
1778
1778
  files: {
1779
1779
  path: string;
1780
1780
  size: number;
1781
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1781
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1782
1782
  contentType: string;
1783
1783
  sha256: string;
1784
1784
  contentRef: string;
@@ -1799,7 +1799,7 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1799
1799
  }[];
1800
1800
  internalDependencies: string[];
1801
1801
  exports: {
1802
- kind: "type" | "utility" | "style" | "component" | "hook";
1802
+ kind: "hook" | "type" | "style" | "component" | "utility";
1803
1803
  name: string;
1804
1804
  path?: string | undefined;
1805
1805
  }[];
@@ -1807,9 +1807,7 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1807
1807
  contract?: unknown;
1808
1808
  }>;
1809
1809
  schemaVersion: "fragments.registry.v1";
1810
- name: string;
1811
- registryId: string;
1812
- registryHash: string;
1810
+ generatedAt: string;
1813
1811
  source: {
1814
1812
  kind: "package";
1815
1813
  packageName: string;
@@ -1829,13 +1827,15 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1829
1827
  kind: "manual";
1830
1828
  label: string;
1831
1829
  };
1830
+ name: string;
1831
+ registryId: string;
1832
+ registryHash: string;
1832
1833
  version: string;
1833
- generatedAt: string;
1834
1834
  channel: string;
1835
1835
  packageFiles: {
1836
1836
  path: string;
1837
1837
  size: number;
1838
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1838
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1839
1839
  contentType: string;
1840
1840
  sha256: string;
1841
1841
  contentRef: string;
@@ -1877,16 +1877,16 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1877
1877
  files: {
1878
1878
  path: string;
1879
1879
  size: number;
1880
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1880
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1881
1881
  contentType: string;
1882
1882
  sha256: string;
1883
1883
  contentRef: string;
1884
1884
  }[];
1885
1885
  status?: string | undefined;
1886
- provenance?: Record<string, unknown> | undefined;
1887
1886
  category?: string | undefined;
1888
1887
  contract?: unknown;
1889
- tier?: "custom" | "utility" | "composition" | "core" | undefined;
1888
+ tier?: "core" | "composition" | "custom" | "utility" | undefined;
1889
+ provenance?: Record<string, unknown> | undefined;
1890
1890
  examples?: unknown[] | undefined;
1891
1891
  styleFiles?: string[] | undefined;
1892
1892
  tokenDependencies?: string[] | undefined;
@@ -1906,13 +1906,11 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1906
1906
  exports?: {
1907
1907
  name: string;
1908
1908
  path?: string | undefined;
1909
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
1909
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
1910
1910
  }[] | undefined;
1911
1911
  }>;
1912
1912
  schemaVersion: "fragments.registry.v1";
1913
- name: string;
1914
- registryId: string;
1915
- registryHash: string;
1913
+ generatedAt: string;
1916
1914
  source: {
1917
1915
  kind: "package";
1918
1916
  packageName: string;
@@ -1932,15 +1930,17 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1932
1930
  kind: "manual";
1933
1931
  label: string;
1934
1932
  };
1933
+ name: string;
1934
+ registryId: string;
1935
+ registryHash: string;
1935
1936
  version: string;
1936
- generatedAt: string;
1937
1937
  channel: string;
1938
1938
  fcid?: string | undefined;
1939
1939
  contractVersionId?: string | undefined;
1940
1940
  packageFiles?: {
1941
1941
  path: string;
1942
1942
  size: number;
1943
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1943
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1944
1944
  contentType: string;
1945
1945
  sha256: string;
1946
1946
  contentRef: string;
@@ -1975,16 +1975,16 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
1975
1975
  manifest: {
1976
1976
  components: Record<string, {
1977
1977
  status: string;
1978
- provenance: Record<string, unknown>;
1979
1978
  componentId: string;
1980
1979
  name: string;
1981
1980
  publicRef: string;
1982
- tier: "custom" | "utility" | "composition" | "core";
1981
+ tier: "core" | "composition" | "custom" | "utility";
1982
+ provenance: Record<string, unknown>;
1983
1983
  examples: unknown[];
1984
1984
  files: {
1985
1985
  path: string;
1986
1986
  size: number;
1987
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
1987
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
1988
1988
  contentType: string;
1989
1989
  sha256: string;
1990
1990
  contentRef: string;
@@ -2005,7 +2005,7 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
2005
2005
  }[];
2006
2006
  internalDependencies: string[];
2007
2007
  exports: {
2008
- kind: "type" | "utility" | "style" | "component" | "hook";
2008
+ kind: "hook" | "type" | "style" | "component" | "utility";
2009
2009
  name: string;
2010
2010
  path?: string | undefined;
2011
2011
  }[];
@@ -2013,9 +2013,7 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
2013
2013
  contract?: unknown;
2014
2014
  }>;
2015
2015
  schemaVersion: "fragments.registry.v1";
2016
- name: string;
2017
- registryId: string;
2018
- registryHash: string;
2016
+ generatedAt: string;
2019
2017
  source: {
2020
2018
  kind: "package";
2021
2019
  packageName: string;
@@ -2035,13 +2033,15 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
2035
2033
  kind: "manual";
2036
2034
  label: string;
2037
2035
  };
2036
+ name: string;
2037
+ registryId: string;
2038
+ registryHash: string;
2038
2039
  version: string;
2039
- generatedAt: string;
2040
2040
  channel: string;
2041
2041
  packageFiles: {
2042
2042
  path: string;
2043
2043
  size: number;
2044
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
2044
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
2045
2045
  contentType: string;
2046
2046
  sha256: string;
2047
2047
  contentRef: string;
@@ -2083,16 +2083,16 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
2083
2083
  files: {
2084
2084
  path: string;
2085
2085
  size: number;
2086
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
2086
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
2087
2087
  contentType: string;
2088
2088
  sha256: string;
2089
2089
  contentRef: string;
2090
2090
  }[];
2091
2091
  status?: string | undefined;
2092
- provenance?: Record<string, unknown> | undefined;
2093
2092
  category?: string | undefined;
2094
2093
  contract?: unknown;
2095
- tier?: "custom" | "utility" | "composition" | "core" | undefined;
2094
+ tier?: "core" | "composition" | "custom" | "utility" | undefined;
2095
+ provenance?: Record<string, unknown> | undefined;
2096
2096
  examples?: unknown[] | undefined;
2097
2097
  styleFiles?: string[] | undefined;
2098
2098
  tokenDependencies?: string[] | undefined;
@@ -2112,13 +2112,11 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
2112
2112
  exports?: {
2113
2113
  name: string;
2114
2114
  path?: string | undefined;
2115
- kind?: "type" | "utility" | "style" | "component" | "hook" | undefined;
2115
+ kind?: "hook" | "type" | "style" | "component" | "utility" | undefined;
2116
2116
  }[] | undefined;
2117
2117
  }>;
2118
2118
  schemaVersion: "fragments.registry.v1";
2119
- name: string;
2120
- registryId: string;
2121
- registryHash: string;
2119
+ generatedAt: string;
2122
2120
  source: {
2123
2121
  kind: "package";
2124
2122
  packageName: string;
@@ -2138,15 +2136,17 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
2138
2136
  kind: "manual";
2139
2137
  label: string;
2140
2138
  };
2139
+ name: string;
2140
+ registryId: string;
2141
+ registryHash: string;
2141
2142
  version: string;
2142
- generatedAt: string;
2143
2143
  channel: string;
2144
2144
  fcid?: string | undefined;
2145
2145
  contractVersionId?: string | undefined;
2146
2146
  packageFiles?: {
2147
2147
  path: string;
2148
2148
  size: number;
2149
- role: "metadata" | "example" | "token" | "style" | "contract" | "source" | "test" | "story" | "asset" | "barrel";
2149
+ role: "source" | "metadata" | "token" | "style" | "contract" | "example" | "test" | "story" | "asset" | "barrel";
2150
2150
  contentType: string;
2151
2151
  sha256: string;
2152
2152
  contentRef: string;