@almadar/core 10.40.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.
@@ -1,7 +1,6 @@
1
- import { c as EventId, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, e as Entity, a as EntityField } from './entity-DfD-iXkn.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-D4os99OL.js';
2
2
  import { E as Expression, S as SExpr } from './expression-DpAj1RzP.js';
3
3
  import { z } from 'zod';
4
- import { E as Effect, A as AnyPatternConfig } from './effect-DQPFowvO.js';
5
4
 
6
5
  /**
7
6
  * Represents a state in the state machine
@@ -2216,24 +2215,86 @@ declare const TraitSchema: z.ZodObject<{
2216
2215
  } | undefined;
2217
2216
  } | undefined;
2218
2217
  }>;
2219
- declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
2218
+ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
2220
2219
  ref: z.ZodString;
2221
- config: z.ZodOptional<z.ZodType<TraitConfigObject, z.ZodTypeDef, TraitConfigObject>>;
2220
+ refId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
2221
+ id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
2222
+ from: z.ZodOptional<z.ZodString>;
2222
2223
  linkedEntity: z.ZodOptional<z.ZodString>;
2224
+ linkedEntityId: z.ZodOptional<z.ZodEffects<z.ZodString, EntityId, string>>;
2223
2225
  name: z.ZodOptional<z.ZodString>;
2224
2226
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2227
+ eventIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EventId, string>>>;
2228
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2229
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
2230
+ appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2231
+ listens: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2232
+ emitsScope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
2233
+ effects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">>>;
2225
2234
  }, "strip", z.ZodTypeAny, {
2226
2235
  ref: string;
2236
+ id?: TraitId | undefined;
2237
+ from?: string | undefined;
2227
2238
  name?: string | undefined;
2228
- config?: TraitConfigObject | undefined;
2239
+ fields?: Record<string, string> | undefined;
2240
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
2229
2241
  events?: Record<string, string> | undefined;
2242
+ effects?: Record<string, SExpr[]> | undefined;
2243
+ refId?: TraitId | undefined;
2244
+ appliesTo?: string[] | undefined;
2230
2245
  linkedEntity?: string | undefined;
2246
+ linkedEntityId?: EntityId | undefined;
2247
+ eventIds?: Record<string, EventId> | undefined;
2248
+ listens?: unknown[] | undefined;
2249
+ emitsScope?: "internal" | "external" | undefined;
2231
2250
  }, {
2232
2251
  ref: string;
2252
+ id?: string | undefined;
2253
+ from?: string | undefined;
2233
2254
  name?: string | undefined;
2234
- config?: TraitConfigObject | undefined;
2255
+ fields?: Record<string, string> | undefined;
2256
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
2235
2257
  events?: Record<string, string> | undefined;
2258
+ effects?: Record<string, SExpr[]> | undefined;
2259
+ refId?: string | undefined;
2260
+ appliesTo?: string[] | undefined;
2236
2261
  linkedEntity?: string | undefined;
2262
+ linkedEntityId?: string | undefined;
2263
+ eventIds?: Record<string, string> | undefined;
2264
+ listens?: unknown[] | undefined;
2265
+ emitsScope?: "internal" | "external" | undefined;
2266
+ }>, {
2267
+ ref: string;
2268
+ id?: TraitId | undefined;
2269
+ from?: string | undefined;
2270
+ name?: string | undefined;
2271
+ fields?: Record<string, string> | undefined;
2272
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
2273
+ events?: Record<string, string> | undefined;
2274
+ effects?: Record<string, SExpr[]> | undefined;
2275
+ refId?: TraitId | undefined;
2276
+ appliesTo?: string[] | undefined;
2277
+ linkedEntity?: string | undefined;
2278
+ linkedEntityId?: EntityId | undefined;
2279
+ eventIds?: Record<string, EventId> | undefined;
2280
+ listens?: unknown[] | undefined;
2281
+ emitsScope?: "internal" | "external" | undefined;
2282
+ }, {
2283
+ ref: string;
2284
+ id?: string | undefined;
2285
+ from?: string | undefined;
2286
+ name?: string | undefined;
2287
+ fields?: Record<string, string> | undefined;
2288
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
2289
+ events?: Record<string, string> | undefined;
2290
+ effects?: Record<string, SExpr[]> | undefined;
2291
+ refId?: string | undefined;
2292
+ appliesTo?: string[] | undefined;
2293
+ linkedEntity?: string | undefined;
2294
+ linkedEntityId?: string | undefined;
2295
+ eventIds?: Record<string, string> | undefined;
2296
+ listens?: unknown[] | undefined;
2297
+ emitsScope?: "internal" | "external" | undefined;
2237
2298
  }>, z.ZodObject<{
2238
2299
  id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
2239
2300
  name: z.ZodString;
@@ -3095,24 +3156,86 @@ declare function normalizeTraitRef(traitRef: TraitRef): {
3095
3156
  type TraitInput = z.input<typeof TraitSchema>;
3096
3157
  type TraitReferenceInput = z.input<typeof TraitReferenceSchema>;
3097
3158
  type OrbitalTraitRef = TraitRef;
3098
- declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
3159
+ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
3099
3160
  ref: z.ZodString;
3100
- config: z.ZodOptional<z.ZodType<TraitConfigObject, z.ZodTypeDef, TraitConfigObject>>;
3161
+ refId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
3162
+ id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
3163
+ from: z.ZodOptional<z.ZodString>;
3101
3164
  linkedEntity: z.ZodOptional<z.ZodString>;
3165
+ linkedEntityId: z.ZodOptional<z.ZodEffects<z.ZodString, EntityId, string>>;
3102
3166
  name: z.ZodOptional<z.ZodString>;
3103
3167
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3168
+ eventIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EventId, string>>>;
3169
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3170
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
3171
+ appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3172
+ listens: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
3173
+ emitsScope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
3174
+ effects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<SExpr, z.ZodTypeDef, SExpr>, "many">>>;
3104
3175
  }, "strip", z.ZodTypeAny, {
3105
3176
  ref: string;
3177
+ id?: TraitId | undefined;
3178
+ from?: string | undefined;
3106
3179
  name?: string | undefined;
3107
- config?: TraitConfigObject | undefined;
3180
+ fields?: Record<string, string> | undefined;
3181
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
3108
3182
  events?: Record<string, string> | undefined;
3183
+ effects?: Record<string, SExpr[]> | undefined;
3184
+ refId?: TraitId | undefined;
3185
+ appliesTo?: string[] | undefined;
3109
3186
  linkedEntity?: string | undefined;
3187
+ linkedEntityId?: EntityId | undefined;
3188
+ eventIds?: Record<string, EventId> | undefined;
3189
+ listens?: unknown[] | undefined;
3190
+ emitsScope?: "internal" | "external" | undefined;
3110
3191
  }, {
3111
3192
  ref: string;
3193
+ id?: string | undefined;
3194
+ from?: string | undefined;
3112
3195
  name?: string | undefined;
3113
- config?: TraitConfigObject | undefined;
3196
+ fields?: Record<string, string> | undefined;
3197
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
3114
3198
  events?: Record<string, string> | undefined;
3199
+ effects?: Record<string, SExpr[]> | undefined;
3200
+ refId?: string | undefined;
3201
+ appliesTo?: string[] | undefined;
3115
3202
  linkedEntity?: string | undefined;
3203
+ linkedEntityId?: string | undefined;
3204
+ eventIds?: Record<string, string> | undefined;
3205
+ listens?: unknown[] | undefined;
3206
+ emitsScope?: "internal" | "external" | undefined;
3207
+ }>, {
3208
+ ref: string;
3209
+ id?: TraitId | undefined;
3210
+ from?: string | undefined;
3211
+ name?: string | undefined;
3212
+ fields?: Record<string, string> | undefined;
3213
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
3214
+ events?: Record<string, string> | undefined;
3215
+ effects?: Record<string, SExpr[]> | undefined;
3216
+ refId?: TraitId | undefined;
3217
+ appliesTo?: string[] | undefined;
3218
+ linkedEntity?: string | undefined;
3219
+ linkedEntityId?: EntityId | undefined;
3220
+ eventIds?: Record<string, EventId> | undefined;
3221
+ listens?: unknown[] | undefined;
3222
+ emitsScope?: "internal" | "external" | undefined;
3223
+ }, {
3224
+ ref: string;
3225
+ id?: string | undefined;
3226
+ from?: string | undefined;
3227
+ name?: string | undefined;
3228
+ fields?: Record<string, string> | undefined;
3229
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
3230
+ events?: Record<string, string> | undefined;
3231
+ effects?: Record<string, SExpr[]> | undefined;
3232
+ refId?: string | undefined;
3233
+ appliesTo?: string[] | undefined;
3234
+ linkedEntity?: string | undefined;
3235
+ linkedEntityId?: string | undefined;
3236
+ eventIds?: Record<string, string> | undefined;
3237
+ listens?: unknown[] | undefined;
3238
+ emitsScope?: "internal" | "external" | undefined;
3116
3239
  }>, z.ZodObject<{
3117
3240
  id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
3118
3241
  name: z.ZodString;
@@ -3905,4 +4028,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
3905
4028
  } | undefined;
3906
4029
  }>]>;
3907
4030
 
3908
- export { type TraitEntityField as $, RequiredFieldSchema as A, SECRET_CONFIG_TYPES as B, type CallSiteConfig as C, type DeclaredTraitConfig as D, type EntityFieldContract as E, type SecretConfigType as F, type Guard as G, type StateInput as H, type StateMachine as I, type StateMachineInput as J, StateMachineSchema as K, type ListenSource as L, StateSchema as M, TickIntervalSchema as N, type OrbitalTraitRef as O, type PayloadField as P, type TraitCategory as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, TraitCategorySchema as U, type TraitConfigObject as V, TraitConfigSchema as W, type TraitConfigValue as X, TraitConfigValueSchema as Y, type TraitDataEntity as Z, TraitDataEntitySchema as _, type TraitReference as a, TraitEntityFieldSchema as a0, type TraitEventContract as a1, TraitEventContractSchema as a2, TraitEventListenerSchema as a3, type TraitInput as a4, type TraitRef as a5, TraitRefSchema as a6, type TraitReferenceInput as a7, TraitReferenceSchema as a8, TraitSchema as a9, type TraitTick as aa, TraitTickSchema as ab, type TraitUIBinding as ac, type Transition as ad, type TransitionInput as ae, TransitionSchema as af, configRefEventKnob as ag, getTraitConfig as ah, getTraitName as ai, isCallSiteConfigDeclaration as aj, isCircuitEvent as ak, isInlineTrait as al, isReferenceConfigType as am, isSecretConfigType as an, normalizeCallSiteConfigToValues as ao, normalizeTraitRef as ap, resolveConfigRefEventName as aq, type TraitScope as ar, type CallSiteConfigEntry as b, type Trait as c, type TraitConfig as d, CONFIG_REF_EVENT_PATTERN as e, type ConfigFieldDeclaration as f, ConfigFieldDeclarationSchema as g, type ConfigFieldItemsDeclaration as h, type ConfigRefEventError as i, DeclaredTraitConfigSchema as j, EntityFieldContractSchema as k, type Event as l, type EventInput as m, type EventPayloadField as n, EventPayloadFieldSchema as o, EventSchema as p, type EventScope as q, EventScopeSchema as r, type GuardInput as s, GuardSchema as t, ListenSourceSchema as u, OrbitalTraitRefSchema as v, PayloadFieldSchema as w, type PresentationType as x, type ReferenceConfigType as y, type RequiredField as z };
4031
+ export { TraitConfigValueSchema as $, OrbitalTraitRefSchema as A, PayloadFieldSchema as B, type ConfigFieldDeclaration as C, type DeclaredTraitConfig as D, type EventPayloadField as E, type PresentationType as F, type Guard as G, type ReferenceConfigType as H, type RequiredField as I, RequiredFieldSchema as J, SECRET_CONFIG_TYPES as K, type ListenSource as L, type SecretConfigType as M, type StateInput as N, type OrbitalTraitRef as O, type PayloadField as P, type StateMachine as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, type StateMachineInput as U, StateMachineSchema as V, StateSchema as W, TickIntervalSchema as X, type TraitCategory as Y, TraitCategorySchema as Z, TraitConfigSchema as _, type TraitReference as a, type TraitDataEntity as a0, TraitDataEntitySchema as a1, TraitEntityFieldSchema as a2, TraitEventContractSchema as a3, TraitEventListenerSchema as a4, type TraitInput as a5, TraitRefSchema as a6, type TraitReferenceInput as a7, TraitReferenceSchema as a8, TraitSchema as a9, type TraitTick as aa, TraitTickSchema as ab, type TraitUIBinding as ac, type Transition as ad, type TransitionInput as ae, TransitionSchema as af, configRefEventKnob as ag, getTraitConfig as ah, getTraitName as ai, isCallSiteConfigDeclaration as aj, isCircuitEvent as ak, isInlineTrait as al, isReferenceConfigType as am, isSecretConfigType as an, normalizeCallSiteConfigToValues as ao, normalizeTraitRef as ap, resolveConfigRefEventName as aq, type TraitScope as ar, type TraitConfig as b, type TraitConfigObject as c, type TraitRef as d, type TraitConfigValue as e, type TraitEntityField as f, type Trait as g, type CallSiteConfig as h, type CallSiteConfigEntry as i, type TraitEventContract as j, CONFIG_REF_EVENT_PATTERN as k, ConfigFieldDeclarationSchema as l, type ConfigFieldItemsDeclaration as m, type ConfigRefEventError as n, DeclaredTraitConfigSchema as o, type EntityFieldContract as p, EntityFieldContractSchema as q, type Event as r, type EventInput as s, EventPayloadFieldSchema as t, EventSchema as u, type EventScope as v, EventScopeSchema as w, type GuardInput as x, GuardSchema as y, ListenSourceSchema as z };
@@ -1,15 +1,14 @@
1
- import { M as MakeTraitRefOpts, b4 as PageTraitRef, O as OrbitalSchema, a6 as EventWiringEntry, aq as LayoutStrategy, bi as ThemeDefinition, a7 as Orbital, aZ as Page, K as DomainContext, a as OrbitalDefinition } from '../builders-Dw270YQh.js';
2
- export { A as AGENT_DOMAIN_CATEGORIES, b as ALLOWED_CUSTOM_COMPONENTS, c as AgentDomainCategory, d as AgentDomainCategorySchema, e as AllowedCustomComponent, C as ColorSlice, f as ColorSliceSchema, g as ColorTokens, h 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, E as DesignPreferencesSchema, F as DesignTokens, G as DesignTokensInput, H as DesignTokensSchema, I as DomainCategory, J as DomainCategorySchema, L as DomainContextInput, N as DomainContextSchema, P as DomainVocabulary, Q as DomainVocabularySchema, R as ElevationSlice, S as ElevationSliceSchema, T as ElevationTokens, U as ElevationTokensSchema, V as EntityCall, W as EntityCallSchema, X as EntityRef, Y as EntityRefSchema, Z as EntityRefStringSchema, _ as EntitySemanticRole, $ as EntitySemanticRoleSchema, a0 as EventListener, a1 as EventListenerSchema, a2 as EventSemanticRole, a3 as EventSemanticRoleSchema, a4 as EventSource, a5 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, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NodeClassification, aI as NodeClassificationSchema, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, bL as UseDeclaration, bM as UseDeclarationSchema, bN as UserPersona, bO as UserPersonaInput, bP as UserPersonaSchema, bQ as ViewType, bR as ViewTypeSchema, bV as isEntityCall, bW as isEntityReference, bX as isEntityReferenceAny, bY as isImportedTraitRef, bZ as isOrbitalDefinition, b_ as isPageReference, b$ as isPageReferenceObject, c0 as isPageReferenceString, c1 as isThemeReference, c2 as parseEntityRef, c3 as parseImportedTraitRef, c4 as parseOrbitalSchema, c5 as parsePageRef, c6 as safeParseOrbitalSchema } from '../builders-Dw270YQh.js';
3
- import { F as FieldValue, a as EntityField, E as EntityPersistence, J as JsonValue, e as Entity, b as EntityRow, O as OrbitalId, T as TraitId, c as EventId, a6 as JsonObject, f as ToolArgs } from '../entity-DfD-iXkn.js';
4
- export { A as ANIMATION_NAMES, g as ASSET_ASPECTS, h as ASSET_DIMENSIONS, i as AnimationDef, j as AnimationDefInput, k as AnimationDefSchema, l as AnimationName, m as AnimationNameSchema, n as ArrayEntityField, o as Asset, p as AssetAspect, q as AssetAspectSchema, r as AssetCatalog, s as AssetCatalogEntry, t as AssetCatalogEntryInput, u as AssetCatalogEntrySchema, v as AssetCatalogSchema, w as AssetDimension, x as AssetDimensionSchema, y as AssetSchema, z as AssetUrl, C as CAMERA_MODES, B as Camera, D as CameraMode, G as CameraModeSchema, H as CameraSchema, I as ENTITY_ROLES, K as EntityData, L as EntityFieldInput, M as EntityFieldSchema, d as EntityId, N as EntityIdSchema, Q as EntityPersistenceSchema, S as EntityRole, U as EntityRoleSchema, V as EntitySchema, W as EntityWith, X as EnumEntityField, Y as EventIdSchema, Z as FIELD_TYPES, _ as Field, $ as FieldSchema, a0 as FieldType, a1 as FieldTypeSchema, a2 as IdForKind, a3 as IdKind, a4 as IdentityLedger, a5 as IdentityLedgerSchema, a7 as LedgerEntry, a8 as LedgerEntrySchema, a9 as LedgerKind, aa as LedgerKindSchema, ab as ObjectEntityField, ac as OrbitalEntity, ad as OrbitalEntityInput, ae as OrbitalEntitySchema, af as OrbitalIdSchema, P as PageId, ag as PageIdSchema, ah as PaletteEntryId, ai as PaletteEntryIdSchema, R as RelationConfig, aj as RelationConfigSchema, ak as RelationEntityField, al as SEMANTIC_STRING_TYPES, am as SPRITE_DIRECTIONS, an as ScalarEntityField, ao as ScenePos, ap as ScenePosSchema, aq as SemanticAssetRef, ar as SemanticAssetRefInput, as as SemanticAssetRefSchema, at as SemanticStringType, au as ServiceId, av as ServiceIdSchema, aw as SpriteDirection, ax as SpriteDirectionSchema, ay as SpriteSheetAtlas, az as SpriteSheetAtlasInput, aA as SpriteSheetAtlasSchema, aB as SubTexture, aC as SubTextureSchema, aD as TextureAtlas, aE as TextureAtlasSchema, aF as ThemeId, aG as ThemeIdSchema, aH as Tilesheet, aI as TilesheetSchema, aJ as TraitIdSchema, aK as VISUAL_STYLES, aL as VisualStyle, aM as VisualStyleSchema, aN as asEntityId, aO as asEventId, aP as asOrbitalId, aQ as asPageId, aR as asPaletteEntryId, aS as asServiceId, aT as asThemeId, aU as asTraitId, aV as createAssetKey, aW as deriveCollection, aX as getDefaultAnimationsForRole, aY as idKindOf, aZ as idPrefix, a_ as isEmailValue, a$ as isEntityId, b0 as isEventId, b1 as isFieldValue, b2 as isJsonArray, b3 as isJsonObject, b4 as isJsonPrimitive, b5 as isOrbitalId, b6 as isPageId, b7 as isPaletteEntryId, b8 as isPhoneValue, b9 as isRuntimeEntity, ba as isSemanticStringType, bb as isSemanticStringValue, bc as isServiceId, bd as isThemeId, be as isTraitId, bf as isUrlValue, bg as isUuidValue, bh as ledgerCurName, bi as ledgerRename, bj as ledgerResolveName, bk as mintId, bl as parseAssetKey, bm as persistenceModeAllowsOverrides, bn as validateAssetAnimations } from '../entity-DfD-iXkn.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-C_lv_cta.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-C_lv_cta.js';
3
+ import { F as FieldValue, E as EntityField, a as EntityPersistence, br as ServiceParams, J as JsonValue, e as Entity, f as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, aA as JsonObject, j as ToolArgs, c as Effect } from '../effect-D4os99OL.js';
4
+ export { k as ANIMATION_NAMES, l as ASSET_ASPECTS, m as ASSET_DIMENSIONS, n as AgentEffect, o as AnimationDef, p as AnimationDefInput, q as AnimationDefSchema, r as AnimationName, s as AnimationNameSchema, t as ApplicationEffect, u as ArrayEntityField, v as Asset, w as AssetAspect, x as AssetAspectSchema, y as AssetCatalog, z as AssetCatalogEntry, B as AssetCatalogEntryInput, C as AssetCatalogEntrySchema, D as AssetCatalogSchema, G as AssetDimension, H as AssetDimensionSchema, K as AssetSchema, L as AssetUrl, M as AtomicEffect, N as BehaviorEffect, Q as CAMERA_MODES, V as CallServiceConfig, W as CallServiceEffect, X as Camera, Y as CameraMode, Z as CameraModeSchema, _ as CameraSchema, $ as CheckpointLoadEffect, a0 as CheckpointSaveEffect, a1 as ComposeEffect, a2 as DerefEffect, a3 as DespawnEffect, a4 as DoEffect, a5 as ENTITY_ROLES, a6 as EffectInput, a7 as EffectSchema, a8 as EmitConfig, a9 as EmitEffect, aa as EntityData, ab as EntityFieldInput, ac as EntityFieldSchema, d as EntityId, ad as EntityIdSchema, ae as EntityPersistenceSchema, af as EntityRole, ag as EntityRoleSchema, ah as EntitySchema, ai as EntityWith, aj as EnumEntityField, ak as EvaluateConfig, al as EvaluateEffect, am as EventIdSchema, an as FIELD_TYPES, ao as FetchEffect, ap as FetchOptions, aq as FetchResult, ar as Field, as as FieldSchema, at as FieldType, au as FieldTypeSchema, av as ForwardConfig, aw as ForwardEffect, ax as IdForKind, ay as IdKind, I as IdentityLedger, az as IdentityLedgerSchema, aB as LedgerEntry, aC as LedgerEntrySchema, aD as LedgerKind, aE as LedgerKindSchema, aF as LlmEffect, aG as LogEffect, aH as McpServiceDef, aI as McpServiceDefSchema, aJ as MemoryEffect, aK as NavigateEffect, aL as NnConfig, aM as NnLayer, aN as NotifyEffect, aO as ObjectEntityField, aP as OrbitalEntity, aQ as OrbitalEntityInput, aR as OrbitalEntitySchema, aS as OrbitalIdSchema, aT as OsEffect, aU as PATTERN_TYPES, P as PageId, aV as PageIdSchema, aW as PaletteEntryId, aX as PaletteEntryIdSchema, aY as PatternConfig, a$ as PatternType, b0 as PersistData, b1 as PersistEffect, b2 as PersistEmitConfig, b3 as RefEffect, R as RelationConfig, b4 as RelationConfigSchema, b5 as RelationEntityField, h as RenderBinding, b6 as RenderChildrenMap, b7 as RenderItemLambda, i as RenderUIEffect, b8 as RenderUINode, b9 as ResolvedPatternProps, ba as RestAuthConfig, bb as RestAuthConfigSchema, bc as RestServiceDef, bd as RestServiceDefSchema, be as SEMANTIC_STRING_TYPES, bf as SERVICE_TYPES, bg as SPRITE_DIRECTIONS, bh as ScalarEntityField, bi as ScenePos, bj as ScenePosSchema, bk as SemanticAssetRef, bl as SemanticAssetRefInput, bm as SemanticAssetRefSchema, bn as SemanticStringType, g as ServiceDefinition, bo as ServiceDefinitionSchema, bp as ServiceId, bq as ServiceIdSchema, bs as ServiceParamsValue, S as ServiceRef, bt as ServiceRefObject, bu as ServiceRefObjectSchema, bv as ServiceRefSchema, bw as ServiceRefStringSchema, bx as ServiceType, by as ServiceTypeSchema, bz as SessionEffect, bA as SetEffect, bB as SocketEvents, bC as SocketEventsSchema, bD as SocketServiceDef, bE as SocketServiceDefSchema, bF as SpawnEffect, bG as SpriteDirection, bH as SpriteDirectionSchema, bI as SpriteSheetAtlas, bJ as SpriteSheetAtlasInput, bK as SpriteSheetAtlasSchema, bL as SubTexture, bM as SubTextureSchema, bN as SwapEffect, bO as TextureAtlas, bP as TextureAtlasSchema, bQ as ThemeId, bR as ThemeIdSchema, bS as Tilesheet, bT as TilesheetSchema, bU as TraceEffect, bV as TrainConfig, bW as TrainEffect, bX as TraitIdSchema, bY as TypedEffect, U as UISlot, bZ as UISlotSchema, b_ as UI_SLOTS, b$ as VISUAL_STYLES, c0 as ValidateEffect, c1 as VisualStyle, c2 as VisualStyleSchema, c3 as WatchEffect, c4 as WatchOptions, c5 as asEntityId, c6 as asEventId, c7 as asOrbitalId, c8 as asPageId, c9 as asPaletteEntryId, ca as asServiceId, cb as asThemeId, cc as asTraitId, cd as atomic, ce as callService, cf as createAssetKey, cg as deref, ch as deriveCollection, ci as despawn, cj as doEffects, ck as emit, cl as findService, cm as getDefaultAnimationsForRole, cn as getServiceNames, co as hasService, cp as idKindOf, cq as idPrefix, cr as isEffect, cs as isEmailValue, ct as isEntityId, cu as isEventId, cv as isFieldValue, cw as isJsonArray, cx as isJsonObject, cy as isJsonPrimitive, cz as isMcpService, cA as isOrbitalId, cB as isPageId, cC as isPaletteEntryId, cD as isPhoneValue, cE as isRestService, cF as isRuntimeEntity, cG as isSExprEffect, cH as isSemanticStringType, cI as isSemanticStringValue, cJ as isServiceId, cK as isServiceReference, cL as isServiceReferenceObject, cM as isSocketService, cN as isThemeId, cO as isTraitId, cP as isUrlValue, cQ as isUuidValue, cR as isValidPatternType, cS as ledgerCurName, cT as ledgerRename, cU as ledgerResolveName, cV as mintId, cW as navigate, cX as notify, cY as parseAssetKey, cZ as parseServiceRef, c_ as persist, c$ as persistenceModeAllowsOverrides, d0 as ref, d1 as renderUI, d2 as set, d3 as spawn, d4 as swap, d5 as validateAssetAnimations, d6 as watch } from '../effect-D4os99OL.js';
5
5
  import { d as EventPayloadValue, a as EventPayload, L as LogMeta, S as SExpr, c as EvalContext } from '../expression-DpAj1RzP.js';
6
6
  export { C as CORE_BINDINGS, b as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, g as LogMetaValue, P as ParsedBinding, h as SExprAtom, i as SExprAtomSchema, j as SExprInput, k as SExprSchema, l as collectBindings, m as getArgs, n as getOperator, o as isBinding, p as isEventPayloadValue, q as isSExpr, r as isSExprAtom, s as isSExprCall, t as isValidBinding, u as parseBinding, v as sexpr, w as walkSExpr } from '../expression-DpAj1RzP.js';
7
7
  import { z } from 'zod';
8
- import { a as TraitReference, c as Trait, L as ListenSource, D as DeclaredTraitConfig, d as TraitConfig, f as ConfigFieldDeclaration, S as State, ad as Transition, l as Event, X as TraitConfigValue, Q as TraitCategory, ar as TraitScope } from '../trait-C_TZnqb_.js';
9
- export { e as CONFIG_REF_EVENT_PATTERN, C as CallSiteConfig, b as CallSiteConfigEntry, g as ConfigFieldDeclarationSchema, h as ConfigFieldItemsDeclaration, i as ConfigRefEventError, j as DeclaredTraitConfigSchema, E as EntityFieldContract, k as EntityFieldContractSchema, m as EventInput, n as EventPayloadField, o as EventPayloadFieldSchema, p as EventSchema, q as EventScope, r as EventScopeSchema, G as Guard, s as GuardInput, t as GuardSchema, u as ListenSourceSchema, O as OrbitalTraitRef, v as OrbitalTraitRefSchema, P as PayloadField, w as PayloadFieldSchema, x as PresentationType, R as REFERENCE_CONFIG_TYPES, y as ReferenceConfigType, z as RequiredField, A as RequiredFieldSchema, B as SECRET_CONFIG_TYPES, F as SecretConfigType, H as StateInput, I as StateMachine, J as StateMachineInput, K as StateMachineSchema, M as StateSchema, N as TickIntervalSchema, U as TraitCategorySchema, V as TraitConfigObject, W as TraitConfigSchema, Y as TraitConfigValueSchema, Z as TraitDataEntity, _ as TraitDataEntitySchema, $ as TraitEntityField, a0 as TraitEntityFieldSchema, a1 as TraitEventContract, a2 as TraitEventContractSchema, T as TraitEventListener, a3 as TraitEventListenerSchema, a4 as TraitInput, a5 as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ae as TransitionInput, af as TransitionSchema, ag as configRefEventKnob, ah as getTraitConfig, ai as getTraitName, aj as isCallSiteConfigDeclaration, ak as isCircuitEvent, al as isInlineTrait, am as isReferenceConfigType, an as isSecretConfigType, ao as normalizeCallSiteConfigToValues, ap as normalizeTraitRef, aq as resolveConfigRefEventName } from '../trait-C_TZnqb_.js';
10
- import { a3 as ServiceParams, A as AnyPatternConfig, E as Effect } from '../effect-DQPFowvO.js';
11
- export { a as AgentEffect, b as ApplicationEffect, c as AtomicEffect, B as BehaviorEffect, C as CallServiceConfig, d as CallServiceEffect, e as CheckpointLoadEffect, f as CheckpointSaveEffect, g as ComposeEffect, D as DerefEffect, h as DespawnEffect, i as DoEffect, j as EffectInput, k as EffectSchema, l as EmitConfig, m as EmitEffect, n as EvaluateConfig, o as EvaluateEffect, F as FetchEffect, p as FetchOptions, q as FetchResult, r as ForwardConfig, s as ForwardEffect, L as LlmEffect, t as LogEffect, M as McpServiceDef, u as McpServiceDefSchema, v as MemoryEffect, N as NavigateEffect, w as NnConfig, x as NnLayer, y as NotifyEffect, O as OsEffect, P as PATTERN_TYPES, z as PatternConfig, I as PatternType, J as PersistData, K as PersistEffect, Q as PersistEmitConfig, R as RefEffect, S as RenderBinding, T as RenderChildrenMap, U as RenderItemLambda, V as RenderUIEffect, W as RenderUINode, X as ResolvedPatternProps, Y as RestAuthConfig, Z as RestAuthConfigSchema, _ as RestServiceDef, $ as RestServiceDefSchema, a0 as SERVICE_TYPES, a1 as ServiceDefinition, a2 as ServiceDefinitionSchema, a4 as ServiceParamsValue, a5 as ServiceRef, a6 as ServiceRefObject, a7 as ServiceRefObjectSchema, a8 as ServiceRefSchema, a9 as ServiceRefStringSchema, aa as ServiceType, ab as ServiceTypeSchema, ac as SessionEffect, ad as SetEffect, ae as SocketEvents, af as SocketEventsSchema, ag as SocketServiceDef, ah as SocketServiceDefSchema, ai as SpawnEffect, aj as SwapEffect, ak as TraceEffect, al as TrainConfig, am as TrainEffect, an as TypedEffect, ao as UISlot, ap as UISlotSchema, aq as UI_SLOTS, ar as ValidateEffect, as as WatchEffect, at as WatchOptions, au as atomic, av as callService, aw as deref, ax as despawn, ay as doEffects, az as emit, aA as findService, aB as getServiceNames, aC as hasService, aD as isEffect, aE as isMcpService, aF as isRestService, aG as isSExprEffect, aH as isServiceReference, aI as isServiceReferenceObject, aJ as isSocketService, aK as isValidPatternType, aL as navigate, aM as notify, aN as parseServiceRef, aO as persist, aP as ref, aQ as renderUI, aR as set, aS as spawn, aT as swap, aU as watch } from '../effect-DQPFowvO.js';
12
- import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-BUqLsSEN.js';
8
+ import { a as TraitReference, g as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ad as Transition, r as Event, e as TraitConfigValue, Y as TraitCategory, ar as TraitScope } from '../trait-BQIlqUHC.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, ae as TransitionInput, af as TransitionSchema, ag as configRefEventKnob, ah as getTraitConfig, ai as getTraitName, aj as isCallSiteConfigDeclaration, ak as isCircuitEvent, al as isInlineTrait, am as isReferenceConfigType, an as isSecretConfigType, ao as normalizeCallSiteConfigToValues, ap as normalizeTraitRef, aq as resolveConfigRefEventName } from '../trait-BQIlqUHC.js';
10
+ import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-Bd_LX0j8.js';
11
+ import { MakeTraitRefOpts, EventWiringEntry, LayoutStrategy } from '../builders.js';
13
12
 
14
13
  /**
15
14
  * S-Expression Bindings
@@ -252,6 +251,20 @@ declare function normalizeUserContext(claims: RawUserClaims | null | undefined):
252
251
  * its own persona at the call site; these are defaults, not an allow-list.
253
252
  */
254
253
  declare const MOCK_PERSONAS: readonly UserContext[];
254
+ /**
255
+ * The viewer a host presents when nothing named one.
256
+ *
257
+ * Without this, `@user` is `Null` in headless verify and preview, so every
258
+ * `viewerName: @user.name` binding renders blank and the account menu never
259
+ * appears — an app that cannot say who you are. Worse, an ownership filter that
260
+ * works and one that is broken both render an empty table.
261
+ *
262
+ * `role` is deliberately EMPTY, not a guess. A default of `admin` would silently
263
+ * flip which branch renders at the 38 `@user.role` comparisons in the corpus;
264
+ * an empty role matches no literal, exactly as `Null` did, so this fixes
265
+ * "undefined at runtime" without changing a single guard outcome.
266
+ */
267
+ declare const DEFAULT_VIEWER: UserContext;
255
268
  /** Look a dev persona up by id, or by role when no id matches. */
256
269
  declare function findMockPersona(idOrRole: string): UserContext | undefined;
257
270
  /**
@@ -2952,4 +2965,4 @@ interface ParsedDesign {
2952
2965
  };
2953
2966
  }
2954
2967
 
2955
- export { ANONYMOUS_USER, type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnalysisOrbital, type AnalysisOrbitalParams, type AnalysisPageOverride, type AnalysisRename, type AnalysisResult, type AnnotationTier, type AppCreatedEvent, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BuilderResult, type BusEvent, type BusEventListener, type BusEventSource, type CancelledEvent, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type ChangesetRecordedEvent, type ChangesetValue, type CheckStatus, type Clarification, type ClarificationCandidate, type ClarificationLevel, type CompleteEvent, type ComplexityAssessment, type ComposeAllResult, type ComposeChildrenResult, type ComposeOptions, ConfigFieldDeclaration, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, DEV_TOKEN_PREFIX, DeclaredTraitConfig, type DeleteFlow, type DispatchUpdatesResult, DomainContext, type EdgeType, type EditFlow, Effect, type EffectPayload, type EffectResult, type EffectTrace, Entity, EntityField, EntityPersistence, EntityRow, type ErrorEvent, EvalContext, Event, type EventEmit, EventId, type EventKey, type EventListen, type EventLogEntry, EventPayload, EventPayloadValue, type EvolutionDelta, type ExecutePlanResult, type ExtraTraitRef, FieldValue, type FileOperationEvent, type FileWrittenEvent, Orbital as FullOrbitalUnit, type GateState, type GenerationLogEvent, type GitHubIssue, type GitHubLink, type GitHubRepo, type HistoryMeta, type IntegrationContext, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type InterruptEvent, JsonObject, JsonValue, KNOWN_VALIDATION_ERROR_CODES, type KnobPayload, type KnownValidationErrorCode, type LazyService, type LineageEntry, type ListInteraction, ListenSource, type LivingEdge, type LivingEffect, type LivingEntity, type LivingEvent, type LivingField, type LivingOrbital, type LivingOrbitalSchema, type LivingPage, type LivingState, type LivingTrait, type LivingTransition, type LivingValue, type LivingVertex, type LlmCallToolsResult, type LlmContext, type LlmMessage, type LlmTokenUsage, type LlmToolCall, type LlmToolDef, LogMeta, type LoloEmitResult, MOCK_PERSONAS, type MemoryContext, type MessageEvent, Orbital, type OrbitalAddedEvent, OrbitalDefinition, OrbitalId, OrbitalSchema, type OrbitalSchemaCompleteEvent, type OrbitalVerificationAPI, Page, type PageContentReduction, PageTraitRef, type ParamsRepairEmittedEvent, type ParsedDesign, type ParsedDomainContext, type ParsedEmitDeclaration, type ParsedEntity, type ParsedEvent, type ParsedListenDeclaration, type ParsedOrbital, type ParsedPage, type ParsedState, type ParsedStateMachine, type ParsedTrait, type ParsedTraitConfig, type ParsedTransition, PatternTypeSchema, type PersistActionName, type PlanSnapshot, type PlanSnapshotStatus, type PlannerResult, type Probability, type ProcessCompleteEvent, type ProcessErrorEvent, type ProcessRepairCompleteEvent, type ProcessRepairEvent, type ProcessStartEvent, type RawUserClaims, type RepairResult, type ResolvedEntity, type ResolvedEntityBinding, type ResolvedField, type ResolvedIR, type ResolvedNavigation, type ResolvedPage, type ResolvedPattern, type ResolvedSection, type ResolvedSectionEvent, type ResolvedTrait, type ResolvedTraitBinding, type ResolvedTraitDataEntity, type ResolvedTraitEvent, type ResolvedTraitGuard, type ResolvedTraitListener, type ResolvedTraitState, type ResolvedTraitTick, type ResolvedTraitTransition, type ResolvedTraitUIBinding, SExpr, type SSEEvent, type SSEEventBase, type SSEEventType, type SaveOptions, type SaveResult, type SchemaChange, type SchemaPhaseUpdateEvent, type SchemaPhaseValidatedEvent, type SchemaUpdateEvent, type SemanticAnnotation, type SemanticChangeKind, type SemanticSchemaChange, type SemanticVector, type ServerResponseTrace, type ServiceAction, type ServiceActionName, type ServiceCallResult, type ServiceContract, type ServiceEvents, ServiceParams, type SessionContext, type SessionHistoryEntry, type SnapshotCreatedEvent, type SnapshotDocument, type SpawnResult, type StartEvent, State, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, type SubagentCompleteEvent, type SubagentEvent, type SubagentProgressEvent, type SubagentStartEvent, ThemeDefinition, type TodoActivityType, type TodoDetailEvent, type TodoUpdateEvent, ToolArgs, type ToolCallEvent, type ToolResultEvent, type TraceContext, Trait, TraitCategory, TraitConfig, TraitConfigValue, type TraitFieldRef, TraitFieldRefSchema, TraitId, TraitReference, type TraitStateSnapshot, Transition, type TransitionFrom, type TransitionTrace, type Unsubscribe, type UserContext, type ValidateResult, OrbitalDefinition as ValidatedOrbital, type ValidationDocument, type ValidationError, type ValidationErrorCode, type ValidationIssue, type ValidationMeta, type ValidationResult, type ValidationResults, type VerificationCheck, type VerificationSnapshot, type VerificationSummary, type VertexId, type VertexPayload, type VertexType, type ViewFlow, type WorkspaceContext, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, encodeDevIdentityToken, findMockPersona, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, normalizeUserContext, resolvePersonaSpec, toBindingRoot, validateBindingInContext, widenTier };
2968
+ export { ANONYMOUS_USER, type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnalysisOrbital, type AnalysisOrbitalParams, type AnalysisPageOverride, type AnalysisRename, type AnalysisResult, type AnnotationTier, type AppCreatedEvent, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BuilderResult, type BusEvent, type BusEventListener, type BusEventSource, type CancelledEvent, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type ChangesetRecordedEvent, type ChangesetValue, type CheckStatus, type Clarification, type ClarificationCandidate, type ClarificationLevel, type CompleteEvent, type ComplexityAssessment, type ComposeAllResult, type ComposeChildrenResult, type ComposeOptions, ConfigFieldDeclaration, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfig, type DeleteFlow, type DispatchUpdatesResult, DomainContext, type EdgeType, type EditFlow, Effect, type EffectPayload, type EffectResult, type EffectTrace, Entity, EntityField, EntityPersistence, EntityRow, type ErrorEvent, EvalContext, Event, type EventEmit, EventId, type EventKey, type EventListen, type EventLogEntry, EventPayload, EventPayloadValue, type EvolutionDelta, type ExecutePlanResult, type ExtraTraitRef, FieldValue, type FileOperationEvent, type FileWrittenEvent, Orbital as FullOrbitalUnit, type GateState, type GenerationLogEvent, type GitHubIssue, type GitHubLink, type GitHubRepo, type HistoryMeta, type IntegrationContext, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type InterruptEvent, JsonObject, JsonValue, KNOWN_VALIDATION_ERROR_CODES, type KnobPayload, type KnownValidationErrorCode, type LazyService, type LineageEntry, type ListInteraction, ListenSource, type LivingEdge, type LivingEffect, type LivingEntity, type LivingEvent, type LivingField, type LivingOrbital, type LivingOrbitalSchema, type LivingPage, type LivingState, type LivingTrait, type LivingTransition, type LivingValue, type LivingVertex, type LlmCallToolsResult, type LlmContext, type LlmMessage, type LlmTokenUsage, type LlmToolCall, type LlmToolDef, LogMeta, type LoloEmitResult, MOCK_PERSONAS, type MemoryContext, type MessageEvent, Orbital, type OrbitalAddedEvent, OrbitalDefinition, OrbitalId, OrbitalSchema, type OrbitalSchemaCompleteEvent, type OrbitalVerificationAPI, Page, type PageContentReduction, PageTraitRef, type ParamsRepairEmittedEvent, type ParsedDesign, type ParsedDomainContext, type ParsedEmitDeclaration, type ParsedEntity, type ParsedEvent, type ParsedListenDeclaration, type ParsedOrbital, type ParsedPage, type ParsedState, type ParsedStateMachine, type ParsedTrait, type ParsedTraitConfig, type ParsedTransition, PatternTypeSchema, type PersistActionName, type PlanSnapshot, type PlanSnapshotStatus, type PlannerResult, type Probability, type ProcessCompleteEvent, type ProcessErrorEvent, type ProcessRepairCompleteEvent, type ProcessRepairEvent, type ProcessStartEvent, type RawUserClaims, type RepairResult, type ResolvedEntity, type ResolvedEntityBinding, type ResolvedField, type ResolvedIR, type ResolvedNavigation, type ResolvedPage, type ResolvedPattern, type ResolvedSection, type ResolvedSectionEvent, type ResolvedTrait, type ResolvedTraitBinding, type ResolvedTraitDataEntity, type ResolvedTraitEvent, type ResolvedTraitGuard, type ResolvedTraitListener, type ResolvedTraitState, type ResolvedTraitTick, type ResolvedTraitTransition, type ResolvedTraitUIBinding, SExpr, type SSEEvent, type SSEEventBase, type SSEEventType, type SaveOptions, type SaveResult, type SchemaChange, type SchemaPhaseUpdateEvent, type SchemaPhaseValidatedEvent, type SchemaUpdateEvent, type SemanticAnnotation, type SemanticChangeKind, type SemanticSchemaChange, type SemanticVector, type ServerResponseTrace, type ServiceAction, type ServiceActionName, type ServiceCallResult, type ServiceContract, type ServiceEvents, ServiceParams, type SessionContext, type SessionHistoryEntry, type SnapshotCreatedEvent, type SnapshotDocument, type SpawnResult, type StartEvent, State, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, type SubagentCompleteEvent, type SubagentEvent, type SubagentProgressEvent, type SubagentStartEvent, ThemeDefinition, type TodoActivityType, type TodoDetailEvent, type TodoUpdateEvent, ToolArgs, type ToolCallEvent, type ToolResultEvent, type TraceContext, Trait, TraitCategory, TraitConfig, TraitConfigValue, type TraitFieldRef, TraitFieldRefSchema, TraitId, TraitReference, type TraitStateSnapshot, Transition, type TransitionFrom, type TransitionTrace, type Unsubscribe, type UserContext, type ValidateResult, OrbitalDefinition as ValidatedOrbital, type ValidationDocument, type ValidationError, type ValidationErrorCode, type ValidationIssue, type ValidationMeta, type ValidationResult, type ValidationResults, type VerificationCheck, type VerificationSnapshot, type VerificationSummary, type VertexId, type VertexPayload, type VertexType, type ViewFlow, type WorkspaceContext, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, encodeDevIdentityToken, findMockPersona, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, normalizeUserContext, resolvePersonaSpec, toBindingRoot, validateBindingInContext, widenTier };
@@ -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
  }
@@ -2185,6 +2179,7 @@ var PATTERN_TYPES = [
2185
2179
  "doc-sidebar",
2186
2180
  "doc-toc",
2187
2181
  "document-viewer",
2182
+ "draw-group",
2188
2183
  "draw-shape",
2189
2184
  "draw-shape-layer",
2190
2185
  "draw-sprite",
@@ -2663,6 +2658,6 @@ function widenTier(tier) {
2663
2658
  return tier;
2664
2659
  }
2665
2660
 
2666
- 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, 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, 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, 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_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, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, callService, collectBindings, configRefEventKnob, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, despawn, doEffects, emit, encodeDevIdentityToken, findMockPersona, findService, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, idKindOf, idPrefix, inferTsType, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isEffect, isEmailValue, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, 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, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mintId, navigate, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, ref, renderUI, resolveConfigRefEventName, resolvePersonaSpec, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
2661
+ 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, 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, 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, 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_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, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, callService, collectBindings, configRefEventKnob, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, despawn, doEffects, emit, encodeDevIdentityToken, findMockPersona, findService, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, idKindOf, idPrefix, inferTsType, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isEffect, isEmailValue, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, 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, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mintId, navigate, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, ref, renderUI, resolveConfigRefEventName, resolvePersonaSpec, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
2667
2662
  //# sourceMappingURL=index.js.map
2668
2663
  //# sourceMappingURL=index.js.map