@almadar/core 9.4.0 → 9.6.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.
@@ -135,6 +135,13 @@ interface EntityFieldBase {
135
135
  /** Runtime-managed widget state (authored `@intrinsic` in `.lolo`). Exempt
136
136
  * from the explicit-binding rule and never a domain-data bind target. */
137
137
  intrinsic?: boolean;
138
+ /** Human/semantic description (authored `@description "..."` in `.lolo`).
139
+ * Authoring/build-time metadata — factory-signature catalog, embeddings,
140
+ * curation field-matching; the runtime ignores it. */
141
+ description?: string;
142
+ /** User-vocabulary synonyms (authored `@synonyms "..."` in `.lolo`).
143
+ * Free text feeding catalog search / curation field-matching. */
144
+ synonyms?: string;
138
145
  }
139
146
  /**
140
147
  * Scalar / structural fields — no type-dependent payload required.
@@ -1377,11 +1384,11 @@ declare const OrbitalEntitySchema: z.ZodObject<{
1377
1384
  name: string;
1378
1385
  persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
1379
1386
  fields: EntityField[];
1387
+ description?: string | undefined;
1380
1388
  collection?: string | undefined;
1381
1389
  instances?: Record<string, unknown>[] | undefined;
1382
1390
  timestamps?: boolean | undefined;
1383
1391
  softDelete?: boolean | undefined;
1384
- description?: string | undefined;
1385
1392
  visual_prompt?: string | undefined;
1386
1393
  assetRef?: {
1387
1394
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -1393,12 +1400,12 @@ declare const OrbitalEntitySchema: z.ZodObject<{
1393
1400
  }, {
1394
1401
  name: string;
1395
1402
  fields: unknown[];
1403
+ description?: string | undefined;
1396
1404
  persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
1397
1405
  collection?: string | undefined;
1398
1406
  instances?: Record<string, unknown>[] | undefined;
1399
1407
  timestamps?: boolean | undefined;
1400
1408
  softDelete?: boolean | undefined;
1401
- description?: string | undefined;
1402
1409
  visual_prompt?: string | undefined;
1403
1410
  assetRef?: {
1404
1411
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -1445,11 +1452,11 @@ declare const EntitySchema: z.ZodObject<{
1445
1452
  name: string;
1446
1453
  persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
1447
1454
  fields: EntityField[];
1455
+ description?: string | undefined;
1448
1456
  collection?: string | undefined;
1449
1457
  instances?: Record<string, unknown>[] | undefined;
1450
1458
  timestamps?: boolean | undefined;
1451
1459
  softDelete?: boolean | undefined;
1452
- description?: string | undefined;
1453
1460
  visual_prompt?: string | undefined;
1454
1461
  assetRef?: {
1455
1462
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -1461,12 +1468,12 @@ declare const EntitySchema: z.ZodObject<{
1461
1468
  }, {
1462
1469
  name: string;
1463
1470
  fields: unknown[];
1471
+ description?: string | undefined;
1464
1472
  persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
1465
1473
  collection?: string | undefined;
1466
1474
  instances?: Record<string, unknown>[] | undefined;
1467
1475
  timestamps?: boolean | undefined;
1468
1476
  softDelete?: boolean | undefined;
1469
- description?: string | undefined;
1470
1477
  visual_prompt?: string | undefined;
1471
1478
  assetRef?: {
1472
1479
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -2292,8 +2299,13 @@ interface Event {
2292
2299
  key: string;
2293
2300
  /** Human-readable name */
2294
2301
  name: string;
2295
- /** Description */
2302
+ /** Description (authored `@description` on the emit/listen). */
2296
2303
  description?: string;
2304
+ /** User-vocabulary synonyms (comma-separated) — per-event analogue of a
2305
+ * field/config `@synonyms`. Feeds the curation event matcher. */
2306
+ synonyms?: string;
2307
+ /** Authoring tier (`essential`/`customization`/`advanced`/`internal`). */
2308
+ tier?: string;
2297
2309
  /** Expected payload structure */
2298
2310
  payloadSchema?: PayloadField[];
2299
2311
  /** Domain vs System classification (optional, for analysis) */
@@ -2305,6 +2317,8 @@ declare const EventSchema: z.ZodObject<{
2305
2317
  key: z.ZodString;
2306
2318
  name: z.ZodString;
2307
2319
  description: z.ZodOptional<z.ZodString>;
2320
+ synonyms: z.ZodOptional<z.ZodString>;
2321
+ tier: z.ZodOptional<z.ZodString>;
2308
2322
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
2309
2323
  name: z.ZodString;
2310
2324
  type: z.ZodString;
@@ -2324,6 +2338,8 @@ declare const EventSchema: z.ZodObject<{
2324
2338
  name: string;
2325
2339
  key: string;
2326
2340
  description?: string | undefined;
2341
+ synonyms?: string | undefined;
2342
+ tier?: string | undefined;
2327
2343
  payloadSchema?: {
2328
2344
  type: string;
2329
2345
  name: string;
@@ -2335,6 +2351,8 @@ declare const EventSchema: z.ZodObject<{
2335
2351
  name: string;
2336
2352
  key: string;
2337
2353
  description?: string | undefined;
2354
+ synonyms?: string | undefined;
2355
+ tier?: string | undefined;
2338
2356
  payloadSchema?: {
2339
2357
  type: string;
2340
2358
  name: string;
@@ -2468,6 +2486,8 @@ declare const StateMachineSchema: z.ZodObject<{
2468
2486
  key: z.ZodString;
2469
2487
  name: z.ZodString;
2470
2488
  description: z.ZodOptional<z.ZodString>;
2489
+ synonyms: z.ZodOptional<z.ZodString>;
2490
+ tier: z.ZodOptional<z.ZodString>;
2471
2491
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
2472
2492
  name: z.ZodString;
2473
2493
  type: z.ZodString;
@@ -2487,6 +2507,8 @@ declare const StateMachineSchema: z.ZodObject<{
2487
2507
  name: string;
2488
2508
  key: string;
2489
2509
  description?: string | undefined;
2510
+ synonyms?: string | undefined;
2511
+ tier?: string | undefined;
2490
2512
  payloadSchema?: {
2491
2513
  type: string;
2492
2514
  name: string;
@@ -2498,6 +2520,8 @@ declare const StateMachineSchema: z.ZodObject<{
2498
2520
  name: string;
2499
2521
  key: string;
2500
2522
  description?: string | undefined;
2523
+ synonyms?: string | undefined;
2524
+ tier?: string | undefined;
2501
2525
  payloadSchema?: {
2502
2526
  type: string;
2503
2527
  name: string;
@@ -2546,6 +2570,8 @@ declare const StateMachineSchema: z.ZodObject<{
2546
2570
  name: string;
2547
2571
  key: string;
2548
2572
  description?: string | undefined;
2573
+ synonyms?: string | undefined;
2574
+ tier?: string | undefined;
2549
2575
  payloadSchema?: {
2550
2576
  type: string;
2551
2577
  name: string;
@@ -2581,6 +2607,8 @@ declare const StateMachineSchema: z.ZodObject<{
2581
2607
  name: string;
2582
2608
  key: string;
2583
2609
  description?: string | undefined;
2610
+ synonyms?: string | undefined;
2611
+ tier?: string | undefined;
2584
2612
  payloadSchema?: {
2585
2613
  type: string;
2586
2614
  name: string;
@@ -2757,11 +2785,11 @@ declare const TraitDataEntitySchema: z.ZodObject<{
2757
2785
  required?: boolean | undefined;
2758
2786
  default?: unknown;
2759
2787
  }[];
2788
+ description?: string | undefined;
2760
2789
  runtime?: boolean | undefined;
2761
2790
  singleton?: boolean | undefined;
2762
2791
  collection?: string | undefined;
2763
2792
  timestamps?: boolean | undefined;
2764
- description?: string | undefined;
2765
2793
  pages?: string[] | undefined;
2766
2794
  }, {
2767
2795
  name: string;
@@ -2772,11 +2800,11 @@ declare const TraitDataEntitySchema: z.ZodObject<{
2772
2800
  required?: boolean | undefined;
2773
2801
  default?: unknown;
2774
2802
  }[];
2803
+ description?: string | undefined;
2775
2804
  runtime?: boolean | undefined;
2776
2805
  singleton?: boolean | undefined;
2777
2806
  collection?: string | undefined;
2778
2807
  timestamps?: boolean | undefined;
2779
- description?: string | undefined;
2780
2808
  pages?: string[] | undefined;
2781
2809
  }>;
2782
2810
  /**
@@ -2904,6 +2932,11 @@ interface TraitEventContract {
2904
2932
  event: string;
2905
2933
  /** Human-readable description */
2906
2934
  description?: string;
2935
+ /** User-vocabulary synonyms (comma-separated) — the per-event analogue of a
2936
+ * field/config `@synonyms`. Feeds the curation event matcher. */
2937
+ synonyms?: string;
2938
+ /** Authoring tier (`essential`/`customization`/`advanced`/`internal`). */
2939
+ tier?: string;
2907
2940
  /** Payload schema — declarative type info for the event's payload.
2908
2941
  * Distinct from the runtime payload value (`@payload.X` bindings,
2909
2942
  * `EventPayload`) which is a separate concept. */
@@ -2925,6 +2958,8 @@ declare const TraitEventContractSchema: z.ZodObject<{
2925
2958
  */
2926
2959
  event: z.ZodString;
2927
2960
  description: z.ZodOptional<z.ZodString>;
2961
+ synonyms: z.ZodOptional<z.ZodString>;
2962
+ tier: z.ZodOptional<z.ZodString>;
2928
2963
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
2929
2964
  name: z.ZodString;
2930
2965
  /**
@@ -2958,6 +2993,8 @@ declare const TraitEventContractSchema: z.ZodObject<{
2958
2993
  }, "strip", z.ZodTypeAny, {
2959
2994
  event: string;
2960
2995
  description?: string | undefined;
2996
+ synonyms?: string | undefined;
2997
+ tier?: string | undefined;
2961
2998
  payloadSchema?: {
2962
2999
  type: string;
2963
3000
  name: string;
@@ -2969,6 +3006,8 @@ declare const TraitEventContractSchema: z.ZodObject<{
2969
3006
  }, {
2970
3007
  event: string;
2971
3008
  description?: string | undefined;
3009
+ synonyms?: string | undefined;
3010
+ tier?: string | undefined;
2972
3011
  payloadSchema?: {
2973
3012
  type: string;
2974
3013
  name: string;
@@ -3039,6 +3078,12 @@ interface TraitEventListener {
3039
3078
  event: string;
3040
3079
  /** State machine event to trigger */
3041
3080
  triggers: string;
3081
+ /** Human-readable description (authored `@description` on the listen). */
3082
+ description?: string;
3083
+ /** User-vocabulary synonyms (comma-separated). */
3084
+ synonyms?: string;
3085
+ /** Authoring tier (`essential`/`customization`/`advanced`/`internal`). */
3086
+ tier?: string;
3042
3087
  /** Guard expression - string (legacy) or S-expression array */
3043
3088
  guard?: Expression;
3044
3089
  /**
@@ -3058,6 +3103,9 @@ interface TraitEventListener {
3058
3103
  declare const TraitEventListenerSchema: z.ZodObject<{
3059
3104
  event: z.ZodString;
3060
3105
  triggers: z.ZodString;
3106
+ description: z.ZodOptional<z.ZodString>;
3107
+ synonyms: z.ZodOptional<z.ZodString>;
3108
+ tier: z.ZodOptional<z.ZodString>;
3061
3109
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
3062
3110
  scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
3063
3111
  payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3092,6 +3140,9 @@ declare const TraitEventListenerSchema: z.ZodObject<{
3092
3140
  }, "strip", z.ZodTypeAny, {
3093
3141
  event: string;
3094
3142
  triggers: string;
3143
+ description?: string | undefined;
3144
+ synonyms?: string | undefined;
3145
+ tier?: string | undefined;
3095
3146
  guard?: SExpr | undefined;
3096
3147
  source?: {
3097
3148
  kind: "any";
@@ -3108,6 +3159,9 @@ declare const TraitEventListenerSchema: z.ZodObject<{
3108
3159
  }, {
3109
3160
  event: string;
3110
3161
  triggers: string;
3162
+ description?: string | undefined;
3163
+ synonyms?: string | undefined;
3164
+ tier?: string | undefined;
3111
3165
  guard?: SExpr | undefined;
3112
3166
  source?: {
3113
3167
  kind: "any";
@@ -3529,11 +3583,11 @@ declare const TraitSchema: z.ZodObject<{
3529
3583
  required?: boolean | undefined;
3530
3584
  default?: unknown;
3531
3585
  }[];
3586
+ description?: string | undefined;
3532
3587
  runtime?: boolean | undefined;
3533
3588
  singleton?: boolean | undefined;
3534
3589
  collection?: string | undefined;
3535
3590
  timestamps?: boolean | undefined;
3536
- description?: string | undefined;
3537
3591
  pages?: string[] | undefined;
3538
3592
  }, {
3539
3593
  name: string;
@@ -3544,11 +3598,11 @@ declare const TraitSchema: z.ZodObject<{
3544
3598
  required?: boolean | undefined;
3545
3599
  default?: unknown;
3546
3600
  }[];
3601
+ description?: string | undefined;
3547
3602
  runtime?: boolean | undefined;
3548
3603
  singleton?: boolean | undefined;
3549
3604
  collection?: string | undefined;
3550
3605
  timestamps?: boolean | undefined;
3551
- description?: string | undefined;
3552
3606
  pages?: string[] | undefined;
3553
3607
  }>, "many">>;
3554
3608
  stateMachine: z.ZodOptional<z.ZodObject<{
@@ -3581,6 +3635,8 @@ declare const TraitSchema: z.ZodObject<{
3581
3635
  key: z.ZodString;
3582
3636
  name: z.ZodString;
3583
3637
  description: z.ZodOptional<z.ZodString>;
3638
+ synonyms: z.ZodOptional<z.ZodString>;
3639
+ tier: z.ZodOptional<z.ZodString>;
3584
3640
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
3585
3641
  name: z.ZodString;
3586
3642
  type: z.ZodString;
@@ -3600,6 +3656,8 @@ declare const TraitSchema: z.ZodObject<{
3600
3656
  name: string;
3601
3657
  key: string;
3602
3658
  description?: string | undefined;
3659
+ synonyms?: string | undefined;
3660
+ tier?: string | undefined;
3603
3661
  payloadSchema?: {
3604
3662
  type: string;
3605
3663
  name: string;
@@ -3611,6 +3669,8 @@ declare const TraitSchema: z.ZodObject<{
3611
3669
  name: string;
3612
3670
  key: string;
3613
3671
  description?: string | undefined;
3672
+ synonyms?: string | undefined;
3673
+ tier?: string | undefined;
3614
3674
  payloadSchema?: {
3615
3675
  type: string;
3616
3676
  name: string;
@@ -3659,6 +3719,8 @@ declare const TraitSchema: z.ZodObject<{
3659
3719
  name: string;
3660
3720
  key: string;
3661
3721
  description?: string | undefined;
3722
+ synonyms?: string | undefined;
3723
+ tier?: string | undefined;
3662
3724
  payloadSchema?: {
3663
3725
  type: string;
3664
3726
  name: string;
@@ -3694,6 +3756,8 @@ declare const TraitSchema: z.ZodObject<{
3694
3756
  name: string;
3695
3757
  key: string;
3696
3758
  description?: string | undefined;
3759
+ synonyms?: string | undefined;
3760
+ tier?: string | undefined;
3697
3761
  payloadSchema?: {
3698
3762
  type: string;
3699
3763
  name: string;
@@ -3767,6 +3831,8 @@ declare const TraitSchema: z.ZodObject<{
3767
3831
  */
3768
3832
  event: z.ZodString;
3769
3833
  description: z.ZodOptional<z.ZodString>;
3834
+ synonyms: z.ZodOptional<z.ZodString>;
3835
+ tier: z.ZodOptional<z.ZodString>;
3770
3836
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
3771
3837
  name: z.ZodString;
3772
3838
  /**
@@ -3800,6 +3866,8 @@ declare const TraitSchema: z.ZodObject<{
3800
3866
  }, "strip", z.ZodTypeAny, {
3801
3867
  event: string;
3802
3868
  description?: string | undefined;
3869
+ synonyms?: string | undefined;
3870
+ tier?: string | undefined;
3803
3871
  payloadSchema?: {
3804
3872
  type: string;
3805
3873
  name: string;
@@ -3811,6 +3879,8 @@ declare const TraitSchema: z.ZodObject<{
3811
3879
  }, {
3812
3880
  event: string;
3813
3881
  description?: string | undefined;
3882
+ synonyms?: string | undefined;
3883
+ tier?: string | undefined;
3814
3884
  payloadSchema?: {
3815
3885
  type: string;
3816
3886
  name: string;
@@ -3823,6 +3893,9 @@ declare const TraitSchema: z.ZodObject<{
3823
3893
  listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
3824
3894
  event: z.ZodString;
3825
3895
  triggers: z.ZodString;
3896
+ description: z.ZodOptional<z.ZodString>;
3897
+ synonyms: z.ZodOptional<z.ZodString>;
3898
+ tier: z.ZodOptional<z.ZodString>;
3826
3899
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
3827
3900
  scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
3828
3901
  payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3857,6 +3930,9 @@ declare const TraitSchema: z.ZodObject<{
3857
3930
  }, "strip", z.ZodTypeAny, {
3858
3931
  event: string;
3859
3932
  triggers: string;
3933
+ description?: string | undefined;
3934
+ synonyms?: string | undefined;
3935
+ tier?: string | undefined;
3860
3936
  guard?: SExpr | undefined;
3861
3937
  source?: {
3862
3938
  kind: "any";
@@ -3873,6 +3949,9 @@ declare const TraitSchema: z.ZodObject<{
3873
3949
  }, {
3874
3950
  event: string;
3875
3951
  triggers: string;
3952
+ description?: string | undefined;
3953
+ synonyms?: string | undefined;
3954
+ tier?: string | undefined;
3876
3955
  guard?: SExpr | undefined;
3877
3956
  source?: {
3878
3957
  kind: "any";
@@ -3935,11 +4014,11 @@ declare const TraitSchema: z.ZodObject<{
3935
4014
  name: string;
3936
4015
  persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
3937
4016
  fields: EntityField[];
4017
+ description?: string | undefined;
3938
4018
  collection?: string | undefined;
3939
4019
  instances?: Record<string, unknown>[] | undefined;
3940
4020
  timestamps?: boolean | undefined;
3941
4021
  softDelete?: boolean | undefined;
3942
- description?: string | undefined;
3943
4022
  visual_prompt?: string | undefined;
3944
4023
  assetRef?: {
3945
4024
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -3951,12 +4030,12 @@ declare const TraitSchema: z.ZodObject<{
3951
4030
  }, {
3952
4031
  name: string;
3953
4032
  fields: unknown[];
4033
+ description?: string | undefined;
3954
4034
  persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
3955
4035
  collection?: string | undefined;
3956
4036
  instances?: Record<string, unknown>[] | undefined;
3957
4037
  timestamps?: boolean | undefined;
3958
4038
  softDelete?: boolean | undefined;
3959
- description?: string | undefined;
3960
4039
  visual_prompt?: string | undefined;
3961
4040
  assetRef?: {
3962
4041
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -3969,14 +4048,16 @@ declare const TraitSchema: z.ZodObject<{
3969
4048
  }, "strip", z.ZodTypeAny, {
3970
4049
  name: string;
3971
4050
  scope: "instance" | "collection";
4051
+ description?: string | undefined;
3972
4052
  ui?: Record<string, unknown> | undefined;
3973
4053
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
3974
- description?: string | undefined;
3975
4054
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
3976
4055
  capabilities?: string[] | undefined;
3977
4056
  emits?: {
3978
4057
  event: string;
3979
4058
  description?: string | undefined;
4059
+ synonyms?: string | undefined;
4060
+ tier?: string | undefined;
3980
4061
  payloadSchema?: {
3981
4062
  type: string;
3982
4063
  name: string;
@@ -3989,6 +4070,9 @@ declare const TraitSchema: z.ZodObject<{
3989
4070
  listens?: {
3990
4071
  event: string;
3991
4072
  triggers: string;
4073
+ description?: string | undefined;
4074
+ synonyms?: string | undefined;
4075
+ tier?: string | undefined;
3992
4076
  guard?: SExpr | undefined;
3993
4077
  source?: {
3994
4078
  kind: "any";
@@ -4026,11 +4110,11 @@ declare const TraitSchema: z.ZodObject<{
4026
4110
  required?: boolean | undefined;
4027
4111
  default?: unknown;
4028
4112
  }[];
4113
+ description?: string | undefined;
4029
4114
  runtime?: boolean | undefined;
4030
4115
  singleton?: boolean | undefined;
4031
4116
  collection?: string | undefined;
4032
4117
  timestamps?: boolean | undefined;
4033
- description?: string | undefined;
4034
4118
  pages?: string[] | undefined;
4035
4119
  }[] | undefined;
4036
4120
  stateMachine?: {
@@ -4038,6 +4122,8 @@ declare const TraitSchema: z.ZodObject<{
4038
4122
  name: string;
4039
4123
  key: string;
4040
4124
  description?: string | undefined;
4125
+ synonyms?: string | undefined;
4126
+ tier?: string | undefined;
4041
4127
  payloadSchema?: {
4042
4128
  type: string;
4043
4129
  name: string;
@@ -4090,11 +4176,11 @@ declare const TraitSchema: z.ZodObject<{
4090
4176
  name: string;
4091
4177
  persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
4092
4178
  fields: EntityField[];
4179
+ description?: string | undefined;
4093
4180
  collection?: string | undefined;
4094
4181
  instances?: Record<string, unknown>[] | undefined;
4095
4182
  timestamps?: boolean | undefined;
4096
4183
  softDelete?: boolean | undefined;
4097
- description?: string | undefined;
4098
4184
  visual_prompt?: string | undefined;
4099
4185
  assetRef?: {
4100
4186
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -4107,14 +4193,16 @@ declare const TraitSchema: z.ZodObject<{
4107
4193
  }, {
4108
4194
  name: string;
4109
4195
  scope: "instance" | "collection";
4196
+ description?: string | undefined;
4110
4197
  ui?: Record<string, unknown> | undefined;
4111
4198
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
4112
- description?: string | undefined;
4113
4199
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
4114
4200
  capabilities?: string[] | undefined;
4115
4201
  emits?: {
4116
4202
  event: string;
4117
4203
  description?: string | undefined;
4204
+ synonyms?: string | undefined;
4205
+ tier?: string | undefined;
4118
4206
  payloadSchema?: {
4119
4207
  type: string;
4120
4208
  name: string;
@@ -4127,6 +4215,9 @@ declare const TraitSchema: z.ZodObject<{
4127
4215
  listens?: {
4128
4216
  event: string;
4129
4217
  triggers: string;
4218
+ description?: string | undefined;
4219
+ synonyms?: string | undefined;
4220
+ tier?: string | undefined;
4130
4221
  guard?: SExpr | undefined;
4131
4222
  source?: {
4132
4223
  kind: "any";
@@ -4164,11 +4255,11 @@ declare const TraitSchema: z.ZodObject<{
4164
4255
  required?: boolean | undefined;
4165
4256
  default?: unknown;
4166
4257
  }[];
4258
+ description?: string | undefined;
4167
4259
  runtime?: boolean | undefined;
4168
4260
  singleton?: boolean | undefined;
4169
4261
  collection?: string | undefined;
4170
4262
  timestamps?: boolean | undefined;
4171
- description?: string | undefined;
4172
4263
  pages?: string[] | undefined;
4173
4264
  }[] | undefined;
4174
4265
  stateMachine?: {
@@ -4176,6 +4267,8 @@ declare const TraitSchema: z.ZodObject<{
4176
4267
  name: string;
4177
4268
  key: string;
4178
4269
  description?: string | undefined;
4270
+ synonyms?: string | undefined;
4271
+ tier?: string | undefined;
4179
4272
  payloadSchema?: {
4180
4273
  type: string;
4181
4274
  name: string;
@@ -4227,12 +4320,12 @@ declare const TraitSchema: z.ZodObject<{
4227
4320
  sourceEntityDefinition?: {
4228
4321
  name: string;
4229
4322
  fields: unknown[];
4323
+ description?: string | undefined;
4230
4324
  persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
4231
4325
  collection?: string | undefined;
4232
4326
  instances?: Record<string, unknown>[] | undefined;
4233
4327
  timestamps?: boolean | undefined;
4234
4328
  softDelete?: boolean | undefined;
4235
- description?: string | undefined;
4236
4329
  visual_prompt?: string | undefined;
4237
4330
  assetRef?: {
4238
4331
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -4331,11 +4424,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4331
4424
  required?: boolean | undefined;
4332
4425
  default?: unknown;
4333
4426
  }[];
4427
+ description?: string | undefined;
4334
4428
  runtime?: boolean | undefined;
4335
4429
  singleton?: boolean | undefined;
4336
4430
  collection?: string | undefined;
4337
4431
  timestamps?: boolean | undefined;
4338
- description?: string | undefined;
4339
4432
  pages?: string[] | undefined;
4340
4433
  }, {
4341
4434
  name: string;
@@ -4346,11 +4439,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4346
4439
  required?: boolean | undefined;
4347
4440
  default?: unknown;
4348
4441
  }[];
4442
+ description?: string | undefined;
4349
4443
  runtime?: boolean | undefined;
4350
4444
  singleton?: boolean | undefined;
4351
4445
  collection?: string | undefined;
4352
4446
  timestamps?: boolean | undefined;
4353
- description?: string | undefined;
4354
4447
  pages?: string[] | undefined;
4355
4448
  }>, "many">>;
4356
4449
  stateMachine: z.ZodOptional<z.ZodObject<{
@@ -4383,6 +4476,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4383
4476
  key: z.ZodString;
4384
4477
  name: z.ZodString;
4385
4478
  description: z.ZodOptional<z.ZodString>;
4479
+ synonyms: z.ZodOptional<z.ZodString>;
4480
+ tier: z.ZodOptional<z.ZodString>;
4386
4481
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
4387
4482
  name: z.ZodString;
4388
4483
  type: z.ZodString;
@@ -4402,6 +4497,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4402
4497
  name: string;
4403
4498
  key: string;
4404
4499
  description?: string | undefined;
4500
+ synonyms?: string | undefined;
4501
+ tier?: string | undefined;
4405
4502
  payloadSchema?: {
4406
4503
  type: string;
4407
4504
  name: string;
@@ -4413,6 +4510,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4413
4510
  name: string;
4414
4511
  key: string;
4415
4512
  description?: string | undefined;
4513
+ synonyms?: string | undefined;
4514
+ tier?: string | undefined;
4416
4515
  payloadSchema?: {
4417
4516
  type: string;
4418
4517
  name: string;
@@ -4461,6 +4560,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4461
4560
  name: string;
4462
4561
  key: string;
4463
4562
  description?: string | undefined;
4563
+ synonyms?: string | undefined;
4564
+ tier?: string | undefined;
4464
4565
  payloadSchema?: {
4465
4566
  type: string;
4466
4567
  name: string;
@@ -4496,6 +4597,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4496
4597
  name: string;
4497
4598
  key: string;
4498
4599
  description?: string | undefined;
4600
+ synonyms?: string | undefined;
4601
+ tier?: string | undefined;
4499
4602
  payloadSchema?: {
4500
4603
  type: string;
4501
4604
  name: string;
@@ -4569,6 +4672,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4569
4672
  */
4570
4673
  event: z.ZodString;
4571
4674
  description: z.ZodOptional<z.ZodString>;
4675
+ synonyms: z.ZodOptional<z.ZodString>;
4676
+ tier: z.ZodOptional<z.ZodString>;
4572
4677
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
4573
4678
  name: z.ZodString;
4574
4679
  /**
@@ -4602,6 +4707,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4602
4707
  }, "strip", z.ZodTypeAny, {
4603
4708
  event: string;
4604
4709
  description?: string | undefined;
4710
+ synonyms?: string | undefined;
4711
+ tier?: string | undefined;
4605
4712
  payloadSchema?: {
4606
4713
  type: string;
4607
4714
  name: string;
@@ -4613,6 +4720,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4613
4720
  }, {
4614
4721
  event: string;
4615
4722
  description?: string | undefined;
4723
+ synonyms?: string | undefined;
4724
+ tier?: string | undefined;
4616
4725
  payloadSchema?: {
4617
4726
  type: string;
4618
4727
  name: string;
@@ -4625,6 +4734,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4625
4734
  listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
4626
4735
  event: z.ZodString;
4627
4736
  triggers: z.ZodString;
4737
+ description: z.ZodOptional<z.ZodString>;
4738
+ synonyms: z.ZodOptional<z.ZodString>;
4739
+ tier: z.ZodOptional<z.ZodString>;
4628
4740
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
4629
4741
  scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
4630
4742
  payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4659,6 +4771,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4659
4771
  }, "strip", z.ZodTypeAny, {
4660
4772
  event: string;
4661
4773
  triggers: string;
4774
+ description?: string | undefined;
4775
+ synonyms?: string | undefined;
4776
+ tier?: string | undefined;
4662
4777
  guard?: SExpr | undefined;
4663
4778
  source?: {
4664
4779
  kind: "any";
@@ -4675,6 +4790,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4675
4790
  }, {
4676
4791
  event: string;
4677
4792
  triggers: string;
4793
+ description?: string | undefined;
4794
+ synonyms?: string | undefined;
4795
+ tier?: string | undefined;
4678
4796
  guard?: SExpr | undefined;
4679
4797
  source?: {
4680
4798
  kind: "any";
@@ -4737,11 +4855,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4737
4855
  name: string;
4738
4856
  persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
4739
4857
  fields: EntityField[];
4858
+ description?: string | undefined;
4740
4859
  collection?: string | undefined;
4741
4860
  instances?: Record<string, unknown>[] | undefined;
4742
4861
  timestamps?: boolean | undefined;
4743
4862
  softDelete?: boolean | undefined;
4744
- description?: string | undefined;
4745
4863
  visual_prompt?: string | undefined;
4746
4864
  assetRef?: {
4747
4865
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -4753,12 +4871,12 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4753
4871
  }, {
4754
4872
  name: string;
4755
4873
  fields: unknown[];
4874
+ description?: string | undefined;
4756
4875
  persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
4757
4876
  collection?: string | undefined;
4758
4877
  instances?: Record<string, unknown>[] | undefined;
4759
4878
  timestamps?: boolean | undefined;
4760
4879
  softDelete?: boolean | undefined;
4761
- description?: string | undefined;
4762
4880
  visual_prompt?: string | undefined;
4763
4881
  assetRef?: {
4764
4882
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -4771,14 +4889,16 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4771
4889
  }, "strip", z.ZodTypeAny, {
4772
4890
  name: string;
4773
4891
  scope: "instance" | "collection";
4892
+ description?: string | undefined;
4774
4893
  ui?: Record<string, unknown> | undefined;
4775
4894
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
4776
- description?: string | undefined;
4777
4895
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
4778
4896
  capabilities?: string[] | undefined;
4779
4897
  emits?: {
4780
4898
  event: string;
4781
4899
  description?: string | undefined;
4900
+ synonyms?: string | undefined;
4901
+ tier?: string | undefined;
4782
4902
  payloadSchema?: {
4783
4903
  type: string;
4784
4904
  name: string;
@@ -4791,6 +4911,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4791
4911
  listens?: {
4792
4912
  event: string;
4793
4913
  triggers: string;
4914
+ description?: string | undefined;
4915
+ synonyms?: string | undefined;
4916
+ tier?: string | undefined;
4794
4917
  guard?: SExpr | undefined;
4795
4918
  source?: {
4796
4919
  kind: "any";
@@ -4828,11 +4951,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4828
4951
  required?: boolean | undefined;
4829
4952
  default?: unknown;
4830
4953
  }[];
4954
+ description?: string | undefined;
4831
4955
  runtime?: boolean | undefined;
4832
4956
  singleton?: boolean | undefined;
4833
4957
  collection?: string | undefined;
4834
4958
  timestamps?: boolean | undefined;
4835
- description?: string | undefined;
4836
4959
  pages?: string[] | undefined;
4837
4960
  }[] | undefined;
4838
4961
  stateMachine?: {
@@ -4840,6 +4963,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4840
4963
  name: string;
4841
4964
  key: string;
4842
4965
  description?: string | undefined;
4966
+ synonyms?: string | undefined;
4967
+ tier?: string | undefined;
4843
4968
  payloadSchema?: {
4844
4969
  type: string;
4845
4970
  name: string;
@@ -4892,11 +5017,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4892
5017
  name: string;
4893
5018
  persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
4894
5019
  fields: EntityField[];
5020
+ description?: string | undefined;
4895
5021
  collection?: string | undefined;
4896
5022
  instances?: Record<string, unknown>[] | undefined;
4897
5023
  timestamps?: boolean | undefined;
4898
5024
  softDelete?: boolean | undefined;
4899
- description?: string | undefined;
4900
5025
  visual_prompt?: string | undefined;
4901
5026
  assetRef?: {
4902
5027
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -4909,14 +5034,16 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4909
5034
  }, {
4910
5035
  name: string;
4911
5036
  scope: "instance" | "collection";
5037
+ description?: string | undefined;
4912
5038
  ui?: Record<string, unknown> | undefined;
4913
5039
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
4914
- description?: string | undefined;
4915
5040
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
4916
5041
  capabilities?: string[] | undefined;
4917
5042
  emits?: {
4918
5043
  event: string;
4919
5044
  description?: string | undefined;
5045
+ synonyms?: string | undefined;
5046
+ tier?: string | undefined;
4920
5047
  payloadSchema?: {
4921
5048
  type: string;
4922
5049
  name: string;
@@ -4929,6 +5056,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4929
5056
  listens?: {
4930
5057
  event: string;
4931
5058
  triggers: string;
5059
+ description?: string | undefined;
5060
+ synonyms?: string | undefined;
5061
+ tier?: string | undefined;
4932
5062
  guard?: SExpr | undefined;
4933
5063
  source?: {
4934
5064
  kind: "any";
@@ -4966,11 +5096,11 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4966
5096
  required?: boolean | undefined;
4967
5097
  default?: unknown;
4968
5098
  }[];
5099
+ description?: string | undefined;
4969
5100
  runtime?: boolean | undefined;
4970
5101
  singleton?: boolean | undefined;
4971
5102
  collection?: string | undefined;
4972
5103
  timestamps?: boolean | undefined;
4973
- description?: string | undefined;
4974
5104
  pages?: string[] | undefined;
4975
5105
  }[] | undefined;
4976
5106
  stateMachine?: {
@@ -4978,6 +5108,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4978
5108
  name: string;
4979
5109
  key: string;
4980
5110
  description?: string | undefined;
5111
+ synonyms?: string | undefined;
5112
+ tier?: string | undefined;
4981
5113
  payloadSchema?: {
4982
5114
  type: string;
4983
5115
  name: string;
@@ -5029,12 +5161,12 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5029
5161
  sourceEntityDefinition?: {
5030
5162
  name: string;
5031
5163
  fields: unknown[];
5164
+ description?: string | undefined;
5032
5165
  persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
5033
5166
  collection?: string | undefined;
5034
5167
  instances?: Record<string, unknown>[] | undefined;
5035
5168
  timestamps?: boolean | undefined;
5036
5169
  softDelete?: boolean | undefined;
5037
- description?: string | undefined;
5038
5170
  visual_prompt?: string | undefined;
5039
5171
  assetRef?: {
5040
5172
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -5203,11 +5335,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5203
5335
  required?: boolean | undefined;
5204
5336
  default?: unknown;
5205
5337
  }[];
5338
+ description?: string | undefined;
5206
5339
  runtime?: boolean | undefined;
5207
5340
  singleton?: boolean | undefined;
5208
5341
  collection?: string | undefined;
5209
5342
  timestamps?: boolean | undefined;
5210
- description?: string | undefined;
5211
5343
  pages?: string[] | undefined;
5212
5344
  }, {
5213
5345
  name: string;
@@ -5218,11 +5350,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5218
5350
  required?: boolean | undefined;
5219
5351
  default?: unknown;
5220
5352
  }[];
5353
+ description?: string | undefined;
5221
5354
  runtime?: boolean | undefined;
5222
5355
  singleton?: boolean | undefined;
5223
5356
  collection?: string | undefined;
5224
5357
  timestamps?: boolean | undefined;
5225
- description?: string | undefined;
5226
5358
  pages?: string[] | undefined;
5227
5359
  }>, "many">>;
5228
5360
  stateMachine: z.ZodOptional<z.ZodObject<{
@@ -5255,6 +5387,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5255
5387
  key: z.ZodString;
5256
5388
  name: z.ZodString;
5257
5389
  description: z.ZodOptional<z.ZodString>;
5390
+ synonyms: z.ZodOptional<z.ZodString>;
5391
+ tier: z.ZodOptional<z.ZodString>;
5258
5392
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
5259
5393
  name: z.ZodString;
5260
5394
  type: z.ZodString;
@@ -5274,6 +5408,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5274
5408
  name: string;
5275
5409
  key: string;
5276
5410
  description?: string | undefined;
5411
+ synonyms?: string | undefined;
5412
+ tier?: string | undefined;
5277
5413
  payloadSchema?: {
5278
5414
  type: string;
5279
5415
  name: string;
@@ -5285,6 +5421,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5285
5421
  name: string;
5286
5422
  key: string;
5287
5423
  description?: string | undefined;
5424
+ synonyms?: string | undefined;
5425
+ tier?: string | undefined;
5288
5426
  payloadSchema?: {
5289
5427
  type: string;
5290
5428
  name: string;
@@ -5333,6 +5471,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5333
5471
  name: string;
5334
5472
  key: string;
5335
5473
  description?: string | undefined;
5474
+ synonyms?: string | undefined;
5475
+ tier?: string | undefined;
5336
5476
  payloadSchema?: {
5337
5477
  type: string;
5338
5478
  name: string;
@@ -5368,6 +5508,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5368
5508
  name: string;
5369
5509
  key: string;
5370
5510
  description?: string | undefined;
5511
+ synonyms?: string | undefined;
5512
+ tier?: string | undefined;
5371
5513
  payloadSchema?: {
5372
5514
  type: string;
5373
5515
  name: string;
@@ -5441,6 +5583,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5441
5583
  */
5442
5584
  event: z.ZodString;
5443
5585
  description: z.ZodOptional<z.ZodString>;
5586
+ synonyms: z.ZodOptional<z.ZodString>;
5587
+ tier: z.ZodOptional<z.ZodString>;
5444
5588
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
5445
5589
  name: z.ZodString;
5446
5590
  /**
@@ -5474,6 +5618,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5474
5618
  }, "strip", z.ZodTypeAny, {
5475
5619
  event: string;
5476
5620
  description?: string | undefined;
5621
+ synonyms?: string | undefined;
5622
+ tier?: string | undefined;
5477
5623
  payloadSchema?: {
5478
5624
  type: string;
5479
5625
  name: string;
@@ -5485,6 +5631,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5485
5631
  }, {
5486
5632
  event: string;
5487
5633
  description?: string | undefined;
5634
+ synonyms?: string | undefined;
5635
+ tier?: string | undefined;
5488
5636
  payloadSchema?: {
5489
5637
  type: string;
5490
5638
  name: string;
@@ -5497,6 +5645,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5497
5645
  listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
5498
5646
  event: z.ZodString;
5499
5647
  triggers: z.ZodString;
5648
+ description: z.ZodOptional<z.ZodString>;
5649
+ synonyms: z.ZodOptional<z.ZodString>;
5650
+ tier: z.ZodOptional<z.ZodString>;
5500
5651
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
5501
5652
  scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
5502
5653
  payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5531,6 +5682,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5531
5682
  }, "strip", z.ZodTypeAny, {
5532
5683
  event: string;
5533
5684
  triggers: string;
5685
+ description?: string | undefined;
5686
+ synonyms?: string | undefined;
5687
+ tier?: string | undefined;
5534
5688
  guard?: SExpr | undefined;
5535
5689
  source?: {
5536
5690
  kind: "any";
@@ -5547,6 +5701,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5547
5701
  }, {
5548
5702
  event: string;
5549
5703
  triggers: string;
5704
+ description?: string | undefined;
5705
+ synonyms?: string | undefined;
5706
+ tier?: string | undefined;
5550
5707
  guard?: SExpr | undefined;
5551
5708
  source?: {
5552
5709
  kind: "any";
@@ -5609,11 +5766,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5609
5766
  name: string;
5610
5767
  persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
5611
5768
  fields: EntityField[];
5769
+ description?: string | undefined;
5612
5770
  collection?: string | undefined;
5613
5771
  instances?: Record<string, unknown>[] | undefined;
5614
5772
  timestamps?: boolean | undefined;
5615
5773
  softDelete?: boolean | undefined;
5616
- description?: string | undefined;
5617
5774
  visual_prompt?: string | undefined;
5618
5775
  assetRef?: {
5619
5776
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -5625,12 +5782,12 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5625
5782
  }, {
5626
5783
  name: string;
5627
5784
  fields: unknown[];
5785
+ description?: string | undefined;
5628
5786
  persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
5629
5787
  collection?: string | undefined;
5630
5788
  instances?: Record<string, unknown>[] | undefined;
5631
5789
  timestamps?: boolean | undefined;
5632
5790
  softDelete?: boolean | undefined;
5633
- description?: string | undefined;
5634
5791
  visual_prompt?: string | undefined;
5635
5792
  assetRef?: {
5636
5793
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -5643,14 +5800,16 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5643
5800
  }, "strip", z.ZodTypeAny, {
5644
5801
  name: string;
5645
5802
  scope: "instance" | "collection";
5803
+ description?: string | undefined;
5646
5804
  ui?: Record<string, unknown> | undefined;
5647
5805
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
5648
- description?: string | undefined;
5649
5806
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
5650
5807
  capabilities?: string[] | undefined;
5651
5808
  emits?: {
5652
5809
  event: string;
5653
5810
  description?: string | undefined;
5811
+ synonyms?: string | undefined;
5812
+ tier?: string | undefined;
5654
5813
  payloadSchema?: {
5655
5814
  type: string;
5656
5815
  name: string;
@@ -5663,6 +5822,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5663
5822
  listens?: {
5664
5823
  event: string;
5665
5824
  triggers: string;
5825
+ description?: string | undefined;
5826
+ synonyms?: string | undefined;
5827
+ tier?: string | undefined;
5666
5828
  guard?: SExpr | undefined;
5667
5829
  source?: {
5668
5830
  kind: "any";
@@ -5700,11 +5862,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5700
5862
  required?: boolean | undefined;
5701
5863
  default?: unknown;
5702
5864
  }[];
5865
+ description?: string | undefined;
5703
5866
  runtime?: boolean | undefined;
5704
5867
  singleton?: boolean | undefined;
5705
5868
  collection?: string | undefined;
5706
5869
  timestamps?: boolean | undefined;
5707
- description?: string | undefined;
5708
5870
  pages?: string[] | undefined;
5709
5871
  }[] | undefined;
5710
5872
  stateMachine?: {
@@ -5712,6 +5874,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5712
5874
  name: string;
5713
5875
  key: string;
5714
5876
  description?: string | undefined;
5877
+ synonyms?: string | undefined;
5878
+ tier?: string | undefined;
5715
5879
  payloadSchema?: {
5716
5880
  type: string;
5717
5881
  name: string;
@@ -5764,11 +5928,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5764
5928
  name: string;
5765
5929
  persistence: "persistent" | "runtime" | "singleton" | "instance" | "local";
5766
5930
  fields: EntityField[];
5931
+ description?: string | undefined;
5767
5932
  collection?: string | undefined;
5768
5933
  instances?: Record<string, unknown>[] | undefined;
5769
5934
  timestamps?: boolean | undefined;
5770
5935
  softDelete?: boolean | undefined;
5771
- description?: string | undefined;
5772
5936
  visual_prompt?: string | undefined;
5773
5937
  assetRef?: {
5774
5938
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
@@ -5781,14 +5945,16 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5781
5945
  }, {
5782
5946
  name: string;
5783
5947
  scope: "instance" | "collection";
5948
+ description?: string | undefined;
5784
5949
  ui?: Record<string, unknown> | undefined;
5785
5950
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
5786
- description?: string | undefined;
5787
5951
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
5788
5952
  capabilities?: string[] | undefined;
5789
5953
  emits?: {
5790
5954
  event: string;
5791
5955
  description?: string | undefined;
5956
+ synonyms?: string | undefined;
5957
+ tier?: string | undefined;
5792
5958
  payloadSchema?: {
5793
5959
  type: string;
5794
5960
  name: string;
@@ -5801,6 +5967,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5801
5967
  listens?: {
5802
5968
  event: string;
5803
5969
  triggers: string;
5970
+ description?: string | undefined;
5971
+ synonyms?: string | undefined;
5972
+ tier?: string | undefined;
5804
5973
  guard?: SExpr | undefined;
5805
5974
  source?: {
5806
5975
  kind: "any";
@@ -5838,11 +6007,11 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5838
6007
  required?: boolean | undefined;
5839
6008
  default?: unknown;
5840
6009
  }[];
6010
+ description?: string | undefined;
5841
6011
  runtime?: boolean | undefined;
5842
6012
  singleton?: boolean | undefined;
5843
6013
  collection?: string | undefined;
5844
6014
  timestamps?: boolean | undefined;
5845
- description?: string | undefined;
5846
6015
  pages?: string[] | undefined;
5847
6016
  }[] | undefined;
5848
6017
  stateMachine?: {
@@ -5850,6 +6019,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5850
6019
  name: string;
5851
6020
  key: string;
5852
6021
  description?: string | undefined;
6022
+ synonyms?: string | undefined;
6023
+ tier?: string | undefined;
5853
6024
  payloadSchema?: {
5854
6025
  type: string;
5855
6026
  name: string;
@@ -5901,12 +6072,12 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
5901
6072
  sourceEntityDefinition?: {
5902
6073
  name: string;
5903
6074
  fields: unknown[];
6075
+ description?: string | undefined;
5904
6076
  persistence?: "persistent" | "runtime" | "singleton" | "instance" | "local" | undefined;
5905
6077
  collection?: string | undefined;
5906
6078
  instances?: Record<string, unknown>[] | undefined;
5907
6079
  timestamps?: boolean | undefined;
5908
6080
  softDelete?: boolean | undefined;
5909
- description?: string | undefined;
5910
6081
  visual_prompt?: string | undefined;
5911
6082
  assetRef?: {
5912
6083
  role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";