@almadar/core 10.37.0 → 10.39.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.
@@ -1,6 +1,7 @@
1
- import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-Cd6ibbZc.js';
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-CVylqnAf.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-BqPofdgp.js';
4
5
 
5
6
  /**
6
7
  * Represents a state in the state machine
@@ -496,6 +497,21 @@ declare const REFERENCE_CONFIG_TYPES: readonly ["entity", "trait", "event"];
496
497
  type ReferenceConfigType = (typeof REFERENCE_CONFIG_TYPES)[number];
497
498
  /** True when a config field's `type` marks its value as an entity/trait/event reference. */
498
499
  declare function isReferenceConfigType(type: string): type is ReferenceConfigType;
500
+ /**
501
+ * The secret config-field types. A config knob typed `secret` holds a
502
+ * CREDENTIAL (or a reference to one): it must never flow into spec.json,
503
+ * traces, plan snapshots, or factory bakes in cleartext — consumers mask it
504
+ * in UI (password-rendered input) and exclude it from serialization. The
505
+ * `.lolo` language does not yet accept `secret` as a config-field type
506
+ * (orbital-lolo parser gate); this contract is the single deterministic
507
+ * source downstream consumers (studio, verifiers, rabit bakes) key on once
508
+ * it lands — until then hosts use a `string` knob plus a password-rendered
509
+ * `ui-input` (the std-service-custom-bearer pattern).
510
+ */
511
+ declare const SECRET_CONFIG_TYPES: readonly ["secret"];
512
+ type SecretConfigType = (typeof SECRET_CONFIG_TYPES)[number];
513
+ /** True when a config field's `type` marks its value as a credential to be masked. */
514
+ declare function isSecretConfigType(type: string): type is SecretConfigType;
499
515
  type ConfigFieldDeclaration = {
500
516
  readonly type: string;
501
517
  readonly default?: TraitConfigValue;
@@ -546,7 +562,7 @@ declare const TraitCategorySchema: z.ZodEnum<["lifecycle", "temporal", "validati
546
562
  /**
547
563
  * Field types for trait data entities
548
564
  */
549
- type TraitFieldType = 'string' | 'number' | 'boolean' | 'date' | 'array' | 'object' | 'timestamp' | 'datetime' | 'enum';
565
+ type TraitFieldType = 'string' | 'number' | 'boolean' | 'date' | 'array' | 'object' | 'timestamp' | 'datetime' | 'enum' | 'email' | 'url' | 'phone' | 'uuid' | 'image';
550
566
  /**
551
567
  * Simplified field for trait data entities
552
568
  */
@@ -1014,19 +1030,19 @@ declare const TraitEventListenerSchema: z.ZodObject<{
1014
1030
  */
1015
1031
  type RequiredField = {
1016
1032
  name: string;
1017
- type: 'string' | 'number' | 'boolean' | 'date' | 'array' | 'object' | 'timestamp' | 'datetime' | 'enum';
1033
+ type: TraitFieldType;
1018
1034
  description?: string;
1019
1035
  };
1020
1036
  declare const RequiredFieldSchema: z.ZodObject<{
1021
1037
  name: z.ZodString;
1022
- type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
1038
+ type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]>;
1023
1039
  description: z.ZodOptional<z.ZodString>;
1024
1040
  }, "strip", z.ZodTypeAny, {
1025
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
1041
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
1026
1042
  name: string;
1027
1043
  description?: string | undefined;
1028
1044
  }, {
1029
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
1045
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
1030
1046
  name: string;
1031
1047
  description?: string | undefined;
1032
1048
  }>;
@@ -1436,14 +1452,14 @@ declare const TraitSchema: z.ZodObject<{
1436
1452
  traitEmbedIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, TraitId, string>>>;
1437
1453
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1438
1454
  name: z.ZodString;
1439
- type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
1455
+ type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]>;
1440
1456
  description: z.ZodOptional<z.ZodString>;
1441
1457
  }, "strip", z.ZodTypeAny, {
1442
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
1458
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
1443
1459
  name: string;
1444
1460
  description?: string | undefined;
1445
1461
  }, {
1446
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
1462
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
1447
1463
  name: string;
1448
1464
  description?: string | undefined;
1449
1465
  }>, "many">>;
@@ -2004,7 +2020,7 @@ declare const TraitSchema: z.ZodObject<{
2004
2020
  entityRefIds?: Record<string, EntityId> | undefined;
2005
2021
  traitEmbedIds?: Record<string, TraitId> | undefined;
2006
2022
  requiredFields?: {
2007
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
2023
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
2008
2024
  name: string;
2009
2025
  description?: string | undefined;
2010
2026
  }[] | undefined;
@@ -2150,7 +2166,7 @@ declare const TraitSchema: z.ZodObject<{
2150
2166
  entityRefIds?: Record<string, string> | undefined;
2151
2167
  traitEmbedIds?: Record<string, string> | undefined;
2152
2168
  requiredFields?: {
2153
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
2169
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
2154
2170
  name: string;
2155
2171
  description?: string | undefined;
2156
2172
  }[] | undefined;
@@ -2240,14 +2256,14 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
2240
2256
  traitEmbedIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, TraitId, string>>>;
2241
2257
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2242
2258
  name: z.ZodString;
2243
- type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
2259
+ type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]>;
2244
2260
  description: z.ZodOptional<z.ZodString>;
2245
2261
  }, "strip", z.ZodTypeAny, {
2246
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
2262
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
2247
2263
  name: string;
2248
2264
  description?: string | undefined;
2249
2265
  }, {
2250
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
2266
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
2251
2267
  name: string;
2252
2268
  description?: string | undefined;
2253
2269
  }>, "many">>;
@@ -2808,7 +2824,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
2808
2824
  entityRefIds?: Record<string, EntityId> | undefined;
2809
2825
  traitEmbedIds?: Record<string, TraitId> | undefined;
2810
2826
  requiredFields?: {
2811
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
2827
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
2812
2828
  name: string;
2813
2829
  description?: string | undefined;
2814
2830
  }[] | undefined;
@@ -2954,7 +2970,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
2954
2970
  entityRefIds?: Record<string, string> | undefined;
2955
2971
  traitEmbedIds?: Record<string, string> | undefined;
2956
2972
  requiredFields?: {
2957
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
2973
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
2958
2974
  name: string;
2959
2975
  description?: string | undefined;
2960
2976
  }[] | undefined;
@@ -3114,14 +3130,14 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
3114
3130
  traitEmbedIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, TraitId, string>>>;
3115
3131
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3116
3132
  name: z.ZodString;
3117
- type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]>;
3133
+ type: z.ZodEnum<["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]>;
3118
3134
  description: z.ZodOptional<z.ZodString>;
3119
3135
  }, "strip", z.ZodTypeAny, {
3120
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
3136
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
3121
3137
  name: string;
3122
3138
  description?: string | undefined;
3123
3139
  }, {
3124
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
3140
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
3125
3141
  name: string;
3126
3142
  description?: string | undefined;
3127
3143
  }>, "many">>;
@@ -3682,7 +3698,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
3682
3698
  entityRefIds?: Record<string, EntityId> | undefined;
3683
3699
  traitEmbedIds?: Record<string, TraitId> | undefined;
3684
3700
  requiredFields?: {
3685
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
3701
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
3686
3702
  name: string;
3687
3703
  description?: string | undefined;
3688
3704
  }[] | undefined;
@@ -3828,7 +3844,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
3828
3844
  entityRefIds?: Record<string, string> | undefined;
3829
3845
  traitEmbedIds?: Record<string, string> | undefined;
3830
3846
  requiredFields?: {
3831
- type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "enum";
3847
+ type: "string" | "number" | "boolean" | "object" | "date" | "array" | "timestamp" | "datetime" | "email" | "url" | "phone" | "uuid" | "image" | "enum";
3832
3848
  name: string;
3833
3849
  description?: string | undefined;
3834
3850
  }[] | undefined;
@@ -3874,4 +3890,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
3874
3890
  } | undefined;
3875
3891
  }>]>;
3876
3892
 
3877
- export { type TraitEventContract as $, RequiredFieldSchema as A, type StateInput as B, type CallSiteConfig as C, type DeclaredTraitConfig as D, type EntityFieldContract as E, type StateMachine as F, type Guard as G, type StateMachineInput as H, StateMachineSchema as I, StateSchema as J, TickIntervalSchema as K, type ListenSource as L, type TraitCategory as M, TraitCategorySchema as N, type OrbitalTraitRef as O, type PayloadField as P, type TraitConfigObject as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, TraitConfigSchema as U, type TraitConfigValue as V, TraitConfigValueSchema as W, type TraitDataEntity as X, TraitDataEntitySchema as Y, type TraitEntityField as Z, TraitEntityFieldSchema as _, type TraitReference as a, TraitEventContractSchema as a0, TraitEventListenerSchema as a1, type TraitInput as a2, type TraitRef as a3, TraitRefSchema as a4, type TraitReferenceInput as a5, TraitReferenceSchema as a6, TraitSchema as a7, type TraitTick as a8, TraitTickSchema as a9, type TraitUIBinding as aa, type Transition as ab, type TransitionInput as ac, TransitionSchema as ad, configRefEventKnob as ae, getTraitConfig as af, getTraitName as ag, isCallSiteConfigDeclaration as ah, isCircuitEvent as ai, isInlineTrait as aj, isReferenceConfigType as ak, normalizeCallSiteConfigToValues as al, normalizeTraitRef as am, resolveConfigRefEventName as an, type TraitScope as ao, type CallSiteConfigEntry as b, type Trait as c, type TraitConfig as d, CONFIG_REF_EVENT_PATTERN as e, type ConfigFieldDeclaration as f, ConfigFieldDeclarationSchema as g, type ConfigFieldItemsDeclaration as h, type ConfigRefEventError as i, DeclaredTraitConfigSchema as j, EntityFieldContractSchema as k, type Event as l, type EventInput as m, type EventPayloadField as n, EventPayloadFieldSchema as o, EventSchema as p, type EventScope as q, EventScopeSchema as r, type GuardInput as s, GuardSchema as t, ListenSourceSchema as u, OrbitalTraitRefSchema as v, PayloadFieldSchema as w, type PresentationType as x, type ReferenceConfigType as y, type RequiredField as z };
3893
+ export { type TraitEntityField as $, RequiredFieldSchema as A, SECRET_CONFIG_TYPES as B, type CallSiteConfig as C, type DeclaredTraitConfig as D, type EntityFieldContract as E, type SecretConfigType as F, type Guard as G, type StateInput as H, type StateMachine as I, type StateMachineInput as J, StateMachineSchema as K, type ListenSource as L, StateSchema as M, TickIntervalSchema as N, type OrbitalTraitRef as O, type PayloadField as P, type TraitCategory as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, TraitCategorySchema as U, type TraitConfigObject as V, TraitConfigSchema as W, type TraitConfigValue as X, TraitConfigValueSchema as Y, type TraitDataEntity as Z, TraitDataEntitySchema as _, type TraitReference as a, TraitEntityFieldSchema as a0, type TraitEventContract as a1, TraitEventContractSchema as a2, TraitEventListenerSchema as a3, type TraitInput as a4, type TraitRef as a5, TraitRefSchema as a6, type TraitReferenceInput as a7, TraitReferenceSchema as a8, TraitSchema as a9, type TraitTick as aa, TraitTickSchema as ab, type TraitUIBinding as ac, type Transition as ad, type TransitionInput as ae, TransitionSchema as af, configRefEventKnob as ag, getTraitConfig as ah, getTraitName as ai, isCallSiteConfigDeclaration as aj, isCircuitEvent as ak, isInlineTrait as al, isReferenceConfigType as am, isSecretConfigType as an, normalizeCallSiteConfigToValues as ao, normalizeTraitRef as ap, resolveConfigRefEventName as aq, type TraitScope as ar, type CallSiteConfigEntry as b, type Trait as c, type TraitConfig as d, CONFIG_REF_EVENT_PATTERN as e, type ConfigFieldDeclaration as f, ConfigFieldDeclarationSchema as g, type ConfigFieldItemsDeclaration as h, type ConfigRefEventError as i, DeclaredTraitConfigSchema as j, EntityFieldContractSchema as k, type Event as l, type EventInput as m, type EventPayloadField as n, EventPayloadFieldSchema as o, EventSchema as p, type EventScope as q, EventScopeSchema as r, type GuardInput as s, GuardSchema as t, ListenSourceSchema as u, OrbitalTraitRefSchema as v, PayloadFieldSchema as w, type PresentationType as x, type ReferenceConfigType as y, type RequiredField as z };
@@ -1,13 +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-CBdyt_gd.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-CBdyt_gd.js';
3
- import { F as FieldValue, E as EntityField, a as EntityPersistence, bn as ServiceParams, J as JsonValue, e as Entity, g as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, aw as JsonObject, f as ToolArgs, c as Effect } from '../effect-Cd6ibbZc.js';
4
- export { h as ANIMATION_NAMES, i as ASSET_ASPECTS, j as ASSET_DIMENSIONS, k as AgentEffect, l as AnimationDef, m as AnimationDefInput, n as AnimationDefSchema, o as AnimationName, p as AnimationNameSchema, q as ApplicationEffect, r as ArrayEntityField, s as Asset, t as AssetAspect, u as AssetAspectSchema, v as AssetCatalog, w as AssetCatalogEntry, x as AssetCatalogEntryInput, y as AssetCatalogEntrySchema, z as AssetCatalogSchema, B as AssetDimension, C as AssetDimensionSchema, D as AssetSchema, G as AssetUrl, H as AtomicEffect, I as BehaviorEffect, K as CAMERA_MODES, L as CallServiceConfig, M as CallServiceEffect, N as Camera, Q as CameraMode, S as CameraModeSchema, U as CameraSchema, V as CheckpointLoadEffect, W as CheckpointSaveEffect, X as ComposeEffect, Y as DerefEffect, Z as DespawnEffect, _ as DoEffect, $ as ENTITY_ROLES, a0 as EffectInput, a1 as EffectSchema, a2 as EmitConfig, a3 as EmitEffect, a4 as EntityData, a5 as EntityFieldInput, a6 as EntityFieldSchema, d as EntityId, a7 as EntityIdSchema, a8 as EntityPersistenceSchema, a9 as EntityRole, aa as EntityRoleSchema, ab as EntitySchema, ac as EntityWith, ad as EnumEntityField, ae as EvaluateConfig, af as EvaluateEffect, ag as EventIdSchema, ah as FetchEffect, ai as FetchOptions, aj as FetchResult, ak as Field, al as FieldFormat, am as FieldFormatSchema, an as FieldSchema, ao as FieldType, ap as FieldTypeSchema, aq as ForwardConfig, ar as ForwardEffect, as as IdForKind, at as IdKind, au as IdentityLedger, av as IdentityLedgerSchema, ax as LedgerEntry, ay as LedgerEntrySchema, az as LedgerKind, aA as LedgerKindSchema, aB as LlmEffect, aC as LogEffect, aD as McpServiceDef, aE as McpServiceDefSchema, aF as MemoryEffect, aG as NavigateEffect, aH as NnConfig, aI as NnLayer, aJ as NotifyEffect, aK as OrbitalEntity, aL as OrbitalEntityInput, aM as OrbitalEntitySchema, aN as OrbitalIdSchema, aO as OsEffect, aP as PATTERN_TYPES, P as PageId, aQ as PageIdSchema, aR as PaletteEntryId, aS as PaletteEntryIdSchema, aT as PatternConfig, aW as PatternType, aX as PersistData, aY as PersistEffect, aZ as PersistEmitConfig, a_ as RefEffect, R as RelationConfig, a$ as RelationConfigSchema, b0 as RelationEntityField, b1 as RenderBinding, b2 as RenderChildrenMap, b3 as RenderItemLambda, b4 as RenderUIEffect, b5 as RenderUINode, b6 as ResolvedPatternProps, b7 as RestAuthConfig, b8 as RestAuthConfigSchema, b9 as RestServiceDef, ba as RestServiceDefSchema, bb as SERVICE_TYPES, bc as SPRITE_DIRECTIONS, bd as ScalarEntityField, be as ScenePos, bf as ScenePosSchema, bg as SemanticAssetRef, bh as SemanticAssetRefInput, bi as SemanticAssetRefSchema, bj as ServiceDefinition, bk as ServiceDefinitionSchema, bl as ServiceId, bm as ServiceIdSchema, bo as ServiceParamsValue, bp as ServiceRef, bq as ServiceRefObject, br as ServiceRefObjectSchema, bs as ServiceRefSchema, bt as ServiceRefStringSchema, bu as ServiceType, bv as ServiceTypeSchema, bw as SessionEffect, bx as SetEffect, by as SocketEvents, bz as SocketEventsSchema, bA as SocketServiceDef, bB as SocketServiceDefSchema, bC as SpawnEffect, bD as SpriteDirection, bE as SpriteDirectionSchema, bF as SpriteSheetAtlas, bG as SpriteSheetAtlasInput, bH as SpriteSheetAtlasSchema, bI as SubTexture, bJ as SubTextureSchema, bK as SwapEffect, bL as TextureAtlas, bM as TextureAtlasSchema, bN as ThemeId, bO as ThemeIdSchema, bP as Tilesheet, bQ as TilesheetSchema, bR as TraceEffect, bS as TrainConfig, bT as TrainEffect, bU as TraitIdSchema, bV as TypedEffect, bW as UISlot, bX as UISlotSchema, bY as UI_SLOTS, bZ as VISUAL_STYLES, b_ as ValidateEffect, b$ as VisualStyle, c0 as VisualStyleSchema, c1 as WatchEffect, c2 as WatchOptions, c3 as asEntityId, c4 as asEventId, c5 as asOrbitalId, c6 as asPageId, c7 as asPaletteEntryId, c8 as asServiceId, c9 as asThemeId, ca as asTraitId, cb as atomic, cc as callService, cd as createAssetKey, ce as deref, cf as deriveCollection, cg as despawn, ch as doEffects, ci as emit, cj as findService, ck as getDefaultAnimationsForRole, cl as getServiceNames, cm as hasService, cn as idKindOf, co as idPrefix, cp as isEffect, cq as isEntityId, cr as isEventId, cs as isFieldValue, ct as isJsonArray, cu as isJsonObject, cv as isJsonPrimitive, cw as isMcpService, cx as isOrbitalId, cy as isPageId, cz as isPaletteEntryId, cA as isRestService, cB as isRuntimeEntity, cC as isSExprEffect, cD as isServiceId, cE as isServiceReference, cF as isServiceReferenceObject, cG as isSocketService, cH as isThemeId, cI as isTraitId, cJ as isValidPatternType, cK as ledgerCurName, cL as ledgerRename, cM as ledgerResolveName, cN as mintId, cO as navigate, cP as notify, cQ as parseAssetKey, cR as parseServiceRef, cS as persist, cT as persistenceModeAllowsOverrides, cU as ref, cV as renderUI, cW as set, cX as spawn, cY as swap, cZ as validateAssetAnimations, c_ as watch } from '../effect-Cd6ibbZc.js';
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-D6d2ErNo.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-D6d2ErNo.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-CVylqnAf.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-CVylqnAf.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, ab as Transition, l as Event, V as TraitConfigValue, M as TraitCategory, ao as TraitScope } from '../trait-CEO7o8Ne.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 StateInput, F as StateMachine, H as StateMachineInput, I as StateMachineSchema, J as StateSchema, K as TickIntervalSchema, N as TraitCategorySchema, Q as TraitConfigObject, U as TraitConfigSchema, W as TraitConfigValueSchema, X as TraitDataEntity, Y as TraitDataEntitySchema, Z as TraitEntityField, _ as TraitEntityFieldSchema, $ as TraitEventContract, a0 as TraitEventContractSchema, T as TraitEventListener, a1 as TraitEventListenerSchema, a2 as TraitInput, a3 as TraitRef, a4 as TraitRefSchema, a5 as TraitReferenceInput, a6 as TraitReferenceSchema, a7 as TraitSchema, a8 as TraitTick, a9 as TraitTickSchema, aa as TraitUIBinding, ac as TransitionInput, ad as TransitionSchema, ae as configRefEventKnob, af as getTraitConfig, ag as getTraitName, ah as isCallSiteConfigDeclaration, ai as isCircuitEvent, aj as isInlineTrait, ak as isReferenceConfigType, al as normalizeCallSiteConfigToValues, am as normalizeTraitRef, an as resolveConfigRefEventName } from '../trait-CEO7o8Ne.js';
10
- import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-1YGQKdbm.js';
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-BCpJvo8I.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-BCpJvo8I.js';
10
+ import { a3 as ServiceParams, A as AnyPatternConfig, E as Effect } from '../effect-BqPofdgp.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-BqPofdgp.js';
12
+ import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-DIIZXx8y.js';
11
13
 
12
14
  /**
13
15
  * S-Expression Bindings
@@ -1371,9 +1373,9 @@ interface ValidationDocument {
1371
1373
  */
1372
1374
  type PersistActionName = "create" | "update" | "delete" | "list" | "query";
1373
1375
  /**
1374
- * Union of all service action names across all 22 service contracts.
1376
+ * Union of all service action names across the registered service contracts.
1375
1377
  */
1376
- type ServiceActionName = PersistActionName | "get" | "getById" | "set" | "remove" | "size" | "generate" | "classify" | "extract" | "summarize" | "send" | "sendMessage" | "sendSMS" | "sendWhatsApp" | "authorize" | "revoke" | "token" | "refresh" | "userinfo" | "register" | "cloneRepo" | "commit" | "createBranch" | "createPR" | "getPRComments" | "pull" | "push" | "build" | "compile" | "compileSchema" | "run" | "validate" | "validateSchema" | "publish" | "enqueue" | "dequeue" | "cancel" | "upload" | "download" | "getSignedUrl" | "search" | "getIssue" | "listIssues" | "generateAll" | "generateDomainLanguage" | "generateFix" | "generateOrbitals" | "cancelGeneration" | "getGenerationHistory" | "recordGeneration" | "startSpan" | "endSpan" | "getSpan" | "recordMetric" | "getMetrics" | "increment" | "logs" | "addEvent" | "emit" | "findEmitters" | "findListeners" | "getListenerCounts" | "getChannel" | "subscribe" | "getUserPreferences" | "updateUserPreferences" | "getThreadHistory" | "getVideo" | "createPaymentIntent" | "confirmPayment" | "refund" | "complete" | "fail" | "expire" | "resume" | "status" | "stop" | "lock" | "unlock" | "clear";
1378
+ type ServiceActionName = PersistActionName | "get" | "getById" | "set" | "remove" | "size" | "generate" | "classify" | "extract" | "summarize" | "send" | "sendMessage" | "sendSMS" | "sendWhatsApp" | "authorize" | "revoke" | "token" | "refresh" | "userinfo" | "register" | "cloneRepo" | "commit" | "createBranch" | "createPR" | "getPRComments" | "pull" | "push" | "build" | "compile" | "compileSchema" | "run" | "validate" | "validateSchema" | "publish" | "enqueue" | "dequeue" | "cancel" | "upload" | "download" | "getSignedUrl" | "search" | "getIssue" | "listIssues" | "generateAll" | "generateDomainLanguage" | "generateFix" | "generateOrbitals" | "cancelGeneration" | "getGenerationHistory" | "recordGeneration" | "startSpan" | "endSpan" | "getSpan" | "recordMetric" | "getMetrics" | "increment" | "logs" | "addEvent" | "emit" | "findEmitters" | "findListeners" | "getListenerCounts" | "getChannel" | "subscribe" | "getUserPreferences" | "updateUserPreferences" | "getThreadHistory" | "listDocuments" | "fetchDocument" | "getVideo" | "createPaymentIntent" | "confirmPayment" | "refund" | "complete" | "fail" | "expire" | "resume" | "status" | "stop" | "lock" | "unlock" | "clear";
1377
1379
  /**
1378
1380
  * Action definition for a service contract.
1379
1381
  *
@@ -160,13 +160,18 @@ function isJsonArray(value) {
160
160
  }
161
161
 
162
162
  // src/types/field.ts
163
- var FieldTypeSchema = z.enum([
163
+ var FIELD_TYPES = [
164
164
  "string",
165
165
  "number",
166
166
  "boolean",
167
167
  "date",
168
168
  "timestamp",
169
169
  "datetime",
170
+ "email",
171
+ "url",
172
+ "phone",
173
+ "uuid",
174
+ "image",
170
175
  "array",
171
176
  "object",
172
177
  "enum",
@@ -174,7 +179,12 @@ var FieldTypeSchema = z.enum([
174
179
  "trait",
175
180
  "slot",
176
181
  "pattern"
177
- ]);
182
+ ];
183
+ var SEMANTIC_STRING_TYPES = ["email", "url", "phone", "uuid", "image"];
184
+ function isSemanticStringType(type) {
185
+ return SEMANTIC_STRING_TYPES.includes(type);
186
+ }
187
+ var FieldTypeSchema = z.enum(FIELD_TYPES);
178
188
  var RelationCardinalitySchema = z.enum([
179
189
  "one",
180
190
  "many",
@@ -202,17 +212,35 @@ var RelationConfigSchema = z.object({
202
212
  };
203
213
  return normalized;
204
214
  });
205
- var FieldFormatSchema = z.enum([
206
- "email",
207
- "url",
208
- "phone",
209
- "date",
210
- "datetime",
211
- "uuid",
212
- "image",
213
- "avatar",
214
- "thumbnail"
215
- ]);
215
+ var EMAIL_RE = /^[^\s@]+@[^\s@.]+\.[^\s@]+$/;
216
+ var URL_RE = /^https?:\/\/[^\s]+$/;
217
+ var PHONE_RE = /^[+]?[\d\s().-]{7,}$/;
218
+ var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
219
+ function isEmailValue(value) {
220
+ return EMAIL_RE.test(value);
221
+ }
222
+ function isUrlValue(value) {
223
+ return URL_RE.test(value);
224
+ }
225
+ function isPhoneValue(value) {
226
+ return PHONE_RE.test(value);
227
+ }
228
+ function isUuidValue(value) {
229
+ return UUID_RE.test(value);
230
+ }
231
+ function isSemanticStringValue(type, value) {
232
+ switch (type) {
233
+ case "email":
234
+ return isEmailValue(value);
235
+ case "url":
236
+ case "image":
237
+ return isUrlValue(value);
238
+ case "phone":
239
+ return isPhoneValue(value);
240
+ case "uuid":
241
+ return isUuidValue(value);
242
+ }
243
+ }
216
244
  var FIELD_TYPE_ALIASES = {
217
245
  text: "string",
218
246
  int: "number",
@@ -224,7 +252,6 @@ var EntityFieldSchema = z.lazy(() => {
224
252
  name: z.string().min(1, "Field name is required").optional(),
225
253
  required: z.boolean().optional(),
226
254
  default: JsonValueSchema.optional(),
227
- format: FieldFormatSchema.optional(),
228
255
  min: z.number().optional(),
229
256
  max: z.number().optional(),
230
257
  properties: z.record(EntityFieldSchema).optional(),
@@ -261,6 +288,11 @@ var EntityFieldSchema = z.lazy(() => {
261
288
  scalarVariant("date"),
262
289
  scalarVariant("timestamp"),
263
290
  scalarVariant("datetime"),
291
+ scalarVariant("email"),
292
+ scalarVariant("url"),
293
+ scalarVariant("phone"),
294
+ scalarVariant("uuid"),
295
+ scalarVariant("image"),
264
296
  scalarVariant("trait"),
265
297
  scalarVariant("slot"),
266
298
  scalarVariant("pattern"),
@@ -760,6 +792,10 @@ var REFERENCE_CONFIG_TYPES = ["entity", "trait", "event"];
760
792
  function isReferenceConfigType(type) {
761
793
  return REFERENCE_CONFIG_TYPES.includes(type);
762
794
  }
795
+ var SECRET_CONFIG_TYPES = ["secret"];
796
+ function isSecretConfigType(type) {
797
+ return SECRET_CONFIG_TYPES.includes(type);
798
+ }
763
799
  var ConfigFieldItemsDeclarationSchema = z.lazy(
764
800
  () => z.object({
765
801
  type: z.string().optional(),
@@ -811,7 +847,12 @@ var TraitEntityFieldSchema = z.object({
811
847
  "object",
812
848
  "timestamp",
813
849
  "datetime",
814
- "enum"
850
+ "enum",
851
+ "email",
852
+ "url",
853
+ "phone",
854
+ "uuid",
855
+ "image"
815
856
  ]),
816
857
  required: z.boolean().optional(),
817
858
  default: TraitConfigValueSchema.optional(),
@@ -936,7 +977,7 @@ var TraitEventListenerSchema = z.object({
936
977
  });
937
978
  var RequiredFieldSchema = z.object({
938
979
  name: z.string().min(1),
939
- type: z.enum(["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]),
980
+ type: z.enum(["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]),
940
981
  description: z.string().optional()
941
982
  });
942
983
  var TraitReferenceSchema = z.object({
@@ -2188,6 +2229,9 @@ var PATTERN_TYPES = [
2188
2229
  "hero-section",
2189
2230
  "hstack",
2190
2231
  "icon",
2232
+ "import-preview-tree",
2233
+ "import-progress",
2234
+ "import-source-picker",
2191
2235
  "infinite-scroll-sentinel",
2192
2236
  "input",
2193
2237
  "input-group",
@@ -2614,6 +2658,6 @@ function widenTier(tier) {
2614
2658
  return tier;
2615
2659
  }
2616
2660
 
2617
- export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, MOCK_PERSONAS, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, callService, collectBindings, configRefEventKnob, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, despawn, doEffects, emit, encodeDevIdentityToken, findMockPersona, findService, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, idKindOf, idPrefix, inferTsType, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isEffect, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPlanSnapshot, isReferenceConfigType, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mintId, navigate, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, ref, renderUI, resolveConfigRefEventName, resolvePersonaSpec, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
2661
+ export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, MOCK_PERSONAS, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, callService, collectBindings, configRefEventKnob, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, despawn, doEffects, emit, encodeDevIdentityToken, findMockPersona, findService, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, idKindOf, idPrefix, inferTsType, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isEffect, isEmailValue, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mintId, navigate, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, ref, renderUI, resolveConfigRefEventName, resolvePersonaSpec, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
2618
2662
  //# sourceMappingURL=index.js.map
2619
2663
  //# sourceMappingURL=index.js.map