@almadar/core 10.20.0 → 10.21.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/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { q as State, F as FieldValue, h as EntityRow } from './trait-BcRvHKLW.js
4
4
  export { A as ANIMATION_NAMES, r as ASSET_ASPECTS, s as ASSET_DIMENSIONS, t as AgentEffect, u as AnimationDef, v as AnimationDefInput, w as AnimationDefSchema, x as AnimationName, y as AnimationNameSchema, z as ArrayEntityField, B as Asset, D as AssetAspect, G as AssetAspectSchema, H as AssetCatalog, I as AssetCatalogEntry, J as AssetCatalogEntryInput, K as AssetCatalogEntrySchema, L as AssetCatalogSchema, M as AssetDimension, N as AssetDimensionSchema, O as AssetSchema, P as AssetUrl, Q as AtomicEffect, V as CAMERA_MODES, W as CallServiceConfig, X as CallServiceEffect, C as CallSiteConfig, p as CallSiteConfigEntry, Y as Camera, Z as CameraMode, _ as CameraModeSchema, $ as CameraSchema, a0 as CheckpointLoadEffect, a1 as CheckpointSaveEffect, n as ConfigFieldDeclaration, a2 as ConfigFieldDeclarationSchema, a3 as DeclaredTraitConfig, a4 as DeclaredTraitConfigSchema, a5 as DerefEffect, a6 as DespawnEffect, a7 as DoEffect, a8 as ENTITY_ROLES, E as Effect, a9 as EffectInput, aa as EffectSchema, ab as EmitConfig, ac as EmitEffect, d as Entity, ad as EntityData, f as EntityField, ae as EntityFieldContract, af as EntityFieldContractSchema, ag as EntityFieldInput, ah as EntityFieldSchema, g as EntityPersistence, ai as EntityPersistenceSchema, aj as EntityRole, ak as EntityRoleSchema, al as EntitySchema, am as EntityWith, an as EnumEntityField, ao as EvaluateConfig, ap as EvaluateEffect, aq as Event, ar as EventInput, m as EventPayloadField, as as EventPayloadFieldSchema, at as EventSchema, au as EventScope, av as EventScopeSchema, aw as FetchEffect, ax as FetchOptions, ay as FetchResult, az as Field, aA as FieldFormat, aB as FieldFormatSchema, aC as FieldSchema, aD as FieldType, aE as FieldTypeSchema, aF as ForwardConfig, aG as ForwardEffect, aH as Guard, aI as GuardInput, aJ as GuardSchema, aK as ListenSource, aL as ListenSourceSchema, aM as LogEffect, aN as McpServiceDef, aO as McpServiceDefSchema, aP as NavigateEffect, aQ as NnConfig, aR as NnLayer, aS as NotifyEffect, aT as OrbitalEntity, aU as OrbitalEntityInput, aV as OrbitalEntitySchema, aW as OrbitalTraitRef, aX as OrbitalTraitRefSchema, aY as OsEffect, aZ as PayloadField, a_ as PayloadFieldSchema, a$ as PersistData, b0 as PersistEffect, b1 as PersistEmitConfig, b2 as PresentationType, b3 as RefEffect, k as RelationConfig, b4 as RelationConfigSchema, b5 as RelationEntityField, R as RenderBinding, b6 as RenderItemLambda, b as RenderUIEffect, b7 as RenderUINode, b8 as RequiredField, b9 as RequiredFieldSchema, ba as ResolvedPatternProps, bb as RestAuthConfig, bc as RestAuthConfigSchema, bd as RestServiceDef, be as RestServiceDefSchema, bf as SERVICE_TYPES, bg as SPRITE_DIRECTIONS, bh as ScalarEntityField, bi as ScenePos, bj as ScenePosSchema, bk as SemanticAssetRef, bl as SemanticAssetRefInput, bm as SemanticAssetRefSchema, o as ServiceDefinition, bn as ServiceDefinitionSchema, bo as ServiceParams, bp as ServiceParamsValue, S as ServiceRef, bq as ServiceRefObject, br as ServiceRefObjectSchema, bs as ServiceRefSchema, bt as ServiceRefStringSchema, bu as ServiceType, bv as ServiceTypeSchema, bw as SetEffect, bx as SocketEvents, by as SocketEventsSchema, bz as SocketServiceDef, bA as SocketServiceDefSchema, bB as SpawnEffect, bC as SpriteDirection, bD as SpriteDirectionSchema, bE as SpriteSheetAtlas, bF as SpriteSheetAtlasInput, bG as SpriteSheetAtlasSchema, bH as StateInput, bI as StateMachine, bJ as StateMachineInput, bK as StateMachineSchema, bL as StateSchema, bM as SubTexture, bN as SubTextureSchema, bO as SwapEffect, bP as TextureAtlas, bQ as TextureAtlasSchema, bR as Tilesheet, bS as TilesheetSchema, bT as TrainConfig, bU as TrainEffect, a as Trait, bV as TraitCategory, bW as TraitCategorySchema, T as TraitConfig, l as TraitConfigObject, bX as TraitConfigSchema, bY as TraitConfigValue, bZ as TraitConfigValueSchema, b_ as TraitDataEntity, b$ as TraitDataEntitySchema, c0 as TraitEntityField, c1 as TraitEntityFieldSchema, c as TraitEventContract, c2 as TraitEventContractSchema, e as TraitEventListener, c3 as TraitEventListenerSchema, c4 as TraitInput, i as TraitRef, c5 as TraitRefSchema, j as TraitReference, c6 as TraitReferenceInput, c7 as TraitReferenceSchema, c8 as TraitSchema, c9 as TraitTick, ca as TraitTickSchema, cb as TraitUIBinding, cc as Transition, cd as TransitionInput, ce as TransitionSchema, cf as TypedEffect, U as UISlot, cg as UISlotSchema, ch as UI_SLOTS, ci as VISUAL_STYLES, cj as VisualStyle, ck as VisualStyleSchema, cl as WatchEffect, cm as WatchOptions, cn as atomic, co as callService, cp as createAssetKey, cq as deref, cr as deriveCollection, cs as despawn, ct as doEffects, cu as emit, cv as findService, cw as getDefaultAnimationsForRole, cx as getServiceNames, cy as getTraitConfig, cz as getTraitName, cA as hasService, cB as isCallSiteConfigDeclaration, cC as isCircuitEvent, cD as isEffect, cE as isInlineTrait, cF as isMcpService, cG as isRestService, cH as isRuntimeEntity, cI as isSExprEffect, cJ as isServiceReference, cK as isServiceReferenceObject, cL as isSocketService, cM as navigate, cN as normalizeTraitRef, cO as notify, cP as parseAssetKey, cQ as parseServiceRef, cR as persist, cS as persistenceModeAllowsOverrides, cT as ref, cU as renderUI, cV as set, cW as spawn, cX as swap, cY as validateAssetAnimations, cZ as watch } from './trait-BcRvHKLW.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
- export { AgentCodeSearchResult, AgentCompactResult, AgentCompactStrategy, AgentContext, AgentGenerateOptions, AgentMemoryCategory, AgentMemoryRecord, 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, CompleteEvent, ComposeAllResult, ComposeChildrenResult, ContextExtensions, CreateFlow, DEFAULT_INTERACTION_MODELS, DeleteFlow, DispatchUpdatesResult, EdgeType, EditFlow, EffectPayload, EffectResult, EffectTrace, ErrorEvent, EventEmit, EventKey, EventListen, EventLogEntry, EvolutionDelta, ExecutePlanResult, 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, LlmCallToolsResult, LlmMessage, LlmTokenUsage, LlmToolCall, LlmToolDef, LoloEmitResult, MessageEvent, OrbitalAddedEvent, OrbitalSchemaCompleteEvent, OrbitalVerificationAPI, ParamsRepairEmittedEvent, ParsedDesign, ParsedDomainContext, ParsedEmitDeclaration, ParsedEntity, ParsedEvent, ParsedListenDeclaration, ParsedOrbital, ParsedPage, ParsedState, ParsedStateMachine, ParsedTrait, ParsedTraitConfig, ParsedTransition, PatternTypeSchema, PersistActionName, 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, SnapshotCreatedEvent, SnapshotDocument, StartEvent, StatsView, StoreContract, StoreFilter, StoreFilterOp, SubagentCompleteEvent, SubagentEvent, SubagentProgressEvent, SubagentStartEvent, TodoActivityType, TodoDetailEvent, TodoUpdateEvent, ToolCallEvent, ToolResultEvent, TraitFieldRef, TraitFieldRefSchema, TraitStateSnapshot, TransitionFrom, TransitionTrace, Unsubscribe, ValidateResult, 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';
7
+ export { AgentCodeSearchResult, AgentCompactResult, AgentCompactStrategy, AgentContext, AgentGenerateOptions, AgentMemoryCategory, AgentMemoryRecord, 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, CompleteEvent, ComposeAllResult, ComposeChildrenResult, ContextExtensions, CreateFlow, DEFAULT_INTERACTION_MODELS, DeleteFlow, DispatchUpdatesResult, EdgeType, EditFlow, EffectPayload, EffectResult, EffectTrace, ErrorEvent, EventEmit, EventKey, EventListen, EventLogEntry, EvolutionDelta, ExecutePlanResult, FileOperationEvent, FileWrittenEvent, GateState, GenerationLogEvent, GitHubLink, 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, 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, SnapshotCreatedEvent, SnapshotDocument, 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, 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-DBzaYmuJ.js';
9
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-DBzaYmuJ.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';
@@ -651,6 +651,66 @@ interface AgentContext {
651
651
  label(text: string): void;
652
652
  searchCode(query: string, language?: string): Promise<AgentCodeSearchResult[]>;
653
653
  }
654
+ /** Backs the llm/* operators (6 ops). */
655
+ interface LlmContext {
656
+ generate(prompt: string, options?: {
657
+ json?: boolean;
658
+ maxTokens?: number;
659
+ provider?: string;
660
+ model?: string;
661
+ }): Promise<string>;
662
+ callTools(messages: LlmMessage[], tools: LlmToolDef[]): Promise<LlmCallToolsResult>;
663
+ embed(texts: string[]): Promise<number[][]>;
664
+ tokenCount(): number;
665
+ switchProvider(provider: string, model?: string): void;
666
+ compact(strategy?: string): Promise<{
667
+ before: number;
668
+ after: number;
669
+ }>;
670
+ }
671
+ /** Backs the workspace/* operators (11 ops). */
672
+ interface WorkspaceContext {
673
+ readOrbital(name: string): Promise<unknown>;
674
+ writeOrbital(name: string, content: unknown): Promise<void>;
675
+ readFile(path: string): Promise<string>;
676
+ writeFile(path: string, content: string): Promise<void>;
677
+ exists(path: string): boolean;
678
+ listOrbitals(): string[];
679
+ readSchema(): Promise<unknown>;
680
+ writeSchema(schema: unknown): Promise<void>;
681
+ readPlan(): Promise<unknown>;
682
+ writePlan(plan: unknown): Promise<void>;
683
+ archiveOrbital(name: string): Promise<void>;
684
+ }
685
+ /** Backs the session/* operators (9 ops). */
686
+ interface SessionContext {
687
+ readSpec(orbitalName: string): Promise<unknown>;
688
+ writeSpec(orbitalName: string, spec: unknown): Promise<void>;
689
+ readMemory(orbitalName: string): Promise<AgentMemoryRecord[]>;
690
+ writeMemory(orbitalName: string, memory: AgentMemoryRecord[]): Promise<void>;
691
+ readHistory(orbitalName: string): Promise<unknown[]>;
692
+ appendHistory(orbitalName: string, entry: unknown): Promise<void>;
693
+ readErrors(orbitalName: string): Promise<string[]>;
694
+ writeErrors(orbitalName: string, errors: string[]): Promise<void>;
695
+ readAnalysis(orbitalName: string): Promise<unknown>;
696
+ }
697
+ /** Backs the memory/* operators (3 ops). */
698
+ interface MemoryContext {
699
+ recall(query: string, limit?: number): AgentMemoryRecord[];
700
+ store(content: string, category?: string, strength?: number): Promise<string>;
701
+ list(category?: string): AgentMemoryRecord[];
702
+ }
703
+ /** Backs the trace/* operators (2 ops). */
704
+ interface TraceContext {
705
+ emit(event: string, payload?: unknown): void;
706
+ log(message: string, level?: 'log' | 'warn' | 'error', data?: unknown): void;
707
+ }
708
+ /** Backs the integration/* operators (3 ops). */
709
+ interface IntegrationContext {
710
+ http(method: string, url: string, body?: unknown, headers?: Record<string, string>): Promise<unknown>;
711
+ githubGetRepo(owner: string, repo: string): Promise<unknown>;
712
+ githubCreateIssue(owner: string, repo: string, title: string, body?: string): Promise<unknown>;
713
+ }
654
714
 
655
715
  /**
656
716
  * Interaction Model Types
@@ -2582,4 +2642,4 @@ interface ParsedDesign {
2582
2642
  };
2583
2643
  }
2584
2644
 
2585
- export { type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnnotationTier, type AppCreatedEvent, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BuilderResult, type BusEvent, type BusEventListener, type BusEventSource, type CancelledEvent, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type ChangesetRecordedEvent, type ChangesetValue, type CheckStatus, type CompleteEvent, type ComposeAllResult, type ComposeChildrenResult, ConfigFieldDeclaration, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfig, type DeleteFlow, type DispatchUpdatesResult, DomainContext, type EdgeType, type EditFlow, Effect, type EffectPayload, type EffectResult, type EffectTrace, Entity, EntityField, EntityPersistence, EntityRow, type ErrorEvent, EvalContext, Event, type EventEmit, type EventKey, type EventListen, type EventLogEntry, EventPayload, EventPayloadValue, type EvolutionDelta, type ExecutePlanResult, FieldValue, type FileOperationEvent, type FileWrittenEvent, Orbital as FullOrbitalUnit, type GateState, type GenerationLogEvent, type GitHubLink, type HistoryMeta, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type InterruptEvent, JsonObject, JsonValue, KNOWN_VALIDATION_ERROR_CODES, type KnobPayload, type KnownValidationErrorCode, type LazyService, type LineageEntry, type ListInteraction, type LivingEdge, type LivingEffect, type LivingEntity, type LivingEvent, type LivingField, type LivingOrbital, type LivingOrbitalSchema, type LivingPage, type LivingState, type LivingTrait, type LivingTransition, type LivingValue, type LivingVertex, type LlmCallToolsResult, type LlmMessage, type LlmTokenUsage, type LlmToolCall, type LlmToolDef, LogMeta, type LoloEmitResult, type MessageEvent, Orbital, type OrbitalAddedEvent, OrbitalDefinition, OrbitalSchema, type OrbitalSchemaCompleteEvent, type OrbitalVerificationAPI, Page, type PageContentReduction, PageTraitRef, type ParamsRepairEmittedEvent, type ParsedDesign, type ParsedDomainContext, type ParsedEmitDeclaration, type ParsedEntity, type ParsedEvent, type ParsedListenDeclaration, type ParsedOrbital, type ParsedPage, type ParsedState, type ParsedStateMachine, type ParsedTrait, type ParsedTraitConfig, type ParsedTransition, PatternTypeSchema, type PersistActionName, type PlannerResult, type Probability, type ProcessCompleteEvent, type ProcessErrorEvent, type ProcessRepairCompleteEvent, type ProcessRepairEvent, type ProcessStartEvent, type RepairResult, type ResolvedEntity, type ResolvedEntityBinding, type ResolvedField, type ResolvedIR, type ResolvedNavigation, type ResolvedPage, type ResolvedPattern, type ResolvedSection, type ResolvedSectionEvent, type ResolvedTrait, type ResolvedTraitBinding, type ResolvedTraitDataEntity, type ResolvedTraitEvent, type ResolvedTraitGuard, type ResolvedTraitListener, type ResolvedTraitState, type ResolvedTraitTick, type ResolvedTraitTransition, type ResolvedTraitUIBinding, SExpr, type SSEEvent, type SSEEventBase, type SSEEventType, type SaveOptions, type SaveResult, type SchemaChange, type SchemaPhaseUpdateEvent, type SchemaPhaseValidatedEvent, type SchemaUpdateEvent, type SemanticAnnotation, type SemanticChangeKind, type SemanticSchemaChange, type SemanticVector, type ServerResponseTrace, type ServiceAction, type ServiceActionName, type ServiceCallResult, type ServiceContract, type ServiceEvents, ServiceParams, type SnapshotCreatedEvent, type SnapshotDocument, type StartEvent, State, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, type SubagentCompleteEvent, type SubagentEvent, type SubagentProgressEvent, type SubagentStartEvent, type TodoActivityType, type TodoDetailEvent, type TodoUpdateEvent, ToolArgs, type ToolCallEvent, type ToolResultEvent, Trait, TraitCategory, TraitConfig, TraitConfigValue, type TraitFieldRef, TraitFieldRefSchema, type TraitStateSnapshot, Transition, type TransitionFrom, type TransitionTrace, type Unsubscribe, type ValidateResult, OrbitalDefinition as ValidatedOrbital, type ValidationDocument, type ValidationError, type ValidationErrorCode, type ValidationIssue, type ValidationMeta, type ValidationResult, type ValidationResults, type VerificationCheck, type VerificationSnapshot, type VerificationSummary, type VertexId, type VertexPayload, type VertexType, type ViewFlow, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, getAllPatternTypes, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isResolvedIR, isTraitFieldRef, toBindingRoot, validateBindingInContext, widenTier };
2645
+ export { type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnnotationTier, type AppCreatedEvent, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BuilderResult, type BusEvent, type BusEventListener, type BusEventSource, type CancelledEvent, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type ChangesetRecordedEvent, type ChangesetValue, type CheckStatus, type CompleteEvent, type ComposeAllResult, type ComposeChildrenResult, ConfigFieldDeclaration, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfig, type DeleteFlow, type DispatchUpdatesResult, DomainContext, type EdgeType, type EditFlow, Effect, type EffectPayload, type EffectResult, type EffectTrace, Entity, EntityField, EntityPersistence, EntityRow, type ErrorEvent, EvalContext, Event, type EventEmit, type EventKey, type EventListen, type EventLogEntry, EventPayload, EventPayloadValue, type EvolutionDelta, type ExecutePlanResult, FieldValue, type FileOperationEvent, type FileWrittenEvent, Orbital as FullOrbitalUnit, type GateState, type GenerationLogEvent, type GitHubLink, type HistoryMeta, type IntegrationContext, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type InterruptEvent, JsonObject, JsonValue, KNOWN_VALIDATION_ERROR_CODES, type KnobPayload, type KnownValidationErrorCode, type LazyService, type LineageEntry, type ListInteraction, type LivingEdge, type LivingEffect, type LivingEntity, type LivingEvent, type LivingField, type LivingOrbital, type LivingOrbitalSchema, type LivingPage, type LivingState, type LivingTrait, type LivingTransition, type LivingValue, type LivingVertex, type LlmCallToolsResult, type LlmContext, type LlmMessage, type LlmTokenUsage, type LlmToolCall, type LlmToolDef, LogMeta, type LoloEmitResult, type MemoryContext, type MessageEvent, Orbital, type OrbitalAddedEvent, OrbitalDefinition, OrbitalSchema, type OrbitalSchemaCompleteEvent, type OrbitalVerificationAPI, Page, type PageContentReduction, PageTraitRef, type ParamsRepairEmittedEvent, type ParsedDesign, type ParsedDomainContext, type ParsedEmitDeclaration, type ParsedEntity, type ParsedEvent, type ParsedListenDeclaration, type ParsedOrbital, type ParsedPage, type ParsedState, type ParsedStateMachine, type ParsedTrait, type ParsedTraitConfig, type ParsedTransition, PatternTypeSchema, type PersistActionName, type PlannerResult, type Probability, type ProcessCompleteEvent, type ProcessErrorEvent, type ProcessRepairCompleteEvent, type ProcessRepairEvent, type ProcessStartEvent, type RepairResult, type ResolvedEntity, type ResolvedEntityBinding, type ResolvedField, type ResolvedIR, type ResolvedNavigation, type ResolvedPage, type ResolvedPattern, type ResolvedSection, type ResolvedSectionEvent, type ResolvedTrait, type ResolvedTraitBinding, type ResolvedTraitDataEntity, type ResolvedTraitEvent, type ResolvedTraitGuard, type ResolvedTraitListener, type ResolvedTraitState, type ResolvedTraitTick, type ResolvedTraitTransition, type ResolvedTraitUIBinding, SExpr, type SSEEvent, type SSEEventBase, type SSEEventType, type SaveOptions, type SaveResult, type SchemaChange, type SchemaPhaseUpdateEvent, type SchemaPhaseValidatedEvent, type SchemaUpdateEvent, type SemanticAnnotation, type SemanticChangeKind, type SemanticSchemaChange, type SemanticVector, type ServerResponseTrace, type ServiceAction, type ServiceActionName, type ServiceCallResult, type ServiceContract, type ServiceEvents, ServiceParams, type SessionContext, type SnapshotCreatedEvent, type SnapshotDocument, type StartEvent, State, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, type SubagentCompleteEvent, type SubagentEvent, type SubagentProgressEvent, type SubagentStartEvent, type TodoActivityType, type TodoDetailEvent, type TodoUpdateEvent, ToolArgs, type ToolCallEvent, type ToolResultEvent, type TraceContext, Trait, TraitCategory, TraitConfig, TraitConfigValue, type TraitFieldRef, TraitFieldRefSchema, type TraitStateSnapshot, Transition, type TransitionFrom, type TransitionTrace, type Unsubscribe, type ValidateResult, OrbitalDefinition as ValidatedOrbital, type ValidationDocument, type ValidationError, type ValidationErrorCode, type ValidationIssue, type ValidationMeta, type ValidationResult, type ValidationResults, type VerificationCheck, type VerificationSnapshot, type VerificationSummary, type VertexId, type VertexPayload, type VertexType, type ViewFlow, type WorkspaceContext, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, getAllPatternTypes, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isResolvedIR, isTraitFieldRef, toBindingRoot, validateBindingInContext, widenTier };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/core",
3
- "version": "10.20.0",
3
+ "version": "10.21.0",
4
4
  "description": "Core schema types and definitions for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",