@almadar/core 10.40.0 → 10.42.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 +596 -5
- package/dist/builders.js +2 -14
- package/dist/builders.js.map +1 -1
- package/dist/{effect-DQPFowvO.d.ts → effect-D4os99OL.d.ts} +1585 -5
- package/dist/factory/index.d.ts +5 -6
- package/dist/factory-runtime/index.d.ts +5 -5
- package/dist/factory-runtime/index.js +2 -14
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +34 -13
- package/dist/index.js +162 -19
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +32 -2
- package/dist/mock/index.js +31 -1
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +6 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +290 -8
- package/dist/patterns/index.js +130 -5
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +122 -3
- package/dist/patterns/registry.json +122 -3
- package/dist/{builders-Dw270YQh.d.ts → schema-C_lv_cta.d.ts} +1240 -851
- package/dist/{trait-C_TZnqb_.d.ts → trait-BQIlqUHC.d.ts} +134 -11
- package/dist/types/index.d.ts +23 -10
- package/dist/types/index.js +9 -14
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BUqLsSEN.d.ts → types-Bd_LX0j8.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/entity-DfD-iXkn.d.ts +0 -1572
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as OrbitalDefinition, O as OrbitalSchema } from './
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES,
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
1
|
+
import { a as OrbitalDefinition, O as OrbitalSchema } from './schema-C_lv_cta.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, L as DomainContext, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a7 as FullOrbitalUnit, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, a7 as Orbital, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, 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-C_lv_cta.js';
|
|
3
|
+
import { j as ToolArgs, J as JsonValue, F as FieldValue, f as EntityRow } from './effect-D4os99OL.js';
|
|
4
|
+
export { k as ANIMATION_NAMES, l as ASSET_ASPECTS, m as ASSET_DIMENSIONS, n as AgentEffect, o as AnimationDef, p as AnimationDefInput, q as AnimationDefSchema, r as AnimationName, s as AnimationNameSchema, A as AnyPatternConfig, t as ApplicationEffect, u as ArrayEntityField, v as Asset, w as AssetAspect, x as AssetAspectSchema, y as AssetCatalog, z as AssetCatalogEntry, B as AssetCatalogEntryInput, C as AssetCatalogEntrySchema, D as AssetCatalogSchema, G as AssetDimension, H as AssetDimensionSchema, K as AssetSchema, L as AssetUrl, M as AtomicEffect, N as BehaviorEffect, Q as CAMERA_MODES, V as CallServiceConfig, W as CallServiceEffect, X as Camera, Y as CameraMode, Z as CameraModeSchema, _ as CameraSchema, $ as CheckpointLoadEffect, a0 as CheckpointSaveEffect, a1 as ComposeEffect, a2 as DerefEffect, a3 as DespawnEffect, a4 as DoEffect, a5 as ENTITY_ROLES, c as Effect, a6 as EffectInput, a7 as EffectSchema, a8 as EmitConfig, a9 as EmitEffect, e as Entity, aa as EntityData, E as EntityField, ab as EntityFieldInput, ac as EntityFieldSchema, d as EntityId, ad as EntityIdSchema, a as EntityPersistence, ae as EntityPersistenceSchema, af as EntityRole, ag as EntityRoleSchema, ah as EntitySchema, ai as EntityWith, aj as EnumEntityField, ak as EvaluateConfig, al as EvaluateEffect, b as EventId, am as EventIdSchema, an as FIELD_TYPES, ao as FetchEffect, ap as FetchOptions, aq as FetchResult, ar as Field, as as FieldSchema, at as FieldType, au as FieldTypeSchema, av as ForwardConfig, aw as ForwardEffect, ax as IdForKind, ay as IdKind, I as IdentityLedger, az as IdentityLedgerSchema, aA as JsonObject, aB as LedgerEntry, aC as LedgerEntrySchema, aD as LedgerKind, aE as LedgerKindSchema, aF as LlmEffect, aG as LogEffect, aH as McpServiceDef, aI as McpServiceDefSchema, aJ as MemoryEffect, aK as NavigateEffect, aL as NnConfig, aM as NnLayer, aN as NotifyEffect, aO as ObjectEntityField, aP as OrbitalEntity, aQ as OrbitalEntityInput, aR as OrbitalEntitySchema, O as OrbitalId, aS as OrbitalIdSchema, aT as OsEffect, aU as PATTERN_TYPES, P as PageId, aV as PageIdSchema, aW as PaletteEntryId, aX as PaletteEntryIdSchema, aY as PatternConfig, aZ as PatternProps, a_ as PatternPropsMap, a$ as PatternType, b0 as PersistData, b1 as PersistEffect, b2 as PersistEmitConfig, b3 as RefEffect, R as RelationConfig, b4 as RelationConfigSchema, b5 as RelationEntityField, h as RenderBinding, b6 as RenderChildrenMap, b7 as RenderItemLambda, i as RenderUIEffect, b8 as RenderUINode, b9 as ResolvedPatternProps, ba as RestAuthConfig, bb as RestAuthConfigSchema, bc as RestServiceDef, bd as RestServiceDefSchema, be as SEMANTIC_STRING_TYPES, bf as SERVICE_TYPES, bg as SPRITE_DIRECTIONS, bh as ScalarEntityField, bi as ScenePos, bj as ScenePosSchema, bk as SemanticAssetRef, bl as SemanticAssetRefInput, bm as SemanticAssetRefSchema, bn as SemanticStringType, g as ServiceDefinition, bo as ServiceDefinitionSchema, bp as ServiceId, bq as ServiceIdSchema, br as ServiceParams, bs as ServiceParamsValue, S as ServiceRef, bt as ServiceRefObject, bu as ServiceRefObjectSchema, bv as ServiceRefSchema, bw as ServiceRefStringSchema, bx as ServiceType, by as ServiceTypeSchema, bz as SessionEffect, bA as SetEffect, 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 isJsonArray, cx as isJsonObject, cy as isJsonPrimitive, cz as isMcpService, cA as isOrbitalId, cB as isPageId, cC as isPaletteEntryId, cD as isPhoneValue, cE as isRestService, cF as isRuntimeEntity, cG as isSExprEffect, cH as isSemanticStringType, cI as isSemanticStringValue, cJ as isServiceId, cK as isServiceReference, cL as isServiceReferenceObject, cM as isSocketService, cN as isThemeId, cO as isTraitId, cP as isUrlValue, cQ as isUuidValue, cR as isValidPatternType, cS as ledgerCurName, cT as ledgerRename, cU as ledgerResolveName, cV as mintId, cW as navigate, cX as notify, cY as parseAssetKey, cZ as parseServiceRef, c_ as persist, c$ as persistenceModeAllowsOverrides, d0 as ref, d1 as renderUI, d2 as set, d3 as spawn, d4 as swap, d5 as validateAssetAnimations, d6 as watch } from './effect-D4os99OL.js';
|
|
5
5
|
import { S as SExpr, a as EventPayload } from './expression-DpAj1RzP.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, L as LogMeta, g as LogMetaValue, P as ParsedBinding, h as SExprAtom, i as SExprAtomSchema, j as SExprInput, k as SExprSchema, l as collectBindings, m as getArgs, n as getOperator, o as isBinding, p as isEventPayloadValue, q as isSExpr, r as isSExprAtom, s as isSExprCall, t as isValidBinding, u as parseBinding, v as sexpr, w as walkSExpr } from './expression-DpAj1RzP.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, DEV_TOKEN_PREFIX, DeleteFlow, DispatchUpdatesResult, 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, LazyService, LineageEntry, ListInteraction, LivingEdge, LivingEffect, LivingEntity, LivingEvent, LivingField, LivingOrbital, LivingOrbitalSchema, LivingPage, LivingState, LivingTrait, LivingTransition, LivingValue, LivingVertex, LlmCallToolsResult, LlmContext, LlmMessage, LlmTokenUsage, LlmToolCall, LlmToolDef, LoloEmitResult, MOCK_PERSONAS, 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, RawUserClaims, 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, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, encodeDevIdentityToken, findMockPersona, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, normalizeUserContext, resolvePersonaSpec, toBindingRoot, validateBindingInContext, widenTier } from './types/index.js';
|
|
9
|
-
import {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
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-BUqLsSEN.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, 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, LazyService, LineageEntry, ListInteraction, LivingEdge, LivingEffect, LivingEntity, LivingEvent, LivingField, LivingOrbital, LivingOrbitalSchema, LivingPage, LivingState, LivingTrait, LivingTransition, LivingValue, LivingVertex, LlmCallToolsResult, LlmContext, LlmMessage, LlmTokenUsage, LlmToolCall, LlmToolDef, LoloEmitResult, MOCK_PERSONAS, 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, RawUserClaims, 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, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, encodeDevIdentityToken, findMockPersona, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, normalizeUserContext, resolvePersonaSpec, toBindingRoot, validateBindingInContext, widenTier } from './types/index.js';
|
|
9
|
+
import { b as TraitConfig, g as Trait, S as State } from './trait-BQIlqUHC.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 Transition, ae as TransitionInput, af as TransitionSchema, ag as configRefEventKnob, ah as getTraitConfig, ai as getTraitName, aj as isCallSiteConfigDeclaration, ak as isCircuitEvent, al as isInlineTrait, am as isReferenceConfigType, an as isSecretConfigType, ao as normalizeCallSiteConfigToValues, ap as normalizeTraitRef, aq as resolveConfigRefEventName } from './trait-BQIlqUHC.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-Bd_LX0j8.js';
|
|
13
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
|
+
export { ComposeBehaviorsInput, ComposeBehaviorsResult, EventWiringEntry, LayoutStrategy, applyEventWiring, composeBehaviors, detectLayoutStrategy } from './builders.js';
|
|
14
14
|
export { COMPONENT_MAPPING, EVENT_CONTRACTS, 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';
|
|
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
16
|
import 'zod';
|
|
@@ -408,9 +408,21 @@ declare function getTrait(ir: ResolvedIR, traitName: string): ResolvedTrait | un
|
|
|
408
408
|
|
|
409
409
|
/**
|
|
410
410
|
* Build the childTraitName → referrerTraitName map: for every trait whose
|
|
411
|
-
* config literally contains `@trait.X`, record `X -> thisTrait`.
|
|
412
|
-
*
|
|
413
|
-
*
|
|
411
|
+
* config literally contains `@trait.X`, record `X -> thisTrait`.
|
|
412
|
+
*
|
|
413
|
+
* **One referrer per embedded trait is an invariant, not a convenience.** The
|
|
414
|
+
* sibling-pull materialises a sub-view PER EMBEDDER on both paths
|
|
415
|
+
* (`orbital-compiler/src/phases/inline/trait.rs`, `@almadar/runtime`'s
|
|
416
|
+
* `ReferenceResolver.pullSiblingTraits`), so two embedders can never land on
|
|
417
|
+
* one child. That matters here because a child's `@config.X` forwards chain to
|
|
418
|
+
* its referrer: with two referrers only one call site's config could ever win,
|
|
419
|
+
* and the loser would render the other's columns. It equally matters to
|
|
420
|
+
* `useUISlots.updateTraitContent`, which is keyed by trait name — N embedders
|
|
421
|
+
* of one name means N renders of one frame.
|
|
422
|
+
*
|
|
423
|
+
* First referrer wins if the invariant is ever violated; the observable check
|
|
424
|
+
* lives in `@almadar-io/verify`'s wiring lint
|
|
425
|
+
* (`embedded-sibling-single-referrer`), which is the layer allowed to report.
|
|
414
426
|
*
|
|
415
427
|
* Safe to call on the resolved (post-inline) schema. Memoize by reference.
|
|
416
428
|
*/
|
|
@@ -435,6 +447,15 @@ declare function collectTraitEmbedAdjacency(orbital: OrbitalDefinition): Readonl
|
|
|
435
447
|
* that merely renders into the same slot.
|
|
436
448
|
*/
|
|
437
449
|
declare function collectTraitConfigRefAdjacency(orbital: OrbitalDefinition): ReadonlyMap<string, ReadonlySet<string>>;
|
|
450
|
+
/**
|
|
451
|
+
* True when a trait's own config declares at least one `@config.<key>` forward
|
|
452
|
+
* — i.e. part of what it renders is decided by whoever embeds it, resolved by
|
|
453
|
+
* {@link buildResolvedTraitConfigs} against that single referrer. Traits with
|
|
454
|
+
* no forward render identically regardless of embedder, which is what
|
|
455
|
+
* separates an inert shared chrome trait (one `Divider` embedded from two
|
|
456
|
+
* states) from a genuinely embedder-dependent one.
|
|
457
|
+
*/
|
|
458
|
+
declare function traitDeclaresConfigForward(trait: Trait | undefined | null): boolean;
|
|
438
459
|
/**
|
|
439
460
|
* Build the trait-name → resolved-`TraitConfig` map for a schema: each
|
|
440
461
|
* trait's raw call-site config, normalized to plain values, with any
|
|
@@ -760,4 +781,4 @@ type EntityFrameState = EntityRow;
|
|
|
760
781
|
*/
|
|
761
782
|
declare function mergeEntityFrame(current: EntityFrameState, orderedWrites: readonly EntityFieldWrite[]): EntityFrameState;
|
|
762
783
|
|
|
763
|
-
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, 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, 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, validateContract };
|
|
784
|
+
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, 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 };
|
package/dist/index.js
CHANGED
|
@@ -1078,19 +1078,7 @@ var TraitSchema = z.object({
|
|
|
1078
1078
|
});
|
|
1079
1079
|
var TraitRefSchema = z.union([
|
|
1080
1080
|
z.string().min(1),
|
|
1081
|
-
|
|
1082
|
-
ref: z.string().min(1),
|
|
1083
|
-
config: TraitConfigSchema.optional(),
|
|
1084
|
-
linkedEntity: z.string().optional(),
|
|
1085
|
-
name: z.string().optional(),
|
|
1086
|
-
// Phase F.4: same non-empty refine as TraitReferenceSchema.events.
|
|
1087
|
-
// Both schemas accept the same call-site argument shape, so the
|
|
1088
|
-
// validators should agree.
|
|
1089
|
-
events: z.record(
|
|
1090
|
-
z.string().min(1, "events key (atom event name) must be non-empty"),
|
|
1091
|
-
z.string().min(1, "events value (caller event name) must be non-empty")
|
|
1092
|
-
).optional()
|
|
1093
|
-
}),
|
|
1081
|
+
TraitReferenceSchema,
|
|
1094
1082
|
TraitSchema
|
|
1095
1083
|
// Allow inline trait definitions
|
|
1096
1084
|
]);
|
|
@@ -2005,6 +1993,12 @@ var MOCK_PERSONAS = [
|
|
|
2005
1993
|
{ id: "member-1", name: "Maya Member", email: "maya@example.com", role: "member", permissions: ["read"] },
|
|
2006
1994
|
{ id: "customer-1", name: "Cai Customer", email: "cai@example.com", role: "customer", permissions: ["read"] }
|
|
2007
1995
|
];
|
|
1996
|
+
var DEFAULT_VIEWER = {
|
|
1997
|
+
id: "viewer-1",
|
|
1998
|
+
name: "Dev Viewer",
|
|
1999
|
+
email: "viewer@example.com",
|
|
2000
|
+
role: ""
|
|
2001
|
+
};
|
|
2008
2002
|
function findMockPersona(idOrRole) {
|
|
2009
2003
|
return MOCK_PERSONAS.find((p) => p.id === idOrRole) ?? MOCK_PERSONAS.find((p) => p.role === idOrRole);
|
|
2010
2004
|
}
|
|
@@ -2112,7 +2106,7 @@ function getInteractionModelForDomain(domain) {
|
|
|
2112
2106
|
// src/patterns/patterns-registry.json
|
|
2113
2107
|
var patterns_registry_default = {
|
|
2114
2108
|
version: "1.0.0",
|
|
2115
|
-
exportedAt: "2026-07-
|
|
2109
|
+
exportedAt: "2026-07-28T16:34:50.202Z",
|
|
2116
2110
|
patterns: {
|
|
2117
2111
|
"entity-table": {
|
|
2118
2112
|
type: "entity-table",
|
|
@@ -20269,6 +20263,22 @@ var patterns_registry_default = {
|
|
|
20269
20263
|
description: 'Max items to show before "Show More" button. Defaults to 5. Set to 0 to disable.',
|
|
20270
20264
|
default: 5
|
|
20271
20265
|
},
|
|
20266
|
+
sortBy: {
|
|
20267
|
+
types: [
|
|
20268
|
+
"string"
|
|
20269
|
+
],
|
|
20270
|
+
description: "Field name to order rows by. Values are compared by their own type \u2014 numbers numerically, date-like strings chronologically, everything else alphabetically \u2014 never by what the field is called. Empty cells sort last. Unset leaves the incoming order untouched. Orders only the rows already fetched: a collection larger than its `limit` still needs ordering at the data layer."
|
|
20271
|
+
},
|
|
20272
|
+
sortDirection: {
|
|
20273
|
+
types: [
|
|
20274
|
+
"string"
|
|
20275
|
+
],
|
|
20276
|
+
description: "Direction for `sortBy`. Defaults to ascending.",
|
|
20277
|
+
enumValues: [
|
|
20278
|
+
"asc",
|
|
20279
|
+
"desc"
|
|
20280
|
+
]
|
|
20281
|
+
},
|
|
20272
20282
|
look: {
|
|
20273
20283
|
types: [
|
|
20274
20284
|
"string"
|
|
@@ -41319,7 +41329,8 @@ var patterns_registry_default = {
|
|
|
41319
41329
|
"cell",
|
|
41320
41330
|
"rect",
|
|
41321
41331
|
"ellipse",
|
|
41322
|
-
"poly"
|
|
41332
|
+
"poly",
|
|
41333
|
+
"path"
|
|
41323
41334
|
]
|
|
41324
41335
|
},
|
|
41325
41336
|
position: {
|
|
@@ -41404,6 +41415,12 @@ var patterns_registry_default = {
|
|
|
41404
41415
|
]
|
|
41405
41416
|
}
|
|
41406
41417
|
},
|
|
41418
|
+
d: {
|
|
41419
|
+
types: [
|
|
41420
|
+
"string"
|
|
41421
|
+
],
|
|
41422
|
+
description: "SVG path data in world units relative to the cell's projected top-left \u2014 same coordinate convention as `points`."
|
|
41423
|
+
},
|
|
41407
41424
|
fill: {
|
|
41408
41425
|
types: [
|
|
41409
41426
|
"string"
|
|
@@ -41804,7 +41821,8 @@ var patterns_registry_default = {
|
|
|
41804
41821
|
"cell",
|
|
41805
41822
|
"rect",
|
|
41806
41823
|
"ellipse",
|
|
41807
|
-
"poly"
|
|
41824
|
+
"poly",
|
|
41825
|
+
"path"
|
|
41808
41826
|
]
|
|
41809
41827
|
},
|
|
41810
41828
|
position: {
|
|
@@ -41879,6 +41897,11 @@ var patterns_registry_default = {
|
|
|
41879
41897
|
]
|
|
41880
41898
|
}
|
|
41881
41899
|
},
|
|
41900
|
+
d: {
|
|
41901
|
+
types: [
|
|
41902
|
+
"string"
|
|
41903
|
+
]
|
|
41904
|
+
},
|
|
41882
41905
|
fill: {
|
|
41883
41906
|
types: [
|
|
41884
41907
|
"string"
|
|
@@ -43025,6 +43048,96 @@ var patterns_registry_default = {
|
|
|
43025
43048
|
description: "Additional CSS classes"
|
|
43026
43049
|
}
|
|
43027
43050
|
}
|
|
43051
|
+
},
|
|
43052
|
+
"draw-group": {
|
|
43053
|
+
type: "draw-group",
|
|
43054
|
+
category: "game",
|
|
43055
|
+
tier: "atoms",
|
|
43056
|
+
family: "game",
|
|
43057
|
+
description: "DrawGroup component",
|
|
43058
|
+
suggestedFor: [
|
|
43059
|
+
"draw",
|
|
43060
|
+
"group",
|
|
43061
|
+
"draw group"
|
|
43062
|
+
],
|
|
43063
|
+
typicalSize: "small",
|
|
43064
|
+
propsSchema: {
|
|
43065
|
+
id: {
|
|
43066
|
+
types: [
|
|
43067
|
+
"string"
|
|
43068
|
+
],
|
|
43069
|
+
description: "Optional source-tagged hit-test handle \u2014 the host indexes the drawable's ScenePos\u2192id so a pointer/raycast at that cell resolves to this id (unit/entity click). No id \u2192 the host emits only the coordinate (tile click)."
|
|
43070
|
+
},
|
|
43071
|
+
type: {
|
|
43072
|
+
types: [
|
|
43073
|
+
"unknown"
|
|
43074
|
+
],
|
|
43075
|
+
description: "type prop",
|
|
43076
|
+
required: true
|
|
43077
|
+
},
|
|
43078
|
+
position: {
|
|
43079
|
+
types: [
|
|
43080
|
+
"object"
|
|
43081
|
+
],
|
|
43082
|
+
description: "Logical scene position; the projector maps it to pixels / world.",
|
|
43083
|
+
required: true,
|
|
43084
|
+
properties: {
|
|
43085
|
+
x: {
|
|
43086
|
+
types: [
|
|
43087
|
+
"number"
|
|
43088
|
+
]
|
|
43089
|
+
},
|
|
43090
|
+
y: {
|
|
43091
|
+
types: [
|
|
43092
|
+
"number"
|
|
43093
|
+
]
|
|
43094
|
+
},
|
|
43095
|
+
z: {
|
|
43096
|
+
types: [
|
|
43097
|
+
"number"
|
|
43098
|
+
]
|
|
43099
|
+
}
|
|
43100
|
+
},
|
|
43101
|
+
propertyRequired: [
|
|
43102
|
+
"x",
|
|
43103
|
+
"y"
|
|
43104
|
+
],
|
|
43105
|
+
scenePos: true
|
|
43106
|
+
},
|
|
43107
|
+
scale: {
|
|
43108
|
+
types: [
|
|
43109
|
+
"number"
|
|
43110
|
+
],
|
|
43111
|
+
description: "Uniform scale applied to the whole group."
|
|
43112
|
+
},
|
|
43113
|
+
rotate: {
|
|
43114
|
+
types: [
|
|
43115
|
+
"number"
|
|
43116
|
+
],
|
|
43117
|
+
description: "Rotation in radians (painter units)."
|
|
43118
|
+
},
|
|
43119
|
+
opacity: {
|
|
43120
|
+
types: [
|
|
43121
|
+
"number"
|
|
43122
|
+
],
|
|
43123
|
+
description: "0..1 opacity."
|
|
43124
|
+
},
|
|
43125
|
+
items: {
|
|
43126
|
+
types: [
|
|
43127
|
+
"array"
|
|
43128
|
+
],
|
|
43129
|
+
description: "The grouped drawables, painted through the normal dispatch.",
|
|
43130
|
+
required: true,
|
|
43131
|
+
items: {
|
|
43132
|
+
types: [
|
|
43133
|
+
"object"
|
|
43134
|
+
],
|
|
43135
|
+
drawableSlot: true
|
|
43136
|
+
}
|
|
43137
|
+
}
|
|
43138
|
+
},
|
|
43139
|
+
drawable: true,
|
|
43140
|
+
drawHost: true
|
|
43028
43141
|
}
|
|
43029
43142
|
},
|
|
43030
43143
|
categories: [
|
|
@@ -43946,7 +44059,7 @@ var integrators_registry_default = {
|
|
|
43946
44059
|
// src/patterns/component-mapping.json
|
|
43947
44060
|
var component_mapping_default = {
|
|
43948
44061
|
version: "1.0.0",
|
|
43949
|
-
exportedAt: "2026-07-
|
|
44062
|
+
exportedAt: "2026-07-28T16:34:50.202Z",
|
|
43950
44063
|
mappings: {
|
|
43951
44064
|
"page-header": {
|
|
43952
44065
|
component: "PageHeader",
|
|
@@ -45319,6 +45432,11 @@ var component_mapping_default = {
|
|
|
45319
45432
|
component: "ImportSourcePicker",
|
|
45320
45433
|
importPath: "@/components/core/molecules/ImportSourcePicker",
|
|
45321
45434
|
category: "component"
|
|
45435
|
+
},
|
|
45436
|
+
"draw-group": {
|
|
45437
|
+
component: "DrawGroup",
|
|
45438
|
+
importPath: "@/components/game/atoms/DrawGroup",
|
|
45439
|
+
category: "game"
|
|
45322
45440
|
}
|
|
45323
45441
|
}
|
|
45324
45442
|
};
|
|
@@ -45326,7 +45444,7 @@ var component_mapping_default = {
|
|
|
45326
45444
|
// src/patterns/event-contracts.json
|
|
45327
45445
|
var event_contracts_default = {
|
|
45328
45446
|
version: "1.0.0",
|
|
45329
|
-
exportedAt: "2026-07-
|
|
45447
|
+
exportedAt: "2026-07-28T16:34:50.202Z",
|
|
45330
45448
|
contracts: {
|
|
45331
45449
|
form: {
|
|
45332
45450
|
emits: [
|
|
@@ -46556,6 +46674,7 @@ var PATTERN_TYPES = [
|
|
|
46556
46674
|
"doc-sidebar",
|
|
46557
46675
|
"doc-toc",
|
|
46558
46676
|
"document-viewer",
|
|
46677
|
+
"draw-group",
|
|
46559
46678
|
"draw-shape",
|
|
46560
46679
|
"draw-shape-layer",
|
|
46561
46680
|
"draw-sprite",
|
|
@@ -47982,6 +48101,30 @@ function collectTraitConfigRefAdjacency(orbital) {
|
|
|
47982
48101
|
}
|
|
47983
48102
|
return out;
|
|
47984
48103
|
}
|
|
48104
|
+
function traitDeclaresConfigForward(trait) {
|
|
48105
|
+
const config = trait?.config;
|
|
48106
|
+
if (!config) return false;
|
|
48107
|
+
let found = false;
|
|
48108
|
+
const walk = (value) => {
|
|
48109
|
+
if (found || value === null || value === void 0) return;
|
|
48110
|
+
if (typeof value === "string") {
|
|
48111
|
+
if (CONFIG_FORWARD_RE.test(value)) found = true;
|
|
48112
|
+
return;
|
|
48113
|
+
}
|
|
48114
|
+
if (Array.isArray(value)) {
|
|
48115
|
+
for (const item of value) walk(item);
|
|
48116
|
+
return;
|
|
48117
|
+
}
|
|
48118
|
+
if (typeof value === "object") {
|
|
48119
|
+
for (const v of Object.values(value)) walk(v);
|
|
48120
|
+
}
|
|
48121
|
+
};
|
|
48122
|
+
for (const field of Object.values(config)) {
|
|
48123
|
+
walk(field?.default);
|
|
48124
|
+
if (found) return true;
|
|
48125
|
+
}
|
|
48126
|
+
return false;
|
|
48127
|
+
}
|
|
47985
48128
|
function resolveForwardsDeep(value, referrerConfig, consumed) {
|
|
47986
48129
|
if (typeof value === "string") {
|
|
47987
48130
|
const match = CONFIG_FORWARD_RE.exec(value);
|
|
@@ -50321,6 +50464,6 @@ function mergeEntityFrame(current, orderedWrites) {
|
|
|
50321
50464
|
return next;
|
|
50322
50465
|
}
|
|
50323
50466
|
|
|
50324
|
-
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, 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, MOCK_PERSONAS, 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, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, 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, 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, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, event_contracts_default as eventContracts, extractPayloadFieldRef, findCompatiblePatterns, findMockPersona, 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, 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, recommendPatterns, ref, registry, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
|
|
50467
|
+
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, MOCK_PERSONAS, 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, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, 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, 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, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, event_contracts_default as eventContracts, extractPayloadFieldRef, findCompatiblePatterns, findMockPersona, 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, 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, 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 };
|
|
50325
50468
|
//# sourceMappingURL=index.js.map
|
|
50326
50469
|
//# sourceMappingURL=index.js.map
|