@almadar/core 10.101.0 → 10.103.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.
Files changed (45) hide show
  1. package/dist/builders.d.ts +5 -5
  2. package/dist/builders.js +6 -2
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{bus-B8evi8AZ.d.ts → bus-BGojNDOE.d.ts} +52 -7
  5. package/dist/{domain-Ds_7wZIL.d.ts → domain-OgMkN3WN.d.ts} +13 -1
  6. package/dist/{effect-Hm_QDaSI.d.ts → effect-Xn3LIyL7.d.ts} +1 -1
  7. package/dist/{entityAccess-DdcKps16.d.ts → entityAccess-z5HA0P7P.d.ts} +3 -3
  8. package/dist/{expression-DRwzVnMu.d.ts → expression-CfeHdS-f.d.ts} +10 -1
  9. package/dist/factory/index.d.ts +5 -5
  10. package/dist/factory/index.js.map +1 -1
  11. package/dist/factory-runtime/index.d.ts +5 -5
  12. package/dist/factory-runtime/index.js +42 -8
  13. package/dist/factory-runtime/index.js.map +1 -1
  14. package/dist/fixtures.d.ts +3 -3
  15. package/dist/fixtures.js +27 -2
  16. package/dist/fixtures.js.map +1 -1
  17. package/dist/i18n/index.js +27 -6
  18. package/dist/i18n/index.js.map +1 -1
  19. package/dist/{index-1b2JJVYl.d.ts → index-CVYZ3GcI.d.ts} +122 -23
  20. package/dist/index.d.ts +74 -17
  21. package/dist/index.js +417 -72
  22. package/dist/index.js.map +1 -1
  23. package/dist/lolo-document/index.d.ts +166 -0
  24. package/dist/lolo-document/index.js +615 -0
  25. package/dist/lolo-document/index.js.map +1 -0
  26. package/dist/mock/index.d.ts +6 -6
  27. package/dist/mock/index.js +12 -1
  28. package/dist/mock/index.js.map +1 -1
  29. package/dist/patterns/index.d.ts +22 -4
  30. package/dist/patterns/index.js +41 -1
  31. package/dist/patterns/index.js.map +1 -1
  32. package/dist/{schema-TqLV2wlK.d.ts → schema-sHVqe8Kb.d.ts} +1307 -4
  33. package/dist/state-machine/index.d.ts +1 -1
  34. package/dist/themes/index.d.ts +1 -1
  35. package/dist/themes/index.js +2 -1
  36. package/dist/themes/index.js.map +1 -1
  37. package/dist/{trait-YlNXc4H3.d.ts → trait-BSe6oDBd.d.ts} +79 -3
  38. package/dist/types/index.d.ts +8 -8
  39. package/dist/types/index.js +227 -12
  40. package/dist/types/index.js.map +1 -1
  41. package/dist/{types-Ug92oza4.d.ts → types-DK29MMOQ.d.ts} +2 -2
  42. package/fixtures/events-wire/client-effects-provenance/request.json +5 -0
  43. package/fixtures/events-wire/client-effects-provenance/response.json +57 -0
  44. package/package.json +6 -1
  45. package/src/types/bindings.ts +28 -3
@@ -1,12 +1,12 @@
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, T as TraitId, b as EventId, A as AnyPatternConfig, c as Effect } from './effect-Hm_QDaSI.js';
3
- import { S as SExpr, a as EventPayloadValue, b as EventPayload, L as LogMeta, d as EvalContext } from './expression-DRwzVnMu.js';
1
+ import { R as PageTraitRef, O as OrbitalSchema, s as Orbital, c as Page, a as OrbitalDefinition } from './schema-sHVqe8Kb.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-Xn3LIyL7.js';
3
+ import { S as SExpr, a as EventPayloadValue, b as EventPayload, L as LogMeta, d as EvalContext } from './expression-CfeHdS-f.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-B8evi8AZ.js';
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
- import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from './types-Ug92oza4.js';
9
- import { T as ThemeDefinition, D as DomainContext } from './domain-Ds_7wZIL.js';
6
+ import { p as DispatchLog, n as DeliveryRecord, c as BusEventSource } from './bus-BGojNDOE.js';
7
+ import { a as TraitReference, h as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, aj as Transition, u as Event, g as TraitConfigValue, a1 as TraitCategory, aB as TraitScope } from './trait-BSe6oDBd.js';
8
+ import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from './types-DK29MMOQ.js';
9
+ import { T as ThemeDefinition, D as DomainContext } from './domain-OgMkN3WN.js';
10
10
  import { MakeTraitRefOpts, EventWiringEntry, LayoutStrategy } from './builders.js';
11
11
 
12
12
  /**
@@ -93,17 +93,42 @@ declare const BINDING_DOCS: {
93
93
  readonly examples: readonly ["@currentTheme"];
94
94
  readonly requiresPath: false;
95
95
  };
96
+ readonly event: {
97
+ readonly description: "The delivery being processed: { event, payload, source } — for a listens delivery the source emit, with its BusEventSource envelope (Runtime Spec Clause 5.5)";
98
+ readonly examples: readonly ["@event.event", "@event.payload.n", "@event.source.trait", "@event.source.tick"];
99
+ readonly requiresPath: false;
100
+ };
101
+ readonly prevEvents: {
102
+ readonly description: "The deliveries this trait already received in this dispatch, in order, each shaped like @event";
103
+ readonly examples: readonly ["@prevEvents"];
104
+ readonly requiresPath: false;
105
+ };
106
+ readonly prevStates: {
107
+ readonly description: "The states this trait left in this dispatch, in order";
108
+ readonly examples: readonly ["@prevStates"];
109
+ readonly requiresPath: false;
110
+ };
111
+ readonly fromState: {
112
+ readonly description: "The transition's source state";
113
+ readonly examples: readonly ["@fromState"];
114
+ readonly requiresPath: false;
115
+ };
116
+ readonly toState: {
117
+ readonly description: "The transition's target state (null in a listens `when`, where no transition is chosen yet)";
118
+ readonly examples: readonly ["@toState"];
119
+ readonly requiresPath: false;
120
+ };
96
121
  };
97
122
  /**
98
123
  * Validation rules for bindings in different contexts.
99
124
  */
100
125
  declare const BINDING_CONTEXT_RULES: {
101
126
  readonly guard: {
102
- readonly allowed: readonly ["entity", "payload", "state", "now", "config", "user"];
103
- readonly description: "Guards can access entity fields, event payload, current state, time, the call-site trait config (@config.X), and the authenticated user context (@user.id, @user.role) for ownership / role gates. Config access lets atoms write mode-aware guards — e.g. std-modal's OPEN can require @payload.row only when @config.mode equals \"edit\", letting create-mode legitimately fire OPEN with no row. Like effects, @config.X is substituted at molecule/organism inline time with the literal call-site value; at atom-scope validate, @config is allowed-but-unresolved.";
127
+ readonly allowed: readonly ["entity", "payload", "state", "now", "config", "user", "event", "prevEvents", "prevStates", "fromState", "toState"];
128
+ readonly description: "Guards can read the delivery being processed and this dispatch's log (@event, @prevEvents, @prevStates) and the transition's ends (@fromState, @toState; Runtime Spec Clause 5.5). Guards can access entity fields, event payload, current state, time, the call-site trait config (@config.X), and the authenticated user context (@user.id, @user.role) for ownership / role gates. Config access lets atoms write mode-aware guards — e.g. std-modal's OPEN can require @payload.row only when @config.mode equals \"edit\", letting create-mode legitimately fire OPEN with no row. Like effects, @config.X is substituted at molecule/organism inline time with the literal call-site value; at atom-scope validate, @config is allowed-but-unresolved.";
104
129
  };
105
130
  readonly effect: {
106
- readonly allowed: readonly ["entity", "payload", "state", "now", "trait", "config", "user", "callsitePayload", "pages", "currentTheme"];
131
+ readonly allowed: readonly ["entity", "payload", "state", "now", "trait", "config", "user", "callsitePayload", "pages", "currentTheme", "event", "prevEvents", "prevStates", "fromState", "toState"];
107
132
  readonly description: "Effects can access and modify entity fields, use payload data, embed another trait's live frame via @trait.X inside render-ui children, read trait config values (@config.X) for atoms parameterized by their call-site, and read the authenticated user context (@user.id, @user.role). At molecule/organism inline time, @config.X is substituted with the literal value from the call-site config block; at atom-scope validate, @config is allowed-but-unresolved. @callsitePayload.X is the call-site-captured event payload emitted by the compiler's inline-trait hoisting (a hoisted render block that captured @payload); it is resolved at the composing effect by the runtime BindingResolver.";
108
133
  };
109
134
  readonly tick: {
@@ -193,17 +218,22 @@ declare function getBindingExamples(context: BindingContext): string[];
193
218
  * - `trait`: `@trait.x` — render-time reference to another trait's
194
219
  * mounted view. Resolved by `<TraitFrame>` at runtime, not by the
195
220
  * SExpression compiler.
196
- * - `item`: `@item.x` — iterator variable inside a `map` / repeat
197
- * pattern.
198
- * - `now`: `@now` — current timestamp (ISO string).
199
- * - `computed`: `@computed.x` — evaluator-computed value (Phase 4.5).
200
- * - `other`: catch-all for unknown prefixes or entity-reference
201
- * bindings (`@User.name`, `@_item`).
221
+ * - `now`: `@now` — the dispatch's one timestamp (Runtime Spec Clause 8.5).
222
+ * - `callsitePayload`: `@callsitePayload.x` — a composing transition's
223
+ * payload captured for an inlined child trait (compiler-produced).
224
+ * - `pages` / `currentTheme`: render-resolved schema sigils (no path).
225
+ * - `event`, `prevEvents`, `prevStates`, `fromState`, `toState`: the delivery
226
+ * being processed and this dispatch's log (Runtime Spec Clause 5.5).
227
+ * - `other`: not a root — a lambda/let local (`@item`) or an
228
+ * entity-reference binding (`@User.name`).
229
+ *
230
+ * The author-facing roots are the i18n `sigils` table; the orbital-compiler
231
+ * validator's `CORE_BINDING_ROOTS` is the same set as `BINDING_ROOTS` minus `other`.
202
232
  *
203
233
  * @packageDocumentation
204
234
  */
205
235
 
206
- type BindingRoot = 'entity' | 'payload' | 'state' | 'config' | 'user' | 'trait' | 'item' | 'now' | 'computed' | 'other';
236
+ type BindingRoot = 'entity' | 'payload' | 'state' | 'now' | 'config' | 'trait' | 'user' | 'callsitePayload' | 'pages' | 'currentTheme' | 'event' | 'prevEvents' | 'prevStates' | 'fromState' | 'toState' | 'other';
207
237
  /** Every known binding root, in a stable order — useful for exhaustiveness checks. */
208
238
  declare const BINDING_ROOTS: readonly BindingRoot[];
209
239
  /**
@@ -321,6 +351,9 @@ declare const KNOWN_VALIDATION_ERROR_CODES: {
321
351
  readonly ORB_BINDING_NOW_NO_PATH: "ORB_BINDING_NOW_NO_PATH";
322
352
  readonly ORB_BINDING_PAYLOAD_FIELD_UNDECLARED: "ORB_BINDING_PAYLOAD_FIELD_UNDECLARED";
323
353
  readonly ORB_BINDING_PAYLOAD_IN_TICK: "ORB_BINDING_PAYLOAD_IN_TICK";
354
+ readonly ORB_BINDING_DISPATCH_ROOT_IN_TICK: "ORB_BINDING_DISPATCH_ROOT_IN_TICK";
355
+ readonly ORB_BINDING_ROOT_NO_PATH: "ORB_BINDING_ROOT_NO_PATH";
356
+ readonly ORB_BINDING_EVENT_INVALID_PATH: "ORB_BINDING_EVENT_INVALID_PATH";
324
357
  readonly ORB_BINDING_PAYLOAD_TYPE_INCOMPATIBLE: "ORB_BINDING_PAYLOAD_TYPE_INCOMPATIBLE";
325
358
  readonly ORB_BINDING_SET_TARGET_MISSING_PATH: "ORB_BINDING_SET_TARGET_MISSING_PATH";
326
359
  readonly ORB_BINDING_STATE_NO_PATH: "ORB_BINDING_STATE_NO_PATH";
@@ -1191,7 +1224,8 @@ interface ValidationMeta {
1191
1224
  * What kind of .orb concept changed between two schema versions.
1192
1225
  * Used by canvas focus derivation, CLI narration, selective re-verification.
1193
1226
  */
1194
- type SemanticChangeKind = 'orbital-added' | 'orbital-removed' | 'entity-fields-changed' | 'trait-added' | 'trait-removed' | 'state-machine-changed' | 'guard-changed' | 'effect-changed' | 'render-ui-changed' | 'event-wiring-changed' | 'page-changed' | 'behavior-composed';
1227
+ declare const SEMANTIC_CHANGE_KINDS: readonly ["orbital-added", "orbital-removed", "entity-fields-changed", "trait-added", "trait-removed", "trait-config-changed", "state-machine-changed", "guard-changed", "effect-changed", "render-ui-changed", "event-wiring-changed", "page-changed", "theme-changed", "behavior-composed"];
1228
+ type SemanticChangeKind = (typeof SEMANTIC_CHANGE_KINDS)[number];
1195
1229
  /**
1196
1230
  * A semantic change between two OrbitalSchema versions.
1197
1231
  * Identifies WHAT concept changed and WHERE in the schema.
@@ -1890,6 +1924,29 @@ declare function isResolvedIR(ir: RuntimeValue): ir is ResolvedIR;
1890
1924
  interface ContextExtensions {
1891
1925
  }
1892
1926
 
1927
+ /** `(trait, event, from, payload)`: only an exact repeat of all four is a cycle. */
1928
+ declare function dispatchVisitKey(trait: string, event: string, from: string, payload: EventPayload | null | undefined): string;
1929
+
1930
+ /** What a guard or effect reads: `@event`, `@prevEvents`, `@prevStates`. */
1931
+ interface DispatchScope {
1932
+ event: EventPayload;
1933
+ prevEvents: EventPayload[];
1934
+ prevStates: string[];
1935
+ }
1936
+ /** The scope of a delivery with the given log so far; no delivery = a direct dispatch of `event`. */
1937
+ declare function dispatchScopeOf(delivery: DeliveryRecord | undefined, log: DispatchLog | undefined, event: string, payload: EventPayload | undefined): DispatchScope;
1938
+ declare class DispatchMemory {
1939
+ private readonly deliveries;
1940
+ private readonly left;
1941
+ /** This trait's log so far, as it travels on a request. */
1942
+ log(trait: string): DispatchLog;
1943
+ view(trait: string, delivery: DeliveryRecord): DispatchScope;
1944
+ /** Continue a dispatch that began elsewhere: the target trait's log so far. */
1945
+ seed(trait: string, log: DispatchLog): void;
1946
+ recordDelivery(trait: string, delivery: DeliveryRecord): void;
1947
+ recordTransition(trait: string, from: string, to: string): void;
1948
+ }
1949
+
1893
1950
  /**
1894
1951
  * Verification Types (framework concept)
1895
1952
  *
@@ -2180,12 +2237,29 @@ interface StartEvent extends SSEEventBase {
2180
2237
  workDir: string;
2181
2238
  };
2182
2239
  }
2240
+ /** The LLM call behind a raw `message` frame — everything the trace records, untruncated. */
2241
+ interface LlmCallMeta {
2242
+ service: string;
2243
+ provider: string;
2244
+ model: string;
2245
+ systemPrompt: string;
2246
+ userPrompt: string;
2247
+ toolCallsJson?: string;
2248
+ attempt?: number;
2249
+ durationMs: number;
2250
+ promptTokens?: number;
2251
+ completionTokens?: number;
2252
+ cachedPromptTokens?: number;
2253
+ costUSD?: number;
2254
+ }
2183
2255
  interface MessageEvent extends SSEEventBase {
2184
2256
  type: 'message';
2185
2257
  data: {
2186
2258
  content: string;
2187
2259
  role: 'assistant' | 'user' | 'system';
2188
2260
  isComplete: boolean;
2261
+ /** Present when the frame is a raw LLM response. */
2262
+ llm?: LlmCallMeta;
2189
2263
  };
2190
2264
  }
2191
2265
  interface ToolCallEvent extends SSEEventBase {
@@ -2861,11 +2935,14 @@ interface ParsedDesign {
2861
2935
 
2862
2936
  /** A serializable value inside a render-ui pattern node. No functions. */
2863
2937
  type PatternValue = string | number | boolean | Date | null | undefined | PatternNode | readonly PatternValue[];
2864
- /** One node in a render-ui pattern tree as it appears in resolved `.orb`. */
2938
+ /**
2939
+ * One node in a render-ui pattern tree as it appears in resolved `.orb`. A
2940
+ * child is a nested node or a `@trait.X` embed (another trait's render).
2941
+ */
2865
2942
  interface PatternNode {
2866
2943
  type?: string;
2867
- children?: PatternNode[];
2868
- [prop: string]: PatternValue | PatternNode[] | undefined;
2944
+ children?: Array<PatternNode | string>;
2945
+ [prop: string]: PatternValue | Array<PatternNode | string> | undefined;
2869
2946
  }
2870
2947
  type EditFocusLevel = 'node' | 'slot' | 'field' | 'effect' | 'trait' | 'page' | 'orbital';
2871
2948
  /** A pointed-at element. Plain data — constructible with or without a DOM. */
@@ -2906,8 +2983,17 @@ interface RenderUiPatch {
2906
2983
  /** For `set-prop`: the new value. For `rebind`: pass the binding via `value`. */
2907
2984
  value?: PatternValue;
2908
2985
  }
2909
- /** Navigate a dot-separated path (`root`, `root.children.0`, …) to a node. */
2986
+ /**
2987
+ * Navigate a path as the renderer emits it (`root`, `root.children.0`,
2988
+ * `root.children.1.children.0`) to a node. The leading `root` is a label, not
2989
+ * a key; a path without it is accepted too.
2990
+ */
2910
2991
  declare function navigatePatternPath(root: PatternNode, path: string): PatternNode | null;
2992
+ /** `<parent>.children.<i>` → the parent's path and the index; null for anything else. */
2993
+ declare function splitPatternChildPath(path: string): {
2994
+ parentPath: string;
2995
+ index: number;
2996
+ } | null;
2911
2997
  /** Set a prop on the node at `path`. Returns false if the path misses. */
2912
2998
  declare function setPropAtPath(root: PatternNode, path: string, prop: string, value: PatternValue): boolean;
2913
2999
  /** Replace the node at a child path (`<parent>.children.<i>`) with `node`. */
@@ -2925,6 +3011,19 @@ interface RenderOverlayResult {
2925
3011
  * unmatched). Surfaced as `patch_stale` — never silently dropped. */
2926
3012
  stale: RenderUiPatch[];
2927
3013
  }
3014
+ /** Where a trait's render lives: the transition (by event, optionally its from-state) and the slot. */
3015
+ interface RenderRootAddress {
3016
+ transition: string;
3017
+ state?: string;
3018
+ slot: string;
3019
+ }
3020
+ /**
3021
+ * The render-ui root a trait paints for an address, including renders nested
3022
+ * in control forms (`when`/`if`). Prefers the exact transition; an empty
3023
+ * transition (a canvas selection with no provenance) takes the first render
3024
+ * into that slot.
3025
+ */
3026
+ declare function renderRootOf(trait: Trait, address: RenderRootAddress): PatternNode | null;
2928
3027
  /**
2929
3028
  * Replay render-ui patches onto a resolved orbital, in place. Deterministic:
2930
3029
  * given the same base + patches, produces the same tree. Patches that cannot be
@@ -2932,4 +3031,4 @@ interface RenderOverlayResult {
2932
3031
  */
2933
3032
  declare function applyRenderOverlay(orbital: OrbitalDefinition, patches: readonly RenderUiPatch[]): RenderOverlayResult;
2934
3033
 
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 };
3034
+ export { DispatchMemory as $, type AgentCodeSearchResult as A, BINDING_CONTEXT_RULES as B, type ChangesetValue as C, type BridgeHealth as D, type BuilderResult as E, type CancelledEvent as F, type ChangeAuthor as G, type ChangeSetDocument as H, type ChangeSummary as I, type ChangesetRecordedEvent as J, type CheckStatus as K, type LlmCallMeta as L, type Clarification as M, type ClarificationCandidate as N, type ClarificationLevel as O, type PageContentReduction as P, type CompleteEvent as Q, type ResolvedIR as R, type SemanticChangeKind as S, type ComplexityAssessment as T, type ComposeAllResult as U, type ComposeChildrenResult as V, type ComposeOptions as W, type ContextExtensions as X, type CreateFlow as Y, DEFAULT_INTERACTION_MODELS as Z, type DeleteFlow as _, type ResolvedEntity as a, type ParsedEmitDeclaration as a$, type DispatchScope as a0, type DispatchUpdatesResult as a1, type DrawableDescriptor as a2, type EdgeType as a3, type EditFlow as a4, type EditFocus as a5, type EditFocusLevel as a6, type EffectPayload as a7, type EffectResult as a8, type EffectTrace as a9, type LivingEffect as aA, type LivingEntity as aB, type LivingEvent as aC, type LivingField as aD, type LivingOrbital as aE, type LivingOrbitalSchema as aF, type LivingPage as aG, type LivingState as aH, type LivingTrait as aI, type LivingTransition as aJ, type LivingValue as aK, type LivingVertex as aL, type LlmCallToolsResult as aM, type LlmContext as aN, type LlmMessage as aO, type LlmTokenUsage as aP, type LlmToolCall as aQ, type LlmToolDef as aR, type LoloEmitResult as aS, type MemoryContext as aT, type MessageEvent as aU, type OrbitalAddedEvent as aV, type OrbitalSchemaCompleteEvent as aW, type OrbitalVerificationAPI as aX, type ParamsRepairEmittedEvent as aY, type ParsedDesign as aZ, type ParsedDomainContext as a_, type ErrorEvent as aa, type EventLogEntry as ab, type EvolutionDelta as ac, type ExecutePlanResult as ad, type ExtraTraitRef as ae, type FileOperationEvent as af, type FileWrittenEvent as ag, type GateState as ah, type GenerationLogEvent as ai, type GitHubIssue as aj, type GitHubLink as ak, type GitHubRepo as al, type HistoryMeta as am, type IntegrationContext as an, type InteractionModel as ao, type InteractionModelInput as ap, InteractionModelSchema as aq, type InterruptEvent as ar, KNOWN_VALIDATION_ERROR_CODES as as, type KnobPayload as at, type KnownValidationErrorCode as au, type LLMErrorContext as av, type LazyService as aw, type LineageEntry as ax, type ListInteraction as ay, type LivingEdge as az, type ResolvedPage as b, type ServiceEvents as b$, type ParsedEntity as b0, type ParsedEvent as b1, type ParsedListenDeclaration as b2, type ParsedOrbital as b3, type ParsedPage as b4, type ParsedState as b5, type ParsedStateMachine as b6, type ParsedTrait as b7, type ParsedTraitConfig as b8, type ParsedTransition as b9, type ResolvedSectionEvent as bA, type ResolvedTraitBinding as bB, type ResolvedTraitDataEntity as bC, type ResolvedTraitEmit as bD, type ResolvedTraitEvent as bE, type ResolvedTraitGuard as bF, type ResolvedTraitListener as bG, type ResolvedTraitState as bH, type ResolvedTraitTick as bI, type ResolvedTraitTransition as bJ, type ResolvedTraitUIBinding as bK, SEMANTIC_CHANGE_KINDS as bL, type SSEEvent as bM, type SSEEventBase as bN, type SSEEventType as bO, type SaveOptions as bP, type SaveResult as bQ, type SchemaPhaseUpdateEvent as bR, type SchemaPhaseValidatedEvent as bS, type SchemaUpdateEvent as bT, type SemanticAnnotation as bU, type SemanticVector as bV, type ServerResponseTrace as bW, type ServiceAction as bX, type ServiceActionName as bY, type ServiceCallResult as bZ, type ServiceContract as b_, type PatternNode as ba, PatternTypeSchema as bb, type PatternValue as bc, type PersistActionName as bd, type PlanSnapshot as be, type PlanSnapshotStatus as bf, type PlannerResult as bg, type Probability as bh, type ProcessCompleteEvent as bi, type ProcessErrorEvent as bj, type ProcessRepairCompleteEvent as bk, type ProcessRepairEvent as bl, type ProcessStartEvent as bm, RENDER_BINDING_MARKER as bn, type RenderBindingMarker as bo, type RenderOverlayResult as bp, type RenderRootAddress as bq, type RenderUiPatch as br, type RenderUiPatchAddress as bs, type RenderUiPatchOp as bt, type RepairResult as bu, type ResolvedEntityBinding as bv, type ResolvedField as bw, type ResolvedNavigation as bx, type ResolvedPattern as by, type ResolvedSection as bz, type ResolvedTrait as c, removeChildAtPath as c$, type SessionContext as c0, type SessionHistoryEntry as c1, type SnapshotCreatedEvent as c2, type SnapshotDocument as c3, type SpawnResult as c4, type StartEvent as c5, type StatsView as c6, type StoreContract as c7, type StoreFilter as c8, type StoreFilterOp as c9, type VertexId as cA, type VertexPayload as cB, type VertexType as cC, type ViewFlow as cD, type WorkspaceContext as cE, applyRenderOverlay as cF, containsEntityBinding as cG, containsPayloadBinding as cH, createEmptyResolvedPage as cI, createEmptyResolvedTrait as cJ, createLazyService as cK, createResolvedField as cL, createTypedEventBus as cM, dispatchScopeOf as cN, dispatchVisitKey as cO, fingerprintNode as cP, getBindingExamples as cQ, getInteractionModelForDomain as cR, inferTsType as cS, insertChildAtPath as cT, isKnownValidationErrorCode as cU, isPlanSnapshot as cV, isRenderBindingMarker as cW, isResolvedIR as cX, isSessionHistoryEntry as cY, isTraitFieldRef as cZ, navigatePatternPath as c_, type SubagentCompleteEvent as ca, type SubagentEvent as cb, type SubagentProgressEvent as cc, type SubagentStartEvent as cd, type TodoActivityType as ce, type TodoDetailEvent as cf, type TodoUpdateEvent as cg, type ToolCallEvent as ch, type ToolResultEvent as ci, type TraceContext as cj, type TraitFieldRef as ck, TraitFieldRefSchema as cl, type TraitStateSnapshot as cm, type TransitionFrom as cn, type TransitionTrace as co, type ValidateResult as cp, type ValidationDocument as cq, type ValidationError as cr, type ValidationErrorCode as cs, type ValidationIssue as ct, type ValidationMeta as cu, type ValidationResult as cv, type ValidationResults as cw, type VerificationCheck as cx, type VerificationSnapshot as cy, type VerificationSummary as cz, type SchemaChange as d, renderRootOf as d0, replaceChildAtPath as d1, setPropAtPath as d2, splitPatternChildPath as d3, toBindingRoot as d4, validateBindingInContext as d5, widenTier as d6, type CategorizedRemovals as e, type SemanticSchemaChange as f, type AgentCompactResult as g, type AgentCompactStrategy as h, type AgentContext as i, type AgentGenerateOptions as j, type AgentMemoryCategory as k, type AgentMemoryRecord as l, type AnalysisOrbital as m, type AnalysisOrbitalParams as n, type AnalysisPageOverride as o, type AnalysisRename as p, type AnalysisResult as q, type AnnotationTier as r, type AppCreatedEvent as s, type AppSummary as t, type AssetLoadStatus as u, BINDING_DOCS as v, BINDING_ROOTS as w, type BindingContext as x, type BindingRoot as y, BindingSchema as z };
package/dist/index.d.ts CHANGED
@@ -1,24 +1,24 @@
1
- import { O as OrbitalSchema, a as OrbitalDefinition, b as ExpectDeclaration } from './schema-TqLV2wlK.js';
2
- export { C as ComputedEventContract, e as ComputedEventContractSchema, f as ComputedEventListener, g as ComputedEventListenerSchema, h as ConfigProvenanceRecord, i as ConfigProvenanceRecordSchema, j as EntityCall, k as EntityCallSchema, E as EntityRef, l as EntityRefSchema, m as EntityRefStringSchema, n as EventListener, o as EventListenerSchema, p as EventSource, q as EventSourceSchema, r as ExpectDeclarationSchema, s as FullOrbitalUnit, s as Orbital, t as OrbitalDefinitionSchema, u as OrbitalInput, v as OrbitalPage, w as OrbitalPageInput, x as OrbitalPageSchema, y as OrbitalPageStrictInput, z as OrbitalPageStrictSchema, A as OrbitalRefObject, B as OrbitalRefObjectSchema, D as OrbitalRefStringSchema, F as OrbitalSchemaInput, G as OrbitalSchemaSchema, H as OrbitalSchemaWithTraits, I as OrbitalUnit, J as OrbitalUnitSchema, K as OrbitalZodSchema, c as Page, P as PageRef, d as PageRefObject, L as PageRefObjectSchema, M as PageRefSchema, N as PageRefStringSchema, Q as PageSchema, R as PageTraitRef, S as PageTraitRefSchema, T as SchemaMetadata, V as SchemaMetadataSchema, U as UseDeclaration, W as UseDeclarationSchema, X as ViewType, Y as ViewTypeSchema, Z as expectedEntityName, _ as isEntityCall, $ as isEntityReference, a0 as isEntityReferenceAny, a1 as isImportedTraitRef, a2 as isOrbitalDefinition, a3 as isPageReference, a4 as isPageReferenceObject, a5 as isPageReferenceString, a6 as parseEntityRef, a7 as parseImportedTraitRef, a8 as parseOrbitalRef, a9 as parseOrbitalSchema, aa as parsePageRef, ab as safeParseOrbitalSchema } from './schema-TqLV2wlK.js';
3
- import { F as FieldValue, g as EntityRow } from './effect-Hm_QDaSI.js';
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
- import { b as EventPayload, a as EventPayloadValue, S as SExpr } from './expression-DRwzVnMu.js';
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-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
- import { b as TraitConfig, h as Trait, S as State } from './trait-YlNXc4H3.js';
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
- 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';
1
+ import { O as OrbitalSchema, a as OrbitalDefinition, b as ExpectDeclaration } from './schema-sHVqe8Kb.js';
2
+ export { C as ComputedEventContract, e as ComputedEventContractSchema, f as ComputedEventListener, g as ComputedEventListenerSchema, h as ConfigProvenanceRecord, i as ConfigProvenanceRecordSchema, j as EntityCall, k as EntityCallSchema, E as EntityRef, l as EntityRefSchema, m as EntityRefStringSchema, n as EventListener, o as EventListenerSchema, p as EventSource, q as EventSourceSchema, r as ExpectDeclarationSchema, s as FullOrbitalUnit, s as Orbital, t as OrbitalDefinitionSchema, u as OrbitalInput, v as OrbitalPage, w as OrbitalPageInput, x as OrbitalPageSchema, y as OrbitalPageStrictInput, z as OrbitalPageStrictSchema, A as OrbitalRefObject, B as OrbitalRefObjectSchema, D as OrbitalRefStringSchema, F as OrbitalSchemaInput, G as OrbitalSchemaSchema, H as OrbitalSchemaWithTraits, I as OrbitalUnit, J as OrbitalUnitSchema, K as OrbitalZodSchema, c as Page, P as PageRef, d as PageRefObject, L as PageRefObjectSchema, M as PageRefSchema, N as PageRefStringSchema, Q as PageSchema, R as PageTraitRef, S as PageTraitRefSchema, T as SchemaMetadata, V as SchemaMetadataSchema, U as UseDeclaration, W as UseDeclarationSchema, X as ViewType, Y as ViewTypeSchema, Z as expectedEntityName, _ as isEntityCall, $ as isEntityReference, a0 as isEntityReferenceAny, a1 as isImportedTraitRef, a2 as isOrbitalDefinition, a3 as isPageReference, a4 as isPageReferenceObject, a5 as isPageReferenceString, a6 as parseEntityRef, a7 as parseImportedTraitRef, a8 as parseOrbitalRef, a9 as parseOrbitalSchema, aa as parsePageRef, ab as safeParseOrbitalSchema } from './schema-sHVqe8Kb.js';
3
+ import { F as FieldValue, g as EntityRow } from './effect-Xn3LIyL7.js';
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-Xn3LIyL7.js';
5
+ import { b as EventPayload, a as EventPayloadValue, S as SExpr } from './expression-CfeHdS-f.js';
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 isStaticallyFalse, y as isValidBinding, z as parseBinding, A as sexpr, B as walkSExpr } from './expression-CfeHdS-f.js';
7
+ import { S as SemanticChangeKind, L as LlmCallMeta, R as ResolvedIR, a as ResolvedEntity, b as ResolvedPage, c as ResolvedTrait, C as ChangesetValue, d as SchemaChange, e as CategorizedRemovals, P as PageContentReduction, f as SemanticSchemaChange } from './index-CVYZ3GcI.js';
8
+ export { A as AgentCodeSearchResult, g as AgentCompactResult, h as AgentCompactStrategy, i as AgentContext, j as AgentGenerateOptions, k as AgentMemoryCategory, l as AgentMemoryRecord, m as AnalysisOrbital, n as AnalysisOrbitalParams, o as AnalysisPageOverride, p as AnalysisRename, q as AnalysisResult, r as AnnotationTier, s as AppCreatedEvent, t as AppSummary, u as AssetLoadStatus, B as BINDING_CONTEXT_RULES, v as BINDING_DOCS, w as BINDING_ROOTS, x as BindingContext, y as BindingRoot, z as BindingSchema, D as BridgeHealth, E as BuilderResult, F as CancelledEvent, G as ChangeAuthor, H as ChangeSetDocument, I as ChangeSummary, J as ChangesetRecordedEvent, K as CheckStatus, M as Clarification, N as ClarificationCandidate, O as ClarificationLevel, Q as CompleteEvent, T as ComplexityAssessment, U as ComposeAllResult, V as ComposeChildrenResult, W as ComposeOptions, X as ContextExtensions, Y as CreateFlow, Z as DEFAULT_INTERACTION_MODELS, _ as DeleteFlow, $ as DispatchMemory, a0 as DispatchScope, a1 as DispatchUpdatesResult, a2 as DrawableDescriptor, a3 as EdgeType, a4 as EditFlow, a5 as EditFocus, a6 as EditFocusLevel, a7 as EffectPayload, a8 as EffectResult, a9 as EffectTrace, aa as ErrorEvent, ab as EventLogEntry, ac as EvolutionDelta, ad as ExecutePlanResult, ae as ExtraTraitRef, af as FileOperationEvent, ag as FileWrittenEvent, ah as GateState, ai as GenerationLogEvent, aj as GitHubIssue, ak as GitHubLink, al as GitHubRepo, am as HistoryMeta, an as IntegrationContext, ao as InteractionModel, ap as InteractionModelInput, aq as InteractionModelSchema, ar as InterruptEvent, as as KNOWN_VALIDATION_ERROR_CODES, at as KnobPayload, au as KnownValidationErrorCode, av as LLMErrorContext, aw as LazyService, ax as LineageEntry, ay as ListInteraction, az as LivingEdge, aA as LivingEffect, aB as LivingEntity, aC as LivingEvent, aD as LivingField, aE as LivingOrbital, aF as LivingOrbitalSchema, aG as LivingPage, aH as LivingState, aI as LivingTrait, aJ as LivingTransition, aK as LivingValue, aL as LivingVertex, aM as LlmCallToolsResult, aN as LlmContext, aO as LlmMessage, aP as LlmTokenUsage, aQ as LlmToolCall, aR as LlmToolDef, aS as LoloEmitResult, aT as MemoryContext, aU as MessageEvent, aV as OrbitalAddedEvent, aW as OrbitalSchemaCompleteEvent, aX as OrbitalVerificationAPI, aY as ParamsRepairEmittedEvent, aZ as ParsedDesign, a_ as ParsedDomainContext, a$ as ParsedEmitDeclaration, b0 as ParsedEntity, b1 as ParsedEvent, b2 as ParsedListenDeclaration, b3 as ParsedOrbital, b4 as ParsedPage, b5 as ParsedState, b6 as ParsedStateMachine, b7 as ParsedTrait, b8 as ParsedTraitConfig, b9 as ParsedTransition, ba as PatternNode, bb as PatternTypeSchema, bc as PatternValue, bd as PersistActionName, be as PlanSnapshot, bf as PlanSnapshotStatus, bg as PlannerResult, bh as Probability, bi as ProcessCompleteEvent, bj as ProcessErrorEvent, bk as ProcessRepairCompleteEvent, bl as ProcessRepairEvent, bm as ProcessStartEvent, bn as RENDER_BINDING_MARKER, bo as RenderBindingMarker, bp as RenderOverlayResult, bq as RenderRootAddress, br as RenderUiPatch, bs as RenderUiPatchAddress, bt as RenderUiPatchOp, bu as RepairResult, bv as ResolvedEntityBinding, bw as ResolvedField, bx as ResolvedNavigation, by as ResolvedPattern, bz as ResolvedSection, bA as ResolvedSectionEvent, bB as ResolvedTraitBinding, bC as ResolvedTraitDataEntity, bD as ResolvedTraitEmit, bE as ResolvedTraitEvent, bF as ResolvedTraitGuard, bG as ResolvedTraitListener, bH as ResolvedTraitState, bI as ResolvedTraitTick, bJ as ResolvedTraitTransition, bK as ResolvedTraitUIBinding, bL as SEMANTIC_CHANGE_KINDS, bM as SSEEvent, bN as SSEEventBase, bO as SSEEventType, bP as SaveOptions, bQ as SaveResult, bR as SchemaPhaseUpdateEvent, bS as SchemaPhaseValidatedEvent, bT as SchemaUpdateEvent, bU as SemanticAnnotation, bV as SemanticVector, bW as ServerResponseTrace, bX as ServiceAction, bY as ServiceActionName, bZ as ServiceCallResult, b_ as ServiceContract, b$ as ServiceEvents, c0 as SessionContext, c1 as SessionHistoryEntry, c2 as SnapshotCreatedEvent, c3 as SnapshotDocument, c4 as SpawnResult, c5 as StartEvent, c6 as StatsView, c7 as StoreContract, c8 as StoreFilter, c9 as StoreFilterOp, ca as SubagentCompleteEvent, cb as SubagentEvent, cc as SubagentProgressEvent, cd as SubagentStartEvent, ce as TodoActivityType, cf as TodoDetailEvent, cg as TodoUpdateEvent, ch as ToolCallEvent, ci as ToolResultEvent, cj as TraceContext, ck as TraitFieldRef, cl as TraitFieldRefSchema, cm as TraitStateSnapshot, cn as TransitionFrom, co as TransitionTrace, cp as ValidateResult, cq as ValidationDocument, cr as ValidationError, cs as ValidationErrorCode, ct as ValidationIssue, cu as ValidationMeta, cv as ValidationResult, cw as ValidationResults, cx as VerificationCheck, cy as VerificationSnapshot, cz as VerificationSummary, cA as VertexId, cB as VertexPayload, cC as VertexType, cD as ViewFlow, cE as WorkspaceContext, cF as applyRenderOverlay, cG as containsEntityBinding, cH as containsPayloadBinding, cI as createEmptyResolvedPage, cJ as createEmptyResolvedTrait, cK as createLazyService, cL as createResolvedField, cM as createTypedEventBus, cN as dispatchScopeOf, cO as dispatchVisitKey, cP as fingerprintNode, cQ as getBindingExamples, cR as getInteractionModelForDomain, cS as inferTsType, cT as insertChildAtPath, cU as isKnownValidationErrorCode, cV as isPlanSnapshot, cW as isRenderBindingMarker, cX as isResolvedIR, cY as isSessionHistoryEntry, cZ as isTraitFieldRef, c_ as navigatePatternPath, c$ as removeChildAtPath, d0 as renderRootOf, d1 as replaceChildAtPath, d2 as setPropAtPath, d3 as splitPatternChildPath, d4 as toBindingRoot, d5 as validateBindingInContext, d6 as widenTier } from './index-CVYZ3GcI.js';
9
+ import { U as UserContext } from './bus-BGojNDOE.js';
10
+ export { A as ANONYMOUS_USER, B as BusEvent, b as BusEventListener, c as BusEventSource, d as BusEventSourceSchema, e as ClientEffectByTrait, C as ClientEffectTuple, f as ClientEffectTupleSchema, g as ClientNavigateBackTuple, h as ClientNavigateBackTupleSchema, i as ClientNavigateTuple, j as ClientNavigateTupleSchema, k as ClientRenderUITuple, l as ClientRenderUITupleSchema, D as DEFAULT_VIEWER, m as DEV_TOKEN_PREFIX, n as DeliveryRecord, o as DeliveryRecordSchema, p as DispatchLog, q as DispatchLogSchema, E as EmittedEvent, r as EmittedEventSchema, s as EventDispatchRequest, t as EventDispatchRequestSchema, u as EventDispatchResponse, v as EventDispatchResponseSchema, w as EventEmit, x as EventKey, y as EventListen, L as LiveBroadcastItem, z as LiveBroadcastItemSchema, O as OrbitalEventRequest, F as OrbitalEventRequestSchema, a as OrbitalEventResponse, G as OrbitalEventResponseSchema, H as OrbitalRegisterResponse, I as OrbitalRegisterResponseSchema, R as RawUserClaims, J as RawUserClaimsSchema, S as ServerBatchSummary, K as ServerBatchSummarySchema, M as ServerEffectResult, N as ServerEffectResultSchema, P as ServerTopology, Q as ServerTopologySchema, T as TransitionRejection, V as TransitionRejectionCode, W as Unsubscribe, X as decodeDevIdentityToken, Y as deliveryRecordValue, Z as encodeDevIdentityToken, _ as findPersonaInRoster, $ as normalizeUserContext, a0 as personaFromIdentityRow, a1 as resolveDefaultViewer, a2 as resolvePersonaSpec } from './bus-BGojNDOE.js';
11
+ import { b as TraitConfig, h as Trait, S as State } from './trait-BSe6oDBd.js';
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 DispatchMode, r as DispatchModeSchema, s as EntityFieldContract, t as EntityFieldContractSchema, u as Event, v as EventInput, E as EventPayloadField, w as EventPayloadFieldSchema, x as EventSchema, y as EventScope, z as EventScopeSchema, G as Guard, A as GuardInput, B as GuardSchema, L as ListenSource, F as ListenSourceSchema, O as OrbitalTraitRef, H as OrbitalTraitRefSchema, P as PayloadField, I as PayloadFieldSchema, J as PayloadTypeWhen, K as PayloadTypeWhenSchema, M as PresentationType, R as REFERENCE_CONFIG_TYPES, N as ReferenceConfigType, Q as RequiredField, U as RequiredFieldSchema, V as SECRET_CONFIG_TYPES, W as SecretConfigType, X as StateInput, Y as StateMachine, Z as StateMachineInput, _ as StateMachineSchema, $ as StateSchema, a0 as TickIntervalSchema, a1 as TraitCategory, a2 as TraitCategorySchema, c as TraitConfigObject, a3 as TraitConfigSchema, g as TraitConfigValue, a4 as TraitConfigValueSchema, a5 as TraitDataEntity, a6 as TraitDataEntitySchema, e as TraitEntityField, a7 as TraitEntityFieldSchema, k as TraitEventContract, a8 as TraitEventContractSchema, T as TraitEventListener, a9 as TraitEventListenerSchema, aa as TraitInput, d as TraitRef, ab as TraitRefSchema, a as TraitReference, ac as TraitReferenceInput, ad as TraitReferenceSchema, ae as TraitSchema, af as TraitTick, ag as TraitTickSchema, ah as TraitUIBinding, ai as TraitUIBindingSchema, aj as Transition, ak as TransitionInput, al as TransitionSchema, am as computeDispatchMode, an as computeTraitDispatchMode, ao as configRefEventKnob, ap as getTraitConfig, aq as getTraitName, ar as isCallSiteConfigDeclaration, as as isCircuitEvent, at as isInlineTrait, au as isReferenceConfigType, av as isSecretConfigType, aw as maskSecretConfigValues, ax as normalizeCallSiteConfigToValues, ay as normalizeTraitRef, az as overrideDeclaredKnobs, aA as resolveConfigRefEventName } from './trait-BSe6oDBd.js';
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, b8 as isThemeRegistryKey, b9 as themeDataKey } from './domain-OgMkN3WN.js';
14
14
  import { T as ToolArgs, J as JsonValue, R as RuntimeValue } from './json-D8gmyK3l.js';
15
15
  export { a as JsonObject, i as isJsonArray, b as isJsonObject, c as isJsonPrimitive } from './json-D8gmyK3l.js';
16
- export { F as FactoryCallSite, a as FactoryCallSiteParams, b as FactoryConfigParam, c as FactoryConfigTier, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, h as FactoryParamValue, i as FactoryProvenance, j as FactorySignature, k as FactorySignatureCatalog, l as FactorySignatureEntityField, m as FactoryTraitSignature, J as JsonSchema, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, o as PresentationOverlay, R as RuleOverlay, p as RuleOverlayEntry, S as SchemaFieldType, T as TraitOverlay, q as TraitOverlayEntry, r as TraitOverlayListener } from './types-Ug92oza4.js';
16
+ export { F as FactoryCallSite, a as FactoryCallSiteParams, b as FactoryConfigParam, c as FactoryConfigTier, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, h as FactoryParamValue, i as FactoryProvenance, j as FactorySignature, k as FactorySignatureCatalog, l as FactorySignatureEntityField, m as FactoryTraitSignature, J as JsonSchema, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, o as PresentationOverlay, R as RuleOverlay, p as RuleOverlayEntry, S as SchemaFieldType, T as TraitOverlay, q as TraitOverlayEntry, r as TraitOverlayListener } from './types-DK29MMOQ.js';
17
17
  export { CallSiteDiff, DomainQuestion, DomainQuestionAnswer, DomainQuestionAnswers, DomainQuestionInputType, FactoryCallPlanMutation, FactoryCallPlanMutationTemplate, FactoryCallPlanState, OrbitalCallInput, TranslationBinding, TranslationResult, TranslationWarning, answerToMutations, answersToMutations, applyFactoryCallPlanMutation, assertNoUnsatisfiableEnum, deriveInputType, diffFactoryCalls, generateQuestions, rehydrateKnobDefs, signatureToParamsSchema, translateOverlaysToParams } from './factory/index.js';
18
18
  export { ComposeBehaviorsInput, ComposeBehaviorsResult, EventWiringEntry, LayoutStrategy, applyEventWiring, composeBehaviors, detectLayoutStrategy } from './builders.js';
19
- export { COMPONENT_MAPPING, EVENT_CONTRACTS, EmojiPickPayload, FormSubmitPayload, INTEGRATORS_REGISTRY, ItemActionPayload, LoadMoreRequestPayload, PATTERN_REGISTRY, PROP_KINDS, PatternCallbackArg, PatternEntry, PatternPayloadField, PatternPropDef, PatternPropTypeSchema, PatternRecommendation, PatternSwapGate, PropKind, RecommendationContext, RenderUiPayload, SELF_OVERLAY_PATTERN_TYPES, SelectionChangePayload, buildRecommendationContext, collectRenderUiPatternTypes, componentMapping, eventContracts, eventKeyPropsOf, eventListPropsOf, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValueInputPattern, patternsRegistry, recommendPatterns, registry, renderUiPatternTypesOf } from './patterns/index.js';
19
+ export { COMPONENT_MAPPING, EVENT_CONTRACTS, EmojiPickPayload, FormSubmitPayload, INTEGRATORS_REGISTRY, ItemActionPayload, LoadMoreRequestPayload, PATTERN_REGISTRY, PROP_KINDS, PatternCallbackArg, PatternEntry, PatternPayloadField, PatternPropDef, PatternPropTypeSchema, PatternRecommendation, PatternSwapGate, PropKind, RecommendationContext, RenderUiEntry, RenderUiPayload, SELF_OVERLAY_PATTERN_TYPES, SelectionChangePayload, buildRecommendationContext, collectRenderUiPatternTypes, componentMapping, eventContracts, eventKeyPropsOf, eventListPropsOf, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValueInputPattern, patternsRegistry, recommendPatterns, registry, renderUiEntriesOf, renderUiPatternTypesOf } from './patterns/index.js';
20
20
  export { BFSNode, BFSPathNode, EdgeWalkTransition, GraphTransition, GuardPayload, ReplayStep, ReplayTransition, StateEdge, WalkStep, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, collectReachableStates, constTruth, extractPayloadFieldRef, walkStatePairs } from './state-machine/index.js';
21
- export { E as EntityAccessPolicies, e as entityAccessPolicies, b as entityAccessTable, o as orbitalInlineEntities } from './entityAccess-DdcKps16.js';
21
+ export { E as EntityAccessPolicies, e as entityAccessPolicies, b as entityAccessTable, o as orbitalInlineEntities } from './entityAccess-z5HA0P7P.js';
22
22
  export { I18N_SECTIONS, I18nCoverageInput, I18nMeta, I18nProblem, I18nProblemKind, I18nSection, I18nTables, LANGUAGE_CODES, LOLO_FIRST_TOKEN_KEYWORDS, LanguageCode, LocalizeLoloOptions, LoloToken, LoloTokenKind, ORB_NOTATION_KEYS, OperatorTables, aliasMap, checkI18nCoverage, coreTables, getVocabulary, languageOfLoloFirstToken, languageOfOrbTopLevelKeys, lexLolo, localizeLoloSource, localizeMap, localizeOrbValue, parseI18nTables, parseOperatorTables, reportIdenticalToEnglish } from './i18n/index.js';
23
23
  export { THEME_PRESETS } from './themes/index.js';
24
24
  import 'zod';
@@ -126,7 +126,64 @@ type TraceActivity = {
126
126
  }>;
127
127
  skipDefault: string;
128
128
  timestamp: number;
129
+ } | {
130
+ type: 'analysis';
131
+ organism: string;
132
+ organismReason?: string;
133
+ complexity?: {
134
+ category: string;
135
+ reasoning: string;
136
+ };
137
+ renames: Array<{
138
+ from: string;
139
+ to: string;
140
+ }>;
141
+ deletes: string[];
142
+ timestamp: number;
143
+ } | {
144
+ type: 'orbital_started';
145
+ orbitalName: string;
146
+ timestamp: number;
147
+ } | {
148
+ type: 'orbital_done';
149
+ orbitalName: string;
150
+ traitCount?: number;
151
+ transitionCount?: number;
152
+ timestamp: number;
153
+ } | {
154
+ type: 'schema_change';
155
+ changeKind: SemanticChangeKind;
156
+ orbitalName: string;
157
+ traitName?: string;
158
+ transitionEvent?: string;
159
+ timestamp: number;
160
+ } | {
161
+ type: 'done';
162
+ orbitalCount: number;
163
+ timestamp: number;
164
+ } | {
165
+ type: 'cancelled';
166
+ message: string;
167
+ timestamp: number;
168
+ }
169
+ /** A raw LLM response, with the call that produced it when known. */
170
+ | {
171
+ type: 'llm_response';
172
+ content: string;
173
+ llm?: LlmCallMeta;
174
+ timestamp: number;
129
175
  };
176
+ /** Every `TraceActivity` type — the vocabulary a host picks an audience's view from. */
177
+ declare const TRACE_ACTIVITY_TYPES: readonly ["message", "tool_call", "tool_result", "file_operation", "schema_diff", "error", "coordinator_decision", "plan_committed", "pending_question", "clarification_question", "analysis", "orbital_started", "orbital_done", "schema_change", "done", "cancelled", "llm_response"];
178
+ /** Which activities one audience sees. */
179
+ interface TraceActivityAudience {
180
+ types: ReadonlyArray<TraceActivity['type']>;
181
+ /** Message roles shown; omitted = every role. */
182
+ messageRoles?: ReadonlyArray<TraceAvatarRole>;
183
+ /** `schema_change` kinds shown; omitted = every kind. */
184
+ schemaChangeKinds?: ReadonlyArray<SemanticChangeKind>;
185
+ }
186
+ declare function selectTraceActivities(activities: readonly TraceActivity[], audience: TraceActivityAudience): TraceActivity[];
130
187
  /**
131
188
  * Trace-stream activity item, the shape `InlineActivityRow` /
132
189
  * `InlineActivityStream` render. Mirrors `@almadar-io/agent-trace`'s
@@ -848,4 +905,4 @@ declare function resolveEntityView(input: {
848
905
  */
849
906
  declare function omitFrameFields(row: EntityRow, frameKeys: readonly string[]): EntityRow;
850
907
 
851
- export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, type ContractFieldEntry, type ContractFieldSpec, type ContractRange, type ContractSpec, type ContractValidationResult, type ContractViolation, type DeriveExpectationsResult, type EntityFieldWrite, type EntityFrameState, EntityRow, EventPayload, EventPayloadValue, ExpectDeclaration, type ExpectationDiagnostic, FieldValue, JsonValue, type ListenPayloadEvaluator, OrbitalDefinition, OrbitalSchema, PageContentReduction, ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, RuntimeValue, SExpr, SchemaChange, type SchemaDiff, type SchemaDiffAuthor, type SchemaDiffChange, type SchemaDiffChangeset, type SchemaDiffMode, type SchemaDiffOptions, type SchemaDiffSource, type SchemaDiffSummary, SemanticSchemaChange, State, type TensorValue, ToolArgs, type TraceActivity, type TraceActivityItem, type TraceAvatarRole, type TraceChatMessage, type TraceChatMessageToolCall, type TraceDiffHunk, type TraceDiffLine, type TraceFileOperation, type TraceSubagent, type TraceSubagentMessage, Trait, TraitConfig, UserContext, OrbitalDefinition as ValidatedOrbital, applyListenPayloadMapping, buildResolvedTraitConfigs, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectCallsiteCaptureChildren, collectEmbeddedTraitReferrers, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, contractFieldName, deriveExpectations, describeTensorMismatch, detectPageContentReduction, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, gatherTensorLastDim, getEntity, getNestedValue, getPage, getPages, getRemovals, getSchemaCacheStats, getTrait, hasSignificantPageReduction, isDestructiveChange, isTensorValue, mapTensorLastDim, mergeEntityFrame, omitFrameFields, requiresConfirmation, resolveEntityView, schemaToIR, summarizeOrbital, summarizeSchema, tensorLastDimSize, tensorShape, traitDeclaresConfigForward, traitReferencesCallsitePayload, validateContract };
908
+ export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, type ContractFieldEntry, type ContractFieldSpec, type ContractRange, type ContractSpec, type ContractValidationResult, type ContractViolation, type DeriveExpectationsResult, type EntityFieldWrite, type EntityFrameState, EntityRow, EventPayload, EventPayloadValue, ExpectDeclaration, type ExpectationDiagnostic, FieldValue, JsonValue, type ListenPayloadEvaluator, LlmCallMeta, OrbitalDefinition, OrbitalSchema, PageContentReduction, ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, RuntimeValue, SExpr, SchemaChange, type SchemaDiff, type SchemaDiffAuthor, type SchemaDiffChange, type SchemaDiffChangeset, type SchemaDiffMode, type SchemaDiffOptions, type SchemaDiffSource, type SchemaDiffSummary, SemanticChangeKind, SemanticSchemaChange, State, TRACE_ACTIVITY_TYPES, type TensorValue, ToolArgs, type TraceActivity, type TraceActivityAudience, type TraceActivityItem, type TraceAvatarRole, type TraceChatMessage, type TraceChatMessageToolCall, type TraceDiffHunk, type TraceDiffLine, type TraceFileOperation, type TraceSubagent, type TraceSubagentMessage, Trait, TraitConfig, UserContext, OrbitalDefinition as ValidatedOrbital, applyListenPayloadMapping, buildResolvedTraitConfigs, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectCallsiteCaptureChildren, collectEmbeddedTraitReferrers, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, contractFieldName, deriveExpectations, describeTensorMismatch, detectPageContentReduction, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, gatherTensorLastDim, getEntity, getNestedValue, getPage, getPages, getRemovals, getSchemaCacheStats, getTrait, hasSignificantPageReduction, isDestructiveChange, isTensorValue, mapTensorLastDim, mergeEntityFrame, omitFrameFields, requiresConfirmation, resolveEntityView, schemaToIR, selectTraceActivities, summarizeOrbital, summarizeSchema, tensorLastDimSize, tensorShape, traitDeclaresConfigForward, traitReferencesCallsitePayload, validateContract };