@almadar/core 10.49.0 → 10.51.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 +3 -3
- package/dist/builders.js +13 -3
- package/dist/builders.js.map +1 -1
- package/dist/{effect-DjMRX8sI.d.ts → effect-CqTo1gAF.d.ts} +79 -13
- package/dist/{entityAccess-dYpx6Ipw.d.ts → entityAccess-3QD5qbqw.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +13 -3
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +72 -11
- package/dist/index.js +175 -8
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +12 -5
- package/dist/mock/index.js +21 -5
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +112 -7
- package/dist/patterns/index.js +67 -5
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +39 -2
- package/dist/patterns/registry.json +39 -2
- package/dist/{schema-1bzTH92n.d.ts → schema-h6xcymfn.d.ts} +99 -99
- package/dist/{trait-DkMVtmED.d.ts → trait-CnbGhs6A.d.ts} +31 -23
- package/dist/types/index.d.ts +25 -8
- package/dist/types/index.js +17 -4
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CUdqUyzi.d.ts → types-jWqiZC2S.d.ts} +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { a as OrbitalDefinition, O as OrbitalSchema } from './schema-
|
|
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
|
|
1
|
+
import { a as OrbitalDefinition, O as OrbitalSchema, d as OrbitalPage } from './schema-h6xcymfn.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 NodeClassification, aI as NodeClassificationSchema, a8 as Orbital, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, b as Page, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b0 as PageTraitRef, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, be as ThemeDefinition, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from './schema-h6xcymfn.js';
|
|
3
|
+
import { F as FieldValue, f as EntityRow } from './effect-CqTo1gAF.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-CqTo1gAF.js';
|
|
5
5
|
import { T as ToolArgs, J as JsonValue, S as SExpr, a as EventPayload, R as RuntimeValue } from './expression-Yf7qvvOs.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-Yf7qvvOs.js';
|
|
7
7
|
import { ResolvedIR, ResolvedEntity, ResolvedPage, ResolvedTrait, ChangesetValue, SchemaChange, CategorizedRemovals, PageContentReduction, SemanticSchemaChange } from './types/index.js';
|
|
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, 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-
|
|
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-CnbGhs6A.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-CnbGhs6A.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-jWqiZC2S.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
|
-
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, 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';
|
|
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-3QD5qbqw.js';
|
|
17
17
|
import 'zod';
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -465,6 +465,67 @@ declare function traitDeclaresConfigForward(trait: Trait | undefined | null): bo
|
|
|
465
465
|
*/
|
|
466
466
|
declare function buildResolvedTraitConfigs(schema: OrbitalSchema | undefined | null): Record<string, TraitConfig>;
|
|
467
467
|
|
|
468
|
+
/** Which trait owns a page's content region, and how that was established. */
|
|
469
|
+
type PageContentOwner = {
|
|
470
|
+
readonly kind: 'channel';
|
|
471
|
+
readonly trait: string;
|
|
472
|
+
} | {
|
|
473
|
+
readonly kind: 'sole-writer';
|
|
474
|
+
readonly trait: string;
|
|
475
|
+
} | {
|
|
476
|
+
readonly kind: 'ambiguous';
|
|
477
|
+
readonly candidates: readonly string[];
|
|
478
|
+
} | {
|
|
479
|
+
readonly kind: 'none';
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* True when the trait paints a content-grade body into `main` anywhere in its
|
|
483
|
+
* transition / tick / initial effects. The content-grade classification itself
|
|
484
|
+
* stays in `./patterns/content-grade.js` — single owner, no local lists.
|
|
485
|
+
*/
|
|
486
|
+
declare function isContentMainWriter(trait: Trait): boolean;
|
|
487
|
+
/**
|
|
488
|
+
* Reduce a candidate set to the trait(s) that actually own the region, using
|
|
489
|
+
* the two DIFFERENT relations a trait graph carries:
|
|
490
|
+
*
|
|
491
|
+
* - **designation** (config slots — `contentTrait`, `idleContent`): "my body
|
|
492
|
+
* is X". A designator is never the body, so the DEEPER link wins. This is
|
|
493
|
+
* the shell → search → catalog chain.
|
|
494
|
+
* - **containment** (a `@trait.X` in render effects): "X is part of what I
|
|
495
|
+
* paint". A contained trait is never a rival, so the OUTER one wins. This
|
|
496
|
+
* is the catalog → browse → materialised `DataGrid1`/`DenseTableView`/
|
|
497
|
+
* `MasterListView` views that `orbital resolve` promotes to page level.
|
|
498
|
+
*
|
|
499
|
+
* Collapsing the two — testing containment with the config map, or ancestry
|
|
500
|
+
* with the embed map — makes an ordinary browse page resolve `ambiguous`, and
|
|
501
|
+
* a check gated on having an owner then reports nothing at all while looking
|
|
502
|
+
* perfectly healthy.
|
|
503
|
+
*
|
|
504
|
+
* Exported so a caller that already HAS an owner (`unclaimed-main-writer`)
|
|
505
|
+
* can ask "is THIS other candidate actually a rival, or just this owner's
|
|
506
|
+
* ancestor/descendant along the same designation-or-containment graph" —
|
|
507
|
+
* `reduceToOwners(new Set([owner, candidate]), ...).length === 1` means
|
|
508
|
+
* related, not a second writer. One algorithm, not a second copy of it.
|
|
509
|
+
*/
|
|
510
|
+
declare function reduceToOwners(candidates: ReadonlySet<string>, configAdjacency: ReadonlyMap<string, ReadonlySet<string>>, embedAdjacency: ReadonlyMap<string, ReadonlySet<string>>): string[];
|
|
511
|
+
/**
|
|
512
|
+
* Resolve the content owner of one page.
|
|
513
|
+
*
|
|
514
|
+
* @param page the page declaration
|
|
515
|
+
* @param traits every trait in the orbital, by name
|
|
516
|
+
* @param configAdjacency `collectTraitConfigRefAdjacency(orbital)` — the
|
|
517
|
+
* content channel, i.e. `@trait.X` references appearing in
|
|
518
|
+
* trait CONFIG (not state machines). Passed in rather than
|
|
519
|
+
* recomputed so a caller walking many pages builds it once.
|
|
520
|
+
*/
|
|
521
|
+
declare function resolvePageContentOwner(page: OrbitalPage, traits: ReadonlyMap<string, Trait>, configAdjacency: ReadonlyMap<string, ReadonlySet<string>>, embedAdjacency?: ReadonlyMap<string, ReadonlySet<string>>): PageContentOwner;
|
|
522
|
+
/**
|
|
523
|
+
* Every page's content owner in one orbital, keyed by page path. Convenience
|
|
524
|
+
* for consumers that need the whole map; the per-page resolver stays exported
|
|
525
|
+
* so a caller can ask about one page without walking the orbital.
|
|
526
|
+
*/
|
|
527
|
+
declare function resolveContentOwners(orbital: OrbitalDefinition, traits: ReadonlyMap<string, Trait>, configAdjacency: ReadonlyMap<string, ReadonlySet<string>>): ReadonlyMap<string, PageContentOwner>;
|
|
528
|
+
|
|
468
529
|
/**
|
|
469
530
|
* Listen-route payload mapping — the `with { field: <expr> }` clause.
|
|
470
531
|
*
|
|
@@ -782,4 +843,4 @@ type EntityFrameState = EntityRow;
|
|
|
782
843
|
*/
|
|
783
844
|
declare function mergeEntityFrame(current: EntityFrameState, orderedWrites: readonly EntityFieldWrite[]): EntityFrameState;
|
|
784
845
|
|
|
785
|
-
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, OrbitalSchema, 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, isDestructiveChange, isTensorValue, mapTensorLastDim, mergeEntityFrame, navigatePatternPath, removeChildAtPath, replaceChildAtPath, requiresConfirmation, schemaToIR, setPropAtPath, summarizeOrbital, summarizeSchema, tensorLastDimSize, tensorShape, traitDeclaresConfigForward, validateContract };
|
|
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 };
|
package/dist/index.js
CHANGED
|
@@ -347,8 +347,10 @@ var ASSET_ASPECTS = ["1:1", "16:9", "5:7", "8:1"];
|
|
|
347
347
|
var AssetAspectSchema = z.enum(ASSET_ASPECTS);
|
|
348
348
|
var ANIMATION_NAMES = ["idle", "walk", "attack", "hit", "death"];
|
|
349
349
|
var AnimationNameSchema = z.enum(ANIMATION_NAMES);
|
|
350
|
-
var SPRITE_DIRECTIONS = ["se", "sw"];
|
|
350
|
+
var SPRITE_DIRECTIONS = ["se", "sw", "ne", "nw"];
|
|
351
351
|
var SpriteDirectionSchema = z.enum(SPRITE_DIRECTIONS);
|
|
352
|
+
var SHEET_PROJECTIONS = ["iso", "front", "back", "top", "perspective"];
|
|
353
|
+
var SheetProjectionSchema = z.enum(SHEET_PROJECTIONS);
|
|
352
354
|
var AnimationDefSchema = z.object({
|
|
353
355
|
row: z.number().int().nonnegative(),
|
|
354
356
|
frames: z.number().int().positive(),
|
|
@@ -364,7 +366,14 @@ var SpriteSheetAtlasSchema = z.object({
|
|
|
364
366
|
rows: z.number().int().positive(),
|
|
365
367
|
directions: z.array(SpriteDirectionSchema),
|
|
366
368
|
sheets: z.record(SpriteDirectionSchema, z.string()),
|
|
367
|
-
animations: z.record(AnimationNameSchema, AnimationDefSchema)
|
|
369
|
+
animations: z.record(AnimationNameSchema, AnimationDefSchema),
|
|
370
|
+
projections: z.object({
|
|
371
|
+
iso: z.record(SpriteDirectionSchema, z.string()).optional(),
|
|
372
|
+
front: z.string().optional(),
|
|
373
|
+
back: z.string().optional(),
|
|
374
|
+
top: z.string().optional(),
|
|
375
|
+
perspective: z.string().optional()
|
|
376
|
+
}).optional()
|
|
368
377
|
});
|
|
369
378
|
var SubTextureSchema = z.object({
|
|
370
379
|
x: z.number().nonnegative(),
|
|
@@ -428,7 +437,8 @@ var CameraSchema = z.object({
|
|
|
428
437
|
target: ScenePosSchema.optional(),
|
|
429
438
|
zoom: z.number().optional(),
|
|
430
439
|
fov: z.number().optional(),
|
|
431
|
-
mode: CameraModeSchema.optional()
|
|
440
|
+
mode: CameraModeSchema.optional(),
|
|
441
|
+
azimuth: z.number().optional()
|
|
432
442
|
});
|
|
433
443
|
function createAssetKey(role, category) {
|
|
434
444
|
return `${role}:${category}`;
|
|
@@ -2059,6 +2069,9 @@ var DEFAULT_VIEWER = {
|
|
|
2059
2069
|
email: "viewer@example.com",
|
|
2060
2070
|
role: ""
|
|
2061
2071
|
};
|
|
2072
|
+
function resolveDefaultViewer(roster) {
|
|
2073
|
+
return roster.length > 0 ? roster[0] : DEFAULT_VIEWER;
|
|
2074
|
+
}
|
|
2062
2075
|
function findPersonaInRoster(roster, idOrRole) {
|
|
2063
2076
|
return roster.find((p) => p.id === idOrRole) ?? roster.find((p) => p.role === idOrRole);
|
|
2064
2077
|
}
|
|
@@ -2167,7 +2180,7 @@ function getInteractionModelForDomain(domain) {
|
|
|
2167
2180
|
// src/patterns/patterns-registry.json
|
|
2168
2181
|
var patterns_registry_default = {
|
|
2169
2182
|
version: "1.0.0",
|
|
2170
|
-
exportedAt: "2026-08-
|
|
2183
|
+
exportedAt: "2026-08-02T09:00:22.243Z",
|
|
2171
2184
|
patterns: {
|
|
2172
2185
|
"entity-table": {
|
|
2173
2186
|
type: "entity-table",
|
|
@@ -10757,6 +10770,11 @@ var patterns_registry_default = {
|
|
|
10757
10770
|
"string"
|
|
10758
10771
|
]
|
|
10759
10772
|
},
|
|
10773
|
+
url: {
|
|
10774
|
+
types: [
|
|
10775
|
+
"string"
|
|
10776
|
+
]
|
|
10777
|
+
},
|
|
10760
10778
|
variant: {
|
|
10761
10779
|
types: [
|
|
10762
10780
|
"string"
|
|
@@ -42101,7 +42119,13 @@ var patterns_registry_default = {
|
|
|
42101
42119
|
types: [
|
|
42102
42120
|
"string"
|
|
42103
42121
|
],
|
|
42104
|
-
description: "
|
|
42122
|
+
description: "Animation to play. 3D backend: a named GLB clip (matched case-insensitively). 2D painter: when `asset.atlas` resolves to a `SpriteSheetAtlas` manifest, the canonical row of that name (idle/walk/attack/hit/death) plays off the host paint clock; an explicit `frame` rect overrides."
|
|
42123
|
+
},
|
|
42124
|
+
loop: {
|
|
42125
|
+
types: [
|
|
42126
|
+
"boolean"
|
|
42127
|
+
],
|
|
42128
|
+
description: "Override the sheet row's loop flag. The paint clock is wall-time, so one-shot rows hold their final frame \u2014 preview pages set `true` to cycle attack/hit/death continuously."
|
|
42105
42129
|
},
|
|
42106
42130
|
flipX: {
|
|
42107
42131
|
types: [
|
|
@@ -42953,6 +42977,11 @@ var patterns_registry_default = {
|
|
|
42953
42977
|
"string"
|
|
42954
42978
|
]
|
|
42955
42979
|
},
|
|
42980
|
+
loop: {
|
|
42981
|
+
types: [
|
|
42982
|
+
"boolean"
|
|
42983
|
+
]
|
|
42984
|
+
},
|
|
42956
42985
|
flipX: {
|
|
42957
42986
|
types: [
|
|
42958
42987
|
"boolean"
|
|
@@ -44333,6 +44362,22 @@ var patterns_registry_default = {
|
|
|
44333
44362
|
}
|
|
44334
44363
|
}
|
|
44335
44364
|
},
|
|
44365
|
+
uvs: {
|
|
44366
|
+
types: [
|
|
44367
|
+
"array"
|
|
44368
|
+
],
|
|
44369
|
+
description: "`polyhedron` only: per-vertex `[u, v]` texture coordinates parallel to `vertices`, glTF convention (`v` grows DOWN from the image's top-left). Pairs with `material.map`.",
|
|
44370
|
+
items: {
|
|
44371
|
+
types: [
|
|
44372
|
+
"array"
|
|
44373
|
+
],
|
|
44374
|
+
items: {
|
|
44375
|
+
types: [
|
|
44376
|
+
"number"
|
|
44377
|
+
]
|
|
44378
|
+
}
|
|
44379
|
+
}
|
|
44380
|
+
},
|
|
44336
44381
|
skin: {
|
|
44337
44382
|
types: [
|
|
44338
44383
|
"object"
|
|
@@ -44494,6 +44539,11 @@ var patterns_registry_default = {
|
|
|
44494
44539
|
"back",
|
|
44495
44540
|
"double"
|
|
44496
44541
|
]
|
|
44542
|
+
},
|
|
44543
|
+
map: {
|
|
44544
|
+
types: [
|
|
44545
|
+
"string"
|
|
44546
|
+
]
|
|
44497
44547
|
}
|
|
44498
44548
|
}
|
|
44499
44549
|
},
|
|
@@ -45553,7 +45603,7 @@ var integrators_registry_default = {
|
|
|
45553
45603
|
// src/patterns/component-mapping.json
|
|
45554
45604
|
var component_mapping_default = {
|
|
45555
45605
|
version: "1.0.0",
|
|
45556
|
-
exportedAt: "2026-08-
|
|
45606
|
+
exportedAt: "2026-08-02T09:00:22.243Z",
|
|
45557
45607
|
mappings: {
|
|
45558
45608
|
"page-header": {
|
|
45559
45609
|
component: "PageHeader",
|
|
@@ -46948,7 +46998,7 @@ var component_mapping_default = {
|
|
|
46948
46998
|
// src/patterns/event-contracts.json
|
|
46949
46999
|
var event_contracts_default = {
|
|
46950
47000
|
version: "1.0.0",
|
|
46951
|
-
exportedAt: "2026-08-
|
|
47001
|
+
exportedAt: "2026-08-02T09:00:22.243Z",
|
|
46952
47002
|
contracts: {
|
|
46953
47003
|
form: {
|
|
46954
47004
|
emits: [
|
|
@@ -48806,6 +48856,31 @@ function isEntityAwarePattern(patternType) {
|
|
|
48806
48856
|
if (!propsSchema) return false;
|
|
48807
48857
|
return "entity" in propsSchema;
|
|
48808
48858
|
}
|
|
48859
|
+
var EVENT_OUTLET_KINDS = /* @__PURE__ */ new Set(["event", "event-ref", "callback"]);
|
|
48860
|
+
var eventKeyPropsCache = /* @__PURE__ */ new Map();
|
|
48861
|
+
var eventListPropsCache = /* @__PURE__ */ new Map();
|
|
48862
|
+
function eventKeyPropsOf(patternType) {
|
|
48863
|
+
const cached = eventKeyPropsCache.get(patternType);
|
|
48864
|
+
if (cached) return cached;
|
|
48865
|
+
const propsSchema = getPatternDefinition(patternType)?.propsSchema;
|
|
48866
|
+
const out = /* @__PURE__ */ new Set();
|
|
48867
|
+
for (const [prop, def] of Object.entries(propsSchema ?? {})) {
|
|
48868
|
+
if (def.kind && EVENT_OUTLET_KINDS.has(def.kind)) out.add(prop);
|
|
48869
|
+
}
|
|
48870
|
+
eventKeyPropsCache.set(patternType, out);
|
|
48871
|
+
return out;
|
|
48872
|
+
}
|
|
48873
|
+
function eventListPropsOf(patternType) {
|
|
48874
|
+
const cached = eventListPropsCache.get(patternType);
|
|
48875
|
+
if (cached) return cached;
|
|
48876
|
+
const propsSchema = getPatternDefinition(patternType)?.propsSchema;
|
|
48877
|
+
const out = /* @__PURE__ */ new Map();
|
|
48878
|
+
for (const [prop, def] of Object.entries(propsSchema ?? {})) {
|
|
48879
|
+
if (def.kind === "event-list") out.set(prop, def.eventField ?? "event");
|
|
48880
|
+
}
|
|
48881
|
+
eventListPropsCache.set(patternType, out);
|
|
48882
|
+
return out;
|
|
48883
|
+
}
|
|
48809
48884
|
function isDrawablePattern(patternType) {
|
|
48810
48885
|
const definition = getPatternDefinition(patternType);
|
|
48811
48886
|
if (!definition) return false;
|
|
@@ -49707,6 +49782,98 @@ function buildResolvedTraitConfigs(schema) {
|
|
|
49707
49782
|
return map;
|
|
49708
49783
|
}
|
|
49709
49784
|
|
|
49785
|
+
// src/page-content-owner.ts
|
|
49786
|
+
function writesContentMain(effects) {
|
|
49787
|
+
const scan = (node) => {
|
|
49788
|
+
if (!Array.isArray(node)) return false;
|
|
49789
|
+
if (isMainSlotRenderUi(node)) return isContentBodyPattern(node[2]);
|
|
49790
|
+
return node.some(scan);
|
|
49791
|
+
};
|
|
49792
|
+
return (effects ?? []).some(scan);
|
|
49793
|
+
}
|
|
49794
|
+
function isContentMainWriter(trait) {
|
|
49795
|
+
return (trait.stateMachine?.transitions ?? []).some((transition) => writesContentMain(transition.effects)) || (trait.ticks ?? []).some((tick) => writesContentMain(tick.effects)) || writesContentMain(trait.initialEffects);
|
|
49796
|
+
}
|
|
49797
|
+
function reduceToOwners(candidates, configAdjacency, embedAdjacency) {
|
|
49798
|
+
const reach = (start, adjacency) => {
|
|
49799
|
+
const out = /* @__PURE__ */ new Set();
|
|
49800
|
+
const walk = [start];
|
|
49801
|
+
const seen = /* @__PURE__ */ new Set();
|
|
49802
|
+
while (walk.length > 0) {
|
|
49803
|
+
const from = walk.shift();
|
|
49804
|
+
if (from === void 0 || seen.has(from)) continue;
|
|
49805
|
+
seen.add(from);
|
|
49806
|
+
for (const target of adjacency.get(from) ?? []) {
|
|
49807
|
+
out.add(target);
|
|
49808
|
+
walk.push(target);
|
|
49809
|
+
}
|
|
49810
|
+
}
|
|
49811
|
+
return out;
|
|
49812
|
+
};
|
|
49813
|
+
const members = [...candidates];
|
|
49814
|
+
const dropped = /* @__PURE__ */ new Set();
|
|
49815
|
+
for (const a of members) {
|
|
49816
|
+
const designates = reach(a, configAdjacency);
|
|
49817
|
+
const contains = reach(a, embedAdjacency);
|
|
49818
|
+
for (const b of members) {
|
|
49819
|
+
if (a === b) continue;
|
|
49820
|
+
if (designates.has(b)) dropped.add(a);
|
|
49821
|
+
else if (contains.has(b)) dropped.add(b);
|
|
49822
|
+
}
|
|
49823
|
+
}
|
|
49824
|
+
return members.filter((name) => !dropped.has(name));
|
|
49825
|
+
}
|
|
49826
|
+
function resolvePageContentOwner(page, traits, configAdjacency, embedAdjacency = configAdjacency) {
|
|
49827
|
+
const declared = [];
|
|
49828
|
+
for (const ref2 of page.traits ?? []) {
|
|
49829
|
+
const name = typeof ref2 === "string" ? ref2 : ref2.ref;
|
|
49830
|
+
if (typeof name === "string" && name.length > 0) declared.push(name);
|
|
49831
|
+
}
|
|
49832
|
+
if (declared.length === 0) return { kind: "none" };
|
|
49833
|
+
const onPage = new Set(declared);
|
|
49834
|
+
const channel = /* @__PURE__ */ new Set();
|
|
49835
|
+
const seen = /* @__PURE__ */ new Set();
|
|
49836
|
+
const queue = declared.filter((name) => onPage.has(name));
|
|
49837
|
+
while (queue.length > 0) {
|
|
49838
|
+
const from = queue.shift();
|
|
49839
|
+
if (from === void 0 || seen.has(from)) continue;
|
|
49840
|
+
seen.add(from);
|
|
49841
|
+
for (const target of configAdjacency.get(from) ?? []) {
|
|
49842
|
+
const trait = traits.get(target);
|
|
49843
|
+
if (trait === void 0) continue;
|
|
49844
|
+
if (isContentMainWriter(trait)) channel.add(target);
|
|
49845
|
+
queue.push(target);
|
|
49846
|
+
}
|
|
49847
|
+
}
|
|
49848
|
+
const terminal = reduceToOwners(channel, configAdjacency, embedAdjacency);
|
|
49849
|
+
if (terminal.length === 1) {
|
|
49850
|
+
const [only] = terminal;
|
|
49851
|
+
if (only !== void 0) return { kind: "channel", trait: only };
|
|
49852
|
+
}
|
|
49853
|
+
if (terminal.length > 1) return { kind: "ambiguous", candidates: terminal.sort() };
|
|
49854
|
+
const writers = declared.filter((name) => {
|
|
49855
|
+
const trait = traits.get(name);
|
|
49856
|
+
return trait !== void 0 && isContentMainWriter(trait);
|
|
49857
|
+
});
|
|
49858
|
+
const distinct = reduceToOwners(new Set(writers), configAdjacency, embedAdjacency);
|
|
49859
|
+
if (distinct.length === 0) return { kind: "none" };
|
|
49860
|
+
if (distinct.length === 1) {
|
|
49861
|
+
const [only] = distinct;
|
|
49862
|
+
if (only !== void 0) return { kind: "sole-writer", trait: only };
|
|
49863
|
+
}
|
|
49864
|
+
return { kind: "ambiguous", candidates: distinct.sort() };
|
|
49865
|
+
}
|
|
49866
|
+
function resolveContentOwners(orbital, traits, configAdjacency) {
|
|
49867
|
+
const out = /* @__PURE__ */ new Map();
|
|
49868
|
+
for (const ref2 of orbital.pages ?? []) {
|
|
49869
|
+
if (isPageReference(ref2)) continue;
|
|
49870
|
+
const path = ref2.path;
|
|
49871
|
+
if (typeof path !== "string" || path.length === 0) continue;
|
|
49872
|
+
out.set(path, resolvePageContentOwner(ref2, traits, configAdjacency));
|
|
49873
|
+
}
|
|
49874
|
+
return out;
|
|
49875
|
+
}
|
|
49876
|
+
|
|
49710
49877
|
// src/listen-payload-mapping.ts
|
|
49711
49878
|
function applyListenPayloadMapping(payloadMapping, payload, evaluate) {
|
|
49712
49879
|
if (!payloadMapping || !payload) return payload;
|
|
@@ -52017,6 +52184,6 @@ function mergeEntityFrame(current, orderedWrites) {
|
|
|
52017
52184
|
return next;
|
|
52018
52185
|
}
|
|
52019
52186
|
|
|
52020
|
-
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, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, 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, 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, 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, ref, registry, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, traitDeclaresConfigForward, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
|
|
52187
|
+
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 };
|
|
52021
52188
|
//# sourceMappingURL=index.js.map
|
|
52022
52189
|
//# sourceMappingURL=index.js.map
|