@almadar/core 10.27.0 → 10.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{builders-CeDAKf9u.d.ts → builders-DcBjE_Uw.d.ts} +308 -2306
- package/dist/builders.d.ts +4 -4
- package/dist/builders.js +23 -7
- package/dist/builders.js.map +1 -1
- package/dist/{expression-C6X4A8L7.d.ts → expression-CB9R3KWk.d.ts} +4 -1
- package/dist/factory/index.d.ts +5 -5
- package/dist/factory-runtime/index.d.ts +21 -5
- package/dist/factory-runtime/index.js +85 -9
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +50 -10
- package/dist/index.js +631 -24
- package/dist/index.js.map +1 -1
- package/dist/pattern-types-JZordBZv.d.ts +4635 -0
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +1003 -24
- package/dist/patterns/index.js +460 -13
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +458 -11
- package/dist/patterns/registry.json +458 -11
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-CSaCYNJl.d.ts → trait-B_CzfDSi.d.ts} +187 -643
- package/dist/types/index.d.ts +17 -12
- package/dist/types/index.js +69 -12
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BFgbJ7BM.d.ts → types-CGC5A1-T.d.ts} +45 -2
- package/package.json +1 -1
- package/src/types/bindings.ts +8 -2
- package/dist/pattern-types-CEZfJqGr.d.ts +0 -4584
package/dist/types/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { M as MakeTraitRefOpts, b4 as PageTraitRef, O as OrbitalSchema, a6 as EventWiringEntry, aq as LayoutStrategy, bi as ThemeDefinition, a7 as Orbital, aZ as Page, K as DomainContext, a as OrbitalDefinition } from '../builders-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, b as ALLOWED_CUSTOM_COMPONENTS, c as AgentDomainCategory, d as AgentDomainCategorySchema, e as AllowedCustomComponent, C as ColorSlice, f as ColorSliceSchema, g as ColorTokens, h as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, E as DesignPreferencesSchema, F as DesignTokens, G as DesignTokensInput, H as DesignTokensSchema, I as DomainCategory, J as DomainCategorySchema, L as DomainContextInput, N as DomainContextSchema, P as DomainVocabulary, Q as DomainVocabularySchema, R as ElevationSlice, S as ElevationSliceSchema, T as ElevationTokens, U as ElevationTokensSchema, V as EntityCall, W as EntityCallSchema, X as EntityRef, Y as EntityRefSchema, Z as EntityRefStringSchema, _ as EntitySemanticRole, $ as EntitySemanticRoleSchema, a0 as EventListener, a1 as EventListenerSchema, a2 as EventSemanticRole, a3 as EventSemanticRoleSchema, a4 as EventSource, a5 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NodeClassification, aI as NodeClassificationSchema, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, bL as UseDeclaration, bM as UseDeclarationSchema, bN as UserPersona, bO as UserPersonaInput, bP as UserPersonaSchema, bQ as ViewType, bR as ViewTypeSchema, bV as isEntityCall, bW as isEntityReference, bX as isEntityReferenceAny, bY as isImportedTraitRef, bZ as isOrbitalDefinition, b_ as isPageReference, b$ as isPageReferenceObject, c0 as isPageReferenceString, c1 as isThemeReference, c2 as parseEntityRef, c3 as parseImportedTraitRef, c4 as parseOrbitalSchema, c5 as parsePageRef, c6 as safeParseOrbitalSchema } from '../builders-
|
|
3
|
-
import { E as EntityField, a as EntityPersistence, F as FieldValue, c as Entity, b as EntityRow, A as AnyPatternConfig } from '../pattern-types-
|
|
4
|
-
export { d as ANIMATION_NAMES, e as ASSET_ASPECTS, f as ASSET_DIMENSIONS, g as AnimationDef, h as AnimationDefInput, i as AnimationDefSchema, j as AnimationName, k as AnimationNameSchema, l as ArrayEntityField, m as Asset, n as AssetAspect, o as AssetAspectSchema, p as AssetCatalog, q as AssetCatalogEntry, r as AssetCatalogEntryInput, s as AssetCatalogEntrySchema, t as AssetCatalogSchema, u as AssetDimension, v as AssetDimensionSchema, w as AssetSchema, x as AssetUrl, C as CAMERA_MODES, y as Camera, z as CameraMode, B as CameraModeSchema, D as CameraSchema, G as ENTITY_ROLES, H as EntityData, I as EntityFieldInput, J as EntityFieldSchema, K as EntityPersistenceSchema, L as EntityRole, M as EntityRoleSchema, N as EntitySchema, O as EntityWith, P as EnumEntityField, Q as Field, S as FieldFormat, T as FieldFormatSchema, U as FieldSchema, V as FieldType, W as FieldTypeSchema, X as OrbitalEntity, Y as OrbitalEntityInput, Z as OrbitalEntitySchema, _ as PATTERN_TYPES, $ as PatternConfig, a2 as PatternType, R as RelationConfig, a3 as RelationConfigSchema, a4 as RelationEntityField, a5 as SPRITE_DIRECTIONS, a6 as ScalarEntityField, a7 as ScenePos, a8 as ScenePosSchema, a9 as SemanticAssetRef, aa as SemanticAssetRefInput, ab as SemanticAssetRefSchema, ac as SpriteDirection, ad as SpriteDirectionSchema, ae as SpriteSheetAtlas, af as SpriteSheetAtlasInput, ag as SpriteSheetAtlasSchema, ah as SubTexture, ai as SubTextureSchema, aj as TextureAtlas, ak as TextureAtlasSchema, al as Tilesheet, am as TilesheetSchema, an as VISUAL_STYLES, ao as VisualStyle, ap as VisualStyleSchema, aq as createAssetKey, ar as deriveCollection, as as getDefaultAnimationsForRole, at as isFieldValue, au as isRuntimeEntity, av as isValidPatternType, aw as parseAssetKey, ax as persistenceModeAllowsOverrides, ay as validateAssetAnimations } from '../pattern-types-
|
|
5
|
-
import { d as EventPayloadValue, E as EventPayload, L as LogMeta, S as SExpr, c as EvalContext } from '../expression-
|
|
6
|
-
export { C as CORE_BINDINGS, b as CoreBinding, a 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 isEventPayloadValue, p as isSExpr, q as isSExprAtom, r as isSExprCall, s as isValidBinding, t as parseBinding, u as sexpr, w as walkSExpr } from '../expression-
|
|
1
|
+
import { M as MakeTraitRefOpts, b4 as PageTraitRef, O as OrbitalSchema, a6 as EventWiringEntry, aq as LayoutStrategy, bi as ThemeDefinition, a7 as Orbital, aZ as Page, K as DomainContext, a as OrbitalDefinition } from '../builders-DcBjE_Uw.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, b as ALLOWED_CUSTOM_COMPONENTS, c as AgentDomainCategory, d as AgentDomainCategorySchema, e as AllowedCustomComponent, C as ColorSlice, f as ColorSliceSchema, g as ColorTokens, h as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, E as DesignPreferencesSchema, F as DesignTokens, G as DesignTokensInput, H as DesignTokensSchema, I as DomainCategory, J as DomainCategorySchema, L as DomainContextInput, N as DomainContextSchema, P as DomainVocabulary, Q as DomainVocabularySchema, R as ElevationSlice, S as ElevationSliceSchema, T as ElevationTokens, U as ElevationTokensSchema, V as EntityCall, W as EntityCallSchema, X as EntityRef, Y as EntityRefSchema, Z as EntityRefStringSchema, _ as EntitySemanticRole, $ as EntitySemanticRoleSchema, a0 as EventListener, a1 as EventListenerSchema, a2 as EventSemanticRole, a3 as EventSemanticRoleSchema, a4 as EventSource, a5 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NodeClassification, aI as NodeClassificationSchema, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, bL as UseDeclaration, bM as UseDeclarationSchema, bN as UserPersona, bO as UserPersonaInput, bP as UserPersonaSchema, bQ as ViewType, bR as ViewTypeSchema, bV as isEntityCall, bW as isEntityReference, bX as isEntityReferenceAny, bY as isImportedTraitRef, bZ as isOrbitalDefinition, b_ as isPageReference, b$ as isPageReferenceObject, c0 as isPageReferenceString, c1 as isThemeReference, c2 as parseEntityRef, c3 as parseImportedTraitRef, c4 as parseOrbitalSchema, c5 as parsePageRef, c6 as safeParseOrbitalSchema } from '../builders-DcBjE_Uw.js';
|
|
3
|
+
import { E as EntityField, a as EntityPersistence, F as FieldValue, c as Entity, b as EntityRow, A as AnyPatternConfig } from '../pattern-types-JZordBZv.js';
|
|
4
|
+
export { d as ANIMATION_NAMES, e as ASSET_ASPECTS, f as ASSET_DIMENSIONS, g as AnimationDef, h as AnimationDefInput, i as AnimationDefSchema, j as AnimationName, k as AnimationNameSchema, l as ArrayEntityField, m as Asset, n as AssetAspect, o as AssetAspectSchema, p as AssetCatalog, q as AssetCatalogEntry, r as AssetCatalogEntryInput, s as AssetCatalogEntrySchema, t as AssetCatalogSchema, u as AssetDimension, v as AssetDimensionSchema, w as AssetSchema, x as AssetUrl, C as CAMERA_MODES, y as Camera, z as CameraMode, B as CameraModeSchema, D as CameraSchema, G as ENTITY_ROLES, H as EntityData, I as EntityFieldInput, J as EntityFieldSchema, K as EntityPersistenceSchema, L as EntityRole, M as EntityRoleSchema, N as EntitySchema, O as EntityWith, P as EnumEntityField, Q as Field, S as FieldFormat, T as FieldFormatSchema, U as FieldSchema, V as FieldType, W as FieldTypeSchema, X as OrbitalEntity, Y as OrbitalEntityInput, Z as OrbitalEntitySchema, _ as PATTERN_TYPES, $ as PatternConfig, a2 as PatternType, R as RelationConfig, a3 as RelationConfigSchema, a4 as RelationEntityField, a5 as SPRITE_DIRECTIONS, a6 as ScalarEntityField, a7 as ScenePos, a8 as ScenePosSchema, a9 as SemanticAssetRef, aa as SemanticAssetRefInput, ab as SemanticAssetRefSchema, ac as SpriteDirection, ad as SpriteDirectionSchema, ae as SpriteSheetAtlas, af as SpriteSheetAtlasInput, ag as SpriteSheetAtlasSchema, ah as SubTexture, ai as SubTextureSchema, aj as TextureAtlas, ak as TextureAtlasSchema, al as Tilesheet, am as TilesheetSchema, an as VISUAL_STYLES, ao as VisualStyle, ap as VisualStyleSchema, aq as createAssetKey, ar as deriveCollection, as as getDefaultAnimationsForRole, at as isFieldValue, au as isRuntimeEntity, av as isValidPatternType, aw as parseAssetKey, ax as persistenceModeAllowsOverrides, ay as validateAssetAnimations } from '../pattern-types-JZordBZv.js';
|
|
5
|
+
import { d as EventPayloadValue, E as EventPayload, L as LogMeta, S as SExpr, c as EvalContext } from '../expression-CB9R3KWk.js';
|
|
6
|
+
export { C as CORE_BINDINGS, b as CoreBinding, a 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 isEventPayloadValue, p as isSExpr, q as isSExprAtom, r as isSExprCall, s as isValidBinding, t as parseBinding, u as sexpr, w as walkSExpr } from '../expression-CB9R3KWk.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
|
-
import { a as TraitReference,
|
|
9
|
-
export { A as AgentEffect,
|
|
10
|
-
import { s as TraitOverlay, R as RuleOverlay, J as JsonValue, o as JsonSchema, n as JsonObject, T as ToolArgs, c as FactoryConfigTier } from '../types-
|
|
11
|
-
export { v as isJsonArray, w as isJsonObject, x as isJsonPrimitive } from '../types-
|
|
8
|
+
import { a as TraitReference, av as ServiceParams, c as Trait, D as DeclaredTraitConfig, d as TraitConfig, E as Effect, m as ConfigFieldDeclaration, S as State, be as Transition, H as Event, aY as TraitConfigValue, aU as TraitCategory, bX as TraitScope } from '../trait-B_CzfDSi.js';
|
|
9
|
+
export { A as AgentEffect, e as ApplicationEffect, f as AtomicEffect, B as BehaviorEffect, g as CONFIG_REF_EVENT_PATTERN, h as CallServiceConfig, i as CallServiceEffect, C as CallSiteConfig, b as CallSiteConfigEntry, j as CheckpointLoadEffect, k as CheckpointSaveEffect, l as ComposeEffect, n as ConfigFieldDeclarationSchema, o as ConfigFieldItemsDeclaration, p as ConfigRefEventError, q as DeclaredTraitConfigSchema, r as DerefEffect, s as DespawnEffect, t as DoEffect, u as EffectInput, v as EffectSchema, w as EmitConfig, x as EmitEffect, y as EntityFieldContract, z as EntityFieldContractSchema, F as EvaluateConfig, G as EvaluateEffect, I as EventInput, J as EventPayloadField, K as EventPayloadFieldSchema, L as EventSchema, M as EventScope, N as EventScopeSchema, O as FetchEffect, P as FetchOptions, Q as FetchResult, R as ForwardConfig, U as ForwardEffect, V as Guard, W as GuardInput, X as GuardSchema, Y as ListenSource, Z as ListenSourceSchema, _ as LlmEffect, $ as LogEffect, a0 as McpServiceDef, a1 as McpServiceDefSchema, a2 as MemoryEffect, a3 as NavigateEffect, a4 as NnConfig, a5 as NnLayer, a6 as NotifyEffect, a7 as OrbitalTraitRef, a8 as OrbitalTraitRefSchema, a9 as OsEffect, aa as PayloadField, ab as PayloadFieldSchema, ac as PersistData, ad as PersistEffect, ae as PersistEmitConfig, af as PresentationType, ag as RefEffect, ah as RenderBinding, ai as RenderItemLambda, aj as RenderUIEffect, ak as RenderUINode, al as RequiredField, am as RequiredFieldSchema, an as ResolvedPatternProps, ao as RestAuthConfig, ap as RestAuthConfigSchema, aq as RestServiceDef, ar as RestServiceDefSchema, as as SERVICE_TYPES, at as ServiceDefinition, au as ServiceDefinitionSchema, aw as ServiceParamsValue, ax as ServiceRef, ay as ServiceRefObject, az as ServiceRefObjectSchema, aA as ServiceRefSchema, aB as ServiceRefStringSchema, aC as ServiceType, aD as ServiceTypeSchema, aE as SessionEffect, aF as SetEffect, aG as SocketEvents, aH as SocketEventsSchema, aI as SocketServiceDef, aJ as SocketServiceDefSchema, aK as SpawnEffect, aL as StateInput, aM as StateMachine, aN as StateMachineInput, aO as StateMachineSchema, aP as StateSchema, aQ as SwapEffect, aR as TraceEffect, aS as TrainConfig, aT as TrainEffect, aV as TraitCategorySchema, aW as TraitConfigObject, aX as TraitConfigSchema, aZ as TraitConfigValueSchema, a_ as TraitDataEntity, a$ as TraitDataEntitySchema, b0 as TraitEntityField, b1 as TraitEntityFieldSchema, b2 as TraitEventContract, b3 as TraitEventContractSchema, T as TraitEventListener, b4 as TraitEventListenerSchema, b5 as TraitInput, b6 as TraitRef, b7 as TraitRefSchema, b8 as TraitReferenceInput, b9 as TraitReferenceSchema, ba as TraitSchema, bb as TraitTick, bc as TraitTickSchema, bd as TraitUIBinding, bf as TransitionInput, bg as TransitionSchema, bh as TypedEffect, bi as UISlot, bj as UISlotSchema, bk as UI_SLOTS, bl as ValidateEffect, bm as WatchEffect, bn as WatchOptions, bo as atomic, bp as callService, bq as configRefEventKnob, br as deref, bs as despawn, bt as doEffects, bu as emit, bv as findService, bw as getServiceNames, bx as getTraitConfig, by as getTraitName, bz as hasService, bA as isCallSiteConfigDeclaration, bB as isCircuitEvent, bC as isEffect, bD as isInlineTrait, bE as isMcpService, bF as isRestService, bG as isSExprEffect, bH as isServiceReference, bI as isServiceReferenceObject, bJ as isSocketService, bK as navigate, bL as normalizeCallSiteConfigToValues, bM as normalizeTraitRef, bN as notify, bO as parseServiceRef, bP as persist, bQ as ref, bR as renderUI, bS as resolveConfigRefEventName, bT as set, bU as spawn, bV as swap, bW as watch } from '../trait-B_CzfDSi.js';
|
|
10
|
+
import { s as TraitOverlay, R as RuleOverlay, J as JsonValue, o as JsonSchema, n as JsonObject, T as ToolArgs, c as FactoryConfigTier } from '../types-CGC5A1-T.js';
|
|
11
|
+
export { v as isJsonArray, w as isJsonObject, x as isJsonPrimitive } from '../types-CGC5A1-T.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* S-Expression Bindings
|
|
@@ -79,6 +79,11 @@ declare const BINDING_DOCS: {
|
|
|
79
79
|
readonly examples: readonly ["@user.id", "@user.role"];
|
|
80
80
|
readonly requiresPath: true;
|
|
81
81
|
};
|
|
82
|
+
readonly callsitePayload: {
|
|
83
|
+
readonly description: "Call-site-captured event payload — emitted by the compiler's inline-trait hoisting when an extracted render block captured @payload; resolved at the composing effect by the runtime BindingResolver";
|
|
84
|
+
readonly examples: readonly ["@callsitePayload.error", "@callsitePayload.row"];
|
|
85
|
+
readonly requiresPath: true;
|
|
86
|
+
};
|
|
82
87
|
};
|
|
83
88
|
/**
|
|
84
89
|
* Validation rules for bindings in different contexts.
|
|
@@ -89,8 +94,8 @@ declare const BINDING_CONTEXT_RULES: {
|
|
|
89
94
|
readonly description: "Guards can access entity fields, event payload, current state, time, the call-site trait config (@config.X), and the authenticated user context (@user.id, @user.role) for ownership / role gates. Config access lets atoms write mode-aware guards — e.g. std-modal's OPEN can require @payload.row only when @config.mode equals \"edit\", letting create-mode legitimately fire OPEN with no row. Like effects, @config.X is substituted at molecule/organism inline time with the literal call-site value; at atom-scope validate, @config is allowed-but-unresolved.";
|
|
90
95
|
};
|
|
91
96
|
readonly effect: {
|
|
92
|
-
readonly allowed: readonly ["entity", "payload", "state", "now", "trait", "config", "user"];
|
|
93
|
-
readonly description: "Effects can access and modify entity fields, use payload data, embed another trait's live frame via @trait.X inside render-ui children, read trait config values (@config.X) for atoms parameterized by their call-site, and read the authenticated user context (@user.id, @user.role). At molecule/organism inline time, @config.X is substituted with the literal value from the call-site config block; at atom-scope validate, @config is allowed-but-unresolved.";
|
|
97
|
+
readonly allowed: readonly ["entity", "payload", "state", "now", "trait", "config", "user", "callsitePayload"];
|
|
98
|
+
readonly description: "Effects can access and modify entity fields, use payload data, embed another trait's live frame via @trait.X inside render-ui children, read trait config values (@config.X) for atoms parameterized by their call-site, and read the authenticated user context (@user.id, @user.role). At molecule/organism inline time, @config.X is substituted with the literal value from the call-site config block; at atom-scope validate, @config is allowed-but-unresolved. @callsitePayload.X is the call-site-captured event payload emitted by the compiler's inline-trait hoisting (a hoisted render block that captured @payload); it is resolved at the composing effect by the runtime BindingResolver.";
|
|
94
99
|
};
|
|
95
100
|
readonly tick: {
|
|
96
101
|
readonly allowed: readonly ["entity", "state", "now", "config", "user"];
|
package/dist/types/index.js
CHANGED
|
@@ -437,7 +437,7 @@ function isBinding(value) {
|
|
|
437
437
|
function isSExprCall(value) {
|
|
438
438
|
return isSExpr(value);
|
|
439
439
|
}
|
|
440
|
-
var CORE_BINDINGS = ["entity", "payload", "state", "now", "config", "computed", "trait", "user"];
|
|
440
|
+
var CORE_BINDINGS = ["entity", "payload", "state", "now", "config", "computed", "trait", "user", "callsitePayload"];
|
|
441
441
|
function parseBinding(binding) {
|
|
442
442
|
if (!binding.startsWith("@")) {
|
|
443
443
|
return null;
|
|
@@ -521,7 +521,8 @@ var StateSchema = z.object({
|
|
|
521
521
|
var PayloadFieldSchema = z.object({
|
|
522
522
|
name: z.string().min(1),
|
|
523
523
|
type: z.string().min(1),
|
|
524
|
-
required: z.boolean().optional()
|
|
524
|
+
required: z.boolean().optional(),
|
|
525
|
+
properties: z.lazy(() => z.array(PayloadFieldSchema)).optional()
|
|
525
526
|
});
|
|
526
527
|
var EventSchema = z.object({
|
|
527
528
|
key: z.string().min(1, "Event key is required"),
|
|
@@ -571,14 +572,45 @@ var TraitConfigSchema = z.record(TraitConfigValueSchema);
|
|
|
571
572
|
function isCallSiteConfigDeclaration(entry) {
|
|
572
573
|
return typeof entry === "object" && entry !== null && !Array.isArray(entry) && "type" in entry && typeof entry.type === "string" && "default" in entry;
|
|
573
574
|
}
|
|
575
|
+
var CONFIG_DECLARATION_META_KEYS = ["label", "description", "tier", "synonyms", "values"];
|
|
576
|
+
function isConfigFieldSchema(entry) {
|
|
577
|
+
if (typeof entry !== "object" || entry === null || Array.isArray(entry)) return false;
|
|
578
|
+
if (!("type" in entry) || typeof entry.type !== "string") return false;
|
|
579
|
+
return "default" in entry || CONFIG_DECLARATION_META_KEYS.some((k) => k in entry);
|
|
580
|
+
}
|
|
581
|
+
function normalizeCallSiteConfigToValues(config) {
|
|
582
|
+
if (config === void 0) {
|
|
583
|
+
return void 0;
|
|
584
|
+
}
|
|
585
|
+
const out = {};
|
|
586
|
+
let hasAny = false;
|
|
587
|
+
for (const [key, entry] of Object.entries(config)) {
|
|
588
|
+
const value = isConfigFieldSchema(entry) ? entry.default : entry;
|
|
589
|
+
if (value !== void 0) {
|
|
590
|
+
out[key] = value;
|
|
591
|
+
hasAny = true;
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
return hasAny ? out : void 0;
|
|
595
|
+
}
|
|
596
|
+
var ConfigFieldItemsDeclarationSchema = z.lazy(
|
|
597
|
+
() => z.object({
|
|
598
|
+
type: z.string().optional(),
|
|
599
|
+
properties: z.record(TraitEntityFieldSchema).optional(),
|
|
600
|
+
items: ConfigFieldItemsDeclarationSchema.optional()
|
|
601
|
+
})
|
|
602
|
+
);
|
|
574
603
|
var ConfigFieldDeclarationSchema = z.object({
|
|
575
604
|
type: z.string(),
|
|
576
605
|
default: TraitConfigValueSchema.optional(),
|
|
606
|
+
required: z.boolean().optional(),
|
|
577
607
|
label: z.string().optional(),
|
|
578
608
|
description: z.string().optional(),
|
|
579
609
|
tier: z.string().optional(),
|
|
580
610
|
values: z.array(z.string()).optional(),
|
|
581
|
-
synonyms: z.string().optional()
|
|
611
|
+
synonyms: z.string().optional(),
|
|
612
|
+
items: ConfigFieldItemsDeclarationSchema.optional(),
|
|
613
|
+
properties: z.lazy(() => z.record(TraitEntityFieldSchema)).optional()
|
|
582
614
|
});
|
|
583
615
|
var DeclaredTraitConfigSchema = z.record(
|
|
584
616
|
ConfigFieldDeclarationSchema
|
|
@@ -615,7 +647,9 @@ var TraitEntityFieldSchema = z.object({
|
|
|
615
647
|
]),
|
|
616
648
|
required: z.boolean().optional(),
|
|
617
649
|
default: z.unknown().optional(),
|
|
618
|
-
values: z.array(z.string()).optional()
|
|
650
|
+
values: z.array(z.string()).optional(),
|
|
651
|
+
items: ConfigFieldItemsDeclarationSchema.optional(),
|
|
652
|
+
properties: z.lazy(() => z.record(TraitEntityFieldSchema)).optional()
|
|
619
653
|
});
|
|
620
654
|
var TraitDataEntitySchema = z.object({
|
|
621
655
|
name: z.string().min(1),
|
|
@@ -654,19 +688,37 @@ var EventPayloadFieldSchema = z.object({
|
|
|
654
688
|
type: z.string().min(1),
|
|
655
689
|
required: z.boolean().optional(),
|
|
656
690
|
description: z.string().optional(),
|
|
657
|
-
entityType: z.string().optional()
|
|
658
|
-
|
|
691
|
+
entityType: z.string().optional(),
|
|
692
|
+
properties: z.lazy(() => z.array(EventPayloadFieldSchema)).optional()
|
|
693
|
+
});
|
|
694
|
+
var CONFIG_REF_EVENT_PATTERN = /^@config\.[A-Za-z_][A-Za-z0-9_]*$/;
|
|
695
|
+
function configRefEventKnob(event) {
|
|
696
|
+
return CONFIG_REF_EVENT_PATTERN.test(event) ? event.slice("@config.".length) : void 0;
|
|
697
|
+
}
|
|
698
|
+
function resolveConfigRefEventName(event, declaredConfig, effectiveConfig) {
|
|
699
|
+
const knob = configRefEventKnob(event);
|
|
700
|
+
if (knob === void 0) return { ok: false, error: "unknown-knob" };
|
|
701
|
+
const field = declaredConfig?.[knob];
|
|
702
|
+
if (field === void 0) return { ok: false, error: "unknown-knob" };
|
|
703
|
+
if (field.type !== "string") return { ok: false, error: "not-string" };
|
|
704
|
+
if (field.default === void 0) return { ok: false, error: "no-default" };
|
|
705
|
+
const value = effectiveConfig[knob];
|
|
706
|
+
if (typeof value !== "string") return { ok: false, error: "not-string" };
|
|
707
|
+
return { ok: true, value };
|
|
708
|
+
}
|
|
659
709
|
var TraitEventContractSchema = z.object({
|
|
660
710
|
/**
|
|
661
711
|
* Event name. Mirrors the Rust validator's `is_valid_event_identifier`:
|
|
662
712
|
* starts with a letter, then any letters / digits / underscores. Both
|
|
663
713
|
* UPPER_SNAKE_CASE and PascalCase shapes are valid identifiers in the
|
|
664
714
|
* post-Phase 2.5 nominal-event type system (events declared via
|
|
665
|
-
* `type X = Event<T>`).
|
|
715
|
+
* `type X = Event<T>`). A pre-resolution `@config.<knob>` reference
|
|
716
|
+
* (Option B) is also legal — inline/resolve substitutes it with the
|
|
717
|
+
* knob's effective literal before codegen/runtime consume it.
|
|
666
718
|
*/
|
|
667
719
|
event: z.string().min(1).regex(
|
|
668
|
-
/^[A-Za-z][A-Za-z0-9_]
|
|
669
|
-
"Event name must start with a letter and contain only letters, digits, and underscores"
|
|
720
|
+
/^([A-Za-z][A-Za-z0-9_]*|@config\.[A-Za-z_][A-Za-z0-9_]*)$/,
|
|
721
|
+
"Event name must start with a letter and contain only letters, digits, and underscores, or be a `@config.<knob>` reference"
|
|
670
722
|
),
|
|
671
723
|
description: z.string().optional(),
|
|
672
724
|
synonyms: z.string().optional(),
|
|
@@ -1608,6 +1660,11 @@ var BINDING_DOCS = {
|
|
|
1608
1660
|
description: "Authenticated user / agent context for ownership and role-based gating",
|
|
1609
1661
|
examples: ["@user.id", "@user.role"],
|
|
1610
1662
|
requiresPath: true
|
|
1663
|
+
},
|
|
1664
|
+
callsitePayload: {
|
|
1665
|
+
description: "Call-site-captured event payload \u2014 emitted by the compiler's inline-trait hoisting when an extracted render block captured @payload; resolved at the composing effect by the runtime BindingResolver",
|
|
1666
|
+
examples: ["@callsitePayload.error", "@callsitePayload.row"],
|
|
1667
|
+
requiresPath: true
|
|
1611
1668
|
}
|
|
1612
1669
|
};
|
|
1613
1670
|
var BINDING_CONTEXT_RULES = {
|
|
@@ -1616,8 +1673,8 @@ var BINDING_CONTEXT_RULES = {
|
|
|
1616
1673
|
description: `Guards can access entity fields, event payload, current state, time, the call-site trait config (@config.X), and the authenticated user context (@user.id, @user.role) for ownership / role gates. Config access lets atoms write mode-aware guards \u2014 e.g. std-modal's OPEN can require @payload.row only when @config.mode equals "edit", letting create-mode legitimately fire OPEN with no row. Like effects, @config.X is substituted at molecule/organism inline time with the literal call-site value; at atom-scope validate, @config is allowed-but-unresolved.`
|
|
1617
1674
|
},
|
|
1618
1675
|
effect: {
|
|
1619
|
-
allowed: ["entity", "payload", "state", "now", "trait", "config", "user"],
|
|
1620
|
-
description: "Effects can access and modify entity fields, use payload data, embed another trait's live frame via @trait.X inside render-ui children, read trait config values (@config.X) for atoms parameterized by their call-site, and read the authenticated user context (@user.id, @user.role). At molecule/organism inline time, @config.X is substituted with the literal value from the call-site config block; at atom-scope validate, @config is allowed-but-unresolved."
|
|
1676
|
+
allowed: ["entity", "payload", "state", "now", "trait", "config", "user", "callsitePayload"],
|
|
1677
|
+
description: "Effects can access and modify entity fields, use payload data, embed another trait's live frame via @trait.X inside render-ui children, read trait config values (@config.X) for atoms parameterized by their call-site, and read the authenticated user context (@user.id, @user.role). At molecule/organism inline time, @config.X is substituted with the literal value from the call-site config block; at atom-scope validate, @config is allowed-but-unresolved. @callsitePayload.X is the call-site-captured event payload emitted by the compiler's inline-trait hoisting (a hoisted render block that captured @payload); it is resolved at the composing effect by the runtime BindingResolver."
|
|
1621
1678
|
},
|
|
1622
1679
|
tick: {
|
|
1623
1680
|
allowed: ["entity", "state", "now", "config", "user"],
|
|
@@ -2281,6 +2338,6 @@ function widenTier(tier) {
|
|
|
2281
2338
|
return tier;
|
|
2282
2339
|
}
|
|
2283
2340
|
|
|
2284
|
-
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_TYPES, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, 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, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isPlanSnapshot, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, isValidPatternType, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
|
|
2341
|
+
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_TYPES, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, atomic, callService, collectBindings, configRefEventKnob, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, despawn, doEffects, emit, findService, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isPlanSnapshot, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, isValidPatternType, navigate, normalizeCallSiteConfigToValues, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, ref, renderUI, resolveConfigRefEventName, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
|
|
2285
2342
|
//# sourceMappingURL=index.js.map
|
|
2286
2343
|
//# sourceMappingURL=index.js.map
|