@almadar/core 10.41.0 → 10.43.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 +596 -5
- package/dist/builders.js +47 -41
- package/dist/builders.js.map +1 -1
- package/dist/{effect-DSbx6joe.d.ts → effect-NbTgX2yB.d.ts} +1574 -100
- package/dist/{expression-DpAj1RzP.d.ts → expression-Yf7qvvOs.d.ts} +85 -10
- package/dist/factory/index.d.ts +5 -7
- package/dist/factory-runtime/index.d.ts +5 -5
- package/dist/factory-runtime/index.js +47 -41
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +38 -17
- package/dist/index.js +332 -506
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +32 -2
- package/dist/mock/index.js +32 -2
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +8 -23
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +343 -857
- package/dist/patterns/index.js +166 -399
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +155 -370
- package/dist/patterns/registry.json +155 -370
- package/dist/{builders-CikYSzX6.d.ts → schema-DdcBBHkb.d.ts} +7016 -2545
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-2E6TQw19.d.ts → trait-DdBiEffx.d.ts} +1336 -324
- package/dist/types/index.d.ts +148 -41
- package/dist/types/index.js +144 -112
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CzocAZtG.d.ts → types-B4NVh8V9.d.ts} +3 -2
- package/package.json +1 -1
- package/src/types/bindings.ts +79 -0
- package/dist/entity-DfD-iXkn.d.ts +0 -1572
package/dist/types/index.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES,
|
|
3
|
-
import { F as FieldValue,
|
|
4
|
-
export {
|
|
5
|
-
import { d as EventPayloadValue, a as EventPayload, L as LogMeta,
|
|
6
|
-
export { C as CORE_BINDINGS, b as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema,
|
|
1
|
+
import { b0 as PageTraitRef, O as OrbitalSchema, be as ThemeDefinition, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition } from '../schema-DdcBBHkb.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-DdcBBHkb.js';
|
|
3
|
+
import { F as FieldValue, E as EntityField, a as EntityPersistence, bo as ServiceParams, e as Entity, f as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, c as Effect } from '../effect-NbTgX2yB.js';
|
|
4
|
+
export { j as ANIMATION_NAMES, k as ASSET_ASPECTS, l as ASSET_DIMENSIONS, m as AgentEffect, n as AnimationDef, o as AnimationDefInput, p as AnimationDefSchema, q as AnimationName, r as AnimationNameSchema, s as ApplicationEffect, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, C as AssetCatalogSchema, D as AssetDimension, G as AssetDimensionSchema, H as AssetSchema, J as AssetUrl, K as AtomicEffect, L as BehaviorEffect, M as CAMERA_MODES, N as CallServiceConfig, Q as CallServiceEffect, V as Camera, W as CameraMode, X as CameraModeSchema, Y as CameraSchema, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ComposeEffect, a0 as DerefEffect, a1 as DespawnEffect, a2 as DoEffect, a3 as ENTITY_ROLES, a4 as EffectInput, a5 as EffectSchema, a6 as EmitConfig, a7 as EmitEffect, a8 as EntityData, a9 as EntityFieldInput, aa as EntityFieldSchema, d as EntityId, ab as EntityIdSchema, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, ak as EventIdSchema, al as FIELD_TYPES, am as FetchEffect, an as FetchOptions, ao as FetchResult, ap as Field, aq as FieldSchema, ar as FieldType, as as FieldTypeSchema, at as ForwardConfig, au as ForwardEffect, av as IdForKind, aw as IdKind, I as IdentityLedger, ax as IdentityLedgerSchema, ay as LedgerEntry, az as LedgerEntrySchema, aA as LedgerKind, aB as LedgerKindSchema, aC as LlmEffect, aD as LogEffect, aE as McpServiceDef, aF as McpServiceDefSchema, aG as MemoryEffect, aH as NavigateEffect, aI as NnConfig, aJ as NnLayer, aK as NotifyEffect, aL as ObjectEntityField, aM as OrbitalEntity, aN as OrbitalEntityInput, aO as OrbitalEntitySchema, aP as OrbitalIdSchema, aQ as OsEffect, aR as PATTERN_TYPES, P as PageId, aS as PageIdSchema, aT as PaletteEntryId, aU as PaletteEntryIdSchema, aV as PatternConfig, aY as PatternType, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as RefEffect, R as RelationConfig, b1 as RelationConfigSchema, b2 as RelationEntityField, h as RenderBinding, b3 as RenderChildrenMap, b4 as RenderItemLambda, i as RenderUIEffect, b5 as RenderUINode, b6 as ResolvedPatternProps, b7 as RestAuthConfig, b8 as RestAuthConfigSchema, b9 as RestServiceDef, ba as RestServiceDefSchema, bb as SEMANTIC_STRING_TYPES, bc as SERVICE_TYPES, bd as SPRITE_DIRECTIONS, be as ScalarEntityField, bf as ScenePos, bg as ScenePosSchema, bh as SemanticAssetRef, bi as SemanticAssetRefInput, bj as SemanticAssetRefSchema, bk as SemanticStringType, g as ServiceDefinition, bl as ServiceDefinitionSchema, bm as ServiceId, bn as ServiceIdSchema, bp as ServiceParamsValue, S as ServiceRef, bq as ServiceRefObject, br as ServiceRefObjectSchema, bs as ServiceRefSchema, bt as ServiceRefStringSchema, bu as ServiceType, bv as ServiceTypeSchema, bw as SessionEffect, bx as SetEffect, by as SocketEvents, bz as SocketEventsSchema, bA as SocketServiceDef, bB as SocketServiceDefSchema, bC as SpawnEffect, bD as SpriteDirection, bE as SpriteDirectionSchema, bF as SpriteSheetAtlas, bG as SpriteSheetAtlasInput, bH as SpriteSheetAtlasSchema, bI as SubTexture, bJ as SubTextureSchema, bK as SwapEffect, bL as TextureAtlas, bM as TextureAtlasSchema, bN as ThemeId, bO as ThemeIdSchema, bP as Tilesheet, bQ as TilesheetSchema, bR as TraceEffect, bS as TrainConfig, bT as TrainEffect, bU as TraitIdSchema, bV as TypedEffect, U as UISlot, bW as UISlotSchema, bX as UI_SLOTS, bY as VISUAL_STYLES, bZ as ValidateEffect, b_ as VisualStyle, b$ as VisualStyleSchema, c0 as WatchEffect, c1 as WatchOptions, c2 as asEntityId, c3 as asEventId, c4 as asOrbitalId, c5 as asPageId, c6 as asPaletteEntryId, c7 as asServiceId, c8 as asThemeId, c9 as asTraitId, ca as atomic, cb as callService, cc as createAssetKey, cd as deref, ce as deriveCollection, cf as despawn, cg as doEffects, ch as emit, ci as findService, cj as getDefaultAnimationsForRole, ck as getServiceNames, cl as hasService, cm as idKindOf, cn as idPrefix, co as isEffect, cp as isEmailValue, cq as isEntityId, cr as isEventId, cs as isFieldValue, ct as isMcpService, cu as isOrbitalId, cv as isPageId, cw as isPaletteEntryId, cx as isPhoneValue, cy as isRestService, cz as isRuntimeEntity, cA as isSExprEffect, cB as isSemanticStringType, cC as isSemanticStringValue, cD as isServiceId, cE as isServiceReference, cF as isServiceReferenceObject, cG as isSocketService, cH as isThemeId, cI as isTraitId, cJ as isUrlValue, cK as isUuidValue, cL as isValidPatternType, cM as ledgerCurName, cN as ledgerRename, cO as ledgerResolveName, cP as mintId, cQ as navigate, cR as notify, cS as parseAssetKey, cT as parseServiceRef, cU as persist, cV as persistenceModeAllowsOverrides, cW as ref, cX as renderUI, cY as set, cZ as spawn, c_ as swap, c$ as validateAssetAnimations, d0 as watch } from '../effect-NbTgX2yB.js';
|
|
5
|
+
import { S as SExpr, R as RuntimeValue, d as EventPayloadValue, J as JsonValue, a as EventPayload, L as LogMeta, g as JsonObject, T as ToolArgs, c as EvalContext } from '../expression-Yf7qvvOs.js';
|
|
6
|
+
export { C as CORE_BINDINGS, b as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, h as LogMetaValue, P as ParsedBinding, i as SExprAtom, j as SExprAtomSchema, k as SExprDataSchema, l as SExprInput, m as SExprObject, n as SExprSchema, o as collectBindings, p as getArgs, q as getOperator, r as isBinding, s as isEventPayloadValue, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive, w as isSExpr, x as isSExprAtom, y as isSExprCall, z as isValidBinding, A as parseBinding, B as sexpr, D as walkSExpr } from '../expression-Yf7qvvOs.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
|
-
import { a as TraitReference,
|
|
9
|
-
export {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-CzocAZtG.js';
|
|
8
|
+
import { a as TraitReference, g as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ae as Transition, r as Event, e as TraitConfigValue, Y as TraitCategory, as as TraitScope } from '../trait-DdBiEffx.js';
|
|
9
|
+
export { k as CONFIG_REF_EVENT_PATTERN, h as CallSiteConfig, i as CallSiteConfigEntry, l as ConfigFieldDeclarationSchema, m as ConfigFieldItemsDeclaration, n as ConfigRefEventError, o as DeclaredTraitConfigSchema, p as EntityFieldContract, q as EntityFieldContractSchema, s as EventInput, E as EventPayloadField, t as EventPayloadFieldSchema, u as EventSchema, v as EventScope, w as EventScopeSchema, G as Guard, x as GuardInput, y as GuardSchema, z as ListenSourceSchema, O as OrbitalTraitRef, A as OrbitalTraitRefSchema, P as PayloadField, B as PayloadFieldSchema, F as PresentationType, R as REFERENCE_CONFIG_TYPES, H as ReferenceConfigType, I as RequiredField, J as RequiredFieldSchema, K as SECRET_CONFIG_TYPES, M as SecretConfigType, N as StateInput, Q as StateMachine, U as StateMachineInput, V as StateMachineSchema, W as StateSchema, X as TickIntervalSchema, Z as TraitCategorySchema, c as TraitConfigObject, _ as TraitConfigSchema, $ as TraitConfigValueSchema, a0 as TraitDataEntity, a1 as TraitDataEntitySchema, f as TraitEntityField, a2 as TraitEntityFieldSchema, j as TraitEventContract, a3 as TraitEventContractSchema, T as TraitEventListener, a4 as TraitEventListenerSchema, a5 as TraitInput, d as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ad as TraitUIBindingSchema, af as TransitionInput, ag as TransitionSchema, ah as configRefEventKnob, ai as getTraitConfig, aj as getTraitName, ak as isCallSiteConfigDeclaration, al as isCircuitEvent, am as isInlineTrait, an as isReferenceConfigType, ao as isSecretConfigType, ap as normalizeCallSiteConfigToValues, aq as normalizeTraitRef, ar as resolveConfigRefEventName } from '../trait-DdBiEffx.js';
|
|
10
|
+
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-B4NVh8V9.js';
|
|
11
|
+
import { MakeTraitRefOpts, EventWiringEntry, LayoutStrategy } from '../builders.js';
|
|
13
12
|
|
|
14
13
|
/**
|
|
15
14
|
* S-Expression Bindings
|
|
@@ -104,6 +103,45 @@ declare const BINDING_CONTEXT_RULES: {
|
|
|
104
103
|
};
|
|
105
104
|
};
|
|
106
105
|
type BindingContext = keyof typeof BINDING_CONTEXT_RULES;
|
|
106
|
+
/**
|
|
107
|
+
* Tag property of a `RenderBindingMarker`. `$`-prefixed so it can never
|
|
108
|
+
* collide with a pattern prop key (prop keys are camelCase identifiers).
|
|
109
|
+
*/
|
|
110
|
+
declare const RENDER_BINDING_MARKER: "$renderBinding";
|
|
111
|
+
/**
|
|
112
|
+
* A render-ui prop leaf that is evaluated at RENDER time, not at flush time.
|
|
113
|
+
*
|
|
114
|
+
* The interpreted path's executor carries `@entity`-dependent leaves into
|
|
115
|
+
* slot content as these markers instead of resolving them eagerly; the
|
|
116
|
+
* renderer (`@almadar/ui`'s SlotContentRenderer) resolves each marker
|
|
117
|
+
* against the live entity store on every render — the same model the
|
|
118
|
+
* compiled shell uses (state-based JSX reading `fields?.X` per React
|
|
119
|
+
* render). Payload-dependent leaves are never deferred: `@payload` is
|
|
120
|
+
* event-scoped and does not exist at render time.
|
|
121
|
+
*
|
|
122
|
+
* A `type` (not `interface`) so it carries an implicit index signature and
|
|
123
|
+
* stays assignable to the `SExpr` record branch at guard call sites.
|
|
124
|
+
*/
|
|
125
|
+
type RenderBindingMarker = {
|
|
126
|
+
readonly [RENDER_BINDING_MARKER]: true;
|
|
127
|
+
/** The raw prop expression: a binding string (`'@entity.hp'`, embedded
|
|
128
|
+
* form `'HP: @entity.hp'`) or an S-expression tree. */
|
|
129
|
+
readonly expression: SExpr;
|
|
130
|
+
};
|
|
131
|
+
/** Narrow an arbitrary prop value to a `RenderBindingMarker`. */
|
|
132
|
+
declare function isRenderBindingMarker(value: RuntimeValue): value is RenderBindingMarker;
|
|
133
|
+
/**
|
|
134
|
+
* Does this raw prop expression reference `@entity` anywhere (pure binding,
|
|
135
|
+
* embedded-binding string, nested S-expression, or object tree)? Marker
|
|
136
|
+
* objects count as entity-referencing by construction.
|
|
137
|
+
*/
|
|
138
|
+
declare function containsEntityBinding(value: SExpr): boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Does this raw prop expression reference the event payload (`@payload` /
|
|
141
|
+
* `@callsitePayload`) anywhere? Such leaves stay flush-time evaluated —
|
|
142
|
+
* the payload does not exist at render time.
|
|
143
|
+
*/
|
|
144
|
+
declare function containsPayloadBinding(value: SExpr): boolean;
|
|
107
145
|
/**
|
|
108
146
|
* Check if a binding is valid in a given context.
|
|
109
147
|
*
|
|
@@ -176,7 +214,7 @@ declare function toBindingRoot(root: string): BindingRoot;
|
|
|
176
214
|
*/
|
|
177
215
|
type TraitFieldRef = `@trait.${string}`;
|
|
178
216
|
/** Type guard: narrow an unknown value to {@link TraitFieldRef}. */
|
|
179
|
-
declare function isTraitFieldRef(value:
|
|
217
|
+
declare function isTraitFieldRef(value: RuntimeValue): value is TraitFieldRef;
|
|
180
218
|
/** Zod schema for {@link TraitFieldRef} values. Useful when validating analyzer
|
|
181
219
|
* JSON or recipe overrides at runtime boundaries. */
|
|
182
220
|
declare const TraitFieldRefSchema: z.ZodString;
|
|
@@ -252,6 +290,20 @@ declare function normalizeUserContext(claims: RawUserClaims | null | undefined):
|
|
|
252
290
|
* its own persona at the call site; these are defaults, not an allow-list.
|
|
253
291
|
*/
|
|
254
292
|
declare const MOCK_PERSONAS: readonly UserContext[];
|
|
293
|
+
/**
|
|
294
|
+
* The viewer a host presents when nothing named one.
|
|
295
|
+
*
|
|
296
|
+
* Without this, `@user` is `Null` in headless verify and preview, so every
|
|
297
|
+
* `viewerName: @user.name` binding renders blank and the account menu never
|
|
298
|
+
* appears — an app that cannot say who you are. Worse, an ownership filter that
|
|
299
|
+
* works and one that is broken both render an empty table.
|
|
300
|
+
*
|
|
301
|
+
* `role` is deliberately EMPTY, not a guess. A default of `admin` would silently
|
|
302
|
+
* flip which branch renders at the 38 `@user.role` comparisons in the corpus;
|
|
303
|
+
* an empty role matches no literal, exactly as `Null` did, so this fixes
|
|
304
|
+
* "undefined at runtime" without changing a single guard outcome.
|
|
305
|
+
*/
|
|
306
|
+
declare const DEFAULT_VIEWER: UserContext;
|
|
255
307
|
/** Look a dev persona up by id, or by role when no id matches. */
|
|
256
308
|
declare function findMockPersona(idOrRole: string): UserContext | undefined;
|
|
257
309
|
/**
|
|
@@ -662,7 +714,7 @@ interface PlanSnapshot {
|
|
|
662
714
|
* values at the `WorkspaceContext.writePlan` boundary. Discriminates on the
|
|
663
715
|
* snapshot envelope (schemaVersion, status, roster arrays), not deep contents.
|
|
664
716
|
*/
|
|
665
|
-
declare function isPlanSnapshot(value:
|
|
717
|
+
declare function isPlanSnapshot(value: RuntimeValue): value is PlanSnapshot;
|
|
666
718
|
interface ComposeOptions {
|
|
667
719
|
appName?: string;
|
|
668
720
|
wiring?: EventWiringEntry[];
|
|
@@ -903,7 +955,7 @@ interface SessionHistoryEntry {
|
|
|
903
955
|
* Runtime guard for `SessionHistoryEntry` — narrows interpreter-produced
|
|
904
956
|
* `unknown` values at the `SessionContext.appendHistory` boundary.
|
|
905
957
|
*/
|
|
906
|
-
declare function isSessionHistoryEntry(value:
|
|
958
|
+
declare function isSessionHistoryEntry(value: RuntimeValue): value is SessionHistoryEntry;
|
|
907
959
|
/**
|
|
908
960
|
* AgentContext is the runtime contract for agent/* operators.
|
|
909
961
|
*
|
|
@@ -1061,17 +1113,17 @@ declare const InteractionModelSchema: z.ZodObject<{
|
|
|
1061
1113
|
bulkActions: z.ZodOptional<z.ZodBoolean>;
|
|
1062
1114
|
realtime: z.ZodOptional<z.ZodBoolean>;
|
|
1063
1115
|
}, "strip", z.ZodTypeAny, {
|
|
1064
|
-
createFlow: "page" | "
|
|
1065
|
-
editFlow: "page" | "
|
|
1066
|
-
viewFlow: "page" | "
|
|
1116
|
+
createFlow: "page" | "none" | "inline" | "modal";
|
|
1117
|
+
editFlow: "page" | "none" | "inline" | "modal";
|
|
1118
|
+
viewFlow: "page" | "none" | "inline" | "modal" | "drawer";
|
|
1067
1119
|
deleteFlow: "none" | "instant" | "confirm";
|
|
1068
1120
|
bulkActions?: boolean | undefined;
|
|
1069
1121
|
listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
|
|
1070
1122
|
realtime?: boolean | undefined;
|
|
1071
1123
|
}, {
|
|
1072
|
-
createFlow: "page" | "
|
|
1073
|
-
editFlow: "page" | "
|
|
1074
|
-
viewFlow: "page" | "
|
|
1124
|
+
createFlow: "page" | "none" | "inline" | "modal";
|
|
1125
|
+
editFlow: "page" | "none" | "inline" | "modal";
|
|
1126
|
+
viewFlow: "page" | "none" | "inline" | "modal" | "drawer";
|
|
1075
1127
|
deleteFlow: "none" | "instant" | "confirm";
|
|
1076
1128
|
bulkActions?: boolean | undefined;
|
|
1077
1129
|
listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
|
|
@@ -1322,6 +1374,29 @@ interface SaveResult {
|
|
|
1322
1374
|
error?: string;
|
|
1323
1375
|
snapshotId?: string;
|
|
1324
1376
|
}
|
|
1377
|
+
/**
|
|
1378
|
+
* Context attached to validation issues originating from LLM output.
|
|
1379
|
+
* Mirrors the `LLMErrorContext` shapes used by `@almadar/validation`
|
|
1380
|
+
* and the builder's fix-prompt pipeline.
|
|
1381
|
+
*/
|
|
1382
|
+
interface LLMErrorContext {
|
|
1383
|
+
/** Preview of the raw LLM output */
|
|
1384
|
+
rawValuePreview?: string;
|
|
1385
|
+
/** Expected type or structure */
|
|
1386
|
+
expectedType?: string;
|
|
1387
|
+
/** Actual type received */
|
|
1388
|
+
actualType?: string;
|
|
1389
|
+
/** Where the error originated */
|
|
1390
|
+
source?: {
|
|
1391
|
+
agent: 'requirements' | 'builder' | 'view-planner';
|
|
1392
|
+
operation: string;
|
|
1393
|
+
promptHash?: string;
|
|
1394
|
+
};
|
|
1395
|
+
tokenUsage?: {
|
|
1396
|
+
prompt: number;
|
|
1397
|
+
completion: number;
|
|
1398
|
+
};
|
|
1399
|
+
}
|
|
1325
1400
|
/**
|
|
1326
1401
|
* Validation issue with optional LLM context.
|
|
1327
1402
|
*/
|
|
@@ -1331,7 +1406,7 @@ interface ValidationIssue {
|
|
|
1331
1406
|
path: (string | number)[];
|
|
1332
1407
|
severity: 'error' | 'warning' | 'info';
|
|
1333
1408
|
suggestion?: string;
|
|
1334
|
-
llmContext?:
|
|
1409
|
+
llmContext?: LLMErrorContext;
|
|
1335
1410
|
}
|
|
1336
1411
|
/**
|
|
1337
1412
|
* Validation results.
|
|
@@ -1558,9 +1633,13 @@ interface ResolvedField {
|
|
|
1558
1633
|
type: string;
|
|
1559
1634
|
tsType: string;
|
|
1560
1635
|
description?: string;
|
|
1561
|
-
default
|
|
1636
|
+
/** Field default — JSON-shaped, mirroring `EntityField.default`. */
|
|
1637
|
+
default?: JsonValue;
|
|
1562
1638
|
required: boolean;
|
|
1563
|
-
|
|
1639
|
+
/** Validation constraints carried from the schema (enum whitelist). */
|
|
1640
|
+
validation?: {
|
|
1641
|
+
enum?: string[];
|
|
1642
|
+
};
|
|
1564
1643
|
/** Enum values for enum or constrained string fields */
|
|
1565
1644
|
values?: string[];
|
|
1566
1645
|
/** Enum values (alias for values, for compatibility) */
|
|
@@ -1808,7 +1887,7 @@ interface ResolvedIR {
|
|
|
1808
1887
|
/** Entity bindings (used for data hook generation) */
|
|
1809
1888
|
entityBindings: ResolvedEntityBinding[];
|
|
1810
1889
|
/** Raw data entities (used for instance data generation) */
|
|
1811
|
-
rawEntities?:
|
|
1890
|
+
rawEntities?: Entity[];
|
|
1812
1891
|
/** Generation timestamp */
|
|
1813
1892
|
generatedAt: string;
|
|
1814
1893
|
}
|
|
@@ -1831,9 +1910,11 @@ declare function createResolvedField(field: {
|
|
|
1831
1910
|
name: string;
|
|
1832
1911
|
type: string;
|
|
1833
1912
|
description?: string;
|
|
1834
|
-
default?:
|
|
1913
|
+
default?: JsonValue;
|
|
1835
1914
|
required?: boolean;
|
|
1836
|
-
validation?:
|
|
1915
|
+
validation?: {
|
|
1916
|
+
enum?: string[];
|
|
1917
|
+
};
|
|
1837
1918
|
values?: string[];
|
|
1838
1919
|
}): ResolvedField;
|
|
1839
1920
|
/**
|
|
@@ -1852,7 +1933,7 @@ declare function createResolvedField(field: {
|
|
|
1852
1933
|
* console.log('Valid IR:', schema.appName);
|
|
1853
1934
|
* }
|
|
1854
1935
|
*/
|
|
1855
|
-
declare function isResolvedIR(ir:
|
|
1936
|
+
declare function isResolvedIR(ir: RuntimeValue): ir is ResolvedIR;
|
|
1856
1937
|
|
|
1857
1938
|
/**
|
|
1858
1939
|
* Context Extensions (framework concept)
|
|
@@ -2006,16 +2087,32 @@ interface BusEventSource {
|
|
|
2006
2087
|
*/
|
|
2007
2088
|
fromBridge?: boolean;
|
|
2008
2089
|
/**
|
|
2009
|
-
* True ONLY for
|
|
2010
|
-
*
|
|
2011
|
-
*
|
|
2012
|
-
*
|
|
2013
|
-
* side cascade emits
|
|
2014
|
-
* `dispatched`, so they reach the
|
|
2015
|
-
*
|
|
2016
|
-
*
|
|
2090
|
+
* True ONLY for bridge echoes the receiving tab already processed, so
|
|
2091
|
+
* the originating trait's self-subscription skips them instead of
|
|
2092
|
+
* re-dispatching its own echo (infinite loop / double execution).
|
|
2093
|
+
* Set by path 1 of useOrbitalBridge (compiled shell — echo of the
|
|
2094
|
+
* just-dispatched event; server-side cascade emits there carry
|
|
2095
|
+
* `fromBridge: true` but NOT `dispatched`, so they still reach the
|
|
2096
|
+
* source trait's transition handler, e.g. `loading -> browsing` on a
|
|
2097
|
+
* fetch's `emit.success`) and by ServerBridge's response-cascade
|
|
2098
|
+
* re-emit (runtime path — every response entry echoes this tab's own
|
|
2099
|
+
* dispatch, already delivered locally via the click-time qualified
|
|
2100
|
+
* emit / bare-cascade subscription; cross-trait `listens` don't filter
|
|
2101
|
+
* on this flag, so their delivery is unaffected). Push-leg events from
|
|
2102
|
+
* OTHER tabs (multiplayer) are never stamped.
|
|
2017
2103
|
*/
|
|
2018
2104
|
dispatched?: boolean;
|
|
2105
|
+
/**
|
|
2106
|
+
* The client that originated the dispatch whose effects emitted this
|
|
2107
|
+
* event (from `OrbitalEventRequest.clientId`); absent for headless
|
|
2108
|
+
* dispatches (ticks, circuit-router probes, walkers). The server-side
|
|
2109
|
+
* listens fan-out skips client-originated cascade emits — under dual
|
|
2110
|
+
* execution the originating client relays every cascade hop through the
|
|
2111
|
+
* bridge itself, so the server dispatching the same hop double-ran it
|
|
2112
|
+
* (one Send persisted two rows). Headless topology keeps the fan-out:
|
|
2113
|
+
* there is no client to drive the circuit.
|
|
2114
|
+
*/
|
|
2115
|
+
originClientId?: string;
|
|
2019
2116
|
}
|
|
2020
2117
|
/**
|
|
2021
2118
|
* An event flowing on the bus.
|
|
@@ -2073,15 +2170,15 @@ interface VerificationCheck {
|
|
|
2073
2170
|
updatedAt: number;
|
|
2074
2171
|
}
|
|
2075
2172
|
/**
|
|
2076
|
-
* Trace of a single effect as it ran on a transition. `args` are
|
|
2077
|
-
*
|
|
2078
|
-
*
|
|
2173
|
+
* Trace of a single effect as it ran on a transition. `args` are the
|
|
2174
|
+
* effect tuple's trailing S-expressions; consumers narrow via `type`
|
|
2175
|
+
* before inspecting.
|
|
2079
2176
|
*/
|
|
2080
2177
|
interface EffectTrace {
|
|
2081
2178
|
type: string;
|
|
2082
2179
|
/** For fetch/persist effects: the entity the effect addresses. */
|
|
2083
2180
|
entityName?: string;
|
|
2084
|
-
args:
|
|
2181
|
+
args: SExpr[];
|
|
2085
2182
|
status: "executed" | "failed" | "skipped";
|
|
2086
2183
|
error?: string;
|
|
2087
2184
|
durationMs?: number;
|
|
@@ -2198,6 +2295,16 @@ interface EventLogEntry {
|
|
|
2198
2295
|
payload?: EventPayload;
|
|
2199
2296
|
timestamp: number;
|
|
2200
2297
|
}
|
|
2298
|
+
/**
|
|
2299
|
+
* A drawable descriptor as exposed over the verification bridge. The
|
|
2300
|
+
* concrete `DrawableNode` union lives downstream in `@almadar/ui`
|
|
2301
|
+
* (`lib/drawable/paintDispatch.ts`) and cannot be imported here without
|
|
2302
|
+
* inverting the dependency axis; the bridge contract carries the `type`
|
|
2303
|
+
* discriminant (`draw-sprite`, `draw-shape`, …) that verifiers narrow on.
|
|
2304
|
+
*/
|
|
2305
|
+
interface DrawableDescriptor {
|
|
2306
|
+
type: string;
|
|
2307
|
+
}
|
|
2201
2308
|
/**
|
|
2202
2309
|
* The object attached to `window.__orbitalVerification`. Every optional
|
|
2203
2310
|
* member is wired up by a corresponding `bind*` / `register*` call on
|
|
@@ -2234,7 +2341,7 @@ interface OrbitalVerificationAPI {
|
|
|
2234
2341
|
/** Canvas frame capture. Populated by game organisms on mount. */
|
|
2235
2342
|
captureFrame?: () => string | null;
|
|
2236
2343
|
/** Last neutral drawables list received by the active canvas host. */
|
|
2237
|
-
getLastDrawables?: () =>
|
|
2344
|
+
getLastDrawables?: () => DrawableDescriptor[] | null;
|
|
2238
2345
|
/** Asset-url → load-status map. Populated by game organisms. */
|
|
2239
2346
|
assetStatus?: Record<string, AssetLoadStatus>;
|
|
2240
2347
|
/** Rolling event bus log. Populated by `bindEventBus`. */
|
|
@@ -2952,4 +3059,4 @@ interface ParsedDesign {
|
|
|
2952
3059
|
};
|
|
2953
3060
|
}
|
|
2954
3061
|
|
|
2955
|
-
export { ANONYMOUS_USER, type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnalysisOrbital, type AnalysisOrbitalParams, type AnalysisPageOverride, type AnalysisRename, type AnalysisResult, type AnnotationTier, type AppCreatedEvent, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BuilderResult, type BusEvent, type BusEventListener, type BusEventSource, type CancelledEvent, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type ChangesetRecordedEvent, type ChangesetValue, type CheckStatus, type Clarification, type ClarificationCandidate, type ClarificationLevel, type CompleteEvent, type ComplexityAssessment, type ComposeAllResult, type ComposeChildrenResult, type ComposeOptions, ConfigFieldDeclaration, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, DEV_TOKEN_PREFIX, DeclaredTraitConfig, type DeleteFlow, type DispatchUpdatesResult, DomainContext, type EdgeType, type EditFlow, Effect, type EffectPayload, type EffectResult, type EffectTrace, Entity, EntityField, EntityPersistence, EntityRow, type ErrorEvent, EvalContext, Event, type EventEmit, EventId, type EventKey, type EventListen, type EventLogEntry, EventPayload, EventPayloadValue, type EvolutionDelta, type ExecutePlanResult, type ExtraTraitRef, FieldValue, type FileOperationEvent, type FileWrittenEvent, Orbital as FullOrbitalUnit, type GateState, type GenerationLogEvent, type GitHubIssue, type GitHubLink, type GitHubRepo, type HistoryMeta, type IntegrationContext, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type InterruptEvent, JsonObject, JsonValue, KNOWN_VALIDATION_ERROR_CODES, type KnobPayload, type KnownValidationErrorCode, type LazyService, type LineageEntry, type ListInteraction, ListenSource, type LivingEdge, type LivingEffect, type LivingEntity, type LivingEvent, type LivingField, type LivingOrbital, type LivingOrbitalSchema, type LivingPage, type LivingState, type LivingTrait, type LivingTransition, type LivingValue, type LivingVertex, type LlmCallToolsResult, type LlmContext, type LlmMessage, type LlmTokenUsage, type LlmToolCall, type LlmToolDef, LogMeta, type LoloEmitResult, MOCK_PERSONAS, type MemoryContext, type MessageEvent, Orbital, type OrbitalAddedEvent, OrbitalDefinition, OrbitalId, OrbitalSchema, type OrbitalSchemaCompleteEvent, type OrbitalVerificationAPI, Page, type PageContentReduction, PageTraitRef, type ParamsRepairEmittedEvent, type ParsedDesign, type ParsedDomainContext, type ParsedEmitDeclaration, type ParsedEntity, type ParsedEvent, type ParsedListenDeclaration, type ParsedOrbital, type ParsedPage, type ParsedState, type ParsedStateMachine, type ParsedTrait, type ParsedTraitConfig, type ParsedTransition, PatternTypeSchema, type PersistActionName, type PlanSnapshot, type PlanSnapshotStatus, type PlannerResult, type Probability, type ProcessCompleteEvent, type ProcessErrorEvent, type ProcessRepairCompleteEvent, type ProcessRepairEvent, type ProcessStartEvent, type RawUserClaims, type RepairResult, type ResolvedEntity, type ResolvedEntityBinding, type ResolvedField, type ResolvedIR, type ResolvedNavigation, type ResolvedPage, type ResolvedPattern, type ResolvedSection, type ResolvedSectionEvent, type ResolvedTrait, type ResolvedTraitBinding, type ResolvedTraitDataEntity, type ResolvedTraitEvent, type ResolvedTraitGuard, type ResolvedTraitListener, type ResolvedTraitState, type ResolvedTraitTick, type ResolvedTraitTransition, type ResolvedTraitUIBinding, SExpr, type SSEEvent, type SSEEventBase, type SSEEventType, type SaveOptions, type SaveResult, type SchemaChange, type SchemaPhaseUpdateEvent, type SchemaPhaseValidatedEvent, type SchemaUpdateEvent, type SemanticAnnotation, type SemanticChangeKind, type SemanticSchemaChange, type SemanticVector, type ServerResponseTrace, type ServiceAction, type ServiceActionName, type ServiceCallResult, type ServiceContract, type ServiceEvents, ServiceParams, type SessionContext, type SessionHistoryEntry, type SnapshotCreatedEvent, type SnapshotDocument, type SpawnResult, type StartEvent, State, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, type SubagentCompleteEvent, type SubagentEvent, type SubagentProgressEvent, type SubagentStartEvent, ThemeDefinition, type TodoActivityType, type TodoDetailEvent, type TodoUpdateEvent, ToolArgs, type ToolCallEvent, type ToolResultEvent, type TraceContext, Trait, TraitCategory, TraitConfig, TraitConfigValue, type TraitFieldRef, TraitFieldRefSchema, TraitId, TraitReference, type TraitStateSnapshot, Transition, type TransitionFrom, type TransitionTrace, type Unsubscribe, type UserContext, type ValidateResult, OrbitalDefinition as ValidatedOrbital, type ValidationDocument, type ValidationError, type ValidationErrorCode, type ValidationIssue, type ValidationMeta, type ValidationResult, type ValidationResults, type VerificationCheck, type VerificationSnapshot, type VerificationSummary, type VertexId, type VertexPayload, type VertexType, type ViewFlow, type WorkspaceContext, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, encodeDevIdentityToken, findMockPersona, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, normalizeUserContext, resolvePersonaSpec, toBindingRoot, validateBindingInContext, widenTier };
|
|
3062
|
+
export { ANONYMOUS_USER, type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnalysisOrbital, type AnalysisOrbitalParams, type AnalysisPageOverride, type AnalysisRename, type AnalysisResult, type AnnotationTier, type AppCreatedEvent, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BuilderResult, type BusEvent, type BusEventListener, type BusEventSource, type CancelledEvent, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type ChangesetRecordedEvent, type ChangesetValue, type CheckStatus, type Clarification, type ClarificationCandidate, type ClarificationLevel, type CompleteEvent, type ComplexityAssessment, type ComposeAllResult, type ComposeChildrenResult, type ComposeOptions, ConfigFieldDeclaration, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfig, type DeleteFlow, type DispatchUpdatesResult, DomainContext, type DrawableDescriptor, type EdgeType, type EditFlow, Effect, type EffectPayload, type EffectResult, type EffectTrace, Entity, EntityField, EntityPersistence, EntityRow, type ErrorEvent, EvalContext, Event, type EventEmit, EventId, type EventKey, type EventListen, type EventLogEntry, EventPayload, EventPayloadValue, type EvolutionDelta, type ExecutePlanResult, type ExtraTraitRef, FieldValue, type FileOperationEvent, type FileWrittenEvent, Orbital as FullOrbitalUnit, type GateState, type GenerationLogEvent, type GitHubIssue, type GitHubLink, type GitHubRepo, type HistoryMeta, type IntegrationContext, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type InterruptEvent, JsonObject, JsonValue, KNOWN_VALIDATION_ERROR_CODES, type KnobPayload, type KnownValidationErrorCode, type LLMErrorContext, type LazyService, type LineageEntry, type ListInteraction, ListenSource, type LivingEdge, type LivingEffect, type LivingEntity, type LivingEvent, type LivingField, type LivingOrbital, type LivingOrbitalSchema, type LivingPage, type LivingState, type LivingTrait, type LivingTransition, type LivingValue, type LivingVertex, type LlmCallToolsResult, type LlmContext, type LlmMessage, type LlmTokenUsage, type LlmToolCall, type LlmToolDef, LogMeta, type LoloEmitResult, MOCK_PERSONAS, type MemoryContext, type MessageEvent, Orbital, type OrbitalAddedEvent, OrbitalDefinition, OrbitalId, OrbitalSchema, type OrbitalSchemaCompleteEvent, type OrbitalVerificationAPI, Page, type PageContentReduction, PageTraitRef, type ParamsRepairEmittedEvent, type ParsedDesign, type ParsedDomainContext, type ParsedEmitDeclaration, type ParsedEntity, type ParsedEvent, type ParsedListenDeclaration, type ParsedOrbital, type ParsedPage, type ParsedState, type ParsedStateMachine, type ParsedTrait, type ParsedTraitConfig, type ParsedTransition, PatternTypeSchema, type PersistActionName, type PlanSnapshot, type PlanSnapshotStatus, type PlannerResult, type Probability, type ProcessCompleteEvent, type ProcessErrorEvent, type ProcessRepairCompleteEvent, type ProcessRepairEvent, type ProcessStartEvent, RENDER_BINDING_MARKER, type RawUserClaims, type RenderBindingMarker, type RepairResult, type ResolvedEntity, type ResolvedEntityBinding, type ResolvedField, type ResolvedIR, type ResolvedNavigation, type ResolvedPage, type ResolvedPattern, type ResolvedSection, type ResolvedSectionEvent, type ResolvedTrait, type ResolvedTraitBinding, type ResolvedTraitDataEntity, type ResolvedTraitEvent, type ResolvedTraitGuard, type ResolvedTraitListener, type ResolvedTraitState, type ResolvedTraitTick, type ResolvedTraitTransition, type ResolvedTraitUIBinding, RuntimeValue, SExpr, type SSEEvent, type SSEEventBase, type SSEEventType, type SaveOptions, type SaveResult, type SchemaChange, type SchemaPhaseUpdateEvent, type SchemaPhaseValidatedEvent, type SchemaUpdateEvent, type SemanticAnnotation, type SemanticChangeKind, type SemanticSchemaChange, type SemanticVector, type ServerResponseTrace, type ServiceAction, type ServiceActionName, type ServiceCallResult, type ServiceContract, type ServiceEvents, ServiceParams, type SessionContext, type SessionHistoryEntry, type SnapshotCreatedEvent, type SnapshotDocument, type SpawnResult, type StartEvent, State, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, type SubagentCompleteEvent, type SubagentEvent, type SubagentProgressEvent, type SubagentStartEvent, ThemeDefinition, type TodoActivityType, type TodoDetailEvent, type TodoUpdateEvent, ToolArgs, type ToolCallEvent, type ToolResultEvent, type TraceContext, Trait, TraitCategory, TraitConfig, TraitConfigValue, type TraitFieldRef, TraitFieldRefSchema, TraitId, TraitReference, type TraitStateSnapshot, Transition, type TransitionFrom, type TransitionTrace, type Unsubscribe, type UserContext, type ValidateResult, OrbitalDefinition as ValidatedOrbital, type ValidationDocument, type ValidationError, type ValidationErrorCode, type ValidationIssue, type ValidationMeta, type ValidationResult, type ValidationResults, type VerificationCheck, type VerificationSnapshot, type VerificationSummary, type VertexId, type VertexPayload, type VertexType, type ViewFlow, type WorkspaceContext, containsEntityBinding, containsPayloadBinding, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, encodeDevIdentityToken, findMockPersona, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isRenderBindingMarker, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, normalizeUserContext, resolvePersonaSpec, toBindingRoot, validateBindingInContext, widenTier };
|