@almadar/core 10.41.0 → 10.42.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
@@ -1078,19 +1078,7 @@ var TraitSchema = z.object({
1078
1078
  });
1079
1079
  var TraitRefSchema = z.union([
1080
1080
  z.string().min(1),
1081
- z.object({
1082
- ref: z.string().min(1),
1083
- config: TraitConfigSchema.optional(),
1084
- linkedEntity: z.string().optional(),
1085
- name: z.string().optional(),
1086
- // Phase F.4: same non-empty refine as TraitReferenceSchema.events.
1087
- // Both schemas accept the same call-site argument shape, so the
1088
- // validators should agree.
1089
- events: z.record(
1090
- z.string().min(1, "events key (atom event name) must be non-empty"),
1091
- z.string().min(1, "events value (caller event name) must be non-empty")
1092
- ).optional()
1093
- }),
1081
+ TraitReferenceSchema,
1094
1082
  TraitSchema
1095
1083
  // Allow inline trait definitions
1096
1084
  ]);
@@ -2005,6 +1993,12 @@ var MOCK_PERSONAS = [
2005
1993
  { id: "member-1", name: "Maya Member", email: "maya@example.com", role: "member", permissions: ["read"] },
2006
1994
  { id: "customer-1", name: "Cai Customer", email: "cai@example.com", role: "customer", permissions: ["read"] }
2007
1995
  ];
1996
+ var DEFAULT_VIEWER = {
1997
+ id: "viewer-1",
1998
+ name: "Dev Viewer",
1999
+ email: "viewer@example.com",
2000
+ role: ""
2001
+ };
2008
2002
  function findMockPersona(idOrRole) {
2009
2003
  return MOCK_PERSONAS.find((p) => p.id === idOrRole) ?? MOCK_PERSONAS.find((p) => p.role === idOrRole);
2010
2004
  }
@@ -2112,7 +2106,7 @@ function getInteractionModelForDomain(domain) {
2112
2106
  // src/patterns/patterns-registry.json
2113
2107
  var patterns_registry_default = {
2114
2108
  version: "1.0.0",
2115
- exportedAt: "2026-07-28T14:48:23.507Z",
2109
+ exportedAt: "2026-07-28T16:34:50.202Z",
2116
2110
  patterns: {
2117
2111
  "entity-table": {
2118
2112
  type: "entity-table",
@@ -20269,6 +20263,22 @@ var patterns_registry_default = {
20269
20263
  description: 'Max items to show before "Show More" button. Defaults to 5. Set to 0 to disable.',
20270
20264
  default: 5
20271
20265
  },
20266
+ sortBy: {
20267
+ types: [
20268
+ "string"
20269
+ ],
20270
+ description: "Field name to order rows by. Values are compared by their own type \u2014 numbers numerically, date-like strings chronologically, everything else alphabetically \u2014 never by what the field is called. Empty cells sort last. Unset leaves the incoming order untouched. Orders only the rows already fetched: a collection larger than its `limit` still needs ordering at the data layer."
20271
+ },
20272
+ sortDirection: {
20273
+ types: [
20274
+ "string"
20275
+ ],
20276
+ description: "Direction for `sortBy`. Defaults to ascending.",
20277
+ enumValues: [
20278
+ "asc",
20279
+ "desc"
20280
+ ]
20281
+ },
20272
20282
  look: {
20273
20283
  types: [
20274
20284
  "string"
@@ -41319,7 +41329,8 @@ var patterns_registry_default = {
41319
41329
  "cell",
41320
41330
  "rect",
41321
41331
  "ellipse",
41322
- "poly"
41332
+ "poly",
41333
+ "path"
41323
41334
  ]
41324
41335
  },
41325
41336
  position: {
@@ -41404,6 +41415,12 @@ var patterns_registry_default = {
41404
41415
  ]
41405
41416
  }
41406
41417
  },
41418
+ d: {
41419
+ types: [
41420
+ "string"
41421
+ ],
41422
+ description: "SVG path data in world units relative to the cell's projected top-left \u2014 same coordinate convention as `points`."
41423
+ },
41407
41424
  fill: {
41408
41425
  types: [
41409
41426
  "string"
@@ -41804,7 +41821,8 @@ var patterns_registry_default = {
41804
41821
  "cell",
41805
41822
  "rect",
41806
41823
  "ellipse",
41807
- "poly"
41824
+ "poly",
41825
+ "path"
41808
41826
  ]
41809
41827
  },
41810
41828
  position: {
@@ -41879,6 +41897,11 @@ var patterns_registry_default = {
41879
41897
  ]
41880
41898
  }
41881
41899
  },
41900
+ d: {
41901
+ types: [
41902
+ "string"
41903
+ ]
41904
+ },
41882
41905
  fill: {
41883
41906
  types: [
41884
41907
  "string"
@@ -43026,175 +43049,72 @@ var patterns_registry_default = {
43026
43049
  }
43027
43050
  }
43028
43051
  },
43029
- "svg-draw-group": {
43030
- type: "svg-draw-group",
43052
+ "draw-group": {
43053
+ type: "draw-group",
43031
43054
  category: "game",
43032
43055
  tier: "atoms",
43033
43056
  family: "game",
43034
- description: "SvgDrawGroup component",
43057
+ description: "DrawGroup component",
43035
43058
  suggestedFor: [
43036
- "svg",
43037
43059
  "draw",
43038
43060
  "group",
43039
- "svg draw group"
43061
+ "draw group"
43040
43062
  ],
43041
43063
  typicalSize: "small",
43042
43064
  propsSchema: {
43043
- x: {
43044
- types: [
43045
- "number"
43046
- ],
43047
- description: "Grid-cell x of the group's origin.",
43048
- default: 0
43049
- },
43050
- y: {
43051
- types: [
43052
- "number"
43053
- ],
43054
- description: "Grid-cell y of the group's origin.",
43055
- default: 0
43056
- },
43057
- scale: {
43058
- types: [
43059
- "number"
43060
- ],
43061
- description: "Uniform scale applied after the translate."
43062
- },
43063
- rotate: {
43064
- types: [
43065
- "number"
43066
- ],
43067
- description: "Rotation in degrees applied after the translate."
43068
- },
43069
- opacity: {
43070
- types: [
43071
- "number"
43072
- ],
43073
- description: "0..1 opacity."
43074
- },
43075
- className: {
43076
- types: [
43077
- "string"
43078
- ],
43079
- description: "Additional CSS classes"
43080
- },
43081
- children: {
43082
- types: [
43083
- "node"
43084
- ],
43085
- description: "children prop"
43086
- }
43087
- }
43088
- },
43089
- "svg-draw-shape": {
43090
- type: "svg-draw-shape",
43091
- category: "game",
43092
- tier: "atoms",
43093
- family: "game",
43094
- description: "SvgDrawShape component",
43095
- suggestedFor: [
43096
- "svg",
43097
- "draw",
43098
- "shape",
43099
- "svg draw shape"
43100
- ],
43101
- typicalSize: "small",
43102
- propsSchema: {
43103
- shape: {
43065
+ id: {
43104
43066
  types: [
43105
43067
  "string"
43106
43068
  ],
43107
- description: "shape prop",
43108
- required: true,
43109
- enumValues: [
43110
- "rect",
43111
- "circle",
43112
- "ellipse",
43113
- "polygon",
43114
- "polyline",
43115
- "path",
43116
- "line"
43117
- ]
43118
- },
43119
- x: {
43120
- types: [
43121
- "number"
43122
- ],
43123
- description: "Grid-cell x of the element's translated origin.",
43124
- required: true
43069
+ description: "Optional source-tagged hit-test handle \u2014 the host indexes the drawable's ScenePos\u2192id so a pointer/raycast at that cell resolves to this id (unit/entity click). No id \u2192 the host emits only the coordinate (tile click)."
43125
43070
  },
43126
- y: {
43071
+ type: {
43127
43072
  types: [
43128
- "number"
43073
+ "unknown"
43129
43074
  ],
43130
- description: "Grid-cell y of the element's translated origin.",
43075
+ description: "type prop",
43131
43076
  required: true
43132
43077
  },
43133
- width: {
43134
- types: [
43135
- "number"
43136
- ],
43137
- description: "Rect width in cell units."
43138
- },
43139
- height: {
43140
- types: [
43141
- "number"
43142
- ],
43143
- description: "Rect height in cell units."
43144
- },
43145
- radius: {
43146
- types: [
43147
- "number"
43148
- ],
43149
- description: "Circle radius / ellipse horizontal radius in cell units."
43150
- },
43151
- radiusY: {
43152
- types: [
43153
- "number"
43154
- ],
43155
- description: "Ellipse vertical radius in cell units; omitted \u2192 `radius` (a circle)."
43156
- },
43157
- points: {
43158
- types: [
43159
- "string"
43160
- ],
43161
- description: "Polygon/polyline points, viewBox units relative to the translated origin."
43162
- },
43163
- d: {
43078
+ position: {
43164
43079
  types: [
43165
- "string"
43080
+ "object"
43166
43081
  ],
43167
- description: "Path data, viewBox units relative to the translated origin."
43168
- },
43169
- x2: {
43170
- types: [
43171
- "number"
43082
+ description: "Logical scene position; the projector maps it to pixels / world.",
43083
+ required: true,
43084
+ properties: {
43085
+ x: {
43086
+ types: [
43087
+ "number"
43088
+ ]
43089
+ },
43090
+ y: {
43091
+ types: [
43092
+ "number"
43093
+ ]
43094
+ },
43095
+ z: {
43096
+ types: [
43097
+ "number"
43098
+ ]
43099
+ }
43100
+ },
43101
+ propertyRequired: [
43102
+ "x",
43103
+ "y"
43172
43104
  ],
43173
- description: "Line end x in cell units."
43105
+ scenePos: true
43174
43106
  },
43175
- y2: {
43107
+ scale: {
43176
43108
  types: [
43177
43109
  "number"
43178
43110
  ],
43179
- description: "Line end y in cell units."
43111
+ description: "Uniform scale applied to the whole group."
43180
43112
  },
43181
- fill: {
43182
- types: [
43183
- "string"
43184
- ],
43185
- description: "fill prop"
43186
- },
43187
- stroke: {
43188
- types: [
43189
- "string"
43190
- ],
43191
- description: "stroke prop"
43192
- },
43193
- strokeWidth: {
43113
+ rotate: {
43194
43114
  types: [
43195
43115
  "number"
43196
43116
  ],
43197
- description: "strokeWidth prop"
43117
+ description: "Rotation in radians (painter units)."
43198
43118
  },
43199
43119
  opacity: {
43200
43120
  types: [
@@ -43202,268 +43122,22 @@ var patterns_registry_default = {
43202
43122
  ],
43203
43123
  description: "0..1 opacity."
43204
43124
  },
43205
- className: {
43206
- types: [
43207
- "string"
43208
- ],
43209
- description: "Additional CSS classes"
43210
- }
43211
- }
43212
- },
43213
- "svg-draw-text": {
43214
- type: "svg-draw-text",
43215
- category: "game",
43216
- tier: "atoms",
43217
- family: "game",
43218
- description: "SvgDrawText component",
43219
- suggestedFor: [
43220
- "svg",
43221
- "draw",
43222
- "text",
43223
- "svg draw text"
43224
- ],
43225
- typicalSize: "small",
43226
- propsSchema: {
43227
- x: {
43228
- types: [
43229
- "number"
43230
- ],
43231
- description: "Grid-cell x of the text anchor.",
43232
- required: true
43233
- },
43234
- y: {
43235
- types: [
43236
- "number"
43237
- ],
43238
- description: "Grid-cell y of the text anchor.",
43239
- required: true
43240
- },
43241
- text: {
43242
- types: [
43243
- "string"
43244
- ],
43245
- description: "The text content.",
43246
- required: true
43247
- },
43248
- size: {
43249
- types: [
43250
- "number"
43251
- ],
43252
- description: "Font size in viewBox units (default 12).",
43253
- default: 12
43254
- },
43255
- fill: {
43256
- types: [
43257
- "string"
43258
- ],
43259
- description: "fill prop",
43260
- default: "var(--color-foreground)"
43261
- },
43262
- anchor: {
43263
- types: [
43264
- "string"
43265
- ],
43266
- description: "Text anchor (default 'middle').",
43267
- enumValues: [
43268
- "start",
43269
- "middle",
43270
- "end"
43271
- ],
43272
- default: "middle"
43273
- },
43274
- className: {
43275
- types: [
43276
- "string"
43277
- ],
43278
- description: "Additional CSS classes"
43279
- }
43280
- }
43281
- },
43282
- "svg-draw-shape-layer": {
43283
- type: "svg-draw-shape-layer",
43284
- category: "game",
43285
- tier: "molecules",
43286
- family: "game",
43287
- description: "SvgDrawShapeLayer component",
43288
- suggestedFor: [
43289
- "svg",
43290
- "draw",
43291
- "shape",
43292
- "layer",
43293
- "svg draw shape layer"
43294
- ],
43295
- typicalSize: "medium",
43296
- propsSchema: {
43297
43125
  items: {
43298
43126
  types: [
43299
43127
  "array"
43300
43128
  ],
43301
- description: "items prop",
43129
+ description: "The grouped drawables, painted through the normal dispatch.",
43302
43130
  required: true,
43303
43131
  items: {
43304
43132
  types: [
43305
43133
  "object"
43306
43134
  ],
43307
- properties: {
43308
- id: {
43309
- types: [
43310
- "string"
43311
- ]
43312
- }
43313
- },
43314
- required: [
43315
- "id"
43316
- ]
43317
- }
43318
- },
43319
- fill: {
43320
- types: [
43321
- "string"
43322
- ],
43323
- description: "Default fill for items that don't set one."
43324
- },
43325
- stroke: {
43326
- types: [
43327
- "string"
43328
- ],
43329
- description: "Default stroke for items that don't set one."
43330
- },
43331
- strokeWidth: {
43332
- types: [
43333
- "number"
43334
- ],
43335
- description: "Default strokeWidth for items that don't set one."
43336
- },
43337
- opacity: {
43338
- types: [
43339
- "number"
43340
- ],
43341
- description: "Default 0..1 opacity for items that don't set one."
43342
- }
43343
- }
43344
- },
43345
- "svg-stage": {
43346
- type: "svg-stage",
43347
- category: "game",
43348
- tier: "molecules",
43349
- family: "game",
43350
- description: "SvgStage component",
43351
- suggestedFor: [
43352
- "svg",
43353
- "stage",
43354
- "svg stage"
43355
- ],
43356
- typicalSize: "medium",
43357
- propsSchema: {
43358
- cols: {
43359
- types: [
43360
- "number"
43361
- ],
43362
- description: "Grid width in cells.",
43363
- required: true
43364
- },
43365
- rows: {
43366
- types: [
43367
- "number"
43368
- ],
43369
- description: "Grid height in cells.",
43370
- required: true
43371
- },
43372
- tileSize: {
43373
- types: [
43374
- "number"
43375
- ],
43376
- description: "ViewBox units per cell (default 32); viewBox is `0 0 cols*tileSize rows*tileSize`.",
43377
- default: 32
43378
- },
43379
- background: {
43380
- types: [
43381
- "string"
43382
- ],
43383
- description: "Background rect fill (default `var(--color-background)`).",
43384
- default: "var(--color-background)"
43385
- },
43386
- tileClickEvent: {
43387
- types: [
43388
- "string"
43389
- ],
43390
- description: "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer up (<5px drag).",
43391
- kind: "event-ref",
43392
- emitPayloadSchema: [
43393
- {
43394
- name: "x",
43395
- type: "number",
43396
- required: true
43397
- },
43398
- {
43399
- name: "y",
43400
- type: "number",
43401
- required: true
43402
- }
43403
- ]
43404
- },
43405
- tileHoverEvent: {
43406
- types: [
43407
- "string"
43408
- ],
43409
- description: "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer move.",
43410
- kind: "event-ref",
43411
- emitPayloadSchema: [
43412
- {
43413
- name: "x",
43414
- type: "number",
43415
- required: true
43416
- },
43417
- {
43418
- name: "y",
43419
- type: "number",
43420
- required: true
43421
- }
43422
- ]
43423
- },
43424
- tileLeaveEvent: {
43425
- types: [
43426
- "string"
43427
- ],
43428
- description: "Emitted as `UI:<event>` with `{}` when the pointer leaves the stage.",
43429
- kind: "event-ref",
43430
- emitPayloadSchema: []
43431
- },
43432
- keyMap: {
43433
- types: [
43434
- "object"
43435
- ],
43436
- description: "Keyboard \u2192 semantic events: `e.code` \u2192 event name, emitted as `UI:<event>` with `{}`.",
43437
- mapValue: {
43438
- types: [
43439
- "string"
43440
- ]
43441
- }
43442
- },
43443
- keyUpMap: {
43444
- types: [
43445
- "object"
43446
- ],
43447
- description: "Keyup counterpart of `keyMap`.",
43448
- mapValue: {
43449
- types: [
43450
- "string"
43451
- ]
43135
+ drawableSlot: true
43452
43136
  }
43453
- },
43454
- className: {
43455
- types: [
43456
- "string"
43457
- ],
43458
- description: "Additional CSS classes"
43459
- },
43460
- children: {
43461
- types: [
43462
- "node"
43463
- ],
43464
- description: "children prop"
43465
43137
  }
43466
- }
43138
+ },
43139
+ drawable: true,
43140
+ drawHost: true
43467
43141
  }
43468
43142
  },
43469
43143
  categories: [
@@ -44385,7 +44059,7 @@ var integrators_registry_default = {
44385
44059
  // src/patterns/component-mapping.json
44386
44060
  var component_mapping_default = {
44387
44061
  version: "1.0.0",
44388
- exportedAt: "2026-07-28T14:48:23.507Z",
44062
+ exportedAt: "2026-07-28T16:34:50.202Z",
44389
44063
  mappings: {
44390
44064
  "page-header": {
44391
44065
  component: "PageHeader",
@@ -45759,29 +45433,9 @@ var component_mapping_default = {
45759
45433
  importPath: "@/components/core/molecules/ImportSourcePicker",
45760
45434
  category: "component"
45761
45435
  },
45762
- "svg-draw-group": {
45763
- component: "SvgDrawGroup",
45764
- importPath: "@/components/game/atoms/SvgDrawGroup",
45765
- category: "game"
45766
- },
45767
- "svg-draw-shape": {
45768
- component: "SvgDrawShape",
45769
- importPath: "@/components/game/atoms/SvgDrawShape",
45770
- category: "game"
45771
- },
45772
- "svg-draw-text": {
45773
- component: "SvgDrawText",
45774
- importPath: "@/components/game/atoms/SvgDrawText",
45775
- category: "game"
45776
- },
45777
- "svg-draw-shape-layer": {
45778
- component: "SvgDrawShapeLayer",
45779
- importPath: "@/components/game/molecules/SvgDrawShapeLayer",
45780
- category: "game"
45781
- },
45782
- "svg-stage": {
45783
- component: "SvgStage",
45784
- importPath: "@/components/game/molecules/SvgStage",
45436
+ "draw-group": {
45437
+ component: "DrawGroup",
45438
+ importPath: "@/components/game/atoms/DrawGroup",
45785
45439
  category: "game"
45786
45440
  }
45787
45441
  }
@@ -45790,7 +45444,7 @@ var component_mapping_default = {
45790
45444
  // src/patterns/event-contracts.json
45791
45445
  var event_contracts_default = {
45792
45446
  version: "1.0.0",
45793
- exportedAt: "2026-07-28T14:48:23.507Z",
45447
+ exportedAt: "2026-07-28T16:34:50.202Z",
45794
45448
  contracts: {
45795
45449
  form: {
45796
45450
  emits: [
@@ -47020,6 +46674,7 @@ var PATTERN_TYPES = [
47020
46674
  "doc-sidebar",
47021
46675
  "doc-toc",
47022
46676
  "document-viewer",
46677
+ "draw-group",
47023
46678
  "draw-shape",
47024
46679
  "draw-shape-layer",
47025
46680
  "draw-sprite",
@@ -47171,10 +46826,6 @@ var PATTERN_TYPES = [
47171
46826
  "subagent-trace-panel",
47172
46827
  "svg-branch",
47173
46828
  "svg-connection",
47174
- "svg-draw-group",
47175
- "svg-draw-shape",
47176
- "svg-draw-shape-layer",
47177
- "svg-draw-text",
47178
46829
  "svg-flow",
47179
46830
  "svg-grid",
47180
46831
  "svg-lobe",
@@ -47185,7 +46836,6 @@ var PATTERN_TYPES = [
47185
46836
  "svg-ring",
47186
46837
  "svg-shield",
47187
46838
  "svg-stack",
47188
- "svg-stage",
47189
46839
  "swipeable-row",
47190
46840
  "switch",
47191
46841
  "tabbed-container",
@@ -48451,6 +48101,30 @@ function collectTraitConfigRefAdjacency(orbital) {
48451
48101
  }
48452
48102
  return out;
48453
48103
  }
48104
+ function traitDeclaresConfigForward(trait) {
48105
+ const config = trait?.config;
48106
+ if (!config) return false;
48107
+ let found = false;
48108
+ const walk = (value) => {
48109
+ if (found || value === null || value === void 0) return;
48110
+ if (typeof value === "string") {
48111
+ if (CONFIG_FORWARD_RE.test(value)) found = true;
48112
+ return;
48113
+ }
48114
+ if (Array.isArray(value)) {
48115
+ for (const item of value) walk(item);
48116
+ return;
48117
+ }
48118
+ if (typeof value === "object") {
48119
+ for (const v of Object.values(value)) walk(v);
48120
+ }
48121
+ };
48122
+ for (const field of Object.values(config)) {
48123
+ walk(field?.default);
48124
+ if (found) return true;
48125
+ }
48126
+ return false;
48127
+ }
48454
48128
  function resolveForwardsDeep(value, referrerConfig, consumed) {
48455
48129
  if (typeof value === "string") {
48456
48130
  const match = CONFIG_FORWARD_RE.exec(value);
@@ -50790,6 +50464,6 @@ function mergeEntityFrame(current, orderedWrites) {
50790
50464
  return next;
50791
50465
  }
50792
50466
 
50793
- export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, 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, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, MOCK_PERSONAS, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_REGISTRY, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, event_contracts_default as eventContracts, extractPayloadFieldRef, findCompatiblePatterns, findMockPersona, findService, fingerprintNode, formatRecommendationsForPrompt, gatherTensorLastDim, generatePatternDescription, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getComponentForPattern, getDefaultAnimationsForRole, getEmittedEvents, getEntity, getEntityCardinality, getInteractionModelForDomain, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEmailValue, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMainSlotRenderUi, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isTensorValue, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mapTensorLastDim, mergeEntityFrame, mintId, navigate, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, recommendPatterns, ref, registry, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
50467
+ export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EVENT_CONTRACTS, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, MOCK_PERSONAS, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_REGISTRY, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, event_contracts_default as eventContracts, extractPayloadFieldRef, findCompatiblePatterns, findMockPersona, findService, fingerprintNode, formatRecommendationsForPrompt, gatherTensorLastDim, generatePatternDescription, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getComponentForPattern, getDefaultAnimationsForRole, getEmittedEvents, getEntity, getEntityCardinality, getInteractionModelForDomain, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEmailValue, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMainSlotRenderUi, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isTensorValue, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mapTensorLastDim, mergeEntityFrame, mintId, navigate, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, recommendPatterns, ref, registry, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, traitDeclaresConfigForward, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
50794
50468
  //# sourceMappingURL=index.js.map
50795
50469
  //# sourceMappingURL=index.js.map