@almadar/core 7.6.0 → 7.7.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.
@@ -1702,6 +1702,20 @@ interface FetchOptions {
1702
1702
  * @example ['fetch', 'User'] or ['fetch', 'User', { id: '@payload.userId' }]
1703
1703
  */
1704
1704
  type FetchEffect = ['fetch', string] | ['fetch', string, FetchOptions];
1705
+ /**
1706
+ * Result returned by a fetch / ref / deref handler.
1707
+ *
1708
+ * `rows` carries the entity (or entities) that survived `filter` AND
1709
+ * pagination (`offset`/`limit`). `total` is the count of rows that
1710
+ * matched the filter BEFORE pagination, so paginating consumers can
1711
+ * compute `totalPages = ceil(total / pageSize)` without a second
1712
+ * round-trip. Single-entity fetches by id return `total: 1` (or `0`
1713
+ * if not found, in which case the handler returns `null` instead).
1714
+ */
1715
+ interface FetchResult {
1716
+ rows: EntityRow | EntityRow[];
1717
+ total: number;
1718
+ }
1705
1719
  /**
1706
1720
  * If effect - conditional effect execution.
1707
1721
  * Uses SExpr to allow deeply nested conditionals.
@@ -22887,4 +22901,4 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
22887
22901
  type OrbitalSchemaInput = z.input<typeof OrbitalSchemaSchema>;
22888
22902
  type OrbitalConfigInput = z.input<typeof OrbitalConfigSchema>;
22889
22903
 
22890
- export { type DesignPreferences as $, AGENT_DOMAIN_CATEGORIES as A, type AtomicEffect as B, type CallServiceConfig as C, type CallServiceEffect as D, type Entity as E, type CheckpointLoadEffect as F, type CheckpointSaveEffect as G, type ComputedEventContract as H, ComputedEventContractSchema as I, type ComputedEventListener as J, ComputedEventListenerSchema as K, type ConfigFieldDeclaration as L, ConfigFieldDeclarationSchema as M, type CustomPatternDefinition as N, type OrbitalDefinition as O, type PageRef as P, type CustomPatternDefinitionInput as Q, CustomPatternDefinitionSchema as R, type State as S, type TraitEventContract as T, type UseDeclaration as U, type CustomPatternMap as V, type CustomPatternMapInput as W, CustomPatternMapSchema as X, type DeclaredTraitConfig as Y, DeclaredTraitConfigSchema as Z, type DerefEffect as _, type TraitEventListener as a, type GameType as a$, type DesignPreferencesInput as a0, DesignPreferencesSchema as a1, type DesignTokens as a2, type DesignTokensInput as a3, DesignTokensSchema as a4, type DespawnEffect as a5, type DoEffect as a6, type DomainCategory as a7, DomainCategorySchema as a8, type DomainContext as a9, type EventInput as aA, type EventListener as aB, EventListenerSchema as aC, type EventPayloadField as aD, EventPayloadFieldSchema as aE, EventSchema as aF, type EventScope as aG, EventScopeSchema as aH, type EventSemanticRole as aI, EventSemanticRoleSchema as aJ, type EventSource as aK, EventSourceSchema as aL, type FetchEffect as aM, type FetchOptions as aN, type Field as aO, type FieldFormat as aP, FieldFormatSchema as aQ, FieldSchema as aR, type FieldType as aS, FieldTypeSchema as aT, type FieldValue as aU, type ForwardConfig as aV, type ForwardEffect as aW, type Orbital as aX, GAME_TYPES as aY, type GameSubCategory as aZ, GameSubCategorySchema as a_, type DomainContextInput as aa, DomainContextSchema as ab, type DomainVocabulary as ac, DomainVocabularySchema as ad, ENTITY_ROLES as ae, type Effect as af, type EffectInput as ag, EffectSchema as ah, type EmitConfig as ai, type EmitEffect as aj, type EntityCall as ak, EntityCallSchema as al, type EntityData as am, type EntityFieldInput as an, EntityFieldSchema as ao, EntityPersistenceSchema as ap, EntityRefSchema as aq, EntityRefStringSchema as ar, type EntityRole as as, EntityRoleSchema as at, EntitySchema as au, type EntitySemanticRole as av, EntitySemanticRoleSchema as aw, type EvaluateConfig as ax, type EvaluateEffect as ay, type Event as az, type TraitConfig as b, type RestAuthConfig as b$, GameTypeSchema as b0, type Guard as b1, type GuardInput as b2, GuardSchema as b3, type ListenSource as b4, ListenSourceSchema as b5, type LogEffect as b6, type McpServiceDef as b7, McpServiceDefSchema as b8, type NavigateEffect as b9, PageRefObjectSchema as bA, PageRefSchema as bB, PageRefStringSchema as bC, PageSchema as bD, type PageTraitRef as bE, PageTraitRefSchema as bF, type PayloadField as bG, PayloadFieldSchema as bH, type PersistData as bI, type PersistEffect as bJ, type PersistEmitConfig as bK, type PresentationType as bL, type RefEffect as bM, type RelatedLink as bN, RelatedLinkSchema as bO, type RelationConfig as bP, RelationConfigSchema as bQ, type RenderItemLambda as bR, type RenderUIConfig as bS, type RenderUIEffect as bT, type RenderUINode as bU, type RequiredField as bV, RequiredFieldSchema as bW, type ResolvedAsset as bX, type ResolvedAssetInput as bY, ResolvedAssetSchema as bZ, type ResolvedPatternProps as b_, type NnConfig as ba, type NnLayer as bb, type NodeClassification as bc, NodeClassificationSchema as bd, type NotifyEffect as be, type OrbitalConfig as bf, type OrbitalConfigInput as bg, OrbitalConfigSchema as bh, OrbitalDefinitionSchema as bi, type OrbitalEntity as bj, type OrbitalEntityInput as bk, OrbitalEntitySchema as bl, type OrbitalInput as bm, type OrbitalPage as bn, type OrbitalPageInput as bo, OrbitalPageSchema as bp, type OrbitalPageStrictInput as bq, OrbitalPageStrictSchema as br, type OrbitalSchemaInput as bs, OrbitalSchemaSchema as bt, type OrbitalTraitRef as bu, OrbitalTraitRefSchema as bv, type OrbitalUnit as bw, OrbitalUnitSchema as bx, OrbitalSchema$1 as by, type OsEffect as bz, type EntityField as c, type TraitUIBinding as c$, RestAuthConfigSchema as c0, type RestServiceDef as c1, RestServiceDefSchema as c2, SERVICE_TYPES as c3, type SemanticAssetRef as c4, type SemanticAssetRefInput as c5, SemanticAssetRefSchema as c6, type ServiceDefinition as c7, ServiceDefinitionSchema as c8, type ServiceParams as c9, ThemeRefSchema as cA, ThemeRefStringSchema as cB, type ThemeTokens as cC, ThemeTokensSchema as cD, type ThemeVariant as cE, ThemeVariantSchema as cF, type TrainConfig as cG, type TrainEffect as cH, type TraitCategory as cI, TraitCategorySchema as cJ, type TraitConfigObject as cK, TraitConfigSchema as cL, type TraitConfigValue as cM, TraitConfigValueSchema as cN, type TraitDataEntity as cO, TraitDataEntitySchema as cP, type TraitEntityField as cQ, TraitEntityFieldSchema as cR, TraitEventContractSchema as cS, TraitEventListenerSchema as cT, type TraitInput as cU, TraitRefSchema as cV, type TraitReferenceInput as cW, TraitReferenceSchema as cX, TraitSchema as cY, type TraitTick as cZ, TraitTickSchema as c_, type ServiceRef as ca, type ServiceRefObject as cb, ServiceRefObjectSchema as cc, ServiceRefSchema as cd, ServiceRefStringSchema as ce, type ServiceType as cf, ServiceTypeSchema as cg, type SetEffect as ch, type SocketEvents as ci, SocketEventsSchema as cj, type SocketServiceDef as ck, SocketServiceDefSchema as cl, type SpawnEffect as cm, type StateInput as cn, type StateMachine as co, type StateMachineInput as cp, StateMachineSchema as cq, StateSchema as cr, type StateSemanticRole as cs, StateSemanticRoleSchema as ct, type SuggestedGuard as cu, SuggestedGuardSchema as cv, type SwapEffect as cw, type ThemeDefinition as cx, ThemeDefinitionSchema as cy, type ThemeRef as cz, type EntityPersistence as d, parseServiceRef as d$, type Transition as d0, type TransitionInput as d1, TransitionSchema as d2, type TypedEffect as d3, type UISlot as d4, UISlotSchema as d5, UI_SLOTS as d6, type UXHints as d7, UXHintsSchema as d8, UseDeclarationSchema as d9, isEffect as dA, isEntityCall as dB, isEntityReference as dC, isEntityReferenceAny as dD, isImportedTraitRef as dE, isInlineTrait as dF, isMcpService as dG, isOrbitalDefinition as dH, isPageReference as dI, isPageReferenceObject as dJ, isPageReferenceString as dK, isRestService as dL, isRuntimeEntity as dM, isSExprEffect as dN, isServiceReference as dO, isServiceReferenceObject as dP, isSingletonEntity as dQ, isSocketService as dR, isThemeReference as dS, navigate as dT, normalizeTraitRef as dU, notify as dV, parseAssetKey as dW, parseEntityRef as dX, parseImportedTraitRef as dY, parseOrbitalSchema as dZ, parsePageRef as d_, type UserPersona as da, type UserPersonaInput as db, UserPersonaSchema as dc, VISUAL_STYLES as dd, type ViewType as de, ViewTypeSchema as df, type VisualStyle as dg, VisualStyleSchema as dh, type WatchEffect as di, type WatchOptions as dj, atomic as dk, callService as dl, createAssetKey as dm, deref as dn, deriveCollection as dp, despawn as dq, doEffects as dr, emit as ds, findService as dt, getDefaultAnimationsForRole as du, getServiceNames as dv, getTraitConfig as dw, getTraitName as dx, hasService as dy, isCircuitEvent as dz, type EntityRow as e, persist as e0, ref as e1, renderUI as e2, safeParseOrbitalSchema as e3, set as e4, spawn as e5, swap as e6, validateAssetAnimations as e7, watch as e8, type EntityRef as f, type TraitRef as g, type OrbitalSchema as h, type Trait as i, type Page as j, type PageRefObject as k, type TraitReference as l, ALLOWED_CUSTOM_COMPONENTS as m, type AgentDomainCategory as n, AgentDomainCategorySchema as o, type AgentEffect as p, type AllowedCustomComponent as q, type AnimationDef as r, type AnimationDefInput as s, AnimationDefSchema as t, type AssetMap as u, type AssetMapInput as v, AssetMapSchema as w, type AssetMapping as x, type AssetMappingInput as y, AssetMappingSchema as z };
22904
+ export { type DesignPreferences as $, AGENT_DOMAIN_CATEGORIES as A, type AtomicEffect as B, type CallServiceConfig as C, type CallServiceEffect as D, type Entity as E, type CheckpointLoadEffect as F, type CheckpointSaveEffect as G, type ComputedEventContract as H, ComputedEventContractSchema as I, type ComputedEventListener as J, ComputedEventListenerSchema as K, type ConfigFieldDeclaration as L, ConfigFieldDeclarationSchema as M, type CustomPatternDefinition as N, type OrbitalDefinition as O, type PageRef as P, type CustomPatternDefinitionInput as Q, CustomPatternDefinitionSchema as R, type State as S, type TraitEventContract as T, type UseDeclaration as U, type CustomPatternMap as V, type CustomPatternMapInput as W, CustomPatternMapSchema as X, type DeclaredTraitConfig as Y, DeclaredTraitConfigSchema as Z, type DerefEffect as _, type TraitEventListener as a, GameSubCategorySchema as a$, type DesignPreferencesInput as a0, DesignPreferencesSchema as a1, type DesignTokens as a2, type DesignTokensInput as a3, DesignTokensSchema as a4, type DespawnEffect as a5, type DoEffect as a6, type DomainCategory as a7, DomainCategorySchema as a8, type DomainContext as a9, type EventInput as aA, type EventListener as aB, EventListenerSchema as aC, type EventPayloadField as aD, EventPayloadFieldSchema as aE, EventSchema as aF, type EventScope as aG, EventScopeSchema as aH, type EventSemanticRole as aI, EventSemanticRoleSchema as aJ, type EventSource as aK, EventSourceSchema as aL, type FetchEffect as aM, type FetchOptions as aN, type FetchResult as aO, type Field as aP, type FieldFormat as aQ, FieldFormatSchema as aR, FieldSchema as aS, type FieldType as aT, FieldTypeSchema as aU, type FieldValue as aV, type ForwardConfig as aW, type ForwardEffect as aX, type Orbital as aY, GAME_TYPES as aZ, type GameSubCategory as a_, type DomainContextInput as aa, DomainContextSchema as ab, type DomainVocabulary as ac, DomainVocabularySchema as ad, ENTITY_ROLES as ae, type Effect as af, type EffectInput as ag, EffectSchema as ah, type EmitConfig as ai, type EmitEffect as aj, type EntityCall as ak, EntityCallSchema as al, type EntityData as am, type EntityFieldInput as an, EntityFieldSchema as ao, EntityPersistenceSchema as ap, EntityRefSchema as aq, EntityRefStringSchema as ar, type EntityRole as as, EntityRoleSchema as at, EntitySchema as au, type EntitySemanticRole as av, EntitySemanticRoleSchema as aw, type EvaluateConfig as ax, type EvaluateEffect as ay, type Event as az, type TraitConfig as b, type ResolvedPatternProps as b$, type GameType as b0, GameTypeSchema as b1, type Guard as b2, type GuardInput as b3, GuardSchema as b4, type ListenSource as b5, ListenSourceSchema as b6, type LogEffect as b7, type McpServiceDef as b8, McpServiceDefSchema as b9, type OsEffect as bA, PageRefObjectSchema as bB, PageRefSchema as bC, PageRefStringSchema as bD, PageSchema as bE, type PageTraitRef as bF, PageTraitRefSchema as bG, type PayloadField as bH, PayloadFieldSchema as bI, type PersistData as bJ, type PersistEffect as bK, type PersistEmitConfig as bL, type PresentationType as bM, type RefEffect as bN, type RelatedLink as bO, RelatedLinkSchema as bP, type RelationConfig as bQ, RelationConfigSchema as bR, type RenderItemLambda as bS, type RenderUIConfig as bT, type RenderUIEffect as bU, type RenderUINode as bV, type RequiredField as bW, RequiredFieldSchema as bX, type ResolvedAsset as bY, type ResolvedAssetInput as bZ, ResolvedAssetSchema as b_, type NavigateEffect as ba, type NnConfig as bb, type NnLayer as bc, type NodeClassification as bd, NodeClassificationSchema as be, type NotifyEffect as bf, type OrbitalConfig as bg, type OrbitalConfigInput as bh, OrbitalConfigSchema as bi, OrbitalDefinitionSchema as bj, type OrbitalEntity as bk, type OrbitalEntityInput as bl, OrbitalEntitySchema as bm, type OrbitalInput as bn, type OrbitalPage as bo, type OrbitalPageInput as bp, OrbitalPageSchema as bq, type OrbitalPageStrictInput as br, OrbitalPageStrictSchema as bs, type OrbitalSchemaInput as bt, OrbitalSchemaSchema as bu, type OrbitalTraitRef as bv, OrbitalTraitRefSchema as bw, type OrbitalUnit as bx, OrbitalUnitSchema as by, OrbitalSchema$1 as bz, type EntityField as c, TraitTickSchema as c$, type RestAuthConfig as c0, RestAuthConfigSchema as c1, type RestServiceDef as c2, RestServiceDefSchema as c3, SERVICE_TYPES as c4, type SemanticAssetRef as c5, type SemanticAssetRefInput as c6, SemanticAssetRefSchema as c7, type ServiceDefinition as c8, ServiceDefinitionSchema as c9, type ThemeRef as cA, ThemeRefSchema as cB, ThemeRefStringSchema as cC, type ThemeTokens as cD, ThemeTokensSchema as cE, type ThemeVariant as cF, ThemeVariantSchema as cG, type TrainConfig as cH, type TrainEffect as cI, type TraitCategory as cJ, TraitCategorySchema as cK, type TraitConfigObject as cL, TraitConfigSchema as cM, type TraitConfigValue as cN, TraitConfigValueSchema as cO, type TraitDataEntity as cP, TraitDataEntitySchema as cQ, type TraitEntityField as cR, TraitEntityFieldSchema as cS, TraitEventContractSchema as cT, TraitEventListenerSchema as cU, type TraitInput as cV, TraitRefSchema as cW, type TraitReferenceInput as cX, TraitReferenceSchema as cY, TraitSchema as cZ, type TraitTick as c_, type ServiceParams as ca, type ServiceRef as cb, type ServiceRefObject as cc, ServiceRefObjectSchema as cd, ServiceRefSchema as ce, ServiceRefStringSchema as cf, type ServiceType as cg, ServiceTypeSchema as ch, type SetEffect as ci, type SocketEvents as cj, SocketEventsSchema as ck, type SocketServiceDef as cl, SocketServiceDefSchema as cm, type SpawnEffect as cn, type StateInput as co, type StateMachine as cp, type StateMachineInput as cq, StateMachineSchema as cr, StateSchema as cs, type StateSemanticRole as ct, StateSemanticRoleSchema as cu, type SuggestedGuard as cv, SuggestedGuardSchema as cw, type SwapEffect as cx, type ThemeDefinition as cy, ThemeDefinitionSchema as cz, type EntityPersistence as d, parsePageRef as d$, type TraitUIBinding as d0, type Transition as d1, type TransitionInput as d2, TransitionSchema as d3, type TypedEffect as d4, type UISlot as d5, UISlotSchema as d6, UI_SLOTS as d7, type UXHints as d8, UXHintsSchema as d9, isCircuitEvent as dA, isEffect as dB, isEntityCall as dC, isEntityReference as dD, isEntityReferenceAny as dE, isImportedTraitRef as dF, isInlineTrait as dG, isMcpService as dH, isOrbitalDefinition as dI, isPageReference as dJ, isPageReferenceObject as dK, isPageReferenceString as dL, isRestService as dM, isRuntimeEntity as dN, isSExprEffect as dO, isServiceReference as dP, isServiceReferenceObject as dQ, isSingletonEntity as dR, isSocketService as dS, isThemeReference as dT, navigate as dU, normalizeTraitRef as dV, notify as dW, parseAssetKey as dX, parseEntityRef as dY, parseImportedTraitRef as dZ, parseOrbitalSchema as d_, UseDeclarationSchema as da, type UserPersona as db, type UserPersonaInput as dc, UserPersonaSchema as dd, VISUAL_STYLES as de, type ViewType as df, ViewTypeSchema as dg, type VisualStyle as dh, VisualStyleSchema as di, type WatchEffect as dj, type WatchOptions as dk, atomic as dl, callService as dm, createAssetKey as dn, deref as dp, deriveCollection as dq, despawn as dr, doEffects as ds, emit as dt, findService as du, getDefaultAnimationsForRole as dv, getServiceNames as dw, getTraitConfig as dx, getTraitName as dy, hasService as dz, type EntityRow as e, parseServiceRef as e0, persist as e1, ref as e2, renderUI as e3, safeParseOrbitalSchema as e4, set as e5, spawn as e6, swap as e7, validateAssetAnimations as e8, watch as e9, type EntityRef as f, type TraitRef as g, type OrbitalSchema as h, type Trait as i, type Page as j, type PageRefObject as k, type TraitReference as l, ALLOWED_CUSTOM_COMPONENTS as m, type AgentDomainCategory as n, AgentDomainCategorySchema as o, type AgentEffect as p, type AllowedCustomComponent as q, type AnimationDef as r, type AnimationDefInput as s, AnimationDefSchema as t, type AssetMap as u, type AssetMapInput as v, AssetMapSchema as w, type AssetMapping as x, type AssetMappingInput as y, AssetMappingSchema as z };
@@ -1,5 +1,5 @@
1
- import { c9 as ServiceParams, h as OrbitalSchema, e as EntityRow, aU as FieldValue, Y as DeclaredTraitConfig, b as TraitConfig } from '../schema-BQhPDGd_.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-BQhPDGd_.js';
1
+ import { ca as ServiceParams, h as OrbitalSchema, e as EntityRow, aV as FieldValue, Y as DeclaredTraitConfig, b as TraitConfig } from '../schema-VTi4U3sS.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 FetchResult, aP as Field, aQ as FieldFormat, aR as FieldFormatSchema, aS as FieldSchema, aT as FieldType, aU as FieldTypeSchema, aW as ForwardConfig, aX as ForwardEffect, aY as FullOrbitalUnit, aZ as GAME_TYPES, a_ as GameSubCategory, a$ as GameSubCategorySchema, b0 as GameType, b1 as GameTypeSchema, b2 as Guard, b3 as GuardInput, b4 as GuardSchema, b5 as ListenSource, b6 as ListenSourceSchema, b7 as LogEffect, b8 as McpServiceDef, b9 as McpServiceDefSchema, ba as NavigateEffect, bb as NnConfig, bc as NnLayer, bd as NodeClassification, be as NodeClassificationSchema, bf as NotifyEffect, aY as Orbital, bg as OrbitalConfig, bh as OrbitalConfigInput, bi as OrbitalConfigSchema, O as OrbitalDefinition, bj as OrbitalDefinitionSchema, bk as OrbitalEntity, bl as OrbitalEntityInput, bm as OrbitalEntitySchema, bn as OrbitalInput, bo as OrbitalPage, bp as OrbitalPageInput, bq as OrbitalPageSchema, br as OrbitalPageStrictInput, bs as OrbitalPageStrictSchema, bt as OrbitalSchemaInput, bu as OrbitalSchemaSchema, bv as OrbitalTraitRef, bw as OrbitalTraitRefSchema, bx as OrbitalUnit, by as OrbitalUnitSchema, bz as OrbitalZodSchema, bA as OsEffect, j as Page, P as PageRef, k as PageRefObject, bB as PageRefObjectSchema, bC as PageRefSchema, bD as PageRefStringSchema, bE as PageSchema, bF as PageTraitRef, bG as PageTraitRefSchema, bH as PayloadField, bI as PayloadFieldSchema, bJ as PersistData, bK as PersistEffect, bL as PersistEmitConfig, bM as PresentationType, bN as RefEffect, bO as RelatedLink, bP as RelatedLinkSchema, bQ as RelationConfig, bR as RelationConfigSchema, bS as RenderItemLambda, bT as RenderUIConfig, bU as RenderUIEffect, bV as RenderUINode, bW as RequiredField, bX as RequiredFieldSchema, bY as ResolvedAsset, bZ as ResolvedAssetInput, b_ as ResolvedAssetSchema, b$ as ResolvedPatternProps, c0 as RestAuthConfig, c1 as RestAuthConfigSchema, c2 as RestServiceDef, c3 as RestServiceDefSchema, c4 as SERVICE_TYPES, c5 as SemanticAssetRef, c6 as SemanticAssetRefInput, c7 as SemanticAssetRefSchema, c8 as ServiceDefinition, c9 as ServiceDefinitionSchema, cb as ServiceRef, cc as ServiceRefObject, cd as ServiceRefObjectSchema, ce as ServiceRefSchema, cf as ServiceRefStringSchema, cg as ServiceType, ch as ServiceTypeSchema, ci as SetEffect, cj as SocketEvents, ck as SocketEventsSchema, cl as SocketServiceDef, cm as SocketServiceDefSchema, cn as SpawnEffect, S as State, co as StateInput, cp as StateMachine, cq as StateMachineInput, cr as StateMachineSchema, cs as StateSchema, ct as StateSemanticRole, cu as StateSemanticRoleSchema, cv as SuggestedGuard, cw as SuggestedGuardSchema, cx as SwapEffect, cy as ThemeDefinition, cz as ThemeDefinitionSchema, cA as ThemeRef, cB as ThemeRefSchema, cC as ThemeRefStringSchema, cD as ThemeTokens, cE as ThemeTokensSchema, cF as ThemeVariant, cG as ThemeVariantSchema, cH as TrainConfig, cI as TrainEffect, i as Trait, cJ as TraitCategory, cK as TraitCategorySchema, cL as TraitConfigObject, cM as TraitConfigSchema, cN as TraitConfigValue, cO as TraitConfigValueSchema, cP as TraitDataEntity, cQ as TraitDataEntitySchema, cR as TraitEntityField, cS as TraitEntityFieldSchema, T as TraitEventContract, cT as TraitEventContractSchema, a as TraitEventListener, cU as TraitEventListenerSchema, cV as TraitInput, g as TraitRef, cW as TraitRefSchema, l as TraitReference, cX as TraitReferenceInput, cY as TraitReferenceSchema, cZ as TraitSchema, c_ as TraitTick, c$ as TraitTickSchema, d0 as TraitUIBinding, d1 as Transition, d2 as TransitionInput, d3 as TransitionSchema, d4 as TypedEffect, d5 as UISlot, d6 as UISlotSchema, d7 as UI_SLOTS, d8 as UXHints, d9 as UXHintsSchema, U as UseDeclaration, da as UseDeclarationSchema, db as UserPersona, dc as UserPersonaInput, dd as UserPersonaSchema, de as VISUAL_STYLES, df as ViewType, dg as ViewTypeSchema, dh as VisualStyle, di as VisualStyleSchema, dj as WatchEffect, dk as WatchOptions, dl as atomic, dm as callService, dn as createAssetKey, dp as deref, dq as deriveCollection, dr as despawn, ds as doEffects, dt as emit, du as findService, dv as getDefaultAnimationsForRole, dw as getServiceNames, dx as getTraitConfig, dy as getTraitName, dz as hasService, 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, dO as isSExprEffect, dP as isServiceReference, dQ as isServiceReferenceObject, dR as isSingletonEntity, dS as isSocketService, dT as isThemeReference, dU as navigate, dV as normalizeTraitRef, dW as notify, dX as parseAssetKey, dY as parseEntityRef, dZ as parseImportedTraitRef, d_ as parseOrbitalSchema, d$ as parsePageRef, e0 as parseServiceRef, e1 as persist, e2 as ref, e3 as renderUI, e4 as safeParseOrbitalSchema, e5 as set, e6 as spawn, e7 as swap, e8 as validateAssetAnimations, e9 as watch } from '../schema-VTi4U3sS.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';