@almadar/core 10.5.0 → 10.6.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 +4 -4
- package/dist/{compose-behaviors-CDtaSzBE.d.ts → compose-behaviors-CJgreUHY.d.ts} +1 -1
- package/dist/{expression-BVRFm0sV.d.ts → expression-BUIi9ezJ.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/index.d.ts +203 -8
- package/dist/{schema-CBlHwalB.d.ts → schema-Cq9DUnFw.d.ts} +2 -2
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-FbHCWNhp.d.ts → trait-BsnLnedq.d.ts} +2 -2
- package/dist/types/index.d.ts +8 -8
- package/dist/{types--nPHnbUz.d.ts → types-CdXuGm8S.d.ts} +2 -2
- package/package.json +1 -1
package/dist/builders.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TraitConfig, U as UISlot, E as Effect, a as Trait, R as RenderBinding, b as RenderUIEffect, c as TraitEventContract, d as Entity, e as TraitEventListener, f as EntityField, g as EntityPersistence, h as EntityRow, i as TraitRef, j as TraitReference } from './trait-
|
|
2
|
-
import { O as OrbitalSchema, U as UseDeclaration, E as EntityRef, P as PageRef, a as OrbitalDefinition, b as Page, c as PageRefObject } from './schema-
|
|
3
|
-
import { S as SExpr } from './expression-
|
|
4
|
-
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-
|
|
1
|
+
import { T as TraitConfig, U as UISlot, E as Effect, a as Trait, R as RenderBinding, b as RenderUIEffect, c as TraitEventContract, d as Entity, e as TraitEventListener, f as EntityField, g as EntityPersistence, h as EntityRow, i as TraitRef, j as TraitReference } from './trait-BsnLnedq.js';
|
|
2
|
+
import { O as OrbitalSchema, U as UseDeclaration, E as EntityRef, P as PageRef, a as OrbitalDefinition, b as Page, c as PageRefObject } from './schema-Cq9DUnFw.js';
|
|
3
|
+
import { S as SExpr } from './expression-BUIi9ezJ.js';
|
|
4
|
+
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-CJgreUHY.js';
|
|
5
5
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
|
@@ -227,4 +227,4 @@ interface LogMeta {
|
|
|
227
227
|
[key: string]: LogMetaValue;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
export { CORE_BINDINGS as C, type
|
|
230
|
+
export { CORE_BINDINGS as C, type Expression as E, type LogMeta as L, type ParsedBinding as P, type SExpr as S, type CoreBinding as a, type EvalContext as b, type EventPayload as c, type EventPayloadValue as d, type ExpressionInput as e, ExpressionSchema as f, type SExprAtom as g, SExprAtomSchema as h, type SExprInput as i, SExprSchema as j, collectBindings as k, getArgs as l, getOperator as m, isBinding as n, isSExpr as o, isSExprAtom as p, isSExprCall as q, isValidBinding as r, parseBinding as s, sexpr as t, walkSExpr as w };
|
package/dist/factory/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, h as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, q as TraitOverlay } from '../types
|
|
2
|
-
export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryPageSignature, i as FactorySignatureCatalog, j as FactorySignatureEntityField, k as FactoryTraitSignature,
|
|
3
|
-
import { g as EntityPersistence, f as EntityField, j as TraitReference } from '../trait-
|
|
1
|
+
import { g as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, h as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, q as TraitOverlay } from '../types-CdXuGm8S.js';
|
|
2
|
+
export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryPageSignature, i as FactorySignatureCatalog, j as FactorySignatureEntityField, k as FactoryTraitSignature, m as JsonSchema, n as JsonSchemaType, J as JsonValue, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, r as TraitOverlayEntry, s as TraitOverlayListener } from '../types-CdXuGm8S.js';
|
|
3
|
+
import { g as EntityPersistence, f as EntityField, j as TraitReference } from '../trait-BsnLnedq.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../expression-
|
|
5
|
+
import '../expression-BUIi9ezJ.js';
|
|
6
6
|
import '@almadar/patterns';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +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 {
|
|
4
|
-
export { A as AgentEffect,
|
|
5
|
-
export { C as CORE_BINDINGS, a as CoreBinding,
|
|
1
|
+
import { a as OrbitalDefinition, O as OrbitalSchema } from './schema-Cq9DUnFw.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-Cq9DUnFw.js';
|
|
3
|
+
import { n as State } from './trait-BsnLnedq.js';
|
|
4
|
+
export { A as AgentEffect, o as AnimationDef, p as AnimationDefInput, q as AnimationDefSchema, r as ArrayEntityField, s as AssetCatalog, t as AssetCatalogEntry, u as AssetCatalogEntryInput, v as AssetCatalogEntrySchema, w as AssetCatalogSchema, x as AssetMap, y as AssetMapInput, z as AssetMapSchema, B as AssetMapping, D as AssetMappingInput, F as AssetMappingSchema, G as AssetUrl, H as AtomicEffect, I as CallServiceConfig, J as CallServiceEffect, K as CheckpointLoadEffect, L as CheckpointSaveEffect, C as ConfigFieldDeclaration, M as ConfigFieldDeclarationSchema, N as DeclaredTraitConfig, O as DeclaredTraitConfigSchema, P as DerefEffect, Q as DespawnEffect, V as DoEffect, W as ENTITY_ROLES, E as Effect, X as EffectInput, Y as EffectSchema, Z as EmitConfig, _ as EmitEffect, d as Entity, $ as EntityData, f as EntityField, a0 as EntityFieldContract, a1 as EntityFieldContractSchema, a2 as EntityFieldInput, a3 as EntityFieldSchema, g as EntityPersistence, a4 as EntityPersistenceSchema, a5 as EntityRole, a6 as EntityRoleSchema, h as EntityRow, a7 as EntitySchema, a8 as EntityWith, a9 as EnumEntityField, aa as EvaluateConfig, ab as EvaluateEffect, ac as Event, ad as EventInput, l as EventPayloadField, ae as EventPayloadFieldSchema, af as EventSchema, ag as EventScope, ah as EventScopeSchema, ai as FetchEffect, aj as FetchOptions, ak as FetchResult, al as Field, am as FieldFormat, an as FieldFormatSchema, ao as FieldSchema, ap as FieldType, aq as FieldTypeSchema, ar as FieldValue, as as ForwardConfig, at as ForwardEffect, au as GAME_TYPES, av as GameType, aw as GameTypeSchema, ax as Guard, ay as GuardInput, az as GuardSchema, aA as ListenSource, aB as ListenSourceSchema, aC as LogEffect, aD as McpServiceDef, aE as McpServiceDefSchema, aF as NavigateEffect, aG as NnConfig, aH as NnLayer, aI as NotifyEffect, aJ as OrbitalEntity, aK as OrbitalEntityInput, aL as OrbitalEntitySchema, aM as OrbitalTraitRef, aN as OrbitalTraitRefSchema, aO as OsEffect, aP as PayloadField, aQ as PayloadFieldSchema, aR as PersistData, aS as PersistEffect, aT as PersistEmitConfig, aU as PresentationType, aV as RefEffect, aW as RelationConfig, aX as RelationConfigSchema, aY as RelationEntityField, R as RenderBinding, aZ as RenderItemLambda, a_ as RenderUIConfig, b as RenderUIEffect, a$ as RenderUINode, b0 as RequiredField, b1 as RequiredFieldSchema, b2 as ResolvedAsset, b3 as ResolvedAssetInput, b4 as ResolvedAssetSchema, b5 as ResolvedPatternProps, b6 as RestAuthConfig, b7 as RestAuthConfigSchema, b8 as RestServiceDef, b9 as RestServiceDefSchema, ba as SERVICE_TYPES, bb as ScalarEntityField, bc as SemanticAssetRef, bd as SemanticAssetRefInput, be as SemanticAssetRefSchema, m as ServiceDefinition, bf as ServiceDefinitionSchema, bg as ServiceParams, bh as ServiceParamsValue, S as ServiceRef, bi as ServiceRefObject, bj as ServiceRefObjectSchema, bk as ServiceRefSchema, bl as ServiceRefStringSchema, bm as ServiceType, bn as ServiceTypeSchema, bo as SetEffect, bp as SocketEvents, bq as SocketEventsSchema, br as SocketServiceDef, bs as SocketServiceDefSchema, bt as SpawnEffect, bu as StateInput, bv as StateMachine, bw as StateMachineInput, bx as StateMachineSchema, by as StateSchema, bz as SwapEffect, bA as TrainConfig, bB as TrainEffect, a as Trait, bC as TraitCategory, bD as TraitCategorySchema, T as TraitConfig, k as TraitConfigObject, bE as TraitConfigSchema, bF as TraitConfigValue, bG as TraitConfigValueSchema, bH as TraitDataEntity, bI as TraitDataEntitySchema, bJ as TraitEntityField, bK as TraitEntityFieldSchema, c as TraitEventContract, bL as TraitEventContractSchema, e as TraitEventListener, bM as TraitEventListenerSchema, bN as TraitInput, i as TraitRef, bO as TraitRefSchema, j as TraitReference, bP as TraitReferenceInput, bQ as TraitReferenceSchema, bR as TraitSchema, bS as TraitTick, bT as TraitTickSchema, bU as TraitUIBinding, bV as Transition, bW as TransitionInput, bX as TransitionSchema, bY as TypedEffect, U as UISlot, bZ as UISlotSchema, b_ as UI_SLOTS, b$ as VISUAL_STYLES, c0 as VisualStyle, c1 as VisualStyleSchema, c2 as WatchEffect, c3 as WatchOptions, c4 as atomic, c5 as callService, c6 as createAssetKey, c7 as deref, c8 as deriveCollection, c9 as despawn, ca as doEffects, cb as emit, cc as findService, cd as getDefaultAnimationsForRole, ce as getServiceNames, cf as getTraitConfig, cg as getTraitName, ch as hasService, ci as isCircuitEvent, cj as isEffect, ck as isInlineTrait, cl as isMcpService, cm as isRestService, cn as isRuntimeEntity, co as isSExprEffect, cp as isServiceReference, cq as isServiceReferenceObject, cr as isSingletonEntity, cs as isSocketService, ct as navigate, cu as normalizeTraitRef, cv as notify, cw as parseAssetKey, cx as parseServiceRef, cy as persist, cz as ref, cA as renderUI, cB as set, cC as spawn, cD as swap, cE as validateAssetAnimations, cF as watch } from './trait-BsnLnedq.js';
|
|
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, AppSummary, AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingContext, BindingRoot, BindingSchema, BridgeHealth, BusEvent, BusEventListener, BusEventSource, ChangeAuthor, ChangeSetDocument, ChangeSummary, CheckStatus, ContextExtensions, CreateFlow, DEFAULT_INTERACTION_MODELS, DeleteFlow, EdgeType, EditFlow, EffectPayload, EffectResult, EffectTrace, EventEmit, EventKey, EventListen, EventLogEntry, EvolutionDelta, GateState, GitHubLink, HistoryMeta, InteractionModel, InteractionModelInput, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, KnobPayload, KnownValidationErrorCode, LazyService, LineageEntry, ListInteraction, LivingEdge, LivingEffect, LivingEntity, LivingEvent, LivingField, LivingOrbital, LivingOrbitalSchema, LivingPage, LivingState, LivingTrait, LivingTransition, LivingValue, LivingVertex, OrbitalVerificationAPI, ParsedDesign, ParsedDomainContext, ParsedEmitDeclaration, ParsedEntity, ParsedEvent, ParsedListenDeclaration, ParsedOrbital, ParsedPage, ParsedState, ParsedStateMachine, ParsedTrait, ParsedTraitConfig, ParsedTransition, PatternTypeSchema, PersistActionName, Probability, ResolvedEntityBinding, ResolvedField, ResolvedNavigation, ResolvedPattern, ResolvedSection, ResolvedSectionEvent, ResolvedTraitBinding, ResolvedTraitDataEntity, ResolvedTraitEvent, ResolvedTraitGuard, ResolvedTraitListener, ResolvedTraitState, ResolvedTraitTick, ResolvedTraitTransition, ResolvedTraitUIBinding, SaveOptions, SaveResult, SemanticAnnotation, SemanticChangeKind, SemanticVector, ServerResponseTrace, ServiceAction, ServiceActionName, ServiceContract, ServiceEvents, SnapshotDocument, StatsView, StoreContract, StoreFilter, StoreFilterOp, 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
|
-
|
|
8
|
+
import { T as ToolArgs, J as JsonValue } from './types-CdXuGm8S.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-CdXuGm8S.js';
|
|
9
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';
|
|
10
|
-
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-CJgreUHY.js';
|
|
11
12
|
export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
|
|
12
13
|
export { BFSNode, BFSPathNode, EdgeWalkTransition, GraphTransition, GuardPayload, ReplayStep, ReplayTransition, StateEdge, WalkStep, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, collectReachableStates, constTruth, extractPayloadFieldRef, walkStatePairs } from './state-machine/index.js';
|
|
13
14
|
import 'zod';
|
|
@@ -99,6 +100,200 @@ interface RenderOverlayResult {
|
|
|
99
100
|
*/
|
|
100
101
|
declare function applyRenderOverlay(orbital: OrbitalDefinition, patches: readonly RenderUiPatch[]): RenderOverlayResult;
|
|
101
102
|
|
|
103
|
+
/**
|
|
104
|
+
* Agent-trace view-model — the canonical render shapes for the studio's
|
|
105
|
+
* agent-trace UI (ChatBar, SubagentTracePanel and their sub-components).
|
|
106
|
+
*
|
|
107
|
+
* Promoted out of apps/builder so the trace components can move into
|
|
108
|
+
* `@almadar/ui` without depending on `@almadar-io/agent-trace`,
|
|
109
|
+
* `@almadar-io/rabit`, or apps/builder-local hooks. These are pure
|
|
110
|
+
* presentation shapes — what the components read, nothing the runtime
|
|
111
|
+
* produces. Arbitrary tool payloads use core's `JsonValue` / `ToolArgs`
|
|
112
|
+
* (see `./types/json`), never `unknown`.
|
|
113
|
+
*
|
|
114
|
+
* @packageDocumentation
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
/** Conversational role rendered with an avatar/icon in the trace stream. */
|
|
118
|
+
type TraceAvatarRole = 'user' | 'assistant' | 'system';
|
|
119
|
+
/** File-mutation kind surfaced by a `file_operation` trace activity. */
|
|
120
|
+
type TraceFileOperation = 'ls' | 'read_file' | 'write_file' | 'edit_file';
|
|
121
|
+
/** A single line within a unified-diff hunk. */
|
|
122
|
+
interface TraceDiffLine {
|
|
123
|
+
type: 'add' | 'remove' | 'context';
|
|
124
|
+
content: string;
|
|
125
|
+
}
|
|
126
|
+
/** A unified-diff hunk rendered by a `schema_diff` trace activity. */
|
|
127
|
+
interface TraceDiffHunk {
|
|
128
|
+
oldStart: number;
|
|
129
|
+
oldLines: number;
|
|
130
|
+
newStart: number;
|
|
131
|
+
newLines: number;
|
|
132
|
+
lines: TraceDiffLine[];
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Page-level agent activity. Discriminated by `type`; each variant carries
|
|
136
|
+
* only the fields the trace components read. Mirrors apps/builder's local
|
|
137
|
+
* `Activity` union (useAgentChat.ts). Tool args are `ToolArgs`, tool results
|
|
138
|
+
* are `JsonValue` — no `unknown`.
|
|
139
|
+
*/
|
|
140
|
+
type TraceActivity = {
|
|
141
|
+
type: 'message';
|
|
142
|
+
role: TraceAvatarRole;
|
|
143
|
+
content: string;
|
|
144
|
+
timestamp: number;
|
|
145
|
+
isStreaming?: boolean;
|
|
146
|
+
} | {
|
|
147
|
+
type: 'tool_call';
|
|
148
|
+
tool: string;
|
|
149
|
+
args: ToolArgs;
|
|
150
|
+
timestamp: number;
|
|
151
|
+
isExecuting?: boolean;
|
|
152
|
+
} | {
|
|
153
|
+
type: 'tool_result';
|
|
154
|
+
tool: string;
|
|
155
|
+
result: JsonValue;
|
|
156
|
+
success: boolean;
|
|
157
|
+
timestamp: number;
|
|
158
|
+
} | {
|
|
159
|
+
type: 'file_operation';
|
|
160
|
+
operation: TraceFileOperation;
|
|
161
|
+
path: string;
|
|
162
|
+
success?: boolean;
|
|
163
|
+
timestamp: number;
|
|
164
|
+
} | {
|
|
165
|
+
type: 'schema_diff';
|
|
166
|
+
filePath: string;
|
|
167
|
+
hunks: TraceDiffHunk[];
|
|
168
|
+
timestamp: number;
|
|
169
|
+
} | {
|
|
170
|
+
type: 'error';
|
|
171
|
+
message: string;
|
|
172
|
+
code?: string;
|
|
173
|
+
timestamp: number;
|
|
174
|
+
} | {
|
|
175
|
+
type: 'coordinator_decision';
|
|
176
|
+
organism: string;
|
|
177
|
+
reason: string;
|
|
178
|
+
priorOrganism: string | null;
|
|
179
|
+
timestamp: number;
|
|
180
|
+
} | {
|
|
181
|
+
type: 'plan_committed';
|
|
182
|
+
orbitals: string[];
|
|
183
|
+
timestamp: number;
|
|
184
|
+
} | {
|
|
185
|
+
type: 'pending_question';
|
|
186
|
+
questionId: string;
|
|
187
|
+
question: string;
|
|
188
|
+
orbitalName?: string;
|
|
189
|
+
timestamp: number;
|
|
190
|
+
} | {
|
|
191
|
+
type: 'clarification_question';
|
|
192
|
+
level: 'organism' | 'molecule' | 'atom_trait';
|
|
193
|
+
scope: {
|
|
194
|
+
orbitalName?: string;
|
|
195
|
+
traitName?: string;
|
|
196
|
+
};
|
|
197
|
+
question: string;
|
|
198
|
+
candidates: Array<{
|
|
199
|
+
id: string;
|
|
200
|
+
label: string;
|
|
201
|
+
description: string;
|
|
202
|
+
whyThisFits: string;
|
|
203
|
+
}>;
|
|
204
|
+
skipDefault: string;
|
|
205
|
+
timestamp: number;
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* Trace-stream activity item, the shape `InlineActivityRow` /
|
|
209
|
+
* `InlineActivityStream` render. Mirrors `@almadar-io/agent-trace`'s
|
|
210
|
+
* `ActivityItem`. Distinct from `TraceActivity`: `message.role` includes
|
|
211
|
+
* `'tool'` and an optional `label`; it omits the coordinator/plan/question
|
|
212
|
+
* variants. Tool args are `ToolArgs`, results are `JsonValue`.
|
|
213
|
+
*/
|
|
214
|
+
type TraceActivityItem = {
|
|
215
|
+
type: 'message';
|
|
216
|
+
role: TraceAvatarRole | 'tool';
|
|
217
|
+
content: string;
|
|
218
|
+
timestamp: number;
|
|
219
|
+
isStreaming?: boolean;
|
|
220
|
+
label?: string;
|
|
221
|
+
} | {
|
|
222
|
+
type: 'tool_call';
|
|
223
|
+
tool: string;
|
|
224
|
+
args: ToolArgs;
|
|
225
|
+
timestamp: number;
|
|
226
|
+
isExecuting?: boolean;
|
|
227
|
+
} | {
|
|
228
|
+
type: 'tool_result';
|
|
229
|
+
tool: string;
|
|
230
|
+
result: JsonValue;
|
|
231
|
+
success: boolean;
|
|
232
|
+
timestamp: number;
|
|
233
|
+
} | {
|
|
234
|
+
type: 'file_operation';
|
|
235
|
+
operation: TraceFileOperation;
|
|
236
|
+
path: string;
|
|
237
|
+
success?: boolean;
|
|
238
|
+
timestamp: number;
|
|
239
|
+
} | {
|
|
240
|
+
type: 'schema_diff';
|
|
241
|
+
filePath: string;
|
|
242
|
+
hunks: TraceDiffHunk[];
|
|
243
|
+
timestamp: number;
|
|
244
|
+
} | {
|
|
245
|
+
type: 'error';
|
|
246
|
+
message: string;
|
|
247
|
+
code?: string;
|
|
248
|
+
timestamp: number;
|
|
249
|
+
};
|
|
250
|
+
/** One progress entry within a subagent's running log. */
|
|
251
|
+
interface TraceSubagentMessage {
|
|
252
|
+
message: string;
|
|
253
|
+
tool?: string;
|
|
254
|
+
timestamp: number;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Live subagent state rendered by `SubagentRow` / `SubagentRichCard` /
|
|
258
|
+
* `OrbitalGroup`. Mirrors apps/builder's `SubagentState`. `orbitalName` is
|
|
259
|
+
* the canvas-focus filter key.
|
|
260
|
+
*/
|
|
261
|
+
interface TraceSubagent {
|
|
262
|
+
id: string;
|
|
263
|
+
name: string;
|
|
264
|
+
role: string;
|
|
265
|
+
orbitalName?: string;
|
|
266
|
+
parentId?: string;
|
|
267
|
+
status: 'running' | 'complete' | 'error';
|
|
268
|
+
task: string;
|
|
269
|
+
messages: TraceSubagentMessage[];
|
|
270
|
+
durationMs?: number;
|
|
271
|
+
}
|
|
272
|
+
/** A tool call emitted by an assistant `TraceChatMessage`. */
|
|
273
|
+
interface TraceChatMessageToolCall {
|
|
274
|
+
id: string;
|
|
275
|
+
name: string;
|
|
276
|
+
/** Parsed JSON arguments (the LLM emits a JSON string; stored parsed). */
|
|
277
|
+
args: ToolArgs;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Canonical coordinator conversation message rendered by `ChatMessageRow` /
|
|
281
|
+
* `CoordinatorConversation`. Mirrors rabit's tool-loop `ChatMessage`
|
|
282
|
+
* (role/content/toolCalls/toolCallId/toolName/reasoningContent).
|
|
283
|
+
*/
|
|
284
|
+
interface TraceChatMessage {
|
|
285
|
+
role: 'system' | 'user' | 'assistant' | 'tool';
|
|
286
|
+
content: string;
|
|
287
|
+
/** Present on assistant messages that called tools. */
|
|
288
|
+
toolCalls?: ReadonlyArray<TraceChatMessageToolCall>;
|
|
289
|
+
/** Present on tool messages — matches the `id` of the corresponding tool_call. */
|
|
290
|
+
toolCallId?: string;
|
|
291
|
+
/** Tool name on tool messages (cosmetic — helps tracing). */
|
|
292
|
+
toolName?: string;
|
|
293
|
+
/** Thinking-mode chain-of-thought (DeepSeek), echoed back on tool round-trips. */
|
|
294
|
+
reasoningContent?: string;
|
|
295
|
+
}
|
|
296
|
+
|
|
102
297
|
/**
|
|
103
298
|
* Schema Resolver
|
|
104
299
|
*
|
|
@@ -350,4 +545,4 @@ declare function summarizeOrbital(orbital: OrbitalDefinition): OrbitalDefinition
|
|
|
350
545
|
*/
|
|
351
546
|
declare function summarizeSchema(schema: OrbitalSchema): OrbitalSchema;
|
|
352
547
|
|
|
353
|
-
export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, type EditFocus, type EditFocusLevel, 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, OrbitalDefinition as ValidatedOrbital, applyRenderOverlay, categorizeRemovals, classifyWorkflow, clearSchemaCache, detectPageContentReduction, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, fingerprintNode, getEntity, getPage, getPages, getRemovals, getSchemaCacheStats, getTrait, hasSignificantPageReduction, insertChildAtPath, isDestructiveChange, navigatePatternPath, removeChildAtPath, replaceChildAtPath, requiresConfirmation, schemaToIR, setPropAtPath, summarizeOrbital, summarizeSchema };
|
|
548
|
+
export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, type EditFocus, type EditFocusLevel, 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, navigatePatternPath, removeChildAtPath, replaceChildAtPath, requiresConfirmation, schemaToIR, setPropAtPath, summarizeOrbital, summarizeSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { T as TraitConfig,
|
|
1
|
+
import { E as Expression, S as SExpr } from './expression-BUIi9ezJ.js';
|
|
2
|
+
import { T as TraitConfig, k as TraitConfigObject, S as ServiceRef, d as Entity, f as EntityField, g as EntityPersistence, i as TraitRef, l as EventPayloadField, C as ConfigFieldDeclaration, m as ServiceDefinition, a as Trait } from './trait-BsnLnedq.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { S as SExpr,
|
|
2
|
+
import { S as SExpr, c as EventPayload, E as Expression } from './expression-BUIi9ezJ.js';
|
|
3
3
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -6212,4 +6212,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6212
6212
|
} | undefined;
|
|
6213
6213
|
}>]>;
|
|
6214
6214
|
|
|
6215
|
-
export {
|
|
6215
|
+
export { type EntityData as $, type AgentEffect as A, type AssetMapping as B, type ConfigFieldDeclaration as C, type AssetMappingInput as D, type Effect as E, AssetMappingSchema as F, type AssetUrl as G, type AtomicEffect as H, type CallServiceConfig as I, type CallServiceEffect as J, type CheckpointLoadEffect as K, type CheckpointSaveEffect as L, ConfigFieldDeclarationSchema as M, type DeclaredTraitConfig as N, DeclaredTraitConfigSchema as O, type DerefEffect as P, type DespawnEffect as Q, type RenderBinding as R, type ServiceRef as S, type TraitConfig as T, type UISlot as U, type DoEffect as V, ENTITY_ROLES as W, type EffectInput as X, EffectSchema as Y, type EmitConfig as Z, type EmitEffect as _, type Trait as a, type RenderUINode as a$, type EntityFieldContract as a0, EntityFieldContractSchema as a1, type EntityFieldInput as a2, EntityFieldSchema as a3, EntityPersistenceSchema as a4, type EntityRole as a5, EntityRoleSchema as a6, EntitySchema as a7, type EntityWith as a8, type EnumEntityField as a9, type ListenSource as aA, ListenSourceSchema as aB, type LogEffect as aC, type McpServiceDef as aD, McpServiceDefSchema as aE, type NavigateEffect as aF, type NnConfig as aG, type NnLayer as aH, type NotifyEffect as aI, type OrbitalEntity as aJ, type OrbitalEntityInput as aK, OrbitalEntitySchema as aL, type OrbitalTraitRef as aM, OrbitalTraitRefSchema as aN, type OsEffect as aO, type PayloadField as aP, PayloadFieldSchema as aQ, type PersistData as aR, type PersistEffect as aS, type PersistEmitConfig as aT, type PresentationType as aU, type RefEffect as aV, type RelationConfig as aW, RelationConfigSchema as aX, type RelationEntityField as aY, type RenderItemLambda as aZ, type RenderUIConfig as a_, type EvaluateConfig as aa, type EvaluateEffect as ab, type Event as ac, type EventInput as ad, EventPayloadFieldSchema as ae, EventSchema as af, type EventScope as ag, EventScopeSchema as ah, type FetchEffect as ai, type FetchOptions as aj, type FetchResult as ak, type Field as al, type FieldFormat as am, FieldFormatSchema as an, FieldSchema as ao, type FieldType as ap, FieldTypeSchema as aq, type FieldValue as ar, type ForwardConfig as as, type ForwardEffect as at, GAME_TYPES as au, type GameType as av, GameTypeSchema as aw, type Guard as ax, type GuardInput as ay, GuardSchema as az, type RenderUIEffect as b, VISUAL_STYLES as b$, type RequiredField as b0, RequiredFieldSchema as b1, type ResolvedAsset as b2, type ResolvedAssetInput as b3, ResolvedAssetSchema as b4, type ResolvedPatternProps as b5, type RestAuthConfig as b6, RestAuthConfigSchema as b7, type RestServiceDef as b8, RestServiceDefSchema as b9, type TrainConfig as bA, type TrainEffect as bB, type TraitCategory as bC, TraitCategorySchema as bD, TraitConfigSchema as bE, type TraitConfigValue as bF, TraitConfigValueSchema as bG, type TraitDataEntity as bH, TraitDataEntitySchema as bI, type TraitEntityField as bJ, TraitEntityFieldSchema as bK, TraitEventContractSchema as bL, TraitEventListenerSchema as bM, type TraitInput as bN, TraitRefSchema as bO, type TraitReferenceInput as bP, TraitReferenceSchema as bQ, TraitSchema as bR, type TraitTick as bS, TraitTickSchema as bT, type TraitUIBinding as bU, type Transition as bV, type TransitionInput as bW, TransitionSchema as bX, type TypedEffect as bY, UISlotSchema as bZ, UI_SLOTS as b_, SERVICE_TYPES as ba, type ScalarEntityField as bb, type SemanticAssetRef as bc, type SemanticAssetRefInput as bd, SemanticAssetRefSchema as be, ServiceDefinitionSchema as bf, type ServiceParams as bg, type ServiceParamsValue as bh, type ServiceRefObject as bi, ServiceRefObjectSchema as bj, ServiceRefSchema as bk, ServiceRefStringSchema as bl, type ServiceType as bm, ServiceTypeSchema as bn, type SetEffect as bo, type SocketEvents as bp, SocketEventsSchema as bq, type SocketServiceDef as br, SocketServiceDefSchema as bs, type SpawnEffect as bt, type StateInput as bu, type StateMachine as bv, type StateMachineInput as bw, StateMachineSchema as bx, StateSchema as by, type SwapEffect as bz, type TraitEventContract as c, type VisualStyle as c0, VisualStyleSchema as c1, type WatchEffect as c2, type WatchOptions as c3, atomic as c4, callService as c5, createAssetKey as c6, deref as c7, deriveCollection as c8, despawn as c9, renderUI as cA, set as cB, spawn as cC, swap as cD, validateAssetAnimations as cE, watch as cF, type TraitScope as cG, doEffects as ca, emit as cb, findService as cc, getDefaultAnimationsForRole as cd, getServiceNames as ce, getTraitConfig as cf, getTraitName as cg, hasService as ch, isCircuitEvent as ci, isEffect as cj, isInlineTrait as ck, isMcpService as cl, isRestService as cm, isRuntimeEntity as cn, isSExprEffect as co, isServiceReference as cp, isServiceReferenceObject as cq, isSingletonEntity as cr, isSocketService as cs, navigate as ct, normalizeTraitRef as cu, notify as cv, parseAssetKey as cw, parseServiceRef as cx, persist as cy, ref as cz, type Entity as d, type TraitEventListener as e, type EntityField as f, type EntityPersistence as g, type EntityRow as h, type TraitRef as i, type TraitReference as j, type TraitConfigObject as k, type EventPayloadField as l, type ServiceDefinition as m, type State as n, type AnimationDef as o, type AnimationDefInput as p, AnimationDefSchema as q, type ArrayEntityField as r, type AssetCatalog as s, type AssetCatalogEntry as t, type AssetCatalogEntryInput as u, AssetCatalogEntrySchema as v, AssetCatalogSchema as w, type AssetMap as x, type AssetMapInput as y, AssetMapSchema as z };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } 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, 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, 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, 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, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, 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 {
|
|
4
|
-
export { A as AgentEffect,
|
|
5
|
-
import {
|
|
6
|
-
export { C as CORE_BINDINGS, a as CoreBinding,
|
|
1
|
+
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-Cq9DUnFw.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, 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, 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, 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, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, 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-Cq9DUnFw.js';
|
|
3
|
+
import { bg as ServiceParams, a as Trait, d as Entity, h as EntityRow, ar as FieldValue, N as DeclaredTraitConfig, T as TraitConfig, E as Effect, C as ConfigFieldDeclaration, n as State, bV as Transition, f as EntityField, ac as Event, bF as TraitConfigValue, g as EntityPersistence, bC as TraitCategory, cG as TraitScope } from '../trait-BsnLnedq.js';
|
|
4
|
+
export { A as AgentEffect, o as AnimationDef, p as AnimationDefInput, q as AnimationDefSchema, r as ArrayEntityField, s as AssetCatalog, t as AssetCatalogEntry, u as AssetCatalogEntryInput, v as AssetCatalogEntrySchema, w as AssetCatalogSchema, x as AssetMap, y as AssetMapInput, z as AssetMapSchema, B as AssetMapping, D as AssetMappingInput, F as AssetMappingSchema, G as AssetUrl, H as AtomicEffect, I as CallServiceConfig, J as CallServiceEffect, K as CheckpointLoadEffect, L as CheckpointSaveEffect, M as ConfigFieldDeclarationSchema, O as DeclaredTraitConfigSchema, P as DerefEffect, Q as DespawnEffect, V as DoEffect, W as ENTITY_ROLES, X as EffectInput, Y as EffectSchema, Z as EmitConfig, _ as EmitEffect, $ as EntityData, a0 as EntityFieldContract, a1 as EntityFieldContractSchema, a2 as EntityFieldInput, a3 as EntityFieldSchema, a4 as EntityPersistenceSchema, a5 as EntityRole, a6 as EntityRoleSchema, a7 as EntitySchema, a8 as EntityWith, a9 as EnumEntityField, aa as EvaluateConfig, ab as EvaluateEffect, ad as EventInput, l as EventPayloadField, ae as EventPayloadFieldSchema, af as EventSchema, ag as EventScope, ah as EventScopeSchema, ai as FetchEffect, aj as FetchOptions, ak as FetchResult, al as Field, am as FieldFormat, an as FieldFormatSchema, ao as FieldSchema, ap as FieldType, aq as FieldTypeSchema, as as ForwardConfig, at as ForwardEffect, au as GAME_TYPES, av as GameType, aw as GameTypeSchema, ax as Guard, ay as GuardInput, az as GuardSchema, aA as ListenSource, aB as ListenSourceSchema, aC as LogEffect, aD as McpServiceDef, aE as McpServiceDefSchema, aF as NavigateEffect, aG as NnConfig, aH as NnLayer, aI as NotifyEffect, aJ as OrbitalEntity, aK as OrbitalEntityInput, aL as OrbitalEntitySchema, aM as OrbitalTraitRef, aN as OrbitalTraitRefSchema, aO as OsEffect, aP as PayloadField, aQ as PayloadFieldSchema, aR as PersistData, aS as PersistEffect, aT as PersistEmitConfig, aU as PresentationType, aV as RefEffect, aW as RelationConfig, aX as RelationConfigSchema, aY as RelationEntityField, R as RenderBinding, aZ as RenderItemLambda, a_ as RenderUIConfig, b as RenderUIEffect, a$ as RenderUINode, b0 as RequiredField, b1 as RequiredFieldSchema, b2 as ResolvedAsset, b3 as ResolvedAssetInput, b4 as ResolvedAssetSchema, b5 as ResolvedPatternProps, b6 as RestAuthConfig, b7 as RestAuthConfigSchema, b8 as RestServiceDef, b9 as RestServiceDefSchema, ba as SERVICE_TYPES, bb as ScalarEntityField, bc as SemanticAssetRef, bd as SemanticAssetRefInput, be as SemanticAssetRefSchema, m as ServiceDefinition, bf as ServiceDefinitionSchema, bh as ServiceParamsValue, S as ServiceRef, bi as ServiceRefObject, bj as ServiceRefObjectSchema, bk as ServiceRefSchema, bl as ServiceRefStringSchema, bm as ServiceType, bn as ServiceTypeSchema, bo as SetEffect, bp as SocketEvents, bq as SocketEventsSchema, br as SocketServiceDef, bs as SocketServiceDefSchema, bt as SpawnEffect, bu as StateInput, bv as StateMachine, bw as StateMachineInput, bx as StateMachineSchema, by as StateSchema, bz as SwapEffect, bA as TrainConfig, bB as TrainEffect, bD as TraitCategorySchema, k as TraitConfigObject, bE as TraitConfigSchema, bG as TraitConfigValueSchema, bH as TraitDataEntity, bI as TraitDataEntitySchema, bJ as TraitEntityField, bK as TraitEntityFieldSchema, c as TraitEventContract, bL as TraitEventContractSchema, e as TraitEventListener, bM as TraitEventListenerSchema, bN as TraitInput, i as TraitRef, bO as TraitRefSchema, j as TraitReference, bP as TraitReferenceInput, bQ as TraitReferenceSchema, bR as TraitSchema, bS as TraitTick, bT as TraitTickSchema, bU as TraitUIBinding, bW as TransitionInput, bX as TransitionSchema, bY as TypedEffect, U as UISlot, bZ as UISlotSchema, b_ as UI_SLOTS, b$ as VISUAL_STYLES, c0 as VisualStyle, c1 as VisualStyleSchema, c2 as WatchEffect, c3 as WatchOptions, c4 as atomic, c5 as callService, c6 as createAssetKey, c7 as deref, c8 as deriveCollection, c9 as despawn, ca as doEffects, cb as emit, cc as findService, cd as getDefaultAnimationsForRole, ce as getServiceNames, cf as getTraitConfig, cg as getTraitName, ch as hasService, ci as isCircuitEvent, cj as isEffect, ck as isInlineTrait, cl as isMcpService, cm as isRestService, cn as isRuntimeEntity, co as isSExprEffect, cp as isServiceReference, cq as isServiceReferenceObject, cr as isSingletonEntity, cs as isSocketService, ct as navigate, cu as normalizeTraitRef, cv as notify, cw as parseAssetKey, cx as parseServiceRef, cy as persist, cz as ref, cA as renderUI, cB as set, cC as spawn, cD as swap, cE as validateAssetAnimations, cF as watch } from '../trait-BsnLnedq.js';
|
|
5
|
+
import { d as EventPayloadValue, c as EventPayload, L as LogMeta, S as SExpr, b as EvalContext } from '../expression-BUIi9ezJ.js';
|
|
6
|
+
export { C as CORE_BINDINGS, a as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, P as ParsedBinding, 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';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
9
9
|
export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
|
|
10
|
-
import { c as FactoryConfigTier } from '../types
|
|
11
|
-
export {
|
|
10
|
+
import { c as FactoryConfigTier } from '../types-CdXuGm8S.js';
|
|
11
|
+
export { l as JsonObject, J as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-CdXuGm8S.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* S-Expression Bindings
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as TraitEventListener, f as EntityField, g as EntityPersistence, j as TraitReference } from './trait-
|
|
1
|
+
import { e as TraitEventListener, f as EntityField, g as EntityPersistence, j as TraitReference } from './trait-BsnLnedq.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* JSON primitives — the universal "data crossed a boundary" type.
|
|
@@ -456,4 +456,4 @@ type FactoryParamValue = string | number | boolean | ReadonlyArray<FactoryParamV
|
|
|
456
456
|
readonly [key: string]: FactoryParamValue;
|
|
457
457
|
};
|
|
458
458
|
|
|
459
|
-
export { type FactoryCallSite as F, type
|
|
459
|
+
export { type FactoryCallSite as F, type JsonValue as J, type OwnershipOverlayEntry as O, type PresentationNavItem as P, type RuleOverlay as R, type SchemaFieldType as S, type ToolArgs as T, type FactoryCallSiteParams as a, type FactoryConfigParam as b, type FactoryConfigTier as c, type FactoryEntitySignature as d, type FactoryEventSignature as e, type FactoryPageSignature as f, type FactoryParamValue as g, type FactorySignature as h, type FactorySignatureCatalog as i, type FactorySignatureEntityField as j, type FactoryTraitSignature as k, type JsonObject as l, type JsonSchema as m, type JsonSchemaType as n, type PresentationOverlay as o, type RuleOverlayEntry as p, type TraitOverlay as q, type TraitOverlayEntry as r, type TraitOverlayListener as s, isJsonArray as t, isJsonObject as u, isJsonPrimitive as v };
|