@almadar/core 10.54.0 → 10.56.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 +9 -3
- package/dist/builders.js +26 -2
- package/dist/builders.js.map +1 -1
- package/dist/{effect-BlFO53UR.d.ts → effect-DxD-XTI8.d.ts} +1 -1
- package/dist/{entityAccess-B28lOfc_.d.ts → entityAccess-Bnz5CJ3S.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +22 -4
- package/dist/factory-runtime/index.js +46 -3
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +48 -9
- package/dist/index.js +252 -6
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +8 -1
- package/dist/patterns/index.d.ts +12 -5
- package/dist/patterns/index.js +10 -3
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +1 -1
- package/dist/patterns/registry.json +1 -1
- package/dist/{schema-BPC1Wuxb.d.ts → schema-Nk1usPv6.d.ts} +459 -3
- package/dist/{trait-RzDL-lSo.d.ts → trait-WnYkvPdZ.d.ts} +1 -1
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.js +26 -3
- package/dist/types/index.js.map +1 -1
- package/dist/{types-8b5zy8ts.d.ts → types-C4YztU2N.d.ts} +15 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { a as OrbitalDefinition, O as OrbitalSchema,
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES,
|
|
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-
|
|
1
|
+
import { a as OrbitalDefinition, O as OrbitalSchema, e as OrbitalPage, b as ExpectDeclaration } from './schema-Nk1usPv6.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, f as ALLOWED_CUSTOM_COMPONENTS, g as AgentDomainCategory, h as AgentDomainCategorySchema, i as AllowedCustomComponent, C as ColorSlice, j as ColorSliceSchema, k as ColorTokens, l as ColorTokensSchema, m as ComputedEventContract, n as ComputedEventContractSchema, o as ComputedEventListener, p as ComputedEventListenerSchema, q as ConfigProvenanceRecord, r as ConfigProvenanceRecordSchema, s as CustomPatternDefinition, t as CustomPatternDefinitionInput, u as CustomPatternDefinitionSchema, v as CustomPatternMap, w as CustomPatternMapInput, x as CustomPatternMapSchema, D as DensitySlice, y as DensitySliceSchema, z as DensityTokens, B as DensityTokensSchema, F as DesignPreferences, G as DesignPreferencesInput, H as DesignPreferencesSchema, I as DesignTokens, J as DesignTokensInput, K as DesignTokensSchema, L as DomainCategory, M as DomainCategorySchema, N as DomainContext, Q as DomainContextInput, R as DomainContextSchema, S as DomainVocabulary, T as DomainVocabularySchema, V as ElevationSlice, W as ElevationSliceSchema, X as ElevationTokens, Y as ElevationTokensSchema, Z as EntityCall, _ as EntityCallSchema, E as EntityRef, $ as EntityRefSchema, a0 as EntityRefStringSchema, a1 as EntitySemanticRole, a2 as EntitySemanticRoleSchema, a3 as EventListener, a4 as EventListenerSchema, a5 as EventSemanticRole, a6 as EventSemanticRoleSchema, a7 as EventSource, a8 as EventSourceSchema, a9 as ExpectDeclarationSchema, aa as FullOrbitalUnit, ab as GameSubCategory, ac as GameSubCategorySchema, ad as GeometrySlice, ae as GeometrySliceSchema, af as GeometryTokens, ag as GeometryTokensSchema, ah as IconFamily, ai as IconFamilySchema, aj as IconographySlice, ak as IconographySliceSchema, al as IconographyTokens, am as IconographyTokensSchema, an as IllustrationSlice, ao as IllustrationSliceSchema, ap as IllustrationStyle, aq as IllustrationStyleSchema, ar as IllustrationTokens, as as IllustrationTokensSchema, at as MotionDurationKey, au as MotionDurationKeySchema, av as MotionDurationPalette, aw as MotionDurationPaletteSchema, ax as MotionEasingKey, ay as MotionEasingKeySchema, az as MotionEasingPalette, aA as MotionEasingPaletteSchema, aB as MotionIntent, aC as MotionIntentMap, aD as MotionIntentMapSchema, aE as MotionIntentSchema, aF as MotionSlice, aG as MotionSliceSchema, aH as MotionTokens, aI as MotionTokensSchema, aJ as NavItem, aK as NodeClassification, aL as NodeClassificationSchema, aa as Orbital, aM as OrbitalConfig, aN as OrbitalConfigInput, aO as OrbitalConfigSchema, aP as OrbitalDefinitionSchema, aQ as OrbitalInput, aR as OrbitalPageInput, aS as OrbitalPageSchema, aT as OrbitalPageStrictInput, aU as OrbitalPageStrictSchema, aV as OrbitalSchemaInput, aW as OrbitalSchemaSchema, aX as OrbitalSchemaWithTraits, aY as OrbitalUnit, aZ as OrbitalUnitSchema, a_ as OrbitalZodSchema, c as Page, P as PageRef, d as PageRefObject, a$ as PageRefObjectSchema, b0 as PageRefSchema, b1 as PageRefStringSchema, b2 as PageSchema, b3 as PageTraitRef, b4 as PageTraitRefSchema, b5 as RelatedLink, b6 as RelatedLinkSchema, b7 as SchemaMetadata, b8 as SchemaMetadataSchema, b9 as SkinSpec, ba as SkinSpecSchema, bb as SpacingScale, bc as SpacingScaleSchema, bd as StateSemanticRole, be as StateSemanticRoleSchema, bf as SuggestedGuard, bg as SuggestedGuardSchema, bh as ThemeDefinition, bi as ThemeDefinitionSchema, bj as ThemeRef, bk as ThemeRefSchema, bl as ThemeRefStringSchema, bm as ThemeTokens, bn as ThemeTokensSchema, bo as ThemeVariant, bp as ThemeVariantSchema, bq as TypeIntent, br as TypeIntentMap, bs as TypeIntentMapSchema, bt as TypeIntentSchema, bu as TypeScale, bv as TypeScaleEntry, bw as TypeScaleEntrySchema, bx as TypeScaleSchema, by as TypeScaleTokens, bz as TypeScaleTokensSchema, bA as TypeSizeKey, bB as TypeSizeKeySchema, bC as TypeSlice, bD as TypeSliceSchema, bE as TypeSlot, bF as TypeSlotSchema, bG as TypeWeight, bH as TypeWeightSchema, bI as UXHints, bJ as UXHintsSchema, U as UseDeclaration, bK as UseDeclarationSchema, bL as UserPersona, bM as UserPersonaInput, bN as UserPersonaSchema, bO as ViewType, bP as ViewTypeSchema, bQ as isEntityCall, bR as isEntityReference, bS as isEntityReferenceAny, bT as isImportedTraitRef, bU as isOrbitalDefinition, bV as isPageReference, bW as isPageReferenceObject, bX as isPageReferenceString, bY as isThemeReference, bZ as parseEntityRef, b_ as parseImportedTraitRef, b$ as parseOrbitalSchema, c0 as parsePageRef, c1 as safeParseOrbitalSchema } from './schema-Nk1usPv6.js';
|
|
3
|
+
import { F as FieldValue, f as EntityRow } from './effect-DxD-XTI8.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-DxD-XTI8.js';
|
|
5
5
|
import { T as ToolArgs, J as JsonValue, S as SExpr, a as EventPayload, R as RuntimeValue } from './expression-Fk8bQWef.js';
|
|
6
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-WnYkvPdZ.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-WnYkvPdZ.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-C4YztU2N.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-Bnz5CJ3S.js';
|
|
17
17
|
import 'zod';
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -806,6 +806,45 @@ declare function summarizeOrbital(orbital: OrbitalDefinition): OrbitalDefinition
|
|
|
806
806
|
*/
|
|
807
807
|
declare function summarizeSchema(schema: OrbitalSchema): OrbitalSchema;
|
|
808
808
|
|
|
809
|
+
/**
|
|
810
|
+
* `expects` derivation — compute an orbital's consumer-side requirement
|
|
811
|
+
* declarations from a FULL multi-orbital schema (the organism's golden `.orb`).
|
|
812
|
+
*
|
|
813
|
+
* Derivation, not authorship (docs/Almadar_LOLO_Expects_Proposal.md §7): a
|
|
814
|
+
* sliced orbital is born with correct expectations because the walk reads the
|
|
815
|
+
* same cross-boundary edge families the organism declares — `@user.<field>`
|
|
816
|
+
* reads in access directives/guards/effects (→ `expects identity`), relation
|
|
817
|
+
* fields, `persist`/`fetch` effect targets, and cross-orbital `linkedEntity`
|
|
818
|
+
* bindings (→ `expects entity`). Shape field types are copied verbatim from
|
|
819
|
+
* the provider's declared fields in the golden schema — full fidelity, zero
|
|
820
|
+
* guessing; a usage naming a field the provider never declared is reported in
|
|
821
|
+
* `diagnostics` and omitted from the shape.
|
|
822
|
+
*
|
|
823
|
+
* `expects event` is Phase 2 and deliberately not derived here.
|
|
824
|
+
*
|
|
825
|
+
* @packageDocumentation
|
|
826
|
+
*/
|
|
827
|
+
|
|
828
|
+
/** A derivation note: a cross-boundary usage with no provider-side declaration. */
|
|
829
|
+
type ExpectationDiagnostic = {
|
|
830
|
+
kind: 'unknown-orbital' | 'identity-field-not-declared' | 'entity-field-not-declared';
|
|
831
|
+
/** The orbital the expectations were derived for. */
|
|
832
|
+
orbital: string;
|
|
833
|
+
/** Provider entity the field was expected on (when known). */
|
|
834
|
+
entity?: string;
|
|
835
|
+
/** Field name the consumer reads but the provider does not declare. */
|
|
836
|
+
field?: string;
|
|
837
|
+
};
|
|
838
|
+
type DeriveExpectationsResult = {
|
|
839
|
+
expectations: ExpectDeclaration[];
|
|
840
|
+
diagnostics: ExpectationDiagnostic[];
|
|
841
|
+
};
|
|
842
|
+
/**
|
|
843
|
+
* Derive the `expects` declarations for one orbital of a full schema.
|
|
844
|
+
* Pure; never mutates the input schema.
|
|
845
|
+
*/
|
|
846
|
+
declare function deriveExpectations(schema: OrbitalSchema, orbitalName: string): DeriveExpectationsResult;
|
|
847
|
+
|
|
809
848
|
/**
|
|
810
849
|
* Shared-entity frame merge.
|
|
811
850
|
*
|
|
@@ -843,4 +882,4 @@ type EntityFrameState = EntityRow;
|
|
|
843
882
|
*/
|
|
844
883
|
declare function mergeEntityFrame(current: EntityFrameState, orderedWrites: readonly EntityFieldWrite[]): EntityFrameState;
|
|
845
884
|
|
|
846
|
-
export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, type ContractFieldEntry, type ContractFieldSpec, type ContractRange, type ContractSpec, type ContractValidationResult, type ContractViolation, type EditFocus, type EditFocusLevel, type EntityFieldWrite, type EntityFrameState, EntityRow, EventPayload, FieldValue, JsonValue, type ListenPayloadEvaluator, OrbitalDefinition, OrbitalPage, OrbitalSchema, type PageContentOwner, PageContentReduction, type PatternNode, type PatternValue, type RenderOverlayResult, type RenderUiPatch, type RenderUiPatchAddress, type RenderUiPatchOp, ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, RuntimeValue, SExpr, SchemaChange, type SchemaDiff, type SchemaDiffAuthor, type SchemaDiffChange, type SchemaDiffChangeset, type SchemaDiffMode, type SchemaDiffOptions, type SchemaDiffSource, type SchemaDiffSummary, SemanticSchemaChange, State, type TensorValue, ToolArgs, type TraceActivity, type TraceActivityItem, type TraceAvatarRole, type TraceChatMessage, type TraceChatMessageToolCall, type TraceDiffHunk, type TraceDiffLine, type TraceFileOperation, type TraceSubagent, type TraceSubagentMessage, Trait, TraitConfig, OrbitalDefinition as ValidatedOrbital, applyListenPayloadMapping, applyRenderOverlay, buildResolvedTraitConfigs, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectEmbeddedTraitReferrers, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, contractFieldName, describeTensorMismatch, detectPageContentReduction, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, fingerprintNode, gatherTensorLastDim, getEntity, getPage, getPages, getRemovals, getSchemaCacheStats, getTrait, hasSignificantPageReduction, insertChildAtPath, isContentMainWriter, isDestructiveChange, isTensorValue, mapTensorLastDim, mergeEntityFrame, navigatePatternPath, reduceToOwners, removeChildAtPath, replaceChildAtPath, requiresConfirmation, resolveContentOwners, resolvePageContentOwner, schemaToIR, setPropAtPath, summarizeOrbital, summarizeSchema, tensorLastDimSize, tensorShape, traitDeclaresConfigForward, validateContract };
|
|
885
|
+
export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, type ContractFieldEntry, type ContractFieldSpec, type ContractRange, type ContractSpec, type ContractValidationResult, type ContractViolation, type DeriveExpectationsResult, type EditFocus, type EditFocusLevel, type EntityFieldWrite, type EntityFrameState, EntityRow, EventPayload, ExpectDeclaration, type ExpectationDiagnostic, FieldValue, JsonValue, type ListenPayloadEvaluator, OrbitalDefinition, OrbitalPage, OrbitalSchema, type PageContentOwner, PageContentReduction, type PatternNode, type PatternValue, type RenderOverlayResult, type RenderUiPatch, type RenderUiPatchAddress, type RenderUiPatchOp, ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, RuntimeValue, SExpr, SchemaChange, type SchemaDiff, type SchemaDiffAuthor, type SchemaDiffChange, type SchemaDiffChangeset, type SchemaDiffMode, type SchemaDiffOptions, type SchemaDiffSource, type SchemaDiffSummary, SemanticSchemaChange, State, type TensorValue, ToolArgs, type TraceActivity, type TraceActivityItem, type TraceAvatarRole, type TraceChatMessage, type TraceChatMessageToolCall, type TraceDiffHunk, type TraceDiffLine, type TraceFileOperation, type TraceSubagent, type TraceSubagentMessage, Trait, TraitConfig, OrbitalDefinition as ValidatedOrbital, applyListenPayloadMapping, applyRenderOverlay, buildResolvedTraitConfigs, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectEmbeddedTraitReferrers, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, contractFieldName, deriveExpectations, describeTensorMismatch, detectPageContentReduction, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, fingerprintNode, gatherTensorLastDim, getEntity, getPage, getPages, getRemovals, getSchemaCacheStats, getTrait, hasSignificantPageReduction, insertChildAtPath, isContentMainWriter, isDestructiveChange, isTensorValue, mapTensorLastDim, mergeEntityFrame, navigatePatternPath, reduceToOwners, removeChildAtPath, replaceChildAtPath, requiresConfirmation, resolveContentOwners, resolvePageContentOwner, schemaToIR, setPropAtPath, summarizeOrbital, summarizeSchema, tensorLastDimSize, tensorShape, traitDeclaresConfigForward, validateContract };
|
package/dist/index.js
CHANGED
|
@@ -1179,7 +1179,9 @@ var OrbitalPageStrictSchema = z.object({
|
|
|
1179
1179
|
path: z.string().min(1, "Page path is required").startsWith("/", "Path must start with /"),
|
|
1180
1180
|
primaryEntity: z.string().min(1, "Primary entity is required"),
|
|
1181
1181
|
traits: z.array(PageTraitRefSchema).min(1, "Page must have at least one trait"),
|
|
1182
|
-
title: z.string().optional()
|
|
1182
|
+
title: z.string().optional(),
|
|
1183
|
+
icon: z.string().optional(),
|
|
1184
|
+
label: z.string().optional()
|
|
1183
1185
|
}).strict();
|
|
1184
1186
|
var OrbitalPageSchema = z.object({
|
|
1185
1187
|
id: PageIdSchema.optional(),
|
|
@@ -1189,7 +1191,9 @@ var OrbitalPageSchema = z.object({
|
|
|
1189
1191
|
title: z.string().optional(),
|
|
1190
1192
|
primaryEntity: z.string().optional(),
|
|
1191
1193
|
traits: z.array(PageTraitRefSchema).optional(),
|
|
1192
|
-
isInitial: z.boolean().optional()
|
|
1194
|
+
isInitial: z.boolean().optional(),
|
|
1195
|
+
icon: z.string().optional(),
|
|
1196
|
+
label: z.string().optional()
|
|
1193
1197
|
}).strict();
|
|
1194
1198
|
var PageSchema = OrbitalPageSchema;
|
|
1195
1199
|
var DomainCategorySchema = z.enum([
|
|
@@ -1701,6 +1705,23 @@ var UseDeclarationSchema = z.object({
|
|
|
1701
1705
|
'Alias must be PascalCase (e.g., "Health", "GameCore")'
|
|
1702
1706
|
)
|
|
1703
1707
|
});
|
|
1708
|
+
var ExpectDeclarationSchema = z.discriminatedUnion("kind", [
|
|
1709
|
+
z.object({
|
|
1710
|
+
kind: z.literal("identity"),
|
|
1711
|
+
name: z.string().optional(),
|
|
1712
|
+
shape: z.array(EntityFieldSchema).optional()
|
|
1713
|
+
}),
|
|
1714
|
+
z.object({
|
|
1715
|
+
kind: z.literal("entity"),
|
|
1716
|
+
name: z.string().min(1, "Expected entity name is required"),
|
|
1717
|
+
shape: z.array(EntityFieldSchema).optional()
|
|
1718
|
+
}),
|
|
1719
|
+
z.object({
|
|
1720
|
+
kind: z.literal("event"),
|
|
1721
|
+
traitName: z.string().min(1, "Expected event trait name is required"),
|
|
1722
|
+
event: z.string().min(1, "Expected event name is required")
|
|
1723
|
+
})
|
|
1724
|
+
]);
|
|
1704
1725
|
function isEntityReference(entity) {
|
|
1705
1726
|
return typeof entity === "string";
|
|
1706
1727
|
}
|
|
@@ -1826,6 +1847,8 @@ var OrbitalDefinitionSchema = z.object({
|
|
|
1826
1847
|
visual_prompt: z.string().optional(),
|
|
1827
1848
|
// Import system
|
|
1828
1849
|
uses: z.array(UseDeclarationSchema).optional(),
|
|
1850
|
+
// Consumer-side requirement declarations (`.lolo` `expects ...`)
|
|
1851
|
+
expects: z.array(ExpectDeclarationSchema).optional(),
|
|
1829
1852
|
// Theme & Services
|
|
1830
1853
|
theme: ThemeRefSchema.optional(),
|
|
1831
1854
|
services: z.array(ServiceRefSchema).optional(),
|
|
@@ -2190,7 +2213,7 @@ function getInteractionModelForDomain(domain) {
|
|
|
2190
2213
|
// src/patterns/patterns-registry.json
|
|
2191
2214
|
var patterns_registry_default = {
|
|
2192
2215
|
version: "1.0.0",
|
|
2193
|
-
exportedAt: "2026-08-
|
|
2216
|
+
exportedAt: "2026-08-05T01:21:57.163Z",
|
|
2194
2217
|
patterns: {
|
|
2195
2218
|
"entity-table": {
|
|
2196
2219
|
type: "entity-table",
|
|
@@ -45613,7 +45636,7 @@ var integrators_registry_default = {
|
|
|
45613
45636
|
// src/patterns/component-mapping.json
|
|
45614
45637
|
var component_mapping_default = {
|
|
45615
45638
|
version: "1.0.0",
|
|
45616
|
-
exportedAt: "2026-08-
|
|
45639
|
+
exportedAt: "2026-08-05T01:21:57.163Z",
|
|
45617
45640
|
mappings: {
|
|
45618
45641
|
"page-header": {
|
|
45619
45642
|
component: "PageHeader",
|
|
@@ -47008,7 +47031,7 @@ var component_mapping_default = {
|
|
|
47008
47031
|
// src/patterns/event-contracts.json
|
|
47009
47032
|
var event_contracts_default = {
|
|
47010
47033
|
version: "1.0.0",
|
|
47011
|
-
exportedAt: "2026-08-
|
|
47034
|
+
exportedAt: "2026-08-05T01:21:57.163Z",
|
|
47012
47035
|
contracts: {
|
|
47013
47036
|
form: {
|
|
47014
47037
|
emits: [
|
|
@@ -48109,6 +48132,13 @@ var event_contracts_default = {
|
|
|
48109
48132
|
},
|
|
48110
48133
|
"code-runner-panel": {
|
|
48111
48134
|
emits: [
|
|
48135
|
+
{
|
|
48136
|
+
event: "COPY_CODE",
|
|
48137
|
+
trigger: "action",
|
|
48138
|
+
payload: {
|
|
48139
|
+
type: "object"
|
|
48140
|
+
}
|
|
48141
|
+
},
|
|
48112
48142
|
{
|
|
48113
48143
|
event: "RUN_CODE",
|
|
48114
48144
|
trigger: "action",
|
|
@@ -52189,6 +52219,222 @@ function entityAccessPolicies(schema, entityName) {
|
|
|
52189
52219
|
return entityAccessTable(schema).get(entityName);
|
|
52190
52220
|
}
|
|
52191
52221
|
|
|
52222
|
+
// src/derive-expectations.ts
|
|
52223
|
+
function inlineEntitiesOf(orbital) {
|
|
52224
|
+
const out = [];
|
|
52225
|
+
const refs = [orbital.entity, ...orbital.auxiliaryEntities ?? []];
|
|
52226
|
+
for (const ref2 of refs) {
|
|
52227
|
+
if (typeof ref2 === "object" && ref2 !== null && "fields" in ref2) {
|
|
52228
|
+
out.push(ref2);
|
|
52229
|
+
}
|
|
52230
|
+
}
|
|
52231
|
+
return out;
|
|
52232
|
+
}
|
|
52233
|
+
function walkSExprData(node, visit) {
|
|
52234
|
+
visit(node);
|
|
52235
|
+
if (node === null || typeof node !== "object") return;
|
|
52236
|
+
const children = Array.isArray(node) ? node : Object.values(node);
|
|
52237
|
+
for (const child of children) walkSExprData(child, visit);
|
|
52238
|
+
}
|
|
52239
|
+
function collectPersistPayloadKeys(data, out) {
|
|
52240
|
+
if (Array.isArray(data)) {
|
|
52241
|
+
for (const child of data) collectPersistPayloadKeys(child, out);
|
|
52242
|
+
return;
|
|
52243
|
+
}
|
|
52244
|
+
if (data !== null && typeof data === "object") {
|
|
52245
|
+
for (const key of Object.keys(data)) out.add(key);
|
|
52246
|
+
}
|
|
52247
|
+
}
|
|
52248
|
+
function isPlainString(value) {
|
|
52249
|
+
return typeof value === "string" && !value.startsWith("@");
|
|
52250
|
+
}
|
|
52251
|
+
function deriveExpectations(schema, orbitalName) {
|
|
52252
|
+
const diagnostics = [];
|
|
52253
|
+
const orbital = schema.orbitals.find((o) => o.name === orbitalName);
|
|
52254
|
+
if (orbital === void 0) {
|
|
52255
|
+
return { expectations: [], diagnostics: [{ kind: "unknown-orbital", orbital: orbitalName }] };
|
|
52256
|
+
}
|
|
52257
|
+
const ownerByEntity = /* @__PURE__ */ new Map();
|
|
52258
|
+
const defByEntity = /* @__PURE__ */ new Map();
|
|
52259
|
+
let identityDef;
|
|
52260
|
+
for (const o of schema.orbitals) {
|
|
52261
|
+
for (const def of inlineEntitiesOf(o)) {
|
|
52262
|
+
if (!ownerByEntity.has(def.name)) {
|
|
52263
|
+
ownerByEntity.set(def.name, o.name);
|
|
52264
|
+
defByEntity.set(def.name, def);
|
|
52265
|
+
}
|
|
52266
|
+
if (def.identity === true && identityDef === void 0) identityDef = def;
|
|
52267
|
+
}
|
|
52268
|
+
}
|
|
52269
|
+
const ownDefs = inlineEntitiesOf(orbital);
|
|
52270
|
+
const ownEntityNames = new Set(ownDefs.map((d) => d.name));
|
|
52271
|
+
const userFields = /* @__PURE__ */ new Set();
|
|
52272
|
+
const entityRefs = /* @__PURE__ */ new Map();
|
|
52273
|
+
const addEntityRef = (name, field) => {
|
|
52274
|
+
if (ownEntityNames.has(name)) return;
|
|
52275
|
+
const owner = ownerByEntity.get(name);
|
|
52276
|
+
if (owner === void 0 || owner === orbitalName) return;
|
|
52277
|
+
let fields = entityRefs.get(name);
|
|
52278
|
+
if (fields === void 0) {
|
|
52279
|
+
fields = /* @__PURE__ */ new Set();
|
|
52280
|
+
entityRefs.set(name, fields);
|
|
52281
|
+
}
|
|
52282
|
+
if (field !== void 0) fields.add(field);
|
|
52283
|
+
};
|
|
52284
|
+
const visitExpr = (node) => {
|
|
52285
|
+
if (typeof node === "string") {
|
|
52286
|
+
const parsed = node.startsWith("@") ? parseBinding(node) : null;
|
|
52287
|
+
if (parsed === null) return;
|
|
52288
|
+
if (parsed.root === "user") {
|
|
52289
|
+
if (parsed.path.length > 0) userFields.add(parsed.path[0]);
|
|
52290
|
+
return;
|
|
52291
|
+
}
|
|
52292
|
+
if (parsed.root === "entity" && parsed.path.length >= 2) {
|
|
52293
|
+
const relName = parsed.path[0];
|
|
52294
|
+
for (const def of ownDefs) {
|
|
52295
|
+
const rel = (def.fields ?? []).find(
|
|
52296
|
+
(f) => f.name === relName && f.type === "relation"
|
|
52297
|
+
);
|
|
52298
|
+
if (rel !== void 0 && rel.type === "relation") {
|
|
52299
|
+
addEntityRef(rel.relation.entity, parsed.path[1]);
|
|
52300
|
+
}
|
|
52301
|
+
}
|
|
52302
|
+
return;
|
|
52303
|
+
}
|
|
52304
|
+
if (parsed.type === "entity") {
|
|
52305
|
+
addEntityRef(parsed.root, parsed.path[0]);
|
|
52306
|
+
}
|
|
52307
|
+
return;
|
|
52308
|
+
}
|
|
52309
|
+
if (Array.isArray(node) && node.length > 0 && node[0] === "persist") {
|
|
52310
|
+
const target = node[2];
|
|
52311
|
+
if (target !== void 0 && isPlainString(target)) {
|
|
52312
|
+
addEntityRef(target);
|
|
52313
|
+
const data = node[3];
|
|
52314
|
+
if (data !== void 0 && typeof data !== "string") {
|
|
52315
|
+
const keys = /* @__PURE__ */ new Set();
|
|
52316
|
+
collectPersistPayloadKeys(data, keys);
|
|
52317
|
+
for (const key of keys) addEntityRef(target, key);
|
|
52318
|
+
}
|
|
52319
|
+
}
|
|
52320
|
+
return;
|
|
52321
|
+
}
|
|
52322
|
+
if (Array.isArray(node) && node.length > 0 && node[0] === "fetch") {
|
|
52323
|
+
const target = node[1];
|
|
52324
|
+
if (target !== void 0 && isPlainString(target)) {
|
|
52325
|
+
addEntityRef(target);
|
|
52326
|
+
const options = node[2];
|
|
52327
|
+
if (options !== void 0 && !Array.isArray(options) && typeof options === "object" && options !== null) {
|
|
52328
|
+
const include = options["include"];
|
|
52329
|
+
if (Array.isArray(include)) {
|
|
52330
|
+
for (const item of include) {
|
|
52331
|
+
if (typeof item === "string") addEntityRef(target, item);
|
|
52332
|
+
}
|
|
52333
|
+
}
|
|
52334
|
+
}
|
|
52335
|
+
}
|
|
52336
|
+
}
|
|
52337
|
+
};
|
|
52338
|
+
const walk = (expr) => {
|
|
52339
|
+
if (expr === null || expr === void 0) return;
|
|
52340
|
+
walkSExprData(expr, visitExpr);
|
|
52341
|
+
};
|
|
52342
|
+
const walkConfig = (config) => {
|
|
52343
|
+
if (config === void 0) return;
|
|
52344
|
+
for (const entry of Object.values(config)) {
|
|
52345
|
+
const value = isCallSiteConfigDeclaration(entry) ? entry.default : entry;
|
|
52346
|
+
if (value !== void 0) walkSExprData(value, visitExpr);
|
|
52347
|
+
}
|
|
52348
|
+
};
|
|
52349
|
+
for (const def of ownDefs) {
|
|
52350
|
+
walk(def.read_policy);
|
|
52351
|
+
walk(def.create_policy);
|
|
52352
|
+
walk(def.update_policy);
|
|
52353
|
+
walk(def.delete_policy);
|
|
52354
|
+
}
|
|
52355
|
+
for (const def of ownDefs) {
|
|
52356
|
+
for (const field of def.fields ?? []) {
|
|
52357
|
+
if (field.type === "relation" && field.name !== void 0) {
|
|
52358
|
+
addEntityRef(field.relation.entity);
|
|
52359
|
+
}
|
|
52360
|
+
}
|
|
52361
|
+
}
|
|
52362
|
+
const walkTraitRef = (t) => {
|
|
52363
|
+
if (typeof t === "string") return;
|
|
52364
|
+
if (!isInlineTrait(t)) {
|
|
52365
|
+
if (t.linkedEntity !== void 0) addEntityRef(t.linkedEntity);
|
|
52366
|
+
walkConfig(t.config);
|
|
52367
|
+
return;
|
|
52368
|
+
}
|
|
52369
|
+
if (t.linkedEntity !== void 0) addEntityRef(t.linkedEntity);
|
|
52370
|
+
walkConfig(t.config);
|
|
52371
|
+
const sm = t.stateMachine;
|
|
52372
|
+
if (sm !== void 0) {
|
|
52373
|
+
for (const g of sm.guards ?? []) walk(g.expression);
|
|
52374
|
+
for (const tr of sm.transitions) {
|
|
52375
|
+
walk(tr.guard);
|
|
52376
|
+
for (const eff of tr.effects ?? []) walk(eff);
|
|
52377
|
+
}
|
|
52378
|
+
}
|
|
52379
|
+
for (const eff of t.initialEffects ?? []) walk(eff);
|
|
52380
|
+
for (const tick of t.ticks ?? []) {
|
|
52381
|
+
walk(tick.guard);
|
|
52382
|
+
for (const eff of tick.effects) walk(eff);
|
|
52383
|
+
}
|
|
52384
|
+
for (const listener of t.listens ?? []) {
|
|
52385
|
+
walk(listener.guard);
|
|
52386
|
+
for (const value of Object.values(listener.payloadMapping ?? {})) walk(value);
|
|
52387
|
+
}
|
|
52388
|
+
};
|
|
52389
|
+
for (const t of orbital.traits) walkTraitRef(t);
|
|
52390
|
+
const expectations = [];
|
|
52391
|
+
if (userFields.size > 0) {
|
|
52392
|
+
const shape = [];
|
|
52393
|
+
for (const field of [...userFields].sort()) {
|
|
52394
|
+
const declared = identityDef?.fields.find((f) => f.name === field);
|
|
52395
|
+
if (declared !== void 0) {
|
|
52396
|
+
shape.push({ ...declared });
|
|
52397
|
+
} else {
|
|
52398
|
+
diagnostics.push({
|
|
52399
|
+
kind: "identity-field-not-declared",
|
|
52400
|
+
orbital: orbitalName,
|
|
52401
|
+
entity: identityDef?.name,
|
|
52402
|
+
field
|
|
52403
|
+
});
|
|
52404
|
+
}
|
|
52405
|
+
}
|
|
52406
|
+
expectations.push({
|
|
52407
|
+
kind: "identity",
|
|
52408
|
+
...identityDef !== void 0 ? { name: identityDef.name } : {},
|
|
52409
|
+
...shape.length > 0 ? { shape } : {}
|
|
52410
|
+
});
|
|
52411
|
+
}
|
|
52412
|
+
for (const name of [...entityRefs.keys()].sort()) {
|
|
52413
|
+
const referenced = entityRefs.get(name) ?? /* @__PURE__ */ new Set();
|
|
52414
|
+
const provider = defByEntity.get(name);
|
|
52415
|
+
const shape = [];
|
|
52416
|
+
for (const field of [...referenced].sort()) {
|
|
52417
|
+
const declared = provider?.fields.find((f) => f.name === field);
|
|
52418
|
+
if (declared !== void 0) {
|
|
52419
|
+
shape.push({ ...declared });
|
|
52420
|
+
} else {
|
|
52421
|
+
diagnostics.push({
|
|
52422
|
+
kind: "entity-field-not-declared",
|
|
52423
|
+
orbital: orbitalName,
|
|
52424
|
+
entity: name,
|
|
52425
|
+
field
|
|
52426
|
+
});
|
|
52427
|
+
}
|
|
52428
|
+
}
|
|
52429
|
+
expectations.push({
|
|
52430
|
+
kind: "entity",
|
|
52431
|
+
name,
|
|
52432
|
+
...shape.length > 0 ? { shape } : {}
|
|
52433
|
+
});
|
|
52434
|
+
}
|
|
52435
|
+
return { expectations, diagnostics };
|
|
52436
|
+
}
|
|
52437
|
+
|
|
52192
52438
|
// src/shared-entity/merge.ts
|
|
52193
52439
|
function mergeEntityFrame(current, orderedWrites) {
|
|
52194
52440
|
if (orderedWrites.length === 0) return current;
|
|
@@ -52199,6 +52445,6 @@ function mergeEntityFrame(current, orderedWrites) {
|
|
|
52199
52445
|
return next;
|
|
52200
52446
|
}
|
|
52201
52447
|
|
|
52202
|
-
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EVENT_CONTRACTS, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_REGISTRY, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RENDER_BINDING_MARKER, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, SExprSchema, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TraitUIBindingSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, containsEntityBinding, containsPayloadBinding, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, entityAccessPolicies, entityAccessTable, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, extractPayloadFieldRef, findCompatiblePatterns, findPersonaInRoster, findService, fingerprintNode, formatRecommendationsForPrompt, gatherTensorLastDim, generatePatternDescription, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getComponentForPattern, getDefaultAnimationsForRole, getEmittedEvents, getEntity, getEntityCardinality, getInteractionModelForDomain, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, isContentMainWriter, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEmailValue, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMainSlotRenderUi, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isRenderBindingMarker, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isTensorValue, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mapTensorLastDim, mergeEntityFrame, mintId, navigate, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, recommendPatterns, reduceToOwners, ref, registry, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolveContentOwners, resolveDefaultViewer, resolvePageContentOwner, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, traitDeclaresConfigForward, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
|
|
52448
|
+
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EVENT_CONTRACTS, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpectDeclarationSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_REGISTRY, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RENDER_BINDING_MARKER, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, SExprSchema, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TraitUIBindingSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, containsEntityBinding, containsPayloadBinding, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveExpectations, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, entityAccessPolicies, entityAccessTable, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, extractPayloadFieldRef, findCompatiblePatterns, findPersonaInRoster, findService, fingerprintNode, formatRecommendationsForPrompt, gatherTensorLastDim, generatePatternDescription, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getComponentForPattern, getDefaultAnimationsForRole, getEmittedEvents, getEntity, getEntityCardinality, getInteractionModelForDomain, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, isContentMainWriter, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEmailValue, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMainSlotRenderUi, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isRenderBindingMarker, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isTensorValue, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mapTensorLastDim, mergeEntityFrame, mintId, navigate, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, recommendPatterns, reduceToOwners, ref, registry, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolveContentOwners, resolveDefaultViewer, resolvePageContentOwner, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, traitDeclaresConfigForward, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
|
|
52203
52449
|
//# sourceMappingURL=index.js.map
|
|
52204
52450
|
//# sourceMappingURL=index.js.map
|