@almadar/core 10.38.0 → 10.40.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-BoyWDFfH.d.ts → builders-Dw270YQh.d.ts} +116 -3
- package/dist/builders.d.ts +4 -4
- package/dist/builders.js +5 -0
- package/dist/builders.js.map +1 -1
- package/dist/{effect-5kg4MCeB.d.ts → effect-DQPFowvO.d.ts} +7 -2
- package/dist/{entity-CVylqnAf.d.ts → entity-DfD-iXkn.d.ts} +13 -0
- package/dist/factory/index.d.ts +6 -6
- package/dist/factory-runtime/index.d.ts +4 -4
- package/dist/factory-runtime/index.js +5 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +526 -37
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +1 -1
- package/dist/mock/index.js +5 -0
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +765 -47
- package/dist/patterns/index.js +521 -37
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +275 -31
- package/dist/patterns/patterns-registry.json +245 -5
- package/dist/patterns/registry.json +245 -5
- package/dist/{trait-Bnd3i_2G.d.ts → trait-C_TZnqb_.d.ts} +17 -2
- package/dist/types/index.d.ts +15 -9
- package/dist/types/index.js +5 -0
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BE598tvP.d.ts → types-BUqLsSEN.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as EventId, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, e as Entity, a as EntityField } from './entity-
|
|
1
|
+
import { c as EventId, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, e as Entity, a as EntityField } from './entity-DfD-iXkn.js';
|
|
2
2
|
import { E as Expression, S as SExpr } from './expression-DpAj1RzP.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { E as Effect, A as AnyPatternConfig } from './effect-
|
|
4
|
+
import { E as Effect, A as AnyPatternConfig } from './effect-DQPFowvO.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Represents a state in the state machine
|
|
@@ -1845,6 +1845,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1845
1845
|
name: z.ZodString;
|
|
1846
1846
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"]>>;
|
|
1847
1847
|
shared: z.ZodOptional<z.ZodBoolean>;
|
|
1848
|
+
identity: z.ZodOptional<z.ZodBoolean>;
|
|
1848
1849
|
collection: z.ZodOptional<z.ZodString>;
|
|
1849
1850
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
|
|
1850
1851
|
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -1883,6 +1884,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1883
1884
|
fields: EntityField[];
|
|
1884
1885
|
description?: string | undefined;
|
|
1885
1886
|
shared?: boolean | undefined;
|
|
1887
|
+
identity?: boolean | undefined;
|
|
1886
1888
|
collection?: string | undefined;
|
|
1887
1889
|
instances?: Record<string, unknown>[] | undefined;
|
|
1888
1890
|
timestamps?: boolean | undefined;
|
|
@@ -1903,6 +1905,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1903
1905
|
description?: string | undefined;
|
|
1904
1906
|
persistence?: "persistent" | "runtime" | undefined;
|
|
1905
1907
|
shared?: boolean | undefined;
|
|
1908
|
+
identity?: boolean | undefined;
|
|
1906
1909
|
collection?: string | undefined;
|
|
1907
1910
|
instances?: Record<string, unknown>[] | undefined;
|
|
1908
1911
|
timestamps?: boolean | undefined;
|
|
@@ -2049,6 +2052,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2049
2052
|
fields: EntityField[];
|
|
2050
2053
|
description?: string | undefined;
|
|
2051
2054
|
shared?: boolean | undefined;
|
|
2055
|
+
identity?: boolean | undefined;
|
|
2052
2056
|
collection?: string | undefined;
|
|
2053
2057
|
instances?: Record<string, unknown>[] | undefined;
|
|
2054
2058
|
timestamps?: boolean | undefined;
|
|
@@ -2195,6 +2199,7 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2195
2199
|
description?: string | undefined;
|
|
2196
2200
|
persistence?: "persistent" | "runtime" | undefined;
|
|
2197
2201
|
shared?: boolean | undefined;
|
|
2202
|
+
identity?: boolean | undefined;
|
|
2198
2203
|
collection?: string | undefined;
|
|
2199
2204
|
instances?: Record<string, unknown>[] | undefined;
|
|
2200
2205
|
timestamps?: boolean | undefined;
|
|
@@ -2649,6 +2654,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2649
2654
|
name: z.ZodString;
|
|
2650
2655
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"]>>;
|
|
2651
2656
|
shared: z.ZodOptional<z.ZodBoolean>;
|
|
2657
|
+
identity: z.ZodOptional<z.ZodBoolean>;
|
|
2652
2658
|
collection: z.ZodOptional<z.ZodString>;
|
|
2653
2659
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
|
|
2654
2660
|
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -2687,6 +2693,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2687
2693
|
fields: EntityField[];
|
|
2688
2694
|
description?: string | undefined;
|
|
2689
2695
|
shared?: boolean | undefined;
|
|
2696
|
+
identity?: boolean | undefined;
|
|
2690
2697
|
collection?: string | undefined;
|
|
2691
2698
|
instances?: Record<string, unknown>[] | undefined;
|
|
2692
2699
|
timestamps?: boolean | undefined;
|
|
@@ -2707,6 +2714,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2707
2714
|
description?: string | undefined;
|
|
2708
2715
|
persistence?: "persistent" | "runtime" | undefined;
|
|
2709
2716
|
shared?: boolean | undefined;
|
|
2717
|
+
identity?: boolean | undefined;
|
|
2710
2718
|
collection?: string | undefined;
|
|
2711
2719
|
instances?: Record<string, unknown>[] | undefined;
|
|
2712
2720
|
timestamps?: boolean | undefined;
|
|
@@ -2853,6 +2861,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2853
2861
|
fields: EntityField[];
|
|
2854
2862
|
description?: string | undefined;
|
|
2855
2863
|
shared?: boolean | undefined;
|
|
2864
|
+
identity?: boolean | undefined;
|
|
2856
2865
|
collection?: string | undefined;
|
|
2857
2866
|
instances?: Record<string, unknown>[] | undefined;
|
|
2858
2867
|
timestamps?: boolean | undefined;
|
|
@@ -2999,6 +3008,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
2999
3008
|
description?: string | undefined;
|
|
3000
3009
|
persistence?: "persistent" | "runtime" | undefined;
|
|
3001
3010
|
shared?: boolean | undefined;
|
|
3011
|
+
identity?: boolean | undefined;
|
|
3002
3012
|
collection?: string | undefined;
|
|
3003
3013
|
instances?: Record<string, unknown>[] | undefined;
|
|
3004
3014
|
timestamps?: boolean | undefined;
|
|
@@ -3523,6 +3533,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3523
3533
|
name: z.ZodString;
|
|
3524
3534
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"]>>;
|
|
3525
3535
|
shared: z.ZodOptional<z.ZodBoolean>;
|
|
3536
|
+
identity: z.ZodOptional<z.ZodBoolean>;
|
|
3526
3537
|
collection: z.ZodOptional<z.ZodString>;
|
|
3527
3538
|
fields: z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">;
|
|
3528
3539
|
instances: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -3561,6 +3572,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3561
3572
|
fields: EntityField[];
|
|
3562
3573
|
description?: string | undefined;
|
|
3563
3574
|
shared?: boolean | undefined;
|
|
3575
|
+
identity?: boolean | undefined;
|
|
3564
3576
|
collection?: string | undefined;
|
|
3565
3577
|
instances?: Record<string, unknown>[] | undefined;
|
|
3566
3578
|
timestamps?: boolean | undefined;
|
|
@@ -3581,6 +3593,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3581
3593
|
description?: string | undefined;
|
|
3582
3594
|
persistence?: "persistent" | "runtime" | undefined;
|
|
3583
3595
|
shared?: boolean | undefined;
|
|
3596
|
+
identity?: boolean | undefined;
|
|
3584
3597
|
collection?: string | undefined;
|
|
3585
3598
|
instances?: Record<string, unknown>[] | undefined;
|
|
3586
3599
|
timestamps?: boolean | undefined;
|
|
@@ -3727,6 +3740,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3727
3740
|
fields: EntityField[];
|
|
3728
3741
|
description?: string | undefined;
|
|
3729
3742
|
shared?: boolean | undefined;
|
|
3743
|
+
identity?: boolean | undefined;
|
|
3730
3744
|
collection?: string | undefined;
|
|
3731
3745
|
instances?: Record<string, unknown>[] | undefined;
|
|
3732
3746
|
timestamps?: boolean | undefined;
|
|
@@ -3873,6 +3887,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
3873
3887
|
description?: string | undefined;
|
|
3874
3888
|
persistence?: "persistent" | "runtime" | undefined;
|
|
3875
3889
|
shared?: boolean | undefined;
|
|
3890
|
+
identity?: boolean | undefined;
|
|
3876
3891
|
collection?: string | undefined;
|
|
3877
3892
|
instances?: Record<string, unknown>[] | undefined;
|
|
3878
3893
|
timestamps?: boolean | undefined;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { M as MakeTraitRefOpts, b4 as PageTraitRef, O as OrbitalSchema, a6 as EventWiringEntry, aq as LayoutStrategy, bi as ThemeDefinition, a7 as Orbital, aZ as Page, K as DomainContext, a as OrbitalDefinition } from '../builders-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, b as ALLOWED_CUSTOM_COMPONENTS, c as AgentDomainCategory, d as AgentDomainCategorySchema, e as AllowedCustomComponent, C as ColorSlice, f as ColorSliceSchema, g as ColorTokens, h 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, E as DesignPreferencesSchema, F as DesignTokens, G as DesignTokensInput, H as DesignTokensSchema, I as DomainCategory, J as DomainCategorySchema, L as DomainContextInput, N as DomainContextSchema, P as DomainVocabulary, Q as DomainVocabularySchema, R as ElevationSlice, S as ElevationSliceSchema, T as ElevationTokens, U as ElevationTokensSchema, V as EntityCall, W as EntityCallSchema, X as EntityRef, Y as EntityRefSchema, Z as EntityRefStringSchema, _ as EntitySemanticRole, $ as EntitySemanticRoleSchema, a0 as EventListener, a1 as EventListenerSchema, a2 as EventSemanticRole, a3 as EventSemanticRoleSchema, a4 as EventSource, a5 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, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NodeClassification, aI as NodeClassificationSchema, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, bL as UseDeclaration, bM as UseDeclarationSchema, bN as UserPersona, bO as UserPersonaInput, bP as UserPersonaSchema, bQ as ViewType, bR as ViewTypeSchema, bV as isEntityCall, bW as isEntityReference, bX as isEntityReferenceAny, bY as isImportedTraitRef, bZ as isOrbitalDefinition, b_ as isPageReference, b$ as isPageReferenceObject, c0 as isPageReferenceString, c1 as isThemeReference, c2 as parseEntityRef, c3 as parseImportedTraitRef, c4 as parseOrbitalSchema, c5 as parsePageRef, c6 as safeParseOrbitalSchema } from '../builders-
|
|
3
|
-
import { F as FieldValue, a as EntityField, E as EntityPersistence, J as JsonValue, e as Entity, b as EntityRow, O as OrbitalId, T as TraitId, c as EventId, a6 as JsonObject, f as ToolArgs } from '../entity-
|
|
4
|
-
export { A as ANIMATION_NAMES, g as ASSET_ASPECTS, h as ASSET_DIMENSIONS, i as AnimationDef, j as AnimationDefInput, k as AnimationDefSchema, l as AnimationName, m as AnimationNameSchema, n as ArrayEntityField, o as Asset, p as AssetAspect, q as AssetAspectSchema, r as AssetCatalog, s as AssetCatalogEntry, t as AssetCatalogEntryInput, u as AssetCatalogEntrySchema, v as AssetCatalogSchema, w as AssetDimension, x as AssetDimensionSchema, y as AssetSchema, z as AssetUrl, C as CAMERA_MODES, B as Camera, D as CameraMode, G as CameraModeSchema, H as CameraSchema, I as ENTITY_ROLES, K as EntityData, L as EntityFieldInput, M as EntityFieldSchema, d as EntityId, N as EntityIdSchema, Q as EntityPersistenceSchema, S as EntityRole, U as EntityRoleSchema, V as EntitySchema, W as EntityWith, X as EnumEntityField, Y as EventIdSchema, Z as FIELD_TYPES, _ as Field, $ as FieldSchema, a0 as FieldType, a1 as FieldTypeSchema, a2 as IdForKind, a3 as IdKind, a4 as IdentityLedger, a5 as IdentityLedgerSchema, a7 as LedgerEntry, a8 as LedgerEntrySchema, a9 as LedgerKind, aa as LedgerKindSchema, ab as ObjectEntityField, ac as OrbitalEntity, ad as OrbitalEntityInput, ae as OrbitalEntitySchema, af as OrbitalIdSchema, P as PageId, ag as PageIdSchema, ah as PaletteEntryId, ai as PaletteEntryIdSchema, R as RelationConfig, aj as RelationConfigSchema, ak as RelationEntityField, al as SEMANTIC_STRING_TYPES, am as SPRITE_DIRECTIONS, an as ScalarEntityField, ao as ScenePos, ap as ScenePosSchema, aq as SemanticAssetRef, ar as SemanticAssetRefInput, as as SemanticAssetRefSchema, at as SemanticStringType, au as ServiceId, av as ServiceIdSchema, aw as SpriteDirection, ax as SpriteDirectionSchema, ay as SpriteSheetAtlas, az as SpriteSheetAtlasInput, aA as SpriteSheetAtlasSchema, aB as SubTexture, aC as SubTextureSchema, aD as TextureAtlas, aE as TextureAtlasSchema, aF as ThemeId, aG as ThemeIdSchema, aH as Tilesheet, aI as TilesheetSchema, aJ as TraitIdSchema, aK as VISUAL_STYLES, aL as VisualStyle, aM as VisualStyleSchema, aN as asEntityId, aO as asEventId, aP as asOrbitalId, aQ as asPageId, aR as asPaletteEntryId, aS as asServiceId, aT as asThemeId, aU as asTraitId, aV as createAssetKey, aW as deriveCollection, aX as getDefaultAnimationsForRole, aY as idKindOf, aZ as idPrefix, a_ as isEmailValue, a$ as isEntityId, b0 as isEventId, b1 as isFieldValue, b2 as isJsonArray, b3 as isJsonObject, b4 as isJsonPrimitive, b5 as isOrbitalId, b6 as isPageId, b7 as isPaletteEntryId, b8 as isPhoneValue, b9 as isRuntimeEntity, ba as isSemanticStringType, bb as isSemanticStringValue, bc as isServiceId, bd as isThemeId, be as isTraitId, bf as isUrlValue, bg as isUuidValue, bh as ledgerCurName, bi as ledgerRename, bj as ledgerResolveName, bk as mintId, bl as parseAssetKey, bm as persistenceModeAllowsOverrides, bn as validateAssetAnimations } from '../entity-
|
|
1
|
+
import { M as MakeTraitRefOpts, b4 as PageTraitRef, O as OrbitalSchema, a6 as EventWiringEntry, aq as LayoutStrategy, bi as ThemeDefinition, a7 as Orbital, aZ as Page, K as DomainContext, a as OrbitalDefinition } from '../builders-Dw270YQh.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, b as ALLOWED_CUSTOM_COMPONENTS, c as AgentDomainCategory, d as AgentDomainCategorySchema, e as AllowedCustomComponent, C as ColorSlice, f as ColorSliceSchema, g as ColorTokens, h 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, E as DesignPreferencesSchema, F as DesignTokens, G as DesignTokensInput, H as DesignTokensSchema, I as DomainCategory, J as DomainCategorySchema, L as DomainContextInput, N as DomainContextSchema, P as DomainVocabulary, Q as DomainVocabularySchema, R as ElevationSlice, S as ElevationSliceSchema, T as ElevationTokens, U as ElevationTokensSchema, V as EntityCall, W as EntityCallSchema, X as EntityRef, Y as EntityRefSchema, Z as EntityRefStringSchema, _ as EntitySemanticRole, $ as EntitySemanticRoleSchema, a0 as EventListener, a1 as EventListenerSchema, a2 as EventSemanticRole, a3 as EventSemanticRoleSchema, a4 as EventSource, a5 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, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NodeClassification, aI as NodeClassificationSchema, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, bL as UseDeclaration, bM as UseDeclarationSchema, bN as UserPersona, bO as UserPersonaInput, bP as UserPersonaSchema, bQ as ViewType, bR as ViewTypeSchema, bV as isEntityCall, bW as isEntityReference, bX as isEntityReferenceAny, bY as isImportedTraitRef, bZ as isOrbitalDefinition, b_ as isPageReference, b$ as isPageReferenceObject, c0 as isPageReferenceString, c1 as isThemeReference, c2 as parseEntityRef, c3 as parseImportedTraitRef, c4 as parseOrbitalSchema, c5 as parsePageRef, c6 as safeParseOrbitalSchema } from '../builders-Dw270YQh.js';
|
|
3
|
+
import { F as FieldValue, a as EntityField, E as EntityPersistence, J as JsonValue, e as Entity, b as EntityRow, O as OrbitalId, T as TraitId, c as EventId, a6 as JsonObject, f as ToolArgs } from '../entity-DfD-iXkn.js';
|
|
4
|
+
export { A as ANIMATION_NAMES, g as ASSET_ASPECTS, h as ASSET_DIMENSIONS, i as AnimationDef, j as AnimationDefInput, k as AnimationDefSchema, l as AnimationName, m as AnimationNameSchema, n as ArrayEntityField, o as Asset, p as AssetAspect, q as AssetAspectSchema, r as AssetCatalog, s as AssetCatalogEntry, t as AssetCatalogEntryInput, u as AssetCatalogEntrySchema, v as AssetCatalogSchema, w as AssetDimension, x as AssetDimensionSchema, y as AssetSchema, z as AssetUrl, C as CAMERA_MODES, B as Camera, D as CameraMode, G as CameraModeSchema, H as CameraSchema, I as ENTITY_ROLES, K as EntityData, L as EntityFieldInput, M as EntityFieldSchema, d as EntityId, N as EntityIdSchema, Q as EntityPersistenceSchema, S as EntityRole, U as EntityRoleSchema, V as EntitySchema, W as EntityWith, X as EnumEntityField, Y as EventIdSchema, Z as FIELD_TYPES, _ as Field, $ as FieldSchema, a0 as FieldType, a1 as FieldTypeSchema, a2 as IdForKind, a3 as IdKind, a4 as IdentityLedger, a5 as IdentityLedgerSchema, a7 as LedgerEntry, a8 as LedgerEntrySchema, a9 as LedgerKind, aa as LedgerKindSchema, ab as ObjectEntityField, ac as OrbitalEntity, ad as OrbitalEntityInput, ae as OrbitalEntitySchema, af as OrbitalIdSchema, P as PageId, ag as PageIdSchema, ah as PaletteEntryId, ai as PaletteEntryIdSchema, R as RelationConfig, aj as RelationConfigSchema, ak as RelationEntityField, al as SEMANTIC_STRING_TYPES, am as SPRITE_DIRECTIONS, an as ScalarEntityField, ao as ScenePos, ap as ScenePosSchema, aq as SemanticAssetRef, ar as SemanticAssetRefInput, as as SemanticAssetRefSchema, at as SemanticStringType, au as ServiceId, av as ServiceIdSchema, aw as SpriteDirection, ax as SpriteDirectionSchema, ay as SpriteSheetAtlas, az as SpriteSheetAtlasInput, aA as SpriteSheetAtlasSchema, aB as SubTexture, aC as SubTextureSchema, aD as TextureAtlas, aE as TextureAtlasSchema, aF as ThemeId, aG as ThemeIdSchema, aH as Tilesheet, aI as TilesheetSchema, aJ as TraitIdSchema, aK as VISUAL_STYLES, aL as VisualStyle, aM as VisualStyleSchema, aN as asEntityId, aO as asEventId, aP as asOrbitalId, aQ as asPageId, aR as asPaletteEntryId, aS as asServiceId, aT as asThemeId, aU as asTraitId, aV as createAssetKey, aW as deriveCollection, aX as getDefaultAnimationsForRole, aY as idKindOf, aZ as idPrefix, a_ as isEmailValue, a$ as isEntityId, b0 as isEventId, b1 as isFieldValue, b2 as isJsonArray, b3 as isJsonObject, b4 as isJsonPrimitive, b5 as isOrbitalId, b6 as isPageId, b7 as isPaletteEntryId, b8 as isPhoneValue, b9 as isRuntimeEntity, ba as isSemanticStringType, bb as isSemanticStringValue, bc as isServiceId, bd as isThemeId, be as isTraitId, bf as isUrlValue, bg as isUuidValue, bh as ledgerCurName, bi as ledgerRename, bj as ledgerResolveName, bk as mintId, bl as parseAssetKey, bm as persistenceModeAllowsOverrides, bn as validateAssetAnimations } from '../entity-DfD-iXkn.js';
|
|
5
5
|
import { d as EventPayloadValue, a as EventPayload, L as LogMeta, S as SExpr, c as EvalContext } from '../expression-DpAj1RzP.js';
|
|
6
6
|
export { C as CORE_BINDINGS, b as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, g as LogMetaValue, P as ParsedBinding, h as SExprAtom, i as SExprAtomSchema, j as SExprInput, k as SExprSchema, l as collectBindings, m as getArgs, n as getOperator, o as isBinding, p as isEventPayloadValue, q as isSExpr, r as isSExprAtom, s as isSExprCall, t as isValidBinding, u as parseBinding, v as sexpr, w as walkSExpr } from '../expression-DpAj1RzP.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
|
-
import { a as TraitReference, c as Trait, L as ListenSource, D as DeclaredTraitConfig, d as TraitConfig, f as ConfigFieldDeclaration, S as State, ad as Transition, l as Event, X as TraitConfigValue, Q as TraitCategory, ar as TraitScope } from '../trait-
|
|
9
|
-
export { e as CONFIG_REF_EVENT_PATTERN, C as CallSiteConfig, b as CallSiteConfigEntry, g as ConfigFieldDeclarationSchema, h as ConfigFieldItemsDeclaration, i as ConfigRefEventError, j as DeclaredTraitConfigSchema, E as EntityFieldContract, k as EntityFieldContractSchema, m as EventInput, n as EventPayloadField, o as EventPayloadFieldSchema, p as EventSchema, q as EventScope, r as EventScopeSchema, G as Guard, s as GuardInput, t as GuardSchema, u as ListenSourceSchema, O as OrbitalTraitRef, v as OrbitalTraitRefSchema, P as PayloadField, w as PayloadFieldSchema, x as PresentationType, R as REFERENCE_CONFIG_TYPES, y as ReferenceConfigType, z as RequiredField, A as RequiredFieldSchema, B as SECRET_CONFIG_TYPES, F as SecretConfigType, H as StateInput, I as StateMachine, J as StateMachineInput, K as StateMachineSchema, M as StateSchema, N as TickIntervalSchema, U as TraitCategorySchema, V as TraitConfigObject, W as TraitConfigSchema, Y as TraitConfigValueSchema, Z as TraitDataEntity, _ as TraitDataEntitySchema, $ as TraitEntityField, a0 as TraitEntityFieldSchema, a1 as TraitEventContract, a2 as TraitEventContractSchema, T as TraitEventListener, a3 as TraitEventListenerSchema, a4 as TraitInput, a5 as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ae as TransitionInput, af as TransitionSchema, ag as configRefEventKnob, ah as getTraitConfig, ai as getTraitName, aj as isCallSiteConfigDeclaration, ak as isCircuitEvent, al as isInlineTrait, am as isReferenceConfigType, an as isSecretConfigType, ao as normalizeCallSiteConfigToValues, ap as normalizeTraitRef, aq as resolveConfigRefEventName } from '../trait-
|
|
10
|
-
import { a3 as ServiceParams, A as AnyPatternConfig, E as Effect } from '../effect-
|
|
11
|
-
export { a as AgentEffect, b as ApplicationEffect, c as AtomicEffect, B as BehaviorEffect, C as CallServiceConfig, d as CallServiceEffect, e as CheckpointLoadEffect, f as CheckpointSaveEffect, g as ComposeEffect, D as DerefEffect, h as DespawnEffect, i as DoEffect, j as EffectInput, k as EffectSchema, l as EmitConfig, m as EmitEffect, n as EvaluateConfig, o as EvaluateEffect, F as FetchEffect, p as FetchOptions, q as FetchResult, r as ForwardConfig, s as ForwardEffect, L as LlmEffect, t as LogEffect, M as McpServiceDef, u as McpServiceDefSchema, v as MemoryEffect, N as NavigateEffect, w as NnConfig, x as NnLayer, y as NotifyEffect, O as OsEffect, P as PATTERN_TYPES, z as PatternConfig, I as PatternType, J as PersistData, K as PersistEffect, Q as PersistEmitConfig, R as RefEffect, S as RenderBinding, T as RenderChildrenMap, U as RenderItemLambda, V as RenderUIEffect, W as RenderUINode, X as ResolvedPatternProps, Y as RestAuthConfig, Z as RestAuthConfigSchema, _ as RestServiceDef, $ as RestServiceDefSchema, a0 as SERVICE_TYPES, a1 as ServiceDefinition, a2 as ServiceDefinitionSchema, a4 as ServiceParamsValue, a5 as ServiceRef, a6 as ServiceRefObject, a7 as ServiceRefObjectSchema, a8 as ServiceRefSchema, a9 as ServiceRefStringSchema, aa as ServiceType, ab as ServiceTypeSchema, ac as SessionEffect, ad as SetEffect, ae as SocketEvents, af as SocketEventsSchema, ag as SocketServiceDef, ah as SocketServiceDefSchema, ai as SpawnEffect, aj as SwapEffect, ak as TraceEffect, al as TrainConfig, am as TrainEffect, an as TypedEffect, ao as UISlot, ap as UISlotSchema, aq as UI_SLOTS, ar as ValidateEffect, as as WatchEffect, at as WatchOptions, au as atomic, av as callService, aw as deref, ax as despawn, ay as doEffects, az as emit, aA as findService, aB as getServiceNames, aC as hasService, aD as isEffect, aE as isMcpService, aF as isRestService, aG as isSExprEffect, aH as isServiceReference, aI as isServiceReferenceObject, aJ as isSocketService, aK as isValidPatternType, aL as navigate, aM as notify, aN as parseServiceRef, aO as persist, aP as ref, aQ as renderUI, aR as set, aS as spawn, aT as swap, aU as watch } from '../effect-
|
|
12
|
-
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-
|
|
8
|
+
import { a as TraitReference, c as Trait, L as ListenSource, D as DeclaredTraitConfig, d as TraitConfig, f as ConfigFieldDeclaration, S as State, ad as Transition, l as Event, X as TraitConfigValue, Q as TraitCategory, ar as TraitScope } from '../trait-C_TZnqb_.js';
|
|
9
|
+
export { e as CONFIG_REF_EVENT_PATTERN, C as CallSiteConfig, b as CallSiteConfigEntry, g as ConfigFieldDeclarationSchema, h as ConfigFieldItemsDeclaration, i as ConfigRefEventError, j as DeclaredTraitConfigSchema, E as EntityFieldContract, k as EntityFieldContractSchema, m as EventInput, n as EventPayloadField, o as EventPayloadFieldSchema, p as EventSchema, q as EventScope, r as EventScopeSchema, G as Guard, s as GuardInput, t as GuardSchema, u as ListenSourceSchema, O as OrbitalTraitRef, v as OrbitalTraitRefSchema, P as PayloadField, w as PayloadFieldSchema, x as PresentationType, R as REFERENCE_CONFIG_TYPES, y as ReferenceConfigType, z as RequiredField, A as RequiredFieldSchema, B as SECRET_CONFIG_TYPES, F as SecretConfigType, H as StateInput, I as StateMachine, J as StateMachineInput, K as StateMachineSchema, M as StateSchema, N as TickIntervalSchema, U as TraitCategorySchema, V as TraitConfigObject, W as TraitConfigSchema, Y as TraitConfigValueSchema, Z as TraitDataEntity, _ as TraitDataEntitySchema, $ as TraitEntityField, a0 as TraitEntityFieldSchema, a1 as TraitEventContract, a2 as TraitEventContractSchema, T as TraitEventListener, a3 as TraitEventListenerSchema, a4 as TraitInput, a5 as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ae as TransitionInput, af as TransitionSchema, ag as configRefEventKnob, ah as getTraitConfig, ai as getTraitName, aj as isCallSiteConfigDeclaration, ak as isCircuitEvent, al as isInlineTrait, am as isReferenceConfigType, an as isSecretConfigType, ao as normalizeCallSiteConfigToValues, ap as normalizeTraitRef, aq as resolveConfigRefEventName } from '../trait-C_TZnqb_.js';
|
|
10
|
+
import { a3 as ServiceParams, A as AnyPatternConfig, E as Effect } from '../effect-DQPFowvO.js';
|
|
11
|
+
export { a as AgentEffect, b as ApplicationEffect, c as AtomicEffect, B as BehaviorEffect, C as CallServiceConfig, d as CallServiceEffect, e as CheckpointLoadEffect, f as CheckpointSaveEffect, g as ComposeEffect, D as DerefEffect, h as DespawnEffect, i as DoEffect, j as EffectInput, k as EffectSchema, l as EmitConfig, m as EmitEffect, n as EvaluateConfig, o as EvaluateEffect, F as FetchEffect, p as FetchOptions, q as FetchResult, r as ForwardConfig, s as ForwardEffect, L as LlmEffect, t as LogEffect, M as McpServiceDef, u as McpServiceDefSchema, v as MemoryEffect, N as NavigateEffect, w as NnConfig, x as NnLayer, y as NotifyEffect, O as OsEffect, P as PATTERN_TYPES, z as PatternConfig, I as PatternType, J as PersistData, K as PersistEffect, Q as PersistEmitConfig, R as RefEffect, S as RenderBinding, T as RenderChildrenMap, U as RenderItemLambda, V as RenderUIEffect, W as RenderUINode, X as ResolvedPatternProps, Y as RestAuthConfig, Z as RestAuthConfigSchema, _ as RestServiceDef, $ as RestServiceDefSchema, a0 as SERVICE_TYPES, a1 as ServiceDefinition, a2 as ServiceDefinitionSchema, a4 as ServiceParamsValue, a5 as ServiceRef, a6 as ServiceRefObject, a7 as ServiceRefObjectSchema, a8 as ServiceRefSchema, a9 as ServiceRefStringSchema, aa as ServiceType, ab as ServiceTypeSchema, ac as SessionEffect, ad as SetEffect, ae as SocketEvents, af as SocketEventsSchema, ag as SocketServiceDef, ah as SocketServiceDefSchema, ai as SpawnEffect, aj as SwapEffect, ak as TraceEffect, al as TrainConfig, am as TrainEffect, an as TypedEffect, ao as UISlot, ap as UISlotSchema, aq as UI_SLOTS, ar as ValidateEffect, as as WatchEffect, at as WatchOptions, au as atomic, av as callService, aw as deref, ax as despawn, ay as doEffects, az as emit, aA as findService, aB as getServiceNames, aC as hasService, aD as isEffect, aE as isMcpService, aF as isRestService, aG as isSExprEffect, aH as isServiceReference, aI as isServiceReferenceObject, aJ as isSocketService, aK as isValidPatternType, aL as navigate, aM as notify, aN as parseServiceRef, aO as persist, aP as ref, aQ as renderUI, aR as set, aS as spawn, aT as swap, aU as watch } from '../effect-DQPFowvO.js';
|
|
12
|
+
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-BUqLsSEN.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* S-Expression Bindings
|
|
@@ -2433,6 +2433,10 @@ interface ErrorEvent extends SSEEventBase {
|
|
|
2433
2433
|
data: {
|
|
2434
2434
|
error: string;
|
|
2435
2435
|
code?: string;
|
|
2436
|
+
/** Orbital names that failed, when a generation run ends in failure. */
|
|
2437
|
+
failedOrbitals?: string[];
|
|
2438
|
+
/** Typed validate/failure lines backing `error` (same format as `cache_demoted.errors`). */
|
|
2439
|
+
errors?: string[];
|
|
2436
2440
|
};
|
|
2437
2441
|
}
|
|
2438
2442
|
interface CancelledEvent extends SSEEventBase {
|
|
@@ -2521,6 +2525,8 @@ interface ProcessErrorEvent extends SSEEventBase {
|
|
|
2521
2525
|
orbitalName: string;
|
|
2522
2526
|
method: 'deterministic' | 'llm';
|
|
2523
2527
|
error: string;
|
|
2528
|
+
/** Typed validate/failure lines for this orbital (from `orbital_failed.errors`). */
|
|
2529
|
+
errors?: string[];
|
|
2524
2530
|
};
|
|
2525
2531
|
}
|
|
2526
2532
|
interface ProcessRepairEvent extends SSEEventBase {
|
package/dist/types/index.js
CHANGED
|
@@ -479,6 +479,11 @@ var OrbitalEntitySchema = z.object({
|
|
|
479
479
|
name: z.string().min(1, "Entity name is required"),
|
|
480
480
|
persistence: EntityPersistenceSchema.default("persistent"),
|
|
481
481
|
shared: z.boolean().optional(),
|
|
482
|
+
// Must stay in step with the Rust serde field (`EntityDefinition.identity`,
|
|
483
|
+
// orbital-core/src/schema/types.rs). `z.object()` STRIPS unknown keys rather
|
|
484
|
+
// than rejecting them, so a Rust-only field works on the compiled path and
|
|
485
|
+
// silently vanishes on the interpreter path.
|
|
486
|
+
identity: z.boolean().optional(),
|
|
482
487
|
collection: z.string().optional(),
|
|
483
488
|
fields: z.array(EntityFieldSchema).min(1, "At least one field is required"),
|
|
484
489
|
instances: z.array(z.record(z.unknown())).optional(),
|