@almadar/core 10.42.0 → 10.44.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 +4 -4
- package/dist/builders.js +45 -27
- package/dist/builders.js.map +1 -1
- package/dist/{effect-D4os99OL.d.ts → effect-NbTgX2yB.d.ts} +65 -110
- package/dist/{expression-DpAj1RzP.d.ts → expression-Yf7qvvOs.d.ts} +85 -10
- package/dist/factory/index.d.ts +5 -6
- package/dist/factory-runtime/index.d.ts +4 -4
- package/dist/factory-runtime/index.js +45 -27
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/index.js +270 -113
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/mock/index.js +1 -1
- 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 +276 -10
- package/dist/patterns/index.js +117 -6
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +109 -4
- package/dist/patterns/registry.json +109 -4
- package/dist/{schema-C_lv_cta.d.ts → schema-DdcBBHkb.d.ts} +7240 -3158
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-BQIlqUHC.d.ts → trait-DdBiEffx.d.ts} +987 -98
- package/dist/types/index.d.ts +150 -50
- package/dist/types/index.js +154 -107
- package/dist/types/index.js.map +1 -1
- package/dist/{types-Bd_LX0j8.d.ts → types-B4NVh8V9.d.ts} +3 -2
- package/package.json +1 -1
- package/src/types/bindings.ts +79 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
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-
|
|
3
|
-
import { F as FieldValue, E as EntityField, a as EntityPersistence,
|
|
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, g as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State,
|
|
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,
|
|
10
|
-
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-
|
|
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
11
|
import { MakeTraitRefOpts, EventWiringEntry, LayoutStrategy } from '../builders.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -103,6 +103,45 @@ declare const BINDING_CONTEXT_RULES: {
|
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
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;
|
|
106
145
|
/**
|
|
107
146
|
* Check if a binding is valid in a given context.
|
|
108
147
|
*
|
|
@@ -175,7 +214,7 @@ declare function toBindingRoot(root: string): BindingRoot;
|
|
|
175
214
|
*/
|
|
176
215
|
type TraitFieldRef = `@trait.${string}`;
|
|
177
216
|
/** Type guard: narrow an unknown value to {@link TraitFieldRef}. */
|
|
178
|
-
declare function isTraitFieldRef(value:
|
|
217
|
+
declare function isTraitFieldRef(value: RuntimeValue): value is TraitFieldRef;
|
|
179
218
|
/** Zod schema for {@link TraitFieldRef} values. Useful when validating analyzer
|
|
180
219
|
* JSON or recipe overrides at runtime boundaries. */
|
|
181
220
|
declare const TraitFieldRefSchema: z.ZodString;
|
|
@@ -242,15 +281,15 @@ interface RawUserClaims {
|
|
|
242
281
|
*/
|
|
243
282
|
declare function normalizeUserContext(claims: RawUserClaims | null | undefined): UserContext | undefined;
|
|
244
283
|
/**
|
|
245
|
-
*
|
|
246
|
-
* sign-in. NOT production data: nothing authenticates against this. It exists so
|
|
247
|
-
* an app can be viewed as each persona its domain implies before real auth is
|
|
248
|
-
* wired.
|
|
284
|
+
* Turn a row of an app's `[identity]` entity into a viewer.
|
|
249
285
|
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
286
|
+
* There is no separate persona shape: an identity row IS the persona
|
|
287
|
+
* (`Almadar_LOLO_Identity.md` §4.3), so this only guards the one field the
|
|
288
|
+
* behavior library requires — a non-empty string `id` — and passes every other
|
|
289
|
+
* declared field through as a `@user.<field>` claim. Rows without a usable id
|
|
290
|
+
* yield `undefined` rather than a persona nobody can own rows as.
|
|
252
291
|
*/
|
|
253
|
-
declare
|
|
292
|
+
declare function personaFromIdentityRow(row: Record<string, FieldValue | undefined>): UserContext | undefined;
|
|
254
293
|
/**
|
|
255
294
|
* The viewer a host presents when nothing named one.
|
|
256
295
|
*
|
|
@@ -265,18 +304,24 @@ declare const MOCK_PERSONAS: readonly UserContext[];
|
|
|
265
304
|
* "undefined at runtime" without changing a single guard outcome.
|
|
266
305
|
*/
|
|
267
306
|
declare const DEFAULT_VIEWER: UserContext;
|
|
268
|
-
/** Look a
|
|
269
|
-
declare function
|
|
307
|
+
/** Look a persona up in a roster by id, or by role when no id matches. */
|
|
308
|
+
declare function findPersonaInRoster(roster: readonly UserContext[], idOrRole: string): UserContext | undefined;
|
|
270
309
|
/**
|
|
271
|
-
* Resolve a persona spec — a bare
|
|
310
|
+
* Resolve a persona spec — a bare id/role (`Person Id 3`, `moderator`) or a full
|
|
272
311
|
* JSON `UserContext` — into a viewer. This is the `ALMADAR_PERSONA` contract,
|
|
273
312
|
* shared by every host that presents an app as somebody.
|
|
274
313
|
*
|
|
314
|
+
* The roster is the app's OWN declared personas — the seeded rows of its
|
|
315
|
+
* `[identity]` entity (`Almadar_LOLO_Identity.md` §4.3) — supplied by the host
|
|
316
|
+
* that has them in hand (the runtime's live store on the interpreter path, the
|
|
317
|
+
* schema-derived seed rows on the compiled path). There is no global roster:
|
|
318
|
+
* an app without an `[identity]` entity resolves only JSON-form specs.
|
|
319
|
+
*
|
|
275
320
|
* Throws on anything unresolvable rather than returning `undefined`: "no persona"
|
|
276
321
|
* and "persona silently ignored" look identical on screen, so a bad spec must
|
|
277
322
|
* fail at boot instead of rendering as nobody.
|
|
278
323
|
*/
|
|
279
|
-
declare function resolvePersonaSpec(spec: string): UserContext;
|
|
324
|
+
declare function resolvePersonaSpec(spec: string, roster: readonly UserContext[]): UserContext;
|
|
280
325
|
/**
|
|
281
326
|
* Marks a bearer token as a mocked dev identity rather than a real ID token.
|
|
282
327
|
* The prefix is deliberately unmistakable: a server accepts these ONLY behind an
|
|
@@ -675,7 +720,7 @@ interface PlanSnapshot {
|
|
|
675
720
|
* values at the `WorkspaceContext.writePlan` boundary. Discriminates on the
|
|
676
721
|
* snapshot envelope (schemaVersion, status, roster arrays), not deep contents.
|
|
677
722
|
*/
|
|
678
|
-
declare function isPlanSnapshot(value:
|
|
723
|
+
declare function isPlanSnapshot(value: RuntimeValue): value is PlanSnapshot;
|
|
679
724
|
interface ComposeOptions {
|
|
680
725
|
appName?: string;
|
|
681
726
|
wiring?: EventWiringEntry[];
|
|
@@ -916,7 +961,7 @@ interface SessionHistoryEntry {
|
|
|
916
961
|
* Runtime guard for `SessionHistoryEntry` — narrows interpreter-produced
|
|
917
962
|
* `unknown` values at the `SessionContext.appendHistory` boundary.
|
|
918
963
|
*/
|
|
919
|
-
declare function isSessionHistoryEntry(value:
|
|
964
|
+
declare function isSessionHistoryEntry(value: RuntimeValue): value is SessionHistoryEntry;
|
|
920
965
|
/**
|
|
921
966
|
* AgentContext is the runtime contract for agent/* operators.
|
|
922
967
|
*
|
|
@@ -1074,17 +1119,17 @@ declare const InteractionModelSchema: z.ZodObject<{
|
|
|
1074
1119
|
bulkActions: z.ZodOptional<z.ZodBoolean>;
|
|
1075
1120
|
realtime: z.ZodOptional<z.ZodBoolean>;
|
|
1076
1121
|
}, "strip", z.ZodTypeAny, {
|
|
1077
|
-
createFlow: "page" | "
|
|
1078
|
-
editFlow: "page" | "
|
|
1079
|
-
viewFlow: "page" | "
|
|
1122
|
+
createFlow: "page" | "none" | "inline" | "modal";
|
|
1123
|
+
editFlow: "page" | "none" | "inline" | "modal";
|
|
1124
|
+
viewFlow: "page" | "none" | "inline" | "modal" | "drawer";
|
|
1080
1125
|
deleteFlow: "none" | "instant" | "confirm";
|
|
1081
1126
|
bulkActions?: boolean | undefined;
|
|
1082
1127
|
listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
|
|
1083
1128
|
realtime?: boolean | undefined;
|
|
1084
1129
|
}, {
|
|
1085
|
-
createFlow: "page" | "
|
|
1086
|
-
editFlow: "page" | "
|
|
1087
|
-
viewFlow: "page" | "
|
|
1130
|
+
createFlow: "page" | "none" | "inline" | "modal";
|
|
1131
|
+
editFlow: "page" | "none" | "inline" | "modal";
|
|
1132
|
+
viewFlow: "page" | "none" | "inline" | "modal" | "drawer";
|
|
1088
1133
|
deleteFlow: "none" | "instant" | "confirm";
|
|
1089
1134
|
bulkActions?: boolean | undefined;
|
|
1090
1135
|
listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
|
|
@@ -1335,6 +1380,29 @@ interface SaveResult {
|
|
|
1335
1380
|
error?: string;
|
|
1336
1381
|
snapshotId?: string;
|
|
1337
1382
|
}
|
|
1383
|
+
/**
|
|
1384
|
+
* Context attached to validation issues originating from LLM output.
|
|
1385
|
+
* Mirrors the `LLMErrorContext` shapes used by `@almadar/validation`
|
|
1386
|
+
* and the builder's fix-prompt pipeline.
|
|
1387
|
+
*/
|
|
1388
|
+
interface LLMErrorContext {
|
|
1389
|
+
/** Preview of the raw LLM output */
|
|
1390
|
+
rawValuePreview?: string;
|
|
1391
|
+
/** Expected type or structure */
|
|
1392
|
+
expectedType?: string;
|
|
1393
|
+
/** Actual type received */
|
|
1394
|
+
actualType?: string;
|
|
1395
|
+
/** Where the error originated */
|
|
1396
|
+
source?: {
|
|
1397
|
+
agent: 'requirements' | 'builder' | 'view-planner';
|
|
1398
|
+
operation: string;
|
|
1399
|
+
promptHash?: string;
|
|
1400
|
+
};
|
|
1401
|
+
tokenUsage?: {
|
|
1402
|
+
prompt: number;
|
|
1403
|
+
completion: number;
|
|
1404
|
+
};
|
|
1405
|
+
}
|
|
1338
1406
|
/**
|
|
1339
1407
|
* Validation issue with optional LLM context.
|
|
1340
1408
|
*/
|
|
@@ -1344,7 +1412,7 @@ interface ValidationIssue {
|
|
|
1344
1412
|
path: (string | number)[];
|
|
1345
1413
|
severity: 'error' | 'warning' | 'info';
|
|
1346
1414
|
suggestion?: string;
|
|
1347
|
-
llmContext?:
|
|
1415
|
+
llmContext?: LLMErrorContext;
|
|
1348
1416
|
}
|
|
1349
1417
|
/**
|
|
1350
1418
|
* Validation results.
|
|
@@ -1571,9 +1639,13 @@ interface ResolvedField {
|
|
|
1571
1639
|
type: string;
|
|
1572
1640
|
tsType: string;
|
|
1573
1641
|
description?: string;
|
|
1574
|
-
default
|
|
1642
|
+
/** Field default — JSON-shaped, mirroring `EntityField.default`. */
|
|
1643
|
+
default?: JsonValue;
|
|
1575
1644
|
required: boolean;
|
|
1576
|
-
|
|
1645
|
+
/** Validation constraints carried from the schema (enum whitelist). */
|
|
1646
|
+
validation?: {
|
|
1647
|
+
enum?: string[];
|
|
1648
|
+
};
|
|
1577
1649
|
/** Enum values for enum or constrained string fields */
|
|
1578
1650
|
values?: string[];
|
|
1579
1651
|
/** Enum values (alias for values, for compatibility) */
|
|
@@ -1821,7 +1893,7 @@ interface ResolvedIR {
|
|
|
1821
1893
|
/** Entity bindings (used for data hook generation) */
|
|
1822
1894
|
entityBindings: ResolvedEntityBinding[];
|
|
1823
1895
|
/** Raw data entities (used for instance data generation) */
|
|
1824
|
-
rawEntities?:
|
|
1896
|
+
rawEntities?: Entity[];
|
|
1825
1897
|
/** Generation timestamp */
|
|
1826
1898
|
generatedAt: string;
|
|
1827
1899
|
}
|
|
@@ -1844,9 +1916,11 @@ declare function createResolvedField(field: {
|
|
|
1844
1916
|
name: string;
|
|
1845
1917
|
type: string;
|
|
1846
1918
|
description?: string;
|
|
1847
|
-
default?:
|
|
1919
|
+
default?: JsonValue;
|
|
1848
1920
|
required?: boolean;
|
|
1849
|
-
validation?:
|
|
1921
|
+
validation?: {
|
|
1922
|
+
enum?: string[];
|
|
1923
|
+
};
|
|
1850
1924
|
values?: string[];
|
|
1851
1925
|
}): ResolvedField;
|
|
1852
1926
|
/**
|
|
@@ -1865,7 +1939,7 @@ declare function createResolvedField(field: {
|
|
|
1865
1939
|
* console.log('Valid IR:', schema.appName);
|
|
1866
1940
|
* }
|
|
1867
1941
|
*/
|
|
1868
|
-
declare function isResolvedIR(ir:
|
|
1942
|
+
declare function isResolvedIR(ir: RuntimeValue): ir is ResolvedIR;
|
|
1869
1943
|
|
|
1870
1944
|
/**
|
|
1871
1945
|
* Context Extensions (framework concept)
|
|
@@ -2019,16 +2093,32 @@ interface BusEventSource {
|
|
|
2019
2093
|
*/
|
|
2020
2094
|
fromBridge?: boolean;
|
|
2021
2095
|
/**
|
|
2022
|
-
* True ONLY for
|
|
2023
|
-
*
|
|
2024
|
-
*
|
|
2025
|
-
*
|
|
2026
|
-
* side cascade emits
|
|
2027
|
-
* `dispatched`, so they reach the
|
|
2028
|
-
*
|
|
2029
|
-
*
|
|
2096
|
+
* True ONLY for bridge echoes the receiving tab already processed, so
|
|
2097
|
+
* the originating trait's self-subscription skips them instead of
|
|
2098
|
+
* re-dispatching its own echo (infinite loop / double execution).
|
|
2099
|
+
* Set by path 1 of useOrbitalBridge (compiled shell — echo of the
|
|
2100
|
+
* just-dispatched event; server-side cascade emits there carry
|
|
2101
|
+
* `fromBridge: true` but NOT `dispatched`, so they still reach the
|
|
2102
|
+
* source trait's transition handler, e.g. `loading -> browsing` on a
|
|
2103
|
+
* fetch's `emit.success`) and by ServerBridge's response-cascade
|
|
2104
|
+
* re-emit (runtime path — every response entry echoes this tab's own
|
|
2105
|
+
* dispatch, already delivered locally via the click-time qualified
|
|
2106
|
+
* emit / bare-cascade subscription; cross-trait `listens` don't filter
|
|
2107
|
+
* on this flag, so their delivery is unaffected). Push-leg events from
|
|
2108
|
+
* OTHER tabs (multiplayer) are never stamped.
|
|
2030
2109
|
*/
|
|
2031
2110
|
dispatched?: boolean;
|
|
2111
|
+
/**
|
|
2112
|
+
* The client that originated the dispatch whose effects emitted this
|
|
2113
|
+
* event (from `OrbitalEventRequest.clientId`); absent for headless
|
|
2114
|
+
* dispatches (ticks, circuit-router probes, walkers). The server-side
|
|
2115
|
+
* listens fan-out skips client-originated cascade emits — under dual
|
|
2116
|
+
* execution the originating client relays every cascade hop through the
|
|
2117
|
+
* bridge itself, so the server dispatching the same hop double-ran it
|
|
2118
|
+
* (one Send persisted two rows). Headless topology keeps the fan-out:
|
|
2119
|
+
* there is no client to drive the circuit.
|
|
2120
|
+
*/
|
|
2121
|
+
originClientId?: string;
|
|
2032
2122
|
}
|
|
2033
2123
|
/**
|
|
2034
2124
|
* An event flowing on the bus.
|
|
@@ -2086,15 +2176,15 @@ interface VerificationCheck {
|
|
|
2086
2176
|
updatedAt: number;
|
|
2087
2177
|
}
|
|
2088
2178
|
/**
|
|
2089
|
-
* Trace of a single effect as it ran on a transition. `args` are
|
|
2090
|
-
*
|
|
2091
|
-
*
|
|
2179
|
+
* Trace of a single effect as it ran on a transition. `args` are the
|
|
2180
|
+
* effect tuple's trailing S-expressions; consumers narrow via `type`
|
|
2181
|
+
* before inspecting.
|
|
2092
2182
|
*/
|
|
2093
2183
|
interface EffectTrace {
|
|
2094
2184
|
type: string;
|
|
2095
2185
|
/** For fetch/persist effects: the entity the effect addresses. */
|
|
2096
2186
|
entityName?: string;
|
|
2097
|
-
args:
|
|
2187
|
+
args: SExpr[];
|
|
2098
2188
|
status: "executed" | "failed" | "skipped";
|
|
2099
2189
|
error?: string;
|
|
2100
2190
|
durationMs?: number;
|
|
@@ -2211,6 +2301,16 @@ interface EventLogEntry {
|
|
|
2211
2301
|
payload?: EventPayload;
|
|
2212
2302
|
timestamp: number;
|
|
2213
2303
|
}
|
|
2304
|
+
/**
|
|
2305
|
+
* A drawable descriptor as exposed over the verification bridge. The
|
|
2306
|
+
* concrete `DrawableNode` union lives downstream in `@almadar/ui`
|
|
2307
|
+
* (`lib/drawable/paintDispatch.ts`) and cannot be imported here without
|
|
2308
|
+
* inverting the dependency axis; the bridge contract carries the `type`
|
|
2309
|
+
* discriminant (`draw-sprite`, `draw-shape`, …) that verifiers narrow on.
|
|
2310
|
+
*/
|
|
2311
|
+
interface DrawableDescriptor {
|
|
2312
|
+
type: string;
|
|
2313
|
+
}
|
|
2214
2314
|
/**
|
|
2215
2315
|
* The object attached to `window.__orbitalVerification`. Every optional
|
|
2216
2316
|
* member is wired up by a corresponding `bind*` / `register*` call on
|
|
@@ -2247,7 +2347,7 @@ interface OrbitalVerificationAPI {
|
|
|
2247
2347
|
/** Canvas frame capture. Populated by game organisms on mount. */
|
|
2248
2348
|
captureFrame?: () => string | null;
|
|
2249
2349
|
/** Last neutral drawables list received by the active canvas host. */
|
|
2250
|
-
getLastDrawables?: () =>
|
|
2350
|
+
getLastDrawables?: () => DrawableDescriptor[] | null;
|
|
2251
2351
|
/** Asset-url → load-status map. Populated by game organisms. */
|
|
2252
2352
|
assetStatus?: Record<string, AssetLoadStatus>;
|
|
2253
2353
|
/** Rolling event bus log. Populated by `bindEventBus`. */
|
|
@@ -2965,4 +3065,4 @@ interface ParsedDesign {
|
|
|
2965
3065
|
};
|
|
2966
3066
|
}
|
|
2967
3067
|
|
|
2968
|
-
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 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,
|
|
3068
|
+
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, 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, findPersonaInRoster, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isRenderBindingMarker, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, normalizeUserContext, personaFromIdentityRow, resolvePersonaSpec, toBindingRoot, validateBindingInContext, widenTier };
|