@almadar/core 10.89.0 → 10.91.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 +3 -3
- package/dist/builders.js +11 -3
- package/dist/builders.js.map +1 -1
- package/dist/{effect-CdLBg9zL.d.ts → effect-Bt8vKHwd.d.ts} +66 -42
- package/dist/{entityAccess-BmZHpQUv.d.ts → entityAccess-BdDX85rM.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +662 -49
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +11 -3
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/i18n/index.js +12 -0
- package/dist/i18n/index.js.map +1 -1
- package/dist/{index-CV_iM5Cm.d.ts → index-rOBf1Oag.d.ts} +83 -6
- package/dist/index.d.ts +34 -12
- package/dist/index.js +975 -57
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +60 -5
- package/dist/mock/index.js +35 -4
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +6 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +1875 -53
- package/dist/patterns/index.js +930 -51
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +264 -1
- package/dist/patterns/patterns-registry.json +654 -47
- package/dist/patterns/registry.json +654 -47
- package/dist/patterns/services-registry.json +284 -1
- package/dist/{schema-DYC_RnBX.d.ts → schema-ovDTDQz9.d.ts} +495 -323
- package/dist/{trait-DmWdtKlP.d.ts → trait-C3e3btfn.d.ts} +98 -55
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +13 -7
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DdK77hq2.d.ts → types-rh0naR6C.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b4 as PageTraitRef, O as OrbitalSchema, bi as ThemeDefinition, aa as Orbital, c as Page, N as DomainContext, a as OrbitalDefinition } from './schema-
|
|
2
|
-
import { F as FieldValue, E as EntityField, a as EntityPersistence, bP as ServiceParams, e as Entity, g as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, c as Effect } from './effect-
|
|
1
|
+
import { b4 as PageTraitRef, O as OrbitalSchema, bi as ThemeDefinition, aa as Orbital, c as Page, N as DomainContext, a as OrbitalDefinition } from './schema-ovDTDQz9.js';
|
|
2
|
+
import { F as FieldValue, E as EntityField, a as EntityPersistence, bP as ServiceParams, e as Entity, g as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, c as Effect } from './effect-Bt8vKHwd.js';
|
|
3
3
|
import { S as SExpr, b as EventPayloadValue, a as EventPayload, L as LogMeta, d as EvalContext } from './expression-WfTp2arD.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 { 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-
|
|
7
|
-
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from './types-
|
|
6
|
+
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-C3e3btfn.js';
|
|
7
|
+
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from './types-rh0naR6C.js';
|
|
8
8
|
import { MakeTraitRefOpts, EventWiringEntry, LayoutStrategy } from './builders.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -2165,6 +2165,63 @@ interface BusEvent {
|
|
|
2165
2165
|
type BusEventListener = (event: BusEvent) => void;
|
|
2166
2166
|
/** Returned by `on()` / `once()` to detach a listener. */
|
|
2167
2167
|
type Unsubscribe = () => void;
|
|
2168
|
+
/**
|
|
2169
|
+
* One event a transition's effects emitted, carried back to the client to
|
|
2170
|
+
* re-dispatch (in order) so the state machine advances through the
|
|
2171
|
+
* cascade without server-side recursion. Named/shaped to match the
|
|
2172
|
+
* generated compiled-path `EmittedEvent` (orbital-shell-typescript's
|
|
2173
|
+
* `shared/types.ts`) so the two execution paths agree on one shape.
|
|
2174
|
+
*/
|
|
2175
|
+
interface EmittedEvent {
|
|
2176
|
+
event: string;
|
|
2177
|
+
payload?: EventPayload;
|
|
2178
|
+
source?: BusEventSource;
|
|
2179
|
+
}
|
|
2180
|
+
/**
|
|
2181
|
+
* Client → server event dispatch request. The single upstream owner of
|
|
2182
|
+
* this shape — both the JS interpreter and the compiled path's generated
|
|
2183
|
+
* `EventRequest` (orbital-shell-typescript's `shared/types.ts`) carry the
|
|
2184
|
+
* same fields, so the two execution paths cannot drift.
|
|
2185
|
+
*/
|
|
2186
|
+
interface EventDispatchRequest {
|
|
2187
|
+
event: string;
|
|
2188
|
+
payload?: EventPayload;
|
|
2189
|
+
/** Current client state, for validation. */
|
|
2190
|
+
currentState?: string;
|
|
2191
|
+
/** Per-tab client id — the live-broadcast origin-exclusion key. */
|
|
2192
|
+
clientId?: string;
|
|
2193
|
+
/**
|
|
2194
|
+
* The dispatching trait's current `@entity` frame (declared defaults <
|
|
2195
|
+
* fetched row < `[shared]` frame). The server layers it over the row it
|
|
2196
|
+
* resolves via `resolveEntityView` so guards and effects read the same
|
|
2197
|
+
* values the client does.
|
|
2198
|
+
*/
|
|
2199
|
+
fields?: EntityRow;
|
|
2200
|
+
}
|
|
2201
|
+
/**
|
|
2202
|
+
* Server → client event dispatch response. Mirrors the compiled path's
|
|
2203
|
+
* generated `EventResponse` (orbital-shell-typescript's `shared/types.ts`);
|
|
2204
|
+
* kept field-for-field in sync except `effectResults`, which core has no
|
|
2205
|
+
* canonical shape for yet (the per-app generated `EffectResult` is
|
|
2206
|
+
* distinct from core's `EffectResult` in `types/living.ts` — reusing that
|
|
2207
|
+
* one would misdescribe this field, so it is intentionally omitted here).
|
|
2208
|
+
*/
|
|
2209
|
+
interface EventDispatchResponse {
|
|
2210
|
+
success: boolean;
|
|
2211
|
+
newState?: string;
|
|
2212
|
+
data?: Record<string, EntityRow[]>;
|
|
2213
|
+
/** Events emitted while running this transition's effects, in order. */
|
|
2214
|
+
emittedEvents?: EmittedEvent[];
|
|
2215
|
+
/**
|
|
2216
|
+
* `@entity` fields this transition's server-side `set` effects wrote,
|
|
2217
|
+
* post-effect. The client merges them over its own effect results
|
|
2218
|
+
* (server wins).
|
|
2219
|
+
*/
|
|
2220
|
+
fields?: EntityRow;
|
|
2221
|
+
error?: string;
|
|
2222
|
+
/** Guard that failed, for debugging. */
|
|
2223
|
+
guardFailed?: string;
|
|
2224
|
+
}
|
|
2168
2225
|
|
|
2169
2226
|
/**
|
|
2170
2227
|
* Verification Types (framework concept)
|
|
@@ -2229,6 +2286,26 @@ interface EffectTrace {
|
|
|
2229
2286
|
interface ServerResponseTrace {
|
|
2230
2287
|
orbitalName: string;
|
|
2231
2288
|
success: boolean;
|
|
2289
|
+
/**
|
|
2290
|
+
* The runtime's own verdict on whether ANY arm accepted this dispatch
|
|
2291
|
+
* (`OrbitalEventResponse.transitioned`). `false` = the event was
|
|
2292
|
+
* delivered but no transition fired — guard false, or no arm in the
|
|
2293
|
+
* current state — which a self-loop's unchanged state cannot reveal on
|
|
2294
|
+
* its own. Undefined only where the producing path does not report it
|
|
2295
|
+
* yet (the compiled client bridge's lifecycle payload).
|
|
2296
|
+
*/
|
|
2297
|
+
transitioned?: boolean;
|
|
2298
|
+
/**
|
|
2299
|
+
* Server-side emits with their EVALUATED payloads (`OrbitalEventResponse.
|
|
2300
|
+
* emittedEvents[].payload`). `emittedEvents` keeps the names for existing
|
|
2301
|
+
* consumers; observers that judge what an emit CARRIES read this — a
|
|
2302
|
+
* server-side `(emit SAVE {…})` never reaches the client bus log, and the
|
|
2303
|
+
* effect trace holds the declared args, not the values.
|
|
2304
|
+
*/
|
|
2305
|
+
emitted?: ReadonlyArray<{
|
|
2306
|
+
event: string;
|
|
2307
|
+
payload?: EventPayload;
|
|
2308
|
+
}>;
|
|
2232
2309
|
clientEffects: number;
|
|
2233
2310
|
dataEntities: Record<string, number>;
|
|
2234
2311
|
emittedEvents: string[];
|
|
@@ -2372,7 +2449,7 @@ interface OrbitalVerificationAPI {
|
|
|
2372
2449
|
* `UI:${traitScope}.${event}` and emits that on the bus, matching
|
|
2373
2450
|
* the codegen-emitted subscription keys (gap #13). When omitted,
|
|
2374
2451
|
* the legacy bare-prefix form `UI:${event}` is used — kept only
|
|
2375
|
-
* for system-scope events like `UI:
|
|
2452
|
+
* for system-scope events like `UI:NAVIGATE`; trait-driven dispatch
|
|
2376
2453
|
* MUST pass a `traitScope`.
|
|
2377
2454
|
*/
|
|
2378
2455
|
sendEvent?: (event: string, payload?: EventPayload, traitScope?: string) => void;
|
|
@@ -3188,4 +3265,4 @@ interface RenderOverlayResult {
|
|
|
3188
3265
|
*/
|
|
3189
3266
|
declare function applyRenderOverlay(orbital: OrbitalDefinition, patches: readonly RenderUiPatch[]): RenderOverlayResult;
|
|
3190
3267
|
|
|
3191
|
-
export { DEFAULT_INTERACTION_MODELS as $, ANONYMOUS_USER as A, BINDING_CONTEXT_RULES as B, type ChangesetValue as C, type BridgeHealth as D, type BuilderResult as E, type BusEvent as F, type BusEventListener as G, type BusEventSource as H, type CancelledEvent as I, type ChangeAuthor as J, type ChangeSetDocument as K, type ChangeSummary as L, type ChangesetRecordedEvent as M, type CheckStatus as N, type Clarification as O, type PageContentReduction as P, type ClarificationCandidate as Q, type ResolvedIR as R, type SchemaChange as S, type ClarificationLevel as T, type CompleteEvent as U, type ComplexityAssessment as V, type ComposeAllResult as W, type ComposeChildrenResult as X, type ComposeOptions as Y, type ContextExtensions as Z, type CreateFlow as _, type ResolvedEntity as a, type
|
|
3268
|
+
export { DEFAULT_INTERACTION_MODELS as $, ANONYMOUS_USER as A, BINDING_CONTEXT_RULES as B, type ChangesetValue as C, type BridgeHealth as D, type BuilderResult as E, type BusEvent as F, type BusEventListener as G, type BusEventSource as H, type CancelledEvent as I, type ChangeAuthor as J, type ChangeSetDocument as K, type ChangeSummary as L, type ChangesetRecordedEvent as M, type CheckStatus as N, type Clarification as O, type PageContentReduction as P, type ClarificationCandidate as Q, type ResolvedIR as R, type SchemaChange as S, type ClarificationLevel as T, type CompleteEvent as U, type ComplexityAssessment as V, type ComposeAllResult as W, type ComposeChildrenResult as X, type ComposeOptions as Y, type ContextExtensions as Z, type CreateFlow as _, type ResolvedEntity as a, type MemoryContext as a$, DEFAULT_VIEWER as a0, DEV_TOKEN_PREFIX as a1, type DeleteFlow as a2, type DispatchUpdatesResult as a3, type DrawableDescriptor as a4, type EdgeType as a5, type EditFlow as a6, type EditFocus as a7, type EditFocusLevel as a8, type EffectPayload as a9, KNOWN_VALIDATION_ERROR_CODES as aA, type KnobPayload as aB, type KnownValidationErrorCode as aC, type LLMErrorContext as aD, type LazyService as aE, type LineageEntry as aF, type ListInteraction as aG, type LivingEdge as aH, type LivingEffect as aI, type LivingEntity as aJ, type LivingEvent as aK, type LivingField as aL, type LivingOrbital as aM, type LivingOrbitalSchema as aN, type LivingPage as aO, type LivingState as aP, type LivingTrait as aQ, type LivingTransition as aR, type LivingValue as aS, type LivingVertex as aT, type LlmCallToolsResult as aU, type LlmContext as aV, type LlmMessage as aW, type LlmTokenUsage as aX, type LlmToolCall as aY, type LlmToolDef as aZ, type LoloEmitResult as a_, type EffectResult as aa, type EffectTrace as ab, type EmittedEvent as ac, type ErrorEvent as ad, type EventDispatchRequest as ae, type EventDispatchResponse as af, type EventEmit as ag, type EventKey as ah, type EventListen as ai, type EventLogEntry as aj, type EvolutionDelta as ak, type ExecutePlanResult as al, type ExtraTraitRef as am, type FileOperationEvent as an, type FileWrittenEvent as ao, type GateState as ap, type GenerationLogEvent as aq, type GitHubIssue as ar, type GitHubLink as as, type GitHubRepo as at, type HistoryMeta as au, type IntegrationContext as av, type InteractionModel as aw, type InteractionModelInput as ax, InteractionModelSchema as ay, type InterruptEvent as az, type ResolvedPage as b, type SemanticChangeKind as b$, type MessageEvent as b0, type OrbitalAddedEvent as b1, type OrbitalSchemaCompleteEvent as b2, type OrbitalVerificationAPI as b3, type ParamsRepairEmittedEvent as b4, type ParsedDesign as b5, type ParsedDomainContext as b6, type ParsedEmitDeclaration as b7, type ParsedEntity as b8, type ParsedEvent as b9, type RenderUiPatchAddress as bA, type RenderUiPatchOp as bB, type RepairResult as bC, type ResolvedEntityBinding as bD, type ResolvedField as bE, type ResolvedNavigation as bF, type ResolvedPattern as bG, type ResolvedSection as bH, type ResolvedSectionEvent as bI, type ResolvedTraitBinding as bJ, type ResolvedTraitDataEntity as bK, type ResolvedTraitEvent as bL, type ResolvedTraitGuard as bM, type ResolvedTraitListener as bN, type ResolvedTraitState as bO, type ResolvedTraitTick as bP, type ResolvedTraitTransition as bQ, type ResolvedTraitUIBinding as bR, type SSEEvent as bS, type SSEEventBase as bT, type SSEEventType as bU, type SaveOptions as bV, type SaveResult as bW, type SchemaPhaseUpdateEvent as bX, type SchemaPhaseValidatedEvent as bY, type SchemaUpdateEvent as bZ, type SemanticAnnotation as b_, type ParsedListenDeclaration as ba, type ParsedOrbital as bb, type ParsedPage as bc, type ParsedState as bd, type ParsedStateMachine as be, type ParsedTrait as bf, type ParsedTraitConfig as bg, type ParsedTransition as bh, type PatternNode as bi, PatternTypeSchema as bj, type PatternValue as bk, type PersistActionName as bl, type PlanSnapshot as bm, type PlanSnapshotStatus as bn, type PlannerResult as bo, type Probability as bp, type ProcessCompleteEvent as bq, type ProcessErrorEvent as br, type ProcessRepairCompleteEvent as bs, type ProcessRepairEvent as bt, type ProcessStartEvent as bu, RENDER_BINDING_MARKER as bv, type RawUserClaims as bw, type RenderBindingMarker as bx, type RenderOverlayResult as by, type RenderUiPatch as bz, type ResolvedTrait as c, getInteractionModelForDomain as c$, type SemanticVector as c0, type ServerResponseTrace as c1, type ServiceAction as c2, type ServiceActionName as c3, type ServiceCallResult as c4, type ServiceContract as c5, type ServiceEvents as c6, type SessionContext as c7, type SessionHistoryEntry as c8, type SnapshotCreatedEvent as c9, type ValidationError as cA, type ValidationErrorCode as cB, type ValidationIssue as cC, type ValidationMeta as cD, type ValidationResult as cE, type ValidationResults as cF, type VerificationCheck as cG, type VerificationSnapshot as cH, type VerificationSummary as cI, type VertexId as cJ, type VertexPayload as cK, type VertexType as cL, type ViewFlow as cM, type WorkspaceContext as cN, applyRenderOverlay as cO, containsEntityBinding as cP, containsPayloadBinding as cQ, createEmptyResolvedPage as cR, createEmptyResolvedTrait as cS, createLazyService as cT, createResolvedField as cU, createTypedEventBus as cV, decodeDevIdentityToken as cW, encodeDevIdentityToken as cX, findPersonaInRoster as cY, fingerprintNode as cZ, getBindingExamples as c_, type SnapshotDocument as ca, type SpawnResult as cb, type StartEvent as cc, type StatsView as cd, type StoreContract as ce, type StoreFilter as cf, type StoreFilterOp as cg, type SubagentCompleteEvent as ch, type SubagentEvent as ci, type SubagentProgressEvent as cj, type SubagentStartEvent as ck, type TodoActivityType as cl, type TodoDetailEvent as cm, type TodoUpdateEvent as cn, type ToolCallEvent as co, type ToolResultEvent as cp, type TraceContext as cq, type TraitFieldRef as cr, TraitFieldRefSchema as cs, type TraitStateSnapshot as ct, type TransitionFrom as cu, type TransitionTrace as cv, type Unsubscribe as cw, type UserContext as cx, type ValidateResult as cy, type ValidationDocument as cz, type CategorizedRemovals as d, inferTsType as d0, insertChildAtPath as d1, isKnownValidationErrorCode as d2, isPlanSnapshot as d3, isRenderBindingMarker as d4, isResolvedIR as d5, isSessionHistoryEntry as d6, isTraitFieldRef as d7, navigatePatternPath as d8, normalizeUserContext as d9, personaFromIdentityRow as da, removeChildAtPath as db, replaceChildAtPath as dc, resolveDefaultViewer as dd, resolvePersonaSpec as de, setPropAtPath as df, toBindingRoot as dg, validateBindingInContext as dh, widenTier as di, type SemanticSchemaChange as e, type AgentCodeSearchResult 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,21 +1,21 @@
|
|
|
1
|
-
import { O as OrbitalSchema, a as OrbitalDefinition, e as OrbitalPage, b as ExpectDeclaration } from './schema-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, f as ALLOWED_CUSTOM_COMPONENTS, g as AgentDomainCategory, h as AgentDomainCategorySchema, i as AllowedCustomComponent, C as ColorSlice, j as ColorSliceSchema, k as ColorTokens, l as ColorTokensSchema, m as ComputedEventContract, n as ComputedEventContractSchema, o as ComputedEventListener, p as ComputedEventListenerSchema, q as ConfigProvenanceRecord, r as ConfigProvenanceRecordSchema, s as CustomPatternDefinition, t as CustomPatternDefinitionInput, u as CustomPatternDefinitionSchema, v as CustomPatternMap, w as CustomPatternMapInput, x as CustomPatternMapSchema, D as DensitySlice, y as DensitySliceSchema, z as DensityTokens, B as DensityTokensSchema, F as DesignPreferences, G as DesignPreferencesInput, H as DesignPreferencesSchema, I as DesignTokens, J as DesignTokensInput, K as DesignTokensSchema, L as DomainCategory, M as DomainCategorySchema, N as DomainContext, Q as DomainContextInput, R as DomainContextSchema, S as DomainVocabulary, T as DomainVocabularySchema, V as ElevationSlice, W as ElevationSliceSchema, X as ElevationTokens, Y as ElevationTokensSchema, Z as EntityCall, _ as EntityCallSchema, E as EntityRef, $ as EntityRefSchema, a0 as EntityRefStringSchema, a1 as EntitySemanticRole, a2 as EntitySemanticRoleSchema, a3 as EventListener, a4 as EventListenerSchema, a5 as EventSemanticRole, a6 as EventSemanticRoleSchema, a7 as EventSource, a8 as EventSourceSchema, a9 as ExpectDeclarationSchema, aa as FullOrbitalUnit, ab as GameSubCategory, ac as GameSubCategorySchema, ad as GeometrySlice, ae as GeometrySliceSchema, af as GeometryTokens, ag as GeometryTokensSchema, ah as IconFamily, ai as IconFamilySchema, aj as IconographySlice, ak as IconographySliceSchema, al as IconographyTokens, am as IconographyTokensSchema, an as IllustrationSlice, ao as IllustrationSliceSchema, ap as IllustrationStyle, aq as IllustrationStyleSchema, ar as IllustrationTokens, as as IllustrationTokensSchema, at as MotionDurationKey, au as MotionDurationKeySchema, av as MotionDurationPalette, aw as MotionDurationPaletteSchema, ax as MotionEasingKey, ay as MotionEasingKeySchema, az as MotionEasingPalette, aA as MotionEasingPaletteSchema, aB as MotionIntent, aC as MotionIntentMap, aD as MotionIntentMapSchema, aE as MotionIntentSchema, aF as MotionSlice, aG as MotionSliceSchema, aH as MotionTokens, aI as MotionTokensSchema, aJ as NavItem, aK as NavStackEntry, aL as NodeClassification, aM as NodeClassificationSchema, aa as Orbital, aN as OrbitalDefinitionSchema, aO as OrbitalInput, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalRefObject, aU as OrbitalRefObjectSchema, aV as OrbitalRefStringSchema, aW as OrbitalSchemaInput, aX as OrbitalSchemaSchema, aY as OrbitalSchemaWithTraits, aZ as OrbitalUnit, a_ as OrbitalUnitSchema, a$ as OrbitalZodSchema, c as Page, P as PageRef, d as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b4 as PageTraitRef, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bi as ThemeDefinition, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, U as UseDeclaration, bL as UseDeclarationSchema, bM as UserPersona, bN as UserPersonaInput, bO as UserPersonaSchema, bP as ViewType, bQ as ViewTypeSchema, bR as expectedEntityName, bS as isEntityCall, bT as isEntityReference, bU as isEntityReferenceAny, bV as isImportedTraitRef, bW as isOrbitalDefinition, bX as isPageReference, bY as isPageReferenceObject, bZ as isPageReferenceString, b_ as isThemeReference, b$ as parseEntityRef, c0 as parseImportedTraitRef, c1 as parseOrbitalRef, c2 as parseOrbitalSchema, c3 as parsePageRef, c4 as safeParseOrbitalSchema } from './schema-
|
|
3
|
-
import { F as FieldValue, g as EntityRow } from './effect-
|
|
4
|
-
export { k as ANIMATION_NAMES, l as ASSET_ASPECTS, m as ASSET_DIMENSIONS, n as AgentEffect, o as AnimationDef, p as AnimationDefInput, q as AnimationDefSchema, r as AnimationName, s as AnimationNameSchema, A as AnyPatternConfig, t as ApplicationEffect, u as ArrayEntityField, v as Asset, w as AssetAspect, x as AssetAspectSchema, y as AssetCatalog, z as AssetCatalogEntry, B as AssetCatalogEntryInput, C as AssetCatalogEntrySchema, D as AssetCatalogSchema, G as AssetDimension, H as AssetDimensionSchema, J as AssetSchema, K as AssetUrl, L as AtomicEffect, M as AudioManifest, N as AudioManifestSchema, Q as BehaviorEffect, V as CAMERA_MODES, W as CallServiceConfig, X as CallServiceEffect, Y as Camera, Z as CameraMode, _ as CameraModeSchema, $ as CameraSchema, a0 as CheckpointLoadEffect, a1 as CheckpointSaveEffect, a2 as ComposeEffect, a3 as ControlValue, a4 as DEFAULT_UNIT_ANIMATION_ROWS, a5 as DerefEffect, a6 as DespawnEffect, a7 as DoEffect, a8 as ENTITY_ROLES, c as Effect, a9 as EffectInput, aa as EffectSchema, ab as EmitConfig, ac as EmitEffect, e as Entity, ad as EntityData, E as EntityField, ae as EntityFieldInput, af as EntityFieldSchema, d as EntityId, ag as EntityIdSchema, a as EntityPersistence, ah as EntityPersistenceSchema, ai as EntityRole, aj as EntityRoleSchema, ak as EntitySchema, al as EntityWith, am as EnumEntityField, an as EvaluateConfig, ao as EvaluateEffect, b as EventId, ap as EventIdSchema, aq as FIELD_TYPES, ar as FetchEffect, as as FetchOptions, at as FetchResult, au as Field, av as FieldSchema, aw as FieldType, ax as FieldTypeSchema, ay as
|
|
1
|
+
import { O as OrbitalSchema, a as OrbitalDefinition, e as OrbitalPage, b as ExpectDeclaration } from './schema-ovDTDQz9.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, f as ALLOWED_CUSTOM_COMPONENTS, g as AgentDomainCategory, h as AgentDomainCategorySchema, i as AllowedCustomComponent, C as ColorSlice, j as ColorSliceSchema, k as ColorTokens, l as ColorTokensSchema, m as ComputedEventContract, n as ComputedEventContractSchema, o as ComputedEventListener, p as ComputedEventListenerSchema, q as ConfigProvenanceRecord, r as ConfigProvenanceRecordSchema, s as CustomPatternDefinition, t as CustomPatternDefinitionInput, u as CustomPatternDefinitionSchema, v as CustomPatternMap, w as CustomPatternMapInput, x as CustomPatternMapSchema, D as DensitySlice, y as DensitySliceSchema, z as DensityTokens, B as DensityTokensSchema, F as DesignPreferences, G as DesignPreferencesInput, H as DesignPreferencesSchema, I as DesignTokens, J as DesignTokensInput, K as DesignTokensSchema, L as DomainCategory, M as DomainCategorySchema, N as DomainContext, Q as DomainContextInput, R as DomainContextSchema, S as DomainVocabulary, T as DomainVocabularySchema, V as ElevationSlice, W as ElevationSliceSchema, X as ElevationTokens, Y as ElevationTokensSchema, Z as EntityCall, _ as EntityCallSchema, E as EntityRef, $ as EntityRefSchema, a0 as EntityRefStringSchema, a1 as EntitySemanticRole, a2 as EntitySemanticRoleSchema, a3 as EventListener, a4 as EventListenerSchema, a5 as EventSemanticRole, a6 as EventSemanticRoleSchema, a7 as EventSource, a8 as EventSourceSchema, a9 as ExpectDeclarationSchema, aa as FullOrbitalUnit, ab as GameSubCategory, ac as GameSubCategorySchema, ad as GeometrySlice, ae as GeometrySliceSchema, af as GeometryTokens, ag as GeometryTokensSchema, ah as IconFamily, ai as IconFamilySchema, aj as IconographySlice, ak as IconographySliceSchema, al as IconographyTokens, am as IconographyTokensSchema, an as IllustrationSlice, ao as IllustrationSliceSchema, ap as IllustrationStyle, aq as IllustrationStyleSchema, ar as IllustrationTokens, as as IllustrationTokensSchema, at as MotionDurationKey, au as MotionDurationKeySchema, av as MotionDurationPalette, aw as MotionDurationPaletteSchema, ax as MotionEasingKey, ay as MotionEasingKeySchema, az as MotionEasingPalette, aA as MotionEasingPaletteSchema, aB as MotionIntent, aC as MotionIntentMap, aD as MotionIntentMapSchema, aE as MotionIntentSchema, aF as MotionSlice, aG as MotionSliceSchema, aH as MotionTokens, aI as MotionTokensSchema, aJ as NavItem, aK as NavStackEntry, aL as NodeClassification, aM as NodeClassificationSchema, aa as Orbital, aN as OrbitalDefinitionSchema, aO as OrbitalInput, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalRefObject, aU as OrbitalRefObjectSchema, aV as OrbitalRefStringSchema, aW as OrbitalSchemaInput, aX as OrbitalSchemaSchema, aY as OrbitalSchemaWithTraits, aZ as OrbitalUnit, a_ as OrbitalUnitSchema, a$ as OrbitalZodSchema, c as Page, P as PageRef, d as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b4 as PageTraitRef, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bi as ThemeDefinition, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, U as UseDeclaration, bL as UseDeclarationSchema, bM as UserPersona, bN as UserPersonaInput, bO as UserPersonaSchema, bP as ViewType, bQ as ViewTypeSchema, bR as expectedEntityName, bS as isEntityCall, bT as isEntityReference, bU as isEntityReferenceAny, bV as isImportedTraitRef, bW as isOrbitalDefinition, bX as isPageReference, bY as isPageReferenceObject, bZ as isPageReferenceString, b_ as isThemeReference, b$ as parseEntityRef, c0 as parseImportedTraitRef, c1 as parseOrbitalRef, c2 as parseOrbitalSchema, c3 as parsePageRef, c4 as safeParseOrbitalSchema } from './schema-ovDTDQz9.js';
|
|
3
|
+
import { F as FieldValue, g as EntityRow } from './effect-Bt8vKHwd.js';
|
|
4
|
+
export { k as ANIMATION_NAMES, l as ASSET_ASPECTS, m as ASSET_DIMENSIONS, n as AgentEffect, o as AnimationDef, p as AnimationDefInput, q as AnimationDefSchema, r as AnimationName, s as AnimationNameSchema, A as AnyPatternConfig, t as ApplicationEffect, u as ArrayEntityField, v as Asset, w as AssetAspect, x as AssetAspectSchema, y as AssetCatalog, z as AssetCatalogEntry, B as AssetCatalogEntryInput, C as AssetCatalogEntrySchema, D as AssetCatalogSchema, G as AssetDimension, H as AssetDimensionSchema, J as AssetSchema, K as AssetUrl, L as AtomicEffect, M as AudioManifest, N as AudioManifestSchema, Q as BehaviorEffect, V as CAMERA_MODES, W as CallServiceConfig, X as CallServiceEffect, Y as Camera, Z as CameraMode, _ as CameraModeSchema, $ as CameraSchema, a0 as CheckpointLoadEffect, a1 as CheckpointSaveEffect, a2 as ComposeEffect, a3 as ControlValue, a4 as DEFAULT_UNIT_ANIMATION_ROWS, a5 as DerefEffect, a6 as DespawnEffect, a7 as DoEffect, a8 as ENTITY_ROLES, c as Effect, a9 as EffectInput, aa as EffectSchema, ab as EmitConfig, ac as EmitEffect, e as Entity, ad as EntityData, E as EntityField, ae as EntityFieldInput, af as EntityFieldSchema, d as EntityId, ag as EntityIdSchema, a as EntityPersistence, ah as EntityPersistenceSchema, ai as EntityRole, aj as EntityRoleSchema, ak as EntitySchema, al as EntityWith, am as EnumEntityField, an as EvaluateConfig, ao as EvaluateEffect, b as EventId, ap as EventIdSchema, aq as FIELD_TYPES, ar as FetchEffect, as as FetchOptions, at as FetchResult, au as Field, av as FieldSchema, aw as FieldType, ax as FieldTypeSchema, ay as FieldValueSchema, az as FileValue, aA as FileValueSchema, aB as ForwardConfig, aC as ForwardEffect, aD as IdForKind, aE as IdKind, I as IdentityLedger, aF as IdentityLedgerSchema, aG as LedgerEntry, aH as LedgerEntrySchema, aI as LedgerKind, aJ as LedgerKindSchema, aK as LlmEffect, aL as LogEffect, aM as MANIFEST_ASSET_LICENSES, aN as MANIFEST_CANVAS_AFFINITIES, aO as MANIFEST_ENTRY_KINDS, aP as MANIFEST_SOURCE_CATALOGS, aQ as ManifestAssetLicense, aR as ManifestAssetLicenseSchema, aS as ManifestCanvasAffinity, aT as ManifestCanvasAffinitySchema, aU as ManifestEntry, aV as ManifestEntryInput, aW as ManifestEntryKind, aX as ManifestEntryKindSchema, aY as ManifestEntrySchema, aZ as ManifestFrameSpec, a_ as ManifestFrameSpecSchema, a$ as ManifestSourceCatalog, b0 as ManifestSourceCatalogSchema, b1 as McpServiceDef, b2 as McpServiceDefSchema, b3 as MemoryEffect, b4 as NavigateBackEffect, b5 as NavigateEffect, b6 as NavigateOptions, b7 as NnConfig, b8 as NnLayer, b9 as ObjectEntityField, f as OrbitalEntity, ba as OrbitalEntityInput, bb as OrbitalEntitySchema, O as OrbitalId, bc as OrbitalIdSchema, bd as OsEffect, be as PATTERN_TYPES, P as PageId, bf as PageIdSchema, bg as PaletteEntryId, bh as PaletteEntryIdSchema, bi as PatternConfig, bj as PatternProps, bk as PatternPropsMap, bl as PatternType, bm as PersistData, bn as PersistEffect, bo as PersistEmitConfig, bp as RefEffect, R as RelationConfig, bq as RelationConfigSchema, br as RelationEntityField, i as RenderBinding, bs as RenderChildrenMap, bt as RenderItemLambda, j as RenderUIEffect, bu as RenderUINode, bv as ResolvedPatternProps, bw as RestAuthConfig, bx as RestAuthConfigSchema, by as RestServiceDef, bz as RestServiceDefSchema, bA as SEMANTIC_STRING_TYPES, bB as SERVICE_TYPES, bC as SHEET_PROJECTIONS, bD as SPRITE_DIRECTIONS, bE as SPRITE_SHEET_LAYOUT, bF as ScalarEntityField, bG as ScenePos, bH as ScenePosSchema, bI as SemanticAssetRef, bJ as SemanticAssetRefInput, bK as SemanticAssetRefSchema, bL as SemanticStringType, h as ServiceDefinition, bM as ServiceDefinitionSchema, bN as ServiceId, bO as ServiceIdSchema, bP as ServiceParams, bQ as ServiceParamsValue, S as ServiceRef, bR as ServiceRefObject, bS as ServiceRefObjectSchema, bT as ServiceRefSchema, bU as ServiceRefStringSchema, bV as ServiceType, bW as ServiceTypeSchema, bX as SessionEffect, bY as SetEffect, bZ as SheetProjection, b_ as SheetProjectionSchema, b$ as SocketEvents, c0 as SocketEventsSchema, c1 as SocketServiceDef, c2 as SocketServiceDefSchema, c3 as SoundEntry, c4 as SoundEntrySchema, c5 as SpawnEffect, c6 as SpriteDirection, c7 as SpriteDirectionSchema, c8 as SpriteSheetAtlas, c9 as SpriteSheetAtlasInput, ca as SpriteSheetAtlasSchema, cb as SpriteSheetLayout, cc as SubTexture, cd as SubTextureSchema, ce as SwapEffect, cf as TemplatePatternConfig, cg as TextureAtlas, ch as TextureAtlasSchema, ci as ThemeId, cj as ThemeIdSchema, ck as Tilesheet, cl as TilesheetSchema, cm as TraceEffect, cn as TrainConfig, co as TrainEffect, T as TraitId, cp as TraitIdSchema, cq as TypedEffect, U as UISlot, cr as UISlotSchema, cs as UI_SLOTS, ct as VISUAL_STYLES, cu as ValidateEffect, cv as VisualStyle, cw as VisualStyleSchema, cx as WatchEffect, cy as WatchOptions, cz as asEntityId, cA as asEventId, cB as asOrbitalId, cC as asPageId, cD as asPaletteEntryId, cE as asServiceId, cF as asThemeId, cG as asTraitId, cH as atomic, cI as callService, cJ as createAssetKey, cK as defaultUnitAtlas, cL as deref, cM as deriveCollection, cN as deriveId, cO as despawn, cP as doEffects, cQ as emit, cR as findService, cS as getDefaultAnimationsForRole, cT as getServiceNames, cU as hasService, cV as idKindOf, cW as idPrefix, cX as isEffect, cY as isEmailValue, cZ as isEntityId, c_ as isEventId, c$ as isFieldValue, d0 as isFileValue, d1 as isMcpService, d2 as isOrbitalId, d3 as isPageId, d4 as isPaletteEntryId, d5 as isPhoneValue, d6 as isRestService, d7 as isRuntimeEntity, d8 as isSExprEffect, d9 as isSemanticStringType, da as isSemanticStringValue, db as isServiceId, dc as isServiceReference, dd as isServiceReferenceObject, de as isSocketService, df as isThemeId, dg as isTraitId, dh as isUrlValue, di as isUuidValue, dj as isValidPatternType, dk as ledgerCurName, dl as ledgerRename, dm as ledgerResolveName, dn as manifestToAssetCatalog, dp as matchAssetQuery, dq as mintId, dr as navigate, ds as navigateBack, dt as parseAssetKey, du as parseAssetQuery, dv as parseServiceRef, dw as persist, dx as persistenceModeAllowsOverrides, dy as ref, dz as renderUI, dA as set, dB as spawn, dC as swap, dD as validateAssetAnimations, dE as watch } from './effect-Bt8vKHwd.js';
|
|
5
5
|
import { a as EventPayload, b as EventPayloadValue, S as SExpr } from './expression-WfTp2arD.js';
|
|
6
6
|
export { C as CORE_BINDINGS, c as CoreBinding, d as EvalContext, E as Expression, e as ExpressionInput, f as ExpressionSchema, L as LogMeta, g as LogMetaValue, P as ParsedBinding, h as SExprAtom, i as SExprAtomSchema, j as SExprDataSchema, k as SExprInput, l as SExprObject, m as SExprSchema, n as collectBindings, o as getArgs, p as getOperator, q as isBinding, r as isEventPayloadValue, s as isSExpr, t as isSExprAtom, u as isSExprCall, v as isValidBinding, w as parseBinding, x as sexpr, y as walkSExpr } from './expression-WfTp2arD.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-
|
|
8
|
-
export { A as ANONYMOUS_USER, f 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 BusEvent, G as BusEventListener, H as BusEventSource, I as CancelledEvent, J as ChangeAuthor, K as ChangeSetDocument, L as ChangeSummary, M as ChangesetRecordedEvent, N as CheckStatus, O as Clarification, Q as ClarificationCandidate, T as ClarificationLevel, U as CompleteEvent, V as ComplexityAssessment, W as ComposeAllResult, X as ComposeChildrenResult, Y as ComposeOptions, Z as ContextExtensions, _ as CreateFlow, $ as DEFAULT_INTERACTION_MODELS, a0 as DEFAULT_VIEWER, a1 as DEV_TOKEN_PREFIX, a2 as DeleteFlow, a3 as DispatchUpdatesResult, a4 as DrawableDescriptor, a5 as EdgeType, a6 as EditFlow, a7 as EditFocus, a8 as EditFocusLevel, a9 as EffectPayload, aa as EffectResult, ab as EffectTrace, ac as
|
|
9
|
-
import { b as TraitConfig, h as Trait, S as State } from './trait-
|
|
10
|
-
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-
|
|
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-rOBf1Oag.js';
|
|
8
|
+
export { A as ANONYMOUS_USER, f 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 BusEvent, G as BusEventListener, H as BusEventSource, I as CancelledEvent, J as ChangeAuthor, K as ChangeSetDocument, L as ChangeSummary, M as ChangesetRecordedEvent, N as CheckStatus, O as Clarification, Q as ClarificationCandidate, T as ClarificationLevel, U as CompleteEvent, V as ComplexityAssessment, W as ComposeAllResult, X as ComposeChildrenResult, Y as ComposeOptions, Z as ContextExtensions, _ as CreateFlow, $ as DEFAULT_INTERACTION_MODELS, a0 as DEFAULT_VIEWER, a1 as DEV_TOKEN_PREFIX, a2 as DeleteFlow, a3 as DispatchUpdatesResult, a4 as DrawableDescriptor, a5 as EdgeType, a6 as EditFlow, a7 as EditFocus, a8 as EditFocusLevel, a9 as EffectPayload, aa as EffectResult, ab as EffectTrace, ac as EmittedEvent, ad as ErrorEvent, ae as EventDispatchRequest, af as EventDispatchResponse, ag as EventEmit, ah as EventKey, ai as EventListen, aj as EventLogEntry, ak as EvolutionDelta, al as ExecutePlanResult, am as ExtraTraitRef, an as FileOperationEvent, ao as FileWrittenEvent, ap as GateState, aq as GenerationLogEvent, ar as GitHubIssue, as as GitHubLink, at as GitHubRepo, au as HistoryMeta, av as IntegrationContext, aw as InteractionModel, ax as InteractionModelInput, ay as InteractionModelSchema, az as InterruptEvent, aA as KNOWN_VALIDATION_ERROR_CODES, aB as KnobPayload, aC as KnownValidationErrorCode, aD as LLMErrorContext, aE as LazyService, aF as LineageEntry, aG as ListInteraction, aH as LivingEdge, aI as LivingEffect, aJ as LivingEntity, aK as LivingEvent, aL as LivingField, aM as LivingOrbital, aN as LivingOrbitalSchema, aO as LivingPage, aP as LivingState, aQ as LivingTrait, aR as LivingTransition, aS as LivingValue, aT as LivingVertex, aU as LlmCallToolsResult, aV as LlmContext, aW as LlmMessage, aX as LlmTokenUsage, aY as LlmToolCall, aZ as LlmToolDef, a_ as LoloEmitResult, a$ as MemoryContext, b0 as MessageEvent, b1 as OrbitalAddedEvent, b2 as OrbitalSchemaCompleteEvent, b3 as OrbitalVerificationAPI, b4 as ParamsRepairEmittedEvent, b5 as ParsedDesign, b6 as ParsedDomainContext, b7 as ParsedEmitDeclaration, b8 as ParsedEntity, b9 as ParsedEvent, ba as ParsedListenDeclaration, bb as ParsedOrbital, bc as ParsedPage, bd as ParsedState, be as ParsedStateMachine, bf as ParsedTrait, bg as ParsedTraitConfig, bh as ParsedTransition, bi as PatternNode, bj as PatternTypeSchema, bk as PatternValue, bl as PersistActionName, bm as PlanSnapshot, bn as PlanSnapshotStatus, bo as PlannerResult, bp as Probability, bq as ProcessCompleteEvent, br as ProcessErrorEvent, bs as ProcessRepairCompleteEvent, bt as ProcessRepairEvent, bu as ProcessStartEvent, bv as RENDER_BINDING_MARKER, bw as RawUserClaims, bx as RenderBindingMarker, by as RenderOverlayResult, bz as RenderUiPatch, bA as RenderUiPatchAddress, bB as RenderUiPatchOp, bC as RepairResult, bD as ResolvedEntityBinding, bE as ResolvedField, bF as ResolvedNavigation, bG as ResolvedPattern, bH as ResolvedSection, bI as ResolvedSectionEvent, bJ as ResolvedTraitBinding, bK as ResolvedTraitDataEntity, bL as ResolvedTraitEvent, bM as ResolvedTraitGuard, bN as ResolvedTraitListener, bO as ResolvedTraitState, bP as ResolvedTraitTick, bQ as ResolvedTraitTransition, bR as ResolvedTraitUIBinding, bS as SSEEvent, bT as SSEEventBase, bU as SSEEventType, bV as SaveOptions, bW as SaveResult, bX as SchemaPhaseUpdateEvent, bY as SchemaPhaseValidatedEvent, bZ as SchemaUpdateEvent, b_ as SemanticAnnotation, b$ as SemanticChangeKind, c0 as SemanticVector, c1 as ServerResponseTrace, c2 as ServiceAction, c3 as ServiceActionName, c4 as ServiceCallResult, c5 as ServiceContract, c6 as ServiceEvents, c7 as SessionContext, c8 as SessionHistoryEntry, c9 as SnapshotCreatedEvent, ca as SnapshotDocument, cb as SpawnResult, cc as StartEvent, cd as StatsView, ce as StoreContract, cf as StoreFilter, cg as StoreFilterOp, ch as SubagentCompleteEvent, ci as SubagentEvent, cj as SubagentProgressEvent, ck as SubagentStartEvent, cl as TodoActivityType, cm as TodoDetailEvent, cn as TodoUpdateEvent, co as ToolCallEvent, cp as ToolResultEvent, cq as TraceContext, cr as TraitFieldRef, cs as TraitFieldRefSchema, ct as TraitStateSnapshot, cu as TransitionFrom, cv as TransitionTrace, cw as Unsubscribe, cx as UserContext, cy as ValidateResult, cz as ValidationDocument, cA as ValidationError, cB as ValidationErrorCode, cC as ValidationIssue, cD as ValidationMeta, cE as ValidationResult, cF as ValidationResults, cG as VerificationCheck, cH as VerificationSnapshot, cI as VerificationSummary, cJ as VertexId, cK as VertexPayload, cL as VertexType, cM as ViewFlow, cN as WorkspaceContext, cO as applyRenderOverlay, cP as containsEntityBinding, cQ as containsPayloadBinding, cR as createEmptyResolvedPage, cS as createEmptyResolvedTrait, cT as createLazyService, cU as createResolvedField, cV as createTypedEventBus, cW as decodeDevIdentityToken, cX as encodeDevIdentityToken, cY as findPersonaInRoster, cZ as fingerprintNode, c_ as getBindingExamples, c$ as getInteractionModelForDomain, d0 as inferTsType, d1 as insertChildAtPath, d2 as isKnownValidationErrorCode, d3 as isPlanSnapshot, d4 as isRenderBindingMarker, d5 as isResolvedIR, d6 as isSessionHistoryEntry, d7 as isTraitFieldRef, d8 as navigatePatternPath, d9 as normalizeUserContext, da as personaFromIdentityRow, db as removeChildAtPath, dc as replaceChildAtPath, dd as resolveDefaultViewer, de as resolvePersonaSpec, df as setPropAtPath, dg as toBindingRoot, dh as validateBindingInContext, di as widenTier } from './index-rOBf1Oag.js';
|
|
9
|
+
import { b as TraitConfig, h as Trait, S as State } from './trait-C3e3btfn.js';
|
|
10
|
+
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-C3e3btfn.js';
|
|
11
11
|
import { T as ToolArgs, J as JsonValue, R as RuntimeValue } from './json-D8gmyK3l.js';
|
|
12
12
|
export { a as JsonObject, i as isJsonArray, b as isJsonObject, c as isJsonPrimitive } from './json-D8gmyK3l.js';
|
|
13
|
-
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-
|
|
13
|
+
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-rh0naR6C.js';
|
|
14
14
|
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';
|
|
15
15
|
export { ComposeBehaviorsInput, ComposeBehaviorsResult, EventWiringEntry, LayoutStrategy, applyEventWiring, composeBehaviors, detectLayoutStrategy } from './builders.js';
|
|
16
|
-
export { COMPONENT_MAPPING, EVENT_CONTRACTS, EmojiPickPayload, FormSubmitPayload, INTEGRATORS_REGISTRY, ItemActionPayload, LoadMoreRequestPayload, PATTERN_REGISTRY, PatternCallbackArg, PatternEntry, PatternPayloadField, PatternPropDef, PatternRecommendation, PatternSwapGate, PropKind, RecommendationContext, RenderUiPayload, 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';
|
|
16
|
+
export { COMPONENT_MAPPING, EVENT_CONTRACTS, EmojiPickPayload, FormSubmitPayload, INTEGRATORS_REGISTRY, ItemActionPayload, LoadMoreRequestPayload, PATTERN_REGISTRY, PatternCallbackArg, PatternEntry, PatternPayloadField, PatternPropDef, 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';
|
|
17
17
|
export { BFSNode, BFSPathNode, EdgeWalkTransition, GraphTransition, GuardPayload, ReplayStep, ReplayTransition, StateEdge, WalkStep, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, collectReachableStates, constTruth, extractPayloadFieldRef, walkStatePairs } from './state-machine/index.js';
|
|
18
|
-
export { E as EntityAccessPolicies, e as entityAccessPolicies, b as entityAccessTable } from './entityAccess-
|
|
18
|
+
export { E as EntityAccessPolicies, e as entityAccessPolicies, b as entityAccessTable } from './entityAccess-BdDX85rM.js';
|
|
19
19
|
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';
|
|
20
20
|
import 'zod';
|
|
21
21
|
|
|
@@ -882,5 +882,27 @@ type EntityFrameState = EntityRow;
|
|
|
882
882
|
* other.
|
|
883
883
|
*/
|
|
884
884
|
declare function mergeEntityFrame(current: EntityFrameState, orderedWrites: readonly EntityFieldWrite[]): EntityFrameState;
|
|
885
|
+
/**
|
|
886
|
+
* Resolves what a trait's `@entity` binding reads: a client-supplied
|
|
887
|
+
* `frame` is UNTRUSTED (it travels on the wire as `EventRequest.fields`),
|
|
888
|
+
* so it may only contribute keys on `allowedFrameKeys` (the entity's
|
|
889
|
+
* `@intrinsic` fields) and never `id` — a real row column always wins over
|
|
890
|
+
* the frame, and an explicit `id` argument wins over everything. Both
|
|
891
|
+
* execution paths (the JS interpreter and the generated TS server) call
|
|
892
|
+
* this so `@entity` layers identically: declared defaults < fetched row <
|
|
893
|
+
* frame, with the row/id override on top.
|
|
894
|
+
*/
|
|
895
|
+
declare function resolveEntityView(input: {
|
|
896
|
+
readonly frame?: EntityRow;
|
|
897
|
+
readonly row?: EntityRow | null;
|
|
898
|
+
readonly id?: string;
|
|
899
|
+
readonly allowedFrameKeys: readonly string[];
|
|
900
|
+
}): EntityRow;
|
|
901
|
+
/**
|
|
902
|
+
* Strips frame/view-state keys from a row before it reaches the store, so
|
|
903
|
+
* an untrusted client frame (or scratch view state) never gets persisted.
|
|
904
|
+
* Both persist paths call this on the way to their store write.
|
|
905
|
+
*/
|
|
906
|
+
declare function omitFrameFields(row: EntityRow, frameKeys: readonly string[]): EntityRow;
|
|
885
907
|
|
|
886
|
-
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, OrbitalPage, OrbitalSchema, type PageContentOwner, 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, 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, isContentMainWriter, isDestructiveChange, isTensorValue, mapTensorLastDim, mergeEntityFrame, reduceToOwners, requiresConfirmation, resolveContentOwners, resolvePageContentOwner, 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, OrbitalDefinition, OrbitalPage, OrbitalSchema, type PageContentOwner, 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, 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, isContentMainWriter, isDestructiveChange, isTensorValue, mapTensorLastDim, mergeEntityFrame, omitFrameFields, reduceToOwners, requiresConfirmation, resolveContentOwners, resolveEntityView, resolvePageContentOwner, schemaToIR, summarizeOrbital, summarizeSchema, tensorLastDimSize, tensorShape, traitDeclaresConfigForward, traitReferencesCallsitePayload, validateContract };
|