@almadar/core 10.27.0 → 10.29.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-CeDAKf9u.d.ts → builders-DcBjE_Uw.d.ts} +308 -2306
- package/dist/builders.d.ts +4 -4
- package/dist/builders.js +23 -7
- package/dist/builders.js.map +1 -1
- package/dist/{expression-C6X4A8L7.d.ts → expression-CB9R3KWk.d.ts} +4 -1
- package/dist/factory/index.d.ts +5 -5
- package/dist/factory-runtime/index.d.ts +21 -5
- package/dist/factory-runtime/index.js +85 -9
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +50 -10
- package/dist/index.js +631 -24
- package/dist/index.js.map +1 -1
- package/dist/pattern-types-JZordBZv.d.ts +4635 -0
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +1003 -24
- package/dist/patterns/index.js +460 -13
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +458 -11
- package/dist/patterns/registry.json +458 -11
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-CSaCYNJl.d.ts → trait-B_CzfDSi.d.ts} +187 -643
- package/dist/types/index.d.ts +17 -12
- package/dist/types/index.js +69 -12
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BFgbJ7BM.d.ts → types-CGC5A1-T.d.ts} +45 -2
- package/package.json +1 -1
- package/src/types/bindings.ts +8 -2
- package/dist/pattern-types-CEZfJqGr.d.ts +0 -4584
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as OrbitalDefinition, O as OrbitalSchema } from './builders-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, b as ALLOWED_CUSTOM_COMPONENTS, c as AgentDomainCategory, d as AgentDomainCategorySchema, e as AllowedCustomComponent, C as ColorSlice, f as ColorSliceSchema, g as ColorTokens, h as ColorTokensSchema, i as ComposeBehaviorsInput, j as ComposeBehaviorsResult, 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, E as DesignPreferencesSchema, F as DesignTokens, G as DesignTokensInput, H as DesignTokensSchema, I as DomainCategory, J as DomainCategorySchema, K as DomainContext, L as DomainContextInput, N as DomainContextSchema, P as DomainVocabulary, Q as DomainVocabularySchema, R as ElevationSlice, S as ElevationSliceSchema, T as ElevationTokens, U as ElevationTokensSchema, V as EntityCall, W as EntityCallSchema, X as EntityRef, Y as EntityRefSchema, Z as EntityRefStringSchema, _ as EntitySemanticRole, $ as EntitySemanticRoleSchema, a0 as EventListener, a1 as EventListenerSchema, a2 as EventSemanticRole, a3 as EventSemanticRoleSchema, a4 as EventSource, a5 as EventSourceSchema, a6 as EventWiringEntry, 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 LayoutStrategy, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NodeClassification, aI as NodeClassificationSchema, a7 as Orbital, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, aZ as Page, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b4 as PageTraitRef, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bi as ThemeDefinition, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, bL as UseDeclaration, bM as UseDeclarationSchema, bN as UserPersona, bO as UserPersonaInput, bP as UserPersonaSchema, bQ as ViewType, bR as ViewTypeSchema, bS as applyEventWiring, bT as composeBehaviors, bU as detectLayoutStrategy, bV as isEntityCall, bW as isEntityReference, bX as isEntityReferenceAny, bY as isImportedTraitRef, bZ as isOrbitalDefinition, b_ as isPageReference, b$ as isPageReferenceObject, c0 as isPageReferenceString, c1 as isThemeReference, c2 as parseEntityRef, c3 as parseImportedTraitRef, c4 as parseOrbitalSchema, c5 as parsePageRef, c6 as safeParseOrbitalSchema } from './builders-
|
|
3
|
-
import { F as FieldValue, b as EntityRow } from './pattern-types-
|
|
4
|
-
export { d as ANIMATION_NAMES, e as ASSET_ASPECTS, f as ASSET_DIMENSIONS, g as AnimationDef, h as AnimationDefInput, i as AnimationDefSchema, j as AnimationName, k as AnimationNameSchema, A as AnyPatternConfig, l as ArrayEntityField, m as Asset, n as AssetAspect, o as AssetAspectSchema, p as AssetCatalog, q as AssetCatalogEntry, r as AssetCatalogEntryInput, s as AssetCatalogEntrySchema, t as AssetCatalogSchema, u as AssetDimension, v as AssetDimensionSchema, w as AssetSchema, x as AssetUrl, C as CAMERA_MODES, y as Camera, z as CameraMode, B as CameraModeSchema, D as CameraSchema, G as ENTITY_ROLES, c as Entity, H as EntityData, E as EntityField, I as EntityFieldInput, J as EntityFieldSchema, a as EntityPersistence, K as EntityPersistenceSchema, L as EntityRole, M as EntityRoleSchema, N as EntitySchema, O as EntityWith, P as EnumEntityField, Q as Field, S as FieldFormat, T as FieldFormatSchema, U as FieldSchema, V as FieldType, W as FieldTypeSchema, X as OrbitalEntity, Y as OrbitalEntityInput, Z as OrbitalEntitySchema, _ as PATTERN_TYPES, $ as PatternConfig, a0 as PatternProps, a1 as PatternPropsMap, a2 as PatternType, R as RelationConfig, a3 as RelationConfigSchema, a4 as RelationEntityField, a5 as SPRITE_DIRECTIONS, a6 as ScalarEntityField, a7 as ScenePos, a8 as ScenePosSchema, a9 as SemanticAssetRef, aa as SemanticAssetRefInput, ab as SemanticAssetRefSchema, ac as SpriteDirection, ad as SpriteDirectionSchema, ae as SpriteSheetAtlas, af as SpriteSheetAtlasInput, ag as SpriteSheetAtlasSchema, ah as SubTexture, ai as SubTextureSchema, aj as TextureAtlas, ak as TextureAtlasSchema, al as Tilesheet, am as TilesheetSchema, an as VISUAL_STYLES, ao as VisualStyle, ap as VisualStyleSchema, aq as createAssetKey, ar as deriveCollection, as as getDefaultAnimationsForRole, at as isFieldValue, au as isRuntimeEntity, av as isValidPatternType, aw as parseAssetKey, ax as persistenceModeAllowsOverrides, ay as validateAssetAnimations } from './pattern-types-
|
|
5
|
-
export { C as CORE_BINDINGS, b as CoreBinding, c as EvalContext, E as EventPayload, d as EventPayloadValue, a 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 isEventPayloadValue, p as isSExpr, q as isSExprAtom, r as isSExprCall, s as isValidBinding, t as parseBinding, u as sexpr, w as walkSExpr } from './expression-
|
|
1
|
+
import { a as OrbitalDefinition, O as OrbitalSchema } from './builders-DcBjE_Uw.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, b as ALLOWED_CUSTOM_COMPONENTS, c as AgentDomainCategory, d as AgentDomainCategorySchema, e as AllowedCustomComponent, C as ColorSlice, f as ColorSliceSchema, g as ColorTokens, h as ColorTokensSchema, i as ComposeBehaviorsInput, j as ComposeBehaviorsResult, 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, E as DesignPreferencesSchema, F as DesignTokens, G as DesignTokensInput, H as DesignTokensSchema, I as DomainCategory, J as DomainCategorySchema, K as DomainContext, L as DomainContextInput, N as DomainContextSchema, P as DomainVocabulary, Q as DomainVocabularySchema, R as ElevationSlice, S as ElevationSliceSchema, T as ElevationTokens, U as ElevationTokensSchema, V as EntityCall, W as EntityCallSchema, X as EntityRef, Y as EntityRefSchema, Z as EntityRefStringSchema, _ as EntitySemanticRole, $ as EntitySemanticRoleSchema, a0 as EventListener, a1 as EventListenerSchema, a2 as EventSemanticRole, a3 as EventSemanticRoleSchema, a4 as EventSource, a5 as EventSourceSchema, a6 as EventWiringEntry, 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 LayoutStrategy, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NodeClassification, aI as NodeClassificationSchema, a7 as Orbital, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, aZ as Page, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b4 as PageTraitRef, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bi as ThemeDefinition, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, bL as UseDeclaration, bM as UseDeclarationSchema, bN as UserPersona, bO as UserPersonaInput, bP as UserPersonaSchema, bQ as ViewType, bR as ViewTypeSchema, bS as applyEventWiring, bT as composeBehaviors, bU as detectLayoutStrategy, bV as isEntityCall, bW as isEntityReference, bX as isEntityReferenceAny, bY as isImportedTraitRef, bZ as isOrbitalDefinition, b_ as isPageReference, b$ as isPageReferenceObject, c0 as isPageReferenceString, c1 as isThemeReference, c2 as parseEntityRef, c3 as parseImportedTraitRef, c4 as parseOrbitalSchema, c5 as parsePageRef, c6 as safeParseOrbitalSchema } from './builders-DcBjE_Uw.js';
|
|
3
|
+
import { F as FieldValue, b as EntityRow } from './pattern-types-JZordBZv.js';
|
|
4
|
+
export { d as ANIMATION_NAMES, e as ASSET_ASPECTS, f as ASSET_DIMENSIONS, g as AnimationDef, h as AnimationDefInput, i as AnimationDefSchema, j as AnimationName, k as AnimationNameSchema, A as AnyPatternConfig, l as ArrayEntityField, m as Asset, n as AssetAspect, o as AssetAspectSchema, p as AssetCatalog, q as AssetCatalogEntry, r as AssetCatalogEntryInput, s as AssetCatalogEntrySchema, t as AssetCatalogSchema, u as AssetDimension, v as AssetDimensionSchema, w as AssetSchema, x as AssetUrl, C as CAMERA_MODES, y as Camera, z as CameraMode, B as CameraModeSchema, D as CameraSchema, G as ENTITY_ROLES, c as Entity, H as EntityData, E as EntityField, I as EntityFieldInput, J as EntityFieldSchema, a as EntityPersistence, K as EntityPersistenceSchema, L as EntityRole, M as EntityRoleSchema, N as EntitySchema, O as EntityWith, P as EnumEntityField, Q as Field, S as FieldFormat, T as FieldFormatSchema, U as FieldSchema, V as FieldType, W as FieldTypeSchema, X as OrbitalEntity, Y as OrbitalEntityInput, Z as OrbitalEntitySchema, _ as PATTERN_TYPES, $ as PatternConfig, a0 as PatternProps, a1 as PatternPropsMap, a2 as PatternType, R as RelationConfig, a3 as RelationConfigSchema, a4 as RelationEntityField, a5 as SPRITE_DIRECTIONS, a6 as ScalarEntityField, a7 as ScenePos, a8 as ScenePosSchema, a9 as SemanticAssetRef, aa as SemanticAssetRefInput, ab as SemanticAssetRefSchema, ac as SpriteDirection, ad as SpriteDirectionSchema, ae as SpriteSheetAtlas, af as SpriteSheetAtlasInput, ag as SpriteSheetAtlasSchema, ah as SubTexture, ai as SubTextureSchema, aj as TextureAtlas, ak as TextureAtlasSchema, al as Tilesheet, am as TilesheetSchema, an as VISUAL_STYLES, ao as VisualStyle, ap as VisualStyleSchema, aq as createAssetKey, ar as deriveCollection, as as getDefaultAnimationsForRole, at as isFieldValue, au as isRuntimeEntity, av as isValidPatternType, aw as parseAssetKey, ax as persistenceModeAllowsOverrides, ay as validateAssetAnimations } from './pattern-types-JZordBZv.js';
|
|
5
|
+
export { C as CORE_BINDINGS, b as CoreBinding, c as EvalContext, E as EventPayload, d as EventPayloadValue, a 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 isEventPayloadValue, p as isSExpr, q as isSExprAtom, r as isSExprCall, s as isValidBinding, t as parseBinding, u as sexpr, w as walkSExpr } from './expression-CB9R3KWk.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, 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, 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, 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, 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, ValidateResult, ValidationDocument, ValidationError, ValidationErrorCode, ValidationIssue, ValidationMeta, ValidationResult, ValidationResults, VerificationCheck, VerificationSnapshot, VerificationSummary, VertexId, VertexPayload, VertexType, ViewFlow, WorkspaceContext, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, toBindingRoot, validateBindingInContext, widenTier } from './types/index.js';
|
|
8
|
-
import { S as State } from './trait-
|
|
9
|
-
export { A as AgentEffect,
|
|
10
|
-
import { T as ToolArgs, J as JsonValue } from './types-
|
|
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, n as JsonObject, o as JsonSchema, p as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, q as PresentationOverlay, R as RuleOverlay, r as RuleOverlayEntry, S as SchemaFieldType, s as TraitOverlay, t as TraitOverlayEntry, u as TraitOverlayListener, v as isJsonArray, w as isJsonObject, x as isJsonPrimitive } from './types-
|
|
8
|
+
import { d as TraitConfig, S as State } from './trait-B_CzfDSi.js';
|
|
9
|
+
export { A as AgentEffect, e as ApplicationEffect, f as AtomicEffect, B as BehaviorEffect, g as CONFIG_REF_EVENT_PATTERN, h as CallServiceConfig, i as CallServiceEffect, C as CallSiteConfig, b as CallSiteConfigEntry, j as CheckpointLoadEffect, k as CheckpointSaveEffect, l as ComposeEffect, m as ConfigFieldDeclaration, n as ConfigFieldDeclarationSchema, o as ConfigFieldItemsDeclaration, p as ConfigRefEventError, D as DeclaredTraitConfig, q as DeclaredTraitConfigSchema, r as DerefEffect, s as DespawnEffect, t as DoEffect, E as Effect, u as EffectInput, v as EffectSchema, w as EmitConfig, x as EmitEffect, y as EntityFieldContract, z as EntityFieldContractSchema, F as EvaluateConfig, G as EvaluateEffect, H as Event, I as EventInput, J as EventPayloadField, K as EventPayloadFieldSchema, L as EventSchema, M as EventScope, N as EventScopeSchema, O as FetchEffect, P as FetchOptions, Q as FetchResult, R as ForwardConfig, U as ForwardEffect, V as Guard, W as GuardInput, X as GuardSchema, Y as ListenSource, Z as ListenSourceSchema, _ as LlmEffect, $ as LogEffect, a0 as McpServiceDef, a1 as McpServiceDefSchema, a2 as MemoryEffect, a3 as NavigateEffect, a4 as NnConfig, a5 as NnLayer, a6 as NotifyEffect, a7 as OrbitalTraitRef, a8 as OrbitalTraitRefSchema, a9 as OsEffect, aa as PayloadField, ab as PayloadFieldSchema, ac as PersistData, ad as PersistEffect, ae as PersistEmitConfig, af as PresentationType, ag as RefEffect, ah as RenderBinding, ai as RenderItemLambda, aj as RenderUIEffect, ak as RenderUINode, al as RequiredField, am as RequiredFieldSchema, an as ResolvedPatternProps, ao as RestAuthConfig, ap as RestAuthConfigSchema, aq as RestServiceDef, ar as RestServiceDefSchema, as as SERVICE_TYPES, at as ServiceDefinition, au as ServiceDefinitionSchema, av as ServiceParams, aw as ServiceParamsValue, ax as ServiceRef, ay as ServiceRefObject, az as ServiceRefObjectSchema, aA as ServiceRefSchema, aB as ServiceRefStringSchema, aC as ServiceType, aD as ServiceTypeSchema, aE as SessionEffect, aF as SetEffect, aG as SocketEvents, aH as SocketEventsSchema, aI as SocketServiceDef, aJ as SocketServiceDefSchema, aK as SpawnEffect, aL as StateInput, aM as StateMachine, aN as StateMachineInput, aO as StateMachineSchema, aP as StateSchema, aQ as SwapEffect, aR as TraceEffect, aS as TrainConfig, aT as TrainEffect, c as Trait, aU as TraitCategory, aV as TraitCategorySchema, aW as TraitConfigObject, aX as TraitConfigSchema, aY as TraitConfigValue, aZ as TraitConfigValueSchema, a_ as TraitDataEntity, a$ as TraitDataEntitySchema, b0 as TraitEntityField, b1 as TraitEntityFieldSchema, b2 as TraitEventContract, b3 as TraitEventContractSchema, T as TraitEventListener, b4 as TraitEventListenerSchema, b5 as TraitInput, b6 as TraitRef, b7 as TraitRefSchema, a as TraitReference, b8 as TraitReferenceInput, b9 as TraitReferenceSchema, ba as TraitSchema, bb as TraitTick, bc as TraitTickSchema, bd as TraitUIBinding, be as Transition, bf as TransitionInput, bg as TransitionSchema, bh as TypedEffect, bi as UISlot, bj as UISlotSchema, bk as UI_SLOTS, bl as ValidateEffect, bm as WatchEffect, bn as WatchOptions, bo as atomic, bp as callService, bq as configRefEventKnob, br as deref, bs as despawn, bt as doEffects, bu as emit, bv as findService, bw as getServiceNames, bx as getTraitConfig, by as getTraitName, bz as hasService, bA as isCallSiteConfigDeclaration, bB as isCircuitEvent, bC as isEffect, bD as isInlineTrait, bE as isMcpService, bF as isRestService, bG as isSExprEffect, bH as isServiceReference, bI as isServiceReferenceObject, bJ as isSocketService, bK as navigate, bL as normalizeCallSiteConfigToValues, bM as normalizeTraitRef, bN as notify, bO as parseServiceRef, bP as persist, bQ as ref, bR as renderUI, bS as resolveConfigRefEventName, bT as set, bU as spawn, bV as swap, bW as watch } from './trait-B_CzfDSi.js';
|
|
10
|
+
import { T as ToolArgs, J as JsonValue } from './types-CGC5A1-T.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, n as JsonObject, o as JsonSchema, p as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, q as PresentationOverlay, R as RuleOverlay, r as RuleOverlayEntry, S as SchemaFieldType, s as TraitOverlay, t as TraitOverlayEntry, u as TraitOverlayListener, v as isJsonArray, w as isJsonObject, x as isJsonPrimitive } from './types-CGC5A1-T.js';
|
|
12
12
|
export { CallSiteDiff, DomainQuestion, DomainQuestionAnswer, DomainQuestionAnswers, DomainQuestionInputType, FactoryCallPlanMutation, FactoryCallPlanMutationTemplate, FactoryCallPlanState, OrbitalCallInput, TranslationBinding, TranslationResult, TranslationWarning, answerToMutations, answersToMutations, applyFactoryCallPlanMutation, deriveInputType, diffFactoryCalls, generateQuestions, translateOverlaysToParams } from './factory/index.js';
|
|
13
13
|
export { COMPONENT_MAPPING, EVENT_CONTRACTS, FormSubmitPayload, INTEGRATORS_REGISTRY, ItemActionPayload, LoadMoreRequestPayload, PATTERN_REGISTRY, PatternCallbackArg, PatternEntry, PatternPayloadField, PatternPropDef, PatternRecommendation, PatternSwapGate, PropKind, RecommendationContext, SelectionChangePayload, buildRecommendationContext, componentMapping, eventContracts, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integratorsRegistry, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, patternsRegistry, recommendPatterns, registry } from './patterns/index.js';
|
|
14
14
|
export { BFSNode, BFSPathNode, EdgeWalkTransition, GraphTransition, GuardPayload, ReplayStep, ReplayTransition, StateEdge, WalkStep, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, collectReachableStates, constTruth, extractPayloadFieldRef, walkStatePairs } from './state-machine/index.js';
|
|
@@ -382,6 +382,46 @@ declare function getEntity(ir: ResolvedIR, entityName: string): ResolvedEntity |
|
|
|
382
382
|
*/
|
|
383
383
|
declare function getTrait(ir: ResolvedIR, traitName: string): ResolvedTrait | undefined;
|
|
384
384
|
|
|
385
|
+
/**
|
|
386
|
+
* Embedded-trait config resolution — shared by the JS interpreter
|
|
387
|
+
* (`@almadar/runtime`) and the render substrate (`@almadar/ui`).
|
|
388
|
+
*
|
|
389
|
+
* A molecule's inline sub-trait (e.g. `std-browse`'s `DataGrid1`) authors
|
|
390
|
+
* `config { fields: @config.fields }` — a forward meaning "read MY
|
|
391
|
+
* embedder's `config.fields`". That's a lexical-scope reference in the
|
|
392
|
+
* atom's own `.lolo`; once the molecule is flattened (the compiled path's
|
|
393
|
+
* `orbital resolve`, or the JS resolvers in `@almadar/runtime`) the embedder
|
|
394
|
+
* is no longer an enclosing scope, just a sibling trait in `orbital.traits[]`.
|
|
395
|
+
* Left unresolved, the literal string `"@config.fields"` becomes the
|
|
396
|
+
* sub-trait's own `@config.fields` binding value — components consuming it
|
|
397
|
+
* (e.g. `DataGrid`'s `fieldDefs.find`) receive a string instead of an array
|
|
398
|
+
* and throw.
|
|
399
|
+
*
|
|
400
|
+
* `buildResolvedTraitConfigs` chains those forwards through to the trait
|
|
401
|
+
* that actually embeds each one (found via `@trait.X` literals, the same
|
|
402
|
+
* shape `collectEmbeddedTraits`-style walkers look for), recursively when
|
|
403
|
+
* the referrer is itself an embedded sub-trait one level up.
|
|
404
|
+
*
|
|
405
|
+
* @packageDocumentation
|
|
406
|
+
*/
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Build the childTraitName → referrerTraitName map: for every trait whose
|
|
410
|
+
* config literally contains `@trait.X`, record `X -> thisTrait`. First
|
|
411
|
+
* referrer wins per child — today's compositions embed a given trait from
|
|
412
|
+
* exactly one referrer.
|
|
413
|
+
*
|
|
414
|
+
* Safe to call on the resolved (post-inline) schema. Memoize by reference.
|
|
415
|
+
*/
|
|
416
|
+
declare function collectEmbeddedTraitReferrers(schema: OrbitalSchema | undefined | null): ReadonlyMap<string, string>;
|
|
417
|
+
/**
|
|
418
|
+
* Build the trait-name → resolved-`TraitConfig` map for a schema: each
|
|
419
|
+
* trait's raw call-site config, normalized to plain values, with any
|
|
420
|
+
* `@config.<key>` forward chained through to the referrer that actually
|
|
421
|
+
* embeds it (recursively, with a cycle guard).
|
|
422
|
+
*/
|
|
423
|
+
declare function buildResolvedTraitConfigs(schema: OrbitalSchema | undefined | null): Record<string, TraitConfig>;
|
|
424
|
+
|
|
385
425
|
/**
|
|
386
426
|
* Schema Diffing & Protection
|
|
387
427
|
*
|
|
@@ -583,4 +623,4 @@ type EntityFrameState = EntityRow;
|
|
|
583
623
|
*/
|
|
584
624
|
declare function mergeEntityFrame(current: EntityFrameState, orderedWrites: readonly EntityFieldWrite[]): EntityFrameState;
|
|
585
625
|
|
|
586
|
-
export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, type EditFocus, type EditFocusLevel, type EntityFieldWrite, type EntityFrameState, EntityRow, FieldValue, JsonValue, OrbitalDefinition, OrbitalSchema, PageContentReduction, type PatternNode, type PatternValue, type RenderOverlayResult, type RenderUiPatch, type RenderUiPatchAddress, type RenderUiPatchOp, ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, SchemaChange, type SchemaDiff, type SchemaDiffAuthor, type SchemaDiffChange, type SchemaDiffChangeset, type SchemaDiffMode, type SchemaDiffOptions, type SchemaDiffSource, type SchemaDiffSummary, SemanticSchemaChange, State, ToolArgs, type TraceActivity, type TraceActivityItem, type TraceAvatarRole, type TraceChatMessage, type TraceChatMessageToolCall, type TraceDiffHunk, type TraceDiffLine, type TraceFileOperation, type TraceSubagent, type TraceSubagentMessage, OrbitalDefinition as ValidatedOrbital, applyRenderOverlay, categorizeRemovals, classifyWorkflow, clearSchemaCache, detectPageContentReduction, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, fingerprintNode, getEntity, getPage, getPages, getRemovals, getSchemaCacheStats, getTrait, hasSignificantPageReduction, insertChildAtPath, isDestructiveChange, mergeEntityFrame, navigatePatternPath, removeChildAtPath, replaceChildAtPath, requiresConfirmation, schemaToIR, setPropAtPath, summarizeOrbital, summarizeSchema };
|
|
626
|
+
export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, type EditFocus, type EditFocusLevel, type EntityFieldWrite, type EntityFrameState, EntityRow, FieldValue, JsonValue, OrbitalDefinition, OrbitalSchema, PageContentReduction, type PatternNode, type PatternValue, type RenderOverlayResult, type RenderUiPatch, type RenderUiPatchAddress, type RenderUiPatchOp, ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, SchemaChange, type SchemaDiff, type SchemaDiffAuthor, type SchemaDiffChange, type SchemaDiffChangeset, type SchemaDiffMode, type SchemaDiffOptions, type SchemaDiffSource, type SchemaDiffSummary, SemanticSchemaChange, State, 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, applyRenderOverlay, buildResolvedTraitConfigs, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectEmbeddedTraitReferrers, detectPageContentReduction, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, fingerprintNode, getEntity, getPage, getPages, getRemovals, getSchemaCacheStats, getTrait, hasSignificantPageReduction, insertChildAtPath, isDestructiveChange, mergeEntityFrame, navigatePatternPath, removeChildAtPath, replaceChildAtPath, requiresConfirmation, schemaToIR, setPropAtPath, summarizeOrbital, summarizeSchema };
|