@almadar/core 10.41.0 → 10.43.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.
@@ -486,7 +486,7 @@ var OrbitalEntitySchema = z.object({
486
486
  identity: z.boolean().optional(),
487
487
  collection: z.string().optional(),
488
488
  fields: z.array(EntityFieldSchema).min(1, "At least one field is required"),
489
- instances: z.array(z.record(z.unknown())).optional(),
489
+ instances: z.array(z.record(JsonValueSchema)).optional(),
490
490
  timestamps: z.boolean().optional(),
491
491
  softDelete: z.boolean().optional(),
492
492
  description: z.string().optional(),
@@ -517,97 +517,15 @@ function isFieldValue(value) {
517
517
  }
518
518
  return false;
519
519
  }
520
- var UI_SLOTS = [
521
- // App slots
522
- "main",
523
- "sidebar",
524
- "modal",
525
- "drawer",
526
- "overlay",
527
- "center",
528
- "toast",
529
- "floating",
530
- "system",
531
- // For invisible system components (InputListener, CollisionDetector)
532
- "content",
533
- "screen",
534
- // Game HUD slots
535
- "hud",
536
- "hud-top",
537
- "hud-bottom",
538
- "hud.health",
539
- "hud.score",
540
- "hud.inventory",
541
- "hud.stamina",
542
- // Game overlay slots
543
- "overlay.inventory",
544
- "overlay.dialogue",
545
- "overlay.menu",
546
- "overlay.pause"
547
- ];
548
- var UISlotSchema = z.enum(UI_SLOTS);
549
- var EffectSchema = z.array(z.unknown()).min(1).refine(
550
- (arr) => typeof arr[0] === "string",
551
- { message: "Effect must be an S-expression with a string operator as first element" }
520
+ var SExprDataSchema = z.lazy(
521
+ () => z.union([SExprAtomSchema, z.array(SExprDataSchema)])
552
522
  );
553
- function isEffect(value) {
554
- return Array.isArray(value) && value.length > 0 && typeof value[0] === "string";
555
- }
556
- var isSExprEffect = isEffect;
557
- function set(binding, value) {
558
- return ["set", binding, value];
559
- }
560
- function emit(event, payload) {
561
- return payload ? ["emit", event, payload] : ["emit", event];
562
- }
563
- function navigate(path, params) {
564
- return params ? ["navigate", path, params] : ["navigate", path];
565
- }
566
- function renderUI(target, pattern, props) {
567
- return props ? ["render-ui", target, pattern, props] : ["render-ui", target, pattern];
568
- }
569
- function persist(action, entity, data) {
570
- if (action === "create" || action === "update") {
571
- return ["persist", action, entity, data];
572
- }
573
- return data ? ["persist", action, entity, data] : ["persist", action, entity];
574
- }
575
- function callService(serviceName, config) {
576
- return ["call-service", serviceName, config];
577
- }
578
- function spawn(entity, initialState) {
579
- return initialState ? ["spawn", entity, initialState] : ["spawn", entity];
580
- }
581
- function despawn(entityId) {
582
- return ["despawn", entityId];
583
- }
584
- function doEffects(...effects) {
585
- return ["do", ...effects];
586
- }
587
- function notify(channel, message, recipient) {
588
- return recipient ? ["notify", channel, message, recipient] : ["notify", channel, message];
589
- }
590
- function ref(binding, selector) {
591
- return selector ? ["ref", binding, selector] : ["ref", binding];
592
- }
593
- function deref(binding, selector) {
594
- return selector ? ["deref", binding, selector] : ["deref", binding];
595
- }
596
- function swap(binding, transform) {
597
- return ["swap!", binding, transform];
598
- }
599
- function watch(binding, event, options) {
600
- return options ? ["watch", binding, event, options] : ["watch", binding, event];
601
- }
602
- function atomic(...effects) {
603
- return ["atomic", ...effects];
604
- }
605
523
  var SExprAtomSchema = z.union([
606
524
  z.string(),
607
525
  z.number(),
608
526
  z.boolean(),
609
527
  z.null(),
610
- z.record(z.unknown())
528
+ z.record(SExprDataSchema)
611
529
  // Objects for payload data
612
530
  ]);
613
531
  var SExprSchema = z.lazy(
@@ -706,6 +624,93 @@ function isEventPayloadValue(value) {
706
624
  return false;
707
625
  }
708
626
 
627
+ // src/types/effect.ts
628
+ var UI_SLOTS = [
629
+ // App slots
630
+ "main",
631
+ "sidebar",
632
+ "modal",
633
+ "drawer",
634
+ "overlay",
635
+ "center",
636
+ "toast",
637
+ "floating",
638
+ "system",
639
+ // For invisible system components (InputListener, CollisionDetector)
640
+ "content",
641
+ "screen",
642
+ // Game HUD slots
643
+ "hud",
644
+ "hud-top",
645
+ "hud-bottom",
646
+ "hud.health",
647
+ "hud.score",
648
+ "hud.inventory",
649
+ "hud.stamina",
650
+ // Game overlay slots
651
+ "overlay.inventory",
652
+ "overlay.dialogue",
653
+ "overlay.menu",
654
+ "overlay.pause"
655
+ ];
656
+ var UISlotSchema = z.enum(UI_SLOTS);
657
+ var EffectSchema = z.array(SExprDataSchema).min(1).refine(
658
+ (arr) => typeof arr[0] === "string",
659
+ { message: "Effect must be an S-expression with a string operator as first element" }
660
+ );
661
+ function isEffect(value) {
662
+ return Array.isArray(value) && value.length > 0 && typeof value[0] === "string";
663
+ }
664
+ var isSExprEffect = isEffect;
665
+ function set(binding, value) {
666
+ return ["set", binding, value];
667
+ }
668
+ function emit(event, payload) {
669
+ return payload ? ["emit", event, payload] : ["emit", event];
670
+ }
671
+ function navigate(path, params) {
672
+ return params ? ["navigate", path, params] : ["navigate", path];
673
+ }
674
+ function renderUI(target, pattern, props) {
675
+ return props ? ["render-ui", target, pattern, props] : ["render-ui", target, pattern];
676
+ }
677
+ function persist(action, entity, data) {
678
+ if (action === "create" || action === "update") {
679
+ return ["persist", action, entity, data];
680
+ }
681
+ return data ? ["persist", action, entity, data] : ["persist", action, entity];
682
+ }
683
+ function callService(serviceName, config) {
684
+ return ["call-service", serviceName, config];
685
+ }
686
+ function spawn(entity, initialState) {
687
+ return initialState ? ["spawn", entity, initialState] : ["spawn", entity];
688
+ }
689
+ function despawn(entityId) {
690
+ return ["despawn", entityId];
691
+ }
692
+ function doEffects(...effects) {
693
+ return ["do", ...effects];
694
+ }
695
+ function notify(channel, message, recipient) {
696
+ return recipient ? ["notify", channel, message, recipient] : ["notify", channel, message];
697
+ }
698
+ function ref(binding, selector) {
699
+ return selector ? ["ref", binding, selector] : ["ref", binding];
700
+ }
701
+ function deref(binding, selector) {
702
+ return selector ? ["deref", binding, selector] : ["deref", binding];
703
+ }
704
+ function swap(binding, transform) {
705
+ return ["swap!", binding, transform];
706
+ }
707
+ function watch(binding, event, options) {
708
+ return options ? ["watch", binding, event, options] : ["watch", binding, event];
709
+ }
710
+ function atomic(...effects) {
711
+ return ["atomic", ...effects];
712
+ }
713
+
709
714
  // src/types/state-machine.ts
710
715
  var StateSchema = z.object({
711
716
  name: z.string().min(1, "State name is required"),
@@ -1011,12 +1016,9 @@ var TraitReferenceSchema = z.object({
1011
1016
  // through to the recursive TraitConfigValue union.
1012
1017
  config: z.record(z.union([ConfigFieldDeclarationSchema, TraitConfigValueSchema])).optional(),
1013
1018
  appliesTo: z.array(z.string()).optional(),
1014
- // Phase F.7: zod accepts an array (the inliner validates element
1015
- // shape). The full ListenDefinition shape isn't recursively encoded
1016
- // here because TraitReference is the call-site form — listen entries
1017
- // pasted in are already-resolved structured definitions, not nested
1018
- // overrides.
1019
- listens: z.array(z.unknown()).optional(),
1019
+ // Phase F.7: caller-supplied listen entries are already-resolved
1020
+ // structured definitions (see `TraitReference.listens`).
1021
+ listens: z.array(TraitEventListenerSchema).optional(),
1020
1022
  emitsScope: z.enum(["internal", "external"]).optional(),
1021
1023
  // Phase F.8: per-transition effects override. The keys are event
1022
1024
  // names (the transition triggers AFTER renames); values are SExpr
@@ -1038,6 +1040,22 @@ var TraitReferenceSchema = z.object({
1038
1040
  path: ["events"]
1039
1041
  }
1040
1042
  );
1043
+ var TraitUIBindingSchema = z.record(
1044
+ z.object({
1045
+ presentation: z.enum(["modal", "drawer", "popover", "inline", "confirm-dialog"]),
1046
+ content: z.union([z.record(JsonValueSchema), z.array(z.record(JsonValueSchema))]),
1047
+ props: z.object({
1048
+ size: z.enum(["sm", "md", "lg", "xl", "full"]).optional(),
1049
+ position: z.enum(["left", "right", "top", "bottom", "center"]).optional(),
1050
+ title: z.string().optional(),
1051
+ closable: z.boolean().optional(),
1052
+ width: z.string().optional(),
1053
+ showProgress: z.boolean().optional(),
1054
+ step: z.number().optional(),
1055
+ totalSteps: z.number().optional()
1056
+ }).optional()
1057
+ })
1058
+ );
1041
1059
  var TraitScopeSchema = z.enum(["instance", "collection"]);
1042
1060
  var EntityFieldContractSchema = z.object({
1043
1061
  requires: z.array(z.string()),
@@ -1071,26 +1089,14 @@ var TraitSchema = z.object({
1071
1089
  ticks: z.array(TraitTickSchema).optional(),
1072
1090
  emits: z.array(TraitEventContractSchema).optional(),
1073
1091
  listens: z.array(TraitEventListenerSchema).optional(),
1074
- ui: z.record(z.unknown()).optional(),
1092
+ ui: TraitUIBindingSchema.optional(),
1075
1093
  config: DeclaredTraitConfigSchema.optional(),
1076
1094
  sourceBehavior: SourceBehaviorMetadataSchema.optional(),
1077
1095
  sourceEntityDefinition: EntitySchema.optional()
1078
1096
  });
1079
1097
  var TraitRefSchema = z.union([
1080
1098
  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
- }),
1099
+ TraitReferenceSchema,
1094
1100
  TraitSchema
1095
1101
  // Allow inline trait definitions
1096
1102
  ]);
@@ -1937,6 +1943,29 @@ var BINDING_CONTEXT_RULES = {
1937
1943
  description: "Ticks can access entity fields, current state, time, trait config (@config.X) for parameterized atoms, and the authenticated user context (@user.id, @user.role). Same substitution semantics as guards/effects."
1938
1944
  }
1939
1945
  };
1946
+ var RENDER_BINDING_MARKER = "$renderBinding";
1947
+ function isRenderBindingMarker(value) {
1948
+ return typeof value === "object" && value !== null && !Array.isArray(value) && RENDER_BINDING_MARKER in value && value[RENDER_BINDING_MARKER] === true;
1949
+ }
1950
+ var ENTITY_BINDING_RE = /@entity(?=[.\[\]]|$)/;
1951
+ var PAYLOAD_BINDING_RE = /@(?:callsitePayload|payload)(?=[.\[\]]|$)/;
1952
+ function containsEntityBinding(value) {
1953
+ if (typeof value === "string") return ENTITY_BINDING_RE.test(value);
1954
+ if (Array.isArray(value)) return value.some(containsEntityBinding);
1955
+ if (value !== null && typeof value === "object") {
1956
+ if (isRenderBindingMarker(value)) return true;
1957
+ return Object.values(value).some(containsEntityBinding);
1958
+ }
1959
+ return false;
1960
+ }
1961
+ function containsPayloadBinding(value) {
1962
+ if (typeof value === "string") return PAYLOAD_BINDING_RE.test(value);
1963
+ if (Array.isArray(value)) return value.some(containsPayloadBinding);
1964
+ if (value !== null && typeof value === "object") {
1965
+ return Object.values(value).some(containsPayloadBinding);
1966
+ }
1967
+ return false;
1968
+ }
1940
1969
  function validateBindingInContext(binding, context) {
1941
1970
  const rules = BINDING_CONTEXT_RULES[context];
1942
1971
  if (binding.type === "core") {
@@ -2005,6 +2034,12 @@ var MOCK_PERSONAS = [
2005
2034
  { id: "member-1", name: "Maya Member", email: "maya@example.com", role: "member", permissions: ["read"] },
2006
2035
  { id: "customer-1", name: "Cai Customer", email: "cai@example.com", role: "customer", permissions: ["read"] }
2007
2036
  ];
2037
+ var DEFAULT_VIEWER = {
2038
+ id: "viewer-1",
2039
+ name: "Dev Viewer",
2040
+ email: "viewer@example.com",
2041
+ role: ""
2042
+ };
2008
2043
  function findMockPersona(idOrRole) {
2009
2044
  return MOCK_PERSONAS.find((p) => p.id === idOrRole) ?? MOCK_PERSONAS.find((p) => p.role === idOrRole);
2010
2045
  }
@@ -2185,6 +2220,7 @@ var PATTERN_TYPES = [
2185
2220
  "doc-sidebar",
2186
2221
  "doc-toc",
2187
2222
  "document-viewer",
2223
+ "draw-group",
2188
2224
  "draw-shape",
2189
2225
  "draw-shape-layer",
2190
2226
  "draw-sprite",
@@ -2194,6 +2230,7 @@ var PATTERN_TYPES = [
2194
2230
  "drawer",
2195
2231
  "drawer-slot",
2196
2232
  "edge-decoration",
2233
+ "emoji-picker",
2197
2234
  "empty-state",
2198
2235
  "entity-cards",
2199
2236
  "entity-list",
@@ -2336,10 +2373,6 @@ var PATTERN_TYPES = [
2336
2373
  "subagent-trace-panel",
2337
2374
  "svg-branch",
2338
2375
  "svg-connection",
2339
- "svg-draw-group",
2340
- "svg-draw-shape",
2341
- "svg-draw-shape-layer",
2342
- "svg-draw-text",
2343
2376
  "svg-flow",
2344
2377
  "svg-grid",
2345
2378
  "svg-lobe",
@@ -2350,7 +2383,6 @@ var PATTERN_TYPES = [
2350
2383
  "svg-ring",
2351
2384
  "svg-shield",
2352
2385
  "svg-stack",
2353
- "svg-stage",
2354
2386
  "swipeable-row",
2355
2387
  "switch",
2356
2388
  "tabbed-container",
@@ -2668,6 +2700,6 @@ function widenTier(tier) {
2668
2700
  return tier;
2669
2701
  }
2670
2702
 
2671
- 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 };
2703
+ 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, RENDER_BINDING_MARKER, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, 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, TraitUIBindingSchema, 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, containsEntityBinding, containsPayloadBinding, 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, isRenderBindingMarker, 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 };
2672
2704
  //# sourceMappingURL=index.js.map
2673
2705
  //# sourceMappingURL=index.js.map