@almadar/core 10.12.0 → 10.14.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 +56 -2
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-Bhf-XFFc.d.ts → compose-behaviors-Ds6d_mMY.d.ts} +1 -1
- package/dist/factory/index.d.ts +3 -3
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +56 -2
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +57 -3
- package/dist/index.js.map +1 -1
- package/dist/{schema-CSn8gU27.d.ts → schema-BVcq7eXk.d.ts} +1459 -1459
- package/dist/{trait-DecHZfpm.d.ts → trait-Ctj2l6ma.d.ts} +443 -48
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +57 -3
- package/dist/types/index.js.map +1 -1
- package/dist/{types-C16w56HW.d.ts → types-QQ9BTzkx.d.ts} +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as OrbitalDefinition, O as OrbitalSchema } from './schema-
|
|
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-
|
|
3
|
-
import { p as State } from './trait-
|
|
4
|
-
export { A as
|
|
1
|
+
import { a as OrbitalDefinition, O as OrbitalSchema } from './schema-BVcq7eXk.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-BVcq7eXk.js';
|
|
3
|
+
import { p as State } from './trait-Ctj2l6ma.js';
|
|
4
|
+
export { A as ANIMATION_NAMES, q as ASSET_ASPECTS, r as ASSET_DIMENSIONS, s as AgentEffect, t as AnimationDef, u as AnimationDefInput, v as AnimationDefSchema, w as AnimationName, x as AnimationNameSchema, y as ArrayEntityField, z as Asset, B as AssetAspect, D as AssetAspectSchema, F as AssetCatalog, G as AssetCatalogEntry, H as AssetCatalogEntryInput, I as AssetCatalogEntrySchema, J as AssetCatalogSchema, K as AssetDimension, L as AssetDimensionSchema, M as AssetMap, N as AssetMapInput, O as AssetMapSchema, P as AssetMapping, Q as AssetMappingInput, V as AssetMappingSchema, W as AssetSchema, X as AssetUrl, Y as AtomicEffect, Z as CallServiceConfig, _ as CallServiceEffect, C as CallSiteConfig, $ as CallSiteConfigEntry, a0 as CharacterKit, a1 as CharacterKitLayer, a2 as CharacterKitLayerSchema, a3 as CharacterKitSchema, a4 as CheckpointLoadEffect, a5 as CheckpointSaveEffect, n as ConfigFieldDeclaration, a6 as ConfigFieldDeclarationSchema, a7 as DeclaredTraitConfig, a8 as DeclaredTraitConfigSchema, a9 as DerefEffect, aa as DespawnEffect, ab as DoEffect, ac as ENTITY_ROLES, E as Effect, ad as EffectInput, ae as EffectSchema, af as EmitConfig, ag as EmitEffect, d as Entity, ah as EntityData, f as EntityField, ai as EntityFieldContract, aj as EntityFieldContractSchema, ak as EntityFieldInput, al as EntityFieldSchema, g as EntityPersistence, am as EntityPersistenceSchema, an as EntityRole, ao as EntityRoleSchema, h as EntityRow, ap as EntitySchema, aq as EntityWith, ar as EnumEntityField, as as EvaluateConfig, at as EvaluateEffect, au as Event, av as EventInput, m as EventPayloadField, aw as EventPayloadFieldSchema, ax as EventSchema, ay as EventScope, az as EventScopeSchema, aA as FetchEffect, aB as FetchOptions, aC as FetchResult, aD as Field, aE as FieldFormat, aF as FieldFormatSchema, aG as FieldSchema, aH as FieldType, aI as FieldTypeSchema, aJ as FieldValue, aK as ForwardConfig, aL as ForwardEffect, aM as GAME_TYPES, aN as GameType, aO as GameTypeSchema, aP as Guard, aQ as GuardInput, aR as GuardSchema, aS as ListenSource, aT as ListenSourceSchema, aU as LogEffect, aV as McpServiceDef, aW as McpServiceDefSchema, aX as NavigateEffect, aY as NnConfig, aZ as NnLayer, a_ as NotifyEffect, a$ as OrbitalEntity, b0 as OrbitalEntityInput, b1 as OrbitalEntitySchema, b2 as OrbitalTraitRef, b3 as OrbitalTraitRefSchema, b4 as OsEffect, b5 as PACK_CLASSES, b6 as PackClass, b7 as PackClassSchema, b8 as PayloadField, b9 as PayloadFieldSchema, ba as PersistData, bb as PersistEffect, bc as PersistEmitConfig, bd as PresentationType, be as RefEffect, k as RelationConfig, bf as RelationConfigSchema, bg as RelationEntityField, R as RenderBinding, bh as RenderItemLambda, bi as RenderUIConfig, b as RenderUIEffect, bj as RenderUINode, bk as RequiredField, bl as RequiredFieldSchema, bm as ResolvedAsset, bn as ResolvedAssetInput, bo as ResolvedAssetSchema, bp as ResolvedPatternProps, bq as RestAuthConfig, br as RestAuthConfigSchema, bs as RestServiceDef, bt as RestServiceDefSchema, bu as SERVICE_TYPES, bv as SPRITE_DIRECTIONS, bw as ScalarEntityField, bx as SemanticAssetRef, by as SemanticAssetRefInput, bz as SemanticAssetRefSchema, o as ServiceDefinition, bA as ServiceDefinitionSchema, bB as ServiceParams, bC as ServiceParamsValue, S as ServiceRef, bD as ServiceRefObject, bE as ServiceRefObjectSchema, bF as ServiceRefSchema, bG as ServiceRefStringSchema, bH as ServiceType, bI as ServiceTypeSchema, bJ as SetEffect, bK as SocketEvents, bL as SocketEventsSchema, bM as SocketServiceDef, bN as SocketServiceDefSchema, bO as SpawnEffect, bP as SpriteDirection, bQ as SpriteDirectionSchema, bR as SpriteSheetAtlas, bS as SpriteSheetAtlasInput, bT as SpriteSheetAtlasSchema, bU as StateInput, bV as StateMachine, bW as StateMachineInput, bX as StateMachineSchema, bY as StateSchema, bZ as SubTexture, b_ as SubTextureSchema, b$ as SwapEffect, c0 as TextureAtlas, c1 as TextureAtlasSchema, c2 as Tilesheet, c3 as TilesheetSchema, c4 as TrainConfig, c5 as TrainEffect, a as Trait, c6 as TraitCategory, c7 as TraitCategorySchema, T as TraitConfig, l as TraitConfigObject, c8 as TraitConfigSchema, c9 as TraitConfigValue, ca as TraitConfigValueSchema, cb as TraitDataEntity, cc as TraitDataEntitySchema, cd as TraitEntityField, ce as TraitEntityFieldSchema, c as TraitEventContract, cf as TraitEventContractSchema, e as TraitEventListener, cg as TraitEventListenerSchema, ch as TraitInput, i as TraitRef, ci as TraitRefSchema, j as TraitReference, cj as TraitReferenceInput, ck as TraitReferenceSchema, cl as TraitSchema, cm as TraitTick, cn as TraitTickSchema, co as TraitUIBinding, cp as Transition, cq as TransitionInput, cr as TransitionSchema, cs as TypedEffect, U as UISlot, ct as UISlotSchema, cu as UI_SLOTS, cv as VISUAL_STYLES, cw as VisualStyle, cx as VisualStyleSchema, cy as WatchEffect, cz as WatchOptions, cA as atomic, cB as callService, cC as createAssetKey, cD as deref, cE as deriveCollection, cF as despawn, cG as doEffects, cH as emit, cI as findService, cJ as getDefaultAnimationsForRole, cK as getServiceNames, cL as getTraitConfig, cM as getTraitName, cN as hasService, cO as isCallSiteConfigDeclaration, cP as isCircuitEvent, cQ as isEffect, cR as isInlineTrait, cS as isMcpService, cT as isRestService, cU as isRuntimeEntity, cV as isSExprEffect, cW as isServiceReference, cX as isServiceReferenceObject, cY as isSingletonEntity, cZ as isSocketService, c_ as navigate, c$ as normalizeTraitRef, d0 as notify, d1 as parseAssetKey, d2 as parseServiceRef, d3 as persist, d4 as persistenceModeAllowsOverrides, d5 as ref, d6 as renderUI, d7 as set, d8 as spawn, d9 as swap, da as validateAssetAnimations, db as watch } from './trait-Ctj2l6ma.js';
|
|
5
5
|
export { C as CORE_BINDINGS, a as CoreBinding, b as EvalContext, c as EventPayload, d as EventPayloadValue, E as Expression, e as ExpressionInput, f as ExpressionSchema, L as LogMeta, P as ParsedBinding, S as SExpr, g as SExprAtom, h as SExprAtomSchema, i as SExprInput, j as SExprSchema, k as collectBindings, l as getArgs, m as getOperator, n as isBinding, o as isSExpr, p as isSExprAtom, q as isSExprCall, r as isValidBinding, s as parseBinding, t as sexpr, w as walkSExpr } from './expression-BUIi9ezJ.js';
|
|
6
6
|
import { ResolvedIR, ResolvedEntity, ResolvedPage, ResolvedTrait, ChangesetValue, SchemaChange, CategorizedRemovals, PageContentReduction, SemanticSchemaChange } from './types/index.js';
|
|
7
7
|
export { AgentCodeSearchResult, AgentCompactResult, AgentCompactStrategy, AgentContext, AgentGenerateOptions, AgentMemoryCategory, AgentMemoryRecord, AnnotationTier, AppCreatedEvent, AppSummary, AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingContext, BindingRoot, BindingSchema, BridgeHealth, BusEvent, BusEventListener, BusEventSource, CancelledEvent, ChangeAuthor, ChangeSetDocument, ChangeSummary, ChangesetRecordedEvent, CheckStatus, CompleteEvent, ContextExtensions, CreateFlow, DEFAULT_INTERACTION_MODELS, DeleteFlow, EdgeType, EditFlow, EffectPayload, EffectResult, EffectTrace, ErrorEvent, EventEmit, EventKey, EventListen, EventLogEntry, EvolutionDelta, FileOperationEvent, FileWrittenEvent, GateState, GenerationLogEvent, GitHubLink, HistoryMeta, 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, MessageEvent, OrbitalAddedEvent, OrbitalSchemaCompleteEvent, OrbitalVerificationAPI, ParamsRepairEmittedEvent, ParsedDesign, ParsedDomainContext, ParsedEmitDeclaration, ParsedEntity, ParsedEvent, ParsedListenDeclaration, ParsedOrbital, ParsedPage, ParsedState, ParsedStateMachine, ParsedTrait, ParsedTraitConfig, ParsedTransition, PatternTypeSchema, PersistActionName, Probability, ProcessCompleteEvent, ProcessErrorEvent, ProcessRepairCompleteEvent, ProcessRepairEvent, ProcessStartEvent, 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, ServiceContract, ServiceEvents, SnapshotCreatedEvent, SnapshotDocument, StartEvent, StatsView, StoreContract, StoreFilter, StoreFilterOp, SubagentCompleteEvent, SubagentEvent, SubagentProgressEvent, SubagentStartEvent, TodoActivityType, TodoDetailEvent, TodoUpdateEvent, ToolCallEvent, ToolResultEvent, TraitFieldRef, TraitFieldRefSchema, TraitStateSnapshot, TransitionFrom, TransitionTrace, Unsubscribe, ValidationDocument, ValidationError, ValidationErrorCode, ValidationIssue, ValidationMeta, ValidationResult, ValidationResults, VerificationCheck, VerificationSnapshot, VerificationSummary, VertexId, VertexPayload, VertexType, ViewFlow, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, getAllPatternTypes, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isResolvedIR, isTraitFieldRef, toBindingRoot, validateBindingInContext, widenTier } from './types/index.js';
|
|
8
|
-
import { T as ToolArgs, J as JsonValue } from './types-
|
|
9
|
-
export { F as FactoryCallSite, a as FactoryCallSiteParams, b as FactoryConfigParam, c as FactoryConfigTier, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryPageSignature, g as FactoryParamValue, h as FactorySignature, i as FactorySignatureCatalog, j as FactorySignatureEntityField, k as FactoryTraitSignature, l as JsonObject, m as JsonSchema, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, o as PresentationOverlay, R as RuleOverlay, p as RuleOverlayEntry, S as SchemaFieldType, q as TraitOverlay, r as TraitOverlayEntry, s as TraitOverlayListener, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from './types-
|
|
8
|
+
import { T as ToolArgs, J as JsonValue } from './types-QQ9BTzkx.js';
|
|
9
|
+
export { F as FactoryCallSite, a as FactoryCallSiteParams, b as FactoryConfigParam, c as FactoryConfigTier, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryPageSignature, g as FactoryParamValue, h as FactorySignature, i as FactorySignatureCatalog, j as FactorySignatureEntityField, k as FactoryTraitSignature, l as JsonObject, m as JsonSchema, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, o as PresentationOverlay, R as RuleOverlay, p as RuleOverlayEntry, S as SchemaFieldType, q as TraitOverlay, r as TraitOverlayEntry, s as TraitOverlayListener, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from './types-QQ9BTzkx.js';
|
|
10
10
|
export { CallSiteDiff, DomainQuestion, DomainQuestionAnswer, DomainQuestionAnswers, DomainQuestionInputType, FactoryCallPlanMutation, FactoryCallPlanMutationTemplate, FactoryCallPlanState, OrbitalCallInput, TranslationBinding, TranslationResult, TranslationWarning, answerToMutations, answersToMutations, applyFactoryCallPlanMutation, deriveInputType, diffFactoryCalls, generateQuestions, translateOverlaysToParams } from './factory/index.js';
|
|
11
|
-
export { C as ComposeBehaviorsInput, a as ComposeBehaviorsResult, E as EventWiringEntry, L as LayoutStrategy, b as applyEventWiring, c as composeBehaviors, d as detectLayoutStrategy } from './compose-behaviors-
|
|
11
|
+
export { C as ComposeBehaviorsInput, a as ComposeBehaviorsResult, E as EventWiringEntry, L as LayoutStrategy, b as applyEventWiring, c as composeBehaviors, d as detectLayoutStrategy } from './compose-behaviors-Ds6d_mMY.js';
|
|
12
12
|
export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
|
|
13
13
|
export { BFSNode, BFSPathNode, EdgeWalkTransition, GraphTransition, GuardPayload, ReplayStep, ReplayTransition, StateEdge, WalkStep, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, collectReachableStates, constTruth, extractPayloadFieldRef, walkStatePairs } from './state-machine/index.js';
|
|
14
14
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -166,11 +166,63 @@ var GAME_TYPES = [
|
|
|
166
166
|
"rpg"
|
|
167
167
|
];
|
|
168
168
|
var GameTypeSchema = z.enum(GAME_TYPES);
|
|
169
|
+
var ANIMATION_NAMES = ["idle", "walk", "attack", "hit", "death"];
|
|
170
|
+
var AnimationNameSchema = z.enum(ANIMATION_NAMES);
|
|
171
|
+
var SPRITE_DIRECTIONS = ["se", "sw"];
|
|
172
|
+
var SpriteDirectionSchema = z.enum(SPRITE_DIRECTIONS);
|
|
169
173
|
var AnimationDefSchema = z.object({
|
|
170
|
-
|
|
171
|
-
|
|
174
|
+
row: z.number().int().nonnegative(),
|
|
175
|
+
frames: z.number().int().positive(),
|
|
176
|
+
frameRate: z.number().positive(),
|
|
172
177
|
loop: z.boolean()
|
|
173
178
|
});
|
|
179
|
+
var SpriteSheetAtlasSchema = z.object({
|
|
180
|
+
unit: z.string().optional(),
|
|
181
|
+
type: z.string().optional(),
|
|
182
|
+
frameWidth: z.number().positive(),
|
|
183
|
+
frameHeight: z.number().positive(),
|
|
184
|
+
columns: z.number().int().positive(),
|
|
185
|
+
rows: z.number().int().positive(),
|
|
186
|
+
directions: z.array(SpriteDirectionSchema),
|
|
187
|
+
sheets: z.record(SpriteDirectionSchema, z.string()),
|
|
188
|
+
animations: z.record(AnimationNameSchema, AnimationDefSchema)
|
|
189
|
+
});
|
|
190
|
+
var SubTextureSchema = z.object({
|
|
191
|
+
x: z.number().nonnegative(),
|
|
192
|
+
y: z.number().nonnegative(),
|
|
193
|
+
width: z.number().positive(),
|
|
194
|
+
height: z.number().positive(),
|
|
195
|
+
frameX: z.number().optional(),
|
|
196
|
+
frameY: z.number().optional(),
|
|
197
|
+
frameWidth: z.number().positive().optional(),
|
|
198
|
+
frameHeight: z.number().positive().optional()
|
|
199
|
+
});
|
|
200
|
+
var TextureAtlasSchema = z.object({
|
|
201
|
+
imagePath: z.string(),
|
|
202
|
+
subTextures: z.record(z.string(), SubTextureSchema)
|
|
203
|
+
});
|
|
204
|
+
var TilesheetSchema = z.object({
|
|
205
|
+
imagePath: z.string(),
|
|
206
|
+
tileWidth: z.number().positive(),
|
|
207
|
+
tileHeight: z.number().positive(),
|
|
208
|
+
columns: z.number().int().positive(),
|
|
209
|
+
rows: z.number().int().positive(),
|
|
210
|
+
margin: z.number().nonnegative().optional(),
|
|
211
|
+
spacing: z.number().nonnegative().optional(),
|
|
212
|
+
names: z.array(z.string()).optional()
|
|
213
|
+
});
|
|
214
|
+
var PACK_CLASSES = ["board-tileset", "character-kit", "shared-primitive"];
|
|
215
|
+
var PackClassSchema = z.enum(PACK_CLASSES);
|
|
216
|
+
var CharacterKitLayerSchema = z.object({
|
|
217
|
+
slot: z.enum(["body", "head", "face", "hair", "facialHair", "shirt", "pants", "shoes", "accessory"]),
|
|
218
|
+
url: z.string(),
|
|
219
|
+
atlas: z.string().optional(),
|
|
220
|
+
sprite: z.string().optional()
|
|
221
|
+
});
|
|
222
|
+
var CharacterKitSchema = z.object({
|
|
223
|
+
pack: z.string(),
|
|
224
|
+
layers: z.array(CharacterKitLayerSchema)
|
|
225
|
+
});
|
|
174
226
|
var SemanticAssetRefSchema = z.object({
|
|
175
227
|
role: EntityRoleSchema,
|
|
176
228
|
category: z.string().min(1),
|
|
@@ -182,6 +234,8 @@ var SemanticAssetRefSchema = z.object({
|
|
|
182
234
|
});
|
|
183
235
|
var AssetSchema = SemanticAssetRefSchema.extend({
|
|
184
236
|
url: z.string(),
|
|
237
|
+
atlas: z.string().optional(),
|
|
238
|
+
sprite: z.string().optional(),
|
|
185
239
|
name: z.string().optional(),
|
|
186
240
|
thumbnailUrl: z.string().optional()
|
|
187
241
|
});
|
|
@@ -4457,6 +4511,6 @@ function buildPayloadForEdge(transition, guardCase) {
|
|
|
4457
4511
|
return {};
|
|
4458
4512
|
}
|
|
4459
4513
|
|
|
4460
|
-
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetMapSchema, AssetMappingSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyRenderOverlay, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectReachableStates, composeBehaviors, constTruth, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, deriveInputType, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, extractPayloadFieldRef, findService, fingerprintNode, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getEntity, getInteractionModelForDomain, getOperator, getPage, getPages, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, inferTsType, insertChildAtPath, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isDestructiveChange, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSingletonEntity, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, navigate, navigatePatternPath, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, ref, removeChildAtPath, renderUI, replaceChildAtPath, requiresConfirmation, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, toBindingRoot, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, walkSExpr, walkStatePairs, watch, widenTier };
|
|
4514
|
+
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetMapSchema, AssetMappingSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, CharacterKitLayerSchema, CharacterKitSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PACK_CLASSES, PackClassSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyRenderOverlay, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectReachableStates, composeBehaviors, constTruth, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, deriveInputType, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, extractPayloadFieldRef, findService, fingerprintNode, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getEntity, getInteractionModelForDomain, getOperator, getPage, getPages, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, inferTsType, insertChildAtPath, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isDestructiveChange, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSingletonEntity, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, navigate, navigatePatternPath, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, ref, removeChildAtPath, renderUI, replaceChildAtPath, requiresConfirmation, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, toBindingRoot, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, walkSExpr, walkStatePairs, watch, widenTier };
|
|
4461
4515
|
//# sourceMappingURL=index.js.map
|
|
4462
4516
|
//# sourceMappingURL=index.js.map
|