@almadar/core 10.91.0 → 10.93.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 (34) hide show
  1. package/dist/builders.d.ts +3 -3
  2. package/dist/builders.js +2 -1
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{effect-Bt8vKHwd.d.ts → effect-BnSE0gKt.d.ts} +26 -3
  5. package/dist/{entityAccess-BdDX85rM.d.ts → entityAccess-DtWseAgf.d.ts} +1 -1
  6. package/dist/factory/index.d.ts +4 -4
  7. package/dist/factory/index.js +402 -38
  8. package/dist/factory/index.js.map +1 -1
  9. package/dist/factory-runtime/index.d.ts +3 -3
  10. package/dist/factory-runtime/index.js +6 -2
  11. package/dist/factory-runtime/index.js.map +1 -1
  12. package/dist/{index-rOBf1Oag.d.ts → index-CWArRU6P.d.ts} +19 -10
  13. package/dist/index.d.ts +11 -72
  14. package/dist/index.js +597 -141
  15. package/dist/index.js.map +1 -1
  16. package/dist/mock/index.d.ts +4 -4
  17. package/dist/patterns/component-mapping.json +6 -1
  18. package/dist/patterns/event-contracts.json +1 -1
  19. package/dist/patterns/index.d.ts +1243 -85
  20. package/dist/patterns/index.js +547 -42
  21. package/dist/patterns/index.js.map +1 -1
  22. package/dist/patterns/integrators-registry.json +136 -1
  23. package/dist/patterns/patterns-registry.json +403 -39
  24. package/dist/patterns/registry.json +403 -39
  25. package/dist/patterns/services-registry.json +136 -1
  26. package/dist/{schema-ovDTDQz9.d.ts → schema-DFmFFcLs.d.ts} +25 -25
  27. package/dist/state-machine/index.js +19 -4
  28. package/dist/state-machine/index.js.map +1 -1
  29. package/dist/{trait-C3e3btfn.d.ts → trait-DSMzclmJ.d.ts} +10 -1
  30. package/dist/types/index.d.ts +5 -5
  31. package/dist/types/index.js +31 -2
  32. package/dist/types/index.js.map +1 -1
  33. package/dist/{types-rh0naR6C.d.ts → types-DzkFdgNJ.d.ts} +2 -2
  34. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1105,6 +1105,9 @@ function maskSecretConfigValues(config, values) {
1105
1105
  }
1106
1106
  return masked;
1107
1107
  }
1108
+ function canonicalizeUnboundTraitOverride(fieldType, value) {
1109
+ return fieldType === "trait" && value === "none" ? null : value;
1110
+ }
1108
1111
  function overrideDeclaredKnobs(declared, overrides) {
1109
1112
  const out = { ...declared };
1110
1113
  for (const key of Object.keys(overrides)) {
@@ -1114,7 +1117,7 @@ function overrideDeclaredKnobs(declared, overrides) {
1114
1117
  `overrideDeclaredKnobs: config override "${key}" is not a declared knob (ORB_O_CONFIG_UNKNOWN_KEY). Declared: ${Object.keys(declared).join(", ") || "(none)"}`
1115
1118
  );
1116
1119
  }
1117
- out[key] = { ...field, default: overrides[key] };
1120
+ out[key] = { ...field, default: canonicalizeUnboundTraitOverride(field.type, overrides[key]) };
1118
1121
  }
1119
1122
  return out;
1120
1123
  }
@@ -1138,7 +1141,8 @@ var ConfigFieldDeclarationSchema = z.object({
1138
1141
  synonyms: z.string().optional(),
1139
1142
  items: ConfigFieldItemsDeclarationSchema.optional(),
1140
1143
  properties: z.lazy(() => z.record(TraitEntityFieldSchema)).optional(),
1141
- forwardedFrom: z.string().optional()
1144
+ forwardedFrom: z.string().optional(),
1145
+ payloadFor: z.string().optional()
1142
1146
  });
1143
1147
  var DeclaredTraitConfigSchema = z.record(
1144
1148
  ConfigFieldDeclarationSchema
@@ -2580,7 +2584,7 @@ function getInteractionModelForDomain(domain) {
2580
2584
  // src/patterns/patterns-registry.json
2581
2585
  var patterns_registry_default = {
2582
2586
  version: "1.0.0",
2583
- exportedAt: "2026-09-12T07:27:39.835Z",
2587
+ exportedAt: "2026-09-16T03:44:41.117Z",
2584
2588
  patterns: {
2585
2589
  "entity-table": {
2586
2590
  type: "entity-table",
@@ -2589,6 +2593,7 @@ var patterns_registry_default = {
2589
2593
  tier: "organisms",
2590
2594
  family: "core",
2591
2595
  description: "Data table with columns and sorting",
2596
+ fieldsContract: "display",
2592
2597
  suggestedFor: [
2593
2598
  "data-dense views",
2594
2599
  "comparisons",
@@ -3057,6 +3062,48 @@ var patterns_registry_default = {
3057
3062
  "card-rows"
3058
3063
  ],
3059
3064
  default: "dense"
3065
+ },
3066
+ relationsData: {
3067
+ types: [
3068
+ "object"
3069
+ ],
3070
+ description: "Relation display data: { fieldName: [{value, label}] } \u2014 injected server-side by the runtime (relation-option injection) or bound by compiled codegen; resolves stored foreign ids to display names for a column whose field is relation-typed. Same contract DetailPanel takes.",
3071
+ mapValue: {
3072
+ types: [
3073
+ "array"
3074
+ ],
3075
+ items: {
3076
+ types: [
3077
+ "object"
3078
+ ],
3079
+ properties: {
3080
+ value: {
3081
+ types: [
3082
+ "string"
3083
+ ]
3084
+ },
3085
+ label: {
3086
+ types: [
3087
+ "string"
3088
+ ]
3089
+ },
3090
+ description: {
3091
+ types: [
3092
+ "string"
3093
+ ]
3094
+ },
3095
+ disabled: {
3096
+ types: [
3097
+ "boolean"
3098
+ ]
3099
+ }
3100
+ },
3101
+ required: [
3102
+ "value",
3103
+ "label"
3104
+ ]
3105
+ }
3106
+ }
3060
3107
  }
3061
3108
  }
3062
3109
  },
@@ -3287,7 +3334,6 @@ var patterns_registry_default = {
3287
3334
  "function"
3288
3335
  ],
3289
3336
  description: "Render function for each item. In .lolo: renderItem: (fn item <Component \u2026={@item.field}/>), binding per-item fields via @item.field.",
3290
- kind: "callback",
3291
3337
  callbackArgs: [
3292
3338
  {
3293
3339
  name: "item",
@@ -11116,6 +11162,7 @@ var patterns_registry_default = {
11116
11162
  textarea: {
11117
11163
  type: "textarea",
11118
11164
  category: "component",
11165
+ sourceFile: "components/core/atoms/Textarea.tsx",
11119
11166
  tier: "atoms",
11120
11167
  family: "core",
11121
11168
  description: "Multi-line text input",
@@ -11148,7 +11195,7 @@ var patterns_registry_default = {
11148
11195
  types: [
11149
11196
  "string"
11150
11197
  ],
11151
- description: "Declarative event name for trait dispatch",
11198
+ description: "Declarative event: fires on \u2318/Ctrl+Enter with `{ value }`.",
11152
11199
  kind: "event"
11153
11200
  },
11154
11201
  error: {
@@ -12333,6 +12380,7 @@ var patterns_registry_default = {
12333
12380
  "repeatable-form-section": {
12334
12381
  type: "repeatable-form-section",
12335
12382
  category: "form",
12383
+ sourceFile: "components/core/molecules/RepeatableFormSection.tsx",
12336
12384
  tier: "molecules",
12337
12385
  family: "core",
12338
12386
  description: "RepeatableFormSection \u2014 a form section that repeats a fixed group of fields, letting the user add or remove entries.",
@@ -12396,7 +12444,6 @@ var patterns_registry_default = {
12396
12444
  ],
12397
12445
  description: "Render function for each item. In .lolo: renderItem: (fn item <Component \u2026={@item.field}/>), binding per-item fields via @item.field.",
12398
12446
  required: true,
12399
- kind: "callback",
12400
12447
  callbackArgs: [
12401
12448
  {
12402
12449
  name: "item",
@@ -19992,6 +20039,7 @@ var patterns_registry_default = {
19992
20039
  "state-machine-view": {
19993
20040
  type: "state-machine-view",
19994
20041
  category: "display",
20042
+ sourceFile: "components/core/organisms/StateMachineView.tsx",
19995
20043
  tier: "organisms",
19996
20044
  family: "core",
19997
20045
  description: "StateMachineView component",
@@ -20059,7 +20107,6 @@ var patterns_registry_default = {
20059
20107
  "function"
20060
20108
  ],
20061
20109
  description: "Custom state node renderer \u2014 when provided, replaces the default circle nodes",
20062
- kind: "callback",
20063
20110
  callbackArgs: [
20064
20111
  {
20065
20112
  name: "state",
@@ -20443,6 +20490,7 @@ var patterns_registry_default = {
20443
20490
  "calendar-grid": {
20444
20491
  type: "calendar-grid",
20445
20492
  category: "display",
20493
+ sourceFile: "components/core/molecules/CalendarGrid.tsx",
20446
20494
  tier: "molecules",
20447
20495
  family: "core",
20448
20496
  description: "CalendarGrid component",
@@ -20580,7 +20628,8 @@ var patterns_registry_default = {
20580
20628
  "object"
20581
20629
  ],
20582
20630
  description: "Additional payload for long-press events",
20583
- payloadFor: "longPressEvent"
20631
+ payloadFor: "longPressEvent",
20632
+ eventPayloadBrand: true
20584
20633
  },
20585
20634
  swipeLeftEvent: {
20586
20635
  types: [
@@ -20642,7 +20691,6 @@ var patterns_registry_default = {
20642
20691
  "function"
20643
20692
  ],
20644
20693
  description: "Render function for one event chip's content. Receives the row and its index in the materialised events array. The grid keeps ownership of placement, colour and the click target; this replaces only what is drawn INSIDE the chip, so a host can show a time + instructor + badge stack instead of the default single label.",
20645
- kind: "callback",
20646
20694
  callbackArgs: [
20647
20695
  {
20648
20696
  name: "item",
@@ -20660,7 +20708,6 @@ var patterns_registry_default = {
20660
20708
  "function"
20661
20709
  ],
20662
20710
  description: 'Per-event render function (schema-level alias for the children render prop). In `.orb`: `["fn", "item", { pattern tree with @item.field bindings }]`. In `.lolo`: `renderItem: (fn item <Component \u2026={@item.field}/>)` \u2014 the same contract `data-list` / `data-grid` / `carousel` already use.',
20663
- kind: "callback",
20664
20711
  callbackArgs: [
20665
20712
  {
20666
20713
  name: "item",
@@ -21206,6 +21253,7 @@ var patterns_registry_default = {
21206
21253
  "progress-dots": {
21207
21254
  type: "progress-dots",
21208
21255
  category: "component",
21256
+ sourceFile: "components/core/molecules/ProgressDots.tsx",
21209
21257
  tier: "molecules",
21210
21258
  family: "core",
21211
21259
  description: "ProgressDots component",
@@ -21235,7 +21283,6 @@ var patterns_registry_default = {
21235
21283
  "function"
21236
21284
  ],
21237
21285
  description: "Custom state resolver per dot index",
21238
- kind: "callback",
21239
21286
  callbackArgs: [
21240
21287
  {
21241
21288
  name: "index",
@@ -21285,6 +21332,7 @@ var patterns_registry_default = {
21285
21332
  family: "core",
21286
21333
  description: "DataGrid \u2014 structured records grid rendering rows over configurable columns, with sort, select, and drag-reorder.",
21287
21334
  capabilities: "admin table, records grid, user list, CRUD list, manage-records view, spreadsheet-style data grid, sortable columns",
21335
+ fieldsContract: "display",
21288
21336
  suggestedFor: [
21289
21337
  "data",
21290
21338
  "grid",
@@ -21691,7 +21739,6 @@ var patterns_registry_default = {
21691
21739
  "function"
21692
21740
  ],
21693
21741
  description: "Render prop for custom per-card content. When provided, `fields` are ignored; `itemActions` render as a footer beneath the custom content.",
21694
- kind: "callback",
21695
21742
  callbackArgs: [
21696
21743
  {
21697
21744
  name: "item",
@@ -21709,7 +21756,6 @@ var patterns_registry_default = {
21709
21756
  "function"
21710
21757
  ],
21711
21758
  description: 'Per-item render function (schema-level alias for children render prop). In .orb schemas: ["fn", "item", { pattern tree with @item.field bindings }] The compiler converts this to the children render prop. In .lolo, author the per-item renderer as renderItem: (fn item <Component \u2026={@item.field}/>), binding per-item fields via @item.field.',
21712
- kind: "callback",
21713
21759
  callbackArgs: [
21714
21760
  {
21715
21761
  name: "item",
@@ -21742,6 +21788,48 @@ var patterns_registry_default = {
21742
21788
  "card-rows"
21743
21789
  ],
21744
21790
  default: "dense"
21791
+ },
21792
+ relationsData: {
21793
+ types: [
21794
+ "object"
21795
+ ],
21796
+ description: "Relation display data: { fieldName: [{value, label}] } \u2014 injected server-side by the runtime (relation-option injection) or bound by compiled codegen; resolves stored foreign ids to display names for a field whose type is relation. Same contract DetailPanel takes.",
21797
+ mapValue: {
21798
+ types: [
21799
+ "array"
21800
+ ],
21801
+ items: {
21802
+ types: [
21803
+ "object"
21804
+ ],
21805
+ properties: {
21806
+ value: {
21807
+ types: [
21808
+ "string"
21809
+ ]
21810
+ },
21811
+ label: {
21812
+ types: [
21813
+ "string"
21814
+ ]
21815
+ },
21816
+ description: {
21817
+ types: [
21818
+ "string"
21819
+ ]
21820
+ },
21821
+ disabled: {
21822
+ types: [
21823
+ "boolean"
21824
+ ]
21825
+ }
21826
+ },
21827
+ required: [
21828
+ "value",
21829
+ "label"
21830
+ ]
21831
+ }
21832
+ }
21745
21833
  }
21746
21834
  }
21747
21835
  },
@@ -21752,6 +21840,7 @@ var patterns_registry_default = {
21752
21840
  tier: "molecules",
21753
21841
  family: "core",
21754
21842
  description: "DataList component",
21843
+ fieldsContract: "display",
21755
21844
  suggestedFor: [
21756
21845
  "data",
21757
21846
  "list",
@@ -22235,7 +22324,6 @@ var patterns_registry_default = {
22235
22324
  "function"
22236
22325
  ],
22237
22326
  description: "Render prop for custom per-item content. When provided, `fields` and `itemActions` are ignored.",
22238
- kind: "callback",
22239
22327
  callbackArgs: [
22240
22328
  {
22241
22329
  name: "item",
@@ -22253,7 +22341,6 @@ var patterns_registry_default = {
22253
22341
  "function"
22254
22342
  ],
22255
22343
  description: 'Per-item render function (schema-level alias for children render prop). In .orb schemas: ["fn", "item", { pattern tree with @item.field bindings }] The compiler converts this to the children render prop. In .lolo, author the per-item renderer as renderItem: (fn item <Component \u2026={@item.field}/>), binding per-item fields via @item.field.',
22256
- kind: "callback",
22257
22344
  callbackArgs: [
22258
22345
  {
22259
22346
  name: "item",
@@ -22302,6 +22389,48 @@ var patterns_registry_default = {
22302
22389
  "card-rows"
22303
22390
  ],
22304
22391
  default: "dense"
22392
+ },
22393
+ relationsData: {
22394
+ types: [
22395
+ "object"
22396
+ ],
22397
+ description: "Relation display data: { fieldName: [{value, label}] } \u2014 injected server-side by the runtime (relation-option injection) or bound by compiled codegen; resolves stored foreign ids to display names for a field whose type is relation. Same contract DetailPanel takes.",
22398
+ mapValue: {
22399
+ types: [
22400
+ "array"
22401
+ ],
22402
+ items: {
22403
+ types: [
22404
+ "object"
22405
+ ],
22406
+ properties: {
22407
+ value: {
22408
+ types: [
22409
+ "string"
22410
+ ]
22411
+ },
22412
+ label: {
22413
+ types: [
22414
+ "string"
22415
+ ]
22416
+ },
22417
+ description: {
22418
+ types: [
22419
+ "string"
22420
+ ]
22421
+ },
22422
+ disabled: {
22423
+ types: [
22424
+ "boolean"
22425
+ ]
22426
+ }
22427
+ },
22428
+ required: [
22429
+ "value",
22430
+ "label"
22431
+ ]
22432
+ }
22433
+ }
22305
22434
  }
22306
22435
  }
22307
22436
  },
@@ -22612,6 +22741,7 @@ var patterns_registry_default = {
22612
22741
  "range-slider": {
22613
22742
  type: "range-slider",
22614
22743
  category: "component",
22744
+ sourceFile: "components/core/atoms/RangeSlider.tsx",
22615
22745
  tier: "atoms",
22616
22746
  family: "core",
22617
22747
  description: "RangeSlider component",
@@ -22714,7 +22844,8 @@ var patterns_registry_default = {
22714
22844
  "object"
22715
22845
  ],
22716
22846
  description: "Payload to include with the action event",
22717
- payloadFor: "action"
22847
+ payloadFor: "action",
22848
+ eventPayloadBrand: true
22718
22849
  },
22719
22850
  onChange: {
22720
22851
  types: [
@@ -22734,7 +22865,6 @@ var patterns_registry_default = {
22734
22865
  "function"
22735
22866
  ],
22736
22867
  description: "Format function for tooltip display",
22737
- kind: "callback",
22738
22868
  callbackArgs: [
22739
22869
  {
22740
22870
  name: "value",
@@ -23584,7 +23714,6 @@ var patterns_registry_default = {
23584
23714
  "function"
23585
23715
  ],
23586
23716
  description: "Render function for each slide. In .lolo: renderItem: (fn item <Component \u2026={@item.field}/>), binding per-item fields via @item.field.",
23587
- kind: "callback",
23588
23717
  callbackArgs: [
23589
23718
  {
23590
23719
  name: "item",
@@ -23624,7 +23753,6 @@ var patterns_registry_default = {
23624
23753
  "function"
23625
23754
  ],
23626
23755
  description: "Children-as-function fallback for renderItem (compiler compatibility)",
23627
- kind: "callback",
23628
23756
  callbackArgs: [
23629
23757
  {
23630
23758
  name: "item",
@@ -23782,6 +23910,7 @@ var patterns_registry_default = {
23782
23910
  "sortable-list": {
23783
23911
  type: "sortable-list",
23784
23912
  category: "display",
23913
+ sourceFile: "components/core/molecules/SortableList.tsx",
23785
23914
  tier: "molecules",
23786
23915
  family: "core",
23787
23916
  description: "SortableList \u2014 a drag-and-drop reorderable list of items.",
@@ -23809,7 +23938,6 @@ var patterns_registry_default = {
23809
23938
  ],
23810
23939
  description: "Render function for each item. In .lolo: renderItem: (fn item <Component \u2026={@item.field}/>), binding per-item fields via @item.field.",
23811
23940
  required: true,
23812
- kind: "callback",
23813
23941
  callbackArgs: [
23814
23942
  {
23815
23943
  name: "item",
@@ -23853,7 +23981,8 @@ var patterns_registry_default = {
23853
23981
  "object"
23854
23982
  ],
23855
23983
  description: "reorderPayload prop",
23856
- payloadFor: "reorderEvent"
23984
+ payloadFor: "reorderEvent",
23985
+ eventPayloadBrand: true
23857
23986
  },
23858
23987
  dragHandlePosition: {
23859
23988
  types: [
@@ -33337,6 +33466,7 @@ var patterns_registry_default = {
33337
33466
  "doc-search": {
33338
33467
  type: "doc-search",
33339
33468
  category: "filter",
33469
+ sourceFile: "components/core/molecules/DocSearch.tsx",
33340
33470
  tier: "molecules",
33341
33471
  family: "core",
33342
33472
  description: "DocSearch component",
@@ -33358,7 +33488,6 @@ var patterns_registry_default = {
33358
33488
  "function"
33359
33489
  ],
33360
33490
  description: "Callback invoked with the search query, returns results",
33361
- kind: "callback",
33362
33491
  callbackArgs: [
33363
33492
  {
33364
33493
  name: "query",
@@ -39547,6 +39676,7 @@ var patterns_registry_default = {
39547
39676
  family: "core",
39548
39677
  description: "TableView \u2014 sortable, selectable data table rendering rows over configurable columns, with inline row actions and grouping.",
39549
39678
  capabilities: "admin console table, records list, CRUD data table, user list, manage-users grid, sortable columns, row selection with bulk actions, grouped list view",
39679
+ fieldsContract: "display",
39550
39680
  suggestedFor: [
39551
39681
  "table",
39552
39682
  "view",
@@ -40003,7 +40133,6 @@ var patterns_registry_default = {
40003
40133
  "function"
40004
40134
  ],
40005
40135
  description: "Custom per-row render. When provided, the whole row content is delegated to this function (columns are ignored for the body; the header still renders). Mirrors DataList's children render prop.",
40006
- kind: "callback",
40007
40136
  callbackArgs: [
40008
40137
  {
40009
40138
  name: "item",
@@ -40021,7 +40150,6 @@ var patterns_registry_default = {
40021
40150
  "function"
40022
40151
  ],
40023
40152
  description: 'Per-row render function (schema alias). In .orb: ["fn","item",{...}]. The compiler converts this to the children render prop. In .lolo, author the per-row renderer as renderItem: (fn item <Component \u2026={@item.field}/>), binding per-item fields via @item.field.',
40024
- kind: "callback",
40025
40153
  callbackArgs: [
40026
40154
  {
40027
40155
  name: "item",
@@ -40047,6 +40175,48 @@ var patterns_registry_default = {
40047
40175
  "bordered"
40048
40176
  ],
40049
40177
  default: "dense"
40178
+ },
40179
+ relationsData: {
40180
+ types: [
40181
+ "object"
40182
+ ],
40183
+ description: "Relation display data: { fieldName: [{value, label}] } \u2014 injected server-side by the runtime (relation-option injection) or bound by compiled codegen; resolves stored foreign ids to display names for a column whose field is relation-typed. Same contract DetailPanel takes.",
40184
+ mapValue: {
40185
+ types: [
40186
+ "array"
40187
+ ],
40188
+ items: {
40189
+ types: [
40190
+ "object"
40191
+ ],
40192
+ properties: {
40193
+ value: {
40194
+ types: [
40195
+ "string"
40196
+ ]
40197
+ },
40198
+ label: {
40199
+ types: [
40200
+ "string"
40201
+ ]
40202
+ },
40203
+ description: {
40204
+ types: [
40205
+ "string"
40206
+ ]
40207
+ },
40208
+ disabled: {
40209
+ types: [
40210
+ "boolean"
40211
+ ]
40212
+ }
40213
+ },
40214
+ required: [
40215
+ "value",
40216
+ "label"
40217
+ ]
40218
+ }
40219
+ }
40050
40220
  }
40051
40221
  }
40052
40222
  },
@@ -40628,6 +40798,7 @@ var patterns_registry_default = {
40628
40798
  "code-runner-panel": {
40629
40799
  type: "code-runner-panel",
40630
40800
  category: "display",
40801
+ sourceFile: "components/core/organisms/CodeRunnerPanel.tsx",
40631
40802
  tier: "organisms",
40632
40803
  family: "core",
40633
40804
  description: "CodeRunnerPanel component",
@@ -40665,7 +40836,6 @@ var patterns_registry_default = {
40665
40836
  "function"
40666
40837
  ],
40667
40838
  description: "Simulate executing the code. Omit to render a read-only block. Real execution is a separate future track \u2014 this callback supplies deterministic simulated output for UI feedback.",
40668
- kind: "callback",
40669
40839
  callbackArgs: [
40670
40840
  {
40671
40841
  name: "code",
@@ -40692,6 +40862,7 @@ var patterns_registry_default = {
40692
40862
  "segment-renderer": {
40693
40863
  type: "segment-renderer",
40694
40864
  category: "display",
40865
+ sourceFile: "components/core/organisms/SegmentRenderer.tsx",
40695
40866
  tier: "organisms",
40696
40867
  family: "core",
40697
40868
  description: "SegmentRenderer component",
@@ -40783,7 +40954,6 @@ var patterns_registry_default = {
40783
40954
  "function"
40784
40955
  ],
40785
40956
  description: "Simulate executing runnable code blocks. Omit to render runnable blocks as read-only. Real execution is a future track.",
40786
- kind: "callback",
40787
40957
  callbackArgs: [
40788
40958
  {
40789
40959
  name: "code",
@@ -40801,7 +40971,6 @@ var patterns_registry_default = {
40801
40971
  "function"
40802
40972
  ],
40803
40973
  description: "Optional render slot for `visualization` segment types. When not provided, visualization segments are silently skipped. Callers can wire this to any custom component or orbital generator.",
40804
- kind: "callback",
40805
40974
  callbackArgs: [
40806
40975
  {
40807
40976
  name: "type",
@@ -41599,22 +41768,26 @@ var patterns_registry_default = {
41599
41768
  types: [
41600
41769
  "object"
41601
41770
  ],
41602
- description: "Maps a keydown `e.code` \u2192 the board's SEMANTIC event (device-agnostic input).",
41771
+ description: "Maps a keydown `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
41772
+ kind: "event-map",
41603
41773
  mapValue: {
41604
41774
  types: [
41605
41775
  "string"
41606
- ]
41776
+ ],
41777
+ kind: "event"
41607
41778
  }
41608
41779
  },
41609
41780
  keyUpMap: {
41610
41781
  types: [
41611
41782
  "object"
41612
41783
  ],
41613
- description: "Maps a keyup `e.code` \u2192 the board's SEMANTIC event.",
41784
+ description: "Maps a keyup `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
41785
+ kind: "event-map",
41614
41786
  mapValue: {
41615
41787
  types: [
41616
41788
  "string"
41617
- ]
41789
+ ],
41790
+ kind: "event"
41618
41791
  }
41619
41792
  },
41620
41793
  editable: {
@@ -42075,10 +42248,12 @@ var patterns_registry_default = {
42075
42248
  "object"
42076
42249
  ],
42077
42250
  description: 'Per-direction PRESS \u2192 the board\'s SEMANTIC event (kind="dpad"), e.g. `{ left: "LEFT", right: "RIGHT", up: "JUMP" }`. Lets the d-pad emit the SAME intent events as the keyboard so the FSM stays device-agnostic.',
42251
+ kind: "event-map",
42078
42252
  mapValue: {
42079
42253
  types: [
42080
42254
  "string"
42081
- ]
42255
+ ],
42256
+ kind: "event"
42082
42257
  }
42083
42258
  },
42084
42259
  directionReleaseEvents: {
@@ -42086,10 +42261,12 @@ var patterns_registry_default = {
42086
42261
  "object"
42087
42262
  ],
42088
42263
  description: 'Per-direction RELEASE \u2192 semantic event, e.g. `{ left: "STOP", right: "STOP" }`. Omit a direction to ignore its release.',
42264
+ kind: "event-map",
42089
42265
  mapValue: {
42090
42266
  types: [
42091
42267
  "string"
42092
- ]
42268
+ ],
42269
+ kind: "event"
42093
42270
  }
42094
42271
  },
42095
42272
  directionAssets: {
@@ -46038,6 +46215,7 @@ var patterns_registry_default = {
46038
46215
  "math-canvas": {
46039
46216
  type: "math-canvas",
46040
46217
  category: "learning",
46218
+ sourceFile: "components/learning/molecules/MathCanvas.tsx",
46041
46219
  tier: "molecules",
46042
46220
  family: "learning",
46043
46221
  description: "MathCanvas component",
@@ -47068,22 +47246,26 @@ var patterns_registry_default = {
47068
47246
  types: [
47069
47247
  "object"
47070
47248
  ],
47071
- description: "Maps a keydown `e.code` \u2192 the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}` \u2014 same contract as the game canvas keyMap.",
47249
+ description: "Maps a keydown `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}` \u2014 same contract as the game canvas keyMap; keystrokes inside inputs/textareas never route.",
47250
+ kind: "event-map",
47072
47251
  mapValue: {
47073
47252
  types: [
47074
47253
  "string"
47075
- ]
47254
+ ],
47255
+ kind: "event"
47076
47256
  }
47077
47257
  },
47078
47258
  keyUpMap: {
47079
47259
  types: [
47080
47260
  "object"
47081
47261
  ],
47082
- description: "Maps a keyup `e.code` \u2192 the board's SEMANTIC event.",
47262
+ description: "Maps a keyup `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
47263
+ kind: "event-map",
47083
47264
  mapValue: {
47084
47265
  types: [
47085
47266
  "string"
47086
- ]
47267
+ ],
47268
+ kind: "event"
47087
47269
  }
47088
47270
  },
47089
47271
  isLoading: {
@@ -52832,22 +53014,26 @@ var patterns_registry_default = {
52832
53014
  types: [
52833
53015
  "object"
52834
53016
  ],
52835
- description: "keyMap prop",
53017
+ description: "Maps a keydown `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
53018
+ kind: "event-map",
52836
53019
  mapValue: {
52837
53020
  types: [
52838
53021
  "string"
52839
- ]
53022
+ ],
53023
+ kind: "event"
52840
53024
  }
52841
53025
  },
52842
53026
  keyUpMap: {
52843
53027
  types: [
52844
53028
  "object"
52845
53029
  ],
52846
- description: "keyUpMap prop",
53030
+ description: "Maps a keyup `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
53031
+ kind: "event-map",
52847
53032
  mapValue: {
52848
53033
  types: [
52849
53034
  "string"
52850
- ]
53035
+ ],
53036
+ kind: "event"
52851
53037
  }
52852
53038
  },
52853
53039
  editable: {
@@ -56912,6 +57098,188 @@ var patterns_registry_default = {
56912
57098
  }
56913
57099
  },
56914
57100
  drawable: true
57101
+ },
57102
+ gantt: {
57103
+ type: "gantt",
57104
+ category: "component",
57105
+ sourceFile: "components/core/molecules/Gantt.tsx",
57106
+ tier: "molecules",
57107
+ family: "core",
57108
+ description: "Gantt \u2014 view-only task schedule rendering rows as bars on a day axis.",
57109
+ capabilities: "gantt chart, project timeline, schedule view, task bars, dependency arrows, roadmap, milestone plan",
57110
+ fieldsContract: "display",
57111
+ suggestedFor: [
57112
+ "gantt"
57113
+ ],
57114
+ typicalSize: "medium",
57115
+ propsSchema: {
57116
+ tasks: {
57117
+ types: [
57118
+ "object",
57119
+ "array"
57120
+ ],
57121
+ description: 'Schema entity data \u2014 the task rows to place on the axis. pattern-sync tags it `kind:"entity", cardinality:"collection"` so consumers bind the domain entity without name-matching the prop.',
57122
+ kind: "entity",
57123
+ cardinality: "collection",
57124
+ default: []
57125
+ },
57126
+ links: {
57127
+ types: [
57128
+ "array"
57129
+ ],
57130
+ description: "Dependency arrows between task ids",
57131
+ items: {
57132
+ types: [
57133
+ "object"
57134
+ ],
57135
+ properties: {
57136
+ from: {
57137
+ types: [
57138
+ "string"
57139
+ ]
57140
+ },
57141
+ to: {
57142
+ types: [
57143
+ "string"
57144
+ ]
57145
+ }
57146
+ },
57147
+ required: [
57148
+ "from",
57149
+ "to"
57150
+ ]
57151
+ },
57152
+ default: []
57153
+ },
57154
+ titleField: {
57155
+ types: [
57156
+ "string"
57157
+ ],
57158
+ description: "Row field holding the bar label. Defaults to `title`.",
57159
+ default: "title"
57160
+ },
57161
+ startField: {
57162
+ types: [
57163
+ "string"
57164
+ ],
57165
+ description: "Row field holding the start timestamp (ISO or epoch). Defaults to `start`.",
57166
+ default: "start"
57167
+ },
57168
+ endField: {
57169
+ types: [
57170
+ "string"
57171
+ ],
57172
+ description: "Row field holding the end timestamp (ISO or epoch). Defaults to `end`. When absent, `durationField` (days) is used instead.",
57173
+ default: "end"
57174
+ },
57175
+ durationField: {
57176
+ types: [
57177
+ "string"
57178
+ ],
57179
+ description: "Row field holding the task length in days, used when the row has no end."
57180
+ },
57181
+ statusField: {
57182
+ types: [
57183
+ "string"
57184
+ ],
57185
+ description: "Row field holding the bar status (drives bar colour). Defaults to `status`.",
57186
+ default: "status"
57187
+ },
57188
+ groupField: {
57189
+ types: [
57190
+ "string"
57191
+ ],
57192
+ description: "Row field rows are grouped under header rows by. Empty (default) = flat list.",
57193
+ default: ""
57194
+ },
57195
+ rangeStart: {
57196
+ types: [
57197
+ "string",
57198
+ "date"
57199
+ ],
57200
+ description: "First visible day (ISO or Date). Defaults to 2 days before the earliest task."
57201
+ },
57202
+ rangeEnd: {
57203
+ types: [
57204
+ "string",
57205
+ "date"
57206
+ ],
57207
+ description: "Last visible day (ISO or Date). Defaults to 2 days after the latest task end."
57208
+ },
57209
+ showToday: {
57210
+ types: [
57211
+ "boolean"
57212
+ ],
57213
+ description: "Paint the today marker line when today falls inside the range (default true).",
57214
+ default: true
57215
+ },
57216
+ dayWidth: {
57217
+ types: [
57218
+ "number"
57219
+ ],
57220
+ description: "Pixels per day on the axis (default 28)",
57221
+ default: 28
57222
+ },
57223
+ barClickEvent: {
57224
+ types: [
57225
+ "string"
57226
+ ],
57227
+ description: "Event emitted when a bar is clicked: UI:{barClickEvent} with { id }",
57228
+ kind: "event-ref",
57229
+ emitPayloadSchema: [
57230
+ {
57231
+ name: "id",
57232
+ type: "string",
57233
+ required: true
57234
+ }
57235
+ ]
57236
+ },
57237
+ className: {
57238
+ types: [
57239
+ "string"
57240
+ ],
57241
+ description: "Additional CSS classes"
57242
+ },
57243
+ isLoading: {
57244
+ types: [
57245
+ "boolean"
57246
+ ],
57247
+ description: "Loading state",
57248
+ default: false
57249
+ },
57250
+ error: {
57251
+ types: [
57252
+ "object"
57253
+ ],
57254
+ description: "Error state",
57255
+ properties: {
57256
+ message: {
57257
+ types: [
57258
+ "string"
57259
+ ]
57260
+ },
57261
+ name: {
57262
+ types: [
57263
+ "string"
57264
+ ]
57265
+ },
57266
+ code: {
57267
+ types: [
57268
+ "string"
57269
+ ]
57270
+ },
57271
+ stack: {
57272
+ types: [
57273
+ "string"
57274
+ ]
57275
+ }
57276
+ },
57277
+ propertyRequired: [
57278
+ "message"
57279
+ ],
57280
+ default: null
57281
+ }
57282
+ }
56915
57283
  }
56916
57284
  },
56917
57285
  categories: [
@@ -56937,7 +57305,7 @@ var patterns_registry_default = {
56937
57305
  // src/patterns/integrators-registry.json
56938
57306
  var integrators_registry_default = {
56939
57307
  version: "1.0.0",
56940
- exportedAt: "2026-09-12T12:14:53.173Z",
57308
+ exportedAt: "2026-09-12T17:27:32.966Z",
56941
57309
  integrators: {
56942
57310
  github: {
56943
57311
  name: "github",
@@ -60725,6 +61093,141 @@ var integrators_registry_default = {
60725
61093
  }
60726
61094
  }
60727
61095
  },
61096
+ {
61097
+ name: "buildLayers",
61098
+ description: "Build per-part cutout layer images (name, box, z-order, pivot) from a source image and rig.",
61099
+ params: [
61100
+ {
61101
+ name: "imagePath",
61102
+ type: "string",
61103
+ required: true,
61104
+ description: "Path to the source image."
61105
+ },
61106
+ {
61107
+ name: "rig",
61108
+ type: "object",
61109
+ required: true,
61110
+ description: "The rig definition (parts, boxes, pivots, \u2026) as JSON."
61111
+ },
61112
+ {
61113
+ name: "outDir",
61114
+ type: "string",
61115
+ required: true,
61116
+ description: "Output directory for the layer images."
61117
+ }
61118
+ ],
61119
+ responseShape: {
61120
+ layers: {
61121
+ type: "array",
61122
+ items: {
61123
+ type: "object",
61124
+ properties: {
61125
+ name: {
61126
+ type: "string",
61127
+ required: true
61128
+ },
61129
+ path: {
61130
+ type: "string",
61131
+ required: true
61132
+ },
61133
+ x: {
61134
+ type: "number",
61135
+ required: true
61136
+ },
61137
+ y: {
61138
+ type: "number",
61139
+ required: true
61140
+ },
61141
+ w: {
61142
+ type: "number",
61143
+ required: true
61144
+ },
61145
+ h: {
61146
+ type: "number",
61147
+ required: true
61148
+ },
61149
+ z: {
61150
+ type: "number",
61151
+ required: true
61152
+ },
61153
+ pivot: {
61154
+ type: "[number, number]",
61155
+ required: true
61156
+ },
61157
+ isRest: {
61158
+ type: "boolean",
61159
+ required: true
61160
+ }
61161
+ }
61162
+ }
61163
+ }
61164
+ }
61165
+ },
61166
+ {
61167
+ name: "pose",
61168
+ description: "Sample a pose/animation preset into per-frame, per-part transforms for a rig.",
61169
+ params: [
61170
+ {
61171
+ name: "imagePath",
61172
+ type: "string",
61173
+ required: true,
61174
+ description: "Path to the source image."
61175
+ },
61176
+ {
61177
+ name: "rig",
61178
+ type: "object",
61179
+ required: true,
61180
+ description: "The rig definition (parts, boxes, pivots, \u2026) as JSON."
61181
+ },
61182
+ {
61183
+ name: "roles",
61184
+ type: "object",
61185
+ required: true,
61186
+ description: "Map of part name to preset bone role.",
61187
+ mapValue: {
61188
+ type: "string"
61189
+ }
61190
+ },
61191
+ {
61192
+ name: "preset",
61193
+ type: "string",
61194
+ required: false,
61195
+ description: "Animation preset name."
61196
+ },
61197
+ {
61198
+ name: "overrides",
61199
+ type: "object",
61200
+ required: false,
61201
+ description: "Per-part motion overrides applied over the preset."
61202
+ }
61203
+ ],
61204
+ responseShape: {
61205
+ fps: "number",
61206
+ frames: {
61207
+ type: "array",
61208
+ items: {
61209
+ type: "object",
61210
+ mapValue: {
61211
+ type: "object",
61212
+ properties: {
61213
+ angle: {
61214
+ type: "number",
61215
+ required: true
61216
+ },
61217
+ bx: {
61218
+ type: "number",
61219
+ required: true
61220
+ },
61221
+ by: {
61222
+ type: "number",
61223
+ required: true
61224
+ }
61225
+ }
61226
+ }
61227
+ }
61228
+ }
61229
+ }
61230
+ },
60728
61231
  {
60729
61232
  name: "generate",
60730
61233
  description: "Generate one image on the local image server (text-to-image, or a Kontext edit conditioned on `sourcePath`).",
@@ -60802,7 +61305,7 @@ var integrators_registry_default = {
60802
61305
  // src/patterns/component-mapping.json
60803
61306
  var component_mapping_default = {
60804
61307
  version: "1.0.0",
60805
- exportedAt: "2026-09-12T07:27:39.835Z",
61308
+ exportedAt: "2026-09-16T03:44:41.117Z",
60806
61309
  mappings: {
60807
61310
  "page-header": {
60808
61311
  component: "PageHeader",
@@ -62245,6 +62748,11 @@ var component_mapping_default = {
62245
62748
  component: "UISlotComponent",
62246
62749
  importPath: "@/components/core/organisms/UISlotRenderer",
62247
62750
  category: "layout"
62751
+ },
62752
+ gantt: {
62753
+ component: "Gantt",
62754
+ importPath: "@/components/core/molecules/Gantt",
62755
+ category: "component"
62248
62756
  }
62249
62757
  }
62250
62758
  };
@@ -62252,7 +62760,7 @@ var component_mapping_default = {
62252
62760
  // src/patterns/event-contracts.json
62253
62761
  var event_contracts_default = {
62254
62762
  version: "1.0.0",
62255
- exportedAt: "2026-09-12T07:27:39.835Z",
62763
+ exportedAt: "2026-09-16T03:44:41.117Z",
62256
62764
  contracts: {
62257
62765
  form: {
62258
62766
  emits: [
@@ -63559,6 +64067,7 @@ var PATTERN_TYPES = [
63559
64067
  "game-icon",
63560
64068
  "game-menu",
63561
64069
  "game-shell",
64070
+ "gantt",
63562
64071
  "generic-app-template",
63563
64072
  "geometric-pattern",
63564
64073
  "gradient-divider",
@@ -64353,6 +64862,14 @@ var KNOWN_VALIDATION_ERROR_CODES = {
64353
64862
  ORB_BINDING_TRAIT_UNKNOWN: "ORB_BINDING_TRAIT_UNKNOWN",
64354
64863
  ORB_BINDING_UNKNOWN_ENTITY: "ORB_BINDING_UNKNOWN_ENTITY",
64355
64864
  ORB_BINDING_UNKNOWN_ROOT: "ORB_BINDING_UNKNOWN_ROOT",
64865
+ // Closed circuit (`ORB_CIRCUIT_*`, `phases/validation/closed_circuit.rs`).
64866
+ // Pre-existing gap: most other ORB_CIRCUIT_* codes the compiler already
64867
+ // emits (e.g. ORB_CIRCUIT_FAILURE_ARM_MISSING, ORB_CIRCUIT_DEAD_BODILESS_ACTION)
64868
+ // are not yet documented here — out of this task's scope, ledgered for a
64869
+ // follow-up sweep.
64870
+ ORB_CIRCUIT_VIEWER_STRANDED: "ORB_CIRCUIT_VIEWER_STRANDED",
64871
+ // Embed / composition (`@trait.X`, `phases/embed_graph.rs`)
64872
+ ORB_EMBED_CONFIG_FORWARD_MULTI_REFERRER: "ORB_EMBED_CONFIG_FORWARD_MULTI_REFERRER",
64356
64873
  // Entity / field
64357
64874
  ORB_E_DUPLICATE_FIELD: "ORB_E_DUPLICATE_FIELD",
64358
64875
  ORB_E_EMPTY_ENUM_VALUES: "ORB_E_EMPTY_ENUM_VALUES",
@@ -64363,6 +64880,9 @@ var KNOWN_VALIDATION_ERROR_CODES = {
64363
64880
  ORB_E_MISSING_COLLECTION: "ORB_E_MISSING_COLLECTION",
64364
64881
  ORB_E_MISSING_NAME: "ORB_E_MISSING_NAME",
64365
64882
  ORB_E_NO_FIELDS: "ORB_E_NO_FIELDS",
64883
+ // Entity ownership / access (`owner_fields_from_schema`,
64884
+ // `phases/validation/entity_access.rs`)
64885
+ ORB_ENTITY_OWNER_COLUMN_UNSCOPED: "ORB_ENTITY_OWNER_COLUMN_UNSCOPED",
64366
64886
  // Effect / emit
64367
64887
  ORB_EFF_CALL_SERVICE_MISSING_ACTION: "ORB_EFF_CALL_SERVICE_MISSING_ACTION",
64368
64888
  ORB_EFF_CALL_SERVICE_MISSING_HANDLERS: "ORB_EFF_CALL_SERVICE_MISSING_HANDLERS",
@@ -64393,6 +64913,8 @@ var KNOWN_VALIDATION_ERROR_CODES = {
64393
64913
  // Orbital
64394
64914
  ORB_O_MISSING_PAGES: "ORB_O_MISSING_PAGES",
64395
64915
  // Page
64916
+ ORB_PAGE_SECOND_CONTENT_BODY: "ORB_PAGE_SECOND_CONTENT_BODY",
64917
+ ORB_PAGE_UNREACHABLE: "ORB_PAGE_UNREACHABLE",
64396
64918
  ORB_P_DUPLICATE_PATH: "ORB_P_DUPLICATE_PATH",
64397
64919
  ORB_P_EMPTY_TRAITS: "ORB_P_EMPTY_TRAITS",
64398
64920
  ORB_P_INVALID_PATH: "ORB_P_INVALID_PATH",
@@ -64408,6 +64930,14 @@ var KNOWN_VALIDATION_ERROR_CODES = {
64408
64930
  ORB_QUERY_UNKNOWN_SINGLETON: "ORB_QUERY_UNKNOWN_SINGLETON",
64409
64931
  ORB_QUERY_UNSUPPORTED_PATTERN: "ORB_QUERY_UNSUPPORTED_PATTERN",
64410
64932
  ORB_QUERY_UNUSED_SINGLETON: "ORB_QUERY_UNUSED_SINGLETON",
64933
+ // Render config vs. linked-entity data shape (`config_type.rs`)
64934
+ ORB_RENDER_GROUPBY_ENUM_COLUMN_GAP: "ORB_RENDER_GROUPBY_ENUM_COLUMN_GAP",
64935
+ // A render-ui embeds `@config.<knob>` where `<knob>` is a `trait`-typed
64936
+ // config field whose resolved value is `none` (unbound), unguarded by an
64937
+ // `(if @config.<knob> ...)` wrapping it in the same effect list — an
64938
+ // unbound trait knob's embed renders nothing (`trait_validator.rs`,
64939
+ // owner ruling 2026-09-13: a `trait`-typed config knob may be `none`).
64940
+ ORB_RENDER_UNBOUND_TRAIT_KNOB_EMBEDDED: "ORB_RENDER_UNBOUND_TRAIT_KNOB_EMBEDDED",
64411
64941
  // Render-UI binding + prop validation
64412
64942
  ORB_RUI_BINDING_TYPE_MISMATCH: "ORB_RUI_BINDING_TYPE_MISMATCH",
64413
64943
  ORB_RUI_ELEMENT_SHAPE_MISMATCH: "ORB_RUI_ELEMENT_SHAPE_MISMATCH",
@@ -64426,6 +64956,8 @@ var KNOWN_VALIDATION_ERROR_CODES = {
64426
64956
  ORB_S_EMPTY_VERSION: "ORB_S_EMPTY_VERSION",
64427
64957
  ORB_S_MISSING_NAME: "ORB_S_MISSING_NAME",
64428
64958
  ORB_S_NO_ORBITALS: "ORB_S_NO_ORBITALS",
64959
+ // Theme (app-level vs. per-orbital config pin, `theme.rs`)
64960
+ ORB_THEME_PIN_CONTRADICTS_APP: "ORB_THEME_PIN_CONTRADICTS_APP",
64429
64961
  // UI slots
64430
64962
  ORB_SLOT_CONTENTION: "ORB_SLOT_CONTENTION",
64431
64963
  ORB_SLOT_CONTENTION_RUNTIME: "ORB_SLOT_CONTENTION_RUNTIME",
@@ -64489,6 +65021,7 @@ var KNOWN_VALIDATION_ERROR_CODES = {
64489
65021
  ORB_X_DUPLICATE_ENTITY: "ORB_X_DUPLICATE_ENTITY",
64490
65022
  ORB_X_EVENT_COLLISION: "ORB_X_EVENT_COLLISION",
64491
65023
  ORB_X_INTERNAL_EVENT_EXPOSED: "ORB_X_INTERNAL_EVENT_EXPOSED",
65024
+ ORB_X_LISTEN_SOURCE_NEVER_PRODUCES: "ORB_X_LISTEN_SOURCE_NEVER_PRODUCES",
64492
65025
  ORB_X_LISTEN_SOURCE_UNRESOLVED: "ORB_X_LISTEN_SOURCE_UNRESOLVED",
64493
65026
  ORB_X_MISSING_ORBITAL_NAME: "ORB_X_MISSING_ORBITAL_NAME",
64494
65027
  ORB_X_ORPHAN_LISTENER: "ORB_X_ORPHAN_LISTENER",
@@ -65201,98 +65734,6 @@ function getNestedValue(obj, path) {
65201
65734
  return value;
65202
65735
  }
65203
65736
 
65204
- // src/page-content-owner.ts
65205
- function writesContentMain(effects) {
65206
- const scan = (node) => {
65207
- if (!Array.isArray(node)) return false;
65208
- if (isMainSlotRenderUi(node)) return isContentBodyPattern(node[2]);
65209
- return node.some(scan);
65210
- };
65211
- return (effects ?? []).some(scan);
65212
- }
65213
- function isContentMainWriter(trait) {
65214
- return (trait.stateMachine?.transitions ?? []).some((transition) => writesContentMain(transition.effects)) || (trait.ticks ?? []).some((tick) => writesContentMain(tick.effects)) || writesContentMain(trait.initialEffects);
65215
- }
65216
- function reduceToOwners(candidates, configAdjacency, embedAdjacency) {
65217
- const reach = (start, adjacency) => {
65218
- const out = /* @__PURE__ */ new Set();
65219
- const walk = [start];
65220
- const seen = /* @__PURE__ */ new Set();
65221
- while (walk.length > 0) {
65222
- const from = walk.shift();
65223
- if (from === void 0 || seen.has(from)) continue;
65224
- seen.add(from);
65225
- for (const target of adjacency.get(from) ?? []) {
65226
- out.add(target);
65227
- walk.push(target);
65228
- }
65229
- }
65230
- return out;
65231
- };
65232
- const members = [...candidates];
65233
- const dropped = /* @__PURE__ */ new Set();
65234
- for (const a of members) {
65235
- const designates = reach(a, configAdjacency);
65236
- const contains = reach(a, embedAdjacency);
65237
- for (const b of members) {
65238
- if (a === b) continue;
65239
- if (designates.has(b)) dropped.add(a);
65240
- else if (contains.has(b)) dropped.add(b);
65241
- }
65242
- }
65243
- return members.filter((name) => !dropped.has(name));
65244
- }
65245
- function resolvePageContentOwner(page, traits, configAdjacency, embedAdjacency = configAdjacency) {
65246
- const declared = [];
65247
- for (const ref2 of page.traits ?? []) {
65248
- const name = typeof ref2 === "string" ? ref2 : ref2.ref;
65249
- if (typeof name === "string" && name.length > 0) declared.push(name);
65250
- }
65251
- if (declared.length === 0) return { kind: "none" };
65252
- const onPage = new Set(declared);
65253
- const channel = /* @__PURE__ */ new Set();
65254
- const seen = /* @__PURE__ */ new Set();
65255
- const queue = declared.filter((name) => onPage.has(name));
65256
- while (queue.length > 0) {
65257
- const from = queue.shift();
65258
- if (from === void 0 || seen.has(from)) continue;
65259
- seen.add(from);
65260
- for (const target of configAdjacency.get(from) ?? []) {
65261
- const trait = traits.get(target);
65262
- if (trait === void 0) continue;
65263
- if (isContentMainWriter(trait)) channel.add(target);
65264
- queue.push(target);
65265
- }
65266
- }
65267
- const terminal = reduceToOwners(channel, configAdjacency, embedAdjacency);
65268
- if (terminal.length === 1) {
65269
- const [only] = terminal;
65270
- if (only !== void 0) return { kind: "channel", trait: only };
65271
- }
65272
- if (terminal.length > 1) return { kind: "ambiguous", candidates: terminal.sort() };
65273
- const writers = declared.filter((name) => {
65274
- const trait = traits.get(name);
65275
- return trait !== void 0 && isContentMainWriter(trait);
65276
- });
65277
- const distinct = reduceToOwners(new Set(writers), configAdjacency, embedAdjacency);
65278
- if (distinct.length === 0) return { kind: "none" };
65279
- if (distinct.length === 1) {
65280
- const [only] = distinct;
65281
- if (only !== void 0) return { kind: "sole-writer", trait: only };
65282
- }
65283
- return { kind: "ambiguous", candidates: distinct.sort() };
65284
- }
65285
- function resolveContentOwners(orbital, traits, configAdjacency) {
65286
- const out = /* @__PURE__ */ new Map();
65287
- for (const ref2 of orbital.pages ?? []) {
65288
- if (isPageReference(ref2)) continue;
65289
- const path = ref2.path;
65290
- if (typeof path !== "string" || path.length === 0) continue;
65291
- out.set(path, resolvePageContentOwner(ref2, traits, configAdjacency));
65292
- }
65293
- return out;
65294
- }
65295
-
65296
65737
  // src/listen-payload-mapping.ts
65297
65738
  function applyListenPayloadMapping(payloadMapping, payload, evaluate) {
65298
65739
  if (!payloadMapping || !payload) return payload;
@@ -67728,6 +68169,13 @@ function nestedPayload(path, leaf) {
67728
68169
  function isPayloadObject(v) {
67729
68170
  return typeof v === "object" && v !== null && !Array.isArray(v) && !(v instanceof Date);
67730
68171
  }
68172
+ function extractArrayLenPath(ref2) {
68173
+ if (!Array.isArray(ref2) || ref2.length !== 2 || ref2[0] !== "array/len") return null;
68174
+ return extractPayloadFieldPath(ref2[1]);
68175
+ }
68176
+ function arrayOfLength(n) {
68177
+ return Array.from({ length: Math.max(0, n) }, (_, i) => ({ id: `mock-test-id-${i}` }));
68178
+ }
67731
68179
  var SYNTHESIZED_GUARD_OPERATORS = /* @__PURE__ */ new Set([
67732
68180
  "not-nil",
67733
68181
  "not_nil",
@@ -67952,23 +68400,31 @@ function buildGuardPayloads(guard) {
67952
68400
  if (objectGetPayload) return objectGetPayload;
67953
68401
  }
67954
68402
  if (op === "gt" || op === ">") {
67955
- const path = extractPayloadFieldPath(guard[1]);
68403
+ const arrayPath = extractArrayLenPath(guard[1]);
67956
68404
  const n = typeof guard[2] === "number" ? guard[2] : 0;
68405
+ if (arrayPath) return { pass: nestedPayload(arrayPath, arrayOfLength(n + 1)), fail: nestedPayload(arrayPath, arrayOfLength(n)) };
68406
+ const path = extractPayloadFieldPath(guard[1]);
67957
68407
  if (path) return { pass: nestedPayload(path, n + 1), fail: nestedPayload(path, n - 1) };
67958
68408
  }
67959
68409
  if (op === "gte" || op === ">=") {
67960
- const path = extractPayloadFieldPath(guard[1]);
68410
+ const arrayPath = extractArrayLenPath(guard[1]);
67961
68411
  const n = typeof guard[2] === "number" ? guard[2] : 0;
68412
+ if (arrayPath) return { pass: nestedPayload(arrayPath, arrayOfLength(n)), fail: nestedPayload(arrayPath, arrayOfLength(n - 1)) };
68413
+ const path = extractPayloadFieldPath(guard[1]);
67962
68414
  if (path) return { pass: nestedPayload(path, n), fail: nestedPayload(path, n - 1) };
67963
68415
  }
67964
68416
  if (op === "lt" || op === "<") {
67965
- const path = extractPayloadFieldPath(guard[1]);
68417
+ const arrayPath = extractArrayLenPath(guard[1]);
67966
68418
  const n = typeof guard[2] === "number" ? guard[2] : 0;
68419
+ if (arrayPath) return { pass: nestedPayload(arrayPath, arrayOfLength(n - 1)), fail: nestedPayload(arrayPath, arrayOfLength(n + 1)) };
68420
+ const path = extractPayloadFieldPath(guard[1]);
67967
68421
  if (path) return { pass: nestedPayload(path, n - 1), fail: nestedPayload(path, n + 1) };
67968
68422
  }
67969
68423
  if (op === "lte" || op === "<=") {
67970
- const path = extractPayloadFieldPath(guard[1]);
68424
+ const arrayPath = extractArrayLenPath(guard[1]);
67971
68425
  const n = typeof guard[2] === "number" ? guard[2] : 0;
68426
+ if (arrayPath) return { pass: nestedPayload(arrayPath, arrayOfLength(n)), fail: nestedPayload(arrayPath, arrayOfLength(n + 1)) };
68427
+ const path = extractPayloadFieldPath(guard[1]);
67972
68428
  if (path) return { pass: nestedPayload(path, n), fail: nestedPayload(path, n + 1) };
67973
68429
  }
67974
68430
  if (op === "and") {
@@ -70895,6 +71351,6 @@ function reportIdenticalToEnglish(input) {
70895
71351
  return problems;
70896
71352
  }
70897
71353
 
70898
- export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, AudioManifestSchema, 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_UNIT_ANIMATION_ROWS, 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, FieldValueSchema, FileValueSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, I18N_SECTIONS, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LANGUAGE_CODES, LOLO_FIRST_TOKEN_KEYWORDS, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, MANIFEST_ASSET_LICENSES, MANIFEST_CANVAS_AFFINITIES, MANIFEST_ENTRY_KINDS, MANIFEST_SOURCE_CATALOGS, ManifestAssetLicenseSchema, ManifestCanvasAffinitySchema, ManifestEntryKindSchema, ManifestEntrySchema, ManifestFrameSpecSchema, ManifestSourceCatalogSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, ORB_NOTATION_KEYS, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalRefObjectSchema, OrbitalRefStringSchema, 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, SELF_OVERLAY_PATTERN_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, SExprSchema, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, SPRITE_SHEET_LAYOUT, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SoundEntrySchema, 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, aliasMap, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, assertNoUnsatisfiableEnum, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, checkI18nCoverage, classifyWorkflow, clearSchemaCache, collectBindings, collectCallsiteCaptureChildren, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, containsEntityBinding, containsPayloadBinding, contractFieldName, coreTables, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, defaultUnitAtlas, deref, deriveCollection, deriveExpectations, deriveId, 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, getNestedValue, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, getVocabulary, 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, languageOfLoloFirstToken, languageOfOrbTopLevelKeys, ledgerCurName, ledgerRename, ledgerResolveName, lexLolo, localizeLoloSource, localizeMap, localizeOrbValue, manifestToAssetCatalog, mapTensorLastDim, maskSecretConfigValues, matchAssetQuery, mergeEntityFrame, mintId, navigate, navigateBack, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, omitFrameFields, overrideDeclaredKnobs, parseAssetKey, parseAssetQuery, parseBinding, parseEntityRef, parseI18nTables, parseImportedTraitRef, parseOperatorTables, parseOrbitalRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, recommendPatterns, reduceToOwners, ref, registry, rehydrateKnobDefs, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, reportIdenticalToEnglish, requiresConfirmation, resolveConfigRefEventName, resolveContentOwners, resolveDefaultViewer, resolveEntityView, resolvePageContentOwner, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, signatureToParamsSchema, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, traitDeclaresConfigForward, traitReferencesCallsitePayload, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
71354
+ export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, AudioManifestSchema, 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_UNIT_ANIMATION_ROWS, 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, FieldValueSchema, FileValueSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, I18N_SECTIONS, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LANGUAGE_CODES, LOLO_FIRST_TOKEN_KEYWORDS, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, MANIFEST_ASSET_LICENSES, MANIFEST_CANVAS_AFFINITIES, MANIFEST_ENTRY_KINDS, MANIFEST_SOURCE_CATALOGS, ManifestAssetLicenseSchema, ManifestCanvasAffinitySchema, ManifestEntryKindSchema, ManifestEntrySchema, ManifestFrameSpecSchema, ManifestSourceCatalogSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, ORB_NOTATION_KEYS, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalRefObjectSchema, OrbitalRefStringSchema, 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, SELF_OVERLAY_PATTERN_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, SExprSchema, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, SPRITE_SHEET_LAYOUT, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SoundEntrySchema, 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, aliasMap, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, assertNoUnsatisfiableEnum, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, checkI18nCoverage, classifyWorkflow, clearSchemaCache, collectBindings, collectCallsiteCaptureChildren, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, containsEntityBinding, containsPayloadBinding, contractFieldName, coreTables, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, defaultUnitAtlas, deref, deriveCollection, deriveExpectations, deriveId, 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, getNestedValue, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, getVocabulary, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, 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, languageOfLoloFirstToken, languageOfOrbTopLevelKeys, ledgerCurName, ledgerRename, ledgerResolveName, lexLolo, localizeLoloSource, localizeMap, localizeOrbValue, manifestToAssetCatalog, mapTensorLastDim, maskSecretConfigValues, matchAssetQuery, mergeEntityFrame, mintId, navigate, navigateBack, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, omitFrameFields, overrideDeclaredKnobs, parseAssetKey, parseAssetQuery, parseBinding, parseEntityRef, parseI18nTables, parseImportedTraitRef, parseOperatorTables, parseOrbitalRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, recommendPatterns, ref, registry, rehydrateKnobDefs, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, reportIdenticalToEnglish, requiresConfirmation, resolveConfigRefEventName, resolveDefaultViewer, resolveEntityView, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, signatureToParamsSchema, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, traitDeclaresConfigForward, traitReferencesCallsitePayload, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
70899
71355
  //# sourceMappingURL=index.js.map
70900
71356
  //# sourceMappingURL=index.js.map