@almadar/core 10.58.0 → 10.59.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
@@ -178,7 +178,8 @@ var FIELD_TYPES = [
178
178
  "relation",
179
179
  "trait",
180
180
  "slot",
181
- "pattern"
181
+ "pattern",
182
+ "node"
182
183
  ];
183
184
  var SEMANTIC_STRING_TYPES = ["email", "url", "phone", "uuid", "image"];
184
185
  function isSemanticStringType(type) {
@@ -297,6 +298,7 @@ var EntityFieldSchema = z.lazy(() => {
297
298
  scalarVariant("trait"),
298
299
  scalarVariant("slot"),
299
300
  scalarVariant("pattern"),
301
+ scalarVariant("node"),
300
302
  // Enum variant — REQUIRES non-empty values.
301
303
  z.object({
302
304
  ...baseFieldShape,
@@ -439,7 +441,8 @@ var CameraSchema = z.object({
439
441
  zoom: z.number().optional(),
440
442
  fov: z.number().optional(),
441
443
  mode: CameraModeSchema.optional(),
442
- azimuth: z.number().optional()
444
+ azimuth: z.number().optional(),
445
+ elevation: z.number().optional()
443
446
  });
444
447
  function createAssetKey(role, category) {
445
448
  return `${role}:${category}`;
@@ -2217,7 +2220,7 @@ function getInteractionModelForDomain(domain) {
2217
2220
  // src/patterns/patterns-registry.json
2218
2221
  var patterns_registry_default = {
2219
2222
  version: "1.0.0",
2220
- exportedAt: "2026-08-16T04:34:48.224Z",
2223
+ exportedAt: "2026-08-17T13:06:21.152Z",
2221
2224
  patterns: {
2222
2225
  "entity-table": {
2223
2226
  type: "entity-table",
@@ -2322,7 +2325,12 @@ var patterns_registry_default = {
2322
2325
  types: [
2323
2326
  "object"
2324
2327
  ],
2325
- description: "Active filters"
2328
+ description: "Active filters",
2329
+ mapValue: {
2330
+ types: [
2331
+ "string"
2332
+ ]
2333
+ }
2326
2334
  },
2327
2335
  selectedIds: {
2328
2336
  types: [
@@ -2797,7 +2805,12 @@ var patterns_registry_default = {
2797
2805
  types: [
2798
2806
  "object"
2799
2807
  ],
2800
- description: "Active filters"
2808
+ description: "Active filters",
2809
+ mapValue: {
2810
+ types: [
2811
+ "string"
2812
+ ]
2813
+ }
2801
2814
  },
2802
2815
  selectedIds: {
2803
2816
  types: [
@@ -3184,7 +3197,12 @@ var patterns_registry_default = {
3184
3197
  types: [
3185
3198
  "object"
3186
3199
  ],
3187
- description: "Active filters"
3200
+ description: "Active filters",
3201
+ mapValue: {
3202
+ types: [
3203
+ "string"
3204
+ ]
3205
+ }
3188
3206
  },
3189
3207
  selectedIds: {
3190
3208
  types: [
@@ -3533,7 +3551,12 @@ var patterns_registry_default = {
3533
3551
  types: [
3534
3552
  "object"
3535
3553
  ],
3536
- description: "Active filters"
3554
+ description: "Active filters",
3555
+ mapValue: {
3556
+ types: [
3557
+ "string"
3558
+ ]
3559
+ }
3537
3560
  },
3538
3561
  selectedIds: {
3539
3562
  types: [
@@ -4293,7 +4316,18 @@ var patterns_registry_default = {
4293
4316
  types: [
4294
4317
  "object"
4295
4318
  ],
4296
- freeform: true
4319
+ properties: {
4320
+ enum: {
4321
+ types: [
4322
+ "array"
4323
+ ],
4324
+ items: {
4325
+ types: [
4326
+ "string"
4327
+ ]
4328
+ }
4329
+ }
4330
+ }
4297
4331
  },
4298
4332
  readonly: {
4299
4333
  types: [
@@ -4776,7 +4810,18 @@ var patterns_registry_default = {
4776
4810
  types: [
4777
4811
  "object"
4778
4812
  ],
4779
- freeform: true
4813
+ properties: {
4814
+ enum: {
4815
+ types: [
4816
+ "array"
4817
+ ],
4818
+ items: {
4819
+ types: [
4820
+ "string"
4821
+ ]
4822
+ }
4823
+ }
4824
+ }
4780
4825
  },
4781
4826
  readonly: {
4782
4827
  types: [
@@ -5080,7 +5125,18 @@ var patterns_registry_default = {
5080
5125
  types: [
5081
5126
  "object"
5082
5127
  ],
5083
- freeform: true
5128
+ properties: {
5129
+ enum: {
5130
+ types: [
5131
+ "array"
5132
+ ],
5133
+ items: {
5134
+ types: [
5135
+ "string"
5136
+ ]
5137
+ }
5138
+ }
5139
+ }
5084
5140
  },
5085
5141
  readonly: {
5086
5142
  types: [
@@ -5563,7 +5619,18 @@ var patterns_registry_default = {
5563
5619
  types: [
5564
5620
  "object"
5565
5621
  ],
5566
- freeform: true
5622
+ properties: {
5623
+ enum: {
5624
+ types: [
5625
+ "array"
5626
+ ],
5627
+ items: {
5628
+ types: [
5629
+ "string"
5630
+ ]
5631
+ }
5632
+ }
5633
+ }
5567
5634
  },
5568
5635
  readonly: {
5569
5636
  types: [
@@ -8324,7 +8391,12 @@ var patterns_registry_default = {
8324
8391
  types: [
8325
8392
  "object"
8326
8393
  ],
8327
- description: "Active filters"
8394
+ description: "Active filters",
8395
+ mapValue: {
8396
+ types: [
8397
+ "string"
8398
+ ]
8399
+ }
8328
8400
  },
8329
8401
  selectedIds: {
8330
8402
  types: [
@@ -8822,7 +8894,12 @@ var patterns_registry_default = {
8822
8894
  types: [
8823
8895
  "object"
8824
8896
  ],
8825
- description: "Inline styles"
8897
+ description: "Inline styles",
8898
+ mapValue: {
8899
+ types: [
8900
+ "string"
8901
+ ]
8902
+ }
8826
8903
  },
8827
8904
  children: {
8828
8905
  types: [
@@ -8905,7 +8982,12 @@ var patterns_registry_default = {
8905
8982
  types: [
8906
8983
  "object"
8907
8984
  ],
8908
- description: "Inline styles"
8985
+ description: "Inline styles",
8986
+ mapValue: {
8987
+ types: [
8988
+ "string"
8989
+ ]
8990
+ }
8909
8991
  },
8910
8992
  children: {
8911
8993
  types: [
@@ -9666,7 +9748,12 @@ var patterns_registry_default = {
9666
9748
  types: [
9667
9749
  "object"
9668
9750
  ],
9669
- description: "Inline style"
9751
+ description: "Inline style",
9752
+ mapValue: {
9753
+ types: [
9754
+ "string"
9755
+ ]
9756
+ }
9670
9757
  }
9671
9758
  }
9672
9759
  },
@@ -11742,7 +11829,12 @@ var patterns_registry_default = {
11742
11829
  types: [
11743
11830
  "object"
11744
11831
  ],
11745
- description: "Inline styles"
11832
+ description: "Inline styles",
11833
+ mapValue: {
11834
+ types: [
11835
+ "string"
11836
+ ]
11837
+ }
11746
11838
  },
11747
11839
  children: {
11748
11840
  types: [
@@ -12097,7 +12189,12 @@ var patterns_registry_default = {
12097
12189
  types: [
12098
12190
  "object"
12099
12191
  ],
12100
- description: "Inline style"
12192
+ description: "Inline style",
12193
+ mapValue: {
12194
+ types: [
12195
+ "string"
12196
+ ]
12197
+ }
12101
12198
  },
12102
12199
  format: {
12103
12200
  types: [
@@ -16341,7 +16438,12 @@ var patterns_registry_default = {
16341
16438
  types: [
16342
16439
  "object"
16343
16440
  ],
16344
- description: "Active filters"
16441
+ description: "Active filters",
16442
+ mapValue: {
16443
+ types: [
16444
+ "string"
16445
+ ]
16446
+ }
16345
16447
  },
16346
16448
  selectedIds: {
16347
16449
  types: [
@@ -18269,7 +18371,12 @@ var patterns_registry_default = {
18269
18371
  types: [
18270
18372
  "object"
18271
18373
  ],
18272
- description: "Active filters"
18374
+ description: "Active filters",
18375
+ mapValue: {
18376
+ types: [
18377
+ "string"
18378
+ ]
18379
+ }
18273
18380
  },
18274
18381
  selectedIds: {
18275
18382
  types: [
@@ -23804,7 +23911,12 @@ var patterns_registry_default = {
23804
23911
  types: [
23805
23912
  "object"
23806
23913
  ],
23807
- description: "Active filters"
23914
+ description: "Active filters",
23915
+ mapValue: {
23916
+ types: [
23917
+ "string"
23918
+ ]
23919
+ }
23808
23920
  },
23809
23921
  selectedIds: {
23810
23922
  types: [
@@ -23978,7 +24090,12 @@ var patterns_registry_default = {
23978
24090
  types: [
23979
24091
  "object"
23980
24092
  ],
23981
- description: "Active filters"
24093
+ description: "Active filters",
24094
+ mapValue: {
24095
+ types: [
24096
+ "string"
24097
+ ]
24098
+ }
23982
24099
  },
23983
24100
  selectedIds: {
23984
24101
  types: [
@@ -24159,7 +24276,12 @@ var patterns_registry_default = {
24159
24276
  types: [
24160
24277
  "object"
24161
24278
  ],
24162
- description: "Active filters"
24279
+ description: "Active filters",
24280
+ mapValue: {
24281
+ types: [
24282
+ "string"
24283
+ ]
24284
+ }
24163
24285
  },
24164
24286
  selectedIds: {
24165
24287
  types: [
@@ -24391,7 +24513,12 @@ var patterns_registry_default = {
24391
24513
  types: [
24392
24514
  "object"
24393
24515
  ],
24394
- description: "Active filters"
24516
+ description: "Active filters",
24517
+ mapValue: {
24518
+ types: [
24519
+ "string"
24520
+ ]
24521
+ }
24395
24522
  },
24396
24523
  selectedIds: {
24397
24524
  types: [
@@ -24580,7 +24707,12 @@ var patterns_registry_default = {
24580
24707
  types: [
24581
24708
  "object"
24582
24709
  ],
24583
- description: "Active filters"
24710
+ description: "Active filters",
24711
+ mapValue: {
24712
+ types: [
24713
+ "string"
24714
+ ]
24715
+ }
24584
24716
  },
24585
24717
  selectedIds: {
24586
24718
  types: [
@@ -24777,7 +24909,12 @@ var patterns_registry_default = {
24777
24909
  types: [
24778
24910
  "object"
24779
24911
  ],
24780
- description: "Active filters"
24912
+ description: "Active filters",
24913
+ mapValue: {
24914
+ types: [
24915
+ "string"
24916
+ ]
24917
+ }
24781
24918
  },
24782
24919
  selectedIds: {
24783
24920
  types: [
@@ -24933,7 +25070,12 @@ var patterns_registry_default = {
24933
25070
  types: [
24934
25071
  "object"
24935
25072
  ],
24936
- description: "Active filters"
25073
+ description: "Active filters",
25074
+ mapValue: {
25075
+ types: [
25076
+ "string"
25077
+ ]
25078
+ }
24937
25079
  },
24938
25080
  selectedIds: {
24939
25081
  types: [
@@ -25114,7 +25256,12 @@ var patterns_registry_default = {
25114
25256
  types: [
25115
25257
  "object"
25116
25258
  ],
25117
- description: "Active filters"
25259
+ description: "Active filters",
25260
+ mapValue: {
25261
+ types: [
25262
+ "string"
25263
+ ]
25264
+ }
25118
25265
  },
25119
25266
  selectedIds: {
25120
25267
  types: [
@@ -32587,7 +32734,12 @@ var patterns_registry_default = {
32587
32734
  types: [
32588
32735
  "object"
32589
32736
  ],
32590
- description: "Active filters"
32737
+ description: "Active filters",
32738
+ mapValue: {
32739
+ types: [
32740
+ "string"
32741
+ ]
32742
+ }
32591
32743
  },
32592
32744
  selectedIds: {
32593
32745
  types: [
@@ -34032,7 +34184,12 @@ var patterns_registry_default = {
34032
34184
  types: [
34033
34185
  "object"
34034
34186
  ],
34035
- description: "Active filters"
34187
+ description: "Active filters",
34188
+ mapValue: {
34189
+ types: [
34190
+ "string"
34191
+ ]
34192
+ }
34036
34193
  },
34037
34194
  selectedIds: {
34038
34195
  types: [
@@ -34770,7 +34927,12 @@ var patterns_registry_default = {
34770
34927
  types: [
34771
34928
  "object"
34772
34929
  ],
34773
- description: "Active filters"
34930
+ description: "Active filters",
34931
+ mapValue: {
34932
+ types: [
34933
+ "string"
34934
+ ]
34935
+ }
34774
34936
  },
34775
34937
  selectedIds: {
34776
34938
  types: [
@@ -36242,7 +36404,12 @@ var patterns_registry_default = {
36242
36404
  types: [
36243
36405
  "object"
36244
36406
  ],
36245
- description: "Active filters"
36407
+ description: "Active filters",
36408
+ mapValue: {
36409
+ types: [
36410
+ "string"
36411
+ ]
36412
+ }
36246
36413
  },
36247
36414
  selectedIds: {
36248
36415
  types: [
@@ -36744,7 +36911,34 @@ var patterns_registry_default = {
36744
36911
  types: [
36745
36912
  "object"
36746
36913
  ],
36747
- description: "User progress for restoring activation/reflection state"
36914
+ description: "User progress for restoring activation/reflection state",
36915
+ properties: {
36916
+ activationResponse: {
36917
+ types: [
36918
+ "string"
36919
+ ]
36920
+ },
36921
+ reflectionNotes: {
36922
+ types: [
36923
+ "array"
36924
+ ],
36925
+ items: {
36926
+ types: [
36927
+ "string"
36928
+ ]
36929
+ }
36930
+ },
36931
+ bloomAnswered: {
36932
+ types: [
36933
+ "object"
36934
+ ],
36935
+ mapValue: {
36936
+ types: [
36937
+ "boolean"
36938
+ ]
36939
+ }
36940
+ }
36941
+ }
36748
36942
  },
36749
36943
  onRunCodeSimulation: {
36750
36944
  types: [
@@ -36888,7 +37082,12 @@ var patterns_registry_default = {
36888
37082
  types: [
36889
37083
  "object"
36890
37084
  ],
36891
- description: "Active filters"
37085
+ description: "Active filters",
37086
+ mapValue: {
37087
+ types: [
37088
+ "string"
37089
+ ]
37090
+ }
36892
37091
  },
36893
37092
  selectedIds: {
36894
37093
  types: [
@@ -37043,7 +37242,12 @@ var patterns_registry_default = {
37043
37242
  types: [
37044
37243
  "object"
37045
37244
  ],
37046
- description: "Active filters"
37245
+ description: "Active filters",
37246
+ mapValue: {
37247
+ types: [
37248
+ "string"
37249
+ ]
37250
+ }
37047
37251
  },
37048
37252
  selectedIds: {
37049
37253
  types: [
@@ -38143,7 +38347,12 @@ var patterns_registry_default = {
38143
38347
  types: [
38144
38348
  "object"
38145
38349
  ],
38146
- description: "Inline styles"
38350
+ description: "Inline styles",
38351
+ mapValue: {
38352
+ types: [
38353
+ "string"
38354
+ ]
38355
+ }
38147
38356
  },
38148
38357
  children: {
38149
38358
  types: [
@@ -38308,7 +38517,12 @@ var patterns_registry_default = {
38308
38517
  types: [
38309
38518
  "object"
38310
38519
  ],
38311
- description: "Inline styles"
38520
+ description: "Inline styles",
38521
+ mapValue: {
38522
+ types: [
38523
+ "string"
38524
+ ]
38525
+ }
38312
38526
  },
38313
38527
  children: {
38314
38528
  types: [
@@ -38485,7 +38699,12 @@ var patterns_registry_default = {
38485
38699
  types: [
38486
38700
  "object"
38487
38701
  ],
38488
- description: "Active filters"
38702
+ description: "Active filters",
38703
+ mapValue: {
38704
+ types: [
38705
+ "string"
38706
+ ]
38707
+ }
38489
38708
  },
38490
38709
  selectedIds: {
38491
38710
  types: [
@@ -38911,6 +39130,36 @@ var patterns_registry_default = {
38911
39130
  ],
38912
39131
  description: "backgroundColor prop"
38913
39132
  },
39133
+ mode: {
39134
+ types: [
39135
+ "string"
39136
+ ],
39137
+ description: "Painter: 2D raster (default) or 3D mesh scene via the lazy three.js host.",
39138
+ enumValues: [
39139
+ "2d",
39140
+ "3d"
39141
+ ],
39142
+ default: "2d"
39143
+ },
39144
+ camera: {
39145
+ types: [
39146
+ "object"
39147
+ ],
39148
+ description: "3D only: neutral camera pose ({ mode, zoom, fov, azimuth, target }).",
39149
+ freeform: true
39150
+ },
39151
+ lighting: {
39152
+ types: [
39153
+ "object"
39154
+ ],
39155
+ description: "3D only: scene light rig as data."
39156
+ },
39157
+ post: {
39158
+ types: [
39159
+ "object"
39160
+ ],
39161
+ description: "3D only: post-processing stack (bloom/vignette)."
39162
+ },
38914
39163
  nodes: {
38915
39164
  types: [
38916
39165
  "array"
@@ -38936,6 +39185,11 @@ var patterns_registry_default = {
38936
39185
  "number"
38937
39186
  ]
38938
39187
  },
39188
+ z: {
39189
+ types: [
39190
+ "number"
39191
+ ]
39192
+ },
38939
39193
  radius: {
38940
39194
  types: [
38941
39195
  "number"
@@ -38961,6 +39215,27 @@ var patterns_registry_default = {
38961
39215
  "molecule",
38962
39216
  "organism"
38963
39217
  ]
39218
+ },
39219
+ shape: {
39220
+ types: [
39221
+ "string"
39222
+ ],
39223
+ enumValues: [
39224
+ "box",
39225
+ "sphere",
39226
+ "capsule",
39227
+ "cylinder",
39228
+ "cone",
39229
+ "torus",
39230
+ "plane",
39231
+ "circle",
39232
+ "polyhedron"
39233
+ ]
39234
+ },
39235
+ opacity: {
39236
+ types: [
39237
+ "number"
39238
+ ]
38964
39239
  }
38965
39240
  },
38966
39241
  required: [
@@ -39012,7 +39287,7 @@ var patterns_registry_default = {
39012
39287
  types: [
39013
39288
  "array"
39014
39289
  ],
39015
- description: "Extra declarative shapes in canvas pixel coordinates.",
39290
+ description: "Extra declarative shapes in canvas pixel coordinates (2D mode only \u2014 ignored in 3D).",
39016
39291
  items: {
39017
39292
  types: [
39018
39293
  "object"
@@ -39191,18 +39466,29 @@ var patterns_registry_default = {
39191
39466
  },
39192
39467
  default: []
39193
39468
  },
39469
+ showGrid: {
39470
+ types: [
39471
+ "boolean"
39472
+ ],
39473
+ description: "3D only: show the ground grid (default off)."
39474
+ },
39475
+ shadows: {
39476
+ types: [
39477
+ "boolean"
39478
+ ],
39479
+ description: "3D only: enable shadows. Omitted \u2192 the host default."
39480
+ },
39194
39481
  interactive: {
39195
39482
  types: [
39196
39483
  "boolean"
39197
39484
  ],
39198
- description: "interactive prop",
39199
- default: false
39485
+ description: "2D: pointer interaction (click/hover). 3D: orbit camera controls."
39200
39486
  },
39201
39487
  animate: {
39202
39488
  types: [
39203
39489
  "boolean"
39204
39490
  ],
39205
- description: "animate prop",
39491
+ description: "2D only: continuous redraw loop. 3D motion is entity-state driven.",
39206
39492
  default: false
39207
39493
  },
39208
39494
  onShapeClick: {
@@ -39327,6 +39613,36 @@ var patterns_registry_default = {
39327
39613
  ],
39328
39614
  description: "backgroundColor prop"
39329
39615
  },
39616
+ mode: {
39617
+ types: [
39618
+ "string"
39619
+ ],
39620
+ description: "Painter: 2D raster (default) or 3D mesh scene via the lazy three.js host.",
39621
+ enumValues: [
39622
+ "2d",
39623
+ "3d"
39624
+ ],
39625
+ default: "2d"
39626
+ },
39627
+ camera: {
39628
+ types: [
39629
+ "object"
39630
+ ],
39631
+ description: "3D only: neutral camera pose ({ mode, zoom, fov, azimuth, target }).",
39632
+ freeform: true
39633
+ },
39634
+ lighting: {
39635
+ types: [
39636
+ "object"
39637
+ ],
39638
+ description: "3D only: scene light rig as data."
39639
+ },
39640
+ post: {
39641
+ types: [
39642
+ "object"
39643
+ ],
39644
+ description: "3D only: post-processing stack (bloom/vignette)."
39645
+ },
39330
39646
  atoms: {
39331
39647
  types: [
39332
39648
  "array"
@@ -39352,6 +39668,11 @@ var patterns_registry_default = {
39352
39668
  "number"
39353
39669
  ]
39354
39670
  },
39671
+ z: {
39672
+ types: [
39673
+ "number"
39674
+ ]
39675
+ },
39355
39676
  element: {
39356
39677
  types: [
39357
39678
  "string"
@@ -39470,7 +39791,7 @@ var patterns_registry_default = {
39470
39791
  types: [
39471
39792
  "array"
39472
39793
  ],
39473
- description: "Extra declarative shapes in canvas pixel coordinates.",
39794
+ description: "Extra declarative shapes in canvas pixel coordinates (2D mode only \u2014 ignored in 3D).",
39474
39795
  items: {
39475
39796
  types: [
39476
39797
  "object"
@@ -39649,18 +39970,29 @@ var patterns_registry_default = {
39649
39970
  },
39650
39971
  default: []
39651
39972
  },
39973
+ showGrid: {
39974
+ types: [
39975
+ "boolean"
39976
+ ],
39977
+ description: "3D only: show the ground grid (default off)."
39978
+ },
39979
+ shadows: {
39980
+ types: [
39981
+ "boolean"
39982
+ ],
39983
+ description: "3D only: enable shadows. Omitted \u2192 the host default."
39984
+ },
39652
39985
  interactive: {
39653
39986
  types: [
39654
39987
  "boolean"
39655
39988
  ],
39656
- description: "interactive prop",
39657
- default: false
39989
+ description: "2D: pointer interaction (click/hover). 3D: orbit camera controls."
39658
39990
  },
39659
39991
  animate: {
39660
39992
  types: [
39661
39993
  "boolean"
39662
39994
  ],
39663
- description: "animate prop",
39995
+ description: "2D only: continuous redraw loop. 3D motion is entity-state driven.",
39664
39996
  default: false
39665
39997
  },
39666
39998
  onShapeClick: {
@@ -40293,6 +40625,36 @@ var patterns_registry_default = {
40293
40625
  ],
40294
40626
  description: "backgroundColor prop"
40295
40627
  },
40628
+ mode: {
40629
+ types: [
40630
+ "string"
40631
+ ],
40632
+ description: "Painter: 2D raster (default) or 3D mesh scene via the lazy three.js host.",
40633
+ enumValues: [
40634
+ "2d",
40635
+ "3d"
40636
+ ],
40637
+ default: "2d"
40638
+ },
40639
+ camera: {
40640
+ types: [
40641
+ "object"
40642
+ ],
40643
+ description: "3D only: neutral camera pose ({ mode, zoom, fov, azimuth, target }).",
40644
+ freeform: true
40645
+ },
40646
+ lighting: {
40647
+ types: [
40648
+ "object"
40649
+ ],
40650
+ description: "3D only: scene light rig as data."
40651
+ },
40652
+ post: {
40653
+ types: [
40654
+ "object"
40655
+ ],
40656
+ description: "3D only: post-processing stack (bloom/vignette)."
40657
+ },
40296
40658
  bodies: {
40297
40659
  types: [
40298
40660
  "array"
@@ -40318,6 +40680,11 @@ var patterns_registry_default = {
40318
40680
  "number"
40319
40681
  ]
40320
40682
  },
40683
+ z: {
40684
+ types: [
40685
+ "number"
40686
+ ]
40687
+ },
40321
40688
  radius: {
40322
40689
  types: [
40323
40690
  "number"
@@ -40343,6 +40710,11 @@ var patterns_registry_default = {
40343
40710
  "number"
40344
40711
  ]
40345
40712
  },
40713
+ vz: {
40714
+ types: [
40715
+ "number"
40716
+ ]
40717
+ },
40346
40718
  fx: {
40347
40719
  types: [
40348
40720
  "number"
@@ -40352,6 +40724,11 @@ var patterns_registry_default = {
40352
40724
  types: [
40353
40725
  "number"
40354
40726
  ]
40727
+ },
40728
+ fz: {
40729
+ types: [
40730
+ "number"
40731
+ ]
40355
40732
  }
40356
40733
  },
40357
40734
  required: [
@@ -40426,7 +40803,7 @@ var patterns_registry_default = {
40426
40803
  types: [
40427
40804
  "array"
40428
40805
  ],
40429
- description: "Extra declarative shapes in canvas pixel coordinates.",
40806
+ description: "Extra declarative shapes in canvas pixel coordinates (2D mode only \u2014 ignored in 3D).",
40430
40807
  items: {
40431
40808
  types: [
40432
40809
  "object"
@@ -40605,18 +40982,29 @@ var patterns_registry_default = {
40605
40982
  },
40606
40983
  default: []
40607
40984
  },
40985
+ showGrid: {
40986
+ types: [
40987
+ "boolean"
40988
+ ],
40989
+ description: "3D only: show the ground grid (default off)."
40990
+ },
40991
+ shadows: {
40992
+ types: [
40993
+ "boolean"
40994
+ ],
40995
+ description: "3D only: enable shadows. Omitted \u2192 the host default."
40996
+ },
40608
40997
  interactive: {
40609
40998
  types: [
40610
40999
  "boolean"
40611
41000
  ],
40612
- description: "interactive prop",
40613
- default: false
41001
+ description: "2D: pointer interaction (click/hover). 3D: orbit camera controls."
40614
41002
  },
40615
41003
  animate: {
40616
41004
  types: [
40617
41005
  "boolean"
40618
41006
  ],
40619
- description: "animate prop",
41007
+ description: "2D only: continuous redraw loop. 3D motion is entity-state driven.",
40620
41008
  default: false
40621
41009
  },
40622
41010
  onShapeClick: {
@@ -41467,7 +41855,12 @@ var patterns_registry_default = {
41467
41855
  types: [
41468
41856
  "object"
41469
41857
  ],
41470
- description: "style prop"
41858
+ description: "style prop",
41859
+ mapValue: {
41860
+ types: [
41861
+ "string"
41862
+ ]
41863
+ }
41471
41864
  },
41472
41865
  "aria-hidden": {
41473
41866
  types: [
@@ -41543,7 +41936,12 @@ var patterns_registry_default = {
41543
41936
  types: [
41544
41937
  "object"
41545
41938
  ],
41546
- description: "style prop"
41939
+ description: "style prop",
41940
+ mapValue: {
41941
+ types: [
41942
+ "string"
41943
+ ]
41944
+ }
41547
41945
  },
41548
41946
  children: {
41549
41947
  types: [
@@ -41678,6 +42076,22 @@ var patterns_registry_default = {
41678
42076
  items: {
41679
42077
  types: [
41680
42078
  "object"
42079
+ ],
42080
+ properties: {
42081
+ x: {
42082
+ types: [
42083
+ "number"
42084
+ ]
42085
+ },
42086
+ y: {
42087
+ types: [
42088
+ "number"
42089
+ ]
42090
+ }
42091
+ },
42092
+ required: [
42093
+ "x",
42094
+ "y"
41681
42095
  ]
41682
42096
  }
41683
42097
  },
@@ -41712,16 +42126,64 @@ var patterns_registry_default = {
41712
42126
  from: {
41713
42127
  types: [
41714
42128
  "object"
42129
+ ],
42130
+ properties: {
42131
+ x: {
42132
+ types: [
42133
+ "number"
42134
+ ]
42135
+ },
42136
+ y: {
42137
+ types: [
42138
+ "number"
42139
+ ]
42140
+ }
42141
+ },
42142
+ required: [
42143
+ "x",
42144
+ "y"
41715
42145
  ]
41716
42146
  },
41717
42147
  to: {
41718
42148
  types: [
41719
42149
  "object"
42150
+ ],
42151
+ properties: {
42152
+ x: {
42153
+ types: [
42154
+ "number"
42155
+ ]
42156
+ },
42157
+ y: {
42158
+ types: [
42159
+ "number"
42160
+ ]
42161
+ }
42162
+ },
42163
+ required: [
42164
+ "x",
42165
+ "y"
41720
42166
  ]
41721
42167
  },
41722
42168
  center: {
41723
42169
  types: [
41724
42170
  "object"
42171
+ ],
42172
+ properties: {
42173
+ x: {
42174
+ types: [
42175
+ "number"
42176
+ ]
42177
+ },
42178
+ y: {
42179
+ types: [
42180
+ "number"
42181
+ ]
42182
+ }
42183
+ },
42184
+ required: [
42185
+ "x",
42186
+ "y"
41725
42187
  ]
41726
42188
  },
41727
42189
  radius: {
@@ -41821,16 +42283,64 @@ var patterns_registry_default = {
41821
42283
  from: {
41822
42284
  types: [
41823
42285
  "object"
42286
+ ],
42287
+ properties: {
42288
+ x: {
42289
+ types: [
42290
+ "number"
42291
+ ]
42292
+ },
42293
+ y: {
42294
+ types: [
42295
+ "number"
42296
+ ]
42297
+ }
42298
+ },
42299
+ required: [
42300
+ "x",
42301
+ "y"
41824
42302
  ]
41825
42303
  },
41826
42304
  to: {
41827
42305
  types: [
41828
42306
  "object"
42307
+ ],
42308
+ properties: {
42309
+ x: {
42310
+ types: [
42311
+ "number"
42312
+ ]
42313
+ },
42314
+ y: {
42315
+ types: [
42316
+ "number"
42317
+ ]
42318
+ }
42319
+ },
42320
+ required: [
42321
+ "x",
42322
+ "y"
41829
42323
  ]
41830
42324
  },
41831
42325
  center: {
41832
42326
  types: [
41833
42327
  "object"
42328
+ ],
42329
+ properties: {
42330
+ x: {
42331
+ types: [
42332
+ "number"
42333
+ ]
42334
+ },
42335
+ y: {
42336
+ types: [
42337
+ "number"
42338
+ ]
42339
+ }
42340
+ },
42341
+ required: [
42342
+ "x",
42343
+ "y"
41834
42344
  ]
41835
42345
  },
41836
42346
  radius: {
@@ -41921,7 +42431,23 @@ var patterns_registry_default = {
41921
42431
  types: [
41922
42432
  "object"
41923
42433
  ],
41924
- description: "Rotation pivot in world units relative to the cell's projected top-left; default `{x:0.5, y:0.5}` (cell center)."
42434
+ description: "Rotation pivot in world units relative to the cell's projected top-left; default `{x:0.5, y:0.5}` (cell center).",
42435
+ properties: {
42436
+ x: {
42437
+ types: [
42438
+ "number"
42439
+ ]
42440
+ },
42441
+ y: {
42442
+ types: [
42443
+ "number"
42444
+ ]
42445
+ }
42446
+ },
42447
+ propertyRequired: [
42448
+ "x",
42449
+ "y"
42450
+ ]
41925
42451
  },
41926
42452
  shadow: {
41927
42453
  types: [
@@ -42255,7 +42781,35 @@ var patterns_registry_default = {
42255
42781
  types: [
42256
42782
  "object"
42257
42783
  ],
42258
- description: "Explicit atlas sub-rect override (px); omitted \u2192 resolved from `asset.atlas`/`asset.sprite`."
42784
+ description: "Explicit atlas sub-rect override (px); omitted \u2192 resolved from `asset.atlas`/`asset.sprite`.",
42785
+ properties: {
42786
+ x: {
42787
+ types: [
42788
+ "number"
42789
+ ]
42790
+ },
42791
+ y: {
42792
+ types: [
42793
+ "number"
42794
+ ]
42795
+ },
42796
+ w: {
42797
+ types: [
42798
+ "number"
42799
+ ]
42800
+ },
42801
+ h: {
42802
+ types: [
42803
+ "number"
42804
+ ]
42805
+ }
42806
+ },
42807
+ propertyRequired: [
42808
+ "x",
42809
+ "y",
42810
+ "w",
42811
+ "h"
42812
+ ]
42259
42813
  },
42260
42814
  animation: {
42261
42815
  types: [
@@ -42291,7 +42845,23 @@ var patterns_registry_default = {
42291
42845
  types: [
42292
42846
  "object"
42293
42847
  ],
42294
- description: "Drop shadow (e.g. a team-colored glow)."
42848
+ description: "Drop shadow (e.g. a team-colored glow).",
42849
+ properties: {
42850
+ color: {
42851
+ types: [
42852
+ "string"
42853
+ ]
42854
+ },
42855
+ blur: {
42856
+ types: [
42857
+ "number"
42858
+ ]
42859
+ }
42860
+ },
42861
+ propertyRequired: [
42862
+ "color",
42863
+ "blur"
42864
+ ]
42295
42865
  }
42296
42866
  },
42297
42867
  drawable: true
@@ -42391,15 +42961,30 @@ var patterns_registry_default = {
42391
42961
  },
42392
42962
  align: {
42393
42963
  types: [
42394
- "object"
42964
+ "string"
42395
42965
  ],
42396
- description: "align prop"
42966
+ description: "align prop",
42967
+ enumValues: [
42968
+ "center",
42969
+ "end",
42970
+ "left",
42971
+ "right",
42972
+ "start"
42973
+ ]
42397
42974
  },
42398
42975
  baseline: {
42399
42976
  types: [
42400
- "object"
42977
+ "string"
42401
42978
  ],
42402
- description: "baseline prop"
42979
+ description: "baseline prop",
42980
+ enumValues: [
42981
+ "alphabetic",
42982
+ "bottom",
42983
+ "hanging",
42984
+ "ideographic",
42985
+ "middle",
42986
+ "top"
42987
+ ]
42403
42988
  },
42404
42989
  opacity: {
42405
42990
  types: [
@@ -42534,6 +43119,22 @@ var patterns_registry_default = {
42534
43119
  items: {
42535
43120
  types: [
42536
43121
  "object"
43122
+ ],
43123
+ properties: {
43124
+ x: {
43125
+ types: [
43126
+ "number"
43127
+ ]
43128
+ },
43129
+ y: {
43130
+ types: [
43131
+ "number"
43132
+ ]
43133
+ }
43134
+ },
43135
+ required: [
43136
+ "x",
43137
+ "y"
42537
43138
  ]
42538
43139
  }
42539
43140
  },
@@ -42565,16 +43166,64 @@ var patterns_registry_default = {
42565
43166
  from: {
42566
43167
  types: [
42567
43168
  "object"
43169
+ ],
43170
+ properties: {
43171
+ x: {
43172
+ types: [
43173
+ "number"
43174
+ ]
43175
+ },
43176
+ y: {
43177
+ types: [
43178
+ "number"
43179
+ ]
43180
+ }
43181
+ },
43182
+ required: [
43183
+ "x",
43184
+ "y"
42568
43185
  ]
42569
43186
  },
42570
43187
  to: {
42571
43188
  types: [
42572
43189
  "object"
43190
+ ],
43191
+ properties: {
43192
+ x: {
43193
+ types: [
43194
+ "number"
43195
+ ]
43196
+ },
43197
+ y: {
43198
+ types: [
43199
+ "number"
43200
+ ]
43201
+ }
43202
+ },
43203
+ required: [
43204
+ "x",
43205
+ "y"
42573
43206
  ]
42574
43207
  },
42575
43208
  center: {
42576
43209
  types: [
42577
43210
  "object"
43211
+ ],
43212
+ properties: {
43213
+ x: {
43214
+ types: [
43215
+ "number"
43216
+ ]
43217
+ },
43218
+ y: {
43219
+ types: [
43220
+ "number"
43221
+ ]
43222
+ }
43223
+ },
43224
+ required: [
43225
+ "x",
43226
+ "y"
42578
43227
  ]
42579
43228
  },
42580
43229
  radius: {
@@ -42670,16 +43319,64 @@ var patterns_registry_default = {
42670
43319
  from: {
42671
43320
  types: [
42672
43321
  "object"
43322
+ ],
43323
+ properties: {
43324
+ x: {
43325
+ types: [
43326
+ "number"
43327
+ ]
43328
+ },
43329
+ y: {
43330
+ types: [
43331
+ "number"
43332
+ ]
43333
+ }
43334
+ },
43335
+ required: [
43336
+ "x",
43337
+ "y"
42673
43338
  ]
42674
43339
  },
42675
43340
  to: {
42676
43341
  types: [
42677
43342
  "object"
43343
+ ],
43344
+ properties: {
43345
+ x: {
43346
+ types: [
43347
+ "number"
43348
+ ]
43349
+ },
43350
+ y: {
43351
+ types: [
43352
+ "number"
43353
+ ]
43354
+ }
43355
+ },
43356
+ required: [
43357
+ "x",
43358
+ "y"
42678
43359
  ]
42679
43360
  },
42680
43361
  center: {
42681
43362
  types: [
42682
43363
  "object"
43364
+ ],
43365
+ properties: {
43366
+ x: {
43367
+ types: [
43368
+ "number"
43369
+ ]
43370
+ },
43371
+ y: {
43372
+ types: [
43373
+ "number"
43374
+ ]
43375
+ }
43376
+ },
43377
+ required: [
43378
+ "x",
43379
+ "y"
42683
43380
  ]
42684
43381
  },
42685
43382
  radius: {
@@ -42764,6 +43461,22 @@ var patterns_registry_default = {
42764
43461
  pivot: {
42765
43462
  types: [
42766
43463
  "object"
43464
+ ],
43465
+ properties: {
43466
+ x: {
43467
+ types: [
43468
+ "number"
43469
+ ]
43470
+ },
43471
+ y: {
43472
+ types: [
43473
+ "number"
43474
+ ]
43475
+ }
43476
+ },
43477
+ required: [
43478
+ "x",
43479
+ "y"
42767
43480
  ]
42768
43481
  },
42769
43482
  shadow: {
@@ -43112,6 +43825,34 @@ var patterns_registry_default = {
43112
43825
  frame: {
43113
43826
  types: [
43114
43827
  "object"
43828
+ ],
43829
+ properties: {
43830
+ x: {
43831
+ types: [
43832
+ "number"
43833
+ ]
43834
+ },
43835
+ y: {
43836
+ types: [
43837
+ "number"
43838
+ ]
43839
+ },
43840
+ w: {
43841
+ types: [
43842
+ "number"
43843
+ ]
43844
+ },
43845
+ h: {
43846
+ types: [
43847
+ "number"
43848
+ ]
43849
+ }
43850
+ },
43851
+ required: [
43852
+ "x",
43853
+ "y",
43854
+ "w",
43855
+ "h"
43115
43856
  ]
43116
43857
  },
43117
43858
  animation: {
@@ -43142,6 +43883,22 @@ var patterns_registry_default = {
43142
43883
  shadow: {
43143
43884
  types: [
43144
43885
  "object"
43886
+ ],
43887
+ properties: {
43888
+ color: {
43889
+ types: [
43890
+ "string"
43891
+ ]
43892
+ },
43893
+ blur: {
43894
+ types: [
43895
+ "number"
43896
+ ]
43897
+ }
43898
+ },
43899
+ required: [
43900
+ "color",
43901
+ "blur"
43145
43902
  ]
43146
43903
  }
43147
43904
  },
@@ -43257,12 +44014,27 @@ var patterns_registry_default = {
43257
44014
  },
43258
44015
  align: {
43259
44016
  types: [
43260
- "object"
44017
+ "string"
44018
+ ],
44019
+ enumValues: [
44020
+ "center",
44021
+ "end",
44022
+ "left",
44023
+ "right",
44024
+ "start"
43261
44025
  ]
43262
44026
  },
43263
44027
  baseline: {
43264
44028
  types: [
43265
- "object"
44029
+ "string"
44030
+ ],
44031
+ enumValues: [
44032
+ "alphabetic",
44033
+ "bottom",
44034
+ "hanging",
44035
+ "ideographic",
44036
+ "middle",
44037
+ "top"
43266
44038
  ]
43267
44039
  },
43268
44040
  opacity: {
@@ -45808,7 +46580,7 @@ var integrators_registry_default = {
45808
46580
  // src/patterns/component-mapping.json
45809
46581
  var component_mapping_default = {
45810
46582
  version: "1.0.0",
45811
- exportedAt: "2026-08-16T04:34:48.224Z",
46583
+ exportedAt: "2026-08-17T13:06:21.152Z",
45812
46584
  mappings: {
45813
46585
  "page-header": {
45814
46586
  component: "PageHeader",
@@ -47203,7 +47975,7 @@ var component_mapping_default = {
47203
47975
  // src/patterns/event-contracts.json
47204
47976
  var event_contracts_default = {
47205
47977
  version: "1.0.0",
47206
- exportedAt: "2026-08-16T04:34:48.224Z",
47978
+ exportedAt: "2026-08-17T13:06:21.152Z",
47207
47979
  contracts: {
47208
47980
  form: {
47209
47981
  emits: [
@@ -49202,7 +49974,11 @@ function inferTsType(schemaType) {
49202
49974
  timestamp: "number",
49203
49975
  array: "unknown[]",
49204
49976
  object: "Record<string, unknown>",
49205
- any: "unknown"
49977
+ any: "unknown",
49978
+ // Renderable UI content — the canonical pattern-tree type from
49979
+ // render-ui-edit.ts. Without this entry the raw tag `node` would leak
49980
+ // out as a (nonexistent) TS type name.
49981
+ node: "PatternNode | PatternNode[]"
49206
49982
  };
49207
49983
  if (schemaType.endsWith("[]")) {
49208
49984
  const baseType = schemaType.slice(0, -2);
@@ -51047,6 +51823,8 @@ function signatureFieldToEntityField(f) {
51047
51823
  return { ...base, type: "relation", relation: f.relation };
51048
51824
  }
51049
51825
  return { ...base, type: "string" };
51826
+ case "node":
51827
+ return { ...base, type: "node" };
51050
51828
  default: {
51051
51829
  f.type;
51052
51830
  return { ...base, type: "string" };