@almadar/core 10.48.0 → 10.50.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-07-31T10:02:24.207Z",
3
+ "exportedAt": "2026-08-01T09:06:41.875Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -41810,6 +41810,126 @@
41810
41810
  ],
41811
41811
  "description": "Rotation in radians (painter units)."
41812
41812
  },
41813
+ "rotation": {
41814
+ "types": [
41815
+ "array"
41816
+ ],
41817
+ "description": "Euler rotation `[x, y, z]` in radians (world axes) — per-axis joint rotation for the 3D backend; a group placed at a joint with children authored joint-local IS a bone. The 2D painter applies only the in-plane `z` component, after `rotate`.",
41818
+ "items": {
41819
+ "types": [
41820
+ "number"
41821
+ ]
41822
+ }
41823
+ },
41824
+ "bone": {
41825
+ "types": [
41826
+ "string"
41827
+ ],
41828
+ "description": "Skeleton bone name. A named group is addressable by a `draw-mesh` `skin` block (smooth skinning): the skinned mesh deforms with this group's animated transform. Names resolve within the nearest enclosing `skeleton: true` group (falling back to the canvas), so multiple instances of one rig never collide. Distinct from `id` (the hit-test handle)."
41829
+ },
41830
+ "skeleton": {
41831
+ "types": [
41832
+ "boolean"
41833
+ ],
41834
+ "description": "Marks this group as a skeleton SCOPE: `bone` names and `skin` bindings in its subtree resolve against each other only — one scope per rig instance."
41835
+ },
41836
+ "animation": {
41837
+ "types": [
41838
+ "object"
41839
+ ],
41840
+ "description": "Keyframe animation over the group TRANSFORM tracks (`offsetX/Y/Z` in cells, `rotateX/Y/Z` in radians, `scale`; the 2D painter also honors `opacity`) — children inherit it, so nested animated groups form a joint chain. Material tracks belong on leaf meshes.",
41841
+ "properties": {
41842
+ "durationMs": {
41843
+ "types": [
41844
+ "number"
41845
+ ]
41846
+ },
41847
+ "loop": {
41848
+ "types": [
41849
+ "boolean"
41850
+ ]
41851
+ },
41852
+ "keyframes": {
41853
+ "types": [
41854
+ "array"
41855
+ ],
41856
+ "items": {
41857
+ "types": [
41858
+ "object"
41859
+ ],
41860
+ "properties": {
41861
+ "at": {
41862
+ "types": [
41863
+ "number"
41864
+ ]
41865
+ },
41866
+ "offsetX": {
41867
+ "types": [
41868
+ "number"
41869
+ ]
41870
+ },
41871
+ "offsetY": {
41872
+ "types": [
41873
+ "number"
41874
+ ]
41875
+ },
41876
+ "offsetZ": {
41877
+ "types": [
41878
+ "number"
41879
+ ]
41880
+ },
41881
+ "rotateX": {
41882
+ "types": [
41883
+ "number"
41884
+ ]
41885
+ },
41886
+ "rotateY": {
41887
+ "types": [
41888
+ "number"
41889
+ ]
41890
+ },
41891
+ "rotateZ": {
41892
+ "types": [
41893
+ "number"
41894
+ ]
41895
+ },
41896
+ "scale": {
41897
+ "types": [
41898
+ "number"
41899
+ ]
41900
+ },
41901
+ "opacity": {
41902
+ "types": [
41903
+ "number"
41904
+ ]
41905
+ },
41906
+ "emissiveIntensity": {
41907
+ "types": [
41908
+ "number"
41909
+ ]
41910
+ },
41911
+ "color": {
41912
+ "types": [
41913
+ "string"
41914
+ ]
41915
+ },
41916
+ "emissive": {
41917
+ "types": [
41918
+ "string"
41919
+ ]
41920
+ }
41921
+ },
41922
+ "required": [
41923
+ "at"
41924
+ ]
41925
+ }
41926
+ }
41927
+ },
41928
+ "propertyRequired": [
41929
+ "durationMs",
41930
+ "keyframes"
41931
+ ]
41932
+ },
41813
41933
  "opacity": {
41814
41934
  "types": [
41815
41935
  "number"
@@ -41933,7 +42053,8 @@
41933
42053
  "cone",
41934
42054
  "torus",
41935
42055
  "plane",
41936
- "circle"
42056
+ "circle",
42057
+ "polyhedron"
41937
42058
  ]
41938
42059
  },
41939
42060
  "position": {
@@ -42013,6 +42134,107 @@
42013
42134
  ],
42014
42135
  "description": "Curved-surface tessellation, clamped 3..64 (default 24). 4–8 + `flatShading` = low-poly."
42015
42136
  },
42137
+ "vertices": {
42138
+ "types": [
42139
+ "array"
42140
+ ],
42141
+ "description": "`polyhedron` only: raw vertices as scene-frame `[x, y, z]` triples in cells, `z` = up.",
42142
+ "items": {
42143
+ "types": [
42144
+ "array"
42145
+ ],
42146
+ "items": {
42147
+ "types": [
42148
+ "number"
42149
+ ]
42150
+ }
42151
+ }
42152
+ },
42153
+ "faces": {
42154
+ "types": [
42155
+ "array"
42156
+ ],
42157
+ "description": "`polyhedron` only: triangle index triples into `vertices`, wound counter-clockwise seen from OUTSIDE in the scene frame.",
42158
+ "items": {
42159
+ "types": [
42160
+ "array"
42161
+ ],
42162
+ "items": {
42163
+ "types": [
42164
+ "number"
42165
+ ]
42166
+ }
42167
+ }
42168
+ },
42169
+ "skin": {
42170
+ "types": [
42171
+ "object"
42172
+ ],
42173
+ "description": "`polyhedron` only: smooth-skinning weights binding the vertices to named bone groups. Vertices must then be authored in BIND POSE model space; the bones' animated transforms deform them.",
42174
+ "properties": {
42175
+ "bones": {
42176
+ "types": [
42177
+ "array"
42178
+ ],
42179
+ "items": {
42180
+ "types": [
42181
+ "string"
42182
+ ]
42183
+ }
42184
+ },
42185
+ "inverseBindMatrices": {
42186
+ "types": [
42187
+ "array"
42188
+ ],
42189
+ "items": {
42190
+ "types": [
42191
+ "array"
42192
+ ],
42193
+ "items": {
42194
+ "types": [
42195
+ "number"
42196
+ ]
42197
+ }
42198
+ }
42199
+ },
42200
+ "indices": {
42201
+ "types": [
42202
+ "array"
42203
+ ],
42204
+ "items": {
42205
+ "types": [
42206
+ "array"
42207
+ ],
42208
+ "items": {
42209
+ "types": [
42210
+ "number"
42211
+ ]
42212
+ }
42213
+ }
42214
+ },
42215
+ "weights": {
42216
+ "types": [
42217
+ "array"
42218
+ ],
42219
+ "items": {
42220
+ "types": [
42221
+ "array"
42222
+ ],
42223
+ "items": {
42224
+ "types": [
42225
+ "number"
42226
+ ]
42227
+ }
42228
+ }
42229
+ }
42230
+ },
42231
+ "propertyRequired": [
42232
+ "bones",
42233
+ "inverseBindMatrices",
42234
+ "indices",
42235
+ "weights"
42236
+ ]
42237
+ },
42016
42238
  "rotation": {
42017
42239
  "types": [
42018
42240
  "array"
@@ -42028,7 +42250,7 @@
42028
42250
  "types": [
42029
42251
  "string"
42030
42252
  ],
42031
- "description": "`bottom` (default) rests the mesh on its position's ground plane; `center` centers it there.",
42253
+ "description": "`bottom` (default) rests the mesh on its position's ground plane; `center` centers it there. For `polyhedron`, `bottom` lifts by −min(z) and `center` applies no offset — the vertices are authoritative.",
42032
42254
  "enumValues": [
42033
42255
  "bottom",
42034
42256
  "center"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-07-31T10:02:24.207Z",
3
+ "exportedAt": "2026-08-01T09:06:41.875Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -41810,6 +41810,126 @@
41810
41810
  ],
41811
41811
  "description": "Rotation in radians (painter units)."
41812
41812
  },
41813
+ "rotation": {
41814
+ "types": [
41815
+ "array"
41816
+ ],
41817
+ "description": "Euler rotation `[x, y, z]` in radians (world axes) — per-axis joint rotation for the 3D backend; a group placed at a joint with children authored joint-local IS a bone. The 2D painter applies only the in-plane `z` component, after `rotate`.",
41818
+ "items": {
41819
+ "types": [
41820
+ "number"
41821
+ ]
41822
+ }
41823
+ },
41824
+ "bone": {
41825
+ "types": [
41826
+ "string"
41827
+ ],
41828
+ "description": "Skeleton bone name. A named group is addressable by a `draw-mesh` `skin` block (smooth skinning): the skinned mesh deforms with this group's animated transform. Names resolve within the nearest enclosing `skeleton: true` group (falling back to the canvas), so multiple instances of one rig never collide. Distinct from `id` (the hit-test handle)."
41829
+ },
41830
+ "skeleton": {
41831
+ "types": [
41832
+ "boolean"
41833
+ ],
41834
+ "description": "Marks this group as a skeleton SCOPE: `bone` names and `skin` bindings in its subtree resolve against each other only — one scope per rig instance."
41835
+ },
41836
+ "animation": {
41837
+ "types": [
41838
+ "object"
41839
+ ],
41840
+ "description": "Keyframe animation over the group TRANSFORM tracks (`offsetX/Y/Z` in cells, `rotateX/Y/Z` in radians, `scale`; the 2D painter also honors `opacity`) — children inherit it, so nested animated groups form a joint chain. Material tracks belong on leaf meshes.",
41841
+ "properties": {
41842
+ "durationMs": {
41843
+ "types": [
41844
+ "number"
41845
+ ]
41846
+ },
41847
+ "loop": {
41848
+ "types": [
41849
+ "boolean"
41850
+ ]
41851
+ },
41852
+ "keyframes": {
41853
+ "types": [
41854
+ "array"
41855
+ ],
41856
+ "items": {
41857
+ "types": [
41858
+ "object"
41859
+ ],
41860
+ "properties": {
41861
+ "at": {
41862
+ "types": [
41863
+ "number"
41864
+ ]
41865
+ },
41866
+ "offsetX": {
41867
+ "types": [
41868
+ "number"
41869
+ ]
41870
+ },
41871
+ "offsetY": {
41872
+ "types": [
41873
+ "number"
41874
+ ]
41875
+ },
41876
+ "offsetZ": {
41877
+ "types": [
41878
+ "number"
41879
+ ]
41880
+ },
41881
+ "rotateX": {
41882
+ "types": [
41883
+ "number"
41884
+ ]
41885
+ },
41886
+ "rotateY": {
41887
+ "types": [
41888
+ "number"
41889
+ ]
41890
+ },
41891
+ "rotateZ": {
41892
+ "types": [
41893
+ "number"
41894
+ ]
41895
+ },
41896
+ "scale": {
41897
+ "types": [
41898
+ "number"
41899
+ ]
41900
+ },
41901
+ "opacity": {
41902
+ "types": [
41903
+ "number"
41904
+ ]
41905
+ },
41906
+ "emissiveIntensity": {
41907
+ "types": [
41908
+ "number"
41909
+ ]
41910
+ },
41911
+ "color": {
41912
+ "types": [
41913
+ "string"
41914
+ ]
41915
+ },
41916
+ "emissive": {
41917
+ "types": [
41918
+ "string"
41919
+ ]
41920
+ }
41921
+ },
41922
+ "required": [
41923
+ "at"
41924
+ ]
41925
+ }
41926
+ }
41927
+ },
41928
+ "propertyRequired": [
41929
+ "durationMs",
41930
+ "keyframes"
41931
+ ]
41932
+ },
41813
41933
  "opacity": {
41814
41934
  "types": [
41815
41935
  "number"
@@ -41933,7 +42053,8 @@
41933
42053
  "cone",
41934
42054
  "torus",
41935
42055
  "plane",
41936
- "circle"
42056
+ "circle",
42057
+ "polyhedron"
41937
42058
  ]
41938
42059
  },
41939
42060
  "position": {
@@ -42013,6 +42134,107 @@
42013
42134
  ],
42014
42135
  "description": "Curved-surface tessellation, clamped 3..64 (default 24). 4–8 + `flatShading` = low-poly."
42015
42136
  },
42137
+ "vertices": {
42138
+ "types": [
42139
+ "array"
42140
+ ],
42141
+ "description": "`polyhedron` only: raw vertices as scene-frame `[x, y, z]` triples in cells, `z` = up.",
42142
+ "items": {
42143
+ "types": [
42144
+ "array"
42145
+ ],
42146
+ "items": {
42147
+ "types": [
42148
+ "number"
42149
+ ]
42150
+ }
42151
+ }
42152
+ },
42153
+ "faces": {
42154
+ "types": [
42155
+ "array"
42156
+ ],
42157
+ "description": "`polyhedron` only: triangle index triples into `vertices`, wound counter-clockwise seen from OUTSIDE in the scene frame.",
42158
+ "items": {
42159
+ "types": [
42160
+ "array"
42161
+ ],
42162
+ "items": {
42163
+ "types": [
42164
+ "number"
42165
+ ]
42166
+ }
42167
+ }
42168
+ },
42169
+ "skin": {
42170
+ "types": [
42171
+ "object"
42172
+ ],
42173
+ "description": "`polyhedron` only: smooth-skinning weights binding the vertices to named bone groups. Vertices must then be authored in BIND POSE model space; the bones' animated transforms deform them.",
42174
+ "properties": {
42175
+ "bones": {
42176
+ "types": [
42177
+ "array"
42178
+ ],
42179
+ "items": {
42180
+ "types": [
42181
+ "string"
42182
+ ]
42183
+ }
42184
+ },
42185
+ "inverseBindMatrices": {
42186
+ "types": [
42187
+ "array"
42188
+ ],
42189
+ "items": {
42190
+ "types": [
42191
+ "array"
42192
+ ],
42193
+ "items": {
42194
+ "types": [
42195
+ "number"
42196
+ ]
42197
+ }
42198
+ }
42199
+ },
42200
+ "indices": {
42201
+ "types": [
42202
+ "array"
42203
+ ],
42204
+ "items": {
42205
+ "types": [
42206
+ "array"
42207
+ ],
42208
+ "items": {
42209
+ "types": [
42210
+ "number"
42211
+ ]
42212
+ }
42213
+ }
42214
+ },
42215
+ "weights": {
42216
+ "types": [
42217
+ "array"
42218
+ ],
42219
+ "items": {
42220
+ "types": [
42221
+ "array"
42222
+ ],
42223
+ "items": {
42224
+ "types": [
42225
+ "number"
42226
+ ]
42227
+ }
42228
+ }
42229
+ }
42230
+ },
42231
+ "propertyRequired": [
42232
+ "bones",
42233
+ "inverseBindMatrices",
42234
+ "indices",
42235
+ "weights"
42236
+ ]
42237
+ },
42016
42238
  "rotation": {
42017
42239
  "types": [
42018
42240
  "array"
@@ -42028,7 +42250,7 @@
42028
42250
  "types": [
42029
42251
  "string"
42030
42252
  ],
42031
- "description": "`bottom` (default) rests the mesh on its position's ground plane; `center` centers it there.",
42253
+ "description": "`bottom` (default) rests the mesh on its position's ground plane; `center` centers it there. For `polyhedron`, `bottom` lifts by −min(z) and `center` applies no offset — the vertices are authoritative.",
42032
42254
  "enumValues": [
42033
42255
  "bottom",
42034
42256
  "center"
@@ -1,6 +1,6 @@
1
- import { b as TraitConfig, c as TraitConfigObject, d as TraitRef, E as EventPayloadField, C as ConfigFieldDeclaration, e as TraitConfigValue, f as TraitEntityField, P as PayloadField, g as Trait } from './trait-pw49W-zL.js';
1
+ import { b as TraitConfig, c as TraitConfigObject, d as TraitRef, E as EventPayloadField, C as ConfigFieldDeclaration, e as TraitConfigValue, f as TraitEntityField, P as PayloadField, g as Trait } from './trait-DkMVtmED.js';
2
2
  import { E as Expression, S as SExpr, J as JsonValue, R as RuntimeValue } from './expression-Yf7qvvOs.js';
3
- import { T as TraitId, d as EntityId, P as PageId, O as OrbitalId, S as ServiceRef, e as Entity, E as EntityField, a as EntityPersistence, b as EventId, g as ServiceDefinition, I as IdentityLedger } from './effect-DiHGegt9.js';
3
+ import { T as TraitId, d as EntityId, P as PageId, O as OrbitalId, S as ServiceRef, e as Entity, E as EntityField, a as EntityPersistence, b as EventId, g as ServiceDefinition, I as IdentityLedger } from './effect-DjMRX8sI.js';
4
4
  import { z } from 'zod';
5
5
 
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-DiHGegt9.js';
1
+ import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-DjMRX8sI.js';
2
2
  import { E as Expression, S as SExpr, J as JsonValue } from './expression-Yf7qvvOs.js';
3
3
  import { z } from 'zod';
4
4
 
@@ -1,13 +1,13 @@
1
- import { b0 as PageTraitRef, O as OrbitalSchema, be as ThemeDefinition, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition } from '../schema-C0QwW3G2.js';
2
- export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-C0QwW3G2.js';
3
- import { F as FieldValue, E as EntityField, a as EntityPersistence, bo as ServiceParams, e as Entity, f as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, c as Effect } from '../effect-DiHGegt9.js';
4
- export { j as ANIMATION_NAMES, k as ASSET_ASPECTS, l as ASSET_DIMENSIONS, m as AgentEffect, n as AnimationDef, o as AnimationDefInput, p as AnimationDefSchema, q as AnimationName, r as AnimationNameSchema, s as ApplicationEffect, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, C as AssetCatalogSchema, D as AssetDimension, G as AssetDimensionSchema, H as AssetSchema, J as AssetUrl, K as AtomicEffect, L as BehaviorEffect, M as CAMERA_MODES, N as CallServiceConfig, Q as CallServiceEffect, V as Camera, W as CameraMode, X as CameraModeSchema, Y as CameraSchema, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ComposeEffect, a0 as DerefEffect, a1 as DespawnEffect, a2 as DoEffect, a3 as ENTITY_ROLES, a4 as EffectInput, a5 as EffectSchema, a6 as EmitConfig, a7 as EmitEffect, a8 as EntityData, a9 as EntityFieldInput, aa as EntityFieldSchema, d as EntityId, ab as EntityIdSchema, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, ak as EventIdSchema, al as FIELD_TYPES, am as FetchEffect, an as FetchOptions, ao as FetchResult, ap as Field, aq as FieldSchema, ar as FieldType, as as FieldTypeSchema, at as ForwardConfig, au as ForwardEffect, av as IdForKind, aw as IdKind, I as IdentityLedger, ax as IdentityLedgerSchema, ay as LedgerEntry, az as LedgerEntrySchema, aA as LedgerKind, aB as LedgerKindSchema, aC as LlmEffect, aD as LogEffect, aE as McpServiceDef, aF as McpServiceDefSchema, aG as MemoryEffect, aH as NavigateEffect, aI as NnConfig, aJ as NnLayer, aK as NotifyEffect, aL as ObjectEntityField, aM as OrbitalEntity, aN as OrbitalEntityInput, aO as OrbitalEntitySchema, aP as OrbitalIdSchema, aQ as OsEffect, aR as PATTERN_TYPES, P as PageId, aS as PageIdSchema, aT as PaletteEntryId, aU as PaletteEntryIdSchema, aV as PatternConfig, aY as PatternType, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as RefEffect, R as RelationConfig, b1 as RelationConfigSchema, b2 as RelationEntityField, h as RenderBinding, b3 as RenderChildrenMap, b4 as RenderItemLambda, i as RenderUIEffect, b5 as RenderUINode, b6 as ResolvedPatternProps, b7 as RestAuthConfig, b8 as RestAuthConfigSchema, b9 as RestServiceDef, ba as RestServiceDefSchema, bb as SEMANTIC_STRING_TYPES, bc as SERVICE_TYPES, bd as SPRITE_DIRECTIONS, be as ScalarEntityField, bf as ScenePos, bg as ScenePosSchema, bh as SemanticAssetRef, bi as SemanticAssetRefInput, bj as SemanticAssetRefSchema, bk as SemanticStringType, g as ServiceDefinition, bl as ServiceDefinitionSchema, bm as ServiceId, bn as ServiceIdSchema, bp as ServiceParamsValue, S as ServiceRef, bq as ServiceRefObject, br as ServiceRefObjectSchema, bs as ServiceRefSchema, bt as ServiceRefStringSchema, bu as ServiceType, bv as ServiceTypeSchema, bw as SessionEffect, bx as SetEffect, by as SocketEvents, bz as SocketEventsSchema, bA as SocketServiceDef, bB as SocketServiceDefSchema, bC as SpawnEffect, bD as SpriteDirection, bE as SpriteDirectionSchema, bF as SpriteSheetAtlas, bG as SpriteSheetAtlasInput, bH as SpriteSheetAtlasSchema, bI as SubTexture, bJ as SubTextureSchema, bK as SwapEffect, bL as TextureAtlas, bM as TextureAtlasSchema, bN as ThemeId, bO as ThemeIdSchema, bP as Tilesheet, bQ as TilesheetSchema, bR as TraceEffect, bS as TrainConfig, bT as TrainEffect, bU as TraitIdSchema, bV as TypedEffect, U as UISlot, bW as UISlotSchema, bX as UI_SLOTS, bY as VISUAL_STYLES, bZ as ValidateEffect, b_ as VisualStyle, b$ as VisualStyleSchema, c0 as WatchEffect, c1 as WatchOptions, c2 as asEntityId, c3 as asEventId, c4 as asOrbitalId, c5 as asPageId, c6 as asPaletteEntryId, c7 as asServiceId, c8 as asThemeId, c9 as asTraitId, ca as atomic, cb as callService, cc as createAssetKey, cd as deref, ce as deriveCollection, cf as despawn, cg as doEffects, ch as emit, ci as findService, cj as getDefaultAnimationsForRole, ck as getServiceNames, cl as hasService, cm as idKindOf, cn as idPrefix, co as isEffect, cp as isEmailValue, cq as isEntityId, cr as isEventId, cs as isFieldValue, ct as isMcpService, cu as isOrbitalId, cv as isPageId, cw as isPaletteEntryId, cx as isPhoneValue, cy as isRestService, cz as isRuntimeEntity, cA as isSExprEffect, cB as isSemanticStringType, cC as isSemanticStringValue, cD as isServiceId, cE as isServiceReference, cF as isServiceReferenceObject, cG as isSocketService, cH as isThemeId, cI as isTraitId, cJ as isUrlValue, cK as isUuidValue, cL as isValidPatternType, cM as ledgerCurName, cN as ledgerRename, cO as ledgerResolveName, cP as mintId, cQ as navigate, cR as notify, cS as parseAssetKey, cT as parseServiceRef, cU as persist, cV as persistenceModeAllowsOverrides, cW as ref, cX as renderUI, cY as set, cZ as spawn, c_ as swap, c$ as validateAssetAnimations, d0 as watch } from '../effect-DiHGegt9.js';
1
+ import { b0 as PageTraitRef, O as OrbitalSchema, be as ThemeDefinition, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition } from '../schema-1bzTH92n.js';
2
+ export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-1bzTH92n.js';
3
+ import { F as FieldValue, E as EntityField, a as EntityPersistence, bo as ServiceParams, e as Entity, f as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, c as Effect } from '../effect-DjMRX8sI.js';
4
+ export { j as ANIMATION_NAMES, k as ASSET_ASPECTS, l as ASSET_DIMENSIONS, m as AgentEffect, n as AnimationDef, o as AnimationDefInput, p as AnimationDefSchema, q as AnimationName, r as AnimationNameSchema, s as ApplicationEffect, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, C as AssetCatalogSchema, D as AssetDimension, G as AssetDimensionSchema, H as AssetSchema, J as AssetUrl, K as AtomicEffect, L as BehaviorEffect, M as CAMERA_MODES, N as CallServiceConfig, Q as CallServiceEffect, V as Camera, W as CameraMode, X as CameraModeSchema, Y as CameraSchema, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ComposeEffect, a0 as DerefEffect, a1 as DespawnEffect, a2 as DoEffect, a3 as ENTITY_ROLES, a4 as EffectInput, a5 as EffectSchema, a6 as EmitConfig, a7 as EmitEffect, a8 as EntityData, a9 as EntityFieldInput, aa as EntityFieldSchema, d as EntityId, ab as EntityIdSchema, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, ak as EventIdSchema, al as FIELD_TYPES, am as FetchEffect, an as FetchOptions, ao as FetchResult, ap as Field, aq as FieldSchema, ar as FieldType, as as FieldTypeSchema, at as ForwardConfig, au as ForwardEffect, av as IdForKind, aw as IdKind, I as IdentityLedger, ax as IdentityLedgerSchema, ay as LedgerEntry, az as LedgerEntrySchema, aA as LedgerKind, aB as LedgerKindSchema, aC as LlmEffect, aD as LogEffect, aE as McpServiceDef, aF as McpServiceDefSchema, aG as MemoryEffect, aH as NavigateEffect, aI as NnConfig, aJ as NnLayer, aK as NotifyEffect, aL as ObjectEntityField, aM as OrbitalEntity, aN as OrbitalEntityInput, aO as OrbitalEntitySchema, aP as OrbitalIdSchema, aQ as OsEffect, aR as PATTERN_TYPES, P as PageId, aS as PageIdSchema, aT as PaletteEntryId, aU as PaletteEntryIdSchema, aV as PatternConfig, aY as PatternType, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as RefEffect, R as RelationConfig, b1 as RelationConfigSchema, b2 as RelationEntityField, h as RenderBinding, b3 as RenderChildrenMap, b4 as RenderItemLambda, i as RenderUIEffect, b5 as RenderUINode, b6 as ResolvedPatternProps, b7 as RestAuthConfig, b8 as RestAuthConfigSchema, b9 as RestServiceDef, ba as RestServiceDefSchema, bb as SEMANTIC_STRING_TYPES, bc as SERVICE_TYPES, bd as SPRITE_DIRECTIONS, be as ScalarEntityField, bf as ScenePos, bg as ScenePosSchema, bh as SemanticAssetRef, bi as SemanticAssetRefInput, bj as SemanticAssetRefSchema, bk as SemanticStringType, g as ServiceDefinition, bl as ServiceDefinitionSchema, bm as ServiceId, bn as ServiceIdSchema, bp as ServiceParamsValue, S as ServiceRef, bq as ServiceRefObject, br as ServiceRefObjectSchema, bs as ServiceRefSchema, bt as ServiceRefStringSchema, bu as ServiceType, bv as ServiceTypeSchema, bw as SessionEffect, bx as SetEffect, by as SocketEvents, bz as SocketEventsSchema, bA as SocketServiceDef, bB as SocketServiceDefSchema, bC as SpawnEffect, bD as SpriteDirection, bE as SpriteDirectionSchema, bF as SpriteSheetAtlas, bG as SpriteSheetAtlasInput, bH as SpriteSheetAtlasSchema, bI as SubTexture, bJ as SubTextureSchema, bK as SwapEffect, bL as TextureAtlas, bM as TextureAtlasSchema, bN as ThemeId, bO as ThemeIdSchema, bP as Tilesheet, bQ as TilesheetSchema, bR as TraceEffect, bS as TrainConfig, bT as TrainEffect, bU as TraitIdSchema, bV as TypedEffect, U as UISlot, bW as UISlotSchema, bX as UI_SLOTS, bY as VISUAL_STYLES, bZ as ValidateEffect, b_ as VisualStyle, b$ as VisualStyleSchema, c0 as WatchEffect, c1 as WatchOptions, c2 as asEntityId, c3 as asEventId, c4 as asOrbitalId, c5 as asPageId, c6 as asPaletteEntryId, c7 as asServiceId, c8 as asThemeId, c9 as asTraitId, ca as atomic, cb as callService, cc as createAssetKey, cd as deref, ce as deriveCollection, cf as despawn, cg as doEffects, ch as emit, ci as findService, cj as getDefaultAnimationsForRole, ck as getServiceNames, cl as hasService, cm as idKindOf, cn as idPrefix, co as isEffect, cp as isEmailValue, cq as isEntityId, cr as isEventId, cs as isFieldValue, ct as isMcpService, cu as isOrbitalId, cv as isPageId, cw as isPaletteEntryId, cx as isPhoneValue, cy as isRestService, cz as isRuntimeEntity, cA as isSExprEffect, cB as isSemanticStringType, cC as isSemanticStringValue, cD as isServiceId, cE as isServiceReference, cF as isServiceReferenceObject, cG as isSocketService, cH as isThemeId, cI as isTraitId, cJ as isUrlValue, cK as isUuidValue, cL as isValidPatternType, cM as ledgerCurName, cN as ledgerRename, cO as ledgerResolveName, cP as mintId, cQ as navigate, cR as notify, cS as parseAssetKey, cT as parseServiceRef, cU as persist, cV as persistenceModeAllowsOverrides, cW as ref, cX as renderUI, cY as set, cZ as spawn, c_ as swap, c$ as validateAssetAnimations, d0 as watch } from '../effect-DjMRX8sI.js';
5
5
  import { S as SExpr, R as RuntimeValue, d as EventPayloadValue, J as JsonValue, a as EventPayload, L as LogMeta, g as JsonObject, T as ToolArgs, c as EvalContext } from '../expression-Yf7qvvOs.js';
6
6
  export { C as CORE_BINDINGS, b as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, h as LogMetaValue, P as ParsedBinding, i as SExprAtom, j as SExprAtomSchema, k as SExprDataSchema, l as SExprInput, m as SExprObject, n as SExprSchema, o as collectBindings, p as getArgs, q as getOperator, r as isBinding, s as isEventPayloadValue, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive, w as isSExpr, x as isSExprAtom, y as isSExprCall, z as isValidBinding, A as parseBinding, B as sexpr, D as walkSExpr } from '../expression-Yf7qvvOs.js';
7
7
  import { z } from 'zod';
8
- import { a as TraitReference, g as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ae as Transition, r as Event, e as TraitConfigValue, Y as TraitCategory, as as TraitScope } from '../trait-pw49W-zL.js';
9
- export { k as CONFIG_REF_EVENT_PATTERN, h as CallSiteConfig, i as CallSiteConfigEntry, l as ConfigFieldDeclarationSchema, m as ConfigFieldItemsDeclaration, n as ConfigRefEventError, o as DeclaredTraitConfigSchema, p as EntityFieldContract, q as EntityFieldContractSchema, s as EventInput, E as EventPayloadField, t as EventPayloadFieldSchema, u as EventSchema, v as EventScope, w as EventScopeSchema, G as Guard, x as GuardInput, y as GuardSchema, z as ListenSourceSchema, O as OrbitalTraitRef, A as OrbitalTraitRefSchema, P as PayloadField, B as PayloadFieldSchema, F as PresentationType, R as REFERENCE_CONFIG_TYPES, H as ReferenceConfigType, I as RequiredField, J as RequiredFieldSchema, K as SECRET_CONFIG_TYPES, M as SecretConfigType, N as StateInput, Q as StateMachine, U as StateMachineInput, V as StateMachineSchema, W as StateSchema, X as TickIntervalSchema, Z as TraitCategorySchema, c as TraitConfigObject, _ as TraitConfigSchema, $ as TraitConfigValueSchema, a0 as TraitDataEntity, a1 as TraitDataEntitySchema, f as TraitEntityField, a2 as TraitEntityFieldSchema, j as TraitEventContract, a3 as TraitEventContractSchema, T as TraitEventListener, a4 as TraitEventListenerSchema, a5 as TraitInput, d as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ad as TraitUIBindingSchema, af as TransitionInput, ag as TransitionSchema, ah as configRefEventKnob, ai as getTraitConfig, aj as getTraitName, ak as isCallSiteConfigDeclaration, al as isCircuitEvent, am as isInlineTrait, an as isReferenceConfigType, ao as isSecretConfigType, ap as normalizeCallSiteConfigToValues, aq as normalizeTraitRef, ar as resolveConfigRefEventName } from '../trait-pw49W-zL.js';
10
- import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-1DvdNPye.js';
8
+ import { a as TraitReference, g as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ae as Transition, r as Event, e as TraitConfigValue, Y as TraitCategory, as as TraitScope } from '../trait-DkMVtmED.js';
9
+ export { k as CONFIG_REF_EVENT_PATTERN, h as CallSiteConfig, i as CallSiteConfigEntry, l as ConfigFieldDeclarationSchema, m as ConfigFieldItemsDeclaration, n as ConfigRefEventError, o as DeclaredTraitConfigSchema, p as EntityFieldContract, q as EntityFieldContractSchema, s as EventInput, E as EventPayloadField, t as EventPayloadFieldSchema, u as EventSchema, v as EventScope, w as EventScopeSchema, G as Guard, x as GuardInput, y as GuardSchema, z as ListenSourceSchema, O as OrbitalTraitRef, A as OrbitalTraitRefSchema, P as PayloadField, B as PayloadFieldSchema, F as PresentationType, R as REFERENCE_CONFIG_TYPES, H as ReferenceConfigType, I as RequiredField, J as RequiredFieldSchema, K as SECRET_CONFIG_TYPES, M as SecretConfigType, N as StateInput, Q as StateMachine, U as StateMachineInput, V as StateMachineSchema, W as StateSchema, X as TickIntervalSchema, Z as TraitCategorySchema, c as TraitConfigObject, _ as TraitConfigSchema, $ as TraitConfigValueSchema, a0 as TraitDataEntity, a1 as TraitDataEntitySchema, f as TraitEntityField, a2 as TraitEntityFieldSchema, j as TraitEventContract, a3 as TraitEventContractSchema, T as TraitEventListener, a4 as TraitEventListenerSchema, a5 as TraitInput, d as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ad as TraitUIBindingSchema, af as TransitionInput, ag as TransitionSchema, ah as configRefEventKnob, ai as getTraitConfig, aj as getTraitName, ak as isCallSiteConfigDeclaration, al as isCircuitEvent, am as isInlineTrait, an as isReferenceConfigType, ao as isSecretConfigType, ap as normalizeCallSiteConfigToValues, aq as normalizeTraitRef, ar as resolveConfigRefEventName } from '../trait-DkMVtmED.js';
10
+ import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-CUdqUyzi.js';
11
11
  import { MakeTraitRefOpts, EventWiringEntry, LayoutStrategy } from '../builders.js';
12
12
 
13
13
  /**
@@ -421,7 +421,7 @@ var ScenePosSchema = z.object({
421
421
  y: z.number(),
422
422
  z: z.number().optional()
423
423
  });
424
- var CAMERA_MODES = ["isometric", "perspective", "top-down", "follow", "chase"];
424
+ var CAMERA_MODES = ["isometric", "perspective", "top-down", "front", "follow", "chase"];
425
425
  var CameraModeSchema = z.enum(CAMERA_MODES);
426
426
  var CameraSchema = z.object({
427
427
  pos: ScenePosSchema.optional(),