@almadar/core 7.4.0 → 7.5.1

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 { c4 as ServiceParams, h as OrbitalSchema, e as EntityRow, aQ as FieldValue, b as TraitConfig } from '../schema-CI7VxcmO.js';
2
- export { A as AGENT_DOMAIN_CATEGORIES, m as ALLOWED_CUSTOM_COMPONENTS, n as AgentDomainCategory, o as AgentDomainCategorySchema, p as AgentEffect, q as AllowedCustomComponent, r as AnimationDef, s as AnimationDefInput, t as AnimationDefSchema, u as AssetMap, v as AssetMapInput, w as AssetMapSchema, x as AssetMapping, y as AssetMappingInput, z as AssetMappingSchema, B as AtomicEffect, C as CallServiceConfig, D as CallServiceEffect, F as CheckpointLoadEffect, G as CheckpointSaveEffect, H as ComputedEventContract, I as ComputedEventContractSchema, J as ComputedEventListener, K as ComputedEventListenerSchema, L as CustomPatternDefinition, M as CustomPatternDefinitionInput, N as CustomPatternDefinitionSchema, Q as CustomPatternMap, R as CustomPatternMapInput, V as CustomPatternMapSchema, W as DerefEffect, X as DesignPreferences, Y as DesignPreferencesInput, Z as DesignPreferencesSchema, _ as DesignTokens, $ as DesignTokensInput, a0 as DesignTokensSchema, a1 as DespawnEffect, a2 as DoEffect, a3 as DomainCategory, a4 as DomainCategorySchema, a5 as DomainContext, a6 as DomainContextInput, a7 as DomainContextSchema, a8 as DomainVocabulary, a9 as DomainVocabularySchema, aa as ENTITY_ROLES, ab as Effect, ac as EffectInput, ad as EffectSchema, ae as EmitConfig, af as EmitEffect, E as Entity, ag as EntityCall, ah as EntityCallSchema, ai as EntityData, c as EntityField, aj as EntityFieldInput, ak as EntityFieldSchema, d as EntityPersistence, al as EntityPersistenceSchema, f as EntityRef, am as EntityRefSchema, an as EntityRefStringSchema, ao as EntityRole, ap as EntityRoleSchema, aq as EntitySchema, ar as EntitySemanticRole, as as EntitySemanticRoleSchema, at as EvaluateConfig, au as EvaluateEffect, av as Event, aw as EventInput, ax as EventListener, ay as EventListenerSchema, az as EventPayloadField, aA as EventPayloadFieldSchema, aB as EventSchema, aC as EventScope, aD as EventScopeSchema, aE as EventSemanticRole, aF as EventSemanticRoleSchema, aG as EventSource, aH as EventSourceSchema, aI as FetchEffect, aJ as FetchOptions, aK as Field, aL as FieldFormat, aM as FieldFormatSchema, aN as FieldSchema, aO as FieldType, aP as FieldTypeSchema, aR as ForwardConfig, aS as ForwardEffect, aT as FullOrbitalUnit, aU as GAME_TYPES, aV as GameSubCategory, aW as GameSubCategorySchema, aX as GameType, aY as GameTypeSchema, aZ as Guard, a_ as GuardInput, a$ as GuardSchema, b0 as ListenSource, b1 as ListenSourceSchema, b2 as LogEffect, b3 as McpServiceDef, b4 as McpServiceDefSchema, b5 as NavigateEffect, b6 as NnConfig, b7 as NnLayer, b8 as NodeClassification, b9 as NodeClassificationSchema, ba as NotifyEffect, aT as Orbital, bb as OrbitalConfig, bc as OrbitalConfigInput, bd as OrbitalConfigSchema, O as OrbitalDefinition, be as OrbitalDefinitionSchema, bf as OrbitalEntity, bg as OrbitalEntityInput, bh as OrbitalEntitySchema, bi as OrbitalInput, bj as OrbitalPage, bk as OrbitalPageInput, bl as OrbitalPageSchema, bm as OrbitalPageStrictInput, bn as OrbitalPageStrictSchema, bo as OrbitalSchemaInput, bp as OrbitalSchemaSchema, bq as OrbitalTraitRef, br as OrbitalTraitRefSchema, bs as OrbitalUnit, bt as OrbitalUnitSchema, bu as OrbitalZodSchema, j as Page, P as PageRef, k as PageRefObject, bv as PageRefObjectSchema, bw as PageRefSchema, bx as PageRefStringSchema, by as PageSchema, bz as PageTraitRef, bA as PageTraitRefSchema, bB as PayloadField, bC as PayloadFieldSchema, bD as PersistData, bE as PersistEffect, bF as PersistEmitConfig, bG as PresentationType, bH as RefEffect, bI as RelatedLink, bJ as RelatedLinkSchema, bK as RelationConfig, bL as RelationConfigSchema, bM as RenderItemLambda, bN as RenderUIConfig, bO as RenderUIEffect, bP as RenderUINode, bQ as RequiredField, bR as RequiredFieldSchema, bS as ResolvedAsset, bT as ResolvedAssetInput, bU as ResolvedAssetSchema, bV as ResolvedPatternProps, bW as RestAuthConfig, bX as RestAuthConfigSchema, bY as RestServiceDef, bZ as RestServiceDefSchema, b_ as SERVICE_TYPES, b$ as SemanticAssetRef, c0 as SemanticAssetRefInput, c1 as SemanticAssetRefSchema, c2 as ServiceDefinition, c3 as ServiceDefinitionSchema, c5 as ServiceRef, c6 as ServiceRefObject, c7 as ServiceRefObjectSchema, c8 as ServiceRefSchema, c9 as ServiceRefStringSchema, ca as ServiceType, cb as ServiceTypeSchema, cc as SetEffect, cd as SocketEvents, ce as SocketEventsSchema, cf as SocketServiceDef, cg as SocketServiceDefSchema, ch as SpawnEffect, S as State, ci as StateInput, cj as StateMachine, ck as StateMachineInput, cl as StateMachineSchema, cm as StateSchema, cn as StateSemanticRole, co as StateSemanticRoleSchema, cp as SuggestedGuard, cq as SuggestedGuardSchema, cr as SwapEffect, cs as ThemeDefinition, ct as ThemeDefinitionSchema, cu as ThemeRef, cv as ThemeRefSchema, cw as ThemeRefStringSchema, cx as ThemeTokens, cy as ThemeTokensSchema, cz as ThemeVariant, cA as ThemeVariantSchema, cB as TrainConfig, cC as TrainEffect, i as Trait, cD as TraitCategory, cE as TraitCategorySchema, cF as TraitConfigObject, cG as TraitConfigSchema, cH as TraitConfigValue, cI as TraitConfigValueSchema, cJ as TraitDataEntity, cK as TraitDataEntitySchema, cL as TraitEntityField, cM as TraitEntityFieldSchema, T as TraitEventContract, cN as TraitEventContractSchema, a as TraitEventListener, cO as TraitEventListenerSchema, cP as TraitInput, g as TraitRef, cQ as TraitRefSchema, l as TraitReference, cR as TraitReferenceInput, cS as TraitReferenceSchema, cT as TraitSchema, cU as TraitTick, cV as TraitTickSchema, cW as TraitUIBinding, cX as Transition, cY as TransitionInput, cZ as TransitionSchema, c_ as TypedEffect, c$ as UISlot, d0 as UISlotSchema, d1 as UI_SLOTS, d2 as UXHints, d3 as UXHintsSchema, U as UseDeclaration, d4 as UseDeclarationSchema, d5 as UserPersona, d6 as UserPersonaInput, d7 as UserPersonaSchema, d8 as VISUAL_STYLES, d9 as ViewType, da as ViewTypeSchema, db as VisualStyle, dc as VisualStyleSchema, dd as WatchEffect, de as WatchOptions, df as atomic, dg as callService, dh as createAssetKey, di as deref, dj as deriveCollection, dk as despawn, dl as doEffects, dm as emit, dn as findService, dp as getDefaultAnimationsForRole, dq as getServiceNames, dr as getTraitConfig, ds as getTraitName, dt as hasService, du as isCircuitEvent, dv as isEffect, dw as isEntityCall, dx as isEntityReference, dy as isEntityReferenceAny, dz as isImportedTraitRef, dA as isInlineTrait, dB as isMcpService, dC as isOrbitalDefinition, dD as isPageReference, dE as isPageReferenceObject, dF as isPageReferenceString, dG as isRestService, dH as isRuntimeEntity, dI as isSExprEffect, dJ as isServiceReference, dK as isServiceReferenceObject, dL as isSingletonEntity, dM as isSocketService, dN as isThemeReference, dO as navigate, dP as normalizeTraitRef, dQ as notify, dR as parseAssetKey, dS as parseEntityRef, dT as parseImportedTraitRef, dU as parseOrbitalSchema, dV as parsePageRef, dW as parseServiceRef, dX as persist, dY as ref, dZ as renderUI, d_ as safeParseOrbitalSchema, d$ as set, e0 as spawn, e1 as swap, e2 as validateAssetAnimations, e3 as watch } from '../schema-CI7VxcmO.js';
1
+ import { c9 as ServiceParams, h as OrbitalSchema, e as EntityRow, aU as FieldValue, Y as DeclaredTraitConfig, b as TraitConfig } from '../schema-Bvgo3r3r.js';
2
+ export { A as AGENT_DOMAIN_CATEGORIES, m as ALLOWED_CUSTOM_COMPONENTS, n as AgentDomainCategory, o as AgentDomainCategorySchema, p as AgentEffect, q as AllowedCustomComponent, r as AnimationDef, s as AnimationDefInput, t as AnimationDefSchema, u as AssetMap, v as AssetMapInput, w as AssetMapSchema, x as AssetMapping, y as AssetMappingInput, z as AssetMappingSchema, B as AtomicEffect, C as CallServiceConfig, D as CallServiceEffect, F as CheckpointLoadEffect, G as CheckpointSaveEffect, H as ComputedEventContract, I as ComputedEventContractSchema, J as ComputedEventListener, K as ComputedEventListenerSchema, L as ConfigFieldDeclaration, M as ConfigFieldDeclarationSchema, N as CustomPatternDefinition, Q as CustomPatternDefinitionInput, R as CustomPatternDefinitionSchema, V as CustomPatternMap, W as CustomPatternMapInput, X as CustomPatternMapSchema, Z as DeclaredTraitConfigSchema, _ as DerefEffect, $ as DesignPreferences, a0 as DesignPreferencesInput, a1 as DesignPreferencesSchema, a2 as DesignTokens, a3 as DesignTokensInput, a4 as DesignTokensSchema, a5 as DespawnEffect, a6 as DoEffect, a7 as DomainCategory, a8 as DomainCategorySchema, a9 as DomainContext, aa as DomainContextInput, ab as DomainContextSchema, ac as DomainVocabulary, ad as DomainVocabularySchema, ae as ENTITY_ROLES, af as Effect, ag as EffectInput, ah as EffectSchema, ai as EmitConfig, aj as EmitEffect, E as Entity, ak as EntityCall, al as EntityCallSchema, am as EntityData, c as EntityField, an as EntityFieldInput, ao as EntityFieldSchema, d as EntityPersistence, ap as EntityPersistenceSchema, f as EntityRef, aq as EntityRefSchema, ar as EntityRefStringSchema, as as EntityRole, at as EntityRoleSchema, au as EntitySchema, av as EntitySemanticRole, aw as EntitySemanticRoleSchema, ax as EvaluateConfig, ay as EvaluateEffect, az as Event, aA as EventInput, aB as EventListener, aC as EventListenerSchema, aD as EventPayloadField, aE as EventPayloadFieldSchema, aF as EventSchema, aG as EventScope, aH as EventScopeSchema, aI as EventSemanticRole, aJ as EventSemanticRoleSchema, aK as EventSource, aL as EventSourceSchema, aM as FetchEffect, aN as FetchOptions, aO as Field, aP as FieldFormat, aQ as FieldFormatSchema, aR as FieldSchema, aS as FieldType, aT as FieldTypeSchema, aV as ForwardConfig, aW as ForwardEffect, aX as FullOrbitalUnit, aY as GAME_TYPES, aZ as GameSubCategory, a_ as GameSubCategorySchema, a$ as GameType, b0 as GameTypeSchema, b1 as Guard, b2 as GuardInput, b3 as GuardSchema, b4 as ListenSource, b5 as ListenSourceSchema, b6 as LogEffect, b7 as McpServiceDef, b8 as McpServiceDefSchema, b9 as NavigateEffect, ba as NnConfig, bb as NnLayer, bc as NodeClassification, bd as NodeClassificationSchema, be as NotifyEffect, aX as Orbital, bf as OrbitalConfig, bg as OrbitalConfigInput, bh as OrbitalConfigSchema, O as OrbitalDefinition, bi as OrbitalDefinitionSchema, bj as OrbitalEntity, bk as OrbitalEntityInput, bl as OrbitalEntitySchema, bm as OrbitalInput, bn as OrbitalPage, bo as OrbitalPageInput, bp as OrbitalPageSchema, bq as OrbitalPageStrictInput, br as OrbitalPageStrictSchema, bs as OrbitalSchemaInput, bt as OrbitalSchemaSchema, bu as OrbitalTraitRef, bv as OrbitalTraitRefSchema, bw as OrbitalUnit, bx as OrbitalUnitSchema, by as OrbitalZodSchema, bz as OsEffect, j as Page, P as PageRef, k as PageRefObject, bA as PageRefObjectSchema, bB as PageRefSchema, bC as PageRefStringSchema, bD as PageSchema, bE as PageTraitRef, bF as PageTraitRefSchema, bG as PayloadField, bH as PayloadFieldSchema, bI as PersistData, bJ as PersistEffect, bK as PersistEmitConfig, bL as PresentationType, bM as RefEffect, bN as RelatedLink, bO as RelatedLinkSchema, bP as RelationConfig, bQ as RelationConfigSchema, bR as RenderItemLambda, bS as RenderUIConfig, bT as RenderUIEffect, bU as RenderUINode, bV as RequiredField, bW as RequiredFieldSchema, bX as ResolvedAsset, bY as ResolvedAssetInput, bZ as ResolvedAssetSchema, b_ as ResolvedPatternProps, b$ as RestAuthConfig, c0 as RestAuthConfigSchema, c1 as RestServiceDef, c2 as RestServiceDefSchema, c3 as SERVICE_TYPES, c4 as SemanticAssetRef, c5 as SemanticAssetRefInput, c6 as SemanticAssetRefSchema, c7 as ServiceDefinition, c8 as ServiceDefinitionSchema, ca as ServiceRef, cb as ServiceRefObject, cc as ServiceRefObjectSchema, cd as ServiceRefSchema, ce as ServiceRefStringSchema, cf as ServiceType, cg as ServiceTypeSchema, ch as SetEffect, ci as SocketEvents, cj as SocketEventsSchema, ck as SocketServiceDef, cl as SocketServiceDefSchema, cm as SpawnEffect, S as State, cn as StateInput, co as StateMachine, cp as StateMachineInput, cq as StateMachineSchema, cr as StateSchema, cs as StateSemanticRole, ct as StateSemanticRoleSchema, cu as SuggestedGuard, cv as SuggestedGuardSchema, cw as SwapEffect, cx as ThemeDefinition, cy as ThemeDefinitionSchema, cz as ThemeRef, cA as ThemeRefSchema, cB as ThemeRefStringSchema, cC as ThemeTokens, cD as ThemeTokensSchema, cE as ThemeVariant, cF as ThemeVariantSchema, cG as TrainConfig, cH as TrainEffect, i as Trait, cI as TraitCategory, cJ as TraitCategorySchema, cK as TraitConfigObject, cL as TraitConfigSchema, cM as TraitConfigValue, cN as TraitConfigValueSchema, cO as TraitDataEntity, cP as TraitDataEntitySchema, cQ as TraitEntityField, cR as TraitEntityFieldSchema, T as TraitEventContract, cS as TraitEventContractSchema, a as TraitEventListener, cT as TraitEventListenerSchema, cU as TraitInput, g as TraitRef, cV as TraitRefSchema, l as TraitReference, cW as TraitReferenceInput, cX as TraitReferenceSchema, cY as TraitSchema, cZ as TraitTick, c_ as TraitTickSchema, c$ as TraitUIBinding, d0 as Transition, d1 as TransitionInput, d2 as TransitionSchema, d3 as TypedEffect, d4 as UISlot, d5 as UISlotSchema, d6 as UI_SLOTS, d7 as UXHints, d8 as UXHintsSchema, U as UseDeclaration, d9 as UseDeclarationSchema, da as UserPersona, db as UserPersonaInput, dc as UserPersonaSchema, dd as VISUAL_STYLES, de as ViewType, df as ViewTypeSchema, dg as VisualStyle, dh as VisualStyleSchema, di as WatchEffect, dj as WatchOptions, dk as atomic, dl as callService, dm as createAssetKey, dn as deref, dp as deriveCollection, dq as despawn, dr as doEffects, ds as emit, dt as findService, du as getDefaultAnimationsForRole, dv as getServiceNames, dw as getTraitConfig, dx as getTraitName, dy as hasService, dz as isCircuitEvent, dA as isEffect, dB as isEntityCall, dC as isEntityReference, dD as isEntityReferenceAny, dE as isImportedTraitRef, dF as isInlineTrait, dG as isMcpService, dH as isOrbitalDefinition, dI as isPageReference, dJ as isPageReferenceObject, dK as isPageReferenceString, dL as isRestService, dM as isRuntimeEntity, dN as isSExprEffect, dO as isServiceReference, dP as isServiceReferenceObject, dQ as isSingletonEntity, dR as isSocketService, dS as isThemeReference, dT as navigate, dU as normalizeTraitRef, dV as notify, dW as parseAssetKey, dX as parseEntityRef, dY as parseImportedTraitRef, dZ as parseOrbitalSchema, d_ as parsePageRef, d$ as parseServiceRef, e0 as persist, e1 as ref, e2 as renderUI, e3 as safeParseOrbitalSchema, e4 as set, e5 as spawn, e6 as swap, e7 as validateAssetAnimations, e8 as watch } from '../schema-Bvgo3r3r.js';
3
3
  import { c as EventPayloadValue, b as EventPayload, L as LogMeta, S as SExpr } from '../expression-eBO9-SQM.js';
4
4
  export { C as CORE_BINDINGS, a as CoreBinding, E as EvalContext, d as Expression, e as ExpressionInput, f as ExpressionSchema, P as ParsedBinding, g as SExprAtom, h as SExprAtomSchema, i as SExprInput, j as SExprSchema, k as collectBindings, l as getArgs, m as getOperator, n as isBinding, o as isSExpr, p as isSExprAtom, q as isSExprCall, r as isValidBinding, s as parseBinding, t as sexpr, w as walkSExpr } from '../expression-eBO9-SQM.js';
5
5
  import { z } from 'zod';
@@ -944,7 +944,18 @@ interface ResolvedTrait {
944
944
  ticks: ResolvedTraitTick[];
945
945
  listens: ResolvedTraitListener[];
946
946
  dataEntities: ResolvedTraitDataEntity[];
947
- config?: TraitConfig;
947
+ /**
948
+ * The trait's DECLARED `config { }` schema (per-field
949
+ * `{ type, default? }`). Drives `@config.X` substitution: each
950
+ * field's `default` seeds the binding context behind any caller-
951
+ * supplied call-site `config: { ... }` override on the trait
952
+ * reference. Authored on the atom; flows through verbatim from
953
+ * `Trait.config`.
954
+ *
955
+ * (Caller-supplied call-site overrides live on the page-trait
956
+ * binding's `config: TraitConfig` — see `ResolvedTraitBinding`.)
957
+ */
958
+ config?: DeclaredTraitConfig;
948
959
  ui?: ResolvedTraitUIBinding;
949
960
  }
950
961
  /**
@@ -1388,4 +1399,4 @@ interface OrbitalVerificationAPI {
1388
1399
  clearEventLog?: () => void;
1389
1400
  }
1390
1401
 
1391
- export { type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BusEvent, type BusEventListener, type BusEventSource, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type CheckStatus, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, type DeleteFlow, type EditFlow, type EffectTrace, EntityRow, type EventKey, type EventLogEntry, EventPayload, EventPayloadValue, FieldValue, type GitHubLink, type HistoryMeta, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type LazyService, type ListInteraction, LogMeta, OrbitalSchema, type OrbitalVerificationAPI, type PageContentReduction, PatternTypeSchema, type PersistActionName, 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 SaveOptions, type SaveResult, type SchemaChange, type SemanticChangeKind, type SemanticSchemaChange, type ServerResponseTrace, type ServiceAction, type ServiceActionName, type ServiceContract, type ServiceEvents, ServiceParams, type SnapshotDocument, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, TraitConfig, type TraitStateSnapshot, type TransitionFrom, type TransitionTrace, type Unsubscribe, type ValidationDocument, type ValidationIssue, type ValidationMeta, type ValidationResults, type VerificationCheck, type VerificationSnapshot, type VerificationSummary, type ViewFlow, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, getAllPatternTypes, getBindingExamples, getInteractionModelForDomain, inferTsType, isResolvedIR, toBindingRoot, validateBindingInContext };
1402
+ export { type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BusEvent, type BusEventListener, type BusEventSource, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type CheckStatus, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfig, type DeleteFlow, type EditFlow, type EffectTrace, EntityRow, type EventKey, type EventLogEntry, EventPayload, EventPayloadValue, FieldValue, type GitHubLink, type HistoryMeta, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type LazyService, type ListInteraction, LogMeta, OrbitalSchema, type OrbitalVerificationAPI, type PageContentReduction, PatternTypeSchema, type PersistActionName, 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 SaveOptions, type SaveResult, type SchemaChange, type SemanticChangeKind, type SemanticSchemaChange, type ServerResponseTrace, type ServiceAction, type ServiceActionName, type ServiceContract, type ServiceEvents, ServiceParams, type SnapshotDocument, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, TraitConfig, type TraitStateSnapshot, type TransitionFrom, type TransitionTrace, type Unsubscribe, type ValidationDocument, type ValidationIssue, type ValidationMeta, type ValidationResults, type VerificationCheck, type VerificationSnapshot, type VerificationSummary, type ViewFlow, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, getAllPatternTypes, getBindingExamples, getInteractionModelForDomain, inferTsType, isResolvedIR, toBindingRoot, validateBindingInContext };
@@ -475,6 +475,13 @@ var TraitConfigValueSchema = z.lazy(
475
475
  ])
476
476
  );
477
477
  var TraitConfigSchema = z.record(TraitConfigValueSchema);
478
+ var ConfigFieldDeclarationSchema = z.object({
479
+ type: z.string(),
480
+ default: TraitConfigValueSchema.optional()
481
+ });
482
+ var DeclaredTraitConfigSchema = z.record(
483
+ ConfigFieldDeclarationSchema
484
+ );
478
485
  var TraitCategorySchema = z.enum([
479
486
  "lifecycle",
480
487
  "temporal",
@@ -641,7 +648,8 @@ var TraitSchema = z.object({
641
648
  ticks: z.array(TraitTickSchema).optional(),
642
649
  emits: z.array(TraitEventContractSchema).optional(),
643
650
  listens: z.array(TraitEventListenerSchema).optional(),
644
- ui: z.record(z.unknown()).optional()
651
+ ui: z.record(z.unknown()).optional(),
652
+ config: DeclaredTraitConfigSchema.optional()
645
653
  });
646
654
  var TraitRefSchema = z.union([
647
655
  z.string().min(1),
@@ -1418,6 +1426,6 @@ function isResolvedIR(ir) {
1418
1426
  return typeof r.appName === "string" && r.traits instanceof Map && r.pages instanceof Map;
1419
1427
  }
1420
1428
 
1421
- export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, 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, ListenSourceSchema, 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, TraitConfigSchema, TraitConfigValueSchema, 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, 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, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch };
1429
+ export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, 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, ListenSourceSchema, 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, TraitConfigSchema, TraitConfigValueSchema, 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, 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, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch };
1422
1430
  //# sourceMappingURL=index.js.map
1423
1431
  //# sourceMappingURL=index.js.map