@almadar/core 10.102.0 → 10.104.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builders.d.ts +5 -5
- package/dist/builders.js +5 -2
- package/dist/builders.js.map +1 -1
- package/dist/{bus-BS4TMOJW.d.ts → bus-DCYJF88B.d.ts} +37 -7
- package/dist/{domain-Ds_7wZIL.d.ts → domain-DnEv7amB.d.ts} +17 -5
- package/dist/{effect-Hm_QDaSI.d.ts → effect-DhsB3usU.d.ts} +26 -376
- package/dist/{entityAccess-D2OpLCyX.d.ts → entityAccess-CLWlioZ0.d.ts} +3 -3
- package/dist/{expression-DRwzVnMu.d.ts → expression-CfeHdS-f.d.ts} +10 -1
- package/dist/factory/index.d.ts +5 -5
- package/dist/factory/index.js +397 -4805
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +5 -5
- package/dist/factory-runtime/index.js +34 -9
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +3 -3
- package/dist/fixtures.js +20 -3
- package/dist/fixtures.js.map +1 -1
- package/dist/i18n/index.js +27 -6
- package/dist/i18n/index.js.map +1 -1
- package/dist/{index-CyfcxG5N.d.ts → index-B1az2E8z.d.ts} +122 -23
- package/dist/index.d.ts +85 -17
- package/dist/index.js +950 -5291
- package/dist/index.js.map +1 -1
- package/dist/lolo-document/index.d.ts +166 -0
- package/dist/lolo-document/index.js +615 -0
- package/dist/lolo-document/index.js.map +1 -0
- package/dist/mock/index.d.ts +6 -6
- package/dist/mock/index.js +12 -1
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +17 -192
- package/dist/patterns/event-contracts.json +1 -86
- package/dist/patterns/index.d.ts +10624 -20955
- package/dist/patterns/index.js +663 -5326
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +398 -4806
- package/dist/patterns/registry.json +398 -4806
- package/dist/{schema-COf9yTjs.d.ts → schema-CjwAD-Y4.d.ts} +1577 -274
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/themes/index.d.ts +1 -1
- package/dist/themes/index.js +2 -1
- package/dist/themes/index.js.map +1 -1
- package/dist/{trait-Be3xF0px.d.ts → trait-DoFyUfui.d.ts} +75 -11
- package/dist/types/index.d.ts +8 -8
- package/dist/types/index.js +221 -54
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CYOzs4As.d.ts → types-DBAbXfRk.d.ts} +2 -2
- package/fixtures/events-wire/client-effects-provenance/request.json +5 -0
- package/fixtures/events-wire/client-effects-provenance/response.json +57 -0
- package/fixtures/events-wire/effect-results-every-kind/response.json +1 -1
- package/package.json +7 -2
- 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-
|
|
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-
|
|
3
|
-
import { S as SExpr, a as EventPayloadValue, b as EventPayload, L as LogMeta, d as EvalContext } from './expression-
|
|
1
|
+
import { R as PageTraitRef, O as OrbitalSchema, s as Orbital, c as Page, a as OrbitalDefinition } from './schema-CjwAD-Y4.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-DhsB3usU.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-
|
|
7
|
-
import { a as TraitReference, h as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State,
|
|
8
|
-
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from './types-
|
|
9
|
-
import { T as ThemeDefinition, D as DomainContext } from './domain-
|
|
6
|
+
import { p as DispatchLog, n as DeliveryRecord, c as BusEventSource } from './bus-DCYJF88B.js';
|
|
7
|
+
import { a as TraitReference, h as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ak as Transition, u as Event, g as TraitConfigValue, a2 as TraitCategory, aD as TraitScope } from './trait-DoFyUfui.js';
|
|
8
|
+
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from './types-DBAbXfRk.js';
|
|
9
|
+
import { T as ThemeDefinition, D as DomainContext } from './domain-DnEv7amB.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
|
-
* - `
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
* - `
|
|
200
|
-
* - `
|
|
201
|
-
*
|
|
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' | '
|
|
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
|
-
|
|
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
|
-
/**
|
|
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
|
|
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
|
-
/**
|
|
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 {
|
|
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-
|
|
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-
|
|
3
|
-
import { F as FieldValue, g as EntityRow } from './effect-
|
|
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-
|
|
5
|
-
import { b as EventPayload, a as EventPayloadValue, S as SExpr } from './expression-
|
|
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
|
|
7
|
-
import { R as ResolvedIR, a as ResolvedEntity, b as ResolvedPage, c as ResolvedTrait, C as ChangesetValue,
|
|
8
|
-
export { A as AgentCodeSearchResult,
|
|
9
|
-
import { U as UserContext } from './bus-
|
|
10
|
-
export { A as ANONYMOUS_USER, B as BusEvent, b as BusEventListener, c as BusEventSource, d as BusEventSourceSchema, C as ClientEffectTuple,
|
|
11
|
-
import { b as TraitConfig, h as Trait, S as State } from './trait-
|
|
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,
|
|
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-
|
|
1
|
+
import { O as OrbitalSchema, a as OrbitalDefinition, b as ExpectDeclaration } from './schema-CjwAD-Y4.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-CjwAD-Y4.js';
|
|
3
|
+
import { F as FieldValue, g as EntityRow } from './effect-DhsB3usU.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-DhsB3usU.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-B1az2E8z.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-B1az2E8z.js';
|
|
9
|
+
import { U as UserContext } from './bus-DCYJF88B.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-DCYJF88B.js';
|
|
11
|
+
import { b as TraitConfig, d as TraitRef, D as DeclaredTraitConfig, h as Trait, S as State } from './trait-DoFyUfui.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, 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 PayloadTypeContainer, K as PayloadTypeWhen, M as PayloadTypeWhenSchema, N as PresentationType, R as REFERENCE_CONFIG_TYPES, Q as ReferenceConfigType, U as RequiredField, V as RequiredFieldSchema, W as SECRET_CONFIG_TYPES, X as SecretConfigType, Y as StateInput, Z as StateMachine, _ as StateMachineInput, $ as StateMachineSchema, a0 as StateSchema, a1 as TickIntervalSchema, a2 as TraitCategory, a3 as TraitCategorySchema, c as TraitConfigObject, a4 as TraitConfigSchema, g as TraitConfigValue, a5 as TraitConfigValueSchema, a6 as TraitDataEntity, a7 as TraitDataEntitySchema, e as TraitEntityField, a8 as TraitEntityFieldSchema, k as TraitEventContract, a9 as TraitEventContractSchema, T as TraitEventListener, aa as TraitEventListenerSchema, ab as TraitInput, ac as TraitRefSchema, a as TraitReference, ad as TraitReferenceInput, ae as TraitReferenceSchema, af as TraitSchema, ag as TraitTick, ah as TraitTickSchema, ai as TraitUIBinding, aj as TraitUIBindingSchema, ak as Transition, al as TransitionInput, am as TransitionSchema, an as computeDispatchMode, ao as computeTraitDispatchMode, ap as configRefEventKnob, aq as getTraitConfig, ar as getTraitName, as as isCallSiteConfigDeclaration, at as isCircuitEvent, au as isInlineTrait, av as isReferenceConfigType, aw as isSecretConfigType, ax as maskSecretConfigValues, ay as normalizeCallSiteConfigToValues, az as normalizeTraitRef, aA as overrideDeclaredKnobs, aB as payloadTypeContainer, aC as resolveConfigRefEventName } from './trait-DoFyUfui.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-DnEv7amB.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-
|
|
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-DBAbXfRk.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-
|
|
21
|
+
export { E as EntityAccessPolicies, e as entityAccessPolicies, b as entityAccessTable, o as orbitalInlineEntities } from './entityAccess-CLWlioZ0.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
|
|
@@ -429,6 +486,17 @@ declare function traitReferencesCallsitePayload(trait: Trait | undefined | null)
|
|
|
429
486
|
* capturing descendant) without itself needing a payload-dependent redraw.
|
|
430
487
|
*/
|
|
431
488
|
declare function collectCallsiteCaptureChildren(orbital: OrbitalDefinition): ReadonlyMap<string, ReadonlySet<string>>;
|
|
489
|
+
/**
|
|
490
|
+
* The organism-scope knobs `traits` forward: every declared call-site config
|
|
491
|
+
* entry whose `default` or `forwardedFrom` is a bare `@config.<knob>`. An app
|
|
492
|
+
* stored one `.orb` per orbital keeps exactly these knobs of the organism's
|
|
493
|
+
* `config` in each file (an unforwarded one is `ORB_O_CONFIG_DEAD_KNOB`).
|
|
494
|
+
*/
|
|
495
|
+
declare function collectForwardedConfigKeys(traits: ReadonlyArray<TraitRef>): ReadonlySet<string>;
|
|
496
|
+
/** `config` narrowed to `forwarded`; undefined when none of its knobs is forwarded. */
|
|
497
|
+
declare function filterConfigToForwardedKeys(config: DeclaredTraitConfig, forwarded: ReadonlySet<string>): DeclaredTraitConfig | undefined;
|
|
498
|
+
/** Every per-orbital file's organism `config`, unioned; the first declaration of a knob wins. */
|
|
499
|
+
declare function unionOrganismConfigs(schemas: ReadonlyArray<Pick<OrbitalSchema, 'config'>>): DeclaredTraitConfig | undefined;
|
|
432
500
|
|
|
433
501
|
/**
|
|
434
502
|
* `getNestedValue` — safely retrieve a nested value from an object using a
|
|
@@ -848,4 +916,4 @@ declare function resolveEntityView(input: {
|
|
|
848
916
|
*/
|
|
849
917
|
declare function omitFrameFields(row: EntityRow, frameKeys: readonly string[]): EntityRow;
|
|
850
918
|
|
|
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 };
|
|
919
|
+
export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, type ContractFieldEntry, type ContractFieldSpec, type ContractRange, type ContractSpec, type ContractValidationResult, type ContractViolation, DeclaredTraitConfig, 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, TraitRef, UserContext, OrbitalDefinition as ValidatedOrbital, applyListenPayloadMapping, buildResolvedTraitConfigs, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectCallsiteCaptureChildren, collectEmbeddedTraitReferrers, collectForwardedConfigKeys, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, contractFieldName, deriveExpectations, describeTensorMismatch, detectPageContentReduction, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, filterConfigToForwardedKeys, gatherTensorLastDim, getEntity, getNestedValue, getPage, getPages, getRemovals, getSchemaCacheStats, getTrait, hasSignificantPageReduction, isDestructiveChange, isTensorValue, mapTensorLastDim, mergeEntityFrame, omitFrameFields, requiresConfirmation, resolveEntityView, schemaToIR, selectTraceActivities, summarizeOrbital, summarizeSchema, tensorLastDimSize, tensorShape, traitDeclaresConfigForward, traitReferencesCallsitePayload, unionOrganismConfigs, validateContract };
|