@almadar/core 10.52.0 → 10.54.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.d.ts +4 -4
- package/dist/builders.js.map +1 -1
- package/dist/{effect-CqTo1gAF.d.ts → effect-BlFO53UR.d.ts} +1 -1
- package/dist/{entityAccess-3QD5qbqw.d.ts → entityAccess-B28lOfc_.d.ts} +2 -2
- package/dist/{expression-Yf7qvvOs.d.ts → expression-Fk8bQWef.d.ts} +6 -1
- package/dist/factory/index.d.ts +5 -5
- package/dist/factory/index.js +8 -3
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +4 -4
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.js +20 -5
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +5 -5
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/index.d.ts +3 -3
- package/dist/{schema-h6xcymfn.d.ts → schema-BPC1Wuxb.d.ts} +95 -80
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-CnbGhs6A.d.ts → trait-RzDL-lSo.d.ts} +16 -16
- package/dist/types/index.d.ts +20 -10
- package/dist/types/index.js +12 -2
- package/dist/types/index.js.map +1 -1
- package/dist/{types-jWqiZC2S.d.ts → types-8b5zy8ts.d.ts} +28 -10
- package/package.json +1 -1
- package/src/types/bindings.ts +13 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { a as OrbitalDefinition, O as OrbitalSchema, d as OrbitalPage } from './schema-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, e as ALLOWED_CUSTOM_COMPONENTS, f as AgentDomainCategory, g as AgentDomainCategorySchema, h as AllowedCustomComponent, C as ColorSlice, i as ColorSliceSchema, j as ColorTokens, k as ColorTokensSchema, l as ComputedEventContract, m as ComputedEventContractSchema, n as ComputedEventListener, o as ComputedEventListenerSchema, p as ConfigProvenanceRecord, q as ConfigProvenanceRecordSchema, r as CustomPatternDefinition, s as CustomPatternDefinitionInput, t as CustomPatternDefinitionSchema, u as CustomPatternMap, v as CustomPatternMapInput, w as CustomPatternMapSchema, D as DensitySlice, x as DensitySliceSchema, y as DensityTokens, z as DensityTokensSchema, B as DesignPreferences, F as DesignPreferencesInput, G as DesignPreferencesSchema, H as DesignTokens, I as DesignTokensInput, J as DesignTokensSchema, K as DomainCategory, L as DomainCategorySchema, M as DomainContext, N as DomainContextInput, Q as DomainContextSchema, R as DomainVocabulary, S as DomainVocabularySchema, T as ElevationSlice, V as ElevationSliceSchema, W as ElevationTokens, X as ElevationTokensSchema, Y as EntityCall, Z as EntityCallSchema, E as EntityRef, _ as EntityRefSchema, $ as EntityRefStringSchema, a0 as EntitySemanticRole, a1 as EntitySemanticRoleSchema, a2 as EventListener, a3 as EventListenerSchema, a4 as EventSemanticRole, a5 as EventSemanticRoleSchema, a6 as EventSource, a7 as EventSourceSchema, a8 as FullOrbitalUnit, a9 as GameSubCategory, aa as GameSubCategorySchema, ab as GeometrySlice, ac as GeometrySliceSchema, ad as GeometryTokens, ae as GeometryTokensSchema, af as IconFamily, ag as IconFamilySchema, ah as IconographySlice, ai as IconographySliceSchema, aj as IconographyTokens, ak as IconographyTokensSchema, al as IllustrationSlice, am as IllustrationSliceSchema, an as IllustrationStyle, ao as IllustrationStyleSchema, ap as IllustrationTokens, aq 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
|
|
3
|
-
import { F as FieldValue, f as EntityRow } from './effect-
|
|
4
|
-
export { j as ANIMATION_NAMES, k as ASSET_ASPECTS, l as ASSET_DIMENSIONS, m as AgentEffect, n as AnimationDef, o as AnimationDefInput, p as AnimationDefSchema, q as AnimationName, r as AnimationNameSchema, A as AnyPatternConfig, s as ApplicationEffect, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, C as AssetCatalogSchema, D as AssetDimension, G as AssetDimensionSchema, H as AssetSchema, J as AssetUrl, K as AtomicEffect, L as BehaviorEffect, M as CAMERA_MODES, N as CallServiceConfig, Q as CallServiceEffect, V as Camera, W as CameraMode, X as CameraModeSchema, Y as CameraSchema, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ComposeEffect, a0 as DerefEffect, a1 as DespawnEffect, a2 as DoEffect, a3 as ENTITY_ROLES, c as Effect, a4 as EffectInput, a5 as EffectSchema, a6 as EmitConfig, a7 as EmitEffect, e as Entity, a8 as EntityData, E as EntityField, a9 as EntityFieldInput, aa as EntityFieldSchema, d as EntityId, ab as EntityIdSchema, a as EntityPersistence, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, b as EventId, ak as EventIdSchema, al as FIELD_TYPES, am as FetchEffect, an as FetchOptions, ao as FetchResult, ap as Field, aq as FieldSchema, ar as FieldType, as as FieldTypeSchema, at as ForwardConfig, au as ForwardEffect, av as IdForKind, aw as IdKind, I as IdentityLedger, ax as IdentityLedgerSchema, ay as LedgerEntry, az as LedgerEntrySchema, aA as LedgerKind, aB as LedgerKindSchema, aC as LlmEffect, aD as LogEffect, aE as McpServiceDef, aF as McpServiceDefSchema, aG as MemoryEffect, aH as NavigateEffect, aI as NnConfig, aJ as NnLayer, aK as NotifyEffect, aL as ObjectEntityField, aM as OrbitalEntity, aN as OrbitalEntityInput, aO as OrbitalEntitySchema, O as OrbitalId, aP as OrbitalIdSchema, aQ as OsEffect, aR as PATTERN_TYPES, P as PageId, aS as PageIdSchema, aT as PaletteEntryId, aU as PaletteEntryIdSchema, aV as PatternConfig, aW as PatternProps, aX as PatternPropsMap, aY as PatternType, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as RefEffect, R as RelationConfig, b1 as RelationConfigSchema, b2 as RelationEntityField, h as RenderBinding, b3 as RenderChildrenMap, b4 as RenderItemLambda, i as RenderUIEffect, b5 as RenderUINode, b6 as ResolvedPatternProps, b7 as RestAuthConfig, b8 as RestAuthConfigSchema, b9 as RestServiceDef, ba as RestServiceDefSchema, bb as SEMANTIC_STRING_TYPES, bc as SERVICE_TYPES, bd as SHEET_PROJECTIONS, be as SPRITE_DIRECTIONS, bf as ScalarEntityField, bg as ScenePos, bh as ScenePosSchema, bi as SemanticAssetRef, bj as SemanticAssetRefInput, bk as SemanticAssetRefSchema, bl as SemanticStringType, g as ServiceDefinition, bm as ServiceDefinitionSchema, bn as ServiceId, bo as ServiceIdSchema, bp as ServiceParams, bq as ServiceParamsValue, S as ServiceRef, br as ServiceRefObject, bs as ServiceRefObjectSchema, bt as ServiceRefSchema, bu as ServiceRefStringSchema, bv as ServiceType, bw as ServiceTypeSchema, bx as SessionEffect, by as SetEffect, bz as SheetProjection, bA as SheetProjectionSchema, bB as SocketEvents, bC as SocketEventsSchema, bD as SocketServiceDef, bE as SocketServiceDefSchema, bF as SpawnEffect, bG as SpriteDirection, bH as SpriteDirectionSchema, bI as SpriteSheetAtlas, bJ as SpriteSheetAtlasInput, bK as SpriteSheetAtlasSchema, bL as SubTexture, bM as SubTextureSchema, bN as SwapEffect, bO as TextureAtlas, bP as TextureAtlasSchema, bQ as ThemeId, bR as ThemeIdSchema, bS as Tilesheet, bT as TilesheetSchema, bU as TraceEffect, bV as TrainConfig, bW as TrainEffect, T as TraitId, bX as TraitIdSchema, bY as TypedEffect, U as UISlot, bZ as UISlotSchema, b_ as UI_SLOTS, b$ as VISUAL_STYLES, c0 as ValidateEffect, c1 as VisualStyle, c2 as VisualStyleSchema, c3 as WatchEffect, c4 as WatchOptions, c5 as asEntityId, c6 as asEventId, c7 as asOrbitalId, c8 as asPageId, c9 as asPaletteEntryId, ca as asServiceId, cb as asThemeId, cc as asTraitId, cd as atomic, ce as callService, cf as createAssetKey, cg as deref, ch as deriveCollection, ci as despawn, cj as doEffects, ck as emit, cl as findService, cm as getDefaultAnimationsForRole, cn as getServiceNames, co as hasService, cp as idKindOf, cq as idPrefix, cr as isEffect, cs as isEmailValue, ct as isEntityId, cu as isEventId, cv as isFieldValue, cw as isMcpService, cx as isOrbitalId, cy as isPageId, cz as isPaletteEntryId, cA as isPhoneValue, cB as isRestService, cC as isRuntimeEntity, cD as isSExprEffect, cE as isSemanticStringType, cF as isSemanticStringValue, cG as isServiceId, cH as isServiceReference, cI as isServiceReferenceObject, cJ as isSocketService, cK as isThemeId, cL as isTraitId, cM as isUrlValue, cN as isUuidValue, cO as isValidPatternType, cP as ledgerCurName, cQ as ledgerRename, cR as ledgerResolveName, cS as mintId, cT as navigate, cU as notify, cV as parseAssetKey, cW as parseServiceRef, cX as persist, cY as persistenceModeAllowsOverrides, cZ as ref, c_ as renderUI, c$ as set, d0 as spawn, d1 as swap, d2 as validateAssetAnimations, d3 as watch } from './effect-
|
|
5
|
-
import { T as ToolArgs, J as JsonValue, S as SExpr, a as EventPayload, R as RuntimeValue } from './expression-
|
|
6
|
-
export { C as CORE_BINDINGS, b as CoreBinding, c as EvalContext, d as EventPayloadValue, E as Expression, e as ExpressionInput, f as ExpressionSchema, g as JsonObject, L as LogMeta, h as LogMetaValue, P as ParsedBinding, i as SExprAtom, j as SExprAtomSchema, k as SExprDataSchema, l as SExprInput, m as SExprObject, n as SExprSchema, o as collectBindings, p as getArgs, q as getOperator, r as isBinding, s as isEventPayloadValue, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive, w as isSExpr, x as isSExprAtom, y as isSExprCall, z as isValidBinding, A as parseBinding, B as sexpr, D as walkSExpr } from './expression-
|
|
1
|
+
import { a as OrbitalDefinition, O as OrbitalSchema, d as OrbitalPage } from './schema-BPC1Wuxb.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, e as ALLOWED_CUSTOM_COMPONENTS, f as AgentDomainCategory, g as AgentDomainCategorySchema, h as AllowedCustomComponent, C as ColorSlice, i as ColorSliceSchema, j as ColorTokens, k as ColorTokensSchema, l as ComputedEventContract, m as ComputedEventContractSchema, n as ComputedEventListener, o as ComputedEventListenerSchema, p as ConfigProvenanceRecord, q as ConfigProvenanceRecordSchema, r as CustomPatternDefinition, s as CustomPatternDefinitionInput, t as CustomPatternDefinitionSchema, u as CustomPatternMap, v as CustomPatternMapInput, w as CustomPatternMapSchema, D as DensitySlice, x as DensitySliceSchema, y as DensityTokens, z as DensityTokensSchema, B as DesignPreferences, F as DesignPreferencesInput, G as DesignPreferencesSchema, H as DesignTokens, I as DesignTokensInput, J as DesignTokensSchema, K as DomainCategory, L as DomainCategorySchema, M as DomainContext, N as DomainContextInput, Q as DomainContextSchema, R as DomainVocabulary, S as DomainVocabularySchema, T as ElevationSlice, V as ElevationSliceSchema, W as ElevationTokens, X as ElevationTokensSchema, Y as EntityCall, Z as EntityCallSchema, E as EntityRef, _ as EntityRefSchema, $ as EntityRefStringSchema, a0 as EntitySemanticRole, a1 as EntitySemanticRoleSchema, a2 as EventListener, a3 as EventListenerSchema, a4 as EventSemanticRole, a5 as EventSemanticRoleSchema, a6 as EventSource, a7 as EventSourceSchema, a8 as FullOrbitalUnit, a9 as GameSubCategory, aa as GameSubCategorySchema, ab as GeometrySlice, ac as GeometrySliceSchema, ad as GeometryTokens, ae as GeometryTokensSchema, af as IconFamily, ag as IconFamilySchema, ah as IconographySlice, ai as IconographySliceSchema, aj as IconographyTokens, ak as IconographyTokensSchema, al as IllustrationSlice, am as IllustrationSliceSchema, an as IllustrationStyle, ao as IllustrationStyleSchema, ap as IllustrationTokens, aq 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 NavItem, aI as NodeClassification, aJ as NodeClassificationSchema, a8 as Orbital, aK as OrbitalConfig, aL as OrbitalConfigInput, aM as OrbitalConfigSchema, aN as OrbitalDefinitionSchema, aO as OrbitalInput, 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, b as Page, P as PageRef, c as PageRefObject, aZ as PageRefObjectSchema, a_ as PageRefSchema, a$ as PageRefStringSchema, b0 as PageSchema, b1 as PageTraitRef, b2 as PageTraitRefSchema, b3 as RelatedLink, b4 as RelatedLinkSchema, b5 as SchemaMetadata, b6 as SchemaMetadataSchema, b7 as SkinSpec, b8 as SkinSpecSchema, b9 as SpacingScale, ba as SpacingScaleSchema, bb as StateSemanticRole, bc as StateSemanticRoleSchema, bd as SuggestedGuard, be as SuggestedGuardSchema, bf as ThemeDefinition, bg as ThemeDefinitionSchema, bh as ThemeRef, bi as ThemeRefSchema, bj as ThemeRefStringSchema, bk as ThemeTokens, bl as ThemeTokensSchema, bm as ThemeVariant, bn as ThemeVariantSchema, bo as TypeIntent, bp as TypeIntentMap, bq as TypeIntentMapSchema, br as TypeIntentSchema, bs as TypeScale, bt as TypeScaleEntry, bu as TypeScaleEntrySchema, bv as TypeScaleSchema, bw as TypeScaleTokens, bx as TypeScaleTokensSchema, by as TypeSizeKey, bz as TypeSizeKeySchema, bA as TypeSlice, bB as TypeSliceSchema, bC as TypeSlot, bD as TypeSlotSchema, bE as TypeWeight, bF as TypeWeightSchema, bG as UXHints, bH as UXHintsSchema, U as UseDeclaration, bI as UseDeclarationSchema, bJ as UserPersona, bK as UserPersonaInput, bL as UserPersonaSchema, bM as ViewType, bN as ViewTypeSchema, bO as isEntityCall, bP as isEntityReference, bQ as isEntityReferenceAny, bR as isImportedTraitRef, bS as isOrbitalDefinition, bT as isPageReference, bU as isPageReferenceObject, bV as isPageReferenceString, bW as isThemeReference, bX as parseEntityRef, bY as parseImportedTraitRef, bZ as parseOrbitalSchema, b_ as parsePageRef, b$ as safeParseOrbitalSchema } from './schema-BPC1Wuxb.js';
|
|
3
|
+
import { F as FieldValue, f as EntityRow } from './effect-BlFO53UR.js';
|
|
4
|
+
export { j as ANIMATION_NAMES, k as ASSET_ASPECTS, l as ASSET_DIMENSIONS, m as AgentEffect, n as AnimationDef, o as AnimationDefInput, p as AnimationDefSchema, q as AnimationName, r as AnimationNameSchema, A as AnyPatternConfig, s as ApplicationEffect, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, C as AssetCatalogSchema, D as AssetDimension, G as AssetDimensionSchema, H as AssetSchema, J as AssetUrl, K as AtomicEffect, L as BehaviorEffect, M as CAMERA_MODES, N as CallServiceConfig, Q as CallServiceEffect, V as Camera, W as CameraMode, X as CameraModeSchema, Y as CameraSchema, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ComposeEffect, a0 as DerefEffect, a1 as DespawnEffect, a2 as DoEffect, a3 as ENTITY_ROLES, c as Effect, a4 as EffectInput, a5 as EffectSchema, a6 as EmitConfig, a7 as EmitEffect, e as Entity, a8 as EntityData, E as EntityField, a9 as EntityFieldInput, aa as EntityFieldSchema, d as EntityId, ab as EntityIdSchema, a as EntityPersistence, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, b as EventId, ak as EventIdSchema, al as FIELD_TYPES, am as FetchEffect, an as FetchOptions, ao as FetchResult, ap as Field, aq as FieldSchema, ar as FieldType, as as FieldTypeSchema, at as ForwardConfig, au as ForwardEffect, av as IdForKind, aw as IdKind, I as IdentityLedger, ax as IdentityLedgerSchema, ay as LedgerEntry, az as LedgerEntrySchema, aA as LedgerKind, aB as LedgerKindSchema, aC as LlmEffect, aD as LogEffect, aE as McpServiceDef, aF as McpServiceDefSchema, aG as MemoryEffect, aH as NavigateEffect, aI as NnConfig, aJ as NnLayer, aK as NotifyEffect, aL as ObjectEntityField, aM as OrbitalEntity, aN as OrbitalEntityInput, aO as OrbitalEntitySchema, O as OrbitalId, aP as OrbitalIdSchema, aQ as OsEffect, aR as PATTERN_TYPES, P as PageId, aS as PageIdSchema, aT as PaletteEntryId, aU as PaletteEntryIdSchema, aV as PatternConfig, aW as PatternProps, aX as PatternPropsMap, aY as PatternType, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as RefEffect, R as RelationConfig, b1 as RelationConfigSchema, b2 as RelationEntityField, h as RenderBinding, b3 as RenderChildrenMap, b4 as RenderItemLambda, i as RenderUIEffect, b5 as RenderUINode, b6 as ResolvedPatternProps, b7 as RestAuthConfig, b8 as RestAuthConfigSchema, b9 as RestServiceDef, ba as RestServiceDefSchema, bb as SEMANTIC_STRING_TYPES, bc as SERVICE_TYPES, bd as SHEET_PROJECTIONS, be as SPRITE_DIRECTIONS, bf as ScalarEntityField, bg as ScenePos, bh as ScenePosSchema, bi as SemanticAssetRef, bj as SemanticAssetRefInput, bk as SemanticAssetRefSchema, bl as SemanticStringType, g as ServiceDefinition, bm as ServiceDefinitionSchema, bn as ServiceId, bo as ServiceIdSchema, bp as ServiceParams, bq as ServiceParamsValue, S as ServiceRef, br as ServiceRefObject, bs as ServiceRefObjectSchema, bt as ServiceRefSchema, bu as ServiceRefStringSchema, bv as ServiceType, bw as ServiceTypeSchema, bx as SessionEffect, by as SetEffect, bz as SheetProjection, bA as SheetProjectionSchema, bB as SocketEvents, bC as SocketEventsSchema, bD as SocketServiceDef, bE as SocketServiceDefSchema, bF as SpawnEffect, bG as SpriteDirection, bH as SpriteDirectionSchema, bI as SpriteSheetAtlas, bJ as SpriteSheetAtlasInput, bK as SpriteSheetAtlasSchema, bL as SubTexture, bM as SubTextureSchema, bN as SwapEffect, bO as TextureAtlas, bP as TextureAtlasSchema, bQ as ThemeId, bR as ThemeIdSchema, bS as Tilesheet, bT as TilesheetSchema, bU as TraceEffect, bV as TrainConfig, bW as TrainEffect, T as TraitId, bX as TraitIdSchema, bY as TypedEffect, U as UISlot, bZ as UISlotSchema, b_ as UI_SLOTS, b$ as VISUAL_STYLES, c0 as ValidateEffect, c1 as VisualStyle, c2 as VisualStyleSchema, c3 as WatchEffect, c4 as WatchOptions, c5 as asEntityId, c6 as asEventId, c7 as asOrbitalId, c8 as asPageId, c9 as asPaletteEntryId, ca as asServiceId, cb as asThemeId, cc as asTraitId, cd as atomic, ce as callService, cf as createAssetKey, cg as deref, ch as deriveCollection, ci as despawn, cj as doEffects, ck as emit, cl as findService, cm as getDefaultAnimationsForRole, cn as getServiceNames, co as hasService, cp as idKindOf, cq as idPrefix, cr as isEffect, cs as isEmailValue, ct as isEntityId, cu as isEventId, cv as isFieldValue, cw as isMcpService, cx as isOrbitalId, cy as isPageId, cz as isPaletteEntryId, cA as isPhoneValue, cB as isRestService, cC as isRuntimeEntity, cD as isSExprEffect, cE as isSemanticStringType, cF as isSemanticStringValue, cG as isServiceId, cH as isServiceReference, cI as isServiceReferenceObject, cJ as isSocketService, cK as isThemeId, cL as isTraitId, cM as isUrlValue, cN as isUuidValue, cO as isValidPatternType, cP as ledgerCurName, cQ as ledgerRename, cR as ledgerResolveName, cS as mintId, cT as navigate, cU as notify, cV as parseAssetKey, cW as parseServiceRef, cX as persist, cY as persistenceModeAllowsOverrides, cZ as ref, c_ as renderUI, c$ as set, d0 as spawn, d1 as swap, d2 as validateAssetAnimations, d3 as watch } from './effect-BlFO53UR.js';
|
|
5
|
+
import { T as ToolArgs, J as JsonValue, S as SExpr, a as EventPayload, R as RuntimeValue } from './expression-Fk8bQWef.js';
|
|
6
|
+
export { C as CORE_BINDINGS, b as CoreBinding, c as EvalContext, d as EventPayloadValue, E as Expression, e as ExpressionInput, f as ExpressionSchema, g as JsonObject, L as LogMeta, h as LogMetaValue, P as ParsedBinding, i as SExprAtom, j as SExprAtomSchema, k as SExprDataSchema, l as SExprInput, m as SExprObject, n as SExprSchema, o as collectBindings, p as getArgs, q as getOperator, r as isBinding, s as isEventPayloadValue, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive, w as isSExpr, x as isSExprAtom, y as isSExprCall, z as isValidBinding, A as parseBinding, B as sexpr, D as walkSExpr } from './expression-Fk8bQWef.js';
|
|
7
7
|
import { ResolvedIR, ResolvedEntity, ResolvedPage, ResolvedTrait, ChangesetValue, SchemaChange, CategorizedRemovals, PageContentReduction, SemanticSchemaChange } from './types/index.js';
|
|
8
8
|
export { ANONYMOUS_USER, AgentCodeSearchResult, AgentCompactResult, AgentCompactStrategy, AgentContext, AgentGenerateOptions, AgentMemoryCategory, AgentMemoryRecord, AnalysisOrbital, AnalysisOrbitalParams, AnalysisPageOverride, AnalysisRename, AnalysisResult, AnnotationTier, AppCreatedEvent, AppSummary, AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingContext, BindingRoot, BindingSchema, BridgeHealth, BuilderResult, BusEvent, BusEventListener, BusEventSource, CancelledEvent, ChangeAuthor, ChangeSetDocument, ChangeSummary, ChangesetRecordedEvent, CheckStatus, Clarification, ClarificationCandidate, ClarificationLevel, CompleteEvent, ComplexityAssessment, ComposeAllResult, ComposeChildrenResult, ComposeOptions, ContextExtensions, CreateFlow, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeleteFlow, DispatchUpdatesResult, DrawableDescriptor, EdgeType, EditFlow, EffectPayload, EffectResult, EffectTrace, ErrorEvent, EventEmit, EventKey, EventListen, EventLogEntry, EvolutionDelta, ExecutePlanResult, ExtraTraitRef, FileOperationEvent, FileWrittenEvent, GateState, GenerationLogEvent, GitHubIssue, GitHubLink, GitHubRepo, HistoryMeta, IntegrationContext, InteractionModel, InteractionModelInput, InteractionModelSchema, InterruptEvent, KNOWN_VALIDATION_ERROR_CODES, KnobPayload, KnownValidationErrorCode, LLMErrorContext, LazyService, LineageEntry, ListInteraction, LivingEdge, LivingEffect, LivingEntity, LivingEvent, LivingField, LivingOrbital, LivingOrbitalSchema, LivingPage, LivingState, LivingTrait, LivingTransition, LivingValue, LivingVertex, LlmCallToolsResult, LlmContext, LlmMessage, LlmTokenUsage, LlmToolCall, LlmToolDef, LoloEmitResult, MemoryContext, MessageEvent, OrbitalAddedEvent, OrbitalSchemaCompleteEvent, OrbitalVerificationAPI, ParamsRepairEmittedEvent, ParsedDesign, ParsedDomainContext, ParsedEmitDeclaration, ParsedEntity, ParsedEvent, ParsedListenDeclaration, ParsedOrbital, ParsedPage, ParsedState, ParsedStateMachine, ParsedTrait, ParsedTraitConfig, ParsedTransition, PatternTypeSchema, PersistActionName, PlanSnapshot, PlanSnapshotStatus, PlannerResult, Probability, ProcessCompleteEvent, ProcessErrorEvent, ProcessRepairCompleteEvent, ProcessRepairEvent, ProcessStartEvent, RENDER_BINDING_MARKER, RawUserClaims, RenderBindingMarker, RepairResult, ResolvedEntityBinding, ResolvedField, ResolvedNavigation, ResolvedPattern, ResolvedSection, ResolvedSectionEvent, ResolvedTraitBinding, ResolvedTraitDataEntity, ResolvedTraitEvent, ResolvedTraitGuard, ResolvedTraitListener, ResolvedTraitState, ResolvedTraitTick, ResolvedTraitTransition, ResolvedTraitUIBinding, SSEEvent, SSEEventBase, SSEEventType, SaveOptions, SaveResult, SchemaPhaseUpdateEvent, SchemaPhaseValidatedEvent, SchemaUpdateEvent, SemanticAnnotation, SemanticChangeKind, SemanticVector, ServerResponseTrace, ServiceAction, ServiceActionName, ServiceCallResult, ServiceContract, ServiceEvents, SessionContext, SessionHistoryEntry, SnapshotCreatedEvent, SnapshotDocument, SpawnResult, StartEvent, StatsView, StoreContract, StoreFilter, StoreFilterOp, SubagentCompleteEvent, SubagentEvent, SubagentProgressEvent, SubagentStartEvent, TodoActivityType, TodoDetailEvent, TodoUpdateEvent, ToolCallEvent, ToolResultEvent, TraceContext, TraitFieldRef, TraitFieldRefSchema, TraitStateSnapshot, TransitionFrom, TransitionTrace, Unsubscribe, UserContext, ValidateResult, ValidationDocument, ValidationError, ValidationErrorCode, ValidationIssue, ValidationMeta, ValidationResult, ValidationResults, VerificationCheck, VerificationSnapshot, VerificationSummary, VertexId, VertexPayload, VertexType, ViewFlow, WorkspaceContext, containsEntityBinding, containsPayloadBinding, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, encodeDevIdentityToken, findPersonaInRoster, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isRenderBindingMarker, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, normalizeUserContext, personaFromIdentityRow, resolveDefaultViewer, resolvePersonaSpec, toBindingRoot, validateBindingInContext, widenTier } from './types/index.js';
|
|
9
|
-
import { b as TraitConfig, g as Trait, S as State } from './trait-
|
|
10
|
-
export { k as CONFIG_REF_EVENT_PATTERN, h as CallSiteConfig, i as CallSiteConfigEntry, C as ConfigFieldDeclaration, l as ConfigFieldDeclarationSchema, m as ConfigFieldItemsDeclaration, n as ConfigRefEventError, D as DeclaredTraitConfig, o as DeclaredTraitConfigSchema, p as EntityFieldContract, q as EntityFieldContractSchema, r as Event, s as EventInput, E as EventPayloadField, t as EventPayloadFieldSchema, u as EventSchema, v as EventScope, w as EventScopeSchema, G as Guard, x as GuardInput, y as GuardSchema, L as ListenSource, z as ListenSourceSchema, O as OrbitalTraitRef, A as OrbitalTraitRefSchema, P as PayloadField, B as PayloadFieldSchema, F as PresentationType, R as REFERENCE_CONFIG_TYPES, H as ReferenceConfigType, I as RequiredField, J as RequiredFieldSchema, K as SECRET_CONFIG_TYPES, M as SecretConfigType, N as StateInput, Q as StateMachine, U as StateMachineInput, V as StateMachineSchema, W as StateSchema, X as TickIntervalSchema, Y as TraitCategory, Z as TraitCategorySchema, c as TraitConfigObject, _ as TraitConfigSchema, e as TraitConfigValue, $ as TraitConfigValueSchema, a0 as TraitDataEntity, a1 as TraitDataEntitySchema, f as TraitEntityField, a2 as TraitEntityFieldSchema, j as TraitEventContract, a3 as TraitEventContractSchema, T as TraitEventListener, a4 as TraitEventListenerSchema, a5 as TraitInput, d as TraitRef, a6 as TraitRefSchema, a as TraitReference, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ad as TraitUIBindingSchema, ae as Transition, af as TransitionInput, ag as TransitionSchema, ah as configRefEventKnob, ai as getTraitConfig, aj as getTraitName, ak as isCallSiteConfigDeclaration, al as isCircuitEvent, am as isInlineTrait, an as isReferenceConfigType, ao as isSecretConfigType, ap as normalizeCallSiteConfigToValues, aq as normalizeTraitRef, ar as resolveConfigRefEventName } from './trait-
|
|
11
|
-
export { F as FactoryCallSite, a as FactoryCallSiteParams, b as FactoryConfigParam, c as FactoryConfigTier, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, h as FactoryParamValue, i as FactoryProvenance, j as FactorySignature, k as FactorySignatureCatalog, l as FactorySignatureEntityField, m as FactoryTraitSignature, J as JsonSchema, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, o as PresentationOverlay, R as RuleOverlay, p as RuleOverlayEntry, S as SchemaFieldType, T as TraitOverlay, q as TraitOverlayEntry, r as TraitOverlayListener } from './types-
|
|
9
|
+
import { b as TraitConfig, g as Trait, S as State } from './trait-RzDL-lSo.js';
|
|
10
|
+
export { k as CONFIG_REF_EVENT_PATTERN, h as CallSiteConfig, i as CallSiteConfigEntry, C as ConfigFieldDeclaration, l as ConfigFieldDeclarationSchema, m as ConfigFieldItemsDeclaration, n as ConfigRefEventError, D as DeclaredTraitConfig, o as DeclaredTraitConfigSchema, p as EntityFieldContract, q as EntityFieldContractSchema, r as Event, s as EventInput, E as EventPayloadField, t as EventPayloadFieldSchema, u as EventSchema, v as EventScope, w as EventScopeSchema, G as Guard, x as GuardInput, y as GuardSchema, L as ListenSource, z as ListenSourceSchema, O as OrbitalTraitRef, A as OrbitalTraitRefSchema, P as PayloadField, B as PayloadFieldSchema, F as PresentationType, R as REFERENCE_CONFIG_TYPES, H as ReferenceConfigType, I as RequiredField, J as RequiredFieldSchema, K as SECRET_CONFIG_TYPES, M as SecretConfigType, N as StateInput, Q as StateMachine, U as StateMachineInput, V as StateMachineSchema, W as StateSchema, X as TickIntervalSchema, Y as TraitCategory, Z as TraitCategorySchema, c as TraitConfigObject, _ as TraitConfigSchema, e as TraitConfigValue, $ as TraitConfigValueSchema, a0 as TraitDataEntity, a1 as TraitDataEntitySchema, f as TraitEntityField, a2 as TraitEntityFieldSchema, j as TraitEventContract, a3 as TraitEventContractSchema, T as TraitEventListener, a4 as TraitEventListenerSchema, a5 as TraitInput, d as TraitRef, a6 as TraitRefSchema, a as TraitReference, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ad as TraitUIBindingSchema, ae as Transition, af as TransitionInput, ag as TransitionSchema, ah as configRefEventKnob, ai as getTraitConfig, aj as getTraitName, ak as isCallSiteConfigDeclaration, al as isCircuitEvent, am as isInlineTrait, an as isReferenceConfigType, ao as isSecretConfigType, ap as normalizeCallSiteConfigToValues, aq as normalizeTraitRef, ar as resolveConfigRefEventName } from './trait-RzDL-lSo.js';
|
|
11
|
+
export { F as FactoryCallSite, a as FactoryCallSiteParams, b as FactoryConfigParam, c as FactoryConfigTier, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, h as FactoryParamValue, i as FactoryProvenance, j as FactorySignature, k as FactorySignatureCatalog, l as FactorySignatureEntityField, m as FactoryTraitSignature, J as JsonSchema, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, o as PresentationOverlay, R as RuleOverlay, p as RuleOverlayEntry, S as SchemaFieldType, T as TraitOverlay, q as TraitOverlayEntry, r as TraitOverlayListener } from './types-8b5zy8ts.js';
|
|
12
12
|
export { CallSiteDiff, DomainQuestion, DomainQuestionAnswer, DomainQuestionAnswers, DomainQuestionInputType, FactoryCallPlanMutation, FactoryCallPlanMutationTemplate, FactoryCallPlanState, OrbitalCallInput, TranslationBinding, TranslationResult, TranslationWarning, answerToMutations, answersToMutations, applyFactoryCallPlanMutation, deriveInputType, diffFactoryCalls, generateQuestions, translateOverlaysToParams } from './factory/index.js';
|
|
13
13
|
export { ComposeBehaviorsInput, ComposeBehaviorsResult, EventWiringEntry, LayoutStrategy, applyEventWiring, composeBehaviors, detectLayoutStrategy } from './builders.js';
|
|
14
14
|
export { COMPONENT_MAPPING, EVENT_CONTRACTS, EmojiPickPayload, FormSubmitPayload, INTEGRATORS_REGISTRY, ItemActionPayload, LoadMoreRequestPayload, PATTERN_REGISTRY, PatternCallbackArg, PatternEntry, PatternPayloadField, PatternPropDef, PatternRecommendation, PatternSwapGate, PropKind, RecommendationContext, RenderUiPayload, SelectionChangePayload, buildRecommendationContext, collectRenderUiPatternTypes, componentMapping, eventContracts, eventKeyPropsOf, eventListPropsOf, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, patternsRegistry, recommendPatterns, registry, renderUiPatternTypesOf } from './patterns/index.js';
|
|
15
15
|
export { BFSNode, BFSPathNode, EdgeWalkTransition, GraphTransition, GuardPayload, ReplayStep, ReplayTransition, StateEdge, WalkStep, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, collectReachableStates, constTruth, extractPayloadFieldRef, walkStatePairs } from './state-machine/index.js';
|
|
16
|
-
export { E as EntityAccessPolicies, e as entityAccessPolicies, a as entityAccessTable } from './entityAccess-
|
|
16
|
+
export { E as EntityAccessPolicies, e as entityAccessPolicies, a as entityAccessTable } from './entityAccess-B28lOfc_.js';
|
|
17
17
|
import 'zod';
|
|
18
18
|
|
|
19
19
|
/**
|
package/dist/index.js
CHANGED
|
@@ -515,7 +515,7 @@ function isBinding(value) {
|
|
|
515
515
|
function isSExprCall(value) {
|
|
516
516
|
return isSExpr(value);
|
|
517
517
|
}
|
|
518
|
-
var CORE_BINDINGS = ["entity", "payload", "state", "now", "config", "computed", "trait", "user", "callsitePayload"];
|
|
518
|
+
var CORE_BINDINGS = ["entity", "payload", "state", "now", "config", "computed", "trait", "user", "callsitePayload", "pages", "currentTheme"];
|
|
519
519
|
function parseBinding(binding) {
|
|
520
520
|
if (!binding.startsWith("@")) {
|
|
521
521
|
return null;
|
|
@@ -1952,6 +1952,16 @@ var BINDING_DOCS = {
|
|
|
1952
1952
|
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",
|
|
1953
1953
|
examples: ["@callsitePayload.error", "@callsitePayload.row"],
|
|
1954
1954
|
requiresPath: true
|
|
1955
|
+
},
|
|
1956
|
+
pages: {
|
|
1957
|
+
description: "Render-resolved schema sigil \u2014 the host orbital's pages as a NavItem[] array (href = page.path, label = page.name). Substituted from the OrbitalSchema before codegen; never survives as a live binding.",
|
|
1958
|
+
examples: ["@pages"],
|
|
1959
|
+
requiresPath: false
|
|
1960
|
+
},
|
|
1961
|
+
currentTheme: {
|
|
1962
|
+
description: "Render-resolved schema sigil \u2014 the host orbital's active data-theme key, derived from Orbital.theme. Substituted from the OrbitalSchema before codegen; never survives as a live binding.",
|
|
1963
|
+
examples: ["@currentTheme"],
|
|
1964
|
+
requiresPath: false
|
|
1955
1965
|
}
|
|
1956
1966
|
};
|
|
1957
1967
|
var BINDING_CONTEXT_RULES = {
|
|
@@ -1960,7 +1970,7 @@ var BINDING_CONTEXT_RULES = {
|
|
|
1960
1970
|
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.`
|
|
1961
1971
|
},
|
|
1962
1972
|
effect: {
|
|
1963
|
-
allowed: ["entity", "payload", "state", "now", "trait", "config", "user", "callsitePayload"],
|
|
1973
|
+
allowed: ["entity", "payload", "state", "now", "trait", "config", "user", "callsitePayload", "pages", "currentTheme"],
|
|
1964
1974
|
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."
|
|
1965
1975
|
},
|
|
1966
1976
|
tick: {
|
|
@@ -50636,8 +50646,7 @@ function configKeyQuestions(call, signature) {
|
|
|
50636
50646
|
return out;
|
|
50637
50647
|
}
|
|
50638
50648
|
function buildConfigKeyQuestion(call, trait, param) {
|
|
50639
|
-
const
|
|
50640
|
-
const question = `${label}?`;
|
|
50649
|
+
const question = param.label ?? humanizeKey(param.key);
|
|
50641
50650
|
const callSiteOverride = callSiteOverrideValue(call, trait.name, param.key);
|
|
50642
50651
|
const effectiveDefault = callSiteOverride !== void 0 ? callSiteOverride : param.default;
|
|
50643
50652
|
const helpText = param.description;
|
|
@@ -50775,7 +50784,7 @@ function entityFieldQuestions(call, signature) {
|
|
|
50775
50784
|
const q = {
|
|
50776
50785
|
id: `${call.orbital}.__entityFields`,
|
|
50777
50786
|
orbitalName: call.orbital,
|
|
50778
|
-
question: `
|
|
50787
|
+
question: `Fields for ${entityName}`,
|
|
50779
50788
|
reason: `Defines the data model for ${entityName}. Pick the fields that matter for your use case.`,
|
|
50780
50789
|
inputType: "multiselect",
|
|
50781
50790
|
mutationTemplate: {
|
|
@@ -51039,6 +51048,7 @@ function translateOverlaysToParams(binding, signature, presentation, ruleOverlay
|
|
|
51039
51048
|
applyPersistence(binding, signature, params, warnings);
|
|
51040
51049
|
applyCollection(binding, params);
|
|
51041
51050
|
applyPagePaths(binding, signature, params, warnings);
|
|
51051
|
+
applyTheme(presentation, params);
|
|
51042
51052
|
applyPresentation(presentation, signature, params, warnings);
|
|
51043
51053
|
applyTraitOverlay(traitOverlay, signature, params, warnings);
|
|
51044
51054
|
applyRuleOverlay(ruleOverlay, signature, binding, catalog, params, warnings);
|
|
@@ -51104,6 +51114,11 @@ function applyPagePaths(binding, signature, params, warnings) {
|
|
|
51104
51114
|
}
|
|
51105
51115
|
if (Object.keys(overrides).length > 0) params.pagePaths = overrides;
|
|
51106
51116
|
}
|
|
51117
|
+
function applyTheme(presentation, params) {
|
|
51118
|
+
if (presentation?.themeRef) {
|
|
51119
|
+
params.theme = presentation.themeRef;
|
|
51120
|
+
}
|
|
51121
|
+
}
|
|
51107
51122
|
function applyPresentation(overlay, signature, params, warnings) {
|
|
51108
51123
|
if (!overlay?.navAdditions || overlay.navAdditions.length === 0) return;
|
|
51109
51124
|
const target = signature.traits.find(
|