@almadar/core 10.129.0 → 11.0.1
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/behavior-package.d.ts +49 -11
- package/dist/behavior-package.js +1 -1
- package/dist/{orbital-CkFdDS9f.d.ts → builders-BdgbY7Th.d.ts} +5828 -6917
- package/dist/builders.d.ts +6 -6
- package/dist/builders.js +7 -6
- package/dist/{bus-CcbB__oo.d.ts → bus-C0hFDNFR.d.ts} +262 -354
- package/dist/chunk-347APWFM.js +286 -0
- package/dist/chunk-347APWFM.js.map +1 -0
- package/dist/chunk-5WQ3U7NJ.js +2363 -0
- package/dist/chunk-5WQ3U7NJ.js.map +1 -0
- package/dist/chunk-5YTPYMPZ.js +99 -0
- package/dist/chunk-5YTPYMPZ.js.map +1 -0
- package/dist/chunk-66Q5VX2F.js +3810 -0
- package/dist/chunk-66Q5VX2F.js.map +1 -0
- package/dist/chunk-7GHJU5WI.js +39 -0
- package/dist/chunk-7GHJU5WI.js.map +1 -0
- package/dist/chunk-B4MNHGBP.js +8 -0
- package/dist/chunk-B4MNHGBP.js.map +1 -0
- package/dist/chunk-E4T2MQAV.js +24 -0
- package/dist/chunk-E4T2MQAV.js.map +1 -0
- package/dist/chunk-ENOCKYGA.js +412 -0
- package/dist/chunk-ENOCKYGA.js.map +1 -0
- package/dist/chunk-FGT5OS2Y.js +918 -0
- package/dist/chunk-FGT5OS2Y.js.map +1 -0
- package/dist/chunk-GF7KCLNR.js +3284 -0
- package/dist/chunk-GF7KCLNR.js.map +1 -0
- package/dist/chunk-PNGFWLHD.js +1567 -0
- package/dist/chunk-PNGFWLHD.js.map +1 -0
- package/dist/{chunk-X4SC7FGF.js → chunk-RGACZEYC.js} +99 -96
- package/dist/chunk-RGACZEYC.js.map +1 -0
- package/dist/{chunk-RYPVOI6H.js → chunk-SNZYN7UA.js} +2541 -433
- package/dist/{chunk-RYPVOI6H.js.map → chunk-SNZYN7UA.js.map} +1 -1
- package/dist/{chunk-KDMV222Q.js → chunk-TDNQT3M3.js} +304 -373
- package/dist/chunk-TDNQT3M3.js.map +1 -0
- package/dist/chunk-VG7BRFUD.js +152 -0
- package/dist/chunk-VG7BRFUD.js.map +1 -0
- package/dist/chunk-Z7BI7DE7.js +1293 -0
- package/dist/chunk-Z7BI7DE7.js.map +1 -0
- package/dist/{domain-Dz3jP-UM.d.ts → domain-Cpmja5ak.d.ts} +55 -55
- package/dist/{effect-CiEVLsZz.d.ts → effect-DZaXwSAz.d.ts} +283 -453
- package/dist/{effect-result-Bebwu9yT.d.ts → effect-result-1HpXgeBc.d.ts} +656 -851
- package/dist/{expression-D0Fs0riG.d.ts → expression-DirYKz-f.d.ts} +5 -13
- package/dist/factory/index.d.ts +7 -144
- package/dist/factory/index.js +8 -8
- package/dist/factory-runtime/index.d.ts +7 -6
- package/dist/factory-runtime/index.js +527 -8
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +9 -11
- package/dist/fixtures.js +12 -8
- package/dist/fixtures.js.map +1 -1
- package/dist/i18n/index.d.ts +15 -19
- package/dist/i18n/index.js +2 -1
- package/dist/{index-BC-Jycqj.d.ts → index-D7SxwNdv.d.ts} +34 -734
- package/dist/index.d.ts +92 -247
- package/dist/index.js +322 -986
- package/dist/index.js.map +1 -1
- package/dist/kernel-wire.d.ts +3 -3
- package/dist/kernel-wire.js +3 -79
- package/dist/kernel-wire.js.map +1 -1
- package/dist/language/constructs.json +22 -2
- package/dist/language/program-types.json +203 -22
- package/dist/language/protocols.json +46 -0
- package/dist/language/ui-vocabulary.json +1697 -0
- package/dist/language/validation-codes.json +1222 -1212
- package/dist/language/vocabulary.json +44 -8
- package/dist/language-data.d.ts +7 -4
- package/dist/language-data.js +20 -14
- package/dist/language-data.js.map +1 -1
- package/dist/patterns/component-mapping.json +11 -1
- package/dist/patterns/definitions.d.ts +2 -2
- package/dist/patterns/definitions.js +1 -1
- package/dist/patterns/event-contracts.json +1 -15
- package/dist/patterns/game-font-families.json +13 -0
- package/dist/patterns/index.d.ts +24 -120
- package/dist/patterns/index.js +3 -3
- package/dist/patterns/pattern-tile-geometry.json +1065 -0
- package/dist/patterns/patterns-registry.json +2539 -431
- package/dist/patterns/registry.json +2539 -431
- package/dist/trait-sRjIivFq.d.ts +3519 -0
- package/dist/types/index.d.ts +9 -10
- package/dist/types/index.js +11 -5
- package/dist/{types-DGwrltUF.d.ts → types-C6_yPMpn.d.ts} +3 -3
- package/fixtures/events-wire/client-effects-by-trait/response.json +0 -18
- package/fixtures/events-wire/client-effects-provenance/response.json +0 -18
- package/fixtures/events-wire/effect-results-every-kind/response.json +2 -27
- package/fixtures/events-wire/navigate-1/response.json +8 -5
- package/fixtures/events-wire/navigate-2/response.json +11 -8
- package/fixtures/events-wire/navigate-3/response.json +14 -11
- package/fixtures/events-wire/navigate-back/response.json +7 -4
- package/fixtures/events-wire/render-ui-3/response.json +12 -9
- package/fixtures/events-wire/render-ui-clear/response.json +0 -7
- package/fixtures/events-wire/sse-stream/response.json +0 -20
- package/fixtures/events-wire/sse-stream/stream.json +0 -20
- package/fixtures/events-wire/stateless-traits/response.json +14 -5
- package/fixtures/kernel-wire/golden/basic-entity.json +1687 -0
- package/fixtures/kernel-wire/golden/entity-rerender.json +743 -0
- package/fixtures/kernel-wire/golden/rollback.json +793 -0
- package/fixtures/kernel-wire/golden/tick-counter.json +1538 -0
- package/fixtures/kernel-wire/golden/two-orbital-chore.json +847 -0
- package/fixtures/kernel-wire/golden/two-orbital-task.json +457 -0
- package/fixtures/kernel-wire/played-step.json +136 -0
- package/fixtures/kernel-wire/scripts/basic-entity.json +28 -0
- package/fixtures/kernel-wire/scripts/entity-rerender.json +13 -0
- package/fixtures/kernel-wire/scripts/rollback.json +53 -0
- package/fixtures/kernel-wire/scripts/tick-counter.json +26 -0
- package/fixtures/kernel-wire/scripts/two-orbital-chore.json +9 -0
- package/fixtures/kernel-wire/scripts/two-orbital-task.json +9 -0
- package/package.json +28 -19
- package/dist/builders-DmZE5By0.d.ts +0 -2663
- package/dist/chunk-45I2O4SJ.js +0 -4646
- package/dist/chunk-45I2O4SJ.js.map +0 -1
- package/dist/chunk-6LR43Z5E.js +0 -3061
- package/dist/chunk-6LR43Z5E.js.map +0 -1
- package/dist/chunk-GIUA3NUJ.js +0 -809
- package/dist/chunk-GIUA3NUJ.js.map +0 -1
- package/dist/chunk-GTY53NS5.js +0 -1908
- package/dist/chunk-GTY53NS5.js.map +0 -1
- package/dist/chunk-JOHDVS6J.js +0 -1614
- package/dist/chunk-JOHDVS6J.js.map +0 -1
- package/dist/chunk-KDMV222Q.js.map +0 -1
- package/dist/chunk-QRHJUS3D.js +0 -23
- package/dist/chunk-QRHJUS3D.js.map +0 -1
- package/dist/chunk-QUOTJULD.js +0 -4009
- package/dist/chunk-QUOTJULD.js.map +0 -1
- package/dist/chunk-V5VNGRVU.js +0 -66
- package/dist/chunk-V5VNGRVU.js.map +0 -1
- package/dist/chunk-X4SC7FGF.js.map +0 -1
- package/dist/entityAccess-BPSz1i2n.d.ts +0 -80
- package/dist/mock/index.d.ts +0 -153
- package/dist/mock/index.js +0 -190
- package/dist/mock/index.js.map +0 -1
- package/dist/schema-T5RT5s6H.d.ts +0 -282
- package/dist/state-machine/index.d.ts +0 -359
- package/dist/state-machine/index.js +0 -3
- package/dist/state-machine/index.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
9
|
-
import {
|
|
10
|
-
export { A as
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { a as OrbitalDefinition, O as OrbitalSchema, P as Page } from './builders-BdgbY7Th.js';
|
|
2
|
+
export { B as BehaviorDescription, b as BehaviorDescriptionSchema, c as BehaviorRef, d as BehaviorRefSchema, e as BehaviorValue, f as BehaviorValueSchema, C as CatalogEntry, g as CatalogEntrySchema, h as CatalogScope, i as CatalogScopeSchema, j as ComputedEventContract, k as ComputedEventContractSchema, l as ComputedEventListener, m as ComputedEventListenerSchema, n as ConfigProvenanceRecord, o as ConfigProvenanceRecordSchema, D as Deployment, p as DeploymentSchema, q as DescribeTarget, r as DescribeTargetSchema, s as DispatchFacts, E as EntityCall, t as EntityCallSchema, u as EntityRef, v as EntityRefSchema, w as EntityRefStringSchema, x as EvaluatedProgram, y as EventListener, z as EventListenerSchema, A as EventSource, F as EventSourceSchema, G as EventWiringEntry, H as ExpectDeclaration, I as ExpectDeclarationSchema, J as ExpectationDiagnostic, K as ExpectationDiagnosticSchema, L as FullOrbitalUnit, N as HOST_SIGN_IN_ROUTE, Q as KnobField, R as KnobFieldSchema, S as LayoutStrategy, T as LazyPage, U as LazyPageSchema, V as LazyTrait, W as LazyTraitSchema, X as MessageCatalogs, Y as MountedListen, Z as MountedOrbital, _ as MountedState, $ as MountedTrait, a0 as MountedTransition, a1 as MountedWire, a2 as ORBITAL_VALUE_IMPORT_ALIAS, L as Orbital, a3 as OrbitalDefinitionSchema, a4 as OrbitalDescription, a5 as OrbitalDescriptionSchema, a6 as OrbitalInput, a7 as OrbitalOverrides, a8 as OrbitalOverridesSchema, a9 as OrbitalPage, aa as OrbitalPageInput, ab as OrbitalPageSchema, ac as OrbitalPageStrictInput, ad as OrbitalPageStrictSchema, ae as OrbitalRefObject, af as OrbitalRefObjectSchema, ag as OrbitalRefStringSchema, ah as OrbitalSchemaInput, ai as OrbitalSchemaSchema, aj as OrbitalSchemaWithTraits, ak as OrbitalUnit, al as OrbitalUnitSchema, am as OrbitalValue, an as OrbitalValueSchema, ao as OrbitalValueSibling, ap as OrbitalValueSiblingSchema, aq as OrbitalValueUse, ar as OrbitalValueUseSchema, as as OrbitalZodSchema, at as OrganismExpectations, au as OrganismExpectationsSchema, av as OsGrantsSchema, aw as PageAccess, ax as PageAccessSchema, ay as PageIndexing, az as PageIndexingSchema, aA as PageMeta, aB as PageMetaSchema, aC as PageModifiers, aD as PageModifiersSchema, aE as PageRef, aF as PageRefObject, aG as PageRefObjectSchema, aH as PageRefSchema, aI as PageRefStringSchema, aJ as PageSchema, aK as PageTraitRef, aL as PageTraitRefSchema, aM as ProgramValidationIssue, aN as ProtocolAddressField, aO as ProtocolSide, aP as ProtocolSideSchema, aQ as ProtocolSpec, aR as ProtocolSpecSchema, aS as ROUTE_PROTOCOL, aT as ResolvedMark, aU as SchemaMetadata, aV as SchemaMetadataSchema, aW as SiteMeta, aX as SiteMetaSchema, aY as TraitDescription, aZ as TraitDescriptionSchema, a_ as TraitEvents, a$ as TraitEventsSchema, b0 as TraitKnob, b1 as TraitKnobSchema, b2 as TraitMachine, b3 as TraitMachineSchema, b4 as TraitOverrides, b5 as TraitOverridesSchema, b6 as TraitSource, b7 as TraitSourceSchema, b8 as TraitValue, b9 as TraitValueSchema, ba as UseDeclaration, bb as UseDeclarationSchema, bc as ViewType, bd as ViewTypeSchema, be as applyBehaviorOverrides, bf as applyOrbitalOverrides, bg as applyTraitOverrides, bh as behaviorRef, bi as expectedEntityName, bj as formatBehaviorValueLiteral, bk as formatOrbitalValueLiteral, bl as formatTraitValueLiteral, bm as inlineTraitRefs, bn as isBehaviorRefValue, bo as isEntityCall, bp as isEntityReference, bq as isEntityReferenceAny, br as isHostSignInRoute, bs as isImportedTraitRef, bt as isOrbitalDefinition, bu as isOrbitalValue, bv as isPageReference, bw as isPageReferenceObject, bx as isPageReferenceString, by as isRoutePage, bz as isTraitValue, bA as orbitalImportFromValue, bB as parseBehaviorValueLiteral, bC as parseEntityRef, bD as parseImportedTraitRef, bE as parseOrbitalRef, bF as parseOrbitalSchema, bG as parseOrbitalValueLiteral, bH as parsePageRef, bI as parseProgram, bJ as parseTraitValueLiteral, bK as protocolName, bL as resolvePageMeta, bM as safeParseOrbitalSchema, bN as unionOsGrants, bO as unwrapTraitRef } from './builders-BdgbY7Th.js';
|
|
3
|
+
import { i as FieldValue, c as EntityRow, u as OrbitalEntity, h as Entity } from './effect-DZaXwSAz.js';
|
|
4
|
+
export { v as ANIMATION_NAMES, w as ASSET_ASPECTS, x as ASSET_DIMENSIONS, y as AccessCheckEffect, z as AccessCheckPayload, B as AccessCheckRequest, C as AgentEffect, D as AgentPortEffect, G as AnimationDef, H as AnimationDefInput, J as AnimationDefSchema, K as AnimationName, L as AnimationNameSchema, A as AnyPatternConfig, M as ApplicationEffect, Q as ArrayEntityField, V as Asset, W as AssetAspect, X as AssetAspectSchema, Y as AssetCatalog, Z as AssetCatalogEntry, _ as AssetCatalogEntryInput, $ as AssetCatalogEntrySchema, a0 as AssetCatalogSchema, a1 as AssetDimension, a2 as AssetDimensionSchema, a3 as AssetSchema, a4 as AssetUrl, a5 as AudioManifest, a6 as AudioManifestSchema, a7 as BehaviorReflectionEffect, a8 as BrowserEmbedEffect, a9 as BrowserEmbedPayload, aa as BrowserPageFacts, ab as BrowserPageFactsEffect, ac as BrowserPromptEffect, ad as BrowserPromptPayload, ae as BrowserTabCapture, af as BrowserTabEffect, ag as BrowserTabElement, ah as BrowserTabElementRef, ai as BrowserTabFailureKind, aj as BrowserTabFailurePayload, ak as BrowserTabOperator, al as CAMERA_MODES, am as CallServiceConfig, an as CallServiceEffect, ao as CallServiceEmitConfig, ap as Camera, aq as CameraMode, ar as CameraModeSchema, as as CameraSchema, at as CancelCallEffect, au as ControlValue, av as CredentialAdminEffect, aw as CredentialAdminFailure, ax as CredentialAdminOperator, ay as CredentialConnectEffect, az as CredentialConnectFailure, aA as CredentialConnectFailureKind, aB as CredentialConnectRequest, aC as CredentialForgetEffect, aD as CredentialIdentity, aE as CredentialListEntry, aF as CredentialListPayload, aG as CredentialModePayload, aH as CredentialPayload, aI as CredentialRemovePayload, aJ as CredentialRotatePayload, aK as CredentialServiceStatus, aL as CredentialSetPayload, aM as CredentialStatusEffect, aN as CredentialTestPayload, aO as DEFAULT_UNIT_ANIMATION_ROWS, aP as DespawnEffect, aQ as DoEffect, aR as EFFECT_OPERATORS, aS as EFFECT_OPERATOR_FAMILIES, aT as ENTITY_ROLES, d as Effect, aU as EffectInput, aV as EffectOperator, aW as EffectOperatorFamily, aX as EffectOperatorsInSync, aY as EffectSchema, aZ as EmitConfig, a_ as EmitEffect, a$ as EntityData, E as EntityField, b0 as EntityFieldInput, b1 as EntityFieldSchema, g as EntityId, b2 as EntityIdSchema, a as EntityPersistence, b3 as EntityPersistenceSchema, b4 as EntityRole, b5 as EntityRoleSchema, b6 as EntityRowSchema, b7 as EntitySchema, b8 as EntityWith, b9 as EnumEntityField, b as EventId, ba as EventIdSchema, bb as FIELD_TYPES, bc as FX_KINDS, bd as FetchEffect, be as FetchOptions, bf as FetchResult, bg as FetchStreamEffect, bh as FetchStreamOptions, bi as Field, F as FieldProjection, bj as FieldProjectionSchema, bk as FieldSchema, bl as FieldTag, bm as FieldTagSchema, bn as FieldType, bo as FieldTypeSchema, bp as FieldValueSchema, bq as FileValue, br as FileValueSchema, bs as FxKind, bt as FxKindSchema, bu as HostCallEmitConfig, bv as IdForKind, bw as IdKind, I as IdentityLedger, bx as IdentityLedgerSchema, by as LedgerEntry, bz as LedgerEntrySchema, bA as LedgerKind, bB as LedgerKindSchema, bC as LlmEffect, bD as LogEffect, bE as MANIFEST_ASSET_LICENSES, bF as MANIFEST_CANVAS_AFFINITIES, bG as MANIFEST_ENTRY_KINDS, bH as MANIFEST_SOURCE_CATALOGS, bI as ManifestAssetLicense, bJ as ManifestAssetLicenseSchema, bK as ManifestCanvasAffinity, bL as ManifestCanvasAffinitySchema, bM as ManifestEntry, bN as ManifestEntryInput, bO as ManifestEntryKind, bP as ManifestEntryKindSchema, bQ as ManifestEntrySchema, bR as ManifestFrameSpec, bS as ManifestFrameSpecSchema, bT as ManifestSourceCatalog, bU as ManifestSourceCatalogSchema, bV as McpServiceDef, bW as McpServiceDefSchema, bX as MemoryEffect, N as NamespacedEffectName, bY as NavigateBackEffect, bZ as NavigateEffect, b_ as NavigateOptions, b$ as NotifyEffect, c0 as ObjectEntityField, c1 as OnDeviceEmbedderPort, c2 as OnDeviceFailureKind, c3 as OnDeviceFailurePayload, c4 as OnDeviceModelPort, c5 as OnDeviceModelPorts, c6 as OrbitalEntityInput, c7 as OrbitalEntitySchema, O as OrbitalId, c8 as OrbitalIdSchema, c9 as OsEffect, p as PATTERN_TYPES, ca as PageFactField, P as PageId, cb as PageIdSchema, cc as PaletteEntryId, cd as PaletteEntryIdSchema, q as PatternConfig, ce as PatternConfigSchema, cf as PatternObjectSchema, r as PatternProps, s as PatternPropsMap, o as PatternType, cg as PersistBatchOperation, ch as PersistData, ci as PersistEffect, cj as PersistEmitConfig, ck as ProbConditionEffect, cl as ProbSeedEffect, cm as ProgramEffect, cn as RENDERED_SLOTS, co as RandomBytesEffect, cp as RandomBytesPayload, R as RelationConfig, cq as RelationConfigSchema, cr as RelationEntityField, m as RenderBinding, cs as RenderChildrenMap, ct as RenderItemLambda, n as RenderUIEffect, cu as RenderUINode, cv as ResolvedPatternProps, cw as ResolvedPatternPropsSchema, cx as RestAuthConfig, cy as RestAuthConfigSchema, cz as RestServiceDef, cA as RestServiceDefSchema, cB as SEMANTIC_STRING_PATTERNS, cC as SEMANTIC_STRING_TYPES, cD as SERVER_REPORTED_EFFECTS, cE as SERVICE_TYPES, cF as SHEET_PROJECTIONS, cG as SPRITE_DIRECTIONS, cH as SPRITE_SHEET_LAYOUT, cI as ScalarEntityField, cJ as ScenePos, cK as ScenePosSchema, cL as SemanticAssetRef, cM as SemanticAssetRefInput, cN as SemanticAssetRefSchema, cO as SemanticStringType, cP as SendServerEffect, S as ServerReportedEffect, l as ServiceDefinition, cQ as ServiceDefinitionSchema, cR as ServiceId, cS as ServiceIdSchema, j as ServiceParams, cT as ServiceParamsValue, k as ServiceRef, cU as ServiceRefObject, cV as ServiceRefObjectSchema, cW as ServiceRefSchema, cX as ServiceRefStringSchema, cY as ServiceType, cZ as ServiceTypeSchema, c_ as SessionEffect, c$ as SetEffect, d0 as SheetProjection, d1 as SheetProjectionSchema, d2 as SocketEvents, d3 as SocketEventsSchema, d4 as SocketServiceDef, d5 as SocketServiceDefSchema, d6 as SoundEntry, d7 as SoundEntrySchema, d8 as SpawnEffect, d9 as SpriteDirection, da as SpriteDirectionSchema, db as SpriteSheetAtlas, dc as SpriteSheetAtlasInput, dd as SpriteSheetAtlasSchema, de as SpriteSheetLayout, df as SubTexture, dg as SubTextureSchema, dh as TYPE_POSITION_ONLY, di as TemplatePatternConfig, dj as TextureAtlas, dk as TextureAtlasSchema, dl as ThemeId, dm as ThemeIdSchema, dn as Tilesheet, dp as TilesheetSchema, dq as TraceEffect, T as TraitId, dr as TraitIdSchema, f as TypeVariable, ds as TypeVariableEntityField, dt as TypeVariableSchema, e as TypedEffect, U as UISlot, du as UISlotSchema, dv as UI_SLOTS, dw as VISUAL_STYLES, dx as VisualStyle, dy as VisualStyleSchema, dz as WorkspaceArchiveOrbitalEffect, dA as WorkspaceWriteFileEffect, dB as WorkspaceWriteOrbitalEffect, dC as WorkspaceWritePlanEffect, dD as WorkspaceWriteSchemaEffect, dE as asEntityId, dF as asEventId, dG as asOrbitalId, dH as asPageId, dI as asPaletteEntryId, dJ as asServiceId, dK as asThemeId, dL as asTraitId, dM as callService, dN as createAssetKey, dO as credentialStatusConnected, dP as credentialStorageKey, dQ as defaultUnitAtlas, dR as despawn, dS as doEffects, dT as emit, dU as findService, dV as getDefaultAnimationsForRole, dW as getServiceNames, dX as hasService, dY as idKindOf, dZ as idPrefix, d_ as instancesForLocale, d$ as isClientResident, e0 as isEffect, e1 as isEmailValue, e2 as isEntityId, e3 as isEventId, e4 as isFieldValue, e5 as isFileValue, e6 as isMcpService, e7 as isOrbitalId, e8 as isPageId, e9 as isPaletteEntryId, ea as isPersistBatchOperation, eb as isPhoneValue, ec as isRestService, ed as isRuntimeEntity, ee as isSExprEffect, ef as isSemanticStringType, eg as isSemanticStringValue, eh as isServiceId, ei as isServiceReference, ej as isServiceReferenceObject, ek as isSocketService, el as isThemeId, em as isTraitId, en as isTypeVariable, eo as isTypeVariableField, ep as isUrlValue, eq as isUuidValue, t as isValidPatternType, er as ledgerCurName, es as ledgerRename, et as ledgerResolveName, eu as manifestToAssetCatalog, ev as matchAssetQuery, ew as mintId, ex as mintUlid, ey as navigate, ez as navigateBack, eA as parseAssetKey, eB as parseAssetQuery, eC as parseServiceRef, eD as persist, eE as persistenceModeAllowsOverrides, eF as renderUI, eG as resolveCredentialStatusIdentity, eH as set, eI as spawn, eJ as storesRowsInBrowser, eK as validateAssetAnimations } from './effect-DZaXwSAz.js';
|
|
5
|
+
import { T as ToolArgs, c as EventPayload, R as RuntimeValue, E as EventPayloadValue, S as SExpr, J as JsonValue } from './expression-DirYKz-f.js';
|
|
6
|
+
export { C as CORE_BINDINGS, e as CoreBinding, f as EvalContext, g as EvalStep, h as EvalTrace, i as EventPayloadSchema, j as EventPayloadValueSchema, b as Expression, k as ExpressionInput, l as ExpressionSchema, a as JsonObject, m as JsonValueSchema, L as LogMeta, n as LogMetaValue, P as ParsedBinding, Q as QUASIQUOTE_HEAD, o as QUOTE_HEAD, p as SExprAtom, q as SExprAtomSchema, r as SExprDataSchema, s as SExprInput, d as SExprObject, t as SExprPath, u as SExprSchema, U as UNQUOTE_HEAD, v as collectBindings, w as decodeQuoteBody, x as decodeQuotedValue, y as encodeQuoteBody, z as formatSExpr, A as getArgs, B as getOperator, D as instantiateQuasiquote, F as isBinding, G as isEventPayloadValue, H as isJsonArray, I as isJsonObject, K as isJsonPrimitive, M as isSExpr, N as isSExprAtom, O as isSExprCall, V as isStaticallyFalse, W as isValidBinding, X as parseBinding, Y as quasiquoteExpr, Z as quasiquoteOf, _ as quoteBodyOf, $ as quoteExpr, a0 as sexpr, a1 as toPayloadValue, a2 as toProgramData, a3 as walkSExpr } from './expression-DirYKz-f.js';
|
|
7
|
+
import { S as SemanticChangeKind, L as LlmCallMeta, D as DiagramTone, R as RowBindingResult, C as ChangesetValue, a as SchemaChange, b as CategorizedRemovals, P as PageContentReduction, c as SemanticSchemaChange } from './index-D7SxwNdv.js';
|
|
8
|
+
export { A as A11Y_ATTRIBUTES, d as A11yAttributeSchema, e as A11yProps, f as ACCESSIBLE_NAME_ATTRIBUTES, g as ACTION_OVERFLOW_TESTID, h as ACTION_TESTID_PREFIX, i as ARIA_CURRENT, j as ARIA_LIVE, k as ARIA_PRESSED, l as ARIA_ROLES, m as ActionGesture, n as AgentCodeSearchResult, o as AgentCompactResult, p as AgentCompactStrategy, q as AgentContext, r as AgentGenerateOptions, s as AgentMemoryCategory, t as AgentMemoryRecord, u as AnalysisOrbital, v as AnalysisOrbitalParams, w as AnalysisPageOverride, x as AnalysisRename, y as AnalysisResult, z as AnnotationTier, B as AppCreatedEvent, E as AppSummary, F as AriaBooleanish, G as AriaCurrent, H as AriaLive, I as AriaPressed, J as AriaRole, K as AriaRoleSchema, M as AssetLoadStatus, N as BINDING_CONTEXT_RULES, O as BINDING_DOCS, Q as BINDING_ROOTS, T as BindingContext, U as BindingRoot, V as BindingSchema, W as BridgeHealth, X as BrowserTabPort, Y as CALL_KINDS, Z as CallKind, _ as CallRecord, $ as CancelledEvent, a0 as CanvasShadow, a1 as CanvasTheme, a2 as ChangeAuthor, a3 as ChangeSetDocument, a4 as ChangeSummary, a5 as ChangesetRecordedEvent, a6 as CheckStatus, a7 as CircuitStepResult, a8 as Clarification, a9 as ClarificationCandidate, aa as ClarificationLevel, ab as ClientManifest, ac as ClientManifestSchema, ad as ClientTheme, ae as ClientThemeSchema, af as CompleteEvent, ag as ComplexityAssessment, ah as ComposeOptions, ai as ContextExtensions, aj as DIAGRAM_STROKE_WEIGHTS, ak as DIAGRAM_TEXT_CASES, al as DIAGRAM_TEXT_SIZES, am as DIAGRAM_TONES, an as DIAGRAM_TONE_COLOR_KEYS, ao as DiagramMarkRoles, ap as DiagramStrokeWeight, aq as DiagramStrokeWeightSchema, ar as DiagramTextCase, as as DiagramTextCaseSchema, at as DiagramTextSize, au as DiagramTextSizeSchema, av as DiagramToneSchema, aw as DispatchUpdatesResult, ax as DispatchVisits, ay as DrawableDescriptor, az as EMPTY_STATE_MARKER, aA as EVAL_TIERS, aB as EdgeType, aC as EditFocus, aD as EditFocusLevel, aE as EffectPayload, aF as EffectResult, aG as EffectTrace, aH as ErrorEvent, aI as EvalCheck, aJ as EvalClass, aK as EvalExpectations, aL as EvalPattern, aM as EvalPredicate, aN as EvalSpec, aO as EvalSpecSchema, aP as EvalTier, aQ as EventLogEntry, aR as EvolutionDelta, aS as ExecutePlanResult, aT as ExtraTraitRef, aU as FORM_PATTERN, aV as FULL_WRITE_CAPABILITIES, aW as FileOperationEvent, aX as FileWrittenEvent, aY as GESTURE_EVENT_PROPS, aZ as GateState, a_ as GenerationLogEvent, a$ as GitHubLink, b0 as GuardEvaluation, b1 as HistoryMeta, b2 as InterruptEvent, b3 as KNOWN_VALIDATION_ERROR_CODES, b4 as KnobPayload, b5 as KnownValidationErrorCode, b6 as LLMErrorContext, b7 as LOADING_STATE_MARKER, b8 as LOG_SEVERITIES, b9 as LineageEntry, ba as LivingEdge, bb as LivingEffect, bc as LivingEntity, bd as LivingEvent, be as LivingField, bf as LivingOrbital, bg as LivingOrbitalSchema, bh as LivingPage, bi as LivingState, bj as LivingTrait, bk as LivingTransition, bl as LivingValue, bm as LivingVertex, bn as LlmCallToolsResult, bo as LlmContext, bp as LlmMessage, bq as LlmTokenUsage, br as LlmToolCall, bs as LlmToolDef, bt as LogContext, bu as LogSeverity, bv as MachineRowSchema, bw as MemoryContext, bx as MessageEvent, by as NATIVE_ID_PREFIX, bz as NATIVE_ID_SEPARATOR, bA as OrbitalAddedEvent, bB as OrbitalSchemaCompleteEvent, bC as OrbitalVerificationAPI, bD as PATTERN_PROP_TYPE_ERROR_TESTID, bE as ParamsRepairEmittedEvent, bF as PatternNode, bG as PatternTypeSchema, bH as PatternValue, bI as PayloadSlotSchema, bJ as PlanSnapshot, bK as PlanSnapshotStatus, bL as PlannerResult, bM as PlayedStepSchema, bN as Probability, bO as ProcessCompleteEvent, bP as ProcessErrorEvent, bQ as ProcessRepairCompleteEvent, bR as ProcessRepairEvent, bS as ProcessStartEvent, bT as ProgramInspection, bU as ProgramInspectionSchema, bV as ProgramSourceAnchor, bW as ProgramSourceAnchorSchema, bX as ProgramSourceLocation, bY as ProgramSourceLocationSchema, bZ as QueryCapabilitiesSchema, b_ as QueryDeclinedError, b$ as QueryDeclinedReason, c0 as QueryUnsupportedReason, c1 as RENDER_BINDING_MARKER, c2 as RenderBindingMarker, c3 as RenderOverlayResult, c4 as RenderRootAddress, c5 as RenderUiPatch, c6 as RenderUiPatchAddress, c7 as RenderUiPatchOp, c8 as RepairResult, c9 as RowBindingScalar, ca as RowCommitSchema, cb as RowIdPageSchema, cc as RowPredicateSchema, cd as RowQueryPageSchema, ce as RowQuerySchema, cf as RowWriteBatchSchema, cg as RowWriteOpSchema, ch as RowWriteOutcomeSchema, ci as SEMANTIC_CHANGE_KINDS, cj as SSEEvent, ck as SSEEventBase, cl as SSEEventType, cm as SURFACE_MODES, cn as SaveOptions, co as SaveResult, cp as SchemaPhaseUpdateEvent, cq as SchemaPhaseValidatedEvent, cr as SchemaUpdateEvent, cs as SemanticAnnotation, ct as SemanticVector, cu as ServerResponseTrace, cv as ServiceCallResult, cw as SessionContext, cx as SessionHistoryEntry, cy as SnapshotCreatedEvent, cz as SnapshotDocument, cA as SpawnResult, cB as StartEvent, cC as StatsView, cD as StructuredLogEntry, cE as SubagentCompleteEvent, cF as SubagentEvent, cG as SubagentProgressEvent, cH as SubagentStartEvent, cI as SurfaceMode, cJ as TAB_INDEX_VALUES, cK as TEXT_DIRECTIONS, cL as TRAIT_MOUNT_ERROR_TESTID, cM as TabAskContext, cN as TabHostFailure, cO as TabIndexValue, cP as TabUrlMatcher, cQ as TextDirection, cR as TodoActivityType, cS as TodoDetailEvent, cT as TodoUpdateEvent, cU as ToolCallEvent, cV as ToolResultEvent, cW as TraceContext, cX as TraitDefinition, cY as TraitFieldRef, cZ as TraitFieldRefSchema, c_ as TraitStateSnapshot, c$ as TransitionTrace, d0 as VERIFICATION_DOM_ATTRS, d1 as ValidateResult, d2 as ValidationDocument, d3 as ValidationError, d4 as ValidationErrorCode, d5 as ValidationIssue, d6 as ValidationMeta, d7 as ValidationResult, d8 as ValidationResults, d9 as VerificationCheck, da as VerificationSnapshot, db as VerificationSummary, dc as VertexId, dd as VertexPayload, de as VertexType, df as WorkspaceContext, dg as WriteCapabilitiesSchema, dh as WriteDeclinedError, di as actionTestId, dj as actionTestIdMatches, dk as applyRenderOverlay, dl as containsEntityBinding, dm as containsPayloadBinding, dn as dispatchVisitKey, dp as evalPatternMatches, dq as fingerprintNode, dr as gestureActionTestId, ds as gestureOfActionTestId, dt as getBindingExamples, du as guardHolds, dv as insertChildAtPath, dw as isAriaRole, dx as isCallRecord, dy as isKnownValidationErrorCode, dz as isPlanSnapshot, dA as isRenderBindingMarker, dB as isSessionHistoryEntry, dC as isStructuredLogEntry, dD as isTraitFieldRef, dE as nativeFieldId, dF as nativeIds, dG as nativePatternId, dH as nativeRowId, dI as nativeSlotId, dJ as navigatePatternPath, dK as orbitalIndexOfValidationPath, dL as parseClientManifest, dM as parseEvalSpec, dN as parseFetchOrder, dO as removeChildAtPath, dP as renderRootOf, dQ as replaceChildAtPath, dR as rowMatchesPredicate, dS as runRowWrite, dT as setPropAtPath, dU as splitNativeIds, dV as splitPatternChildPath, dW as toBindingRoot, dX as validateBindingInContext, dY as widenTier } from './index-D7SxwNdv.js';
|
|
9
|
+
import { U as UserContext } from './bus-C0hFDNFR.js';
|
|
10
|
+
export { A as ANONYMOUS_USER, B as BusEvent, b as BusEventListener, c as BusEventSource, d as BusEventSourceSchema, C as ClientEffectTuple, e as ClientEffectTupleSchema, f as ClientHostAskTuple, g as ClientHostAskTupleSchema, h as ClientNavigateBackTuple, i as ClientNavigateBackTupleSchema, j as ClientNavigateTuple, k as ClientNavigateTupleSchema, l as ClientRenderUITuple, m as ClientRenderUITupleSchema, D as DeliveryRecord, n as DeliveryRecordSchema, o as DispatchLog, p as DispatchLogSchema, q as DispatchRequestOutcome, a as EmittedEvent, r as EmittedEventSchema, s as EventEmit, t as EventKey, u as EventListen, E as EventStreamItem, v as EventStreamItemSchema, w as ExternalInput, x as ExternalInputRequest, y as ExternalInputSchema, H as HostAskCompletionSchema, I as InboundAnswer, z as InboundAnswerSchema, F as InboundDelivery, G as InboundFoundSchema, J as InboundOnlySchema, K as InboundRoute, M as InboundRouteSchema, N as LIFECYCLE_EVENTS, O as LazyService, P as LifecycleEvent, L as LiveBroadcastItem, Q as LiveBroadcastItemSchema, R as MountSeed, S as MountSeedSchema, T as NameListSchema, V as OperatorValueKinds, W as OptionalNameSchema, X as OrbitalRegisterResponse, Y as OrbitalRegisterResponseSchema, Z as PayloadIssue, _ as PayloadIssueSchema, $ as PayloadJsonSchemaSchema, a0 as PersistActionName, a1 as PersistenceAdapter, a2 as QueryCapabilities, a3 as ROW_SET_MARKER, a4 as RawUserClaims, a5 as RawUserClaimsSchema, a6 as RowCommit, a7 as RowCommitWrite, a8 as RowCompareOp, a9 as RowIdPage, aa as RowOperator, ab as RowOrder, ac as RowPage, ad as RowPageRequest, ae as RowPredicate, af as RowQuery, ag as RowQueryPage, ah as RowSetMarker, ai as RowSetRef, aj as RowSetRefSchema, ak as RowTotalMode, al as RowValueKind, am as RowWriteBatch, an as RowWriteFailureMode, ao as RowWriteOp, ap as RowWriteOutcome, aq as ServerTopology, ar as ServerTopologySchema, as as ServiceAction, at as ServiceActionName, au as ServiceContract, av as ServiceEvents, aw as ServiceHostPorts, ax as StoreContract, ay as StoreFilter, az as StoreFilterOp, aA as UNMOUNT_EVENT, aB as Unsubscribe, aC as ViewerAuthority, aD as ViewerSchema, aE as WriteCapabilities, aF as createLazyService, aG as createTypedEventBus, aH as findPersonaInRoster, aI as isRowSetMarker, aJ as normalizeEventKey, aK as normalizeUserContext, aL as personaFromIdentityRow, aM as resolvePersonaSpec, aN as rowSetMarker, aO as tickEventKey } from './bus-C0hFDNFR.js';
|
|
11
|
+
import { f as TraitRef, C as ConfigFieldDeclaration, d as TraitConfig, D as DeclaredTraitConfig, c as Trait, e as TraitConfigObject } from './trait-sRjIivFq.js';
|
|
12
|
+
export { A as AwaitRender, p as AwaitRenderSchema, q as CONFIG_REF_EVENT_PATTERN, l as CallSiteConfig, r as CallSiteConfigEntry, s as ConfigFieldDeclarationSchema, t as ConfigFieldItemsDeclaration, u as ConfigRefEventError, v as DeclaredTraitConfigSchema, i as DispatchMode, w as DispatchModeSchema, x as EntityFieldContract, y as EntityFieldContractSchema, z as Event, B as EventInput, E as EventPayloadField, F as EventPayloadFieldSchema, G as EventSchema, g as EventScope, H as EventScopeSchema, I as Guard, J as GuardInput, K as GuardSchema, L as InboundDeclaration, M as InboundVerification, N as ListenSource, O as ListenSourceSchema, Q as OrbitalTraitRef, R as OrbitalTraitRefSchema, P as PayloadField, U as PayloadFieldSchema, V as PayloadTypeContainer, W as PayloadTypeWhen, X as PayloadTypeWhenSchema, Y as PresentationType, Z as REFERENCE_CONFIG_TYPES, _ as ReferenceConfigType, $ as RequiredField, a0 as RequiredFieldSchema, a1 as SECRET_CONFIG_TYPES, a2 as SKELETON_VARIANTS, a3 as SecretConfigType, S as SkeletonNode, a4 as SkeletonNodeSchema, a5 as SkeletonShape, a6 as SkeletonShapeSchema, a7 as SkeletonSpec, a8 as SkeletonSpecSchema, a9 as SkeletonVariant, aa as SkeletonVariantSchema, ab as State, ac as StateInput, n as StateMachine, ad as StateMachineInput, ae as StateMachineSchema, af as StateSchema, ag as TickIntervalSchema, ah as TraitConfigSchema, b as TraitConfigValue, ai as TraitConfigValueSchema, aj as TraitDataEntity, ak as TraitDataEntitySchema, h as TraitDispatchMode, al as TraitDispatchModeSchema, j as TraitEntityField, am as TraitEntityFieldSchema, o as TraitEventContract, an as TraitEventContractSchema, T as TraitEventListener, ao as TraitEventListenerSchema, ap as TraitInput, aq as TraitRefSchema, a as TraitReference, ar as TraitReferenceInput, as as TraitReferenceSchema, at as TraitSchema, au as TraitTick, av as TraitTickSchema, aw as TraitUIBinding, ax as TraitUIBindingSchema, ay as Transition, az as TransitionInput, aA as TransitionSchema, aB as configRefEventKnob, aC as getTraitConfig, aD as getTraitName, aE as isCallSiteConfigDeclaration, aF as isCircuitEvent, aG as isConfigFieldSchema, aH as isConfigRedeclaration, aI as isInlineTrait, aJ as isReferenceConfigType, aK as isSecretConfigType, aL as joinEventAddress, aM as maskSecretConfigValues, m as mergeCallSiteConfigOverrides, aN as normalizeCallSiteConfigToValues, aO as normalizeTraitRef, aP as overrideDeclaredKnobs, aQ as payloadTypeContainer, aR as resolveConfigRefEventName, aS as splitEventAddress } from './trait-sRjIivFq.js';
|
|
13
|
+
import { T as ThemeDefinition } from './domain-Cpmja5ak.js';
|
|
14
|
+
export { A as AGENT_DOMAIN_CATEGORIES, e as ALLOWED_CUSTOM_COMPONENTS, f as AgentDomainCategory, g as AgentDomainCategorySchema, h as AllowedCustomComponent, i as COLOR_TOKEN_KEYS, j as ColorSlice, k as ColorSliceSchema, l as ColorTokenKey, C as ColorTokens, m as ColorTokensSchema, n as CustomPatternDefinition, o as CustomPatternDefinitionInput, p as CustomPatternDefinitionSchema, d as CustomPatternMap, q as CustomPatternMapInput, r as CustomPatternMapSchema, s as DIAGRAM_TOKEN_KEYS, t as DensitySlice, u as DensitySliceSchema, v as DensityTokens, w as DensityTokensSchema, b as DesignPreferences, x as DesignPreferencesInput, y as DesignPreferencesSchema, c as DesignTokens, z as DesignTokensInput, B as DesignTokensSchema, E as DiagramFillStyle, F as DiagramFillStyleSchema, G as DiagramLabelCase, H as DiagramLabelCaseSchema, I as DiagramLabelFont, J as DiagramLabelFontSchema, K as DiagramLineCap, L as DiagramLineCapSchema, M as DiagramLineJoin, N as DiagramLineJoinSchema, O as DiagramMarker, P as DiagramMarkerSchema, Q as DiagramTokenKey, R as DiagramTokens, U as DiagramTokensSchema, V as DomainCategory, W as DomainCategorySchema, D as DomainContext, X as DomainContextInput, Y as DomainContextSchema, Z as DomainVocabulary, _ as DomainVocabularySchema, $ as ENTER_ANIMATIONS, a0 as ENTER_DELAY_STEPS, a1 as ElevationSlice, a2 as ElevationSliceSchema, a3 as ElevationTokens, a4 as ElevationTokensSchema, a5 as EnterAnimation, a6 as EnterAnimationSchema, a7 as EnterDelayStep, a8 as EntitySemanticRole, a9 as EntitySemanticRoleSchema, aa as EventSemanticRole, ab as EventSemanticRoleSchema, ac as GameSubCategory, ad as GameSubCategorySchema, ae as GeometrySlice, af as GeometrySliceSchema, ag as GeometryTokens, ah as GeometryTokensSchema, ai as ILLUSTRATION_TOKEN_KEYS, aj as IconFamily, ak as IconFamilySchema, al as IconographySlice, am as IconographySliceSchema, an as IconographyTokens, ao as IconographyTokensSchema, ap as IllustrationSlice, aq as IllustrationSliceSchema, ar as IllustrationStyle, as as IllustrationStyleSchema, at as IllustrationTokenKey, au as IllustrationTokens, av as IllustrationTokensSchema, aw as KeysComplete, ax as MotionDurationKey, ay as MotionDurationKeySchema, az as MotionDurationPalette, aA as MotionDurationPaletteSchema, aB as MotionEasingKey, aC as MotionEasingKeySchema, aD as MotionEasingPalette, aE as MotionEasingPaletteSchema, aF as MotionEntryTokens, aG as MotionEntryTokensSchema, aH as MotionIntent, aI as MotionIntentMap, aJ as MotionIntentMapSchema, aK as MotionIntentSchema, aL as MotionShapeTokens, aM as MotionShapeTokensSchema, aN as MotionSlice, aO as MotionSliceSchema, aP as MotionTokens, aQ as MotionTokensSchema, aR as NavItem, aS as NavStackEntry, aT as NodeClassification, aU as NodeClassificationSchema, aV as RelatedLink, aW as RelatedLinkSchema, aX as SCENE_TOKEN_KEYS, aY as SceneTokenKey, aZ as SceneTokens, a_ as SceneTokensSchema, a$ as SkinSpec, b0 as SkinSpecSchema, b1 as SpacingScale, b2 as SpacingScaleSchema, b3 as StateSemanticRole, b4 as StateSemanticRoleSchema, S as SuggestedGuard, b5 as SuggestedGuardSchema, b6 as SurfaceSlice, b7 as SurfaceSliceSchema, b8 as SurfaceTokens, b9 as SurfaceTokensSchema, ba as ThemeDefinitionSchema, a as ThemeRef, bb as ThemeRefSchema, bc as ThemeRefStringSchema, bd as ThemeTokens, be as ThemeTokensSchema, bf as ThemeVariant, bg as ThemeVariantSchema, bh as TypeIntent, bi as TypeIntentMap, bj as TypeIntentMapSchema, bk as TypeIntentSchema, bl as TypeScale, bm as TypeScaleEntry, bn as TypeScaleEntrySchema, bo as TypeScaleSchema, bp as TypeScaleTokens, bq as TypeScaleTokensSchema, br as TypeSizeKey, bs as TypeSizeKeySchema, bt as TypeSlice, bu as TypeSliceSchema, bv as TypeSlot, bw as TypeSlotSchema, bx as TypeWeight, by as TypeWeightSchema, bz as UXHints, bA as UXHintsSchema, bB as UserPersona, bC as UserPersonaInput, bD as UserPersonaSchema, bE as isThemeReference, bF as isThemeRegistryKey, bG as isWellFormedFontStack, bH as themeDataKey } from './domain-Cpmja5ak.js';
|
|
13
15
|
import { EvalContextWire, EvalOutcomeWire, GuardOutcomeWire, EvalTracedWire, TraceEffectsWire, MutationOpWire, MutationVerdictWire, RowBindingWire } from './kernel-wire.js';
|
|
14
|
-
export { A as
|
|
15
|
-
import { T as ThemeDefinition } from './domain-Dz3jP-UM.js';
|
|
16
|
-
export { A as AGENT_DOMAIN_CATEGORIES, e as ALLOWED_CUSTOM_COMPONENTS, f as AgentDomainCategory, g as AgentDomainCategorySchema, h as AllowedCustomComponent, i as COLOR_TOKEN_KEYS, j as ColorSlice, k as ColorSliceSchema, l as ColorTokenKey, d as ColorTokens, m as ColorTokensSchema, n as CustomPatternDefinition, o as CustomPatternDefinitionInput, p as CustomPatternDefinitionSchema, C as CustomPatternMap, q as CustomPatternMapInput, r as CustomPatternMapSchema, s as DIAGRAM_TOKEN_KEYS, t as DensitySlice, u as DensitySliceSchema, v as DensityTokens, w as DensityTokensSchema, b as DesignPreferences, x as DesignPreferencesInput, y as DesignPreferencesSchema, c as DesignTokens, z as DesignTokensInput, B as DesignTokensSchema, E as DiagramFillStyle, F as DiagramFillStyleSchema, G as DiagramLabelCase, H as DiagramLabelCaseSchema, I as DiagramLabelFont, J as DiagramLabelFontSchema, K as DiagramLineCap, L as DiagramLineCapSchema, M as DiagramLineJoin, N as DiagramLineJoinSchema, O as DiagramMarker, P as DiagramMarkerSchema, Q as DiagramTokenKey, R as DiagramTokens, U as DiagramTokensSchema, V as DomainCategory, W as DomainCategorySchema, D as DomainContext, X as DomainContextInput, Y as DomainContextSchema, Z as DomainVocabulary, _ as DomainVocabularySchema, $ as ENTER_ANIMATIONS, a0 as ENTER_DELAY_STEPS, a1 as ElevationSlice, a2 as ElevationSliceSchema, a3 as ElevationTokens, a4 as ElevationTokensSchema, a5 as EnterAnimation, a6 as EnterAnimationSchema, a7 as EnterDelayStep, a8 as EntitySemanticRole, a9 as EntitySemanticRoleSchema, aa as EventSemanticRole, ab as EventSemanticRoleSchema, ac as GameSubCategory, ad as GameSubCategorySchema, ae as GeometrySlice, af as GeometrySliceSchema, ag as GeometryTokens, ah as GeometryTokensSchema, ai as ILLUSTRATION_TOKEN_KEYS, aj as IconFamily, ak as IconFamilySchema, al as IconographySlice, am as IconographySliceSchema, an as IconographyTokens, ao as IconographyTokensSchema, ap as IllustrationSlice, aq as IllustrationSliceSchema, ar as IllustrationStyle, as as IllustrationStyleSchema, at as IllustrationTokenKey, au as IllustrationTokens, av as IllustrationTokensSchema, aw as KeysComplete, ax as MotionDurationKey, ay as MotionDurationKeySchema, az as MotionDurationPalette, aA as MotionDurationPaletteSchema, aB as MotionEasingKey, aC as MotionEasingKeySchema, aD as MotionEasingPalette, aE as MotionEasingPaletteSchema, aF as MotionEntryTokens, aG as MotionEntryTokensSchema, aH as MotionIntent, aI as MotionIntentMap, aJ as MotionIntentMapSchema, aK as MotionIntentSchema, aL as MotionShapeTokens, aM as MotionShapeTokensSchema, aN as MotionSlice, aO as MotionSliceSchema, aP as MotionTokens, aQ as MotionTokensSchema, aR as NavItem, aS as NavStackEntry, aT as NodeClassification, aU as NodeClassificationSchema, aV as RelatedLink, aW as RelatedLinkSchema, aX as SCENE_TOKEN_KEYS, aY as SceneTokenKey, aZ as SceneTokens, a_ as SceneTokensSchema, a$ as SkinSpec, b0 as SkinSpecSchema, b1 as SpacingScale, b2 as SpacingScaleSchema, b3 as StateSemanticRole, b4 as StateSemanticRoleSchema, S as SuggestedGuard, b5 as SuggestedGuardSchema, b6 as SurfaceSlice, b7 as SurfaceSliceSchema, b8 as SurfaceTokens, b9 as SurfaceTokensSchema, ba as ThemeDefinitionSchema, a as ThemeRef, bb as ThemeRefSchema, bc as ThemeRefStringSchema, bd as ThemeTokens, be as ThemeTokensSchema, bf as ThemeVariant, bg as ThemeVariantSchema, bh as TypeIntent, bi as TypeIntentMap, bj as TypeIntentMapSchema, bk as TypeIntentSchema, bl as TypeScale, bm as TypeScaleEntry, bn as TypeScaleEntrySchema, bo as TypeScaleSchema, bp as TypeScaleTokens, bq as TypeScaleTokensSchema, br as TypeSizeKey, bs as TypeSizeKeySchema, bt as TypeSlice, bu as TypeSliceSchema, bv as TypeSlot, bw as TypeSlotSchema, bx as TypeWeight, by as TypeWeightSchema, bz as UXHints, bA as UXHintsSchema, bB as UserPersona, bC as UserPersonaInput, bD as UserPersonaSchema, bE as isThemeReference, bF as isThemeRegistryKey, bG as isWellFormedFontStack, bH as themeDataKey } from './domain-Dz3jP-UM.js';
|
|
17
|
-
export { B as BehaviorBridge, a as BehaviorBridgeSchema, b as BehaviorDescription, c as BehaviorDescriptionSchema, d as BehaviorRef, e as BehaviorRefOverridesSchema, f as BehaviorRefSchema, g as BehaviorValue, h as BehaviorValueMountResult, i as BehaviorValueSchema, C as CatalogEntry, j as CatalogEntrySchema, k as CatalogScope, l as CatalogScopeSchema, m as ComposeBehaviorsInput, n as ComposeBehaviorsResult, D as DescribeTarget, o as DescribeTargetSchema, E as EvaluatedProgram, p as EventWiringEntry, K as KnobField, q as KnobFieldSchema, L as LayoutStrategy, r as MountedBehaviorValue, s as MountedTraitValue, O as ORBITAL_VALUE_IMPORT_ALIAS, t as OrbitalDescription, u as OrbitalDescriptionSchema, v as OrbitalOverrides, w as OrbitalOverridesSchema, x as OrbitalValue, y as OrbitalValueSchema, z as OrbitalValueSibling, A as OrbitalValueSiblingSchema, F as OrbitalValueUse, G as OrbitalValueUseSchema, P as ProgramValidationIssue, T as TraitDescription, H as TraitDescriptionSchema, I as TraitEvents, J as TraitEventsSchema, N as TraitKnob, Q as TraitKnobSchema, R as TraitMachine, S as TraitMachineSchema, U as TraitOverrides, V as TraitOverridesSchema, W as TraitSource, X as TraitSourceSchema, Y as TraitValue, Z as TraitValueMountResult, _ as TraitValueSchema, $ as applyBehaviorOverrides, a0 as applyBehaviorRefOverrides, a1 as applyEventWiring, a2 as applyOrbitalOverrides, a3 as applyTraitOverrides, a4 as behaviorRef, a5 as composeBehaviors, a6 as detectLayoutStrategy, a7 as formatBehaviorValueLiteral, a8 as formatOrbitalValueLiteral, a9 as formatTraitValueLiteral, aa as isBehaviorRefValue, ab as isOrbitalValue, ac as isTraitValue, ad as orbitalImportFromValue, ae as parseBehaviorValueLiteral, af as parseOrbitalValueLiteral, ag as parseProgram, ah as parseTraitValueLiteral } from './builders-DmZE5By0.js';
|
|
16
|
+
export { A as AnchoredGrants, f as AwaitingTrait, C as Claim, g as ClientEffectByTrait, D as DesktopKind, h as DevGrant, i as DevKind, E as EventRequest, a as EventResponse, F as FsGrant, j as FsMode, k as GrantAnchor, l as GuardVerdict, m as HopEffect, n as HopEffectStatus, H as HostAskCompletion, K as KvMode, o as MachineRow, N as NetGrant, p as NetKind, q as NetPart, O as OsGrants, P as PayloadSlot, r as PlayedEffect, s as PlayedEffectStatus, t as PlayedEmit, u as PlayedGuard, v as PlayedResult, w as PlayedState, x as PlayedStep, S as ServerBatchSummary, y as ServerBatchSummarySchema, z as ServerEffectResult, B as ServerEffectResultSchema, I as StdioKind, J as SysKind, L as TransitionHop, Q as TransitionRejection, U as TransitionRejectionCode, V as Viewer } from './effect-result-1HpXgeBc.js';
|
|
18
17
|
import { z } from 'zod';
|
|
19
|
-
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export { AlternatePageInput, I18N_SECTIONS, I18nCoverageInput, I18nMeta, I18nProblem, I18nProblemKind, I18nSection, I18nTables, LOLO_FIRST_TOKEN_KEYWORDS, LanguageCode, LocaleAlternate, LocalizeLoloOptions, LoloToken, LoloTokenKind, ORB_NOTATION_KEYS, OperatorTables, RTL_LOCALES, VocabularyPack, aliasMap, checkI18nCoverage, englishTables, getVocabulary, installedLanguages, languageOfLoloFirstToken, languageOfOrbTopLevelKeys, lexLolo, localeAlternates, localeDirection, localeOfPath, localizeLoloSource, localizeMap, localizeOrbValue, parseI18nTables, parseOperatorTables, parseVocabularyPack, pathLocale, registerVocabulary, reportIdenticalToEnglish, vocabularyOperators } from './i18n/index.js';
|
|
18
|
+
import { VocabularyPack } from './i18n/index.js';
|
|
19
|
+
export { AlternatePageInput, I18N_SECTIONS, I18nCoverageInput, I18nMeta, I18nProblem, I18nProblemKind, I18nSection, I18nTables, LOLO_FIRST_TOKEN_KEYWORDS, LanguageCode, LocaleAlternate, LocalizeLoloOptions, LoloToken, LoloTokenKind, ORB_NOTATION_KEYS, OperatorTables, RTL_LOCALES, aliasMap, checkI18nCoverage, englishTables, getVocabulary, installedLanguages, languageOfLoloFirstToken, languageOfOrbTopLevelKeys, lexLolo, localeAlternates, localeDirection, localeOfPath, localizeLoloSource, localizeMap, localizeOrbValue, parseI18nTables, parseOperatorTables, parseVocabularyPack, pathLocale, registerVocabulary, reportIdenticalToEnglish, vocabularyOperators } from './i18n/index.js';
|
|
20
|
+
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-C6_yPMpn.js';
|
|
21
|
+
export { DomainQuestion, DomainQuestionAnswer, DomainQuestionAnswers, DomainQuestionInputType, ENTITY_FIELD_SCHEMA, FactoryCallPlanMutation, FactoryCallPlanMutationTemplate, FactoryCallPlanState, OrbitalCallInput, answerToMutations, answersToMutations, applyFactoryCallPlanMutation, assertNoUnsatisfiableEnum, deriveInputType, factoryCallPlanOrbitalName, generateQuestions, humanizeKey, rehydrateKnobDefs, signatureToParamsSchema } from './factory/index.js';
|
|
22
|
+
export { COMPONENT_MAPPING, EVENT_CONTRACTS, EmojiPickPayload, FormSubmitPayload, ItemActionPayload, LoadMoreRequestPayload, PATTERN_REGISTRY, PROP_KINDS, PatternCallbackArg, PatternEntry, PatternPayloadField, PatternPropDef, PatternPropTypeSchema, PatternsRegistry, PropKind, RenderUiEntry, RenderUiPayload, SELF_OVERLAY_PATTERN_TYPES, SERVICES_REGISTRY, SelectionChangePayload, collectRenderUiPatternTypes, componentMapping, eventContracts, eventKeyPropsOf, eventListPropsOf, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternMinUsableWidths, getPatternPropsCompact, getPatternRuntimeDefinition, getPatternsGroupedByCategory, isBrowserOnlyService, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValueInputPattern, patternsRegistry, registry, renderUiEntriesOf, renderUiPatternTypesOf, servicesRegistry } from './patterns/index.js';
|
|
25
23
|
export { MIN_TEXT_CONTRAST, THEME_PRESETS, ThemeOverrideIssue, builtInThemeKeys, contrastRatio, themeKeys, themeOverrideIssues } from './themes/index.js';
|
|
26
24
|
|
|
27
25
|
/**
|
|
@@ -307,18 +305,6 @@ interface AgentTraceState {
|
|
|
307
305
|
status: 'idle' | 'running' | 'paused' | 'complete' | 'error';
|
|
308
306
|
}
|
|
309
307
|
|
|
310
|
-
type XmlValue = string | XmlValue[] | {
|
|
311
|
-
[key: string]: XmlValue;
|
|
312
|
-
};
|
|
313
|
-
declare class XmlSyntaxError extends Error {
|
|
314
|
-
constructor(message: string);
|
|
315
|
-
}
|
|
316
|
-
/** Every field path (through nested shapes and list elements) whose declared type is a list. */
|
|
317
|
-
type XmlListPaths = ReadonlyArray<ReadonlyArray<string>>;
|
|
318
|
-
/** With `listPaths`, each list-typed path always reads as a list: a lone child is wrapped, an absent one stays absent. */
|
|
319
|
-
declare function parseXml(text: string, listPaths?: XmlListPaths): XmlValue;
|
|
320
|
-
declare function xmlValid(text: string): boolean;
|
|
321
|
-
|
|
322
308
|
type DigestEncoding = 'hex' | 'base64';
|
|
323
309
|
declare class CodecError extends Error {
|
|
324
310
|
readonly reason: string;
|
|
@@ -341,95 +327,6 @@ declare function hmacSha256(key: string, message: string, encoding: DigestEncodi
|
|
|
341
327
|
/** MD5 of already-decoded bytes, supplied as standard padded base64. */
|
|
342
328
|
declare function hashMd5(base64Bytes: string, encoding: DigestEncoding): string;
|
|
343
329
|
|
|
344
|
-
/**
|
|
345
|
-
* Schema Resolver
|
|
346
|
-
*
|
|
347
|
-
* Converts OrbitalSchema to Intermediate Representation (IR).
|
|
348
|
-
* Resolves all entity references, expands traits, and prepares schema for compilation/runtime.
|
|
349
|
-
*
|
|
350
|
-
* @packageDocumentation
|
|
351
|
-
*/
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* Clear the schema resolution cache.
|
|
355
|
-
*
|
|
356
|
-
* With WeakMap-on-reference caching, cache entries die naturally when
|
|
357
|
-
* the schema object is GC'd, so explicit clearing is rarely necessary.
|
|
358
|
-
* Kept for hot-reload paths that want to force fresh resolution; since
|
|
359
|
-
* WeakMap has no `clear()`, we swap in a fresh instance.
|
|
360
|
-
*/
|
|
361
|
-
declare function clearSchemaCache(): void;
|
|
362
|
-
/**
|
|
363
|
-
* Get cache statistics (for debugging).
|
|
364
|
-
*
|
|
365
|
-
* WeakMap doesn't expose size or keys; the best we can do is signal
|
|
366
|
-
* that the cache is identity-keyed. Kept for API parity with the old
|
|
367
|
-
* Map-based cache.
|
|
368
|
-
*/
|
|
369
|
-
declare function getSchemaCacheStats(): {
|
|
370
|
-
size: number;
|
|
371
|
-
keys: string[];
|
|
372
|
-
};
|
|
373
|
-
/**
|
|
374
|
-
* Convert OrbitalSchema to Intermediate Representation (IR).
|
|
375
|
-
*
|
|
376
|
-
* This function:
|
|
377
|
-
* 1. Resolves all entity references
|
|
378
|
-
* 2. Expands trait definitions (inline or from library)
|
|
379
|
-
* 3. Resolves page bindings
|
|
380
|
-
* 4. Creates the IR structure used by compiler and runtime
|
|
381
|
-
*
|
|
382
|
-
* @param schema - OrbitalSchema to convert
|
|
383
|
-
* @param useCache - Whether to use cached result (default: true)
|
|
384
|
-
* @returns Fully resolved IR
|
|
385
|
-
*
|
|
386
|
-
* @example
|
|
387
|
-
* const schema = { name: 'MyApp', orbitals: [...] };
|
|
388
|
-
* const ir = schemaToIR(schema);
|
|
389
|
-
* console.log(ir.entities.size); // Number of entities
|
|
390
|
-
* console.log(ir.pages.size); // Number of pages
|
|
391
|
-
*/
|
|
392
|
-
declare function schemaToIR(schema: OrbitalSchema, useCache?: boolean): ResolvedIR;
|
|
393
|
-
/**
|
|
394
|
-
* Get a specific page from resolved IR by name.
|
|
395
|
-
* If no name is provided, returns the first page.
|
|
396
|
-
*
|
|
397
|
-
* @param ir - Resolved IR
|
|
398
|
-
* @param pageName - Optional page name to find
|
|
399
|
-
* @returns Resolved page or undefined
|
|
400
|
-
*
|
|
401
|
-
* @example
|
|
402
|
-
* const ir = schemaToIR(schema);
|
|
403
|
-
* const homePage = getPage(ir, 'HomePage');
|
|
404
|
-
* const firstPage = getPage(ir); // No name = first page
|
|
405
|
-
*/
|
|
406
|
-
declare function getPage(ir: ResolvedIR, pageName?: string): ResolvedPage | undefined;
|
|
407
|
-
/**
|
|
408
|
-
* Get all pages from resolved IR as an array
|
|
409
|
-
*
|
|
410
|
-
* @param ir - Resolved IR
|
|
411
|
-
* @returns Array of resolved pages
|
|
412
|
-
*/
|
|
413
|
-
declare function getPages(ir: ResolvedIR): ResolvedPage[];
|
|
414
|
-
/**
|
|
415
|
-
* Get a specific entity from resolved IR by name
|
|
416
|
-
*
|
|
417
|
-
* @param ir - Resolved IR
|
|
418
|
-
* @param entityName - Entity name to find
|
|
419
|
-
* @returns Resolved entity or undefined
|
|
420
|
-
*/
|
|
421
|
-
declare function getEntity(ir: ResolvedIR, entityName: string): ResolvedEntity | undefined;
|
|
422
|
-
/**
|
|
423
|
-
* Get a specific trait from resolved IR by name
|
|
424
|
-
*
|
|
425
|
-
* @param ir - Resolved IR
|
|
426
|
-
* @param traitName - Trait name to find
|
|
427
|
-
* @returns Resolved trait or undefined
|
|
428
|
-
*/
|
|
429
|
-
declare function getTrait(ir: ResolvedIR, traitName: string): ResolvedTrait | undefined;
|
|
430
|
-
/** The declared page modifiers, omitting absent ones (never defaulted). */
|
|
431
|
-
declare function pageModifiers(page: Pick<Page, 'access' | 'indexing' | 'title' | 'description' | 'sourcePage' | 'translationOf'>): Pick<ResolvedPage, 'access' | 'indexing' | 'title' | 'description' | 'sourcePage' | 'translationOf'>;
|
|
432
|
-
|
|
433
330
|
/**
|
|
434
331
|
* Embedded-trait facts the render substrate (`@almadar/ui`) reads: which traits
|
|
435
332
|
* embed which (`@trait.X`), which knobs a trait forwards (`@config.X`), and
|
|
@@ -538,18 +435,9 @@ declare function filterConfigToForwardedKeys(config: DeclaredTraitConfig, forwar
|
|
|
538
435
|
/**
|
|
539
436
|
* One orbital's own file: the orbital plus the organism `config` knobs its traits forward
|
|
540
437
|
* (`@config.<knob>`), so the forward still resolves when the app's files are composed back
|
|
541
|
-
* (
|
|
438
|
+
* (the Rust composer unions them). The file shape the studio stores and rabit's per-orbital build writes.
|
|
542
439
|
*/
|
|
543
440
|
declare function orbitalFileOf(schema: OrbitalSchema, orbital: OrbitalDefinition): OrbitalSchema;
|
|
544
|
-
/** A nav entry's `href`; undefined when the entry carries none. */
|
|
545
|
-
declare function navItemHref(item: TraitConfigValue): string | undefined;
|
|
546
|
-
/**
|
|
547
|
-
* Every per-orbital file's organism `config`, unioned; the first declaration of a knob wins —
|
|
548
|
-
* except a `[NavItem]` list, which concatenates in file (roster) order: an app composed from
|
|
549
|
-
* several organisms gets one sidebar listing each organism's sections, an href already listed
|
|
550
|
-
* dropped. An entry without a readable href is kept, never guessed away.
|
|
551
|
-
*/
|
|
552
|
-
declare function unionOrganismConfigs(schemas: ReadonlyArray<Pick<OrbitalSchema, 'config'>>): DeclaredTraitConfig | undefined;
|
|
553
441
|
|
|
554
442
|
/**
|
|
555
443
|
* `getNestedValue` — safely retrieve a nested value from an object using a
|
|
@@ -693,6 +581,14 @@ declare function dependencyGraphOf(schema: OrbitalSchema, deps: DependencyGraphD
|
|
|
693
581
|
* @packageDocumentation
|
|
694
582
|
*/
|
|
695
583
|
|
|
584
|
+
/** One delivery the program makes between two different traits: `emitterTrait` emits `event` and `listenerTrait` listens to it. */
|
|
585
|
+
interface EventWire {
|
|
586
|
+
emitterOrbital: string;
|
|
587
|
+
emitterTrait: string;
|
|
588
|
+
listenerOrbital: string;
|
|
589
|
+
listenerTrait: string;
|
|
590
|
+
event: string;
|
|
591
|
+
}
|
|
696
592
|
/** The evaluation functions `@almadar/kernel` (wasm) and the native add-on export, over JSON strings. */
|
|
697
593
|
interface KernelEvaluatorExports {
|
|
698
594
|
evaluateMany(contextJson: string, expressionsJson: string): string;
|
|
@@ -704,6 +600,19 @@ interface KernelEvaluatorExports {
|
|
|
704
600
|
scopeRows(bindingsJson: string, rowsJson: string, policyJson: string, filterJson: string, entityType: string): string;
|
|
705
601
|
checkMutationAccess(operation: string, bindingsJson: string, rowJson: string, policyJson: string, entityType: string): string;
|
|
706
602
|
resolveRowBinding(term: string, bindingsJson: string): string;
|
|
603
|
+
eventWires(schemaJson: string): string;
|
|
604
|
+
validatePacks(packsJson: string): void;
|
|
605
|
+
expandFxLayer(layerJson: string, epochNowMs: number, dimension: string, tileWidth: number): string;
|
|
606
|
+
resolveFxView(itemJson: string, presetsJson?: string): string;
|
|
607
|
+
fxLifecycle(viewJson: string, epochNowMs: number, tickMs: number): string;
|
|
608
|
+
fxHash01(seed: string, salt: number): number;
|
|
609
|
+
skinWorldMatrices(bonesJson: string, poseJson: string): string;
|
|
610
|
+
skinVertices(meshJson: string, bindJson: string, currentJson: string): string;
|
|
611
|
+
skinComposeAffine(aJson: string, bJson: string): string;
|
|
612
|
+
skinInvertAffine(matrixJson: string, bone: number): string;
|
|
613
|
+
skinApplyAffine(matrixJson: string, x: number, y: number): string;
|
|
614
|
+
skinTriangleAffine(srcJson: string, dstJson: string): string;
|
|
615
|
+
skinVertexBounds(pointsJson: string): string;
|
|
707
616
|
}
|
|
708
617
|
/** An expression the kernel's evaluator rejected. */
|
|
709
618
|
declare class KernelEvalError extends Error {
|
|
@@ -735,6 +644,27 @@ interface KernelEvaluator {
|
|
|
735
644
|
checkMutation(operation: MutationOpWire, bindings: EvalContextWire, row: EntityRow, policy: SExpr | undefined, entityType: string): MutationVerdictWire;
|
|
736
645
|
/** What a `@user`/`@payload`/`@config`/`@now` term folds to for a row predicate. */
|
|
737
646
|
resolveRowBinding(term: string, bindings: EvalContextWire): RowBindingWire;
|
|
647
|
+
/** Every emitter-to-listener delivery between two different traits of the program, in schema order, by the source rule the kernel delivers by. */
|
|
648
|
+
eventWires(schema: OrbitalSchema): EventWire[];
|
|
649
|
+
/** The kernel's verdict on a set of language packs: returns when every pack loads, else throws the refusal naming each pack, section and word. */
|
|
650
|
+
validatePacks(packs: readonly LanguagePackWire[]): void;
|
|
651
|
+
/** Pure world FX paint descriptors at the host's epoch paint clock. */
|
|
652
|
+
expandFxLayer(layerJson: string, epochNowMs: number, dimension: '2d' | '3d', tileWidth: number): string;
|
|
653
|
+
resolveFxView(itemJson: string, presetsJson?: string): string;
|
|
654
|
+
fxLifecycle(viewJson: string, epochNowMs: number, tickMs: number): string;
|
|
655
|
+
fxHash01(seed: string, salt: number): number;
|
|
656
|
+
skinWorldMatrices(bonesJson: string, poseJson: string): string;
|
|
657
|
+
skinVertices(meshJson: string, bindJson: string, currentJson: string): string;
|
|
658
|
+
skinComposeAffine(aJson: string, bJson: string): string;
|
|
659
|
+
skinInvertAffine(matrixJson: string, bone: number): string;
|
|
660
|
+
skinApplyAffine(matrixJson: string, x: number, y: number): string;
|
|
661
|
+
skinTriangleAffine(srcJson: string, dstJson: string): string;
|
|
662
|
+
skinVertexBounds(pointsJson: string): string;
|
|
663
|
+
}
|
|
664
|
+
/** One language pack as the kernel's pack check reads it: a label for the refusal and the pack's vocabulary. */
|
|
665
|
+
interface LanguagePackWire {
|
|
666
|
+
package: string;
|
|
667
|
+
definition: VocabularyPack;
|
|
738
668
|
}
|
|
739
669
|
declare function createKernelEvaluator(kernel: KernelEvaluatorExports): KernelEvaluator;
|
|
740
670
|
/** Install the evaluator over a loaded kernel; a later install replaces the earlier one. */
|
|
@@ -780,6 +710,8 @@ interface AccessBindings {
|
|
|
780
710
|
}
|
|
781
711
|
/** The three directives checked against a row before it is written. */
|
|
782
712
|
type MutationOp = MutationOpWire;
|
|
713
|
+
/** The kernel's evaluation context for a viewer (and the dispatch facts a policy may read). */
|
|
714
|
+
declare function accessContext(bindings: AccessBindings): EvalContextWire;
|
|
783
715
|
/**
|
|
784
716
|
* The one denial message. Three enforcement paths produce it identically, because a consumer distinguishing
|
|
785
717
|
* "denied" from "failed" reads this string.
|
|
@@ -947,130 +879,35 @@ interface SchemaDiff {
|
|
|
947
879
|
declare function diffOrbitalSchemas(before: OrbitalSchema | null, after: OrbitalSchema, options: SchemaDiffOptions): SchemaDiff;
|
|
948
880
|
|
|
949
881
|
/**
|
|
950
|
-
*
|
|
951
|
-
*
|
|
952
|
-
* Deterministic orbital-to-orbital transformation:
|
|
953
|
-
* full schema in → business skeleton out.
|
|
954
|
-
*
|
|
955
|
-
* Input: OrbitalSchema. Output: OrbitalSchema.
|
|
956
|
-
* Same types — just stripped of implementation details.
|
|
957
|
-
*
|
|
958
|
-
* This module provides functions to extract the essential business structure
|
|
959
|
-
* from a complete orbital schema, removing implementation details like
|
|
960
|
-
* effects, guards, and visual styling while preserving the core entity,
|
|
961
|
-
* trait, and page definitions.
|
|
882
|
+
* An orbital's inline entity definitions. Access policies and the owner of an entity are the
|
|
883
|
+
* kernel's (`KernelEngine.readRows`, `entityOwnerOrbital`).
|
|
962
884
|
*
|
|
963
885
|
* @packageDocumentation
|
|
964
886
|
*/
|
|
965
887
|
|
|
966
888
|
/**
|
|
967
|
-
*
|
|
968
|
-
*
|
|
969
|
-
*
|
|
970
|
-
*
|
|
971
|
-
* -
|
|
972
|
-
|
|
973
|
-
declare function classifyWorkflow(states: State[]): 'crud' | 'wizard' | 'custom';
|
|
974
|
-
/**
|
|
975
|
-
* Summarize a single orbital into its business skeleton.
|
|
976
|
-
*
|
|
977
|
-
* OrbitalDefinition in → OrbitalDefinition out.
|
|
978
|
-
* Strips effects, guards, payloads, theme, optional fields.
|
|
979
|
-
* Deduplicates transitions on (from, to, event).
|
|
889
|
+
* One orbital's own inline entity definitions: its primary entity plus any
|
|
890
|
+
* auxiliaries an import brought along (`auxiliaryEntities` — a linkedEntity
|
|
891
|
+
* naming an imported atom's own entity resolves here, not among any
|
|
892
|
+
* orbital's primary entity alone). Skips unresolved `string`/`EntityCall`
|
|
893
|
+
* refs — those are pre-inline-phase forms that never reach this by the time
|
|
894
|
+
* a schema is served.
|
|
980
895
|
*/
|
|
981
|
-
declare function
|
|
982
|
-
/**
|
|
983
|
-
* Summarize an entire OrbitalSchema into a business skeleton.
|
|
984
|
-
*
|
|
985
|
-
* OrbitalSchema in → OrbitalSchema out.
|
|
986
|
-
* Strips schema-level metadata (domainContext, design, designTokens, customPatterns).
|
|
987
|
-
*/
|
|
988
|
-
declare function summarizeSchema(schema: OrbitalSchema): OrbitalSchema;
|
|
896
|
+
declare function orbitalInlineEntities(orbital: OrbitalDefinition): OrbitalEntity[];
|
|
989
897
|
|
|
990
898
|
/**
|
|
991
|
-
* Declared
|
|
992
|
-
* (
|
|
993
|
-
*
|
|
994
|
-
* its `stateMachine.events[]` entry as `inbound`). The host only carries bytes: it hands the
|
|
995
|
-
* runtime `{headers, rawBody}` and writes back the answer the runtime returns (EXEC-INBOUND-1).
|
|
996
|
-
* Mirrors `orbital-core/crates/base/src/inbound.rs`.
|
|
899
|
+
* Declared inputs: the list, the addressing of a `listens` event onto one, and the payload checks are the kernel's
|
|
900
|
+
* (`KernelEngine.externalInputs|findInputByAddress|payloadJsonSchema|payloadIssues`, `orbital-core`
|
|
901
|
+
* `contract/payload_check.rs`).
|
|
997
902
|
*
|
|
998
903
|
* @packageDocumentation
|
|
999
904
|
*/
|
|
1000
|
-
|
|
1001
|
-
/** One declared handler: the trait and event a hook name is delivered to, and the event that answers. */
|
|
1002
|
-
interface InboundRoute {
|
|
1003
|
-
name: string;
|
|
1004
|
-
orbital: string;
|
|
1005
|
-
trait: string;
|
|
1006
|
-
event: string;
|
|
1007
|
-
answer: string;
|
|
1008
|
-
verifies?: InboundVerification;
|
|
1009
|
-
}
|
|
1010
|
-
/** What a host carries of one request: its headers and its body text exactly as received. */
|
|
1011
|
-
interface InboundDelivery {
|
|
1012
|
-
headers: Readonly<Record<string, string | undefined>>;
|
|
1013
|
-
rawBody: string;
|
|
1014
|
-
}
|
|
1015
|
-
/** The HTTP answer the host writes: the status and the JSON text of the body. */
|
|
1016
|
-
interface InboundAnswer {
|
|
1017
|
-
status: number;
|
|
1018
|
-
body: string;
|
|
1019
|
-
stderr?: string;
|
|
1020
|
-
/** Response headers the answer declares; a terminal host reads `orb-run` (twin of the kernel's `InboundAnswer.headers`). */
|
|
1021
|
-
headers?: Record<string, string>;
|
|
1022
|
-
}
|
|
1023
|
-
declare function inboundRoutesOf(schema: OrbitalSchema): InboundRoute[];
|
|
1024
905
|
/**
|
|
1025
|
-
*
|
|
1026
|
-
*
|
|
906
|
+
* An event written with `listens` addressing (`EVENT`, `Trait.EVENT`,
|
|
907
|
+
* `Orbital.Trait.EVENT`) as a value. A service contract param of this type is
|
|
908
|
+
* checked by `orb validate` against the program's declared external inputs.
|
|
1027
909
|
*/
|
|
1028
|
-
|
|
1029
|
-
/**
|
|
1030
|
-
* The trait that handles `event` as an inbound hook in `orbital`, when a client-facing route's
|
|
1031
|
-
* request names it (`trait` is the request's target trait, undefined when it names none). Such a
|
|
1032
|
-
* request is refused: only the hook intake delivers an inbound event.
|
|
1033
|
-
*/
|
|
1034
|
-
declare function inboundOnlyTrait(schema: OrbitalSchema, orbital: string, trait: string | undefined, event: string): string | undefined;
|
|
1035
|
-
/** The refusal message for an inbound-only event named on a client-facing route. */
|
|
1036
|
-
declare function inboundOnlyMessage(trait: string, event: string): string;
|
|
1037
|
-
/** The answer for a hook name the program does not serve. */
|
|
1038
|
-
declare function unknownHook(name: string): InboundAnswer;
|
|
1039
|
-
/** The answer for a route whose `verifies` names a credential the host holds no value for: nothing runs. */
|
|
1040
|
-
declare function credentialUnset(credential: string): InboundAnswer;
|
|
1041
|
-
/** The answer for a delivery whose dispatch failed; the sender retries a 5xx. */
|
|
1042
|
-
declare function dispatchFailed(message: string): InboundAnswer;
|
|
1043
|
-
/** Equality in time that depends on the longer value only, never on where they differ. */
|
|
1044
|
-
declare function constantTimeEquals(a: string, b: string): boolean;
|
|
1045
|
-
/**
|
|
1046
|
-
* The payload an inbound event is delivered with: `headers` (names lower-cased; a name given
|
|
1047
|
-
* twice joins its values with `, `), `rawBody` exactly as received, `body`, the parsed JSON of
|
|
1048
|
-
* `rawBody` or null when it is empty or not JSON, and, when the route declares `verifies`,
|
|
1049
|
-
* `verified`: the comparison of the named header with the credential's value, which stays out of
|
|
1050
|
-
* the payload. An unset or empty credential never verifies; the dispatcher refuses it first (`credentialUnset`).
|
|
1051
|
-
*/
|
|
1052
|
-
declare function inboundPayload(route: InboundRoute, delivery: InboundDelivery, credential?: string | null): EventPayload;
|
|
1053
|
-
/**
|
|
1054
|
-
* The answer a dispatch produced: the first emit of the route's answer event, whose payload is
|
|
1055
|
-
* `{ status, body, stderr? }`. With none, the first effect failure of the handler is the message; a
|
|
1056
|
-
* dispatch that neither answered nor failed is `inbound-unanswered`; a payload of another shape
|
|
1057
|
-
* is `inbound-answer-invalid`.
|
|
1058
|
-
*/
|
|
1059
|
-
declare function inboundAnswerOf(route: InboundRoute, emitted: readonly {
|
|
1060
|
-
event: string;
|
|
1061
|
-
payload?: EventPayload;
|
|
1062
|
-
}[], failure?: string): InboundAnswer;
|
|
1063
|
-
|
|
1064
|
-
/**
|
|
1065
|
-
* Expectation shape union — the JS composer's merge of two `expects` shapes field by field
|
|
1066
|
-
* (requiredness and value lists widen, ranges narrow, nested properties and items merge;
|
|
1067
|
-
* incompatible constraints throw). Twin of `orbital-core` `expects::merge_expectation_shape`,
|
|
1068
|
-
* which the derivation (now in `orb`) uses.
|
|
1069
|
-
*
|
|
1070
|
-
* @packageDocumentation
|
|
1071
|
-
*/
|
|
1072
|
-
|
|
1073
|
-
declare function mergeExpectationShape(existing: readonly EntityField[] | undefined, incoming: readonly EntityField[] | undefined): EntityField[] | undefined;
|
|
910
|
+
type EventAddress = string;
|
|
1074
911
|
|
|
1075
912
|
/**
|
|
1076
913
|
* Route matching — the one resolver from a concrete path to a declared page
|
|
@@ -1117,6 +954,14 @@ declare function defaultPage(schema: OrbitalSchema): {
|
|
|
1117
954
|
page: Page;
|
|
1118
955
|
orbitalName: string;
|
|
1119
956
|
} | null;
|
|
957
|
+
/**
|
|
958
|
+
* The page an app shows for a path no page matches: the one the program marks `notFound`, else none.
|
|
959
|
+
* The resolver admits at most one per program.
|
|
960
|
+
*/
|
|
961
|
+
declare function notFoundPage(schema: OrbitalSchema): {
|
|
962
|
+
page: Page;
|
|
963
|
+
orbitalName: string;
|
|
964
|
+
} | null;
|
|
1120
965
|
/** A concrete path matches a route pattern: same segment count, each pattern segment a `:param` or equal. */
|
|
1121
966
|
declare function pathMatchesPattern(path: string, pattern: string): boolean;
|
|
1122
967
|
|
|
@@ -1139,7 +984,7 @@ declare function pathMatchesPattern(path: string, pattern: string): boolean;
|
|
|
1139
984
|
*/
|
|
1140
985
|
interface EntityFieldWrite {
|
|
1141
986
|
readonly field: string;
|
|
1142
|
-
/** The
|
|
987
|
+
/** The field's JSON value; `undefined` is a writer copying an absent field back, which leaves the key absent. */
|
|
1143
988
|
readonly value: FieldValue | undefined;
|
|
1144
989
|
}
|
|
1145
990
|
/**
|
|
@@ -1186,5 +1031,5 @@ declare function findEntityAmongOrbitals(entities: Iterable<Entity | undefined>,
|
|
|
1186
1031
|
/** True when the orbital's own inline traits fetch or persist its primary record. */
|
|
1187
1032
|
declare function orbitalTouchesOwnRecord(orbital: OrbitalDefinition): boolean;
|
|
1188
1033
|
|
|
1189
|
-
export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, CodecError, ConfigFieldDeclaration, DeclaredTraitConfig, DependencyGraphSchema, DiagramTone, Entity,
|
|
1190
|
-
export type { AccessBindings, AgentTraceState, AppToolKind, BehaviorImport, BehaviorTier, DependencyGraph, DependencyGraphDeps, DependencyLayer, DigestEncoding, EntityFieldWrite, EntityFrameState,
|
|
1034
|
+
export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, CodecError, ConfigFieldDeclaration, DeclaredTraitConfig, DependencyGraphSchema, DiagramTone, Entity, EntityRow, EventPayload, EventPayloadValue, FieldValue, INDISTINCT_DELTA_E, JsonValue, KernelEvalError, KernelEvaluatorNotInstalledError, LlmCallMeta, OrbitalDefinition, OrbitalEntity, OrbitalSchema, Page, PageContentReduction, RowBindingResult, RuntimeValue, SExpr, SchemaChange, SemanticChangeKind, SemanticSchemaChange, TRACE_ACTIVITY_TYPES, ThemeDefinition, ToolArgs, Trait, TraitConfig, TraitConfigObject, TraitRef, UserContext, VocabularyPack, accessContext, accessDeniedMessage, applyListenMapping, applyRowAccess, base64DecodeBytes, base64EncodeBytes, categorizeRemovals, checkMutationAccess, ciede2000, collectCallsiteCaptureChildren, collectForwardedConfigKeys, collectOrbitalForwardedConfigKeys, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, colorDifference, comparePathSpecificity, configForwardTokens, configReferencesCallsitePayload, createKernelEvaluator, decodeBase64, decodeUriComponent, defaultPage, dependencyGraphOf, detectPageContentReduction, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, encodeBase64, encodeDigest, encodeUriComponent, eventPayloadOf, filterConfigToForwardedKeys, findEntityAmongOrbitals, getNestedValue, getRemovals, hasKernelEvaluator, hasSignificantPageReduction, hashMd5, hashSha256, hexToLab, hmacSha256, hmacSha256Bytes, importsOf, installKernelEvaluator, isDestructiveChange, kernelEvaluator, lazyKernelExports, matchPath, matchPathAmong, md5Bytes, mergeEntityFrame, notFoundPage, omitFrameFields, orbitalFileOf, orbitalInlineEntities, orbitalTouchesOwnRecord, pathMatchesPattern, requiresConfirmation, resolveEntityView, rowAccess, selectTraceActivities, sha256Bytes, themeModes, toWireValue, toneColor, traceActivityPayload, traitDeclaresConfigForward, traitReferencesCallsitePayload, traitsEmbeddedByEffects, traitsEmbeddedByEvent, utf8Bytes };
|
|
1035
|
+
export type { AccessBindings, AgentTraceState, AppToolKind, BehaviorImport, BehaviorTier, DependencyGraph, DependencyGraphDeps, DependencyLayer, DigestEncoding, EntityFieldWrite, EntityFrameState, EventAddress, EventWire, KernelEvaluator, KernelEvaluatorExports, KernelMemoryStoreExports, KernelMemoryStoreWire, Lab, LanguagePackWire, MutationOp, RowAccessBundle, SchemaDiff, SchemaDiffAuthor, SchemaDiffChange, SchemaDiffChangeset, SchemaDiffMode, SchemaDiffOptions, SchemaDiffSource, SchemaDiffSummary, ThemeMode, TraceActivity, TraceActivityAudience, TraceActivityItem, TraceAvatarRole, TraceChatMessage, TraceChatMessageToolCall, TraceDiffHunk, TraceDiffLine, TraceFileOperation, TraceSubagent, TraceSubagentMessage, WireInput };
|