@almadar/core 10.29.0 → 10.31.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.
@@ -1,14 +1,13 @@
1
- import { M as MakeTraitRefOpts, b4 as PageTraitRef, O as OrbitalSchema, a6 as EventWiringEntry, aq as LayoutStrategy, bi as ThemeDefinition, a7 as Orbital, aZ as Page, K as DomainContext, a as OrbitalDefinition } 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, 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, 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, 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, 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, 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, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, 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, 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, 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 { E as EntityField, a as EntityPersistence, F as FieldValue, c as Entity, b as EntityRow, A as AnyPatternConfig } 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, 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, H as EntityData, I as EntityFieldInput, J as EntityFieldSchema, 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, 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';
1
+ import { M as MakeTraitRefOpts, b4 as PageTraitRef, O as OrbitalSchema, a6 as EventWiringEntry, aq as LayoutStrategy, bi as ThemeDefinition, a7 as Orbital, aZ as Page, K as DomainContext, a as OrbitalDefinition } from '../builders-DDcCVboe.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, 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, 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, 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, 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, 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, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, 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, 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, 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-DDcCVboe.js';
3
+ import { E as EntityField, a as EntityPersistence, F as FieldValue, J as JsonValue, e as Entity, b as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, c as EventId, a8 as JsonObject, f as ToolArgs } from '../pattern-types-VDIr2TkX.js';
4
+ export { g as ANIMATION_NAMES, h as ASSET_ASPECTS, i as ASSET_DIMENSIONS, j as AnimationDef, k as AnimationDefInput, l as AnimationDefSchema, m as AnimationName, n as AnimationNameSchema, o as ArrayEntityField, p as Asset, q as AssetAspect, r as AssetAspectSchema, s as AssetCatalog, t as AssetCatalogEntry, u as AssetCatalogEntryInput, v as AssetCatalogEntrySchema, w as AssetCatalogSchema, x as AssetDimension, y as AssetDimensionSchema, z as AssetSchema, B as AssetUrl, C as CAMERA_MODES, D as Camera, G as CameraMode, H as CameraModeSchema, I as CameraSchema, K as ENTITY_ROLES, L as EntityData, M as EntityFieldInput, N as EntityFieldSchema, d as EntityId, Q as EntityIdSchema, S as EntityPersistenceSchema, U as EntityRole, V as EntityRoleSchema, W as EntitySchema, X as EntityWith, Y as EnumEntityField, Z as EventIdSchema, _ as Field, $ as FieldFormat, a0 as FieldFormatSchema, a1 as FieldSchema, a2 as FieldType, a3 as FieldTypeSchema, a4 as IdForKind, a5 as IdKind, a6 as IdentityLedger, a7 as IdentityLedgerSchema, a9 as LedgerEntry, aa as LedgerEntrySchema, ab as LedgerKind, ac as LedgerKindSchema, ad as OrbitalEntity, ae as OrbitalEntityInput, af as OrbitalEntitySchema, ag as OrbitalIdSchema, ah as PATTERN_TYPES, P as PageId, ai as PageIdSchema, aj as PaletteEntryId, ak as PaletteEntryIdSchema, al as PatternConfig, ao as PatternType, R as RelationConfig, ap as RelationConfigSchema, aq as RelationEntityField, ar as SPRITE_DIRECTIONS, as as ScalarEntityField, at as ScenePos, au as ScenePosSchema, av as SemanticAssetRef, aw as SemanticAssetRefInput, ax as SemanticAssetRefSchema, ay as ServiceId, az as ServiceIdSchema, aA as SpriteDirection, aB as SpriteDirectionSchema, aC as SpriteSheetAtlas, aD as SpriteSheetAtlasInput, aE as SpriteSheetAtlasSchema, aF as SubTexture, aG as SubTextureSchema, aH as TextureAtlas, aI as TextureAtlasSchema, aJ as ThemeId, aK as ThemeIdSchema, aL as Tilesheet, aM as TilesheetSchema, aN as TraitIdSchema, aO as VISUAL_STYLES, aP as VisualStyle, aQ as VisualStyleSchema, aR as asEntityId, aS as asEventId, aT as asOrbitalId, aU as asPageId, aV as asPaletteEntryId, aW as asServiceId, aX as asThemeId, aY as asTraitId, aZ as createAssetKey, a_ as deriveCollection, a$ as getDefaultAnimationsForRole, b0 as idKindOf, b1 as idPrefix, b2 as isEntityId, b3 as isEventId, b4 as isFieldValue, b5 as isJsonArray, b6 as isJsonObject, b7 as isJsonPrimitive, b8 as isOrbitalId, b9 as isPageId, ba as isPaletteEntryId, bb as isRuntimeEntity, bc as isServiceId, bd as isThemeId, be as isTraitId, bf as isValidPatternType, bg as ledgerCurName, bh as ledgerRename, bi as ledgerResolveName, bj as mintId, bk as parseAssetKey, bl as persistenceModeAllowsOverrides, bm as validateAssetAnimations } from '../pattern-types-VDIr2TkX.js';
5
5
  import { d as EventPayloadValue, E as EventPayload, L as LogMeta, S as SExpr, c as EvalContext } from '../expression-CB9R3KWk.js';
6
6
  export { C as CORE_BINDINGS, b as CoreBinding, a 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 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';
7
7
  import { z } from 'zod';
8
- import { a as TraitReference, av as ServiceParams, c as Trait, D as DeclaredTraitConfig, d as TraitConfig, E as Effect, m as ConfigFieldDeclaration, S as State, be as Transition, H as Event, aY as TraitConfigValue, aU as TraitCategory, bX as TraitScope } 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, n as ConfigFieldDeclarationSchema, o as ConfigFieldItemsDeclaration, p as ConfigRefEventError, q as DeclaredTraitConfigSchema, r as DerefEffect, s as DespawnEffect, t as DoEffect, u as EffectInput, v as EffectSchema, w as EmitConfig, x as EmitEffect, y as EntityFieldContract, z as EntityFieldContractSchema, F as EvaluateConfig, G as EvaluateEffect, 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, 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, aV as TraitCategorySchema, aW as TraitConfigObject, aX as TraitConfigSchema, 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, b8 as TraitReferenceInput, b9 as TraitReferenceSchema, ba as TraitSchema, bb as TraitTick, bc as TraitTickSchema, bd as TraitUIBinding, 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 { s as TraitOverlay, R as RuleOverlay, J as JsonValue, o as JsonSchema, n as JsonObject, T as ToolArgs, c as FactoryConfigTier } from '../types-CGC5A1-T.js';
11
- export { v as isJsonArray, w as isJsonObject, x as isJsonPrimitive } from '../types-CGC5A1-T.js';
8
+ import { a as TraitReference, ay as ServiceParams, c as Trait, D as DeclaredTraitConfig, d as TraitConfig, E as Effect, m as ConfigFieldDeclaration, S as State, bh as Transition, H as Event, a$ as TraitConfigValue, aX as TraitCategory, b$ as TraitScope } from '../trait-DE6VU4Cd.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, n as ConfigFieldDeclarationSchema, o as ConfigFieldItemsDeclaration, p as ConfigRefEventError, q as DeclaredTraitConfigSchema, r as DerefEffect, s as DespawnEffect, t as DoEffect, u as EffectInput, v as EffectSchema, w as EmitConfig, x as EmitEffect, y as EntityFieldContract, z as EntityFieldContractSchema, F as EvaluateConfig, G as EvaluateEffect, 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 REFERENCE_CONFIG_TYPES, ah as RefEffect, ai as ReferenceConfigType, aj as RenderBinding, ak as RenderChildrenMap, al as RenderItemLambda, am as RenderUIEffect, an as RenderUINode, ao as RequiredField, ap as RequiredFieldSchema, aq as ResolvedPatternProps, ar as RestAuthConfig, as as RestAuthConfigSchema, at as RestServiceDef, au as RestServiceDefSchema, av as SERVICE_TYPES, aw as ServiceDefinition, ax as ServiceDefinitionSchema, az as ServiceParamsValue, aA as ServiceRef, aB as ServiceRefObject, aC as ServiceRefObjectSchema, aD as ServiceRefSchema, aE as ServiceRefStringSchema, aF as ServiceType, aG as ServiceTypeSchema, aH as SessionEffect, aI as SetEffect, aJ as SocketEvents, aK as SocketEventsSchema, aL as SocketServiceDef, aM as SocketServiceDefSchema, aN as SpawnEffect, aO as StateInput, aP as StateMachine, aQ as StateMachineInput, aR as StateMachineSchema, aS as StateSchema, aT as SwapEffect, aU as TraceEffect, aV as TrainConfig, aW as TrainEffect, aY as TraitCategorySchema, aZ as TraitConfigObject, a_ as TraitConfigSchema, b0 as TraitConfigValueSchema, b1 as TraitDataEntity, b2 as TraitDataEntitySchema, b3 as TraitEntityField, b4 as TraitEntityFieldSchema, b5 as TraitEventContract, b6 as TraitEventContractSchema, T as TraitEventListener, b7 as TraitEventListenerSchema, b8 as TraitInput, b9 as TraitRef, ba as TraitRefSchema, bb as TraitReferenceInput, bc as TraitReferenceSchema, bd as TraitSchema, be as TraitTick, bf as TraitTickSchema, bg as TraitUIBinding, bi as TransitionInput, bj as TransitionSchema, bk as TypedEffect, bl as UISlot, bm as UISlotSchema, bn as UI_SLOTS, bo as ValidateEffect, bp as WatchEffect, bq as WatchOptions, br as atomic, bs as callService, bt as configRefEventKnob, bu as deref, bv as despawn, bw as doEffects, bx as emit, by as findService, bz as getServiceNames, bA as getTraitConfig, bB as getTraitName, bC as hasService, bD as isCallSiteConfigDeclaration, bE as isCircuitEvent, bF as isEffect, bG as isInlineTrait, bH as isMcpService, bI as isReferenceConfigType, bJ as isRestService, bK as isSExprEffect, bL as isServiceReference, bM as isServiceReferenceObject, bN as isSocketService, bO as navigate, bP as normalizeCallSiteConfigToValues, bQ as normalizeTraitRef, bR as notify, bS as parseServiceRef, bT as persist, bU as ref, bV as renderUI, bW as resolveConfigRefEventName, bX as set, bY as spawn, bZ as swap, b_ as watch } from '../trait-DE6VU4Cd.js';
10
+ import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-DSfz2mr5.js';
12
11
 
13
12
  /**
14
13
  * S-Expression Bindings
@@ -261,6 +260,8 @@ interface ValidationResult {
261
260
  * - `ORB_SLOT_*` — UI-slot conflict / contention
262
261
  * - `ORB_SVC_*` / `ORB_UI_*` — service / UI primitives
263
262
  * - `ORB_X_*` — cross-orbital constraints (listens, emits, IDs)
263
+ * - `ORB_ID_*` — V4 dual-carry id integrity (unknown ref, name/kind
264
+ * mismatch, ledger orphan)
264
265
  */
265
266
  declare const KNOWN_VALIDATION_ERROR_CODES: {
266
267
  readonly ORB_BINDING_ENTITY_FIELD_NEVER_SET: "ORB_BINDING_ENTITY_FIELD_NEVER_SET";
@@ -412,6 +413,10 @@ declare const KNOWN_VALIDATION_ERROR_CODES: {
412
413
  readonly ORB_X_RENDER_UI_EVENT_LITERAL_STALE: "ORB_X_RENDER_UI_EVENT_LITERAL_STALE";
413
414
  readonly ORB_X_UNRESOLVED_PATTERN_FIELD_REF: "ORB_X_UNRESOLVED_PATTERN_FIELD_REF";
414
415
  readonly ORB_X_UNUSED_EMISSION: "ORB_X_UNUSED_EMISSION";
416
+ readonly ORB_ID_UNKNOWN_REF: "ORB_ID_UNKNOWN_REF";
417
+ readonly ORB_ID_NAME_MISMATCH: "ORB_ID_NAME_MISMATCH";
418
+ readonly ORB_ID_KIND_MISMATCH: "ORB_ID_KIND_MISMATCH";
419
+ readonly ORB_ID_LEDGER_ORPHAN: "ORB_ID_LEDGER_ORPHAN";
415
420
  };
416
421
  /**
417
422
  * Narrow union of the codes documented in `KNOWN_VALIDATION_ERROR_CODES`.
@@ -949,17 +954,17 @@ declare const InteractionModelSchema: z.ZodObject<{
949
954
  bulkActions: z.ZodOptional<z.ZodBoolean>;
950
955
  realtime: z.ZodOptional<z.ZodBoolean>;
951
956
  }, "strip", z.ZodTypeAny, {
952
- createFlow: "modal" | "none" | "inline" | "page";
953
- editFlow: "modal" | "none" | "inline" | "page";
954
- viewFlow: "drawer" | "modal" | "none" | "inline" | "page";
957
+ createFlow: "page" | "modal" | "none" | "inline";
958
+ editFlow: "page" | "modal" | "none" | "inline";
959
+ viewFlow: "page" | "drawer" | "modal" | "none" | "inline";
955
960
  deleteFlow: "none" | "instant" | "confirm";
956
961
  bulkActions?: boolean | undefined;
957
962
  listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
958
963
  realtime?: boolean | undefined;
959
964
  }, {
960
- createFlow: "modal" | "none" | "inline" | "page";
961
- editFlow: "modal" | "none" | "inline" | "page";
962
- viewFlow: "drawer" | "modal" | "none" | "inline" | "page";
965
+ createFlow: "page" | "modal" | "none" | "inline";
966
+ editFlow: "page" | "modal" | "none" | "inline";
967
+ viewFlow: "page" | "drawer" | "modal" | "none" | "inline";
963
968
  deleteFlow: "none" | "instant" | "confirm";
964
969
  bulkActions?: boolean | undefined;
965
970
  listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
@@ -1870,7 +1875,13 @@ type EventListen<P> = string & {
1870
1875
  */
1871
1876
  interface BusEventSource {
1872
1877
  orbital?: string;
1878
+ /** V4 dual-carry id sibling of `orbital` — stable across an orbital rename. */
1879
+ orbitalId?: OrbitalId;
1873
1880
  trait?: string;
1881
+ /** V4 dual-carry id sibling of `trait` — stable across a trait rename. */
1882
+ traitId?: TraitId;
1883
+ /** V4 dual-carry id of the emitted event — stable across an event rename. */
1884
+ eventId?: EventId;
1874
1885
  transition?: string;
1875
1886
  tick?: string;
1876
1887
  /**
@@ -2064,9 +2075,10 @@ interface VerificationSnapshot {
2064
2075
  /** Asset load status exposed for canvas-based game verification. */
2065
2076
  type AssetLoadStatus = "loaded" | "failed" | "pending";
2066
2077
  /**
2067
- * Entry recorded on the verification event log. The registry clamps
2068
- * the log size (see `verificationRegistry`'s internal `MAX_EVENT_LOG`)
2069
- * so long runs don't grow unbounded.
2078
+ * Entry recorded on the verification event log. The registry ring-buffers
2079
+ * the log to the last `MAX_EVENT_LOG` entries (evicting the oldest, never
2080
+ * the recent tail) so long runs don't grow unbounded — see
2081
+ * `verificationRegistry` and `eventLogDropped`.
2070
2082
  */
2071
2083
  interface EventLogEntry {
2072
2084
  type: string;
@@ -2114,7 +2126,23 @@ interface OrbitalVerificationAPI {
2114
2126
  assetStatus?: Record<string, AssetLoadStatus>;
2115
2127
  /** Rolling event bus log. Populated by `bindEventBus`. */
2116
2128
  eventLog?: EventLogEntry[];
2117
- /** Clear the event log in place. */
2129
+ /**
2130
+ * Per-page-load nonce, set once when `bindEventBus` creates the log
2131
+ * (and bumped by `clearEventLog`). A verifier reading the log across
2132
+ * hermetic page reloads uses this — not the array length — to detect a
2133
+ * reset: the length can coincidentally refill to the same count after a
2134
+ * reload, which silently drops the post-reload delta. The epoch changing
2135
+ * is the only reliable reset signal.
2136
+ */
2137
+ eventLogEpoch?: string;
2138
+ /**
2139
+ * Count of entries evicted from the FRONT of the ring-buffered log this
2140
+ * page (see `MAX_EVENT_LOG`). The absolute index of `eventLog[i]` is
2141
+ * `eventLogDropped + i`, so a verifier can cursor by absolute position
2142
+ * even after eviction — the recent (driven) tail is never silently lost.
2143
+ */
2144
+ eventLogDropped?: number;
2145
+ /** Clear the event log in place (also bumps `eventLogEpoch`). */
2118
2146
  clearEventLog?: () => void;
2119
2147
  }
2120
2148
 
@@ -2805,4 +2833,4 @@ interface ParsedDesign {
2805
2833
  };
2806
2834
  }
2807
2835
 
2808
- export { type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnalysisOrbital, type AnalysisOrbitalParams, type AnalysisPageOverride, type AnalysisRename, type AnalysisResult, 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 Clarification, type ClarificationCandidate, type ClarificationLevel, type CompleteEvent, type ComplexityAssessment, type ComposeAllResult, type ComposeChildrenResult, type ComposeOptions, 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, type ExtraTraitRef, FieldValue, type FileOperationEvent, type FileWrittenEvent, Orbital as FullOrbitalUnit, type GateState, type GenerationLogEvent, type GitHubIssue, type GitHubLink, type GitHubRepo, 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 PlanSnapshot, type PlanSnapshotStatus, 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 SessionHistoryEntry, type SnapshotCreatedEvent, type SnapshotDocument, type SpawnResult, type StartEvent, State, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, type SubagentCompleteEvent, type SubagentEvent, type SubagentProgressEvent, type SubagentStartEvent, ThemeDefinition, type TodoActivityType, type TodoDetailEvent, type TodoUpdateEvent, ToolArgs, type ToolCallEvent, type ToolResultEvent, type TraceContext, Trait, TraitCategory, TraitConfig, TraitConfigValue, type TraitFieldRef, TraitFieldRefSchema, TraitReference, 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, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, toBindingRoot, validateBindingInContext, widenTier };
2836
+ export { type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnalysisOrbital, type AnalysisOrbitalParams, type AnalysisPageOverride, type AnalysisRename, type AnalysisResult, 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 Clarification, type ClarificationCandidate, type ClarificationLevel, type CompleteEvent, type ComplexityAssessment, type ComposeAllResult, type ComposeChildrenResult, type ComposeOptions, 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, EventId, type EventKey, type EventListen, type EventLogEntry, EventPayload, EventPayloadValue, type EvolutionDelta, type ExecutePlanResult, type ExtraTraitRef, FieldValue, type FileOperationEvent, type FileWrittenEvent, Orbital as FullOrbitalUnit, type GateState, type GenerationLogEvent, type GitHubIssue, type GitHubLink, type GitHubRepo, 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, OrbitalId, 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 PlanSnapshot, type PlanSnapshotStatus, 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 SessionHistoryEntry, type SnapshotCreatedEvent, type SnapshotDocument, type SpawnResult, type StartEvent, State, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, type SubagentCompleteEvent, type SubagentEvent, type SubagentProgressEvent, type SubagentStartEvent, ThemeDefinition, type TodoActivityType, type TodoDetailEvent, type TodoUpdateEvent, ToolArgs, type ToolCallEvent, type ToolResultEvent, type TraceContext, Trait, TraitCategory, TraitConfig, TraitConfigValue, type TraitFieldRef, TraitFieldRefSchema, TraitId, TraitReference, 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, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, toBindingRoot, validateBindingInContext, widenTier };