@almadar/core 3.0.0 → 4.0.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,5 +1,5 @@
1
- import { b as EntityRow, aF as FieldValue, bG as SExpr } from '../schema-COvHzxfu.js';
2
- export { A as AGENT_DOMAIN_CATEGORIES, f as ALLOWED_CUSTOM_COMPONENTS, g as AgentDomainCategory, h as AgentDomainCategorySchema, i as AgentEffect, j as AllowedCustomComponent, k as AnimationDef, l as AnimationDefInput, m as AnimationDefSchema, c as AppSchema, n as AssetMap, o as AssetMapInput, p as AssetMapSchema, q as AssetMapping, r as AssetMappingInput, s as AssetMappingSchema, t as AtomicEffect, C as CORE_BINDINGS, u as CallServiceConfig, v as ComputedEventContract, w as ComputedEventContractSchema, x as ComputedEventListener, y as ComputedEventListenerSchema, z as CoreBinding, B as CustomPatternDefinition, D as CustomPatternDefinitionInput, F as CustomPatternDefinitionSchema, G as CustomPatternMap, H as CustomPatternMapInput, I as CustomPatternMapSchema, J as DerefEffect, K as DesignPreferences, L as DesignPreferencesInput, M as DesignPreferencesSchema, N as DesignTokens, Q as DesignTokensInput, R as DesignTokensSchema, U as DomainCategory, V as DomainCategorySchema, W as DomainContext, X as DomainContextInput, Y as DomainContextSchema, Z as DomainVocabulary, _ as DomainVocabularySchema, $ as ENTITY_ROLES, a0 as Effect, a1 as EffectInput, a2 as EffectSchema, e as Entity, a3 as EntityCall, a4 as EntityCallSchema, a5 as EntityData, E as EntityField, a6 as EntityFieldInput, a7 as EntityFieldSchema, a as EntityPersistence, a8 as EntityPersistenceSchema, a9 as EntityRef, aa as EntityRefSchema, ab as EntityRefStringSchema, ac as EntityRole, ad as EntityRoleSchema, ae as EntitySchema, af as EntitySemanticRole, ag as EntitySemanticRoleSchema, ah as EvalContext, ai as Event, aj as EventInput, ak as EventListener, al as EventListenerSchema, am as EventPayload, an as EventPayloadField, ao as EventPayloadFieldSchema, ap as EventSchema, aq as EventScope, ar as EventScopeSchema, as as EventSemanticRole, at as EventSemanticRoleSchema, au as EventSource, av as EventSourceSchema, aw as Expression, ax as ExpressionInput, ay as ExpressionSchema, az as Field, aA as FieldFormat, aB as FieldFormatSchema, aC as FieldSchema, aD as FieldType, aE as FieldTypeSchema, aG as FullOrbitalUnit, aH as GAME_TYPES, aI as GameSubCategory, aJ as GameSubCategorySchema, aK as GameType, aL as GameTypeSchema, aM as Guard, aN as GuardInput, aO as GuardSchema, aP as LogMeta, aQ as McpServiceDef, aR as McpServiceDefSchema, aS as NodeClassification, aT as NodeClassificationSchema, aG as Orbital, aU as OrbitalConfig, aV as OrbitalConfigInput, aW as OrbitalConfigSchema, O as OrbitalDefinition, aX as OrbitalDefinitionSchema, aY as OrbitalEntity, aZ as OrbitalEntityInput, a_ as OrbitalEntitySchema, a$ as OrbitalInput, b0 as OrbitalPage, b1 as OrbitalPageInput, b2 as OrbitalPageSchema, b3 as OrbitalPageStrictInput, b4 as OrbitalPageStrictSchema, c as OrbitalSchema, b5 as OrbitalSchemaInput, b6 as OrbitalSchemaSchema, b7 as OrbitalTraitRef, b8 as OrbitalTraitRefSchema, b9 as OrbitalUnit, ba as OrbitalUnitSchema, bb as OrbitalZodSchema, P as Page, bc as PageRef, bd as PageRefObject, be as PageRefObjectSchema, bf as PageRefSchema, bg as PageRefStringSchema, bh as PageSchema, bi as PageTraitRef, bj as PageTraitRefSchema, bk as ParsedBinding, bl as PayloadField, bm as PayloadFieldSchema, bn as PresentationType, bo as RefEffect, bp as RelatedLink, bq as RelatedLinkSchema, br as RelationConfig, bs as RelationConfigSchema, bt as RenderUIConfig, bu as RenderUINode, bv as RequiredField, bw as RequiredFieldSchema, bx as ResolvedAsset, by as ResolvedAssetInput, bz as ResolvedAssetSchema, bA as ResolvedPatternProps, bB as RestAuthConfig, bC as RestAuthConfigSchema, bD as RestServiceDef, bE as RestServiceDefSchema, bF as SERVICE_TYPES, bH as SExprAtom, bI as SExprAtomSchema, bJ as SExprInput, bK as SExprSchema, bL as SemanticAssetRef, bM as SemanticAssetRefInput, bN as SemanticAssetRefSchema, bO as ServiceDefinition, bP as ServiceDefinitionSchema, bQ as ServiceParams, bR as ServiceRef, bS as ServiceRefSchema, bT as ServiceRefStringSchema, bU as ServiceType, bV as ServiceTypeSchema, bW as SocketEvents, bX as SocketEventsSchema, bY as SocketServiceDef, bZ as SocketServiceDefSchema, S as State, b_ as StateInput, b$ as StateMachine, c0 as StateMachineInput, c1 as StateMachineSchema, c2 as StateSchema, c3 as StateSemanticRole, c4 as StateSemanticRoleSchema, c5 as SuggestedGuard, c6 as SuggestedGuardSchema, c7 as SwapEffect, c8 as ThemeDefinition, c9 as ThemeDefinitionSchema, ca as ThemeRef, cb as ThemeRefSchema, cc as ThemeRefStringSchema, cd as ThemeTokens, ce as ThemeTokensSchema, cf as ThemeVariant, cg as ThemeVariantSchema, d as Trait, ch as TraitCategory, ci as TraitCategorySchema, cj as TraitDataEntity, ck as TraitDataEntitySchema, cl as TraitEntityField, cm as TraitEntityFieldSchema, T as TraitEventContract, cn as TraitEventContractSchema, co as TraitEventListener, cp as TraitEventListenerSchema, cq as TraitInput, cr as TraitRef, cs as TraitRefSchema, ct as TraitReference, cu as TraitReferenceInput, cv as TraitReferenceSchema, cw as TraitSchema, cx as TraitTick, cy as TraitTickSchema, cz as TraitUIBinding, cA as Transition, cB as TransitionInput, cC as TransitionSchema, cD as UISlot, cE as UISlotSchema, cF as UI_SLOTS, cG as UXHints, cH as UXHintsSchema, cI as UseDeclaration, cJ as UseDeclarationSchema, cK as UserPersona, cL as UserPersonaInput, cM as UserPersonaSchema, cN as VISUAL_STYLES, cO as ViewType, cP as ViewTypeSchema, cQ as VisualStyle, cR as VisualStyleSchema, cS as WatchEffect, cT as WatchOptions, cU as atomic, cV as callService, cW as collectBindings, cX as createAssetKey, cY as deref, cZ as deriveCollection, c_ as despawn, c$ as doEffects, d0 as emit, d1 as findService, d2 as getArgs, d3 as getDefaultAnimationsForRole, d4 as getOperator, d5 as getServiceNames, d6 as getTraitConfig, d7 as getTraitName, d8 as hasService, d9 as isBinding, da as isCircuitEvent, db as isEffect, dc as isEntityCall, dd as isEntityReference, de as isEntityReferenceAny, df as isImportedTraitRef, dg as isInlineTrait, dh as isMcpService, di as isOrbitalDefinition, dj as isPageReference, dk as isPageReferenceObject, dl as isPageReferenceString, dm as isRestService, dn as isRuntimeEntity, dp as isSExpr, dq as isSExprAtom, dr as isSExprCall, ds as isSExprEffect, dt as isServiceReference, du as isSingletonEntity, dv as isSocketService, dw as isThemeReference, dx as isValidBinding, dy as navigate, dz as normalizeTraitRef, dA as notify, dB as parseAssetKey, dC as parseBinding, dD as parseEntityRef, dE as parseImportedTraitRef, dF as parseOrbitalSchema, dG as parsePageRef, dH as parseServiceRef, dI as persist, dJ as ref, dK as renderUI, dL as safeParseOrbitalSchema, dM as set, dN as sexpr, dO as spawn, dP as swap, dQ as validateAssetAnimations, dR as walkSExpr, dS as watch } from '../schema-COvHzxfu.js';
1
+ import { b as EntityRow, aF as FieldValue, bG as SExpr } from '../schema-CDA_dJjH.js';
2
+ export { A as AGENT_DOMAIN_CATEGORIES, f as ALLOWED_CUSTOM_COMPONENTS, g as AgentDomainCategory, h as AgentDomainCategorySchema, i as AgentEffect, j as AllowedCustomComponent, k as AnimationDef, l as AnimationDefInput, m as AnimationDefSchema, c as AppSchema, n as AssetMap, o as AssetMapInput, p as AssetMapSchema, q as AssetMapping, r as AssetMappingInput, s as AssetMappingSchema, t as AtomicEffect, C as CORE_BINDINGS, u as CallServiceConfig, v as ComputedEventContract, w as ComputedEventContractSchema, x as ComputedEventListener, y as ComputedEventListenerSchema, z as CoreBinding, B as CustomPatternDefinition, D as CustomPatternDefinitionInput, F as CustomPatternDefinitionSchema, G as CustomPatternMap, H as CustomPatternMapInput, I as CustomPatternMapSchema, J as DerefEffect, K as DesignPreferences, L as DesignPreferencesInput, M as DesignPreferencesSchema, N as DesignTokens, Q as DesignTokensInput, R as DesignTokensSchema, U as DomainCategory, V as DomainCategorySchema, W as DomainContext, X as DomainContextInput, Y as DomainContextSchema, Z as DomainVocabulary, _ as DomainVocabularySchema, $ as ENTITY_ROLES, a0 as Effect, a1 as EffectInput, a2 as EffectSchema, e as Entity, a3 as EntityCall, a4 as EntityCallSchema, a5 as EntityData, E as EntityField, a6 as EntityFieldInput, a7 as EntityFieldSchema, a as EntityPersistence, a8 as EntityPersistenceSchema, a9 as EntityRef, aa as EntityRefSchema, ab as EntityRefStringSchema, ac as EntityRole, ad as EntityRoleSchema, ae as EntitySchema, af as EntitySemanticRole, ag as EntitySemanticRoleSchema, ah as EvalContext, ai as Event, aj as EventInput, ak as EventListener, al as EventListenerSchema, am as EventPayload, an as EventPayloadField, ao as EventPayloadFieldSchema, ap as EventSchema, aq as EventScope, ar as EventScopeSchema, as as EventSemanticRole, at as EventSemanticRoleSchema, au as EventSource, av as EventSourceSchema, aw as Expression, ax as ExpressionInput, ay as ExpressionSchema, az as Field, aA as FieldFormat, aB as FieldFormatSchema, aC as FieldSchema, aD as FieldType, aE as FieldTypeSchema, aG as FullOrbitalUnit, aH as GAME_TYPES, aI as GameSubCategory, aJ as GameSubCategorySchema, aK as GameType, aL as GameTypeSchema, aM as Guard, aN as GuardInput, aO as GuardSchema, aP as LogMeta, aQ as McpServiceDef, aR as McpServiceDefSchema, aS as NodeClassification, aT as NodeClassificationSchema, aG as Orbital, aU as OrbitalConfig, aV as OrbitalConfigInput, aW as OrbitalConfigSchema, O as OrbitalDefinition, aX as OrbitalDefinitionSchema, aY as OrbitalEntity, aZ as OrbitalEntityInput, a_ as OrbitalEntitySchema, a$ as OrbitalInput, b0 as OrbitalPage, b1 as OrbitalPageInput, b2 as OrbitalPageSchema, b3 as OrbitalPageStrictInput, b4 as OrbitalPageStrictSchema, c as OrbitalSchema, b5 as OrbitalSchemaInput, b6 as OrbitalSchemaSchema, b7 as OrbitalTraitRef, b8 as OrbitalTraitRefSchema, b9 as OrbitalUnit, ba as OrbitalUnitSchema, bb as OrbitalZodSchema, P as Page, bc as PageRef, bd as PageRefObject, be as PageRefObjectSchema, bf as PageRefSchema, bg as PageRefStringSchema, bh as PageSchema, bi as PageTraitRef, bj as PageTraitRefSchema, bk as ParsedBinding, bl as PayloadField, bm as PayloadFieldSchema, bn as PresentationType, bo as RefEffect, bp as RelatedLink, bq as RelatedLinkSchema, br as RelationConfig, bs as RelationConfigSchema, bt as RenderUIConfig, bu as RenderUINode, bv as RequiredField, bw as RequiredFieldSchema, bx as ResolvedAsset, by as ResolvedAssetInput, bz as ResolvedAssetSchema, bA as ResolvedPatternProps, bB as RestAuthConfig, bC as RestAuthConfigSchema, bD as RestServiceDef, bE as RestServiceDefSchema, bF as SERVICE_TYPES, bH as SExprAtom, bI as SExprAtomSchema, bJ as SExprInput, bK as SExprSchema, bL as SemanticAssetRef, bM as SemanticAssetRefInput, bN as SemanticAssetRefSchema, bO as ServiceDefinition, bP as ServiceDefinitionSchema, bQ as ServiceParams, bR as ServiceRef, bS as ServiceRefObject, bT as ServiceRefObjectSchema, bU as ServiceRefSchema, bV as ServiceRefStringSchema, bW as ServiceType, bX as ServiceTypeSchema, bY as SocketEvents, bZ as SocketEventsSchema, b_ as SocketServiceDef, b$ as SocketServiceDefSchema, S as State, c0 as StateInput, c1 as StateMachine, c2 as StateMachineInput, c3 as StateMachineSchema, c4 as StateSchema, c5 as StateSemanticRole, c6 as StateSemanticRoleSchema, c7 as SuggestedGuard, c8 as SuggestedGuardSchema, c9 as SwapEffect, ca as ThemeDefinition, cb as ThemeDefinitionSchema, cc as ThemeRef, cd as ThemeRefSchema, ce as ThemeRefStringSchema, cf as ThemeTokens, cg as ThemeTokensSchema, ch as ThemeVariant, ci as ThemeVariantSchema, d as Trait, cj as TraitCategory, ck as TraitCategorySchema, cl as TraitDataEntity, cm as TraitDataEntitySchema, cn as TraitEntityField, co as TraitEntityFieldSchema, T as TraitEventContract, cp as TraitEventContractSchema, cq as TraitEventListener, cr as TraitEventListenerSchema, cs as TraitInput, ct as TraitRef, cu as TraitRefSchema, cv as TraitReference, cw as TraitReferenceInput, cx as TraitReferenceSchema, cy as TraitSchema, cz as TraitTick, cA as TraitTickSchema, cB as TraitUIBinding, cC as Transition, cD as TransitionInput, cE as TransitionSchema, cF as UISlot, cG as UISlotSchema, cH as UI_SLOTS, cI as UXHints, cJ as UXHintsSchema, cK as UseDeclaration, cL as UseDeclarationSchema, cM as UserPersona, cN as UserPersonaInput, cO as UserPersonaSchema, cP as VISUAL_STYLES, cQ as ViewType, cR as ViewTypeSchema, cS as VisualStyle, cT as VisualStyleSchema, cU as WatchEffect, cV as WatchOptions, cW as atomic, cX as callService, cY as collectBindings, cZ as createAssetKey, c_ as deref, c$ as deriveCollection, d0 as despawn, d1 as doEffects, d2 as emit, d3 as findService, d4 as getArgs, d5 as getDefaultAnimationsForRole, d6 as getOperator, d7 as getServiceNames, d8 as getTraitConfig, d9 as getTraitName, da as hasService, db as isBinding, dc as isCircuitEvent, dd as isEffect, de as isEntityCall, df as isEntityReference, dg as isEntityReferenceAny, dh as isImportedTraitRef, di as isInlineTrait, dj as isMcpService, dk as isOrbitalDefinition, dl as isPageReference, dm as isPageReferenceObject, dn as isPageReferenceString, dp as isRestService, dq as isRuntimeEntity, dr as isSExpr, ds as isSExprAtom, dt as isSExprCall, du as isSExprEffect, dv as isServiceReference, dw as isServiceReferenceObject, dx as isSingletonEntity, dy as isSocketService, dz as isThemeReference, dA as isValidBinding, dB as navigate, dC as normalizeTraitRef, dD as notify, dE as parseAssetKey, dF as parseBinding, dG as parseEntityRef, dH as parseImportedTraitRef, dI as parseOrbitalSchema, dJ as parsePageRef, dK as parseServiceRef, dL as persist, dM as ref, dN as renderUI, dO as safeParseOrbitalSchema, dP as set, dQ as sexpr, dR as spawn, dS as swap, dT as validateAssetAnimations, dU as walkSExpr, dV as watch } from '../schema-CDA_dJjH.js';
3
3
  import { z } from 'zod';
4
4
  export { CATEGORIES, CategoryMeta, OPERATORS, OPERATORS_SCHEMA, OPERATOR_NAMES, OperatorCategory, OperatorMeta, OperatorStats, OperatorsSchema, TargetPlatform, getOperatorMeta, getOperatorStats, getOperatorsByCategory, getOperatorsForTarget, isEffectOperator, isGuardOperator, isKnownOperator, validateOperatorArity } from '@almadar/operators';
5
5
  export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
@@ -545,10 +545,40 @@ var TraitReferenceSchema = z.object({
545
545
  ref: z.string().min(1),
546
546
  linkedEntity: z.string().optional(),
547
547
  name: z.string().optional(),
548
- events: z.record(z.string(), z.string()).optional(),
548
+ events: z.record(
549
+ z.string().min(1, "events key (atom event name) must be non-empty"),
550
+ z.string().min(1, "events value (caller event name) must be non-empty")
551
+ ).optional(),
549
552
  config: z.record(z.record(z.unknown())).optional(),
550
- appliesTo: z.array(z.string()).optional()
551
- });
553
+ appliesTo: z.array(z.string()).optional(),
554
+ // Phase F.7: zod accepts an array (the inliner validates element
555
+ // shape). The full ListenDefinition shape isn't recursively encoded
556
+ // here because TraitReference is the call-site form — listen entries
557
+ // pasted in are already-resolved structured definitions, not nested
558
+ // overrides.
559
+ listens: z.array(z.unknown()).optional(),
560
+ emitsScope: z.enum(["internal", "external"]).optional(),
561
+ // Phase F.8: per-transition effects override. The keys are event
562
+ // names (the transition triggers AFTER renames). Values are arrays
563
+ // of SExpression-shaped data; the inliner validates the SExpression
564
+ // shape during application, so the schema accepts loose `unknown[]`.
565
+ effects: z.record(
566
+ z.string().min(1, "effects override key (event name) must be non-empty"),
567
+ z.array(z.unknown())
568
+ ).optional()
569
+ }).refine(
570
+ (ref2) => {
571
+ if (!ref2.events) return true;
572
+ for (const [from, to] of Object.entries(ref2.events)) {
573
+ if (from.length === 0 || to.length === 0) return false;
574
+ }
575
+ return true;
576
+ },
577
+ {
578
+ message: 'TraitReference "events" entries must have non-empty atom and caller event names',
579
+ path: ["events"]
580
+ }
581
+ );
552
582
  var TraitSchema = z.object({
553
583
  name: z.string().min(1),
554
584
  description: z.string().optional(),
@@ -571,7 +601,13 @@ var TraitRefSchema = z.union([
571
601
  config: z.record(z.unknown()).optional(),
572
602
  linkedEntity: z.string().optional(),
573
603
  name: z.string().optional(),
574
- events: z.record(z.string(), z.string()).optional()
604
+ // Phase F.4: same non-empty refine as TraitReferenceSchema.events.
605
+ // Both schemas accept the same call-site argument shape, so the
606
+ // validators should agree.
607
+ events: z.record(
608
+ z.string().min(1, "events key (atom event name) must be non-empty"),
609
+ z.string().min(1, "events value (caller event name) must be non-empty")
610
+ ).optional()
575
611
  }),
576
612
  TraitSchema
577
613
  // Allow inline trait definitions
@@ -835,12 +871,24 @@ var ServiceDefinitionSchema = z.discriminatedUnion("type", [
835
871
  function isServiceReference(service) {
836
872
  return typeof service === "string";
837
873
  }
874
+ function isServiceReferenceObject(service) {
875
+ return typeof service === "object" && service !== null && "ref" in service && !("type" in service);
876
+ }
838
877
  var ServiceRefStringSchema = z.string().regex(
839
878
  /^[A-Z][a-zA-Z0-9]*\.services\.[a-zA-Z][a-zA-Z0-9]*$/,
840
879
  'Service reference must be in format "Alias.services.ServiceName" (e.g., "Weather.services.openweather")'
841
880
  );
881
+ var ServiceRefObjectSchema = z.object({
882
+ ref: ServiceRefStringSchema,
883
+ description: z.string().optional(),
884
+ baseUrl: z.string().url("baseUrl override must be a valid URL").optional(),
885
+ headers: z.record(z.string()).optional(),
886
+ url: z.string().url("url override must be a valid URL").optional(),
887
+ serverPath: z.string().optional()
888
+ });
842
889
  var ServiceRefSchema = z.union([
843
890
  ServiceDefinitionSchema,
891
+ ServiceRefObjectSchema,
844
892
  ServiceRefStringSchema
845
893
  ]);
846
894
  function parseServiceRef(ref2) {
@@ -899,7 +947,21 @@ var EntityCallSchema = z.object({
899
947
  fields: z.array(EntityFieldSchema).optional(),
900
948
  persistence: EntityPersistenceSchema.optional(),
901
949
  collection: z.string().optional()
902
- });
950
+ }).refine(
951
+ (call) => {
952
+ if (!call.fields) return true;
953
+ const seen = /* @__PURE__ */ new Set();
954
+ for (const field of call.fields) {
955
+ if (seen.has(field.name)) return false;
956
+ seen.add(field.name);
957
+ }
958
+ return true;
959
+ },
960
+ {
961
+ message: 'EntityCall "fields" override list must not contain duplicate field names',
962
+ path: ["fields"]
963
+ }
964
+ );
903
965
  var EntityRefSchema = z.union([
904
966
  EntitySchema,
905
967
  EntityRefStringSchema,
@@ -1255,6 +1317,6 @@ function isResolvedIR(ir) {
1255
1317
  return typeof r.appName === "string" && r.traits instanceof Map && r.pages instanceof Map;
1256
1318
  }
1257
1319
 
1258
- export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BindingSchema, CORE_BINDINGS, ComputedEventContractSchema, ComputedEventListenerSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, EntityCallSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GuardSchema, InteractionModelSchema, McpServiceDefSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SocketEventsSchema, SocketServiceDefSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TraitCategorySchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, atomic, callService, collectBindings, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, despawn, doEffects, emit, findService, getAllOperators, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isSingletonEntity, isSocketService, isThemeReference, isValidBinding, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, validateAssetAnimations, validateBindingInContext, walkSExpr, watch };
1320
+ export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BindingSchema, CORE_BINDINGS, ComputedEventContractSchema, ComputedEventListenerSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, EntityCallSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GuardSchema, InteractionModelSchema, McpServiceDefSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SocketEventsSchema, SocketServiceDefSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TraitCategorySchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, atomic, callService, collectBindings, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, despawn, doEffects, emit, findService, getAllOperators, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSingletonEntity, isSocketService, isThemeReference, isValidBinding, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, validateAssetAnimations, validateBindingInContext, walkSExpr, watch };
1259
1321
  //# sourceMappingURL=index.js.map
1260
1322
  //# sourceMappingURL=index.js.map