@almadar/core 10.0.0 → 10.2.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.
@@ -1234,11 +1234,71 @@ declare const AssetMapSchema: z.ZodObject<{
1234
1234
  files?: string[] | undefined;
1235
1235
  }>;
1236
1236
  }>;
1237
+ /**
1238
+ * Single browsable asset in the inspector picker catalog.
1239
+ * Backs the asset/icon pickers — a flat list the inspector renders for
1240
+ * the user to choose from when a config field's control is `'asset'`.
1241
+ */
1242
+ interface AssetCatalogEntry {
1243
+ /** Resolvable URL to the asset. */
1244
+ url: string;
1245
+ /** Display name for the asset. */
1246
+ name: string;
1247
+ /** Grouping category within the catalog. */
1248
+ category: string;
1249
+ /** Asset kind the picker dispatches on. */
1250
+ kind: 'image' | 'spritesheet' | 'audio' | 'scene' | 'portrait' | 'model' | 'other';
1251
+ /** Optional thumbnail URL for grid previews. */
1252
+ thumbnailUrl?: string;
1253
+ }
1254
+ declare const AssetCatalogEntrySchema: z.ZodObject<{
1255
+ url: z.ZodString;
1256
+ name: z.ZodString;
1257
+ category: z.ZodString;
1258
+ kind: z.ZodEnum<["image", "spritesheet", "audio", "scene", "portrait", "model", "other"]>;
1259
+ thumbnailUrl: z.ZodOptional<z.ZodString>;
1260
+ }, "strip", z.ZodTypeAny, {
1261
+ url: string;
1262
+ name: string;
1263
+ category: string;
1264
+ kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
1265
+ thumbnailUrl?: string | undefined;
1266
+ }, {
1267
+ url: string;
1268
+ name: string;
1269
+ category: string;
1270
+ kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
1271
+ thumbnailUrl?: string | undefined;
1272
+ }>;
1273
+ /**
1274
+ * Flat list of browsable assets surfaced by the inspector pickers.
1275
+ */
1276
+ type AssetCatalog = AssetCatalogEntry[];
1277
+ declare const AssetCatalogSchema: z.ZodArray<z.ZodObject<{
1278
+ url: z.ZodString;
1279
+ name: z.ZodString;
1280
+ category: z.ZodString;
1281
+ kind: z.ZodEnum<["image", "spritesheet", "audio", "scene", "portrait", "model", "other"]>;
1282
+ thumbnailUrl: z.ZodOptional<z.ZodString>;
1283
+ }, "strip", z.ZodTypeAny, {
1284
+ url: string;
1285
+ name: string;
1286
+ category: string;
1287
+ kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
1288
+ thumbnailUrl?: string | undefined;
1289
+ }, {
1290
+ url: string;
1291
+ name: string;
1292
+ category: string;
1293
+ kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
1294
+ thumbnailUrl?: string | undefined;
1295
+ }>, "many">;
1237
1296
  type SemanticAssetRefInput = z.input<typeof SemanticAssetRefSchema>;
1238
1297
  type ResolvedAssetInput = z.input<typeof ResolvedAssetSchema>;
1239
1298
  type AssetMappingInput = z.input<typeof AssetMappingSchema>;
1240
1299
  type AssetMapInput = z.input<typeof AssetMapSchema>;
1241
1300
  type AnimationDefInput = z.input<typeof AnimationDefSchema>;
1301
+ type AssetCatalogEntryInput = z.input<typeof AssetCatalogEntrySchema>;
1242
1302
  /**
1243
1303
  * Creates a semantic asset key from role and category.
1244
1304
  *
@@ -2722,11 +2782,27 @@ declare const TraitConfigSchema: z.ZodType<TraitConfig>;
2722
2782
  * `@config.X` binding context when no call-site override is supplied.
2723
2783
  *
2724
2784
  * Authored as `config { foo : string = "bar" }` in `.lolo`; lowered to
2725
- * `{ foo: { type: "string", default: "bar" } }` in `.orb`.
2785
+ * `{ foo: { type: "string", default: "bar" } }` in `.orb`. The optional
2786
+ * metadata fields below (`label`/`description`/`tier`/`values`/`synonyms`)
2787
+ * carry the `.lolo` `@label`/`@description`/`@tier`/`@synonyms` annotations and
2788
+ * the enum member list through lowering — consumed by config-driven UI
2789
+ * (e.g. the playground property inspector) to render typed controls.
2726
2790
  */
2727
2791
  interface ConfigFieldDeclaration {
2728
2792
  readonly type: string;
2729
2793
  readonly default?: TraitConfigValue;
2794
+ /** `@label` — human-readable control label. */
2795
+ readonly label?: string;
2796
+ /** `@description` — help/tooltip text for the field. */
2797
+ readonly description?: string;
2798
+ /** `@tier` — disclosure tier: `presentation`|`domain`|`policy`|`infra`|`internal`. */
2799
+ readonly tier?: string;
2800
+ /** Enum members when the field's type is a string union — drives a select control. */
2801
+ readonly values?: ReadonlyArray<string>;
2802
+ /** `@synonyms` — comma-separated vocabulary synonyms (metadata). */
2803
+ readonly synonyms?: string;
2804
+ /** Deterministic control-type tag the inspector dispatches on to pick its editor. */
2805
+ readonly control?: 'icon' | 'asset' | 'color' | 'text' | 'number' | 'boolean' | 'select';
2730
2806
  }
2731
2807
  declare const ConfigFieldDeclarationSchema: z.ZodType<ConfigFieldDeclaration>;
2732
2808
  /**
@@ -3104,12 +3180,12 @@ declare const ListenSourceSchema: z.ZodUnion<[z.ZodObject<{
3104
3180
  trait: z.ZodString;
3105
3181
  }, "strip", z.ZodTypeAny, {
3106
3182
  trait: string;
3107
- orbital: string;
3108
3183
  kind: "orbital";
3184
+ orbital: string;
3109
3185
  }, {
3110
3186
  trait: string;
3111
- orbital: string;
3112
3187
  kind: "orbital";
3188
+ orbital: string;
3113
3189
  }>]>;
3114
3190
  interface TraitEventListener {
3115
3191
  /** Event key to listen for (bare event name, no source prefix in the new shape) */
@@ -3168,12 +3244,12 @@ declare const TraitEventListenerSchema: z.ZodObject<{
3168
3244
  trait: z.ZodString;
3169
3245
  }, "strip", z.ZodTypeAny, {
3170
3246
  trait: string;
3171
- orbital: string;
3172
3247
  kind: "orbital";
3248
+ orbital: string;
3173
3249
  }, {
3174
3250
  trait: string;
3175
- orbital: string;
3176
3251
  kind: "orbital";
3252
+ orbital: string;
3177
3253
  }>]>>;
3178
3254
  }, "strip", z.ZodTypeAny, {
3179
3255
  event: string;
@@ -3189,8 +3265,8 @@ declare const TraitEventListenerSchema: z.ZodObject<{
3189
3265
  kind: "trait";
3190
3266
  } | {
3191
3267
  trait: string;
3192
- orbital: string;
3193
3268
  kind: "orbital";
3269
+ orbital: string;
3194
3270
  } | undefined;
3195
3271
  scope?: "internal" | "external" | undefined;
3196
3272
  payloadMapping?: Record<string, string> | undefined;
@@ -3208,8 +3284,8 @@ declare const TraitEventListenerSchema: z.ZodObject<{
3208
3284
  kind: "trait";
3209
3285
  } | {
3210
3286
  trait: string;
3211
- orbital: string;
3212
3287
  kind: "orbital";
3288
+ orbital: string;
3213
3289
  } | undefined;
3214
3290
  scope?: "internal" | "external" | undefined;
3215
3291
  payloadMapping?: Record<string, string> | undefined;
@@ -3958,12 +4034,12 @@ declare const TraitSchema: z.ZodObject<{
3958
4034
  trait: z.ZodString;
3959
4035
  }, "strip", z.ZodTypeAny, {
3960
4036
  trait: string;
3961
- orbital: string;
3962
4037
  kind: "orbital";
4038
+ orbital: string;
3963
4039
  }, {
3964
4040
  trait: string;
3965
- orbital: string;
3966
4041
  kind: "orbital";
4042
+ orbital: string;
3967
4043
  }>]>>;
3968
4044
  }, "strip", z.ZodTypeAny, {
3969
4045
  event: string;
@@ -3979,8 +4055,8 @@ declare const TraitSchema: z.ZodObject<{
3979
4055
  kind: "trait";
3980
4056
  } | {
3981
4057
  trait: string;
3982
- orbital: string;
3983
4058
  kind: "orbital";
4059
+ orbital: string;
3984
4060
  } | undefined;
3985
4061
  scope?: "internal" | "external" | undefined;
3986
4062
  payloadMapping?: Record<string, string> | undefined;
@@ -3998,8 +4074,8 @@ declare const TraitSchema: z.ZodObject<{
3998
4074
  kind: "trait";
3999
4075
  } | {
4000
4076
  trait: string;
4001
- orbital: string;
4002
4077
  kind: "orbital";
4078
+ orbital: string;
4003
4079
  } | undefined;
4004
4080
  scope?: "internal" | "external" | undefined;
4005
4081
  payloadMapping?: Record<string, string> | undefined;
@@ -4119,8 +4195,8 @@ declare const TraitSchema: z.ZodObject<{
4119
4195
  kind: "trait";
4120
4196
  } | {
4121
4197
  trait: string;
4122
- orbital: string;
4123
4198
  kind: "orbital";
4199
+ orbital: string;
4124
4200
  } | undefined;
4125
4201
  scope?: "internal" | "external" | undefined;
4126
4202
  payloadMapping?: Record<string, string> | undefined;
@@ -4264,8 +4340,8 @@ declare const TraitSchema: z.ZodObject<{
4264
4340
  kind: "trait";
4265
4341
  } | {
4266
4342
  trait: string;
4267
- orbital: string;
4268
4343
  kind: "orbital";
4344
+ orbital: string;
4269
4345
  } | undefined;
4270
4346
  scope?: "internal" | "external" | undefined;
4271
4347
  payloadMapping?: Record<string, string> | undefined;
@@ -4799,12 +4875,12 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4799
4875
  trait: z.ZodString;
4800
4876
  }, "strip", z.ZodTypeAny, {
4801
4877
  trait: string;
4802
- orbital: string;
4803
4878
  kind: "orbital";
4879
+ orbital: string;
4804
4880
  }, {
4805
4881
  trait: string;
4806
- orbital: string;
4807
4882
  kind: "orbital";
4883
+ orbital: string;
4808
4884
  }>]>>;
4809
4885
  }, "strip", z.ZodTypeAny, {
4810
4886
  event: string;
@@ -4820,8 +4896,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4820
4896
  kind: "trait";
4821
4897
  } | {
4822
4898
  trait: string;
4823
- orbital: string;
4824
4899
  kind: "orbital";
4900
+ orbital: string;
4825
4901
  } | undefined;
4826
4902
  scope?: "internal" | "external" | undefined;
4827
4903
  payloadMapping?: Record<string, string> | undefined;
@@ -4839,8 +4915,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4839
4915
  kind: "trait";
4840
4916
  } | {
4841
4917
  trait: string;
4842
- orbital: string;
4843
4918
  kind: "orbital";
4919
+ orbital: string;
4844
4920
  } | undefined;
4845
4921
  scope?: "internal" | "external" | undefined;
4846
4922
  payloadMapping?: Record<string, string> | undefined;
@@ -4960,8 +5036,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4960
5036
  kind: "trait";
4961
5037
  } | {
4962
5038
  trait: string;
4963
- orbital: string;
4964
5039
  kind: "orbital";
5040
+ orbital: string;
4965
5041
  } | undefined;
4966
5042
  scope?: "internal" | "external" | undefined;
4967
5043
  payloadMapping?: Record<string, string> | undefined;
@@ -5105,8 +5181,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5105
5181
  kind: "trait";
5106
5182
  } | {
5107
5183
  trait: string;
5108
- orbital: string;
5109
5184
  kind: "orbital";
5185
+ orbital: string;
5110
5186
  } | undefined;
5111
5187
  scope?: "internal" | "external" | undefined;
5112
5188
  payloadMapping?: Record<string, string> | undefined;
@@ -5710,12 +5786,12 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5710
5786
  trait: z.ZodString;
5711
5787
  }, "strip", z.ZodTypeAny, {
5712
5788
  trait: string;
5713
- orbital: string;
5714
5789
  kind: "orbital";
5790
+ orbital: string;
5715
5791
  }, {
5716
5792
  trait: string;
5717
- orbital: string;
5718
5793
  kind: "orbital";
5794
+ orbital: string;
5719
5795
  }>]>>;
5720
5796
  }, "strip", z.ZodTypeAny, {
5721
5797
  event: string;
@@ -5731,8 +5807,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5731
5807
  kind: "trait";
5732
5808
  } | {
5733
5809
  trait: string;
5734
- orbital: string;
5735
5810
  kind: "orbital";
5811
+ orbital: string;
5736
5812
  } | undefined;
5737
5813
  scope?: "internal" | "external" | undefined;
5738
5814
  payloadMapping?: Record<string, string> | undefined;
@@ -5750,8 +5826,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5750
5826
  kind: "trait";
5751
5827
  } | {
5752
5828
  trait: string;
5753
- orbital: string;
5754
5829
  kind: "orbital";
5830
+ orbital: string;
5755
5831
  } | undefined;
5756
5832
  scope?: "internal" | "external" | undefined;
5757
5833
  payloadMapping?: Record<string, string> | undefined;
@@ -5871,8 +5947,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5871
5947
  kind: "trait";
5872
5948
  } | {
5873
5949
  trait: string;
5874
- orbital: string;
5875
5950
  kind: "orbital";
5951
+ orbital: string;
5876
5952
  } | undefined;
5877
5953
  scope?: "internal" | "external" | undefined;
5878
5954
  payloadMapping?: Record<string, string> | undefined;
@@ -6016,8 +6092,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
6016
6092
  kind: "trait";
6017
6093
  } | {
6018
6094
  trait: string;
6019
- orbital: string;
6020
6095
  kind: "orbital";
6096
+ orbital: string;
6021
6097
  } | undefined;
6022
6098
  scope?: "internal" | "external" | undefined;
6023
6099
  payloadMapping?: Record<string, string> | undefined;
@@ -6127,4 +6203,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
6127
6203
  } | undefined;
6128
6204
  }>]>;
6129
6205
 
6130
- export { type EnumEntityField as $, type AgentEffect as A, DeclaredTraitConfigSchema as B, type CallServiceConfig as C, type DeclaredTraitConfig as D, type Effect as E, type DerefEffect as F, type DespawnEffect as G, type DoEffect as H, ENTITY_ROLES as I, type EffectInput as J, EffectSchema as K, type EmitConfig as L, type EmitEffect as M, type EntityData as N, type EntityFieldContract as O, EntityFieldContractSchema as P, type EntityFieldInput as Q, type RenderBinding as R, type State as S, type Trait as T, type UISlot as U, EntityFieldSchema as V, EntityPersistenceSchema as W, type EntityRole as X, EntityRoleSchema as Y, EntitySchema as Z, type EntityWith as _, type RenderUIEffect as a, type RestServiceDef as a$, type EvaluateConfig as a0, type EvaluateEffect as a1, type Event as a2, type EventInput as a3, type EventPayloadField as a4, EventPayloadFieldSchema as a5, EventSchema as a6, type EventScope as a7, EventScopeSchema as a8, type FetchEffect as a9, type OrbitalEntity as aA, type OrbitalEntityInput as aB, OrbitalEntitySchema as aC, type OrbitalTraitRef as aD, OrbitalTraitRefSchema as aE, type OsEffect as aF, type PayloadField as aG, PayloadFieldSchema as aH, type PersistData as aI, type PersistEffect as aJ, type PersistEmitConfig as aK, type PresentationType as aL, type RefEffect as aM, type RelationConfig as aN, RelationConfigSchema as aO, type RelationEntityField as aP, type RenderItemLambda as aQ, type RenderUIConfig as aR, type RenderUINode as aS, type RequiredField as aT, RequiredFieldSchema as aU, type ResolvedAsset as aV, type ResolvedAssetInput as aW, ResolvedAssetSchema as aX, type ResolvedPatternProps as aY, type RestAuthConfig as aZ, RestAuthConfigSchema as a_, type FetchOptions as aa, type FetchResult as ab, type Field as ac, type FieldFormat as ad, FieldFormatSchema as ae, FieldSchema as af, type FieldType as ag, FieldTypeSchema as ah, type FieldValue as ai, type ForwardConfig as aj, type ForwardEffect as ak, GAME_TYPES as al, type GameType as am, GameTypeSchema as an, type Guard as ao, type GuardInput as ap, GuardSchema as aq, type ListenSource as ar, ListenSourceSchema as as, type LogEffect as at, type McpServiceDef as au, McpServiceDefSchema as av, type NavigateEffect as aw, type NnConfig as ax, type NnLayer as ay, type NotifyEffect as az, type TraitEventContract as b, callService as b$, RestServiceDefSchema as b0, SERVICE_TYPES as b1, type ScalarEntityField as b2, type SemanticAssetRef as b3, type SemanticAssetRefInput as b4, SemanticAssetRefSchema as b5, type ServiceDefinition as b6, ServiceDefinitionSchema as b7, type ServiceParams as b8, type ServiceParamsValue as b9, TraitConfigValueSchema as bA, type TraitDataEntity as bB, TraitDataEntitySchema as bC, type TraitEntityField as bD, TraitEntityFieldSchema as bE, TraitEventContractSchema as bF, TraitEventListenerSchema as bG, type TraitInput as bH, TraitRefSchema as bI, type TraitReferenceInput as bJ, TraitReferenceSchema as bK, TraitSchema as bL, type TraitTick as bM, TraitTickSchema as bN, type TraitUIBinding as bO, type Transition as bP, type TransitionInput as bQ, TransitionSchema as bR, type TypedEffect as bS, UISlotSchema as bT, UI_SLOTS as bU, VISUAL_STYLES as bV, type VisualStyle as bW, VisualStyleSchema as bX, type WatchEffect as bY, type WatchOptions as bZ, atomic as b_, type ServiceRef as ba, type ServiceRefObject as bb, ServiceRefObjectSchema as bc, ServiceRefSchema as bd, ServiceRefStringSchema as be, type ServiceType as bf, ServiceTypeSchema as bg, type SetEffect as bh, type SocketEvents as bi, SocketEventsSchema as bj, type SocketServiceDef as bk, SocketServiceDefSchema as bl, type SpawnEffect as bm, type StateInput as bn, type StateMachine as bo, type StateMachineInput as bp, StateMachineSchema as bq, StateSchema as br, type SwapEffect as bs, type TrainConfig as bt, type TrainEffect as bu, type TraitCategory as bv, TraitCategorySchema as bw, type TraitConfigObject as bx, TraitConfigSchema as by, type TraitConfigValue as bz, type Entity as c, createAssetKey as c0, deref as c1, deriveCollection as c2, despawn as c3, doEffects as c4, emit as c5, findService as c6, getDefaultAnimationsForRole as c7, getServiceNames as c8, getTraitConfig as c9, type TraitScope as cA, getTraitName as ca, hasService as cb, isCircuitEvent as cc, isEffect as cd, isInlineTrait as ce, isMcpService as cf, isRestService as cg, isRuntimeEntity as ch, isSExprEffect as ci, isServiceReference as cj, isServiceReferenceObject as ck, isSingletonEntity as cl, isSocketService as cm, navigate as cn, normalizeTraitRef as co, notify as cp, parseAssetKey as cq, parseServiceRef as cr, persist as cs, ref as ct, renderUI as cu, set as cv, spawn as cw, swap as cx, validateAssetAnimations as cy, watch as cz, type TraitEventListener as d, type TraitConfig as e, type EntityField as f, type EntityPersistence as g, type EntityRow as h, type TraitRef as i, type TraitReference as j, type AnimationDef as k, type AnimationDefInput as l, AnimationDefSchema as m, type ArrayEntityField as n, type AssetMap as o, type AssetMapInput as p, AssetMapSchema as q, type AssetMapping as r, type AssetMappingInput as s, AssetMappingSchema as t, type AtomicEffect as u, type CallServiceEffect as v, type CheckpointLoadEffect as w, type CheckpointSaveEffect as x, type ConfigFieldDeclaration as y, ConfigFieldDeclarationSchema as z };
6206
+ export { EntityPersistenceSchema as $, type AgentEffect as A, type CallServiceEffect as B, type CallServiceConfig as C, type CheckpointLoadEffect as D, type Effect as E, type CheckpointSaveEffect as F, type ConfigFieldDeclaration as G, ConfigFieldDeclarationSchema as H, type DeclaredTraitConfig as I, DeclaredTraitConfigSchema as J, type DerefEffect as K, type DespawnEffect as L, type DoEffect as M, ENTITY_ROLES as N, type EffectInput as O, EffectSchema as P, type EmitConfig as Q, type RenderBinding as R, type State as S, type TraitConfig as T, type UISlot as U, type EmitEffect as V, type EntityData as W, type EntityFieldContract as X, EntityFieldContractSchema as Y, type EntityFieldInput as Z, EntityFieldSchema as _, type Trait as a, type ResolvedAssetInput as a$, type EntityRole as a0, EntityRoleSchema as a1, EntitySchema as a2, type EntityWith as a3, type EnumEntityField as a4, type EvaluateConfig as a5, type EvaluateEffect as a6, type Event as a7, type EventInput as a8, type EventPayloadField as a9, McpServiceDefSchema as aA, type NavigateEffect as aB, type NnConfig as aC, type NnLayer as aD, type NotifyEffect as aE, type OrbitalEntity as aF, type OrbitalEntityInput as aG, OrbitalEntitySchema as aH, type OrbitalTraitRef as aI, OrbitalTraitRefSchema as aJ, type OsEffect as aK, type PayloadField as aL, PayloadFieldSchema as aM, type PersistData as aN, type PersistEffect as aO, type PersistEmitConfig as aP, type PresentationType as aQ, type RefEffect as aR, type RelationConfig as aS, RelationConfigSchema as aT, type RelationEntityField as aU, type RenderItemLambda as aV, type RenderUIConfig as aW, type RenderUINode as aX, type RequiredField as aY, RequiredFieldSchema as aZ, type ResolvedAsset as a_, EventPayloadFieldSchema as aa, EventSchema as ab, type EventScope as ac, EventScopeSchema as ad, type FetchEffect as ae, type FetchOptions as af, type FetchResult as ag, type Field as ah, type FieldFormat as ai, FieldFormatSchema as aj, FieldSchema as ak, type FieldType as al, FieldTypeSchema as am, type FieldValue as an, type ForwardConfig as ao, type ForwardEffect as ap, GAME_TYPES as aq, type GameType as ar, GameTypeSchema as as, type Guard as at, type GuardInput as au, GuardSchema as av, type ListenSource as aw, ListenSourceSchema as ax, type LogEffect as ay, type McpServiceDef as az, type RenderUIEffect as b, type VisualStyle as b$, ResolvedAssetSchema as b0, type ResolvedPatternProps as b1, type RestAuthConfig as b2, RestAuthConfigSchema as b3, type RestServiceDef as b4, RestServiceDefSchema as b5, SERVICE_TYPES as b6, type ScalarEntityField as b7, type SemanticAssetRef as b8, type SemanticAssetRefInput as b9, type TraitCategory as bA, TraitCategorySchema as bB, type TraitConfigObject as bC, TraitConfigSchema as bD, type TraitConfigValue as bE, TraitConfigValueSchema as bF, type TraitDataEntity as bG, TraitDataEntitySchema as bH, type TraitEntityField as bI, TraitEntityFieldSchema as bJ, TraitEventContractSchema as bK, TraitEventListenerSchema as bL, type TraitInput as bM, TraitRefSchema as bN, type TraitReferenceInput as bO, TraitReferenceSchema as bP, TraitSchema as bQ, type TraitTick as bR, TraitTickSchema as bS, type TraitUIBinding as bT, type Transition as bU, type TransitionInput as bV, TransitionSchema as bW, type TypedEffect as bX, UISlotSchema as bY, UI_SLOTS as bZ, VISUAL_STYLES as b_, SemanticAssetRefSchema as ba, type ServiceDefinition as bb, ServiceDefinitionSchema as bc, type ServiceParams as bd, type ServiceParamsValue as be, type ServiceRef as bf, type ServiceRefObject as bg, ServiceRefObjectSchema as bh, ServiceRefSchema as bi, ServiceRefStringSchema as bj, type ServiceType as bk, ServiceTypeSchema as bl, type SetEffect as bm, type SocketEvents as bn, SocketEventsSchema as bo, type SocketServiceDef as bp, SocketServiceDefSchema as bq, type SpawnEffect as br, type StateInput as bs, type StateMachine as bt, type StateMachineInput as bu, StateMachineSchema as bv, StateSchema as bw, type SwapEffect as bx, type TrainConfig as by, type TrainEffect as bz, type TraitEventContract as c, VisualStyleSchema as c0, type WatchEffect as c1, type WatchOptions as c2, atomic as c3, callService as c4, createAssetKey as c5, deref as c6, deriveCollection as c7, despawn as c8, doEffects as c9, set as cA, spawn as cB, swap as cC, validateAssetAnimations as cD, watch as cE, type TraitScope as cF, emit as ca, findService as cb, getDefaultAnimationsForRole as cc, getServiceNames as cd, getTraitConfig as ce, getTraitName as cf, hasService as cg, isCircuitEvent as ch, isEffect as ci, isInlineTrait as cj, isMcpService as ck, isRestService as cl, isRuntimeEntity as cm, isSExprEffect as cn, isServiceReference as co, isServiceReferenceObject as cp, isSingletonEntity as cq, isSocketService as cr, navigate as cs, normalizeTraitRef as ct, notify as cu, parseAssetKey as cv, parseServiceRef as cw, persist as cx, ref as cy, renderUI as cz, type Entity as d, type TraitEventListener as e, type EntityField as f, type EntityPersistence as g, type EntityRow as h, type TraitRef as i, type TraitReference as j, type AnimationDef as k, type AnimationDefInput as l, AnimationDefSchema as m, type ArrayEntityField as n, type AssetCatalog as o, type AssetCatalogEntry as p, type AssetCatalogEntryInput as q, AssetCatalogEntrySchema as r, AssetCatalogSchema as s, type AssetMap as t, type AssetMapInput as u, AssetMapSchema as v, type AssetMapping as w, type AssetMappingInput as x, AssetMappingSchema as y, type AtomicEffect as z };
@@ -1,14 +1,14 @@
1
- import { a as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, O as OrbitalDefinition, b0 as PageTraitRef } from '../schema-BetbBFJb.js';
2
- export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, be as ThemeDefinition, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-BetbBFJb.js';
3
- import { b8 as ServiceParams, T as Trait, c as Entity, h as EntityRow, ai as FieldValue, D as DeclaredTraitConfig, e as TraitConfig, E as Effect, y as ConfigFieldDeclaration, S as State, bP as Transition, f as EntityField, a2 as Event, bz as TraitConfigValue, g as EntityPersistence, bv as TraitCategory, cA as TraitScope } from '../trait-CjyEE6Di.js';
4
- export { A as AgentEffect, k as AnimationDef, l as AnimationDefInput, m as AnimationDefSchema, n as ArrayEntityField, o as AssetMap, p as AssetMapInput, q as AssetMapSchema, r as AssetMapping, s as AssetMappingInput, t as AssetMappingSchema, u as AtomicEffect, C as CallServiceConfig, v as CallServiceEffect, w as CheckpointLoadEffect, x as CheckpointSaveEffect, z as ConfigFieldDeclarationSchema, B as DeclaredTraitConfigSchema, F as DerefEffect, G as DespawnEffect, H as DoEffect, I as ENTITY_ROLES, J as EffectInput, K as EffectSchema, L as EmitConfig, M as EmitEffect, N as EntityData, O as EntityFieldContract, P as EntityFieldContractSchema, Q as EntityFieldInput, V as EntityFieldSchema, W as EntityPersistenceSchema, X as EntityRole, Y as EntityRoleSchema, Z as EntitySchema, _ as EntityWith, $ as EnumEntityField, a0 as EvaluateConfig, a1 as EvaluateEffect, a3 as EventInput, a4 as EventPayloadField, a5 as EventPayloadFieldSchema, a6 as EventSchema, a7 as EventScope, a8 as EventScopeSchema, a9 as FetchEffect, aa as FetchOptions, ab as FetchResult, ac as Field, ad as FieldFormat, ae as FieldFormatSchema, af as FieldSchema, ag as FieldType, ah as FieldTypeSchema, aj as ForwardConfig, ak as ForwardEffect, al as GAME_TYPES, am as GameType, an as GameTypeSchema, ao as Guard, ap as GuardInput, aq as GuardSchema, ar as ListenSource, as as ListenSourceSchema, at as LogEffect, au as McpServiceDef, av as McpServiceDefSchema, aw as NavigateEffect, ax as NnConfig, ay as NnLayer, az as NotifyEffect, aA as OrbitalEntity, aB as OrbitalEntityInput, aC as OrbitalEntitySchema, aD as OrbitalTraitRef, aE as OrbitalTraitRefSchema, aF as OsEffect, aG as PayloadField, aH as PayloadFieldSchema, aI as PersistData, aJ as PersistEffect, aK as PersistEmitConfig, aL as PresentationType, aM as RefEffect, aN as RelationConfig, aO as RelationConfigSchema, aP as RelationEntityField, R as RenderBinding, aQ as RenderItemLambda, aR as RenderUIConfig, a as RenderUIEffect, aS as RenderUINode, aT as RequiredField, aU as RequiredFieldSchema, aV as ResolvedAsset, aW as ResolvedAssetInput, aX as ResolvedAssetSchema, aY as ResolvedPatternProps, aZ as RestAuthConfig, a_ as RestAuthConfigSchema, a$ as RestServiceDef, b0 as RestServiceDefSchema, b1 as SERVICE_TYPES, b2 as ScalarEntityField, b3 as SemanticAssetRef, b4 as SemanticAssetRefInput, b5 as SemanticAssetRefSchema, b6 as ServiceDefinition, b7 as ServiceDefinitionSchema, b9 as ServiceParamsValue, ba as ServiceRef, bb as ServiceRefObject, bc as ServiceRefObjectSchema, bd as ServiceRefSchema, be as ServiceRefStringSchema, bf as ServiceType, bg as ServiceTypeSchema, bh as SetEffect, bi as SocketEvents, bj as SocketEventsSchema, bk as SocketServiceDef, bl as SocketServiceDefSchema, bm as SpawnEffect, bn as StateInput, bo as StateMachine, bp as StateMachineInput, bq as StateMachineSchema, br as StateSchema, bs as SwapEffect, bt as TrainConfig, bu as TrainEffect, bw as TraitCategorySchema, bx as TraitConfigObject, by as TraitConfigSchema, bA as TraitConfigValueSchema, bB as TraitDataEntity, bC as TraitDataEntitySchema, bD as TraitEntityField, bE as TraitEntityFieldSchema, b as TraitEventContract, bF as TraitEventContractSchema, d as TraitEventListener, bG as TraitEventListenerSchema, bH as TraitInput, i as TraitRef, bI as TraitRefSchema, j as TraitReference, bJ as TraitReferenceInput, bK as TraitReferenceSchema, bL as TraitSchema, bM as TraitTick, bN as TraitTickSchema, bO as TraitUIBinding, bQ as TransitionInput, bR as TransitionSchema, bS as TypedEffect, U as UISlot, bT as UISlotSchema, bU as UI_SLOTS, bV as VISUAL_STYLES, bW as VisualStyle, bX as VisualStyleSchema, bY as WatchEffect, bZ as WatchOptions, b_ as atomic, b$ as callService, c0 as createAssetKey, c1 as deref, c2 as deriveCollection, c3 as despawn, c4 as doEffects, c5 as emit, c6 as findService, c7 as getDefaultAnimationsForRole, c8 as getServiceNames, c9 as getTraitConfig, ca as getTraitName, cb as hasService, cc as isCircuitEvent, cd as isEffect, ce as isInlineTrait, cf as isMcpService, cg as isRestService, ch as isRuntimeEntity, ci as isSExprEffect, cj as isServiceReference, ck as isServiceReferenceObject, cl as isSingletonEntity, cm as isSocketService, cn as navigate, co as normalizeTraitRef, cp as notify, cq as parseAssetKey, cr as parseServiceRef, cs as persist, ct as ref, cu as renderUI, cv as set, cw as spawn, cx as swap, cy as validateAssetAnimations, cz as watch } from '../trait-CjyEE6Di.js';
1
+ import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-lxLUgVSb.js';
2
+ export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, be as ThemeDefinition, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-lxLUgVSb.js';
3
+ import { bd as ServiceParams, a as Trait, d as Entity, h as EntityRow, an as FieldValue, I as DeclaredTraitConfig, T as TraitConfig, E as Effect, G as ConfigFieldDeclaration, S as State, bU as Transition, f as EntityField, a7 as Event, bE as TraitConfigValue, g as EntityPersistence, bA as TraitCategory, cF as TraitScope } from '../trait-Bhssodu6.js';
4
+ export { A as AgentEffect, k as AnimationDef, l as AnimationDefInput, m as AnimationDefSchema, n as ArrayEntityField, o as AssetCatalog, p as AssetCatalogEntry, q as AssetCatalogEntryInput, r as AssetCatalogEntrySchema, s as AssetCatalogSchema, t as AssetMap, u as AssetMapInput, v as AssetMapSchema, w as AssetMapping, x as AssetMappingInput, y as AssetMappingSchema, z as AtomicEffect, C as CallServiceConfig, B as CallServiceEffect, D as CheckpointLoadEffect, F as CheckpointSaveEffect, H as ConfigFieldDeclarationSchema, J as DeclaredTraitConfigSchema, K as DerefEffect, L as DespawnEffect, M as DoEffect, N as ENTITY_ROLES, O as EffectInput, P as EffectSchema, Q as EmitConfig, V as EmitEffect, W as EntityData, X as EntityFieldContract, Y as EntityFieldContractSchema, Z as EntityFieldInput, _ as EntityFieldSchema, $ as EntityPersistenceSchema, a0 as EntityRole, a1 as EntityRoleSchema, a2 as EntitySchema, a3 as EntityWith, a4 as EnumEntityField, a5 as EvaluateConfig, a6 as EvaluateEffect, a8 as EventInput, a9 as EventPayloadField, aa as EventPayloadFieldSchema, ab as EventSchema, ac as EventScope, ad as EventScopeSchema, ae as FetchEffect, af as FetchOptions, ag as FetchResult, ah as Field, ai as FieldFormat, aj as FieldFormatSchema, ak as FieldSchema, al as FieldType, am as FieldTypeSchema, ao as ForwardConfig, ap as ForwardEffect, aq as GAME_TYPES, ar as GameType, as as GameTypeSchema, at as Guard, au as GuardInput, av as GuardSchema, aw as ListenSource, ax as ListenSourceSchema, ay as LogEffect, az as McpServiceDef, aA as McpServiceDefSchema, aB as NavigateEffect, aC as NnConfig, aD as NnLayer, aE as NotifyEffect, aF as OrbitalEntity, aG as OrbitalEntityInput, aH as OrbitalEntitySchema, aI as OrbitalTraitRef, aJ as OrbitalTraitRefSchema, aK as OsEffect, aL as PayloadField, aM as PayloadFieldSchema, aN as PersistData, aO as PersistEffect, aP as PersistEmitConfig, aQ as PresentationType, aR as RefEffect, aS as RelationConfig, aT as RelationConfigSchema, aU as RelationEntityField, R as RenderBinding, aV as RenderItemLambda, aW as RenderUIConfig, b as RenderUIEffect, aX as RenderUINode, aY as RequiredField, aZ as RequiredFieldSchema, a_ as ResolvedAsset, a$ as ResolvedAssetInput, b0 as ResolvedAssetSchema, b1 as ResolvedPatternProps, b2 as RestAuthConfig, b3 as RestAuthConfigSchema, b4 as RestServiceDef, b5 as RestServiceDefSchema, b6 as SERVICE_TYPES, b7 as ScalarEntityField, b8 as SemanticAssetRef, b9 as SemanticAssetRefInput, ba as SemanticAssetRefSchema, bb as ServiceDefinition, bc as ServiceDefinitionSchema, be as ServiceParamsValue, bf as ServiceRef, bg as ServiceRefObject, bh as ServiceRefObjectSchema, bi as ServiceRefSchema, bj as ServiceRefStringSchema, bk as ServiceType, bl as ServiceTypeSchema, bm as SetEffect, bn as SocketEvents, bo as SocketEventsSchema, bp as SocketServiceDef, bq as SocketServiceDefSchema, br as SpawnEffect, bs as StateInput, bt as StateMachine, bu as StateMachineInput, bv as StateMachineSchema, bw as StateSchema, bx as SwapEffect, by as TrainConfig, bz as TrainEffect, bB as TraitCategorySchema, bC as TraitConfigObject, bD as TraitConfigSchema, bF as TraitConfigValueSchema, bG as TraitDataEntity, bH as TraitDataEntitySchema, bI as TraitEntityField, bJ as TraitEntityFieldSchema, c as TraitEventContract, bK as TraitEventContractSchema, e as TraitEventListener, bL as TraitEventListenerSchema, bM as TraitInput, i as TraitRef, bN as TraitRefSchema, j as TraitReference, bO as TraitReferenceInput, bP as TraitReferenceSchema, bQ as TraitSchema, bR as TraitTick, bS as TraitTickSchema, bT as TraitUIBinding, bV as TransitionInput, bW as TransitionSchema, bX as TypedEffect, U as UISlot, bY as UISlotSchema, bZ as UI_SLOTS, b_ as VISUAL_STYLES, b$ as VisualStyle, c0 as VisualStyleSchema, c1 as WatchEffect, c2 as WatchOptions, c3 as atomic, c4 as callService, c5 as createAssetKey, c6 as deref, c7 as deriveCollection, c8 as despawn, c9 as doEffects, ca as emit, cb as findService, cc as getDefaultAnimationsForRole, cd as getServiceNames, ce as getTraitConfig, cf as getTraitName, cg as hasService, ch as isCircuitEvent, ci as isEffect, cj as isInlineTrait, ck as isMcpService, cl as isRestService, cm as isRuntimeEntity, cn as isSExprEffect, co as isServiceReference, cp as isServiceReferenceObject, cq as isSingletonEntity, cr as isSocketService, cs as navigate, ct as normalizeTraitRef, cu as notify, cv as parseAssetKey, cw as parseServiceRef, cx as persist, cy as ref, cz as renderUI, cA as set, cB as spawn, cC as swap, cD as validateAssetAnimations, cE as watch } from '../trait-Bhssodu6.js';
5
5
  import { c as EventPayloadValue, b as EventPayload, L as LogMeta, S as SExpr, E as EvalContext } from '../expression-BVRFm0sV.js';
6
6
  export { C as CORE_BINDINGS, a as CoreBinding, d as Expression, e as ExpressionInput, f as ExpressionSchema, P as ParsedBinding, g as SExprAtom, h as SExprAtomSchema, i as SExprInput, j as SExprSchema, k as collectBindings, l as getArgs, m as getOperator, n as isBinding, o as isSExpr, p as isSExprAtom, q as isSExprCall, r as isValidBinding, s as parseBinding, t as sexpr, w as walkSExpr } from '../expression-BVRFm0sV.js';
7
7
  import { z } from 'zod';
8
8
  import { AnyPatternConfig } from '@almadar/patterns';
9
9
  export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
10
- import { c as FactoryConfigTier } from '../types-KzrHszR_.js';
11
- export { J as JsonObject, n as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-KzrHszR_.js';
10
+ import { c as FactoryConfigTier } from '../types-Bz0Zxvd_.js';
11
+ export { J as JsonObject, n as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-Bz0Zxvd_.js';
12
12
 
13
13
  /**
14
14
  * S-Expression Bindings
@@ -188,6 +188,14 @@ var AssetMapSchema = z.object({
188
188
  basePath: z.string(),
189
189
  mappings: z.record(AssetMappingSchema)
190
190
  });
191
+ var AssetCatalogEntrySchema = z.object({
192
+ url: z.string(),
193
+ name: z.string(),
194
+ category: z.string(),
195
+ kind: z.enum(["image", "spritesheet", "audio", "scene", "portrait", "model", "other"]),
196
+ thumbnailUrl: z.string().optional()
197
+ });
198
+ var AssetCatalogSchema = z.array(AssetCatalogEntrySchema);
191
199
  function createAssetKey(role, category) {
192
200
  return `${role}:${category}`;
193
201
  }
@@ -501,7 +509,13 @@ var TraitConfigValueSchema = z.lazy(
501
509
  var TraitConfigSchema = z.record(TraitConfigValueSchema);
502
510
  var ConfigFieldDeclarationSchema = z.object({
503
511
  type: z.string(),
504
- default: TraitConfigValueSchema.optional()
512
+ default: TraitConfigValueSchema.optional(),
513
+ label: z.string().optional(),
514
+ description: z.string().optional(),
515
+ tier: z.string().optional(),
516
+ values: z.array(z.string()).optional(),
517
+ synonyms: z.string().optional(),
518
+ control: z.enum(["icon", "asset", "color", "text", "number", "boolean", "select"]).optional()
505
519
  });
506
520
  var DeclaredTraitConfigSchema = z.record(
507
521
  ConfigFieldDeclarationSchema
@@ -1920,6 +1934,6 @@ function widenTier(tier) {
1920
1934
  return tier;
1921
1935
  }
1922
1936
 
1923
- export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, atomic, callService, collectBindings, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, despawn, doEffects, emit, findService, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSingletonEntity, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
1937
+ export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, atomic, callService, collectBindings, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, despawn, doEffects, emit, findService, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSingletonEntity, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
1924
1938
  //# sourceMappingURL=index.js.map
1925
1939
  //# sourceMappingURL=index.js.map