@almadar/core 4.7.1 → 4.8.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.
@@ -1952,6 +1952,39 @@ type NavigateEffect = ['navigate', string] | ['navigate', string, Record<string,
1952
1952
  * @example ['emit', 'FILTER_CHANGED', '@entity.filters']
1953
1953
  */
1954
1954
  type EmitEffect = ['emit', string] | ['emit', string, Record<string, unknown> | string];
1955
+ /**
1956
+ * `emit:` config block attached to async / reactive data operators.
1957
+ *
1958
+ * Each key names an event the runtime should fire on the bus when the
1959
+ * effect reaches the corresponding lifecycle point. The set of keys an
1960
+ * operator actually supports is enforced by the compiler validator:
1961
+ *
1962
+ * | Operator | Supported keys |
1963
+ * |------------------|---------------------------|
1964
+ * | `fetch` | `success`, `failure` |
1965
+ * | `persist` | `success`, `failure` |
1966
+ * | `call-service` | `success`, `failure` |
1967
+ * | `set` | `success` |
1968
+ * | `ref` | `on_change`, `failure` |
1969
+ * | `os/watch-*` | `on_message`, `failure` |
1970
+ *
1971
+ * Payload convention:
1972
+ * - `success` / `on_change` → the effect's result (fetched entity, new value)
1973
+ * - `failure` → `{ error: string, code?: string }`
1974
+ * - `on_message` → the incoming message (os/watch-* streams)
1975
+ *
1976
+ * See `docs/Almadar_Std_Gaps.md` §3.1 for the close-the-circuit design.
1977
+ */
1978
+ interface EmitConfig {
1979
+ /** Fires after a one-shot async effect resolves successfully. */
1980
+ success?: string;
1981
+ /** Fires when the effect throws; payload is `{ error: string }`. */
1982
+ failure?: string;
1983
+ /** Reactive-subscription event (per update for `ref`). */
1984
+ on_change?: string;
1985
+ /** Per-event fire for `os/watch-*` streams. */
1986
+ on_message?: string;
1987
+ }
1955
1988
  /**
1956
1989
  * Set effect - sets a binding to a value.
1957
1990
  *
@@ -21279,4 +21312,4 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
21279
21312
  type OrbitalSchemaInput = z.input<typeof OrbitalSchemaSchema>;
21280
21313
  type OrbitalConfigInput = z.input<typeof OrbitalConfigSchema>;
21281
21314
 
21282
- export { type DesignTokensInput as $, AGENT_DOMAIN_CATEGORIES as A, type AtomicEffect as B, CORE_BINDINGS as C, type CallServiceConfig as D, type Entity as E, type CallServiceEffect as F, type ComputedEventContract as G, ComputedEventContractSchema as H, type ComputedEventListener as I, ComputedEventListenerSchema as J, type CoreBinding as K, type CustomPatternDefinition as L, type CustomPatternDefinitionInput as M, CustomPatternDefinitionSchema as N, type OrbitalDefinition as O, type PageRef as P, type CustomPatternMap as Q, type CustomPatternMapInput as R, type SExpr as S, type TraitEventContract as T, type UseDeclaration as U, CustomPatternMapSchema as V, type DerefEffect as W, type DesignPreferences as X, type DesignPreferencesInput as Y, DesignPreferencesSchema as Z, type DesignTokens as _, type TraitEventListener as a, type LogEffect as a$, DesignTokensSchema as a0, type DespawnEffect as a1, type DoEffect as a2, type DomainCategory as a3, DomainCategorySchema as a4, type DomainContext as a5, type DomainContextInput as a6, DomainContextSchema as a7, type DomainVocabulary as a8, DomainVocabularySchema as a9, EventSchema as aA, type EventScope as aB, EventScopeSchema as aC, type EventSemanticRole as aD, EventSemanticRoleSchema as aE, type EventSource as aF, EventSourceSchema as aG, type Expression as aH, type ExpressionInput as aI, ExpressionSchema as aJ, type FetchEffect as aK, type Field as aL, type FieldFormat as aM, FieldFormatSchema as aN, FieldSchema as aO, type FieldType as aP, FieldTypeSchema as aQ, type FieldValue as aR, type Orbital as aS, GAME_TYPES as aT, type GameSubCategory as aU, GameSubCategorySchema as aV, type GameType as aW, GameTypeSchema as aX, type Guard as aY, type GuardInput as aZ, GuardSchema as a_, ENTITY_ROLES as aa, type Effect as ab, type EffectInput as ac, EffectSchema as ad, type EmitEffect as ae, type EntityCall as af, EntityCallSchema as ag, type EntityData as ah, type EntityFieldInput as ai, EntityFieldSchema as aj, EntityPersistenceSchema as ak, EntityRefSchema as al, EntityRefStringSchema as am, type EntityRole as an, EntityRoleSchema as ao, EntitySchema as ap, type EntitySemanticRole as aq, EntitySemanticRoleSchema as ar, type EvalContext as as, type Event as at, type EventInput as au, type EventListener as av, EventListenerSchema as aw, type EventPayload as ax, type EventPayloadField as ay, EventPayloadFieldSchema as az, type EntityField as b, type SemanticAssetRefInput as b$, type LogMeta as b0, type McpServiceDef as b1, McpServiceDefSchema as b2, type NavigateEffect as b3, type NodeClassification as b4, NodeClassificationSchema as b5, type NotifyEffect as b6, type OrbitalConfig as b7, type OrbitalConfigInput as b8, OrbitalConfigSchema as b9, type PersistEffect as bA, type PresentationType as bB, type RefEffect as bC, type RelatedLink as bD, RelatedLinkSchema as bE, type RelationConfig as bF, RelationConfigSchema as bG, type RenderItemLambda as bH, type RenderUIConfig as bI, type RenderUIEffect as bJ, type RenderUINode as bK, type RequiredField as bL, RequiredFieldSchema as bM, type ResolvedAsset as bN, type ResolvedAssetInput as bO, ResolvedAssetSchema as bP, type ResolvedPatternProps as bQ, type RestAuthConfig as bR, RestAuthConfigSchema as bS, type RestServiceDef as bT, RestServiceDefSchema as bU, SERVICE_TYPES as bV, type SExprAtom as bW, SExprAtomSchema as bX, type SExprInput as bY, SExprSchema as bZ, type SemanticAssetRef as b_, OrbitalDefinitionSchema as ba, type OrbitalEntity as bb, type OrbitalEntityInput as bc, OrbitalEntitySchema as bd, type OrbitalInput as be, type OrbitalPage as bf, type OrbitalPageInput as bg, OrbitalPageSchema as bh, type OrbitalPageStrictInput as bi, OrbitalPageStrictSchema as bj, type OrbitalSchemaInput as bk, OrbitalSchemaSchema as bl, type OrbitalTraitRef as bm, OrbitalTraitRefSchema as bn, type OrbitalUnit as bo, OrbitalUnitSchema as bp, OrbitalSchema$1 as bq, PageRefObjectSchema as br, PageRefSchema as bs, PageRefStringSchema as bt, PageSchema as bu, type PageTraitRef as bv, PageTraitRefSchema as bw, type ParsedBinding as bx, type PayloadField as by, PayloadFieldSchema as bz, type EntityPersistence as c, type UserPersonaInput as c$, SemanticAssetRefSchema as c0, type ServiceDefinition as c1, ServiceDefinitionSchema as c2, type ServiceParams as c3, type ServiceRef as c4, type ServiceRefObject as c5, ServiceRefObjectSchema as c6, ServiceRefSchema as c7, ServiceRefStringSchema as c8, type ServiceType as c9, type TraitCategory as cA, TraitCategorySchema as cB, type TraitDataEntity as cC, TraitDataEntitySchema as cD, type TraitEntityField as cE, TraitEntityFieldSchema as cF, TraitEventContractSchema as cG, TraitEventListenerSchema as cH, type TraitInput as cI, TraitRefSchema as cJ, type TraitReferenceInput as cK, TraitReferenceSchema as cL, TraitSchema as cM, type TraitTick as cN, TraitTickSchema as cO, type TraitUIBinding as cP, type Transition as cQ, type TransitionInput as cR, TransitionSchema as cS, type TypedEffect as cT, type UISlot as cU, UISlotSchema as cV, UI_SLOTS as cW, type UXHints as cX, UXHintsSchema as cY, UseDeclarationSchema as cZ, type UserPersona as c_, ServiceTypeSchema as ca, type SetEffect as cb, type SocketEvents as cc, SocketEventsSchema as cd, type SocketServiceDef as ce, SocketServiceDefSchema as cf, type SpawnEffect as cg, type StateInput as ch, type StateMachine as ci, type StateMachineInput as cj, StateMachineSchema as ck, StateSchema as cl, type StateSemanticRole as cm, StateSemanticRoleSchema as cn, type SuggestedGuard as co, SuggestedGuardSchema as cp, type SwapEffect as cq, type ThemeDefinition as cr, ThemeDefinitionSchema as cs, type ThemeRef as ct, ThemeRefSchema as cu, ThemeRefStringSchema as cv, type ThemeTokens as cw, ThemeTokensSchema as cx, type ThemeVariant as cy, ThemeVariantSchema as cz, type EntityRow as d, renderUI as d$, UserPersonaSchema as d0, VISUAL_STYLES as d1, type ViewType as d2, ViewTypeSchema as d3, type VisualStyle as d4, VisualStyleSchema as d5, type WatchEffect as d6, type WatchOptions as d7, atomic as d8, callService as d9, isPageReference as dA, isPageReferenceObject as dB, isPageReferenceString as dC, isRestService as dD, isRuntimeEntity as dE, isSExpr as dF, isSExprAtom as dG, isSExprCall as dH, isSExprEffect as dI, isServiceReference as dJ, isServiceReferenceObject as dK, isSingletonEntity as dL, isSocketService as dM, isThemeReference as dN, isValidBinding as dO, navigate as dP, normalizeTraitRef as dQ, notify as dR, parseAssetKey as dS, parseBinding as dT, parseEntityRef as dU, parseImportedTraitRef as dV, parseOrbitalSchema as dW, parsePageRef as dX, parseServiceRef as dY, persist as dZ, ref as d_, collectBindings as da, createAssetKey as db, deref as dc, deriveCollection as dd, despawn as de, doEffects as df, emit as dg, findService as dh, getArgs as di, getDefaultAnimationsForRole as dj, getOperator as dk, getServiceNames as dl, getTraitConfig as dm, getTraitName as dn, hasService as dp, isBinding as dq, isCircuitEvent as dr, isEffect as ds, isEntityCall as dt, isEntityReference as du, isEntityReferenceAny as dv, isImportedTraitRef as dw, isInlineTrait as dx, isMcpService as dy, isOrbitalDefinition as dz, type EntityRef as e, safeParseOrbitalSchema as e0, set as e1, sexpr as e2, spawn as e3, swap as e4, validateAssetAnimations as e5, walkSExpr as e6, watch as e7, type TraitRef as f, type OrbitalSchema as g, type Trait as h, type Page as i, type PageRefObject as j, type TraitReference as k, type State 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 };
21315
+ export { type DesignTokensInput as $, AGENT_DOMAIN_CATEGORIES as A, type AtomicEffect as B, CORE_BINDINGS as C, type CallServiceConfig as D, type Entity as E, type CallServiceEffect as F, type ComputedEventContract as G, ComputedEventContractSchema as H, type ComputedEventListener as I, ComputedEventListenerSchema as J, type CoreBinding as K, type CustomPatternDefinition as L, type CustomPatternDefinitionInput as M, CustomPatternDefinitionSchema as N, type OrbitalDefinition as O, type PageRef as P, type CustomPatternMap as Q, type CustomPatternMapInput as R, type SExpr as S, type TraitEventContract as T, type UseDeclaration as U, CustomPatternMapSchema as V, type DerefEffect as W, type DesignPreferences as X, type DesignPreferencesInput as Y, DesignPreferencesSchema as Z, type DesignTokens as _, type TraitEventListener as a, GuardSchema as a$, DesignTokensSchema as a0, type DespawnEffect as a1, type DoEffect as a2, type DomainCategory as a3, DomainCategorySchema as a4, type DomainContext as a5, type DomainContextInput as a6, DomainContextSchema as a7, type DomainVocabulary as a8, DomainVocabularySchema as a9, EventPayloadFieldSchema as aA, EventSchema as aB, type EventScope as aC, EventScopeSchema as aD, type EventSemanticRole as aE, EventSemanticRoleSchema as aF, type EventSource as aG, EventSourceSchema as aH, type Expression as aI, type ExpressionInput as aJ, ExpressionSchema as aK, type FetchEffect as aL, type Field as aM, type FieldFormat as aN, FieldFormatSchema as aO, FieldSchema as aP, type FieldType as aQ, FieldTypeSchema as aR, type FieldValue as aS, type Orbital as aT, GAME_TYPES as aU, type GameSubCategory as aV, GameSubCategorySchema as aW, type GameType as aX, GameTypeSchema as aY, type Guard as aZ, type GuardInput as a_, ENTITY_ROLES as aa, type Effect as ab, type EffectInput as ac, EffectSchema as ad, type EmitConfig as ae, type EmitEffect as af, type EntityCall as ag, EntityCallSchema as ah, type EntityData as ai, type EntityFieldInput as aj, EntityFieldSchema as ak, EntityPersistenceSchema as al, EntityRefSchema as am, EntityRefStringSchema as an, type EntityRole as ao, EntityRoleSchema as ap, EntitySchema as aq, type EntitySemanticRole as ar, EntitySemanticRoleSchema as as, type EvalContext as at, type Event as au, type EventInput as av, type EventListener as aw, EventListenerSchema as ax, type EventPayload as ay, type EventPayloadField as az, type EntityField as b, type SemanticAssetRef as b$, type LogEffect as b0, type LogMeta as b1, type McpServiceDef as b2, McpServiceDefSchema as b3, type NavigateEffect as b4, type NodeClassification as b5, NodeClassificationSchema as b6, type NotifyEffect as b7, type OrbitalConfig as b8, type OrbitalConfigInput as b9, PayloadFieldSchema as bA, type PersistEffect as bB, type PresentationType as bC, type RefEffect as bD, type RelatedLink as bE, RelatedLinkSchema as bF, type RelationConfig as bG, RelationConfigSchema as bH, type RenderItemLambda as bI, type RenderUIConfig as bJ, type RenderUIEffect as bK, type RenderUINode as bL, type RequiredField as bM, RequiredFieldSchema as bN, type ResolvedAsset as bO, type ResolvedAssetInput as bP, ResolvedAssetSchema as bQ, type ResolvedPatternProps as bR, type RestAuthConfig as bS, RestAuthConfigSchema as bT, type RestServiceDef as bU, RestServiceDefSchema as bV, SERVICE_TYPES as bW, type SExprAtom as bX, SExprAtomSchema as bY, type SExprInput as bZ, SExprSchema as b_, OrbitalConfigSchema as ba, OrbitalDefinitionSchema as bb, type OrbitalEntity as bc, type OrbitalEntityInput as bd, OrbitalEntitySchema as be, type OrbitalInput as bf, type OrbitalPage as bg, type OrbitalPageInput as bh, OrbitalPageSchema as bi, type OrbitalPageStrictInput as bj, OrbitalPageStrictSchema as bk, type OrbitalSchemaInput as bl, OrbitalSchemaSchema as bm, type OrbitalTraitRef as bn, OrbitalTraitRefSchema as bo, type OrbitalUnit as bp, OrbitalUnitSchema as bq, OrbitalSchema$1 as br, PageRefObjectSchema as bs, PageRefSchema as bt, PageRefStringSchema as bu, PageSchema as bv, type PageTraitRef as bw, PageTraitRefSchema as bx, type ParsedBinding as by, type PayloadField as bz, type EntityPersistence as c, type UserPersona as c$, type SemanticAssetRefInput as c0, SemanticAssetRefSchema as c1, type ServiceDefinition as c2, ServiceDefinitionSchema as c3, type ServiceParams as c4, type ServiceRef as c5, type ServiceRefObject as c6, ServiceRefObjectSchema as c7, ServiceRefSchema as c8, ServiceRefStringSchema as c9, ThemeVariantSchema as cA, type TraitCategory as cB, TraitCategorySchema as cC, type TraitDataEntity as cD, TraitDataEntitySchema as cE, type TraitEntityField as cF, TraitEntityFieldSchema as cG, TraitEventContractSchema as cH, TraitEventListenerSchema as cI, type TraitInput as cJ, TraitRefSchema as cK, type TraitReferenceInput as cL, TraitReferenceSchema as cM, TraitSchema as cN, type TraitTick as cO, TraitTickSchema as cP, type TraitUIBinding as cQ, type Transition as cR, type TransitionInput as cS, TransitionSchema as cT, type TypedEffect as cU, type UISlot as cV, UISlotSchema as cW, UI_SLOTS as cX, type UXHints as cY, UXHintsSchema as cZ, UseDeclarationSchema as c_, type ServiceType as ca, ServiceTypeSchema as cb, type SetEffect as cc, type SocketEvents as cd, SocketEventsSchema as ce, type SocketServiceDef as cf, SocketServiceDefSchema as cg, type SpawnEffect as ch, type StateInput as ci, type StateMachine as cj, type StateMachineInput as ck, StateMachineSchema as cl, StateSchema as cm, type StateSemanticRole as cn, StateSemanticRoleSchema as co, type SuggestedGuard as cp, SuggestedGuardSchema as cq, type SwapEffect as cr, type ThemeDefinition as cs, ThemeDefinitionSchema as ct, type ThemeRef as cu, ThemeRefSchema as cv, ThemeRefStringSchema as cw, type ThemeTokens as cx, ThemeTokensSchema as cy, type ThemeVariant as cz, type EntityRow as d, ref as d$, type UserPersonaInput as d0, UserPersonaSchema as d1, VISUAL_STYLES as d2, type ViewType as d3, ViewTypeSchema as d4, type VisualStyle as d5, VisualStyleSchema as d6, type WatchEffect as d7, type WatchOptions as d8, atomic as d9, isOrbitalDefinition as dA, isPageReference as dB, isPageReferenceObject as dC, isPageReferenceString as dD, isRestService as dE, isRuntimeEntity as dF, isSExpr as dG, isSExprAtom as dH, isSExprCall as dI, isSExprEffect as dJ, isServiceReference as dK, isServiceReferenceObject as dL, isSingletonEntity as dM, isSocketService as dN, isThemeReference as dO, isValidBinding as dP, navigate as dQ, normalizeTraitRef as dR, notify as dS, parseAssetKey as dT, parseBinding as dU, parseEntityRef as dV, parseImportedTraitRef as dW, parseOrbitalSchema as dX, parsePageRef as dY, parseServiceRef as dZ, persist as d_, callService as da, collectBindings as db, createAssetKey as dc, deref as dd, deriveCollection as de, despawn as df, doEffects as dg, emit as dh, findService as di, getArgs as dj, getDefaultAnimationsForRole as dk, getOperator as dl, getServiceNames as dm, getTraitConfig as dn, getTraitName as dp, hasService as dq, isBinding as dr, isCircuitEvent as ds, isEffect as dt, isEntityCall as du, isEntityReference as dv, isEntityReferenceAny as dw, isImportedTraitRef as dx, isInlineTrait as dy, isMcpService as dz, type EntityRef as e, renderUI as e0, safeParseOrbitalSchema as e1, set as e2, sexpr as e3, spawn as e4, swap as e5, validateAssetAnimations as e6, walkSExpr as e7, watch as e8, type TraitRef as f, type OrbitalSchema as g, type Trait as h, type Page as i, type PageRefObject as j, type TraitReference as k, type State 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 { d as EntityRow, aR as FieldValue, S as SExpr } from '../schema-aGK1-NnG.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, g as AppSchema, u as AssetMap, v as AssetMapInput, w as AssetMapSchema, x as AssetMapping, y as AssetMappingInput, z as AssetMappingSchema, B as AtomicEffect, C as CORE_BINDINGS, D as CallServiceConfig, F as CallServiceEffect, G as ComputedEventContract, H as ComputedEventContractSchema, I as ComputedEventListener, J as ComputedEventListenerSchema, K as CoreBinding, 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 EmitEffect, E as Entity, af as EntityCall, ag as EntityCallSchema, ah as EntityData, b as EntityField, ai as EntityFieldInput, aj as EntityFieldSchema, c as EntityPersistence, ak as EntityPersistenceSchema, e as EntityRef, al as EntityRefSchema, am as EntityRefStringSchema, an as EntityRole, ao as EntityRoleSchema, ap as EntitySchema, aq as EntitySemanticRole, ar as EntitySemanticRoleSchema, as as EvalContext, at as Event, au as EventInput, av as EventListener, aw as EventListenerSchema, ax as EventPayload, ay as EventPayloadField, az as EventPayloadFieldSchema, aA as EventSchema, aB as EventScope, aC as EventScopeSchema, aD as EventSemanticRole, aE as EventSemanticRoleSchema, aF as EventSource, aG as EventSourceSchema, aH as Expression, aI as ExpressionInput, aJ as ExpressionSchema, aK as FetchEffect, aL as Field, aM as FieldFormat, aN as FieldFormatSchema, aO as FieldSchema, aP as FieldType, aQ as FieldTypeSchema, aS as FullOrbitalUnit, aT as GAME_TYPES, aU as GameSubCategory, aV as GameSubCategorySchema, aW as GameType, aX as GameTypeSchema, aY as Guard, aZ as GuardInput, a_ as GuardSchema, a$ as LogEffect, b0 as LogMeta, b1 as McpServiceDef, b2 as McpServiceDefSchema, b3 as NavigateEffect, b4 as NodeClassification, b5 as NodeClassificationSchema, b6 as NotifyEffect, aS as Orbital, b7 as OrbitalConfig, b8 as OrbitalConfigInput, b9 as OrbitalConfigSchema, O as OrbitalDefinition, ba as OrbitalDefinitionSchema, bb as OrbitalEntity, bc as OrbitalEntityInput, bd as OrbitalEntitySchema, be as OrbitalInput, bf as OrbitalPage, bg as OrbitalPageInput, bh as OrbitalPageSchema, bi as OrbitalPageStrictInput, bj as OrbitalPageStrictSchema, g as OrbitalSchema, bk as OrbitalSchemaInput, bl as OrbitalSchemaSchema, bm as OrbitalTraitRef, bn as OrbitalTraitRefSchema, bo as OrbitalUnit, bp as OrbitalUnitSchema, bq as OrbitalZodSchema, i as Page, P as PageRef, j as PageRefObject, br as PageRefObjectSchema, bs as PageRefSchema, bt as PageRefStringSchema, bu as PageSchema, bv as PageTraitRef, bw as PageTraitRefSchema, bx as ParsedBinding, by as PayloadField, bz as PayloadFieldSchema, bA as PersistEffect, bB as PresentationType, bC as RefEffect, bD as RelatedLink, bE as RelatedLinkSchema, bF as RelationConfig, bG as RelationConfigSchema, bH as RenderItemLambda, bI as RenderUIConfig, bJ as RenderUIEffect, bK as RenderUINode, bL as RequiredField, bM as RequiredFieldSchema, bN as ResolvedAsset, bO as ResolvedAssetInput, bP as ResolvedAssetSchema, bQ as ResolvedPatternProps, bR as RestAuthConfig, bS as RestAuthConfigSchema, bT as RestServiceDef, bU as RestServiceDefSchema, bV as SERVICE_TYPES, bW as SExprAtom, bX as SExprAtomSchema, bY as SExprInput, bZ as SExprSchema, b_ as SemanticAssetRef, b$ as SemanticAssetRefInput, c0 as SemanticAssetRefSchema, c1 as ServiceDefinition, c2 as ServiceDefinitionSchema, c3 as ServiceParams, c4 as ServiceRef, c5 as ServiceRefObject, c6 as ServiceRefObjectSchema, c7 as ServiceRefSchema, c8 as ServiceRefStringSchema, c9 as ServiceType, ca as ServiceTypeSchema, cb as SetEffect, cc as SocketEvents, cd as SocketEventsSchema, ce as SocketServiceDef, cf as SocketServiceDefSchema, cg as SpawnEffect, l as State, ch as StateInput, ci as StateMachine, cj as StateMachineInput, ck as StateMachineSchema, cl as StateSchema, cm as StateSemanticRole, cn as StateSemanticRoleSchema, co as SuggestedGuard, cp as SuggestedGuardSchema, cq as SwapEffect, cr as ThemeDefinition, cs as ThemeDefinitionSchema, ct as ThemeRef, cu as ThemeRefSchema, cv as ThemeRefStringSchema, cw as ThemeTokens, cx as ThemeTokensSchema, cy as ThemeVariant, cz as ThemeVariantSchema, h as Trait, cA as TraitCategory, cB as TraitCategorySchema, cC as TraitDataEntity, cD as TraitDataEntitySchema, cE as TraitEntityField, cF as TraitEntityFieldSchema, T as TraitEventContract, cG as TraitEventContractSchema, a as TraitEventListener, cH as TraitEventListenerSchema, cI as TraitInput, f as TraitRef, cJ as TraitRefSchema, k as TraitReference, cK as TraitReferenceInput, cL as TraitReferenceSchema, cM as TraitSchema, cN as TraitTick, cO as TraitTickSchema, cP as TraitUIBinding, cQ as Transition, cR as TransitionInput, cS as TransitionSchema, cT as TypedEffect, cU as UISlot, cV as UISlotSchema, cW as UI_SLOTS, cX as UXHints, cY as UXHintsSchema, U as UseDeclaration, cZ as UseDeclarationSchema, c_ as UserPersona, c$ as UserPersonaInput, d0 as UserPersonaSchema, d1 as VISUAL_STYLES, d2 as ViewType, d3 as ViewTypeSchema, d4 as VisualStyle, d5 as VisualStyleSchema, d6 as WatchEffect, d7 as WatchOptions, d8 as atomic, d9 as callService, da as collectBindings, db as createAssetKey, dc as deref, dd as deriveCollection, de as despawn, df as doEffects, dg as emit, dh as findService, di as getArgs, dj as getDefaultAnimationsForRole, dk as getOperator, dl as getServiceNames, dm as getTraitConfig, dn as getTraitName, dp as hasService, dq as isBinding, dr as isCircuitEvent, ds as isEffect, dt as isEntityCall, du as isEntityReference, dv as isEntityReferenceAny, dw as isImportedTraitRef, dx as isInlineTrait, dy as isMcpService, dz as isOrbitalDefinition, dA as isPageReference, dB as isPageReferenceObject, dC as isPageReferenceString, dD as isRestService, dE as isRuntimeEntity, dF as isSExpr, dG as isSExprAtom, dH as isSExprCall, dI as isSExprEffect, dJ as isServiceReference, dK as isServiceReferenceObject, dL as isSingletonEntity, dM as isSocketService, dN as isThemeReference, dO as isValidBinding, dP as navigate, dQ as normalizeTraitRef, dR as notify, dS as parseAssetKey, dT as parseBinding, dU as parseEntityRef, dV as parseImportedTraitRef, dW as parseOrbitalSchema, dX as parsePageRef, dY as parseServiceRef, dZ as persist, d_ as ref, d$ as renderUI, e0 as safeParseOrbitalSchema, e1 as set, e2 as sexpr, e3 as spawn, e4 as swap, e5 as validateAssetAnimations, e6 as walkSExpr, e7 as watch } from '../schema-aGK1-NnG.js';
1
+ import { d as EntityRow, aS as FieldValue, S as SExpr } from '../schema-BCEjl1a1.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, g as AppSchema, u as AssetMap, v as AssetMapInput, w as AssetMapSchema, x as AssetMapping, y as AssetMappingInput, z as AssetMappingSchema, B as AtomicEffect, C as CORE_BINDINGS, D as CallServiceConfig, F as CallServiceEffect, G as ComputedEventContract, H as ComputedEventContractSchema, I as ComputedEventListener, J as ComputedEventListenerSchema, K as CoreBinding, 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, b as EntityField, aj as EntityFieldInput, ak as EntityFieldSchema, c as EntityPersistence, al as EntityPersistenceSchema, e 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 EvalContext, au as Event, av as EventInput, aw as EventListener, ax as EventListenerSchema, ay as EventPayload, 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 Expression, aJ as ExpressionInput, aK as ExpressionSchema, aL as FetchEffect, aM as Field, aN as FieldFormat, aO as FieldFormatSchema, aP as FieldSchema, aQ as FieldType, aR as FieldTypeSchema, 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 LogEffect, b1 as LogMeta, b2 as McpServiceDef, b3 as McpServiceDefSchema, b4 as NavigateEffect, b5 as NodeClassification, b6 as NodeClassificationSchema, b7 as NotifyEffect, aT as Orbital, b8 as OrbitalConfig, b9 as OrbitalConfigInput, ba as OrbitalConfigSchema, O as OrbitalDefinition, bb as OrbitalDefinitionSchema, bc as OrbitalEntity, bd as OrbitalEntityInput, be as OrbitalEntitySchema, bf as OrbitalInput, bg as OrbitalPage, bh as OrbitalPageInput, bi as OrbitalPageSchema, bj as OrbitalPageStrictInput, bk as OrbitalPageStrictSchema, g as OrbitalSchema, bl as OrbitalSchemaInput, bm as OrbitalSchemaSchema, bn as OrbitalTraitRef, bo as OrbitalTraitRefSchema, bp as OrbitalUnit, bq as OrbitalUnitSchema, br as OrbitalZodSchema, i as Page, P as PageRef, j as PageRefObject, bs as PageRefObjectSchema, bt as PageRefSchema, bu as PageRefStringSchema, bv as PageSchema, bw as PageTraitRef, bx as PageTraitRefSchema, by as ParsedBinding, bz as PayloadField, bA as PayloadFieldSchema, bB as PersistEffect, bC as PresentationType, bD as RefEffect, bE as RelatedLink, bF as RelatedLinkSchema, bG as RelationConfig, bH as RelationConfigSchema, bI as RenderItemLambda, bJ as RenderUIConfig, bK as RenderUIEffect, bL as RenderUINode, bM as RequiredField, bN as RequiredFieldSchema, bO as ResolvedAsset, bP as ResolvedAssetInput, bQ as ResolvedAssetSchema, bR as ResolvedPatternProps, bS as RestAuthConfig, bT as RestAuthConfigSchema, bU as RestServiceDef, bV as RestServiceDefSchema, bW as SERVICE_TYPES, bX as SExprAtom, bY as SExprAtomSchema, bZ as SExprInput, b_ as SExprSchema, b$ as SemanticAssetRef, c0 as SemanticAssetRefInput, c1 as SemanticAssetRefSchema, c2 as ServiceDefinition, c3 as ServiceDefinitionSchema, c4 as ServiceParams, 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, l 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, h as Trait, cB as TraitCategory, cC as TraitCategorySchema, cD as TraitDataEntity, cE as TraitDataEntitySchema, cF as TraitEntityField, cG as TraitEntityFieldSchema, T as TraitEventContract, cH as TraitEventContractSchema, a as TraitEventListener, cI as TraitEventListenerSchema, cJ as TraitInput, f as TraitRef, cK as TraitRefSchema, k as TraitReference, cL as TraitReferenceInput, cM as TraitReferenceSchema, cN as TraitSchema, cO as TraitTick, cP as TraitTickSchema, cQ as TraitUIBinding, cR as Transition, cS as TransitionInput, cT as TransitionSchema, cU as TypedEffect, cV as UISlot, cW as UISlotSchema, cX as UI_SLOTS, cY as UXHints, cZ as UXHintsSchema, U as UseDeclaration, c_ as UseDeclarationSchema, c$ as UserPersona, d0 as UserPersonaInput, d1 as UserPersonaSchema, d2 as VISUAL_STYLES, d3 as ViewType, d4 as ViewTypeSchema, d5 as VisualStyle, d6 as VisualStyleSchema, d7 as WatchEffect, d8 as WatchOptions, d9 as atomic, da as callService, db as collectBindings, dc as createAssetKey, dd as deref, de as deriveCollection, df as despawn, dg as doEffects, dh as emit, di as findService, dj as getArgs, dk as getDefaultAnimationsForRole, dl as getOperator, dm as getServiceNames, dn as getTraitConfig, dp as getTraitName, dq as hasService, dr as isBinding, ds as isCircuitEvent, dt as isEffect, du as isEntityCall, dv as isEntityReference, dw as isEntityReferenceAny, dx as isImportedTraitRef, dy as isInlineTrait, dz as isMcpService, dA as isOrbitalDefinition, dB as isPageReference, dC as isPageReferenceObject, dD as isPageReferenceString, dE as isRestService, dF as isRuntimeEntity, dG as isSExpr, dH as isSExprAtom, dI as isSExprCall, dJ as isSExprEffect, dK as isServiceReference, dL as isServiceReferenceObject, dM as isSingletonEntity, dN as isSocketService, dO as isThemeReference, dP as isValidBinding, dQ as navigate, dR as normalizeTraitRef, dS as notify, dT as parseAssetKey, dU as parseBinding, dV as parseEntityRef, dW as parseImportedTraitRef, dX as parseOrbitalSchema, dY as parsePageRef, dZ as parseServiceRef, d_ as persist, d$ as ref, e0 as renderUI, e1 as safeParseOrbitalSchema, e2 as set, e3 as sexpr, e4 as spawn, e5 as swap, e6 as validateAssetAnimations, e7 as walkSExpr, e8 as watch } from '../schema-BCEjl1a1.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';
@@ -108,8 +108,8 @@ declare const BINDING_CONTEXT_RULES: {
108
108
  readonly description: "Guards can access entity fields, event payload, current state, and time";
109
109
  };
110
110
  readonly effect: {
111
- readonly allowed: readonly ["entity", "payload", "state", "now"];
112
- readonly description: "Effects can access and modify entity fields, use payload data";
111
+ readonly allowed: readonly ["entity", "payload", "state", "now", "trait"];
112
+ readonly description: "Effects can access and modify entity fields, use payload data, and embed another trait's live frame via @trait.X inside render-ui children";
113
113
  };
114
114
  readonly tick: {
115
115
  readonly allowed: readonly ["entity", "state", "now"];
@@ -1191,8 +1191,8 @@ var BINDING_CONTEXT_RULES = {
1191
1191
  description: "Guards can access entity fields, event payload, current state, and time"
1192
1192
  },
1193
1193
  effect: {
1194
- allowed: ["entity", "payload", "state", "now"],
1195
- description: "Effects can access and modify entity fields, use payload data"
1194
+ allowed: ["entity", "payload", "state", "now", "trait"],
1195
+ description: "Effects can access and modify entity fields, use payload data, and embed another trait's live frame via @trait.X inside render-ui children"
1196
1196
  },
1197
1197
  tick: {
1198
1198
  allowed: ["entity", "state", "now"],