@almadar/core 10.100.0 → 10.101.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,9 +1,9 @@
1
1
  import { R as PageTraitRef, O as OrbitalSchema, s as Orbital, c as Page, a as OrbitalDefinition } from './schema-TqLV2wlK.js';
2
- import { E as EntityField, a as EntityPersistence, bY as ServiceParams, F as FieldValue, f as Entity, g as EntityRow, A as AnyPatternConfig, c as Effect } from './effect-Hm_QDaSI.js';
2
+ import { E as EntityField, a as EntityPersistence, bY as ServiceParams, F as FieldValue, f as Entity, g as EntityRow, T as TraitId, b as EventId, A as AnyPatternConfig, c as Effect } from './effect-Hm_QDaSI.js';
3
3
  import { S as SExpr, a as EventPayloadValue, b as EventPayload, L as LogMeta, d as EvalContext } from './expression-DRwzVnMu.js';
4
4
  import { z } from 'zod';
5
5
  import { R as RuntimeValue, J as JsonValue, a as JsonObject, T as ToolArgs } from './json-D8gmyK3l.js';
6
- import { c as BusEventSource } from './bus-D69s_77B.js';
6
+ import { c as BusEventSource } from './bus-B8evi8AZ.js';
7
7
  import { a as TraitReference, h as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ah as Transition, s as Event, g as TraitConfigValue, $ as TraitCategory, ax as TraitScope } from './trait-YlNXc4H3.js';
8
8
  import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from './types-Ug92oza4.js';
9
9
  import { T as ThemeDefinition, D as DomainContext } from './domain-Ds_7wZIL.js';
@@ -1654,6 +1654,15 @@ interface ResolvedTraitUIBinding {
1654
1654
  };
1655
1655
  };
1656
1656
  }
1657
+ /**
1658
+ * One emit contract on a resolved trait — the minimal shape the
1659
+ * emit-source stamp needs (`eventId` lookup by event name, parity with
1660
+ * `OrbitalServerRuntime`'s `emitContract?.eventId`).
1661
+ */
1662
+ interface ResolvedTraitEmit {
1663
+ event: string;
1664
+ eventId?: EventId;
1665
+ }
1657
1666
  /**
1658
1667
  * Fully resolved trait - expanded from schema OR library.
1659
1668
  * The compiler generates code from this structure universally,
@@ -1662,6 +1671,21 @@ interface ResolvedTraitUIBinding {
1662
1671
  interface ResolvedTrait {
1663
1672
  /** Unique trait identifier */
1664
1673
  name: string;
1674
+ /**
1675
+ * V4 dual-carry id sibling of `name` — preserved from the source trait
1676
+ * when the schema carries ids. The emit-source stamp needs it: an
1677
+ * id-scoped `listens` matcher (`buildSourceMatcher`, `@almadar/runtime`)
1678
+ * compares ids ONLY, so a name-only stamp never matches a `traitId`-carrying
1679
+ * listen (the chat SAVE → DO_CREATE relay died on the stateful path,
1680
+ * 2026-09-22).
1681
+ */
1682
+ id?: TraitId;
1683
+ /**
1684
+ * The trait's emit contracts, preserved from the source trait when the
1685
+ * schema carries them. The emit-source stamp reads `eventId` from the
1686
+ * matching contract — parity with `OrbitalServerRuntime`'s emit stamp.
1687
+ */
1688
+ emits?: ResolvedTraitEmit[];
1665
1689
  /** Human-readable description */
1666
1690
  description?: string;
1667
1691
  /** Where this trait came from */
@@ -2908,4 +2932,4 @@ interface RenderOverlayResult {
2908
2932
  */
2909
2933
  declare function applyRenderOverlay(orbital: OrbitalDefinition, patches: readonly RenderUiPatch[]): RenderOverlayResult;
2910
2934
 
2911
- export { type EdgeType as $, type AgentCodeSearchResult as A, BINDING_CONTEXT_RULES as B, type ChangesetValue as C, type BuilderResult as D, type CancelledEvent as E, type ChangeAuthor as F, type ChangeSetDocument as G, type ChangeSummary as H, type ChangesetRecordedEvent as I, type CheckStatus as J, type Clarification as K, type ClarificationCandidate as L, type ClarificationLevel as M, type CompleteEvent as N, type ComplexityAssessment as O, type PageContentReduction as P, type ComposeAllResult as Q, type ResolvedIR as R, type SchemaChange as S, type ComposeChildrenResult as T, type ComposeOptions as U, type ContextExtensions as V, type CreateFlow as W, DEFAULT_INTERACTION_MODELS as X, type DeleteFlow as Y, type DispatchUpdatesResult as Z, type DrawableDescriptor as _, type ResolvedEntity as a, type ParsedOrbital as a$, type EditFlow as a0, type EditFocus as a1, type EditFocusLevel as a2, type EffectPayload as a3, type EffectResult as a4, type EffectTrace as a5, type ErrorEvent as a6, type EventLogEntry as a7, type EvolutionDelta as a8, type ExecutePlanResult as a9, type LivingOrbital as aA, type LivingOrbitalSchema as aB, type LivingPage as aC, type LivingState as aD, type LivingTrait as aE, type LivingTransition as aF, type LivingValue as aG, type LivingVertex as aH, type LlmCallToolsResult as aI, type LlmContext as aJ, type LlmMessage as aK, type LlmTokenUsage as aL, type LlmToolCall as aM, type LlmToolDef as aN, type LoloEmitResult as aO, type MemoryContext as aP, type MessageEvent as aQ, type OrbitalAddedEvent as aR, type OrbitalSchemaCompleteEvent as aS, type OrbitalVerificationAPI as aT, type ParamsRepairEmittedEvent as aU, type ParsedDesign as aV, type ParsedDomainContext as aW, type ParsedEmitDeclaration as aX, type ParsedEntity as aY, type ParsedEvent as aZ, type ParsedListenDeclaration as a_, type ExtraTraitRef as aa, type FileOperationEvent as ab, type FileWrittenEvent as ac, type GateState as ad, type GenerationLogEvent as ae, type GitHubIssue as af, type GitHubLink as ag, type GitHubRepo as ah, type HistoryMeta as ai, type IntegrationContext as aj, type InteractionModel as ak, type InteractionModelInput as al, InteractionModelSchema as am, type InterruptEvent as an, KNOWN_VALIDATION_ERROR_CODES as ao, type KnobPayload as ap, type KnownValidationErrorCode as aq, type LLMErrorContext as ar, type LazyService as as, type LineageEntry as at, type ListInteraction as au, type LivingEdge as av, type LivingEffect as aw, type LivingEntity as ax, type LivingEvent as ay, type LivingField as az, type ResolvedPage as b, type StartEvent as b$, type ParsedPage as b0, type ParsedState as b1, type ParsedStateMachine as b2, type ParsedTrait as b3, type ParsedTraitConfig as b4, type ParsedTransition as b5, type PatternNode as b6, PatternTypeSchema as b7, type PatternValue as b8, type PersistActionName as b9, type ResolvedTraitListener as bA, type ResolvedTraitState as bB, type ResolvedTraitTick as bC, type ResolvedTraitTransition as bD, type ResolvedTraitUIBinding as bE, type SSEEvent as bF, type SSEEventBase as bG, type SSEEventType as bH, type SaveOptions as bI, type SaveResult as bJ, type SchemaPhaseUpdateEvent as bK, type SchemaPhaseValidatedEvent as bL, type SchemaUpdateEvent as bM, type SemanticAnnotation as bN, type SemanticChangeKind as bO, type SemanticVector as bP, type ServerResponseTrace as bQ, type ServiceAction as bR, type ServiceActionName as bS, type ServiceCallResult as bT, type ServiceContract as bU, type ServiceEvents as bV, type SessionContext as bW, type SessionHistoryEntry as bX, type SnapshotCreatedEvent as bY, type SnapshotDocument as bZ, type SpawnResult as b_, type PlanSnapshot as ba, type PlanSnapshotStatus as bb, type PlannerResult as bc, type Probability as bd, type ProcessCompleteEvent as be, type ProcessErrorEvent as bf, type ProcessRepairCompleteEvent as bg, type ProcessRepairEvent as bh, type ProcessStartEvent as bi, RENDER_BINDING_MARKER as bj, type RenderBindingMarker as bk, type RenderOverlayResult as bl, type RenderUiPatch as bm, type RenderUiPatchAddress as bn, type RenderUiPatchOp as bo, type RepairResult as bp, type ResolvedEntityBinding as bq, type ResolvedField as br, type ResolvedNavigation as bs, type ResolvedPattern as bt, type ResolvedSection as bu, type ResolvedSectionEvent as bv, type ResolvedTraitBinding as bw, type ResolvedTraitDataEntity as bx, type ResolvedTraitEvent as by, type ResolvedTraitGuard as bz, type ResolvedTrait as c, type StatsView as c0, type StoreContract as c1, type StoreFilter as c2, type StoreFilterOp as c3, type SubagentCompleteEvent as c4, type SubagentEvent as c5, type SubagentProgressEvent as c6, type SubagentStartEvent as c7, type TodoActivityType as c8, type TodoDetailEvent as c9, containsEntityBinding as cA, containsPayloadBinding as cB, createEmptyResolvedPage as cC, createEmptyResolvedTrait as cD, createLazyService as cE, createResolvedField as cF, createTypedEventBus as cG, fingerprintNode as cH, getBindingExamples as cI, getInteractionModelForDomain as cJ, inferTsType as cK, insertChildAtPath as cL, isKnownValidationErrorCode as cM, isPlanSnapshot as cN, isRenderBindingMarker as cO, isResolvedIR as cP, isSessionHistoryEntry as cQ, isTraitFieldRef as cR, navigatePatternPath as cS, removeChildAtPath as cT, replaceChildAtPath as cU, setPropAtPath as cV, toBindingRoot as cW, validateBindingInContext as cX, widenTier as cY, type TodoUpdateEvent as ca, type ToolCallEvent as cb, type ToolResultEvent as cc, type TraceContext as cd, type TraitFieldRef as ce, TraitFieldRefSchema as cf, type TraitStateSnapshot as cg, type TransitionFrom as ch, type TransitionTrace as ci, type ValidateResult as cj, type ValidationDocument as ck, type ValidationError as cl, type ValidationErrorCode as cm, type ValidationIssue as cn, type ValidationMeta as co, type ValidationResult as cp, type ValidationResults as cq, type VerificationCheck as cr, type VerificationSnapshot as cs, type VerificationSummary as ct, type VertexId as cu, type VertexPayload as cv, type VertexType as cw, type ViewFlow as cx, type WorkspaceContext as cy, applyRenderOverlay as cz, type CategorizedRemovals as d, type SemanticSchemaChange as e, type AgentCompactResult as f, type AgentCompactStrategy as g, type AgentContext as h, type AgentGenerateOptions as i, type AgentMemoryCategory as j, type AgentMemoryRecord as k, type AnalysisOrbital as l, type AnalysisOrbitalParams as m, type AnalysisPageOverride as n, type AnalysisRename as o, type AnalysisResult as p, type AnnotationTier as q, type AppCreatedEvent as r, type AppSummary as s, type AssetLoadStatus as t, BINDING_DOCS as u, BINDING_ROOTS as v, type BindingContext as w, type BindingRoot as x, BindingSchema as y, type BridgeHealth as z };
2935
+ export { type EdgeType as $, type AgentCodeSearchResult as A, BINDING_CONTEXT_RULES as B, type ChangesetValue as C, type BuilderResult as D, type CancelledEvent as E, type ChangeAuthor as F, type ChangeSetDocument as G, type ChangeSummary as H, type ChangesetRecordedEvent as I, type CheckStatus as J, type Clarification as K, type ClarificationCandidate as L, type ClarificationLevel as M, type CompleteEvent as N, type ComplexityAssessment as O, type PageContentReduction as P, type ComposeAllResult as Q, type ResolvedIR as R, type SchemaChange as S, type ComposeChildrenResult as T, type ComposeOptions as U, type ContextExtensions as V, type CreateFlow as W, DEFAULT_INTERACTION_MODELS as X, type DeleteFlow as Y, type DispatchUpdatesResult as Z, type DrawableDescriptor as _, type ResolvedEntity as a, type ParsedOrbital as a$, type EditFlow as a0, type EditFocus as a1, type EditFocusLevel as a2, type EffectPayload as a3, type EffectResult as a4, type EffectTrace as a5, type ErrorEvent as a6, type EventLogEntry as a7, type EvolutionDelta as a8, type ExecutePlanResult as a9, type LivingOrbital as aA, type LivingOrbitalSchema as aB, type LivingPage as aC, type LivingState as aD, type LivingTrait as aE, type LivingTransition as aF, type LivingValue as aG, type LivingVertex as aH, type LlmCallToolsResult as aI, type LlmContext as aJ, type LlmMessage as aK, type LlmTokenUsage as aL, type LlmToolCall as aM, type LlmToolDef as aN, type LoloEmitResult as aO, type MemoryContext as aP, type MessageEvent as aQ, type OrbitalAddedEvent as aR, type OrbitalSchemaCompleteEvent as aS, type OrbitalVerificationAPI as aT, type ParamsRepairEmittedEvent as aU, type ParsedDesign as aV, type ParsedDomainContext as aW, type ParsedEmitDeclaration as aX, type ParsedEntity as aY, type ParsedEvent as aZ, type ParsedListenDeclaration as a_, type ExtraTraitRef as aa, type FileOperationEvent as ab, type FileWrittenEvent as ac, type GateState as ad, type GenerationLogEvent as ae, type GitHubIssue as af, type GitHubLink as ag, type GitHubRepo as ah, type HistoryMeta as ai, type IntegrationContext as aj, type InteractionModel as ak, type InteractionModelInput as al, InteractionModelSchema as am, type InterruptEvent as an, KNOWN_VALIDATION_ERROR_CODES as ao, type KnobPayload as ap, type KnownValidationErrorCode as aq, type LLMErrorContext as ar, type LazyService as as, type LineageEntry as at, type ListInteraction as au, type LivingEdge as av, type LivingEffect as aw, type LivingEntity as ax, type LivingEvent as ay, type LivingField as az, type ResolvedPage as b, type SpawnResult as b$, type ParsedPage as b0, type ParsedState as b1, type ParsedStateMachine as b2, type ParsedTrait as b3, type ParsedTraitConfig as b4, type ParsedTransition as b5, type PatternNode as b6, PatternTypeSchema as b7, type PatternValue as b8, type PersistActionName as b9, type ResolvedTraitGuard as bA, type ResolvedTraitListener as bB, type ResolvedTraitState as bC, type ResolvedTraitTick as bD, type ResolvedTraitTransition as bE, type ResolvedTraitUIBinding as bF, type SSEEvent as bG, type SSEEventBase as bH, type SSEEventType as bI, type SaveOptions as bJ, type SaveResult as bK, type SchemaPhaseUpdateEvent as bL, type SchemaPhaseValidatedEvent as bM, type SchemaUpdateEvent as bN, type SemanticAnnotation as bO, type SemanticChangeKind as bP, type SemanticVector as bQ, type ServerResponseTrace as bR, type ServiceAction as bS, type ServiceActionName as bT, type ServiceCallResult as bU, type ServiceContract as bV, type ServiceEvents as bW, type SessionContext as bX, type SessionHistoryEntry as bY, type SnapshotCreatedEvent as bZ, type SnapshotDocument as b_, type PlanSnapshot as ba, type PlanSnapshotStatus as bb, type PlannerResult as bc, type Probability as bd, type ProcessCompleteEvent as be, type ProcessErrorEvent as bf, type ProcessRepairCompleteEvent as bg, type ProcessRepairEvent as bh, type ProcessStartEvent as bi, RENDER_BINDING_MARKER as bj, type RenderBindingMarker as bk, type RenderOverlayResult as bl, type RenderUiPatch as bm, type RenderUiPatchAddress as bn, type RenderUiPatchOp as bo, type RepairResult as bp, type ResolvedEntityBinding as bq, type ResolvedField as br, type ResolvedNavigation as bs, type ResolvedPattern as bt, type ResolvedSection as bu, type ResolvedSectionEvent as bv, type ResolvedTraitBinding as bw, type ResolvedTraitDataEntity as bx, type ResolvedTraitEmit as by, type ResolvedTraitEvent as bz, type ResolvedTrait as c, type StartEvent as c0, type StatsView as c1, type StoreContract as c2, type StoreFilter as c3, type StoreFilterOp as c4, type SubagentCompleteEvent as c5, type SubagentEvent as c6, type SubagentProgressEvent as c7, type SubagentStartEvent as c8, type TodoActivityType as c9, applyRenderOverlay as cA, containsEntityBinding as cB, containsPayloadBinding as cC, createEmptyResolvedPage as cD, createEmptyResolvedTrait as cE, createLazyService as cF, createResolvedField as cG, createTypedEventBus as cH, fingerprintNode as cI, getBindingExamples as cJ, getInteractionModelForDomain as cK, inferTsType as cL, insertChildAtPath as cM, isKnownValidationErrorCode as cN, isPlanSnapshot as cO, isRenderBindingMarker as cP, isResolvedIR as cQ, isSessionHistoryEntry as cR, isTraitFieldRef as cS, navigatePatternPath as cT, removeChildAtPath as cU, replaceChildAtPath as cV, setPropAtPath as cW, toBindingRoot as cX, validateBindingInContext as cY, widenTier as cZ, type TodoDetailEvent as ca, type TodoUpdateEvent as cb, type ToolCallEvent as cc, type ToolResultEvent as cd, type TraceContext as ce, type TraitFieldRef as cf, TraitFieldRefSchema as cg, type TraitStateSnapshot as ch, type TransitionFrom as ci, type TransitionTrace as cj, type ValidateResult as ck, type ValidationDocument as cl, type ValidationError as cm, type ValidationErrorCode as cn, type ValidationIssue as co, type ValidationMeta as cp, type ValidationResult as cq, type ValidationResults as cr, type VerificationCheck as cs, type VerificationSnapshot as ct, type VerificationSummary as cu, type VertexId as cv, type VertexPayload as cw, type VertexType as cx, type ViewFlow as cy, type WorkspaceContext as cz, type CategorizedRemovals as d, type SemanticSchemaChange as e, type AgentCompactResult as f, type AgentCompactStrategy as g, type AgentContext as h, type AgentGenerateOptions as i, type AgentMemoryCategory as j, type AgentMemoryRecord as k, type AnalysisOrbital as l, type AnalysisOrbitalParams as m, type AnalysisPageOverride as n, type AnalysisRename as o, type AnalysisResult as p, type AnnotationTier as q, type AppCreatedEvent as r, type AppSummary as s, type AssetLoadStatus as t, BINDING_DOCS as u, BINDING_ROOTS as v, type BindingContext as w, type BindingRoot as x, BindingSchema as y, type BridgeHealth as z };
package/dist/index.d.ts CHANGED
@@ -4,10 +4,10 @@ import { F as FieldValue, g as EntityRow } from './effect-Hm_QDaSI.js';
4
4
  export { n as ANIMATION_NAMES, o as ASSET_ASPECTS, p as ASSET_DIMENSIONS, q as AgentEffect, r as AnimationDef, s as AnimationDefInput, t as AnimationDefSchema, u as AnimationName, v as AnimationNameSchema, A as AnyPatternConfig, w as ApplicationEffect, x as ArrayEntityField, y as Asset, z as AssetAspect, B as AssetAspectSchema, C as AssetCatalog, D as AssetCatalogEntry, G as AssetCatalogEntryInput, H as AssetCatalogEntrySchema, J as AssetCatalogSchema, K as AssetDimension, L as AssetDimensionSchema, M as AssetSchema, Q as AssetUrl, V as AtomicEffect, W as AudioManifest, X as AudioManifestSchema, Y as BehaviorEffect, Z as CAMERA_MODES, _ as CallServiceConfig, $ as CallServiceEffect, a0 as Camera, a1 as CameraMode, a2 as CameraModeSchema, a3 as CameraSchema, a4 as CheckpointLoadEffect, a5 as CheckpointSaveEffect, a6 as ComposeEffect, a7 as ControlValue, a8 as DEFAULT_UNIT_ANIMATION_ROWS, a9 as DerefEffect, aa as DespawnEffect, ab as DoEffect, ac as ENTITY_ROLES, c as Effect, ad as EffectInput, ae as EffectSchema, af as EmitConfig, ag as EmitEffect, f as Entity, ah as EntityData, E as EntityField, ai as EntityFieldInput, aj as EntityFieldSchema, e as EntityId, ak as EntityIdSchema, a as EntityPersistence, al as EntityPersistenceSchema, am as EntityRole, an as EntityRoleSchema, ao as EntityRowSchema, ap as EntitySchema, aq as EntityWith, ar as EnumEntityField, as as EvaluateConfig, at as EvaluateEffect, b as EventId, au as EventIdSchema, av as FIELD_TYPES, aw as FetchEffect, ax as FetchOptions, ay as FetchResult, az as FetchStreamEffect, aA as FetchStreamOptions, aB as Field, aC as FieldSchema, aD as FieldType, aE as FieldTypeSchema, aF as FieldValueSchema, aG as FileValue, aH as FileValueSchema, aI as ForwardConfig, aJ as ForwardEffect, aK as IdForKind, aL as IdKind, I as IdentityLedger, aM as IdentityLedgerSchema, aN as LedgerEntry, aO as LedgerEntrySchema, aP as LedgerKind, aQ as LedgerKindSchema, aR as LlmEffect, aS as LogEffect, aT as MANIFEST_ASSET_LICENSES, aU as MANIFEST_CANVAS_AFFINITIES, aV as MANIFEST_ENTRY_KINDS, aW as MANIFEST_SOURCE_CATALOGS, aX as ManifestAssetLicense, aY as ManifestAssetLicenseSchema, aZ as ManifestCanvasAffinity, a_ as ManifestCanvasAffinitySchema, a$ as ManifestEntry, b0 as ManifestEntryInput, b1 as ManifestEntryKind, b2 as ManifestEntryKindSchema, b3 as ManifestEntrySchema, b4 as ManifestFrameSpec, b5 as ManifestFrameSpecSchema, b6 as ManifestSourceCatalog, b7 as ManifestSourceCatalogSchema, b8 as McpServiceDef, b9 as McpServiceDefSchema, ba as MemoryEffect, N as NamespacedEffectName, bb as NavigateBackEffect, bc as NavigateEffect, bd as NavigateOptions, be as NnConfig, bf as NnLayer, bg as ObjectEntityField, O as OrbitalEntity, bh as OrbitalEntityInput, bi as OrbitalEntitySchema, d as OrbitalId, bj as OrbitalIdSchema, bk as OsEffect, bl as PATTERN_TYPES, P as PageId, bm as PageIdSchema, bn as PaletteEntryId, bo as PaletteEntryIdSchema, h as PatternConfig, bp as PatternConfigSchema, bq as PatternProps, br as PatternPropsMap, bs as PatternType, bt as PersistBatchOperation, bu as PersistData, bv as PersistEffect, bw as PersistEmitConfig, bx as RefEffect, R as RelationConfig, by as RelationConfigSchema, bz as RelationEntityField, l as RenderBinding, bA as RenderChildrenMap, bB as RenderItemLambda, m as RenderUIEffect, bC as RenderUINode, i as ResolvedPatternProps, bD as ResolvedPatternPropsSchema, bE as RestAuthConfig, bF as RestAuthConfigSchema, bG as RestServiceDef, bH as RestServiceDefSchema, bI as SEMANTIC_STRING_TYPES, bJ as SERVER_REPORTED_EFFECTS, bK as SERVICE_TYPES, bL as SHEET_PROJECTIONS, bM as SPRITE_DIRECTIONS, bN as SPRITE_SHEET_LAYOUT, bO as ScalarEntityField, bP as ScenePos, bQ as ScenePosSchema, bR as SemanticAssetRef, bS as SemanticAssetRefInput, bT as SemanticAssetRefSchema, bU as SemanticStringType, S as ServerReportedEffect, k as ServiceDefinition, bV as ServiceDefinitionSchema, bW as ServiceId, bX as ServiceIdSchema, bY as ServiceParams, bZ as ServiceParamsValue, j as ServiceRef, b_ as ServiceRefObject, b$ as ServiceRefObjectSchema, c0 as ServiceRefSchema, c1 as ServiceRefStringSchema, c2 as ServiceType, c3 as ServiceTypeSchema, c4 as SessionEffect, c5 as SetEffect, c6 as SheetProjection, c7 as SheetProjectionSchema, c8 as SocketEvents, c9 as SocketEventsSchema, ca as SocketServiceDef, cb as SocketServiceDefSchema, cc as SoundEntry, cd as SoundEntrySchema, ce as SpawnEffect, cf as SpriteDirection, cg as SpriteDirectionSchema, ch as SpriteSheetAtlas, ci as SpriteSheetAtlasInput, cj as SpriteSheetAtlasSchema, ck as SpriteSheetLayout, cl as SubTexture, cm as SubTextureSchema, cn as SwapEffect, co as TYPE_POSITION_ONLY, cp as TemplatePatternConfig, cq as TextureAtlas, cr as TextureAtlasSchema, cs as ThemeId, ct as ThemeIdSchema, cu as Tilesheet, cv as TilesheetSchema, cw as TraceEffect, cx as TrainConfig, cy as TrainEffect, T as TraitId, cz as TraitIdSchema, cA as TypedEffect, U as UISlot, cB as UISlotSchema, cC as UI_SLOTS, cD as VISUAL_STYLES, cE as ValidateEffect, cF as VisualStyle, cG as VisualStyleSchema, cH as WatchEffect, cI as WatchOptions, cJ as asEntityId, cK as asEventId, cL as asOrbitalId, cM as asPageId, cN as asPaletteEntryId, cO as asServiceId, cP as asThemeId, cQ as asTraitId, cR as atomic, cS as callService, cT as createAssetKey, cU as defaultUnitAtlas, cV as deref, cW as deriveCollection, cX as deriveId, cY as despawn, cZ as doEffects, c_ as emit, c$ as findService, d0 as getDefaultAnimationsForRole, d1 as getServiceNames, d2 as hasService, d3 as idKindOf, d4 as idPrefix, d5 as isEffect, d6 as isEmailValue, d7 as isEntityId, d8 as isEventId, d9 as isFieldValue, da as isFileValue, db as isMcpService, dc as isOrbitalId, dd as isPageId, de as isPaletteEntryId, df as isPersistBatchOperation, dg as isPhoneValue, dh as isRestService, di as isRuntimeEntity, dj as isSExprEffect, dk as isSemanticStringType, dl as isSemanticStringValue, dm as isServiceId, dn as isServiceReference, dp as isServiceReferenceObject, dq as isSocketService, dr as isThemeId, ds as isTraitId, dt as isUrlValue, du as isUuidValue, dv as isValidPatternType, dw as ledgerCurName, dx as ledgerRename, dy as ledgerResolveName, dz as manifestToAssetCatalog, dA as matchAssetQuery, dB as mintId, dC as navigate, dD as navigateBack, dE as parseAssetKey, dF as parseAssetQuery, dG as parseServiceRef, dH as persist, dI as persistenceModeAllowsOverrides, dJ as ref, dK as renderUI, dL as set, dM as spawn, dN as swap, dO as validateAssetAnimations, dP as watch } from './effect-Hm_QDaSI.js';
5
5
  import { b as EventPayload, a as EventPayloadValue, S as SExpr } from './expression-DRwzVnMu.js';
6
6
  export { C as CORE_BINDINGS, c as CoreBinding, d as EvalContext, e as EventPayloadSchema, f as EventPayloadValueSchema, E as Expression, g as ExpressionInput, h as ExpressionSchema, L as LogMeta, i as LogMetaValue, P as ParsedBinding, j as SExprAtom, k as SExprAtomSchema, l as SExprDataSchema, m as SExprInput, n as SExprObject, o as SExprSchema, p as collectBindings, q as getArgs, r as getOperator, s as isBinding, t as isEventPayloadValue, u as isSExpr, v as isSExprAtom, w as isSExprCall, x as isValidBinding, y as parseBinding, z as sexpr, A as walkSExpr } from './expression-DRwzVnMu.js';
7
- import { R as ResolvedIR, a as ResolvedEntity, b as ResolvedPage, c as ResolvedTrait, C as ChangesetValue, S as SchemaChange, d as CategorizedRemovals, P as PageContentReduction, e as SemanticSchemaChange } from './index-DPdJPQZe.js';
8
- export { A as AgentCodeSearchResult, f as AgentCompactResult, g as AgentCompactStrategy, h as AgentContext, i as AgentGenerateOptions, j as AgentMemoryCategory, k as AgentMemoryRecord, l as AnalysisOrbital, m as AnalysisOrbitalParams, n as AnalysisPageOverride, o as AnalysisRename, p as AnalysisResult, q as AnnotationTier, r as AppCreatedEvent, s as AppSummary, t as AssetLoadStatus, B as BINDING_CONTEXT_RULES, u as BINDING_DOCS, v as BINDING_ROOTS, w as BindingContext, x as BindingRoot, y as BindingSchema, z as BridgeHealth, D as BuilderResult, E as CancelledEvent, F as ChangeAuthor, G as ChangeSetDocument, H as ChangeSummary, I as ChangesetRecordedEvent, J as CheckStatus, K as Clarification, L as ClarificationCandidate, M as ClarificationLevel, N as CompleteEvent, O as ComplexityAssessment, Q as ComposeAllResult, T as ComposeChildrenResult, U as ComposeOptions, V as ContextExtensions, W as CreateFlow, X as DEFAULT_INTERACTION_MODELS, Y as DeleteFlow, Z as DispatchUpdatesResult, _ as DrawableDescriptor, $ as EdgeType, a0 as EditFlow, a1 as EditFocus, a2 as EditFocusLevel, a3 as EffectPayload, a4 as EffectResult, a5 as EffectTrace, a6 as ErrorEvent, a7 as EventLogEntry, a8 as EvolutionDelta, a9 as ExecutePlanResult, aa as ExtraTraitRef, ab as FileOperationEvent, ac as FileWrittenEvent, ad as GateState, ae as GenerationLogEvent, af as GitHubIssue, ag as GitHubLink, ah as GitHubRepo, ai as HistoryMeta, aj as IntegrationContext, ak as InteractionModel, al as InteractionModelInput, am as InteractionModelSchema, an as InterruptEvent, ao as KNOWN_VALIDATION_ERROR_CODES, ap as KnobPayload, aq as KnownValidationErrorCode, ar as LLMErrorContext, as as LazyService, at as LineageEntry, au as ListInteraction, av as LivingEdge, aw as LivingEffect, ax as LivingEntity, ay as LivingEvent, az as LivingField, aA as LivingOrbital, aB as LivingOrbitalSchema, aC as LivingPage, aD as LivingState, aE as LivingTrait, aF as LivingTransition, aG as LivingValue, aH as LivingVertex, aI as LlmCallToolsResult, aJ as LlmContext, aK as LlmMessage, aL as LlmTokenUsage, aM as LlmToolCall, aN as LlmToolDef, aO as LoloEmitResult, aP as MemoryContext, aQ as MessageEvent, aR as OrbitalAddedEvent, aS as OrbitalSchemaCompleteEvent, aT as OrbitalVerificationAPI, aU as ParamsRepairEmittedEvent, aV as ParsedDesign, aW as ParsedDomainContext, aX as ParsedEmitDeclaration, aY as ParsedEntity, aZ as ParsedEvent, a_ as ParsedListenDeclaration, a$ as ParsedOrbital, b0 as ParsedPage, b1 as ParsedState, b2 as ParsedStateMachine, b3 as ParsedTrait, b4 as ParsedTraitConfig, b5 as ParsedTransition, b6 as PatternNode, b7 as PatternTypeSchema, b8 as PatternValue, b9 as PersistActionName, ba as PlanSnapshot, bb as PlanSnapshotStatus, bc as PlannerResult, bd as Probability, be as ProcessCompleteEvent, bf as ProcessErrorEvent, bg as ProcessRepairCompleteEvent, bh as ProcessRepairEvent, bi as ProcessStartEvent, bj as RENDER_BINDING_MARKER, bk as RenderBindingMarker, bl as RenderOverlayResult, bm as RenderUiPatch, bn as RenderUiPatchAddress, bo as RenderUiPatchOp, bp as RepairResult, bq as ResolvedEntityBinding, br as ResolvedField, bs as ResolvedNavigation, bt as ResolvedPattern, bu as ResolvedSection, bv as ResolvedSectionEvent, bw as ResolvedTraitBinding, bx as ResolvedTraitDataEntity, by as ResolvedTraitEvent, bz as ResolvedTraitGuard, bA as ResolvedTraitListener, bB as ResolvedTraitState, bC as ResolvedTraitTick, bD as ResolvedTraitTransition, bE as ResolvedTraitUIBinding, bF as SSEEvent, bG as SSEEventBase, bH as SSEEventType, bI as SaveOptions, bJ as SaveResult, bK as SchemaPhaseUpdateEvent, bL as SchemaPhaseValidatedEvent, bM as SchemaUpdateEvent, bN as SemanticAnnotation, bO as SemanticChangeKind, bP as SemanticVector, bQ as ServerResponseTrace, bR as ServiceAction, bS as ServiceActionName, bT as ServiceCallResult, bU as ServiceContract, bV as ServiceEvents, bW as SessionContext, bX as SessionHistoryEntry, bY as SnapshotCreatedEvent, bZ as SnapshotDocument, b_ as SpawnResult, b$ as StartEvent, c0 as StatsView, c1 as StoreContract, c2 as StoreFilter, c3 as StoreFilterOp, c4 as SubagentCompleteEvent, c5 as SubagentEvent, c6 as SubagentProgressEvent, c7 as SubagentStartEvent, c8 as TodoActivityType, c9 as TodoDetailEvent, ca as TodoUpdateEvent, cb as ToolCallEvent, cc as ToolResultEvent, cd as TraceContext, ce as TraitFieldRef, cf as TraitFieldRefSchema, cg as TraitStateSnapshot, ch as TransitionFrom, ci as TransitionTrace, cj as ValidateResult, ck as ValidationDocument, cl as ValidationError, cm as ValidationErrorCode, cn as ValidationIssue, co as ValidationMeta, cp as ValidationResult, cq as ValidationResults, cr as VerificationCheck, cs as VerificationSnapshot, ct as VerificationSummary, cu as VertexId, cv as VertexPayload, cw as VertexType, cx as ViewFlow, cy as WorkspaceContext, cz as applyRenderOverlay, cA as containsEntityBinding, cB as containsPayloadBinding, cC as createEmptyResolvedPage, cD as createEmptyResolvedTrait, cE as createLazyService, cF as createResolvedField, cG as createTypedEventBus, cH as fingerprintNode, cI as getBindingExamples, cJ as getInteractionModelForDomain, cK as inferTsType, cL as insertChildAtPath, cM as isKnownValidationErrorCode, cN as isPlanSnapshot, cO as isRenderBindingMarker, cP as isResolvedIR, cQ as isSessionHistoryEntry, cR as isTraitFieldRef, cS as navigatePatternPath, cT as removeChildAtPath, cU as replaceChildAtPath, cV as setPropAtPath, cW as toBindingRoot, cX as validateBindingInContext, cY as widenTier } from './index-DPdJPQZe.js';
9
- import { U as UserContext } from './bus-D69s_77B.js';
10
- export { A as ANONYMOUS_USER, B as BusEvent, b as BusEventListener, c as BusEventSource, d as BusEventSourceSchema, C as ClientEffectTuple, e as ClientEffectTupleSchema, f as ClientNavigateBackTuple, g as ClientNavigateBackTupleSchema, h as ClientNavigateTuple, i as ClientNavigateTupleSchema, j as ClientRenderUITuple, k as ClientRenderUITupleSchema, D as DEFAULT_VIEWER, l as DEV_TOKEN_PREFIX, E as EmittedEvent, m as EmittedEventSchema, n as EventDispatchRequest, o as EventDispatchRequestSchema, p as EventDispatchResponse, q as EventDispatchResponseSchema, r as EventEmit, s as EventKey, t as EventListen, L as LiveBroadcastItem, u as LiveBroadcastItemSchema, O as OrbitalEventRequest, v as OrbitalEventRequestSchema, a as OrbitalEventResponse, w as OrbitalEventResponseSchema, R as RawUserClaims, x as RawUserClaimsSchema, S as ServerBatchSummary, y as ServerBatchSummarySchema, z as ServerEffectResult, F as ServerEffectResultSchema, T as TransitionRejection, G as TransitionRejectionCode, H as Unsubscribe, I as decodeDevIdentityToken, J as encodeDevIdentityToken, K as findPersonaInRoster, M as normalizeUserContext, N as personaFromIdentityRow, P as resolveDefaultViewer, Q as resolvePersonaSpec } from './bus-D69s_77B.js';
7
+ import { R as ResolvedIR, a as ResolvedEntity, b as ResolvedPage, c as ResolvedTrait, C as ChangesetValue, S as SchemaChange, d as CategorizedRemovals, P as PageContentReduction, e as SemanticSchemaChange } from './index-1b2JJVYl.js';
8
+ export { A as AgentCodeSearchResult, f as AgentCompactResult, g as AgentCompactStrategy, h as AgentContext, i as AgentGenerateOptions, j as AgentMemoryCategory, k as AgentMemoryRecord, l as AnalysisOrbital, m as AnalysisOrbitalParams, n as AnalysisPageOverride, o as AnalysisRename, p as AnalysisResult, q as AnnotationTier, r as AppCreatedEvent, s as AppSummary, t as AssetLoadStatus, B as BINDING_CONTEXT_RULES, u as BINDING_DOCS, v as BINDING_ROOTS, w as BindingContext, x as BindingRoot, y as BindingSchema, z as BridgeHealth, D as BuilderResult, E as CancelledEvent, F as ChangeAuthor, G as ChangeSetDocument, H as ChangeSummary, I as ChangesetRecordedEvent, J as CheckStatus, K as Clarification, L as ClarificationCandidate, M as ClarificationLevel, N as CompleteEvent, O as ComplexityAssessment, Q as ComposeAllResult, T as ComposeChildrenResult, U as ComposeOptions, V as ContextExtensions, W as CreateFlow, X as DEFAULT_INTERACTION_MODELS, Y as DeleteFlow, Z as DispatchUpdatesResult, _ as DrawableDescriptor, $ as EdgeType, a0 as EditFlow, a1 as EditFocus, a2 as EditFocusLevel, a3 as EffectPayload, a4 as EffectResult, a5 as EffectTrace, a6 as ErrorEvent, a7 as EventLogEntry, a8 as EvolutionDelta, a9 as ExecutePlanResult, aa as ExtraTraitRef, ab as FileOperationEvent, ac as FileWrittenEvent, ad as GateState, ae as GenerationLogEvent, af as GitHubIssue, ag as GitHubLink, ah as GitHubRepo, ai as HistoryMeta, aj as IntegrationContext, ak as InteractionModel, al as InteractionModelInput, am as InteractionModelSchema, an as InterruptEvent, ao as KNOWN_VALIDATION_ERROR_CODES, ap as KnobPayload, aq as KnownValidationErrorCode, ar as LLMErrorContext, as as LazyService, at as LineageEntry, au as ListInteraction, av as LivingEdge, aw as LivingEffect, ax as LivingEntity, ay as LivingEvent, az as LivingField, aA as LivingOrbital, aB as LivingOrbitalSchema, aC as LivingPage, aD as LivingState, aE as LivingTrait, aF as LivingTransition, aG as LivingValue, aH as LivingVertex, aI as LlmCallToolsResult, aJ as LlmContext, aK as LlmMessage, aL as LlmTokenUsage, aM as LlmToolCall, aN as LlmToolDef, aO as LoloEmitResult, aP as MemoryContext, aQ as MessageEvent, aR as OrbitalAddedEvent, aS as OrbitalSchemaCompleteEvent, aT as OrbitalVerificationAPI, aU as ParamsRepairEmittedEvent, aV as ParsedDesign, aW as ParsedDomainContext, aX as ParsedEmitDeclaration, aY as ParsedEntity, aZ as ParsedEvent, a_ as ParsedListenDeclaration, a$ as ParsedOrbital, b0 as ParsedPage, b1 as ParsedState, b2 as ParsedStateMachine, b3 as ParsedTrait, b4 as ParsedTraitConfig, b5 as ParsedTransition, b6 as PatternNode, b7 as PatternTypeSchema, b8 as PatternValue, b9 as PersistActionName, ba as PlanSnapshot, bb as PlanSnapshotStatus, bc as PlannerResult, bd as Probability, be as ProcessCompleteEvent, bf as ProcessErrorEvent, bg as ProcessRepairCompleteEvent, bh as ProcessRepairEvent, bi as ProcessStartEvent, bj as RENDER_BINDING_MARKER, bk as RenderBindingMarker, bl as RenderOverlayResult, bm as RenderUiPatch, bn as RenderUiPatchAddress, bo as RenderUiPatchOp, bp as RepairResult, bq as ResolvedEntityBinding, br as ResolvedField, bs as ResolvedNavigation, bt as ResolvedPattern, bu as ResolvedSection, bv as ResolvedSectionEvent, bw as ResolvedTraitBinding, bx as ResolvedTraitDataEntity, by as ResolvedTraitEmit, bz as ResolvedTraitEvent, bA as ResolvedTraitGuard, bB as ResolvedTraitListener, bC as ResolvedTraitState, bD as ResolvedTraitTick, bE as ResolvedTraitTransition, bF as ResolvedTraitUIBinding, bG as SSEEvent, bH as SSEEventBase, bI as SSEEventType, bJ as SaveOptions, bK as SaveResult, bL as SchemaPhaseUpdateEvent, bM as SchemaPhaseValidatedEvent, bN as SchemaUpdateEvent, bO as SemanticAnnotation, bP as SemanticChangeKind, bQ as SemanticVector, bR as ServerResponseTrace, bS as ServiceAction, bT as ServiceActionName, bU as ServiceCallResult, bV as ServiceContract, bW as ServiceEvents, bX as SessionContext, bY as SessionHistoryEntry, bZ as SnapshotCreatedEvent, b_ as SnapshotDocument, b$ as SpawnResult, c0 as StartEvent, c1 as StatsView, c2 as StoreContract, c3 as StoreFilter, c4 as StoreFilterOp, c5 as SubagentCompleteEvent, c6 as SubagentEvent, c7 as SubagentProgressEvent, c8 as SubagentStartEvent, c9 as TodoActivityType, ca as TodoDetailEvent, cb as TodoUpdateEvent, cc as ToolCallEvent, cd as ToolResultEvent, ce as TraceContext, cf as TraitFieldRef, cg as TraitFieldRefSchema, ch as TraitStateSnapshot, ci as TransitionFrom, cj as TransitionTrace, ck as ValidateResult, cl as ValidationDocument, cm as ValidationError, cn as ValidationErrorCode, co as ValidationIssue, cp as ValidationMeta, cq as ValidationResult, cr as ValidationResults, cs as VerificationCheck, ct as VerificationSnapshot, cu as VerificationSummary, cv as VertexId, cw as VertexPayload, cx as VertexType, cy as ViewFlow, cz as WorkspaceContext, cA as applyRenderOverlay, cB as containsEntityBinding, cC as containsPayloadBinding, cD as createEmptyResolvedPage, cE as createEmptyResolvedTrait, cF as createLazyService, cG as createResolvedField, cH as createTypedEventBus, cI as fingerprintNode, cJ as getBindingExamples, cK as getInteractionModelForDomain, cL as inferTsType, cM as insertChildAtPath, cN as isKnownValidationErrorCode, cO as isPlanSnapshot, cP as isRenderBindingMarker, cQ as isResolvedIR, cR as isSessionHistoryEntry, cS as isTraitFieldRef, cT as navigatePatternPath, cU as removeChildAtPath, cV as replaceChildAtPath, cW as setPropAtPath, cX as toBindingRoot, cY as validateBindingInContext, cZ as widenTier } from './index-1b2JJVYl.js';
9
+ import { U as UserContext } from './bus-B8evi8AZ.js';
10
+ export { A as ANONYMOUS_USER, B as BusEvent, b as BusEventListener, c as BusEventSource, d as BusEventSourceSchema, C as ClientEffectTuple, e as ClientEffectTupleSchema, f as ClientNavigateBackTuple, g as ClientNavigateBackTupleSchema, h as ClientNavigateTuple, i as ClientNavigateTupleSchema, j as ClientRenderUITuple, k as ClientRenderUITupleSchema, D as DEFAULT_VIEWER, l as DEV_TOKEN_PREFIX, E as EmittedEvent, m as EmittedEventSchema, n as EventDispatchRequest, o as EventDispatchRequestSchema, p as EventDispatchResponse, q as EventDispatchResponseSchema, r as EventEmit, s as EventKey, t as EventListen, L as LiveBroadcastItem, u as LiveBroadcastItemSchema, O as OrbitalEventRequest, v as OrbitalEventRequestSchema, a as OrbitalEventResponse, w as OrbitalEventResponseSchema, R as RawUserClaims, x as RawUserClaimsSchema, S as ServerBatchSummary, y as ServerBatchSummarySchema, z as ServerEffectResult, F as ServerEffectResultSchema, T as TransitionRejection, G as TransitionRejectionCode, H as Unsubscribe, I as decodeDevIdentityToken, J as encodeDevIdentityToken, K as findPersonaInRoster, M as normalizeUserContext, N as personaFromIdentityRow, P as resolveDefaultViewer, Q as resolvePersonaSpec } from './bus-B8evi8AZ.js';
11
11
  import { b as TraitConfig, h as Trait, S as State } from './trait-YlNXc4H3.js';
12
12
  export { l as CONFIG_REF_EVENT_PATTERN, i as CallSiteConfig, j as CallSiteConfigEntry, C as ConfigFieldDeclaration, m as ConfigFieldDeclarationSchema, n as ConfigFieldItemsDeclaration, o as ConfigRefEventError, D as DeclaredTraitConfig, p as DeclaredTraitConfigSchema, q as EntityFieldContract, r as EntityFieldContractSchema, s as Event, t as EventInput, E as EventPayloadField, u as EventPayloadFieldSchema, v as EventSchema, w as EventScope, x as EventScopeSchema, G as Guard, y as GuardInput, z as GuardSchema, L as ListenSource, A as ListenSourceSchema, O as OrbitalTraitRef, B as OrbitalTraitRefSchema, P as PayloadField, F as PayloadFieldSchema, H as PayloadTypeWhen, I as PayloadTypeWhenSchema, J as PresentationType, R as REFERENCE_CONFIG_TYPES, K as ReferenceConfigType, M as RequiredField, N as RequiredFieldSchema, Q as SECRET_CONFIG_TYPES, U as SecretConfigType, V as StateInput, W as StateMachine, X as StateMachineInput, Y as StateMachineSchema, Z as StateSchema, _ as TickIntervalSchema, $ as TraitCategory, a0 as TraitCategorySchema, c as TraitConfigObject, a1 as TraitConfigSchema, g as TraitConfigValue, a2 as TraitConfigValueSchema, a3 as TraitDataEntity, a4 as TraitDataEntitySchema, e as TraitEntityField, a5 as TraitEntityFieldSchema, k as TraitEventContract, a6 as TraitEventContractSchema, T as TraitEventListener, a7 as TraitEventListenerSchema, a8 as TraitInput, d as TraitRef, a9 as TraitRefSchema, a as TraitReference, aa as TraitReferenceInput, ab as TraitReferenceSchema, ac as TraitSchema, ad as TraitTick, ae as TraitTickSchema, af as TraitUIBinding, ag as TraitUIBindingSchema, ah as Transition, ai as TransitionInput, aj as TransitionSchema, ak as configRefEventKnob, al as getTraitConfig, am as getTraitName, an as isCallSiteConfigDeclaration, ao as isCircuitEvent, ap as isInlineTrait, aq as isReferenceConfigType, ar as isSecretConfigType, as as maskSecretConfigValues, at as normalizeCallSiteConfigToValues, au as normalizeTraitRef, av as overrideDeclaredKnobs, aw as resolveConfigRefEventName } from './trait-YlNXc4H3.js';
13
13
  export { A as AGENT_DOMAIN_CATEGORIES, e as ALLOWED_CUSTOM_COMPONENTS, f as AgentDomainCategory, g as AgentDomainCategorySchema, h as AllowedCustomComponent, i as COLOR_TOKEN_KEYS, j as ColorSlice, k as ColorSliceSchema, l as ColorTokenKey, C as ColorTokens, m as ColorTokensSchema, n as CustomPatternDefinition, o as CustomPatternDefinitionInput, p as CustomPatternDefinitionSchema, d as CustomPatternMap, q as CustomPatternMapInput, r as CustomPatternMapSchema, s as DensitySlice, t as DensitySliceSchema, u as DensityTokens, v as DensityTokensSchema, b as DesignPreferences, w as DesignPreferencesInput, x as DesignPreferencesSchema, c as DesignTokens, y as DesignTokensInput, z as DesignTokensSchema, B as DomainCategory, E as DomainCategorySchema, D as DomainContext, F as DomainContextInput, G as DomainContextSchema, H as DomainVocabulary, I as DomainVocabularySchema, J as ElevationSlice, K as ElevationSliceSchema, L as ElevationTokens, M as ElevationTokensSchema, N as EntitySemanticRole, O as EntitySemanticRoleSchema, P as EventSemanticRole, Q as EventSemanticRoleSchema, R as GameSubCategory, U as GameSubCategorySchema, V as GeometrySlice, W as GeometrySliceSchema, X as GeometryTokens, Y as GeometryTokensSchema, Z as ILLUSTRATION_TOKEN_KEYS, _ as IconFamily, $ as IconFamilySchema, a0 as IconographySlice, a1 as IconographySliceSchema, a2 as IconographyTokens, a3 as IconographyTokensSchema, a4 as IllustrationSlice, a5 as IllustrationSliceSchema, a6 as IllustrationStyle, a7 as IllustrationStyleSchema, a8 as IllustrationTokenKey, a9 as IllustrationTokens, aa as IllustrationTokensSchema, ab as KeysComplete, ac as MotionDurationKey, ad as MotionDurationKeySchema, ae as MotionDurationPalette, af as MotionDurationPaletteSchema, ag as MotionEasingKey, ah as MotionEasingKeySchema, ai as MotionEasingPalette, aj as MotionEasingPaletteSchema, ak as MotionIntent, al as MotionIntentMap, am as MotionIntentMapSchema, an as MotionIntentSchema, ao as MotionSlice, ap as MotionSliceSchema, aq as MotionTokens, ar as MotionTokensSchema, as as NavItem, at as NavStackEntry, au as NodeClassification, av as NodeClassificationSchema, aw as RelatedLink, ax as RelatedLinkSchema, ay as SkinSpec, az as SkinSpecSchema, aA as SpacingScale, aB as SpacingScaleSchema, aC as StateSemanticRole, aD as StateSemanticRoleSchema, S as SuggestedGuard, aE as SuggestedGuardSchema, T as ThemeDefinition, aF as ThemeDefinitionSchema, a as ThemeRef, aG as ThemeRefSchema, aH as ThemeRefStringSchema, aI as ThemeTokens, aJ as ThemeTokensSchema, aK as ThemeVariant, aL as ThemeVariantSchema, aM as TypeIntent, aN as TypeIntentMap, aO as TypeIntentMapSchema, aP as TypeIntentSchema, aQ as TypeScale, aR as TypeScaleEntry, aS as TypeScaleEntrySchema, aT as TypeScaleSchema, aU as TypeScaleTokens, aV as TypeScaleTokensSchema, aW as TypeSizeKey, aX as TypeSizeKeySchema, aY as TypeSlice, aZ as TypeSliceSchema, a_ as TypeSlot, a$ as TypeSlotSchema, b0 as TypeWeight, b1 as TypeWeightSchema, b2 as UXHints, b3 as UXHintsSchema, b4 as UserPersona, b5 as UserPersonaInput, b6 as UserPersonaSchema, b7 as isThemeReference } from './domain-Ds_7wZIL.js';
package/dist/index.js CHANGED
@@ -65049,6 +65049,7 @@ var OrbitalEventResponseSchema = z.object({
65049
65049
  guard: z.unknown().optional()
65050
65050
  })
65051
65051
  ).optional(),
65052
+ cascadeTruncated: z.array(z.string()).optional(),
65052
65053
  error: z.string().optional()
65053
65054
  });
65054
65055
  var LiveBroadcastItemSchema = z.object({
@@ -65518,6 +65519,14 @@ function schemaToIR(schema, useCache = true) {
65518
65519
  description: trait.description,
65519
65520
  source: "schema",
65520
65521
  category: trait.category,
65522
+ // V4 dual-carry ids + emit contracts, preserved when the source
65523
+ // trait carries them — the emit-source stamp needs `id`/`eventId`
65524
+ // for id-scoped `listens` matching (`buildSourceMatcher` compares
65525
+ // ids ONLY, so a name-only stamp never matches a `traitId`-carrying
65526
+ // listen). Absent on id-free schemas, which keep the legacy
65527
+ // name-only stamp exactly as before.
65528
+ ...trait.id !== void 0 ? { id: trait.id } : {},
65529
+ ...trait.emits !== void 0 ? { emits: trait.emits.map((e) => ({ event: e.event, eventId: e.eventId })) } : {},
65521
65530
  states: (trait.stateMachine?.states || []).map((s) => ({
65522
65531
  name: s.name,
65523
65532
  isInitial: s.isInitial ?? false,