@almadar/core 10.78.0 → 10.80.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.
package/dist/index.js CHANGED
@@ -779,11 +779,17 @@ var StateSchema = z.object({
779
779
  onEntry: z.array(z.string()).optional(),
780
780
  onExit: z.array(z.string()).optional()
781
781
  });
782
+ var PayloadTypeWhenSchema = z.object({
783
+ knob: z.string().min(1),
784
+ equals: z.string().min(1),
785
+ type: z.string().min(1)
786
+ });
782
787
  var PayloadFieldSchema = z.object({
783
788
  name: z.string().min(1),
784
789
  type: z.string().min(1),
785
790
  required: z.boolean().optional(),
786
- properties: z.lazy(() => z.array(PayloadFieldSchema)).optional()
791
+ properties: z.lazy(() => z.array(PayloadFieldSchema)).optional(),
792
+ typeWhen: z.array(PayloadTypeWhenSchema).optional()
787
793
  });
788
794
  var EventSchema = z.object({
789
795
  key: z.string().min(1, "Event key is required"),
@@ -880,7 +886,8 @@ var ConfigFieldItemsDeclarationSchema = z.lazy(
880
886
  () => z.object({
881
887
  type: z.string().optional(),
882
888
  properties: z.record(TraitEntityFieldSchema).optional(),
883
- items: ConfigFieldItemsDeclarationSchema.optional()
889
+ items: ConfigFieldItemsDeclarationSchema.optional(),
890
+ values: z.array(z.string()).optional()
884
891
  })
885
892
  );
886
893
  var ConfigFieldDeclarationSchema = z.object({
@@ -996,7 +1003,8 @@ var EventPayloadFieldSchema = z.object({
996
1003
  required: z.boolean().optional(),
997
1004
  description: z.string().optional(),
998
1005
  entityType: z.string().optional(),
999
- properties: z.lazy(() => z.array(EventPayloadFieldSchema)).optional()
1006
+ properties: z.lazy(() => z.array(EventPayloadFieldSchema)).optional(),
1007
+ typeWhen: z.array(PayloadTypeWhenSchema).optional()
1000
1008
  });
1001
1009
  var CONFIG_REF_EVENT_PATTERN = /^@config\.[A-Za-z_][A-Za-z0-9_]*$/;
1002
1010
  function configRefEventKnob(event) {
@@ -1032,6 +1040,7 @@ var TraitEventContractSchema = z.object({
1032
1040
  synonyms: z.string().optional(),
1033
1041
  tier: z.string().optional(),
1034
1042
  definerKnob: z.string().optional(),
1043
+ scopeOverridden: z.boolean().optional(),
1035
1044
  payloadSchema: z.array(EventPayloadFieldSchema).optional(),
1036
1045
  scope: EventScopeSchema.optional()
1037
1046
  });
@@ -1085,6 +1094,11 @@ var TraitReferenceSchema = z.object({
1085
1094
  z.string().min(1, "events value (caller event name) must be non-empty")
1086
1095
  ).optional(),
1087
1096
  eventIds: z.record(z.string().min(1), EventIdSchema).optional(),
1097
+ // 3-II type-parameter arguments (see `TraitReference.typeArgs`).
1098
+ typeArgs: z.record(
1099
+ z.string().min(1, "typeArgs key (declared param name) must be non-empty"),
1100
+ z.string().min(1, "typeArgs value (type name) must be non-empty")
1101
+ ).optional(),
1088
1102
  fields: z.record(
1089
1103
  z.string().min(1, "fields key (canonical field name) must be non-empty"),
1090
1104
  z.string().min(1, "fields value (consumer field name) must be non-empty")
@@ -1145,6 +1159,11 @@ var SourceBehaviorMetadataSchema = z.object({
1145
1159
  alias: z.string().min(1),
1146
1160
  originalName: z.string().min(1)
1147
1161
  });
1162
+ var TraitTypeParamDefSchema = z.object({
1163
+ name: z.string().min(1),
1164
+ kind: z.string().min(1),
1165
+ default: z.string().optional()
1166
+ });
1148
1167
  var TraitSchema = z.object({
1149
1168
  id: TraitIdSchema.optional(),
1150
1169
  name: z.string().min(1),
@@ -1171,7 +1190,8 @@ var TraitSchema = z.object({
1171
1190
  ui: TraitUIBindingSchema.optional(),
1172
1191
  config: DeclaredTraitConfigSchema.optional(),
1173
1192
  sourceBehavior: SourceBehaviorMetadataSchema.optional(),
1174
- sourceEntityDefinition: EntitySchema.optional()
1193
+ sourceEntityDefinition: EntitySchema.optional(),
1194
+ typeParams: z.array(TraitTypeParamDefSchema).optional()
1175
1195
  });
1176
1196
  var TraitRefSchema = z.union([
1177
1197
  z.string().min(1),
@@ -1933,7 +1953,8 @@ var OrbitalDefinitionSchema = z.object({
1933
1953
  // Context fields - persisted throughout orbital lifecycle
1934
1954
  domainContext: DomainContextSchema.optional(),
1935
1955
  design: DesignPreferencesSchema.optional(),
1936
- suggestedGuards: z.array(SuggestedGuardSchema).optional()
1956
+ suggestedGuards: z.array(SuggestedGuardSchema).optional(),
1957
+ types: z.record(z.string(), z.array(EventPayloadFieldSchema)).optional()
1937
1958
  });
1938
1959
  var OrbitalSchema = OrbitalDefinitionSchema;
1939
1960
  function isOrbitalDefinition(orbital) {
@@ -2283,7 +2304,7 @@ function getInteractionModelForDomain(domain) {
2283
2304
  // src/patterns/patterns-registry.json
2284
2305
  var patterns_registry_default = {
2285
2306
  version: "1.0.0",
2286
- exportedAt: "2026-09-01T15:15:34.310Z",
2307
+ exportedAt: "2026-09-02T20:03:03.703Z",
2287
2308
  patterns: {
2288
2309
  "entity-table": {
2289
2310
  type: "entity-table",
@@ -2544,10 +2565,6 @@ var patterns_registry_default = {
2544
2565
  placement: {
2545
2566
  types: [
2546
2567
  "string"
2547
- ],
2548
- enumValues: [
2549
- "row",
2550
- "bulk"
2551
2568
  ]
2552
2569
  },
2553
2570
  icon: {
@@ -2559,13 +2576,6 @@ var patterns_registry_default = {
2559
2576
  variant: {
2560
2577
  types: [
2561
2578
  "string"
2562
- ],
2563
- enumValues: [
2564
- "default",
2565
- "primary",
2566
- "secondary",
2567
- "ghost",
2568
- "danger"
2569
2579
  ]
2570
2580
  },
2571
2581
  onClick: {
@@ -2942,12 +2952,6 @@ var patterns_registry_default = {
2942
2952
  placement: {
2943
2953
  types: [
2944
2954
  "string"
2945
- ],
2946
- enumValues: [
2947
- "row",
2948
- "bulk",
2949
- "card",
2950
- "footer"
2951
2955
  ]
2952
2956
  },
2953
2957
  variant: {
@@ -3087,7 +3091,8 @@ var patterns_registry_default = {
3087
3091
  types: [
3088
3092
  "object"
3089
3093
  ],
3090
- freeform: true
3094
+ freeform: true,
3095
+ controlValue: true
3091
3096
  }
3092
3097
  }
3093
3098
  },
@@ -3456,22 +3461,11 @@ var patterns_registry_default = {
3456
3461
  placement: {
3457
3462
  types: [
3458
3463
  "string"
3459
- ],
3460
- enumValues: [
3461
- "card",
3462
- "footer",
3463
- "row"
3464
3464
  ]
3465
3465
  },
3466
3466
  variant: {
3467
3467
  types: [
3468
3468
  "string"
3469
- ],
3470
- enumValues: [
3471
- "primary",
3472
- "secondary",
3473
- "ghost",
3474
- "danger"
3475
3469
  ]
3476
3470
  }
3477
3471
  },
@@ -4396,11 +4390,7 @@ var patterns_registry_default = {
4396
4390
  types: [
4397
4391
  "string"
4398
4392
  ],
4399
- description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'.",
4400
- enumValues: [
4401
- "create",
4402
- "edit"
4403
- ]
4393
+ description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
4404
4394
  },
4405
4395
  fields: {
4406
4396
  types: [
@@ -4452,7 +4442,8 @@ var patterns_registry_default = {
4452
4442
  types: [
4453
4443
  "object"
4454
4444
  ],
4455
- freeform: true
4445
+ freeform: true,
4446
+ controlValue: true
4456
4447
  },
4457
4448
  options: {
4458
4449
  types: [
@@ -4895,7 +4886,8 @@ var patterns_registry_default = {
4895
4886
  types: [
4896
4887
  "object"
4897
4888
  ],
4898
- freeform: true
4889
+ freeform: true,
4890
+ controlValue: true
4899
4891
  }
4900
4892
  },
4901
4893
  globalVariables: {
@@ -4906,7 +4898,8 @@ var patterns_registry_default = {
4906
4898
  types: [
4907
4899
  "object"
4908
4900
  ],
4909
- freeform: true
4901
+ freeform: true,
4902
+ controlValue: true
4910
4903
  }
4911
4904
  },
4912
4905
  localVariables: {
@@ -4917,7 +4910,8 @@ var patterns_registry_default = {
4917
4910
  types: [
4918
4911
  "object"
4919
4912
  ],
4920
- freeform: true
4913
+ freeform: true,
4914
+ controlValue: true
4921
4915
  }
4922
4916
  },
4923
4917
  entity: {
@@ -4928,7 +4922,8 @@ var patterns_registry_default = {
4928
4922
  types: [
4929
4923
  "object"
4930
4924
  ],
4931
- freeform: true
4925
+ freeform: true,
4926
+ controlValue: true
4932
4927
  }
4933
4928
  }
4934
4929
  },
@@ -5010,7 +5005,8 @@ var patterns_registry_default = {
5010
5005
  types: [
5011
5006
  "object"
5012
5007
  ],
5013
- freeform: true
5008
+ freeform: true,
5009
+ controlValue: true
5014
5010
  },
5015
5011
  options: {
5016
5012
  types: [
@@ -5214,7 +5210,8 @@ var patterns_registry_default = {
5214
5210
  types: [
5215
5211
  "object"
5216
5212
  ],
5217
- freeform: true
5213
+ freeform: true,
5214
+ controlValue: true
5218
5215
  }
5219
5216
  }
5220
5217
  },
@@ -5316,11 +5313,7 @@ var patterns_registry_default = {
5316
5313
  types: [
5317
5314
  "string"
5318
5315
  ],
5319
- description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'.",
5320
- enumValues: [
5321
- "create",
5322
- "edit"
5323
- ]
5316
+ description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
5324
5317
  },
5325
5318
  fields: {
5326
5319
  types: [
@@ -5372,7 +5365,8 @@ var patterns_registry_default = {
5372
5365
  types: [
5373
5366
  "object"
5374
5367
  ],
5375
- freeform: true
5368
+ freeform: true,
5369
+ controlValue: true
5376
5370
  },
5377
5371
  options: {
5378
5372
  types: [
@@ -5815,7 +5809,8 @@ var patterns_registry_default = {
5815
5809
  types: [
5816
5810
  "object"
5817
5811
  ],
5818
- freeform: true
5812
+ freeform: true,
5813
+ controlValue: true
5819
5814
  }
5820
5815
  },
5821
5816
  globalVariables: {
@@ -5826,7 +5821,8 @@ var patterns_registry_default = {
5826
5821
  types: [
5827
5822
  "object"
5828
5823
  ],
5829
- freeform: true
5824
+ freeform: true,
5825
+ controlValue: true
5830
5826
  }
5831
5827
  },
5832
5828
  localVariables: {
@@ -5837,7 +5833,8 @@ var patterns_registry_default = {
5837
5833
  types: [
5838
5834
  "object"
5839
5835
  ],
5840
- freeform: true
5836
+ freeform: true,
5837
+ controlValue: true
5841
5838
  }
5842
5839
  },
5843
5840
  entity: {
@@ -5848,7 +5845,8 @@ var patterns_registry_default = {
5848
5845
  types: [
5849
5846
  "object"
5850
5847
  ],
5851
- freeform: true
5848
+ freeform: true,
5849
+ controlValue: true
5852
5850
  }
5853
5851
  }
5854
5852
  },
@@ -5930,7 +5928,8 @@ var patterns_registry_default = {
5930
5928
  types: [
5931
5929
  "object"
5932
5930
  ],
5933
- freeform: true
5931
+ freeform: true,
5932
+ controlValue: true
5934
5933
  },
5935
5934
  options: {
5936
5935
  types: [
@@ -6134,7 +6133,8 @@ var patterns_registry_default = {
6134
6133
  types: [
6135
6134
  "object"
6136
6135
  ],
6137
- freeform: true
6136
+ freeform: true,
6137
+ controlValue: true
6138
6138
  }
6139
6139
  }
6140
6140
  },
@@ -7435,20 +7435,50 @@ var patterns_registry_default = {
7435
7435
  },
7436
7436
  defaultValue: {
7437
7437
  types: [
7438
+ "string",
7439
+ "number",
7440
+ "boolean",
7441
+ "array",
7438
7442
  "object"
7439
7443
  ],
7440
- freeform: true
7444
+ items: {
7445
+ types: [
7446
+ "string"
7447
+ ]
7448
+ },
7449
+ properties: {
7450
+ name: {
7451
+ types: [
7452
+ "string"
7453
+ ]
7454
+ },
7455
+ url: {
7456
+ types: [
7457
+ "string"
7458
+ ]
7459
+ },
7460
+ mimeType: {
7461
+ types: [
7462
+ "string"
7463
+ ]
7464
+ },
7465
+ sizeBytes: {
7466
+ types: [
7467
+ "number"
7468
+ ]
7469
+ }
7470
+ },
7471
+ required: [
7472
+ "name",
7473
+ "url",
7474
+ "mimeType",
7475
+ "sizeBytes"
7476
+ ]
7441
7477
  },
7442
7478
  condition: {
7443
7479
  types: [
7444
- "array"
7445
- ],
7446
- items: {
7447
- types: [
7448
- "object"
7449
- ],
7450
- freeform: true
7451
- }
7480
+ "sexpr"
7481
+ ]
7452
7482
  },
7453
7483
  placeholder: {
7454
7484
  types: [
@@ -7474,7 +7504,13 @@ var patterns_registry_default = {
7474
7504
  types: [
7475
7505
  "object"
7476
7506
  ],
7477
- freeform: true
7507
+ mapValue: {
7508
+ types: [
7509
+ "object"
7510
+ ],
7511
+ freeform: true,
7512
+ controlValue: true
7513
+ }
7478
7514
  },
7479
7515
  displayFields: {
7480
7516
  types: [
@@ -7490,7 +7526,13 @@ var patterns_registry_default = {
7490
7526
  types: [
7491
7527
  "object"
7492
7528
  ],
7493
- freeform: true
7529
+ mapValue: {
7530
+ types: [
7531
+ "object"
7532
+ ],
7533
+ freeform: true,
7534
+ controlValue: true
7535
+ }
7494
7536
  },
7495
7537
  hiddenCalculations: {
7496
7538
  types: [
@@ -7527,19 +7569,37 @@ var patterns_registry_default = {
7527
7569
  types: [
7528
7570
  "object"
7529
7571
  ],
7530
- freeform: true
7572
+ mapValue: {
7573
+ types: [
7574
+ "object"
7575
+ ],
7576
+ freeform: true,
7577
+ controlValue: true
7578
+ }
7531
7579
  },
7532
7580
  displayTemplate: {
7533
7581
  types: [
7534
7582
  "object"
7535
7583
  ],
7536
- freeform: true
7584
+ mapValue: {
7585
+ types: [
7586
+ "object"
7587
+ ],
7588
+ freeform: true,
7589
+ controlValue: true
7590
+ }
7537
7591
  },
7538
7592
  lawReference: {
7539
7593
  types: [
7540
7594
  "object"
7541
7595
  ],
7542
- freeform: true
7596
+ mapValue: {
7597
+ types: [
7598
+ "object"
7599
+ ],
7600
+ freeform: true,
7601
+ controlValue: true
7602
+ }
7543
7603
  },
7544
7604
  contextMenu: {
7545
7605
  types: [
@@ -7555,7 +7615,13 @@ var patterns_registry_default = {
7555
7615
  types: [
7556
7616
  "object"
7557
7617
  ],
7558
- freeform: true
7618
+ mapValue: {
7619
+ types: [
7620
+ "object"
7621
+ ],
7622
+ freeform: true,
7623
+ controlValue: true
7624
+ }
7559
7625
  },
7560
7626
  readOnly: {
7561
7627
  types: [
@@ -7564,9 +7630,8 @@ var patterns_registry_default = {
7564
7630
  },
7565
7631
  minDate: {
7566
7632
  types: [
7567
- "object"
7568
- ],
7569
- freeform: true
7633
+ "string"
7634
+ ]
7570
7635
  },
7571
7636
  stats: {
7572
7637
  types: [
@@ -7584,9 +7649,45 @@ var patterns_registry_default = {
7584
7649
  },
7585
7650
  value: {
7586
7651
  types: [
7652
+ "string",
7653
+ "number",
7654
+ "boolean",
7655
+ "array",
7587
7656
  "object"
7588
7657
  ],
7589
- freeform: true
7658
+ items: {
7659
+ types: [
7660
+ "string"
7661
+ ]
7662
+ },
7663
+ properties: {
7664
+ name: {
7665
+ types: [
7666
+ "string"
7667
+ ]
7668
+ },
7669
+ url: {
7670
+ types: [
7671
+ "string"
7672
+ ]
7673
+ },
7674
+ mimeType: {
7675
+ types: [
7676
+ "string"
7677
+ ]
7678
+ },
7679
+ sizeBytes: {
7680
+ types: [
7681
+ "number"
7682
+ ]
7683
+ }
7684
+ },
7685
+ required: [
7686
+ "name",
7687
+ "url",
7688
+ "mimeType",
7689
+ "sizeBytes"
7690
+ ]
7590
7691
  },
7591
7692
  icon: {
7592
7693
  types: [
@@ -7621,9 +7722,8 @@ var patterns_registry_default = {
7621
7722
  },
7622
7723
  autoCheck: {
7623
7724
  types: [
7624
- "object"
7625
- ],
7626
- freeform: true
7725
+ "boolean"
7726
+ ]
7627
7727
  }
7628
7728
  },
7629
7729
  required: [
@@ -7652,14 +7752,8 @@ var patterns_registry_default = {
7652
7752
  },
7653
7753
  condition: {
7654
7754
  types: [
7655
- "array"
7656
- ],
7657
- items: {
7658
- types: [
7659
- "object"
7660
- ],
7661
- freeform: true
7662
- }
7755
+ "sexpr"
7756
+ ]
7663
7757
  },
7664
7758
  repeatable: {
7665
7759
  types: [
@@ -7711,7 +7805,13 @@ var patterns_registry_default = {
7711
7805
  types: [
7712
7806
  "object"
7713
7807
  ],
7714
- freeform: true
7808
+ mapValue: {
7809
+ types: [
7810
+ "object"
7811
+ ],
7812
+ freeform: true,
7813
+ controlValue: true
7814
+ }
7715
7815
  },
7716
7816
  readOnly: {
7717
7817
  types: [
@@ -7767,12 +7867,6 @@ var patterns_registry_default = {
7767
7867
  mode: {
7768
7868
  types: [
7769
7869
  "string"
7770
- ],
7771
- enumValues: [
7772
- "search_or_create",
7773
- "create_multiple",
7774
- "select_one",
7775
- "update"
7776
7870
  ]
7777
7871
  },
7778
7872
  parentField: {
@@ -7802,14 +7896,8 @@ var patterns_registry_default = {
7802
7896
  properties: {
7803
7897
  condition: {
7804
7898
  types: [
7805
- "array"
7806
- ],
7807
- items: {
7808
- types: [
7809
- "object"
7810
- ],
7811
- freeform: true
7812
- }
7899
+ "sexpr"
7900
+ ]
7813
7901
  },
7814
7902
  message: {
7815
7903
  types: [
@@ -8632,13 +8720,6 @@ var patterns_registry_default = {
8632
8720
  "string"
8633
8721
  ],
8634
8722
  description: "Width (CSS value or preset size)",
8635
- enumValues: [
8636
- "sm",
8637
- "md",
8638
- "lg",
8639
- "xl",
8640
- "full"
8641
- ],
8642
8723
  default: "md"
8643
8724
  },
8644
8725
  showCloseButton: {
@@ -10260,15 +10341,7 @@ var patterns_registry_default = {
10260
10341
  types: [
10261
10342
  "string"
10262
10343
  ],
10263
- description: "Semantic palette token or an arbitrary Tailwind color class.",
10264
- enumValues: [
10265
- "primary",
10266
- "secondary",
10267
- "success",
10268
- "warning",
10269
- "error",
10270
- "muted"
10271
- ]
10344
+ description: "Semantic palette token or an arbitrary Tailwind color class."
10272
10345
  },
10273
10346
  animation: {
10274
10347
  types: [
@@ -10609,13 +10682,20 @@ var patterns_registry_default = {
10609
10682
  types: [
10610
10683
  "string"
10611
10684
  ],
10612
- description: "Declarative event name for trait dispatch",
10685
+ description: "Declarative event name for trait dispatch.",
10613
10686
  kind: "event-ref",
10614
10687
  emitPayloadSchema: [
10615
10688
  {
10616
10689
  name: "value",
10617
10690
  type: "string",
10618
- required: true
10691
+ required: true,
10692
+ typeWhen: [
10693
+ {
10694
+ knob: "inputType",
10695
+ equals: "number",
10696
+ type: "number"
10697
+ }
10698
+ ]
10619
10699
  }
10620
10700
  ]
10621
10701
  },
@@ -10904,8 +10984,26 @@ var patterns_registry_default = {
10904
10984
  types: [
10905
10985
  "string"
10906
10986
  ],
10907
- description: "Declarative event name for trait dispatch",
10908
- kind: "event"
10987
+ description: "Declarative event name for trait dispatch \u2014 emits `{ value }` on selection commit (same gestures as `onChange`).",
10988
+ kind: "event-ref",
10989
+ emitPayloadSchema: [
10990
+ {
10991
+ name: "value",
10992
+ type: "string",
10993
+ required: true,
10994
+ schema: {
10995
+ types: [
10996
+ "string",
10997
+ "array"
10998
+ ],
10999
+ items: {
11000
+ types: [
11001
+ "string"
11002
+ ]
11003
+ }
11004
+ }
11005
+ }
11006
+ ]
10909
11007
  },
10910
11008
  error: {
10911
11009
  types: [
@@ -12114,25 +12212,49 @@ var patterns_registry_default = {
12114
12212
  types: [
12115
12213
  "object"
12116
12214
  ],
12117
- freeform: true
12215
+ mapValue: {
12216
+ types: [
12217
+ "object"
12218
+ ],
12219
+ freeform: true,
12220
+ controlValue: true
12221
+ }
12118
12222
  },
12119
12223
  globalVariables: {
12120
12224
  types: [
12121
12225
  "object"
12122
12226
  ],
12123
- freeform: true
12227
+ mapValue: {
12228
+ types: [
12229
+ "object"
12230
+ ],
12231
+ freeform: true,
12232
+ controlValue: true
12233
+ }
12124
12234
  },
12125
12235
  localVariables: {
12126
12236
  types: [
12127
12237
  "object"
12128
12238
  ],
12129
- freeform: true
12239
+ mapValue: {
12240
+ types: [
12241
+ "object"
12242
+ ],
12243
+ freeform: true,
12244
+ controlValue: true
12245
+ }
12130
12246
  },
12131
12247
  entity: {
12132
12248
  types: [
12133
12249
  "object"
12134
12250
  ],
12135
- freeform: true
12251
+ mapValue: {
12252
+ types: [
12253
+ "object"
12254
+ ],
12255
+ freeform: true,
12256
+ controlValue: true
12257
+ }
12136
12258
  }
12137
12259
  },
12138
12260
  propertyRequired: [
@@ -13201,7 +13323,8 @@ var patterns_registry_default = {
13201
13323
  ],
13202
13324
  description: "Payload to include with the dispatched action event.",
13203
13325
  payloadFor: "action",
13204
- freeform: true
13326
+ freeform: true,
13327
+ eventPayloadBrand: true
13205
13328
  },
13206
13329
  actions: {
13207
13330
  types: [
@@ -13300,14 +13423,6 @@ var patterns_registry_default = {
13300
13423
  "string"
13301
13424
  ],
13302
13425
  description: "Button position",
13303
- enumValues: [
13304
- "bottom-right",
13305
- "bottom-left",
13306
- "bottom-center",
13307
- "top-right",
13308
- "top-left",
13309
- "top-center"
13310
- ],
13311
13426
  default: "bottom-right"
13312
13427
  },
13313
13428
  className: {
@@ -13504,13 +13619,20 @@ var patterns_registry_default = {
13504
13619
  types: [
13505
13620
  "string"
13506
13621
  ],
13507
- description: "Declarative event name for trait dispatch",
13622
+ description: "Declarative event name for trait dispatch.",
13508
13623
  kind: "event-ref",
13509
13624
  emitPayloadSchema: [
13510
13625
  {
13511
13626
  name: "value",
13512
13627
  type: "string",
13513
- required: true
13628
+ required: true,
13629
+ typeWhen: [
13630
+ {
13631
+ knob: "inputType",
13632
+ equals: "number",
13633
+ type: "number"
13634
+ }
13635
+ ]
13514
13636
  }
13515
13637
  ]
13516
13638
  },
@@ -22757,7 +22879,8 @@ var patterns_registry_default = {
22757
22879
  types: [
22758
22880
  "object"
22759
22881
  ],
22760
- freeform: true
22882
+ freeform: true,
22883
+ genericParam: true
22761
22884
  }
22762
22885
  },
22763
22886
  renderItem: {
@@ -23064,7 +23187,8 @@ var patterns_registry_default = {
23064
23187
  types: [
23065
23188
  "object"
23066
23189
  ],
23067
- freeform: true
23190
+ freeform: true,
23191
+ eventPayloadBrand: true
23068
23192
  }
23069
23193
  },
23070
23194
  required: [
@@ -23117,7 +23241,8 @@ var patterns_registry_default = {
23117
23241
  types: [
23118
23242
  "object"
23119
23243
  ],
23120
- freeform: true
23244
+ freeform: true,
23245
+ eventPayloadBrand: true
23121
23246
  }
23122
23247
  },
23123
23248
  required: [
@@ -23146,7 +23271,8 @@ var patterns_registry_default = {
23146
23271
  "object"
23147
23272
  ],
23148
23273
  description: "itemData prop",
23149
- freeform: true
23274
+ freeform: true,
23275
+ eventPayloadBrand: true
23150
23276
  },
23151
23277
  className: {
23152
23278
  types: [
@@ -27768,14 +27894,6 @@ var patterns_registry_default = {
27768
27894
  "string"
27769
27895
  ],
27770
27896
  description: "Semantic palette token or a raw CSS color value for the stroke.",
27771
- enumValues: [
27772
- "primary",
27773
- "secondary",
27774
- "success",
27775
- "warning",
27776
- "error",
27777
- "muted"
27778
- ],
27779
27897
  default: "primary"
27780
27898
  },
27781
27899
  strokeWidth: {
@@ -29063,8 +29181,7 @@ var patterns_registry_default = {
29063
29181
  },
29064
29182
  targetQuestionId: {
29065
29183
  types: [
29066
- "string",
29067
- "unknown"
29184
+ "string"
29068
29185
  ]
29069
29186
  }
29070
29187
  },
@@ -29130,8 +29247,7 @@ var patterns_registry_default = {
29130
29247
  },
29131
29248
  targetQuestionId: {
29132
29249
  types: [
29133
- "string",
29134
- "unknown"
29250
+ "string"
29135
29251
  ]
29136
29252
  }
29137
29253
  },
@@ -29201,8 +29317,7 @@ var patterns_registry_default = {
29201
29317
  },
29202
29318
  targetQuestionId: {
29203
29319
  types: [
29204
- "string",
29205
- "unknown"
29320
+ "string"
29206
29321
  ]
29207
29322
  }
29208
29323
  },
@@ -29304,7 +29419,8 @@ var patterns_registry_default = {
29304
29419
  types: [
29305
29420
  "object",
29306
29421
  "array"
29307
- ]
29422
+ ],
29423
+ cyclic: true
29308
29424
  }
29309
29425
  }
29310
29426
  },
@@ -30307,12 +30423,6 @@ var patterns_registry_default = {
30307
30423
  "string"
30308
30424
  ],
30309
30425
  description: "Size variant",
30310
- enumValues: [
30311
- "sm",
30312
- "md",
30313
- "lg",
30314
- "xl"
30315
- ],
30316
30426
  default: "md"
30317
30427
  },
30318
30428
  shape: {
@@ -30320,11 +30430,6 @@ var patterns_registry_default = {
30320
30430
  "string"
30321
30431
  ],
30322
30432
  description: "Shape variant",
30323
- enumValues: [
30324
- "circle",
30325
- "rounded",
30326
- "square"
30327
- ],
30328
30433
  default: "circle"
30329
30434
  },
30330
30435
  variant: {
@@ -30332,11 +30437,6 @@ var patterns_registry_default = {
30332
30437
  "string"
30333
30438
  ],
30334
30439
  description: "Visual variant",
30335
- enumValues: [
30336
- "primary",
30337
- "secondary",
30338
- "ghost"
30339
- ],
30340
30440
  default: "secondary"
30341
30441
  },
30342
30442
  onPress: {
@@ -32607,15 +32707,7 @@ var patterns_registry_default = {
32607
32707
  types: [
32608
32708
  "string"
32609
32709
  ],
32610
- description: "Semantic palette token or a raw CSS color value. Defaults to 'primary'.",
32611
- enumValues: [
32612
- "primary",
32613
- "secondary",
32614
- "success",
32615
- "warning",
32616
- "error",
32617
- "muted"
32618
- ]
32710
+ description: "Semantic palette token or a raw CSS color value. Defaults to 'primary'."
32619
32711
  },
32620
32712
  className: {
32621
32713
  types: [
@@ -32889,9 +32981,8 @@ var patterns_registry_default = {
32889
32981
  },
32890
32982
  guard: {
32891
32983
  types: [
32892
- "object"
32893
- ],
32894
- freeform: true
32984
+ "sexpr"
32985
+ ]
32895
32986
  },
32896
32987
  effects: {
32897
32988
  types: [
@@ -32913,9 +33004,8 @@ var patterns_registry_default = {
32913
33004
  ],
32914
33005
  items: {
32915
33006
  types: [
32916
- "object"
32917
- ],
32918
- freeform: true
33007
+ "sexpr"
33008
+ ]
32919
33009
  }
32920
33010
  }
32921
33011
  },
@@ -33261,9 +33351,8 @@ var patterns_registry_default = {
33261
33351
  },
33262
33352
  guard: {
33263
33353
  types: [
33264
- "object"
33265
- ],
33266
- freeform: true
33354
+ "sexpr"
33355
+ ]
33267
33356
  },
33268
33357
  effects: {
33269
33358
  types: [
@@ -33285,9 +33374,8 @@ var patterns_registry_default = {
33285
33374
  ],
33286
33375
  items: {
33287
33376
  types: [
33288
- "object"
33289
- ],
33290
- freeform: true
33377
+ "sexpr"
33378
+ ]
33291
33379
  }
33292
33380
  }
33293
33381
  },
@@ -33413,12 +33501,7 @@ var patterns_registry_default = {
33413
33501
  types: [
33414
33502
  "string"
33415
33503
  ],
33416
- description: "Position of the HUD",
33417
- enumValues: [
33418
- "top",
33419
- "bottom",
33420
- "corners"
33421
- ]
33504
+ description: "Position of the HUD"
33422
33505
  },
33423
33506
  stats: {
33424
33507
  types: [
@@ -33715,11 +33798,6 @@ var patterns_registry_default = {
33715
33798
  variant: {
33716
33799
  types: [
33717
33800
  "string"
33718
- ],
33719
- enumValues: [
33720
- "primary",
33721
- "secondary",
33722
- "ghost"
33723
33801
  ]
33724
33802
  },
33725
33803
  disabled: {
@@ -33773,11 +33851,6 @@ var patterns_registry_default = {
33773
33851
  variant: {
33774
33852
  types: [
33775
33853
  "string"
33776
- ],
33777
- enumValues: [
33778
- "primary",
33779
- "secondary",
33780
- "ghost"
33781
33854
  ]
33782
33855
  },
33783
33856
  disabled: {
@@ -33834,11 +33907,6 @@ var patterns_registry_default = {
33834
33907
  variant: {
33835
33908
  types: [
33836
33909
  "string"
33837
- ],
33838
- enumValues: [
33839
- "primary",
33840
- "secondary",
33841
- "ghost"
33842
33910
  ]
33843
33911
  },
33844
33912
  disabled: {
@@ -34208,12 +34276,6 @@ var patterns_registry_default = {
34208
34276
  "string"
34209
34277
  ],
34210
34278
  description: "Display format",
34211
- enumValues: [
34212
- "number",
34213
- "hearts",
34214
- "bar",
34215
- "text"
34216
- ],
34217
34279
  default: "number"
34218
34280
  },
34219
34281
  icon: {
@@ -34228,11 +34290,6 @@ var patterns_registry_default = {
34228
34290
  "string"
34229
34291
  ],
34230
34292
  description: "Size variant",
34231
- enumValues: [
34232
- "sm",
34233
- "md",
34234
- "lg"
34235
- ],
34236
34293
  default: "md"
34237
34294
  },
34238
34295
  variant: {
@@ -34240,13 +34297,6 @@ var patterns_registry_default = {
34240
34297
  "string"
34241
34298
  ],
34242
34299
  description: "Visual variant",
34243
- enumValues: [
34244
- "default",
34245
- "primary",
34246
- "success",
34247
- "warning",
34248
- "danger"
34249
- ],
34250
34300
  default: "default"
34251
34301
  },
34252
34302
  className: {
@@ -38996,11 +39046,6 @@ var patterns_registry_default = {
38996
39046
  format: {
38997
39047
  types: [
38998
39048
  "string"
38999
- ],
39000
- enumValues: [
39001
- "currency",
39002
- "percent",
39003
- "number"
39004
39049
  ]
39005
39050
  }
39006
39051
  },
@@ -40292,11 +40337,6 @@ var patterns_registry_default = {
40292
40337
  variant: {
40293
40338
  types: [
40294
40339
  "string"
40295
- ],
40296
- enumValues: [
40297
- "primary",
40298
- "secondary",
40299
- "ghost"
40300
40340
  ]
40301
40341
  }
40302
40342
  },
@@ -51170,7 +51210,8 @@ var patterns_registry_default = {
51170
51210
  types: [
51171
51211
  "object"
51172
51212
  ],
51173
- freeform: true
51213
+ freeform: true,
51214
+ controlValue: true
51174
51215
  }
51175
51216
  },
51176
51217
  parentRef: {
@@ -53782,7 +53823,8 @@ var patterns_registry_default = {
53782
53823
  types: [
53783
53824
  "object"
53784
53825
  ],
53785
- freeform: true
53826
+ freeform: true,
53827
+ controlValue: true
53786
53828
  }
53787
53829
  }
53788
53830
  }
@@ -56766,7 +56808,7 @@ var integrators_registry_default = {
56766
56808
  // src/patterns/component-mapping.json
56767
56809
  var component_mapping_default = {
56768
56810
  version: "1.0.0",
56769
- exportedAt: "2026-09-01T15:15:34.310Z",
56811
+ exportedAt: "2026-09-02T20:03:03.703Z",
56770
56812
  mappings: {
56771
56813
  "page-header": {
56772
56814
  component: "PageHeader",
@@ -58186,7 +58228,7 @@ var component_mapping_default = {
58186
58228
  // src/patterns/event-contracts.json
58187
58229
  var event_contracts_default = {
58188
58230
  version: "1.0.0",
58189
- exportedAt: "2026-09-01T15:15:34.310Z",
58231
+ exportedAt: "2026-09-02T20:03:03.703Z",
58190
58232
  contracts: {
58191
58233
  form: {
58192
58234
  emits: [
@@ -59979,7 +60021,11 @@ function buildRecommendationContext(options) {
59979
60021
  slot: options.slot,
59980
60022
  domainCategory: options.domainCategory,
59981
60023
  entityFieldTypes: fieldTypes,
59982
- hasEnumFields: fields.some((f) => f.type === "enum" || f.values && f.values.length > 0),
60024
+ // Excludes `type: 'union'`: its `values` carries tagged-union variant
60025
+ // NAMES or a by-name recursive back-reference, never a real enum
60026
+ // vocabulary — counting it here would recommend enum-oriented patterns
60027
+ // (filter-group/tabs/badge) for a struct union or recursive struct field.
60028
+ hasEnumFields: fields.some((f) => f.type === "enum" || f.type !== "union" && f.values && f.values.length > 0),
59983
60029
  hasDateFields: fields.some((f) => ["date", "datetime", "timestamp"].includes(f.type)),
59984
60030
  hasNumericFields: fields.some((f) => ["number", "integer", "float", "decimal", "currency"].includes(f.type)),
59985
60031
  hasRelationFields: fields.some((f) => f.type === "relation"),
@@ -60643,9 +60689,15 @@ function schemaToIR(schema, useCache = true) {
60643
60689
  required: field.required ?? false,
60644
60690
  // lolo string unions lower to `type:'string'` + a `values` sidecar
60645
60691
  // (FieldType::Enum is never emitted) — read values off any variant
60646
- // that carries them, not just `enum`.
60647
- values: "values" in field && field.values?.length ? field.values : void 0,
60648
- enumValues: "values" in field && field.values?.length ? field.values : void 0,
60692
+ // that carries them, not just `enum`. EXCLUDES `type:'union'`
60693
+ // deliberately: its `values` carries tagged-union variant NAMES or a
60694
+ // by-name recursive back-reference (`type MenuItem = { subMenu :
60695
+ // [MenuItem] }`), never legal literal values — treating either as
60696
+ // an enum vocabulary would let a downstream option-list render the
60697
+ // variant/alias NAME as if it were a selectable value (mirrors the
60698
+ // Rust-side skip in `orbital-core/src/type_compat.rs`).
60699
+ values: field.type !== "union" && "values" in field && field.values?.length ? field.values : void 0,
60700
+ enumValues: field.type !== "union" && "values" in field && field.values?.length ? field.values : void 0,
60649
60701
  relation: field.type === "relation" ? field.relation : void 0
60650
60702
  })),
60651
60703
  runtime: entityDef.persistence === "runtime",
@@ -63948,7 +64000,7 @@ function navigateTargetOf(node) {
63948
64000
  if (Array.isArray(target) && target.length >= 2) {
63949
64001
  const op = target[0];
63950
64002
  const first = target[1];
63951
- if ((op === "str/concat" || op === "concat") && typeof first === "string") return first;
64003
+ if (op === "str/concat" && typeof first === "string") return first;
63952
64004
  }
63953
64005
  return null;
63954
64006
  }
@@ -64252,6 +64304,6 @@ function mergeEntityFrame(current, orderedWrites) {
64252
64304
  return next;
64253
64305
  }
64254
64306
 
64255
- export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EVENT_CONTRACTS, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpectDeclarationSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, FileValueSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_REGISTRY, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RENDER_BINDING_MARKER, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, SExprSchema, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TraitUIBindingSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, assertNoUnsatisfiableEnum, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, containsEntityBinding, containsPayloadBinding, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveExpectations, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, entityAccessPolicies, entityAccessTable, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, expectedEntityName, extractPayloadFieldRef, findCompatiblePatterns, findPersonaInRoster, findService, fingerprintNode, formatRecommendationsForPrompt, gatherTensorLastDim, generatePatternDescription, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getComponentForPattern, getDefaultAnimationsForRole, getEmittedEvents, getEntity, getEntityCardinality, getInteractionModelForDomain, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, isContentMainWriter, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEmailValue, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isFileValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMainSlotRenderUi, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isRenderBindingMarker, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isTensorValue, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, isValueInputPattern, ledgerCurName, ledgerRename, ledgerResolveName, mapTensorLastDim, maskSecretConfigValues, mergeEntityFrame, mintId, navigate, navigateBack, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, recommendPatterns, reduceToOwners, ref, registry, rehydrateKnobDefs, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolveContentOwners, resolveDefaultViewer, resolvePageContentOwner, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, signatureToParamsSchema, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, traitDeclaresConfigForward, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
64307
+ export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EVENT_CONTRACTS, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpectDeclarationSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, FileValueSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_REGISTRY, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, PayloadTypeWhenSchema, REFERENCE_CONFIG_TYPES, RENDER_BINDING_MARKER, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, SExprSchema, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TraitUIBindingSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, assertNoUnsatisfiableEnum, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, containsEntityBinding, containsPayloadBinding, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveExpectations, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, entityAccessPolicies, entityAccessTable, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, expectedEntityName, extractPayloadFieldRef, findCompatiblePatterns, findPersonaInRoster, findService, fingerprintNode, formatRecommendationsForPrompt, gatherTensorLastDim, generatePatternDescription, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getComponentForPattern, getDefaultAnimationsForRole, getEmittedEvents, getEntity, getEntityCardinality, getInteractionModelForDomain, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, isContentMainWriter, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEmailValue, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isFileValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMainSlotRenderUi, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isRenderBindingMarker, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isTensorValue, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, isValueInputPattern, ledgerCurName, ledgerRename, ledgerResolveName, mapTensorLastDim, maskSecretConfigValues, mergeEntityFrame, mintId, navigate, navigateBack, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, recommendPatterns, reduceToOwners, ref, registry, rehydrateKnobDefs, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolveContentOwners, resolveDefaultViewer, resolvePageContentOwner, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, signatureToParamsSchema, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, traitDeclaresConfigForward, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
64256
64308
  //# sourceMappingURL=index.js.map
64257
64309
  //# sourceMappingURL=index.js.map