@almadar/core 10.108.0 → 10.109.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.
Files changed (36) hide show
  1. package/dist/builders.d.ts +5 -5
  2. package/dist/builders.js.map +1 -1
  3. package/dist/{bus-BsY6WXg3.d.ts → bus-De_T27aq.d.ts} +2 -2
  4. package/dist/{effect-CG7murna.d.ts → effect-Cv7k1MTO.d.ts} +95 -8
  5. package/dist/{entityAccess-Gh1CZezI.d.ts → entityAccess-CH8vC2OG.d.ts} +3 -3
  6. package/dist/{expression-CfeHdS-f.d.ts → expression-C6Gs_c5b.d.ts} +7 -1
  7. package/dist/factory/index.d.ts +5 -5
  8. package/dist/factory/index.js +1349 -237
  9. package/dist/factory/index.js.map +1 -1
  10. package/dist/factory-runtime/index.d.ts +5 -5
  11. package/dist/factory-runtime/index.js.map +1 -1
  12. package/dist/fixtures.d.ts +3 -3
  13. package/dist/fixtures.js.map +1 -1
  14. package/dist/{index-C7WUNaRL.d.ts → index-BzFToa4c.d.ts} +7 -7
  15. package/dist/index.d.ts +15 -15
  16. package/dist/index.js +1448 -241
  17. package/dist/index.js.map +1 -1
  18. package/dist/mock/index.d.ts +6 -6
  19. package/dist/mock/index.js.map +1 -1
  20. package/dist/patterns/component-mapping.json +11 -1
  21. package/dist/patterns/event-contracts.json +1 -1
  22. package/dist/patterns/index.d.ts +2859 -740
  23. package/dist/patterns/index.js +1364 -240
  24. package/dist/patterns/index.js.map +1 -1
  25. package/dist/patterns/patterns-registry.json +1350 -238
  26. package/dist/patterns/registry.json +1350 -238
  27. package/dist/{schema-BaDkyxMw.d.ts → schema-Chi9QIcZ.d.ts} +1022 -1022
  28. package/dist/state-machine/index.d.ts +1 -1
  29. package/dist/themes/index.d.ts +1 -1
  30. package/dist/{trait-DSIFbDzj.d.ts → trait-A_OGE8xT.d.ts} +182 -182
  31. package/dist/types/index.d.ts +8 -8
  32. package/dist/types/index.js +86 -1
  33. package/dist/types/index.js.map +1 -1
  34. package/dist/{types-DKlN7sIB.d.ts → types-DQoBssKq.d.ts} +2 -2
  35. package/package.json +1 -1
  36. package/dist/{domain-DnEv7amB.d.ts → domain-DYverojF.d.ts} +28 -28
@@ -1,6 +1,6 @@
1
- import { b as EventId, c as Effect, T as TraitId, d as OrbitalId, e as EntityId, P as PageId, A as AnyPatternConfig, f as Entity, E as EntityField } from './effect-CG7murna.js';
1
+ import { b as EventId, c as Effect, T as TraitId, d as OrbitalId, e as EntityId, P as PageId, A as AnyPatternConfig, f as Entity, E as EntityField } from './effect-Cv7k1MTO.js';
2
2
  import { J as JsonValue } from './json-D8gmyK3l.js';
3
- import { E as Expression, S as SExpr } from './expression-CfeHdS-f.js';
3
+ import { E as Expression, S as SExpr } from './expression-C6Gs_c5b.js';
4
4
  import { z } from 'zod';
5
5
 
6
6
  /**
@@ -34,16 +34,16 @@ declare const StateSchema: z.ZodObject<{
34
34
  name: string;
35
35
  description?: string | undefined;
36
36
  isInitial?: boolean | undefined;
37
- isFinal?: boolean | undefined;
38
37
  isTerminal?: boolean | undefined;
38
+ isFinal?: boolean | undefined;
39
39
  onEntry?: string[] | undefined;
40
40
  onExit?: string[] | undefined;
41
41
  }, {
42
42
  name: string;
43
43
  description?: string | undefined;
44
44
  isInitial?: boolean | undefined;
45
- isFinal?: boolean | undefined;
46
45
  isTerminal?: boolean | undefined;
46
+ isFinal?: boolean | undefined;
47
47
  onEntry?: string[] | undefined;
48
48
  onExit?: string[] | undefined;
49
49
  }>;
@@ -258,16 +258,16 @@ declare const TransitionSchema: z.ZodObject<{
258
258
  from: string;
259
259
  to: string;
260
260
  description?: string | null | undefined;
261
- guard?: SExpr | undefined;
262
261
  effects?: SExpr[][] | undefined;
262
+ guard?: SExpr | undefined;
263
263
  eventId?: EventId | undefined;
264
264
  }, {
265
265
  event: string;
266
266
  from: string;
267
267
  to: string;
268
268
  description?: string | null | undefined;
269
- guard?: SExpr | undefined;
270
269
  effects?: SExpr[][] | undefined;
270
+ guard?: SExpr | undefined;
271
271
  eventId?: string | undefined;
272
272
  }>;
273
273
  /**
@@ -296,16 +296,16 @@ declare const StateMachineSchema: z.ZodObject<{
296
296
  name: string;
297
297
  description?: string | undefined;
298
298
  isInitial?: boolean | undefined;
299
- isFinal?: boolean | undefined;
300
299
  isTerminal?: boolean | undefined;
300
+ isFinal?: boolean | undefined;
301
301
  onEntry?: string[] | undefined;
302
302
  onExit?: string[] | undefined;
303
303
  }, {
304
304
  name: string;
305
305
  description?: string | undefined;
306
306
  isInitial?: boolean | undefined;
307
- isFinal?: boolean | undefined;
308
307
  isTerminal?: boolean | undefined;
308
+ isFinal?: boolean | undefined;
309
309
  onEntry?: string[] | undefined;
310
310
  onExit?: string[] | undefined;
311
311
  }>, "many">;
@@ -356,16 +356,16 @@ declare const StateMachineSchema: z.ZodObject<{
356
356
  from: string;
357
357
  to: string;
358
358
  description?: string | null | undefined;
359
- guard?: SExpr | undefined;
360
359
  effects?: SExpr[][] | undefined;
360
+ guard?: SExpr | undefined;
361
361
  eventId?: EventId | undefined;
362
362
  }, {
363
363
  event: string;
364
364
  from: string;
365
365
  to: string;
366
366
  description?: string | null | undefined;
367
- guard?: SExpr | undefined;
368
367
  effects?: SExpr[][] | undefined;
368
+ guard?: SExpr | undefined;
369
369
  eventId?: string | undefined;
370
370
  }>, "many">;
371
371
  guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -386,8 +386,8 @@ declare const StateMachineSchema: z.ZodObject<{
386
386
  name: string;
387
387
  description?: string | undefined;
388
388
  isInitial?: boolean | undefined;
389
- isFinal?: boolean | undefined;
390
389
  isTerminal?: boolean | undefined;
390
+ isFinal?: boolean | undefined;
391
391
  onEntry?: string[] | undefined;
392
392
  onExit?: string[] | undefined;
393
393
  }[];
@@ -396,8 +396,8 @@ declare const StateMachineSchema: z.ZodObject<{
396
396
  from: string;
397
397
  to: string;
398
398
  description?: string | null | undefined;
399
- guard?: SExpr | undefined;
400
399
  effects?: SExpr[][] | undefined;
400
+ guard?: SExpr | undefined;
401
401
  eventId?: EventId | undefined;
402
402
  }[];
403
403
  events: {
@@ -422,8 +422,8 @@ declare const StateMachineSchema: z.ZodObject<{
422
422
  name: string;
423
423
  description?: string | undefined;
424
424
  isInitial?: boolean | undefined;
425
- isFinal?: boolean | undefined;
426
425
  isTerminal?: boolean | undefined;
426
+ isFinal?: boolean | undefined;
427
427
  onEntry?: string[] | undefined;
428
428
  onExit?: string[] | undefined;
429
429
  }[];
@@ -432,8 +432,8 @@ declare const StateMachineSchema: z.ZodObject<{
432
432
  from: string;
433
433
  to: string;
434
434
  description?: string | null | undefined;
435
- guard?: SExpr | undefined;
436
435
  effects?: SExpr[][] | undefined;
436
+ guard?: SExpr | undefined;
437
437
  eventId?: string | undefined;
438
438
  }[];
439
439
  events: {
@@ -1426,16 +1426,16 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1426
1426
  name: string;
1427
1427
  description?: string | undefined;
1428
1428
  isInitial?: boolean | undefined;
1429
- isFinal?: boolean | undefined;
1430
1429
  isTerminal?: boolean | undefined;
1430
+ isFinal?: boolean | undefined;
1431
1431
  onEntry?: string[] | undefined;
1432
1432
  onExit?: string[] | undefined;
1433
1433
  }, {
1434
1434
  name: string;
1435
1435
  description?: string | undefined;
1436
1436
  isInitial?: boolean | undefined;
1437
- isFinal?: boolean | undefined;
1438
1437
  isTerminal?: boolean | undefined;
1438
+ isFinal?: boolean | undefined;
1439
1439
  onEntry?: string[] | undefined;
1440
1440
  onExit?: string[] | undefined;
1441
1441
  }>, "many">;
@@ -1486,16 +1486,16 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1486
1486
  from: string;
1487
1487
  to: string;
1488
1488
  description?: string | null | undefined;
1489
- guard?: SExpr | undefined;
1490
1489
  effects?: SExpr[][] | undefined;
1490
+ guard?: SExpr | undefined;
1491
1491
  eventId?: EventId | undefined;
1492
1492
  }, {
1493
1493
  event: string;
1494
1494
  from: string;
1495
1495
  to: string;
1496
1496
  description?: string | null | undefined;
1497
- guard?: SExpr | undefined;
1498
1497
  effects?: SExpr[][] | undefined;
1498
+ guard?: SExpr | undefined;
1499
1499
  eventId?: string | undefined;
1500
1500
  }>, "many">;
1501
1501
  guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1516,8 +1516,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1516
1516
  name: string;
1517
1517
  description?: string | undefined;
1518
1518
  isInitial?: boolean | undefined;
1519
- isFinal?: boolean | undefined;
1520
1519
  isTerminal?: boolean | undefined;
1520
+ isFinal?: boolean | undefined;
1521
1521
  onEntry?: string[] | undefined;
1522
1522
  onExit?: string[] | undefined;
1523
1523
  }[];
@@ -1526,8 +1526,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1526
1526
  from: string;
1527
1527
  to: string;
1528
1528
  description?: string | null | undefined;
1529
- guard?: SExpr | undefined;
1530
1529
  effects?: SExpr[][] | undefined;
1530
+ guard?: SExpr | undefined;
1531
1531
  eventId?: EventId | undefined;
1532
1532
  }[];
1533
1533
  events: {
@@ -1552,8 +1552,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1552
1552
  name: string;
1553
1553
  description?: string | undefined;
1554
1554
  isInitial?: boolean | undefined;
1555
- isFinal?: boolean | undefined;
1556
1555
  isTerminal?: boolean | undefined;
1556
+ isFinal?: boolean | undefined;
1557
1557
  onEntry?: string[] | undefined;
1558
1558
  onExit?: string[] | undefined;
1559
1559
  }[];
@@ -1562,8 +1562,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1562
1562
  from: string;
1563
1563
  to: string;
1564
1564
  description?: string | null | undefined;
1565
- guard?: SExpr | undefined;
1566
1565
  effects?: SExpr[][] | undefined;
1566
+ guard?: SExpr | undefined;
1567
1567
  eventId?: string | undefined;
1568
1568
  }[];
1569
1569
  events: {
@@ -1982,8 +1982,9 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1982
1982
  closable?: boolean | undefined;
1983
1983
  } | undefined;
1984
1984
  }> | undefined;
1985
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
1985
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
1986
1986
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
1987
+ linkedEntity?: string | undefined;
1987
1988
  emits?: {
1988
1989
  event: string;
1989
1990
  description?: string | undefined;
@@ -2021,7 +2022,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2021
2022
  triggersId?: EventId | undefined;
2022
2023
  payloadMapping?: Record<string, SExpr> | undefined;
2023
2024
  }[] | undefined;
2024
- linkedEntity?: string | undefined;
2025
2025
  events?: Record<string, string> | undefined;
2026
2026
  capabilities?: string[] | undefined;
2027
2027
  dataEntities?: {
@@ -2039,8 +2039,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2039
2039
  name: string;
2040
2040
  description?: string | undefined;
2041
2041
  isInitial?: boolean | undefined;
2042
- isFinal?: boolean | undefined;
2043
2042
  isTerminal?: boolean | undefined;
2043
+ isFinal?: boolean | undefined;
2044
2044
  onEntry?: string[] | undefined;
2045
2045
  onExit?: string[] | undefined;
2046
2046
  }[];
@@ -2049,8 +2049,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2049
2049
  from: string;
2050
2050
  to: string;
2051
2051
  description?: string | null | undefined;
2052
- guard?: SExpr | undefined;
2053
2052
  effects?: SExpr[][] | undefined;
2053
+ guard?: SExpr | undefined;
2054
2054
  eventId?: EventId | undefined;
2055
2055
  }[];
2056
2056
  events: {
@@ -2167,8 +2167,9 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2167
2167
  closable?: boolean | undefined;
2168
2168
  } | undefined;
2169
2169
  }> | undefined;
2170
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
2170
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
2171
2171
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
2172
+ linkedEntity?: string | undefined;
2172
2173
  emits?: {
2173
2174
  event: string;
2174
2175
  description?: string | undefined;
@@ -2206,7 +2207,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2206
2207
  triggersId?: string | undefined;
2207
2208
  payloadMapping?: Record<string, SExpr> | undefined;
2208
2209
  }[] | undefined;
2209
- linkedEntity?: string | undefined;
2210
2210
  events?: Record<string, string> | undefined;
2211
2211
  capabilities?: string[] | undefined;
2212
2212
  dataEntities?: {
@@ -2224,8 +2224,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2224
2224
  name: string;
2225
2225
  description?: string | undefined;
2226
2226
  isInitial?: boolean | undefined;
2227
- isFinal?: boolean | undefined;
2228
2227
  isTerminal?: boolean | undefined;
2228
+ isFinal?: boolean | undefined;
2229
2229
  onEntry?: string[] | undefined;
2230
2230
  onExit?: string[] | undefined;
2231
2231
  }[];
@@ -2234,8 +2234,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2234
2234
  from: string;
2235
2235
  to: string;
2236
2236
  description?: string | null | undefined;
2237
- guard?: SExpr | undefined;
2238
2237
  effects?: SExpr[][] | undefined;
2238
+ guard?: SExpr | undefined;
2239
2239
  eventId?: string | undefined;
2240
2240
  }[];
2241
2241
  events: {
@@ -2444,6 +2444,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2444
2444
  name?: string | undefined;
2445
2445
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
2446
2446
  fields?: Record<string, string> | undefined;
2447
+ effects?: Record<string, SExpr[]> | undefined;
2448
+ linkedEntity?: string | undefined;
2447
2449
  listens?: {
2448
2450
  event: string;
2449
2451
  triggers: string;
@@ -2469,8 +2471,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2469
2471
  triggersId?: EventId | undefined;
2470
2472
  payloadMapping?: Record<string, SExpr> | undefined;
2471
2473
  }[] | undefined;
2472
- effects?: Record<string, SExpr[]> | undefined;
2473
- linkedEntity?: string | undefined;
2474
2474
  events?: Record<string, string> | undefined;
2475
2475
  refId?: TraitId | undefined;
2476
2476
  appliesTo?: string[] | undefined;
@@ -2495,8 +2495,9 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2495
2495
  closable?: boolean | undefined;
2496
2496
  } | undefined;
2497
2497
  }> | undefined;
2498
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
2498
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
2499
2499
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
2500
+ linkedEntity?: string | undefined;
2500
2501
  emits?: {
2501
2502
  event: string;
2502
2503
  description?: string | undefined;
@@ -2534,7 +2535,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2534
2535
  triggersId?: EventId | undefined;
2535
2536
  payloadMapping?: Record<string, SExpr> | undefined;
2536
2537
  }[] | undefined;
2537
- linkedEntity?: string | undefined;
2538
2538
  events?: Record<string, string> | undefined;
2539
2539
  capabilities?: string[] | undefined;
2540
2540
  dataEntities?: {
@@ -2552,8 +2552,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2552
2552
  name: string;
2553
2553
  description?: string | undefined;
2554
2554
  isInitial?: boolean | undefined;
2555
- isFinal?: boolean | undefined;
2556
2555
  isTerminal?: boolean | undefined;
2556
+ isFinal?: boolean | undefined;
2557
2557
  onEntry?: string[] | undefined;
2558
2558
  onExit?: string[] | undefined;
2559
2559
  }[];
@@ -2562,8 +2562,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2562
2562
  from: string;
2563
2563
  to: string;
2564
2564
  description?: string | null | undefined;
2565
- guard?: SExpr | undefined;
2566
2565
  effects?: SExpr[][] | undefined;
2566
+ guard?: SExpr | undefined;
2567
2567
  eventId?: EventId | undefined;
2568
2568
  }[];
2569
2569
  events: {
@@ -2671,6 +2671,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2671
2671
  name?: string | undefined;
2672
2672
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
2673
2673
  fields?: Record<string, string> | undefined;
2674
+ effects?: Record<string, SExpr[]> | undefined;
2675
+ linkedEntity?: string | undefined;
2674
2676
  listens?: {
2675
2677
  event: string;
2676
2678
  triggers: string;
@@ -2696,8 +2698,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2696
2698
  triggersId?: string | undefined;
2697
2699
  payloadMapping?: Record<string, SExpr> | undefined;
2698
2700
  }[] | undefined;
2699
- effects?: Record<string, SExpr[]> | undefined;
2700
- linkedEntity?: string | undefined;
2701
2701
  events?: Record<string, string> | undefined;
2702
2702
  refId?: string | undefined;
2703
2703
  appliesTo?: string[] | undefined;
@@ -2722,8 +2722,9 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2722
2722
  closable?: boolean | undefined;
2723
2723
  } | undefined;
2724
2724
  }> | undefined;
2725
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
2725
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
2726
2726
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
2727
+ linkedEntity?: string | undefined;
2727
2728
  emits?: {
2728
2729
  event: string;
2729
2730
  description?: string | undefined;
@@ -2761,7 +2762,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2761
2762
  triggersId?: string | undefined;
2762
2763
  payloadMapping?: Record<string, SExpr> | undefined;
2763
2764
  }[] | undefined;
2764
- linkedEntity?: string | undefined;
2765
2765
  events?: Record<string, string> | undefined;
2766
2766
  capabilities?: string[] | undefined;
2767
2767
  dataEntities?: {
@@ -2779,8 +2779,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2779
2779
  name: string;
2780
2780
  description?: string | undefined;
2781
2781
  isInitial?: boolean | undefined;
2782
- isFinal?: boolean | undefined;
2783
2782
  isTerminal?: boolean | undefined;
2783
+ isFinal?: boolean | undefined;
2784
2784
  onEntry?: string[] | undefined;
2785
2785
  onExit?: string[] | undefined;
2786
2786
  }[];
@@ -2789,8 +2789,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2789
2789
  from: string;
2790
2790
  to: string;
2791
2791
  description?: string | null | undefined;
2792
- guard?: SExpr | undefined;
2793
2792
  effects?: SExpr[][] | undefined;
2793
+ guard?: SExpr | undefined;
2794
2794
  eventId?: string | undefined;
2795
2795
  }[];
2796
2796
  events: {
@@ -2898,6 +2898,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2898
2898
  name?: string | undefined;
2899
2899
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
2900
2900
  fields?: Record<string, string> | undefined;
2901
+ effects?: Record<string, SExpr[]> | undefined;
2902
+ linkedEntity?: string | undefined;
2901
2903
  listens?: {
2902
2904
  event: string;
2903
2905
  triggers: string;
@@ -2923,8 +2925,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2923
2925
  triggersId?: EventId | undefined;
2924
2926
  payloadMapping?: Record<string, SExpr> | undefined;
2925
2927
  }[] | undefined;
2926
- effects?: Record<string, SExpr[]> | undefined;
2927
- linkedEntity?: string | undefined;
2928
2928
  events?: Record<string, string> | undefined;
2929
2929
  refId?: TraitId | undefined;
2930
2930
  appliesTo?: string[] | undefined;
@@ -2949,8 +2949,9 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2949
2949
  closable?: boolean | undefined;
2950
2950
  } | undefined;
2951
2951
  }> | undefined;
2952
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
2952
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
2953
2953
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
2954
+ linkedEntity?: string | undefined;
2954
2955
  emits?: {
2955
2956
  event: string;
2956
2957
  description?: string | undefined;
@@ -2988,7 +2989,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2988
2989
  triggersId?: EventId | undefined;
2989
2990
  payloadMapping?: Record<string, SExpr> | undefined;
2990
2991
  }[] | undefined;
2991
- linkedEntity?: string | undefined;
2992
2992
  events?: Record<string, string> | undefined;
2993
2993
  capabilities?: string[] | undefined;
2994
2994
  dataEntities?: {
@@ -3006,8 +3006,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3006
3006
  name: string;
3007
3007
  description?: string | undefined;
3008
3008
  isInitial?: boolean | undefined;
3009
- isFinal?: boolean | undefined;
3010
3009
  isTerminal?: boolean | undefined;
3010
+ isFinal?: boolean | undefined;
3011
3011
  onEntry?: string[] | undefined;
3012
3012
  onExit?: string[] | undefined;
3013
3013
  }[];
@@ -3016,8 +3016,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3016
3016
  from: string;
3017
3017
  to: string;
3018
3018
  description?: string | null | undefined;
3019
- guard?: SExpr | undefined;
3020
3019
  effects?: SExpr[][] | undefined;
3020
+ guard?: SExpr | undefined;
3021
3021
  eventId?: EventId | undefined;
3022
3022
  }[];
3023
3023
  events: {
@@ -3125,6 +3125,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3125
3125
  name?: string | undefined;
3126
3126
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
3127
3127
  fields?: Record<string, string> | undefined;
3128
+ effects?: Record<string, SExpr[]> | undefined;
3129
+ linkedEntity?: string | undefined;
3128
3130
  listens?: {
3129
3131
  event: string;
3130
3132
  triggers: string;
@@ -3150,8 +3152,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3150
3152
  triggersId?: string | undefined;
3151
3153
  payloadMapping?: Record<string, SExpr> | undefined;
3152
3154
  }[] | undefined;
3153
- effects?: Record<string, SExpr[]> | undefined;
3154
- linkedEntity?: string | undefined;
3155
3155
  events?: Record<string, string> | undefined;
3156
3156
  refId?: string | undefined;
3157
3157
  appliesTo?: string[] | undefined;
@@ -3176,8 +3176,9 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3176
3176
  closable?: boolean | undefined;
3177
3177
  } | undefined;
3178
3178
  }> | undefined;
3179
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
3179
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
3180
3180
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
3181
+ linkedEntity?: string | undefined;
3181
3182
  emits?: {
3182
3183
  event: string;
3183
3184
  description?: string | undefined;
@@ -3215,7 +3216,6 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3215
3216
  triggersId?: string | undefined;
3216
3217
  payloadMapping?: Record<string, SExpr> | undefined;
3217
3218
  }[] | undefined;
3218
- linkedEntity?: string | undefined;
3219
3219
  events?: Record<string, string> | undefined;
3220
3220
  capabilities?: string[] | undefined;
3221
3221
  dataEntities?: {
@@ -3233,8 +3233,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3233
3233
  name: string;
3234
3234
  description?: string | undefined;
3235
3235
  isInitial?: boolean | undefined;
3236
- isFinal?: boolean | undefined;
3237
3236
  isTerminal?: boolean | undefined;
3237
+ isFinal?: boolean | undefined;
3238
3238
  onEntry?: string[] | undefined;
3239
3239
  onExit?: string[] | undefined;
3240
3240
  }[];
@@ -3243,8 +3243,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3243
3243
  from: string;
3244
3244
  to: string;
3245
3245
  description?: string | null | undefined;
3246
- guard?: SExpr | undefined;
3247
3246
  effects?: SExpr[][] | undefined;
3247
+ guard?: SExpr | undefined;
3248
3248
  eventId?: string | undefined;
3249
3249
  }[];
3250
3250
  events: {
@@ -3818,16 +3818,16 @@ declare const TraitSchema: z.ZodObject<{
3818
3818
  name: string;
3819
3819
  description?: string | undefined;
3820
3820
  isInitial?: boolean | undefined;
3821
- isFinal?: boolean | undefined;
3822
3821
  isTerminal?: boolean | undefined;
3822
+ isFinal?: boolean | undefined;
3823
3823
  onEntry?: string[] | undefined;
3824
3824
  onExit?: string[] | undefined;
3825
3825
  }, {
3826
3826
  name: string;
3827
3827
  description?: string | undefined;
3828
3828
  isInitial?: boolean | undefined;
3829
- isFinal?: boolean | undefined;
3830
3829
  isTerminal?: boolean | undefined;
3830
+ isFinal?: boolean | undefined;
3831
3831
  onEntry?: string[] | undefined;
3832
3832
  onExit?: string[] | undefined;
3833
3833
  }>, "many">;
@@ -3878,16 +3878,16 @@ declare const TraitSchema: z.ZodObject<{
3878
3878
  from: string;
3879
3879
  to: string;
3880
3880
  description?: string | null | undefined;
3881
- guard?: SExpr | undefined;
3882
3881
  effects?: SExpr[][] | undefined;
3882
+ guard?: SExpr | undefined;
3883
3883
  eventId?: EventId | undefined;
3884
3884
  }, {
3885
3885
  event: string;
3886
3886
  from: string;
3887
3887
  to: string;
3888
3888
  description?: string | null | undefined;
3889
- guard?: SExpr | undefined;
3890
3889
  effects?: SExpr[][] | undefined;
3890
+ guard?: SExpr | undefined;
3891
3891
  eventId?: string | undefined;
3892
3892
  }>, "many">;
3893
3893
  guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3908,8 +3908,8 @@ declare const TraitSchema: z.ZodObject<{
3908
3908
  name: string;
3909
3909
  description?: string | undefined;
3910
3910
  isInitial?: boolean | undefined;
3911
- isFinal?: boolean | undefined;
3912
3911
  isTerminal?: boolean | undefined;
3912
+ isFinal?: boolean | undefined;
3913
3913
  onEntry?: string[] | undefined;
3914
3914
  onExit?: string[] | undefined;
3915
3915
  }[];
@@ -3918,8 +3918,8 @@ declare const TraitSchema: z.ZodObject<{
3918
3918
  from: string;
3919
3919
  to: string;
3920
3920
  description?: string | null | undefined;
3921
- guard?: SExpr | undefined;
3922
3921
  effects?: SExpr[][] | undefined;
3922
+ guard?: SExpr | undefined;
3923
3923
  eventId?: EventId | undefined;
3924
3924
  }[];
3925
3925
  events: {
@@ -3944,8 +3944,8 @@ declare const TraitSchema: z.ZodObject<{
3944
3944
  name: string;
3945
3945
  description?: string | undefined;
3946
3946
  isInitial?: boolean | undefined;
3947
- isFinal?: boolean | undefined;
3948
3947
  isTerminal?: boolean | undefined;
3948
+ isFinal?: boolean | undefined;
3949
3949
  onEntry?: string[] | undefined;
3950
3950
  onExit?: string[] | undefined;
3951
3951
  }[];
@@ -3954,8 +3954,8 @@ declare const TraitSchema: z.ZodObject<{
3954
3954
  from: string;
3955
3955
  to: string;
3956
3956
  description?: string | null | undefined;
3957
- guard?: SExpr | undefined;
3958
3957
  effects?: SExpr[][] | undefined;
3958
+ guard?: SExpr | undefined;
3959
3959
  eventId?: string | undefined;
3960
3960
  }[];
3961
3961
  events: {
@@ -4374,8 +4374,9 @@ declare const TraitSchema: z.ZodObject<{
4374
4374
  closable?: boolean | undefined;
4375
4375
  } | undefined;
4376
4376
  }> | undefined;
4377
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
4377
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
4378
4378
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
4379
+ linkedEntity?: string | undefined;
4379
4380
  emits?: {
4380
4381
  event: string;
4381
4382
  description?: string | undefined;
@@ -4413,7 +4414,6 @@ declare const TraitSchema: z.ZodObject<{
4413
4414
  triggersId?: EventId | undefined;
4414
4415
  payloadMapping?: Record<string, SExpr> | undefined;
4415
4416
  }[] | undefined;
4416
- linkedEntity?: string | undefined;
4417
4417
  events?: Record<string, string> | undefined;
4418
4418
  capabilities?: string[] | undefined;
4419
4419
  dataEntities?: {
@@ -4431,8 +4431,8 @@ declare const TraitSchema: z.ZodObject<{
4431
4431
  name: string;
4432
4432
  description?: string | undefined;
4433
4433
  isInitial?: boolean | undefined;
4434
- isFinal?: boolean | undefined;
4435
4434
  isTerminal?: boolean | undefined;
4435
+ isFinal?: boolean | undefined;
4436
4436
  onEntry?: string[] | undefined;
4437
4437
  onExit?: string[] | undefined;
4438
4438
  }[];
@@ -4441,8 +4441,8 @@ declare const TraitSchema: z.ZodObject<{
4441
4441
  from: string;
4442
4442
  to: string;
4443
4443
  description?: string | null | undefined;
4444
- guard?: SExpr | undefined;
4445
4444
  effects?: SExpr[][] | undefined;
4445
+ guard?: SExpr | undefined;
4446
4446
  eventId?: EventId | undefined;
4447
4447
  }[];
4448
4448
  events: {
@@ -4559,8 +4559,9 @@ declare const TraitSchema: z.ZodObject<{
4559
4559
  closable?: boolean | undefined;
4560
4560
  } | undefined;
4561
4561
  }> | undefined;
4562
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
4562
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
4563
4563
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
4564
+ linkedEntity?: string | undefined;
4564
4565
  emits?: {
4565
4566
  event: string;
4566
4567
  description?: string | undefined;
@@ -4598,7 +4599,6 @@ declare const TraitSchema: z.ZodObject<{
4598
4599
  triggersId?: string | undefined;
4599
4600
  payloadMapping?: Record<string, SExpr> | undefined;
4600
4601
  }[] | undefined;
4601
- linkedEntity?: string | undefined;
4602
4602
  events?: Record<string, string> | undefined;
4603
4603
  capabilities?: string[] | undefined;
4604
4604
  dataEntities?: {
@@ -4616,8 +4616,8 @@ declare const TraitSchema: z.ZodObject<{
4616
4616
  name: string;
4617
4617
  description?: string | undefined;
4618
4618
  isInitial?: boolean | undefined;
4619
- isFinal?: boolean | undefined;
4620
4619
  isTerminal?: boolean | undefined;
4620
+ isFinal?: boolean | undefined;
4621
4621
  onEntry?: string[] | undefined;
4622
4622
  onExit?: string[] | undefined;
4623
4623
  }[];
@@ -4626,8 +4626,8 @@ declare const TraitSchema: z.ZodObject<{
4626
4626
  from: string;
4627
4627
  to: string;
4628
4628
  description?: string | null | undefined;
4629
- guard?: SExpr | undefined;
4630
4629
  effects?: SExpr[][] | undefined;
4630
+ guard?: SExpr | undefined;
4631
4631
  eventId?: string | undefined;
4632
4632
  }[];
4633
4633
  events: {
@@ -4833,16 +4833,16 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
4833
4833
  name: string;
4834
4834
  description?: string | undefined;
4835
4835
  isInitial?: boolean | undefined;
4836
- isFinal?: boolean | undefined;
4837
4836
  isTerminal?: boolean | undefined;
4837
+ isFinal?: boolean | undefined;
4838
4838
  onEntry?: string[] | undefined;
4839
4839
  onExit?: string[] | undefined;
4840
4840
  }, {
4841
4841
  name: string;
4842
4842
  description?: string | undefined;
4843
4843
  isInitial?: boolean | undefined;
4844
- isFinal?: boolean | undefined;
4845
4844
  isTerminal?: boolean | undefined;
4845
+ isFinal?: boolean | undefined;
4846
4846
  onEntry?: string[] | undefined;
4847
4847
  onExit?: string[] | undefined;
4848
4848
  }>, "many">;
@@ -4893,16 +4893,16 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
4893
4893
  from: string;
4894
4894
  to: string;
4895
4895
  description?: string | null | undefined;
4896
- guard?: SExpr | undefined;
4897
4896
  effects?: SExpr[][] | undefined;
4897
+ guard?: SExpr | undefined;
4898
4898
  eventId?: EventId | undefined;
4899
4899
  }, {
4900
4900
  event: string;
4901
4901
  from: string;
4902
4902
  to: string;
4903
4903
  description?: string | null | undefined;
4904
- guard?: SExpr | undefined;
4905
4904
  effects?: SExpr[][] | undefined;
4905
+ guard?: SExpr | undefined;
4906
4906
  eventId?: string | undefined;
4907
4907
  }>, "many">;
4908
4908
  guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -4923,8 +4923,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
4923
4923
  name: string;
4924
4924
  description?: string | undefined;
4925
4925
  isInitial?: boolean | undefined;
4926
- isFinal?: boolean | undefined;
4927
4926
  isTerminal?: boolean | undefined;
4927
+ isFinal?: boolean | undefined;
4928
4928
  onEntry?: string[] | undefined;
4929
4929
  onExit?: string[] | undefined;
4930
4930
  }[];
@@ -4933,8 +4933,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
4933
4933
  from: string;
4934
4934
  to: string;
4935
4935
  description?: string | null | undefined;
4936
- guard?: SExpr | undefined;
4937
4936
  effects?: SExpr[][] | undefined;
4937
+ guard?: SExpr | undefined;
4938
4938
  eventId?: EventId | undefined;
4939
4939
  }[];
4940
4940
  events: {
@@ -4959,8 +4959,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
4959
4959
  name: string;
4960
4960
  description?: string | undefined;
4961
4961
  isInitial?: boolean | undefined;
4962
- isFinal?: boolean | undefined;
4963
4962
  isTerminal?: boolean | undefined;
4963
+ isFinal?: boolean | undefined;
4964
4964
  onEntry?: string[] | undefined;
4965
4965
  onExit?: string[] | undefined;
4966
4966
  }[];
@@ -4969,8 +4969,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
4969
4969
  from: string;
4970
4970
  to: string;
4971
4971
  description?: string | null | undefined;
4972
- guard?: SExpr | undefined;
4973
4972
  effects?: SExpr[][] | undefined;
4973
+ guard?: SExpr | undefined;
4974
4974
  eventId?: string | undefined;
4975
4975
  }[];
4976
4976
  events: {
@@ -5389,8 +5389,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5389
5389
  closable?: boolean | undefined;
5390
5390
  } | undefined;
5391
5391
  }> | undefined;
5392
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
5392
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
5393
5393
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
5394
+ linkedEntity?: string | undefined;
5394
5395
  emits?: {
5395
5396
  event: string;
5396
5397
  description?: string | undefined;
@@ -5428,7 +5429,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5428
5429
  triggersId?: EventId | undefined;
5429
5430
  payloadMapping?: Record<string, SExpr> | undefined;
5430
5431
  }[] | undefined;
5431
- linkedEntity?: string | undefined;
5432
5432
  events?: Record<string, string> | undefined;
5433
5433
  capabilities?: string[] | undefined;
5434
5434
  dataEntities?: {
@@ -5446,8 +5446,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5446
5446
  name: string;
5447
5447
  description?: string | undefined;
5448
5448
  isInitial?: boolean | undefined;
5449
- isFinal?: boolean | undefined;
5450
5449
  isTerminal?: boolean | undefined;
5450
+ isFinal?: boolean | undefined;
5451
5451
  onEntry?: string[] | undefined;
5452
5452
  onExit?: string[] | undefined;
5453
5453
  }[];
@@ -5456,8 +5456,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5456
5456
  from: string;
5457
5457
  to: string;
5458
5458
  description?: string | null | undefined;
5459
- guard?: SExpr | undefined;
5460
5459
  effects?: SExpr[][] | undefined;
5460
+ guard?: SExpr | undefined;
5461
5461
  eventId?: EventId | undefined;
5462
5462
  }[];
5463
5463
  events: {
@@ -5574,8 +5574,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5574
5574
  closable?: boolean | undefined;
5575
5575
  } | undefined;
5576
5576
  }> | undefined;
5577
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
5577
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
5578
5578
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
5579
+ linkedEntity?: string | undefined;
5579
5580
  emits?: {
5580
5581
  event: string;
5581
5582
  description?: string | undefined;
@@ -5613,7 +5614,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5613
5614
  triggersId?: string | undefined;
5614
5615
  payloadMapping?: Record<string, SExpr> | undefined;
5615
5616
  }[] | undefined;
5616
- linkedEntity?: string | undefined;
5617
5617
  events?: Record<string, string> | undefined;
5618
5618
  capabilities?: string[] | undefined;
5619
5619
  dataEntities?: {
@@ -5631,8 +5631,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5631
5631
  name: string;
5632
5632
  description?: string | undefined;
5633
5633
  isInitial?: boolean | undefined;
5634
- isFinal?: boolean | undefined;
5635
5634
  isTerminal?: boolean | undefined;
5635
+ isFinal?: boolean | undefined;
5636
5636
  onEntry?: string[] | undefined;
5637
5637
  onExit?: string[] | undefined;
5638
5638
  }[];
@@ -5641,8 +5641,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5641
5641
  from: string;
5642
5642
  to: string;
5643
5643
  description?: string | null | undefined;
5644
- guard?: SExpr | undefined;
5645
5644
  effects?: SExpr[][] | undefined;
5645
+ guard?: SExpr | undefined;
5646
5646
  eventId?: string | undefined;
5647
5647
  }[];
5648
5648
  events: {
@@ -5851,6 +5851,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5851
5851
  name?: string | undefined;
5852
5852
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
5853
5853
  fields?: Record<string, string> | undefined;
5854
+ effects?: Record<string, SExpr[]> | undefined;
5855
+ linkedEntity?: string | undefined;
5854
5856
  listens?: {
5855
5857
  event: string;
5856
5858
  triggers: string;
@@ -5876,8 +5878,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5876
5878
  triggersId?: EventId | undefined;
5877
5879
  payloadMapping?: Record<string, SExpr> | undefined;
5878
5880
  }[] | undefined;
5879
- effects?: Record<string, SExpr[]> | undefined;
5880
- linkedEntity?: string | undefined;
5881
5881
  events?: Record<string, string> | undefined;
5882
5882
  refId?: TraitId | undefined;
5883
5883
  appliesTo?: string[] | undefined;
@@ -5902,8 +5902,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5902
5902
  closable?: boolean | undefined;
5903
5903
  } | undefined;
5904
5904
  }> | undefined;
5905
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
5905
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
5906
5906
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
5907
+ linkedEntity?: string | undefined;
5907
5908
  emits?: {
5908
5909
  event: string;
5909
5910
  description?: string | undefined;
@@ -5941,7 +5942,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5941
5942
  triggersId?: EventId | undefined;
5942
5943
  payloadMapping?: Record<string, SExpr> | undefined;
5943
5944
  }[] | undefined;
5944
- linkedEntity?: string | undefined;
5945
5945
  events?: Record<string, string> | undefined;
5946
5946
  capabilities?: string[] | undefined;
5947
5947
  dataEntities?: {
@@ -5959,8 +5959,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5959
5959
  name: string;
5960
5960
  description?: string | undefined;
5961
5961
  isInitial?: boolean | undefined;
5962
- isFinal?: boolean | undefined;
5963
5962
  isTerminal?: boolean | undefined;
5963
+ isFinal?: boolean | undefined;
5964
5964
  onEntry?: string[] | undefined;
5965
5965
  onExit?: string[] | undefined;
5966
5966
  }[];
@@ -5969,8 +5969,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5969
5969
  from: string;
5970
5970
  to: string;
5971
5971
  description?: string | null | undefined;
5972
- guard?: SExpr | undefined;
5973
5972
  effects?: SExpr[][] | undefined;
5973
+ guard?: SExpr | undefined;
5974
5974
  eventId?: EventId | undefined;
5975
5975
  }[];
5976
5976
  events: {
@@ -6078,6 +6078,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6078
6078
  name?: string | undefined;
6079
6079
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
6080
6080
  fields?: Record<string, string> | undefined;
6081
+ effects?: Record<string, SExpr[]> | undefined;
6082
+ linkedEntity?: string | undefined;
6081
6083
  listens?: {
6082
6084
  event: string;
6083
6085
  triggers: string;
@@ -6103,8 +6105,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6103
6105
  triggersId?: string | undefined;
6104
6106
  payloadMapping?: Record<string, SExpr> | undefined;
6105
6107
  }[] | undefined;
6106
- effects?: Record<string, SExpr[]> | undefined;
6107
- linkedEntity?: string | undefined;
6108
6108
  events?: Record<string, string> | undefined;
6109
6109
  refId?: string | undefined;
6110
6110
  appliesTo?: string[] | undefined;
@@ -6129,8 +6129,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6129
6129
  closable?: boolean | undefined;
6130
6130
  } | undefined;
6131
6131
  }> | undefined;
6132
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
6132
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
6133
6133
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
6134
+ linkedEntity?: string | undefined;
6134
6135
  emits?: {
6135
6136
  event: string;
6136
6137
  description?: string | undefined;
@@ -6168,7 +6169,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6168
6169
  triggersId?: string | undefined;
6169
6170
  payloadMapping?: Record<string, SExpr> | undefined;
6170
6171
  }[] | undefined;
6171
- linkedEntity?: string | undefined;
6172
6172
  events?: Record<string, string> | undefined;
6173
6173
  capabilities?: string[] | undefined;
6174
6174
  dataEntities?: {
@@ -6186,8 +6186,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6186
6186
  name: string;
6187
6187
  description?: string | undefined;
6188
6188
  isInitial?: boolean | undefined;
6189
- isFinal?: boolean | undefined;
6190
6189
  isTerminal?: boolean | undefined;
6190
+ isFinal?: boolean | undefined;
6191
6191
  onEntry?: string[] | undefined;
6192
6192
  onExit?: string[] | undefined;
6193
6193
  }[];
@@ -6196,8 +6196,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6196
6196
  from: string;
6197
6197
  to: string;
6198
6198
  description?: string | null | undefined;
6199
- guard?: SExpr | undefined;
6200
6199
  effects?: SExpr[][] | undefined;
6200
+ guard?: SExpr | undefined;
6201
6201
  eventId?: string | undefined;
6202
6202
  }[];
6203
6203
  events: {
@@ -6305,6 +6305,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6305
6305
  name?: string | undefined;
6306
6306
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
6307
6307
  fields?: Record<string, string> | undefined;
6308
+ effects?: Record<string, SExpr[]> | undefined;
6309
+ linkedEntity?: string | undefined;
6308
6310
  listens?: {
6309
6311
  event: string;
6310
6312
  triggers: string;
@@ -6330,8 +6332,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6330
6332
  triggersId?: EventId | undefined;
6331
6333
  payloadMapping?: Record<string, SExpr> | undefined;
6332
6334
  }[] | undefined;
6333
- effects?: Record<string, SExpr[]> | undefined;
6334
- linkedEntity?: string | undefined;
6335
6335
  events?: Record<string, string> | undefined;
6336
6336
  refId?: TraitId | undefined;
6337
6337
  appliesTo?: string[] | undefined;
@@ -6356,8 +6356,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6356
6356
  closable?: boolean | undefined;
6357
6357
  } | undefined;
6358
6358
  }> | undefined;
6359
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
6359
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
6360
6360
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
6361
+ linkedEntity?: string | undefined;
6361
6362
  emits?: {
6362
6363
  event: string;
6363
6364
  description?: string | undefined;
@@ -6395,7 +6396,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6395
6396
  triggersId?: EventId | undefined;
6396
6397
  payloadMapping?: Record<string, SExpr> | undefined;
6397
6398
  }[] | undefined;
6398
- linkedEntity?: string | undefined;
6399
6399
  events?: Record<string, string> | undefined;
6400
6400
  capabilities?: string[] | undefined;
6401
6401
  dataEntities?: {
@@ -6413,8 +6413,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6413
6413
  name: string;
6414
6414
  description?: string | undefined;
6415
6415
  isInitial?: boolean | undefined;
6416
- isFinal?: boolean | undefined;
6417
6416
  isTerminal?: boolean | undefined;
6417
+ isFinal?: boolean | undefined;
6418
6418
  onEntry?: string[] | undefined;
6419
6419
  onExit?: string[] | undefined;
6420
6420
  }[];
@@ -6423,8 +6423,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6423
6423
  from: string;
6424
6424
  to: string;
6425
6425
  description?: string | null | undefined;
6426
- guard?: SExpr | undefined;
6427
6426
  effects?: SExpr[][] | undefined;
6427
+ guard?: SExpr | undefined;
6428
6428
  eventId?: EventId | undefined;
6429
6429
  }[];
6430
6430
  events: {
@@ -6532,6 +6532,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6532
6532
  name?: string | undefined;
6533
6533
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
6534
6534
  fields?: Record<string, string> | undefined;
6535
+ effects?: Record<string, SExpr[]> | undefined;
6536
+ linkedEntity?: string | undefined;
6535
6537
  listens?: {
6536
6538
  event: string;
6537
6539
  triggers: string;
@@ -6557,8 +6559,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6557
6559
  triggersId?: string | undefined;
6558
6560
  payloadMapping?: Record<string, SExpr> | undefined;
6559
6561
  }[] | undefined;
6560
- effects?: Record<string, SExpr[]> | undefined;
6561
- linkedEntity?: string | undefined;
6562
6562
  events?: Record<string, string> | undefined;
6563
6563
  refId?: string | undefined;
6564
6564
  appliesTo?: string[] | undefined;
@@ -6583,8 +6583,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6583
6583
  closable?: boolean | undefined;
6584
6584
  } | undefined;
6585
6585
  }> | undefined;
6586
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
6586
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
6587
6587
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
6588
+ linkedEntity?: string | undefined;
6588
6589
  emits?: {
6589
6590
  event: string;
6590
6591
  description?: string | undefined;
@@ -6622,7 +6623,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6622
6623
  triggersId?: string | undefined;
6623
6624
  payloadMapping?: Record<string, SExpr> | undefined;
6624
6625
  }[] | undefined;
6625
- linkedEntity?: string | undefined;
6626
6626
  events?: Record<string, string> | undefined;
6627
6627
  capabilities?: string[] | undefined;
6628
6628
  dataEntities?: {
@@ -6640,8 +6640,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6640
6640
  name: string;
6641
6641
  description?: string | undefined;
6642
6642
  isInitial?: boolean | undefined;
6643
- isFinal?: boolean | undefined;
6644
6643
  isTerminal?: boolean | undefined;
6644
+ isFinal?: boolean | undefined;
6645
6645
  onEntry?: string[] | undefined;
6646
6646
  onExit?: string[] | undefined;
6647
6647
  }[];
@@ -6650,8 +6650,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6650
6650
  from: string;
6651
6651
  to: string;
6652
6652
  description?: string | null | undefined;
6653
- guard?: SExpr | undefined;
6654
6653
  effects?: SExpr[][] | undefined;
6654
+ guard?: SExpr | undefined;
6655
6655
  eventId?: string | undefined;
6656
6656
  }[];
6657
6657
  events: {
@@ -6849,16 +6849,16 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6849
6849
  name: string;
6850
6850
  description?: string | undefined;
6851
6851
  isInitial?: boolean | undefined;
6852
- isFinal?: boolean | undefined;
6853
6852
  isTerminal?: boolean | undefined;
6853
+ isFinal?: boolean | undefined;
6854
6854
  onEntry?: string[] | undefined;
6855
6855
  onExit?: string[] | undefined;
6856
6856
  }, {
6857
6857
  name: string;
6858
6858
  description?: string | undefined;
6859
6859
  isInitial?: boolean | undefined;
6860
- isFinal?: boolean | undefined;
6861
6860
  isTerminal?: boolean | undefined;
6861
+ isFinal?: boolean | undefined;
6862
6862
  onEntry?: string[] | undefined;
6863
6863
  onExit?: string[] | undefined;
6864
6864
  }>, "many">;
@@ -6909,16 +6909,16 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6909
6909
  from: string;
6910
6910
  to: string;
6911
6911
  description?: string | null | undefined;
6912
- guard?: SExpr | undefined;
6913
6912
  effects?: SExpr[][] | undefined;
6913
+ guard?: SExpr | undefined;
6914
6914
  eventId?: EventId | undefined;
6915
6915
  }, {
6916
6916
  event: string;
6917
6917
  from: string;
6918
6918
  to: string;
6919
6919
  description?: string | null | undefined;
6920
- guard?: SExpr | undefined;
6921
6920
  effects?: SExpr[][] | undefined;
6921
+ guard?: SExpr | undefined;
6922
6922
  eventId?: string | undefined;
6923
6923
  }>, "many">;
6924
6924
  guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -6939,8 +6939,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6939
6939
  name: string;
6940
6940
  description?: string | undefined;
6941
6941
  isInitial?: boolean | undefined;
6942
- isFinal?: boolean | undefined;
6943
6942
  isTerminal?: boolean | undefined;
6943
+ isFinal?: boolean | undefined;
6944
6944
  onEntry?: string[] | undefined;
6945
6945
  onExit?: string[] | undefined;
6946
6946
  }[];
@@ -6949,8 +6949,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6949
6949
  from: string;
6950
6950
  to: string;
6951
6951
  description?: string | null | undefined;
6952
- guard?: SExpr | undefined;
6953
6952
  effects?: SExpr[][] | undefined;
6953
+ guard?: SExpr | undefined;
6954
6954
  eventId?: EventId | undefined;
6955
6955
  }[];
6956
6956
  events: {
@@ -6975,8 +6975,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6975
6975
  name: string;
6976
6976
  description?: string | undefined;
6977
6977
  isInitial?: boolean | undefined;
6978
- isFinal?: boolean | undefined;
6979
6978
  isTerminal?: boolean | undefined;
6979
+ isFinal?: boolean | undefined;
6980
6980
  onEntry?: string[] | undefined;
6981
6981
  onExit?: string[] | undefined;
6982
6982
  }[];
@@ -6985,8 +6985,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6985
6985
  from: string;
6986
6986
  to: string;
6987
6987
  description?: string | null | undefined;
6988
- guard?: SExpr | undefined;
6989
6988
  effects?: SExpr[][] | undefined;
6989
+ guard?: SExpr | undefined;
6990
6990
  eventId?: string | undefined;
6991
6991
  }[];
6992
6992
  events: {
@@ -7405,8 +7405,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7405
7405
  closable?: boolean | undefined;
7406
7406
  } | undefined;
7407
7407
  }> | undefined;
7408
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
7408
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
7409
7409
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
7410
+ linkedEntity?: string | undefined;
7410
7411
  emits?: {
7411
7412
  event: string;
7412
7413
  description?: string | undefined;
@@ -7444,7 +7445,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7444
7445
  triggersId?: EventId | undefined;
7445
7446
  payloadMapping?: Record<string, SExpr> | undefined;
7446
7447
  }[] | undefined;
7447
- linkedEntity?: string | undefined;
7448
7448
  events?: Record<string, string> | undefined;
7449
7449
  capabilities?: string[] | undefined;
7450
7450
  dataEntities?: {
@@ -7462,8 +7462,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7462
7462
  name: string;
7463
7463
  description?: string | undefined;
7464
7464
  isInitial?: boolean | undefined;
7465
- isFinal?: boolean | undefined;
7466
7465
  isTerminal?: boolean | undefined;
7466
+ isFinal?: boolean | undefined;
7467
7467
  onEntry?: string[] | undefined;
7468
7468
  onExit?: string[] | undefined;
7469
7469
  }[];
@@ -7472,8 +7472,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7472
7472
  from: string;
7473
7473
  to: string;
7474
7474
  description?: string | null | undefined;
7475
- guard?: SExpr | undefined;
7476
7475
  effects?: SExpr[][] | undefined;
7476
+ guard?: SExpr | undefined;
7477
7477
  eventId?: EventId | undefined;
7478
7478
  }[];
7479
7479
  events: {
@@ -7590,8 +7590,9 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7590
7590
  closable?: boolean | undefined;
7591
7591
  } | undefined;
7592
7592
  }> | undefined;
7593
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
7593
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
7594
7594
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
7595
+ linkedEntity?: string | undefined;
7595
7596
  emits?: {
7596
7597
  event: string;
7597
7598
  description?: string | undefined;
@@ -7629,7 +7630,6 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7629
7630
  triggersId?: string | undefined;
7630
7631
  payloadMapping?: Record<string, SExpr> | undefined;
7631
7632
  }[] | undefined;
7632
- linkedEntity?: string | undefined;
7633
7633
  events?: Record<string, string> | undefined;
7634
7634
  capabilities?: string[] | undefined;
7635
7635
  dataEntities?: {
@@ -7647,8 +7647,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7647
7647
  name: string;
7648
7648
  description?: string | undefined;
7649
7649
  isInitial?: boolean | undefined;
7650
- isFinal?: boolean | undefined;
7651
7650
  isTerminal?: boolean | undefined;
7651
+ isFinal?: boolean | undefined;
7652
7652
  onEntry?: string[] | undefined;
7653
7653
  onExit?: string[] | undefined;
7654
7654
  }[];
@@ -7657,8 +7657,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7657
7657
  from: string;
7658
7658
  to: string;
7659
7659
  description?: string | null | undefined;
7660
- guard?: SExpr | undefined;
7661
7660
  effects?: SExpr[][] | undefined;
7661
+ guard?: SExpr | undefined;
7662
7662
  eventId?: string | undefined;
7663
7663
  }[];
7664
7664
  events: {
@@ -7934,16 +7934,16 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
7934
7934
  name: string;
7935
7935
  description?: string | undefined;
7936
7936
  isInitial?: boolean | undefined;
7937
- isFinal?: boolean | undefined;
7938
7937
  isTerminal?: boolean | undefined;
7938
+ isFinal?: boolean | undefined;
7939
7939
  onEntry?: string[] | undefined;
7940
7940
  onExit?: string[] | undefined;
7941
7941
  }, {
7942
7942
  name: string;
7943
7943
  description?: string | undefined;
7944
7944
  isInitial?: boolean | undefined;
7945
- isFinal?: boolean | undefined;
7946
7945
  isTerminal?: boolean | undefined;
7946
+ isFinal?: boolean | undefined;
7947
7947
  onEntry?: string[] | undefined;
7948
7948
  onExit?: string[] | undefined;
7949
7949
  }>, "many">;
@@ -7994,16 +7994,16 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
7994
7994
  from: string;
7995
7995
  to: string;
7996
7996
  description?: string | null | undefined;
7997
- guard?: SExpr | undefined;
7998
7997
  effects?: SExpr[][] | undefined;
7998
+ guard?: SExpr | undefined;
7999
7999
  eventId?: EventId | undefined;
8000
8000
  }, {
8001
8001
  event: string;
8002
8002
  from: string;
8003
8003
  to: string;
8004
8004
  description?: string | null | undefined;
8005
- guard?: SExpr | undefined;
8006
8005
  effects?: SExpr[][] | undefined;
8006
+ guard?: SExpr | undefined;
8007
8007
  eventId?: string | undefined;
8008
8008
  }>, "many">;
8009
8009
  guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -8024,8 +8024,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8024
8024
  name: string;
8025
8025
  description?: string | undefined;
8026
8026
  isInitial?: boolean | undefined;
8027
- isFinal?: boolean | undefined;
8028
8027
  isTerminal?: boolean | undefined;
8028
+ isFinal?: boolean | undefined;
8029
8029
  onEntry?: string[] | undefined;
8030
8030
  onExit?: string[] | undefined;
8031
8031
  }[];
@@ -8034,8 +8034,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8034
8034
  from: string;
8035
8035
  to: string;
8036
8036
  description?: string | null | undefined;
8037
- guard?: SExpr | undefined;
8038
8037
  effects?: SExpr[][] | undefined;
8038
+ guard?: SExpr | undefined;
8039
8039
  eventId?: EventId | undefined;
8040
8040
  }[];
8041
8041
  events: {
@@ -8060,8 +8060,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8060
8060
  name: string;
8061
8061
  description?: string | undefined;
8062
8062
  isInitial?: boolean | undefined;
8063
- isFinal?: boolean | undefined;
8064
8063
  isTerminal?: boolean | undefined;
8064
+ isFinal?: boolean | undefined;
8065
8065
  onEntry?: string[] | undefined;
8066
8066
  onExit?: string[] | undefined;
8067
8067
  }[];
@@ -8070,8 +8070,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8070
8070
  from: string;
8071
8071
  to: string;
8072
8072
  description?: string | null | undefined;
8073
- guard?: SExpr | undefined;
8074
8073
  effects?: SExpr[][] | undefined;
8074
+ guard?: SExpr | undefined;
8075
8075
  eventId?: string | undefined;
8076
8076
  }[];
8077
8077
  events: {
@@ -8490,8 +8490,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8490
8490
  closable?: boolean | undefined;
8491
8491
  } | undefined;
8492
8492
  }> | undefined;
8493
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
8493
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
8494
8494
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
8495
+ linkedEntity?: string | undefined;
8495
8496
  emits?: {
8496
8497
  event: string;
8497
8498
  description?: string | undefined;
@@ -8529,7 +8530,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8529
8530
  triggersId?: EventId | undefined;
8530
8531
  payloadMapping?: Record<string, SExpr> | undefined;
8531
8532
  }[] | undefined;
8532
- linkedEntity?: string | undefined;
8533
8533
  events?: Record<string, string> | undefined;
8534
8534
  capabilities?: string[] | undefined;
8535
8535
  dataEntities?: {
@@ -8547,8 +8547,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8547
8547
  name: string;
8548
8548
  description?: string | undefined;
8549
8549
  isInitial?: boolean | undefined;
8550
- isFinal?: boolean | undefined;
8551
8550
  isTerminal?: boolean | undefined;
8551
+ isFinal?: boolean | undefined;
8552
8552
  onEntry?: string[] | undefined;
8553
8553
  onExit?: string[] | undefined;
8554
8554
  }[];
@@ -8557,8 +8557,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8557
8557
  from: string;
8558
8558
  to: string;
8559
8559
  description?: string | null | undefined;
8560
- guard?: SExpr | undefined;
8561
8560
  effects?: SExpr[][] | undefined;
8561
+ guard?: SExpr | undefined;
8562
8562
  eventId?: EventId | undefined;
8563
8563
  }[];
8564
8564
  events: {
@@ -8675,8 +8675,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8675
8675
  closable?: boolean | undefined;
8676
8676
  } | undefined;
8677
8677
  }> | undefined;
8678
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
8678
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
8679
8679
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
8680
+ linkedEntity?: string | undefined;
8680
8681
  emits?: {
8681
8682
  event: string;
8682
8683
  description?: string | undefined;
@@ -8714,7 +8715,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8714
8715
  triggersId?: string | undefined;
8715
8716
  payloadMapping?: Record<string, SExpr> | undefined;
8716
8717
  }[] | undefined;
8717
- linkedEntity?: string | undefined;
8718
8718
  events?: Record<string, string> | undefined;
8719
8719
  capabilities?: string[] | undefined;
8720
8720
  dataEntities?: {
@@ -8732,8 +8732,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8732
8732
  name: string;
8733
8733
  description?: string | undefined;
8734
8734
  isInitial?: boolean | undefined;
8735
- isFinal?: boolean | undefined;
8736
8735
  isTerminal?: boolean | undefined;
8736
+ isFinal?: boolean | undefined;
8737
8737
  onEntry?: string[] | undefined;
8738
8738
  onExit?: string[] | undefined;
8739
8739
  }[];
@@ -8742,8 +8742,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8742
8742
  from: string;
8743
8743
  to: string;
8744
8744
  description?: string | null | undefined;
8745
- guard?: SExpr | undefined;
8746
8745
  effects?: SExpr[][] | undefined;
8746
+ guard?: SExpr | undefined;
8747
8747
  eventId?: string | undefined;
8748
8748
  }[];
8749
8749
  events: {
@@ -8952,6 +8952,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8952
8952
  name?: string | undefined;
8953
8953
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
8954
8954
  fields?: Record<string, string> | undefined;
8955
+ effects?: Record<string, SExpr[]> | undefined;
8956
+ linkedEntity?: string | undefined;
8955
8957
  listens?: {
8956
8958
  event: string;
8957
8959
  triggers: string;
@@ -8977,8 +8979,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8977
8979
  triggersId?: EventId | undefined;
8978
8980
  payloadMapping?: Record<string, SExpr> | undefined;
8979
8981
  }[] | undefined;
8980
- effects?: Record<string, SExpr[]> | undefined;
8981
- linkedEntity?: string | undefined;
8982
8982
  events?: Record<string, string> | undefined;
8983
8983
  refId?: TraitId | undefined;
8984
8984
  appliesTo?: string[] | undefined;
@@ -9003,8 +9003,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9003
9003
  closable?: boolean | undefined;
9004
9004
  } | undefined;
9005
9005
  }> | undefined;
9006
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9006
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9007
9007
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
9008
+ linkedEntity?: string | undefined;
9008
9009
  emits?: {
9009
9010
  event: string;
9010
9011
  description?: string | undefined;
@@ -9042,7 +9043,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9042
9043
  triggersId?: EventId | undefined;
9043
9044
  payloadMapping?: Record<string, SExpr> | undefined;
9044
9045
  }[] | undefined;
9045
- linkedEntity?: string | undefined;
9046
9046
  events?: Record<string, string> | undefined;
9047
9047
  capabilities?: string[] | undefined;
9048
9048
  dataEntities?: {
@@ -9060,8 +9060,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9060
9060
  name: string;
9061
9061
  description?: string | undefined;
9062
9062
  isInitial?: boolean | undefined;
9063
- isFinal?: boolean | undefined;
9064
9063
  isTerminal?: boolean | undefined;
9064
+ isFinal?: boolean | undefined;
9065
9065
  onEntry?: string[] | undefined;
9066
9066
  onExit?: string[] | undefined;
9067
9067
  }[];
@@ -9070,8 +9070,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9070
9070
  from: string;
9071
9071
  to: string;
9072
9072
  description?: string | null | undefined;
9073
- guard?: SExpr | undefined;
9074
9073
  effects?: SExpr[][] | undefined;
9074
+ guard?: SExpr | undefined;
9075
9075
  eventId?: EventId | undefined;
9076
9076
  }[];
9077
9077
  events: {
@@ -9179,6 +9179,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9179
9179
  name?: string | undefined;
9180
9180
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
9181
9181
  fields?: Record<string, string> | undefined;
9182
+ effects?: Record<string, SExpr[]> | undefined;
9183
+ linkedEntity?: string | undefined;
9182
9184
  listens?: {
9183
9185
  event: string;
9184
9186
  triggers: string;
@@ -9204,8 +9206,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9204
9206
  triggersId?: string | undefined;
9205
9207
  payloadMapping?: Record<string, SExpr> | undefined;
9206
9208
  }[] | undefined;
9207
- effects?: Record<string, SExpr[]> | undefined;
9208
- linkedEntity?: string | undefined;
9209
9209
  events?: Record<string, string> | undefined;
9210
9210
  refId?: string | undefined;
9211
9211
  appliesTo?: string[] | undefined;
@@ -9230,8 +9230,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9230
9230
  closable?: boolean | undefined;
9231
9231
  } | undefined;
9232
9232
  }> | undefined;
9233
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9233
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9234
9234
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
9235
+ linkedEntity?: string | undefined;
9235
9236
  emits?: {
9236
9237
  event: string;
9237
9238
  description?: string | undefined;
@@ -9269,7 +9270,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9269
9270
  triggersId?: string | undefined;
9270
9271
  payloadMapping?: Record<string, SExpr> | undefined;
9271
9272
  }[] | undefined;
9272
- linkedEntity?: string | undefined;
9273
9273
  events?: Record<string, string> | undefined;
9274
9274
  capabilities?: string[] | undefined;
9275
9275
  dataEntities?: {
@@ -9287,8 +9287,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9287
9287
  name: string;
9288
9288
  description?: string | undefined;
9289
9289
  isInitial?: boolean | undefined;
9290
- isFinal?: boolean | undefined;
9291
9290
  isTerminal?: boolean | undefined;
9291
+ isFinal?: boolean | undefined;
9292
9292
  onEntry?: string[] | undefined;
9293
9293
  onExit?: string[] | undefined;
9294
9294
  }[];
@@ -9297,8 +9297,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9297
9297
  from: string;
9298
9298
  to: string;
9299
9299
  description?: string | null | undefined;
9300
- guard?: SExpr | undefined;
9301
9300
  effects?: SExpr[][] | undefined;
9301
+ guard?: SExpr | undefined;
9302
9302
  eventId?: string | undefined;
9303
9303
  }[];
9304
9304
  events: {
@@ -9406,6 +9406,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9406
9406
  name?: string | undefined;
9407
9407
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
9408
9408
  fields?: Record<string, string> | undefined;
9409
+ effects?: Record<string, SExpr[]> | undefined;
9410
+ linkedEntity?: string | undefined;
9409
9411
  listens?: {
9410
9412
  event: string;
9411
9413
  triggers: string;
@@ -9431,8 +9433,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9431
9433
  triggersId?: EventId | undefined;
9432
9434
  payloadMapping?: Record<string, SExpr> | undefined;
9433
9435
  }[] | undefined;
9434
- effects?: Record<string, SExpr[]> | undefined;
9435
- linkedEntity?: string | undefined;
9436
9436
  events?: Record<string, string> | undefined;
9437
9437
  refId?: TraitId | undefined;
9438
9438
  appliesTo?: string[] | undefined;
@@ -9457,8 +9457,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9457
9457
  closable?: boolean | undefined;
9458
9458
  } | undefined;
9459
9459
  }> | undefined;
9460
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9460
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9461
9461
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
9462
+ linkedEntity?: string | undefined;
9462
9463
  emits?: {
9463
9464
  event: string;
9464
9465
  description?: string | undefined;
@@ -9496,7 +9497,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9496
9497
  triggersId?: EventId | undefined;
9497
9498
  payloadMapping?: Record<string, SExpr> | undefined;
9498
9499
  }[] | undefined;
9499
- linkedEntity?: string | undefined;
9500
9500
  events?: Record<string, string> | undefined;
9501
9501
  capabilities?: string[] | undefined;
9502
9502
  dataEntities?: {
@@ -9514,8 +9514,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9514
9514
  name: string;
9515
9515
  description?: string | undefined;
9516
9516
  isInitial?: boolean | undefined;
9517
- isFinal?: boolean | undefined;
9518
9517
  isTerminal?: boolean | undefined;
9518
+ isFinal?: boolean | undefined;
9519
9519
  onEntry?: string[] | undefined;
9520
9520
  onExit?: string[] | undefined;
9521
9521
  }[];
@@ -9524,8 +9524,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9524
9524
  from: string;
9525
9525
  to: string;
9526
9526
  description?: string | null | undefined;
9527
- guard?: SExpr | undefined;
9528
9527
  effects?: SExpr[][] | undefined;
9528
+ guard?: SExpr | undefined;
9529
9529
  eventId?: EventId | undefined;
9530
9530
  }[];
9531
9531
  events: {
@@ -9633,6 +9633,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9633
9633
  name?: string | undefined;
9634
9634
  config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
9635
9635
  fields?: Record<string, string> | undefined;
9636
+ effects?: Record<string, SExpr[]> | undefined;
9637
+ linkedEntity?: string | undefined;
9636
9638
  listens?: {
9637
9639
  event: string;
9638
9640
  triggers: string;
@@ -9658,8 +9660,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9658
9660
  triggersId?: string | undefined;
9659
9661
  payloadMapping?: Record<string, SExpr> | undefined;
9660
9662
  }[] | undefined;
9661
- effects?: Record<string, SExpr[]> | undefined;
9662
- linkedEntity?: string | undefined;
9663
9663
  events?: Record<string, string> | undefined;
9664
9664
  refId?: string | undefined;
9665
9665
  appliesTo?: string[] | undefined;
@@ -9684,8 +9684,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9684
9684
  closable?: boolean | undefined;
9685
9685
  } | undefined;
9686
9686
  }> | undefined;
9687
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9687
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9688
9688
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
9689
+ linkedEntity?: string | undefined;
9689
9690
  emits?: {
9690
9691
  event: string;
9691
9692
  description?: string | undefined;
@@ -9723,7 +9724,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9723
9724
  triggersId?: string | undefined;
9724
9725
  payloadMapping?: Record<string, SExpr> | undefined;
9725
9726
  }[] | undefined;
9726
- linkedEntity?: string | undefined;
9727
9727
  events?: Record<string, string> | undefined;
9728
9728
  capabilities?: string[] | undefined;
9729
9729
  dataEntities?: {
@@ -9741,8 +9741,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9741
9741
  name: string;
9742
9742
  description?: string | undefined;
9743
9743
  isInitial?: boolean | undefined;
9744
- isFinal?: boolean | undefined;
9745
9744
  isTerminal?: boolean | undefined;
9745
+ isFinal?: boolean | undefined;
9746
9746
  onEntry?: string[] | undefined;
9747
9747
  onExit?: string[] | undefined;
9748
9748
  }[];
@@ -9751,8 +9751,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9751
9751
  from: string;
9752
9752
  to: string;
9753
9753
  description?: string | null | undefined;
9754
- guard?: SExpr | undefined;
9755
9754
  effects?: SExpr[][] | undefined;
9755
+ guard?: SExpr | undefined;
9756
9756
  eventId?: string | undefined;
9757
9757
  }[];
9758
9758
  events: {
@@ -9950,16 +9950,16 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9950
9950
  name: string;
9951
9951
  description?: string | undefined;
9952
9952
  isInitial?: boolean | undefined;
9953
- isFinal?: boolean | undefined;
9954
9953
  isTerminal?: boolean | undefined;
9954
+ isFinal?: boolean | undefined;
9955
9955
  onEntry?: string[] | undefined;
9956
9956
  onExit?: string[] | undefined;
9957
9957
  }, {
9958
9958
  name: string;
9959
9959
  description?: string | undefined;
9960
9960
  isInitial?: boolean | undefined;
9961
- isFinal?: boolean | undefined;
9962
9961
  isTerminal?: boolean | undefined;
9962
+ isFinal?: boolean | undefined;
9963
9963
  onEntry?: string[] | undefined;
9964
9964
  onExit?: string[] | undefined;
9965
9965
  }>, "many">;
@@ -10010,16 +10010,16 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10010
10010
  from: string;
10011
10011
  to: string;
10012
10012
  description?: string | null | undefined;
10013
- guard?: SExpr | undefined;
10014
10013
  effects?: SExpr[][] | undefined;
10014
+ guard?: SExpr | undefined;
10015
10015
  eventId?: EventId | undefined;
10016
10016
  }, {
10017
10017
  event: string;
10018
10018
  from: string;
10019
10019
  to: string;
10020
10020
  description?: string | null | undefined;
10021
- guard?: SExpr | undefined;
10022
10021
  effects?: SExpr[][] | undefined;
10022
+ guard?: SExpr | undefined;
10023
10023
  eventId?: string | undefined;
10024
10024
  }>, "many">;
10025
10025
  guards: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -10040,8 +10040,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10040
10040
  name: string;
10041
10041
  description?: string | undefined;
10042
10042
  isInitial?: boolean | undefined;
10043
- isFinal?: boolean | undefined;
10044
10043
  isTerminal?: boolean | undefined;
10044
+ isFinal?: boolean | undefined;
10045
10045
  onEntry?: string[] | undefined;
10046
10046
  onExit?: string[] | undefined;
10047
10047
  }[];
@@ -10050,8 +10050,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10050
10050
  from: string;
10051
10051
  to: string;
10052
10052
  description?: string | null | undefined;
10053
- guard?: SExpr | undefined;
10054
10053
  effects?: SExpr[][] | undefined;
10054
+ guard?: SExpr | undefined;
10055
10055
  eventId?: EventId | undefined;
10056
10056
  }[];
10057
10057
  events: {
@@ -10076,8 +10076,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10076
10076
  name: string;
10077
10077
  description?: string | undefined;
10078
10078
  isInitial?: boolean | undefined;
10079
- isFinal?: boolean | undefined;
10080
10079
  isTerminal?: boolean | undefined;
10080
+ isFinal?: boolean | undefined;
10081
10081
  onEntry?: string[] | undefined;
10082
10082
  onExit?: string[] | undefined;
10083
10083
  }[];
@@ -10086,8 +10086,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10086
10086
  from: string;
10087
10087
  to: string;
10088
10088
  description?: string | null | undefined;
10089
- guard?: SExpr | undefined;
10090
10089
  effects?: SExpr[][] | undefined;
10090
+ guard?: SExpr | undefined;
10091
10091
  eventId?: string | undefined;
10092
10092
  }[];
10093
10093
  events: {
@@ -10506,8 +10506,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10506
10506
  closable?: boolean | undefined;
10507
10507
  } | undefined;
10508
10508
  }> | undefined;
10509
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
10509
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
10510
10510
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
10511
+ linkedEntity?: string | undefined;
10511
10512
  emits?: {
10512
10513
  event: string;
10513
10514
  description?: string | undefined;
@@ -10545,7 +10546,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10545
10546
  triggersId?: EventId | undefined;
10546
10547
  payloadMapping?: Record<string, SExpr> | undefined;
10547
10548
  }[] | undefined;
10548
- linkedEntity?: string | undefined;
10549
10549
  events?: Record<string, string> | undefined;
10550
10550
  capabilities?: string[] | undefined;
10551
10551
  dataEntities?: {
@@ -10563,8 +10563,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10563
10563
  name: string;
10564
10564
  description?: string | undefined;
10565
10565
  isInitial?: boolean | undefined;
10566
- isFinal?: boolean | undefined;
10567
10566
  isTerminal?: boolean | undefined;
10567
+ isFinal?: boolean | undefined;
10568
10568
  onEntry?: string[] | undefined;
10569
10569
  onExit?: string[] | undefined;
10570
10570
  }[];
@@ -10573,8 +10573,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10573
10573
  from: string;
10574
10574
  to: string;
10575
10575
  description?: string | null | undefined;
10576
- guard?: SExpr | undefined;
10577
10576
  effects?: SExpr[][] | undefined;
10577
+ guard?: SExpr | undefined;
10578
10578
  eventId?: EventId | undefined;
10579
10579
  }[];
10580
10580
  events: {
@@ -10691,8 +10691,9 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10691
10691
  closable?: boolean | undefined;
10692
10692
  } | undefined;
10693
10693
  }> | undefined;
10694
- category?: "validation" | "notification" | "agent" | "lifecycle" | "temporal" | "integration" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
10694
+ category?: "validation" | "notification" | "agent" | "integration" | "lifecycle" | "temporal" | "interaction" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
10695
10695
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
10696
+ linkedEntity?: string | undefined;
10696
10697
  emits?: {
10697
10698
  event: string;
10698
10699
  description?: string | undefined;
@@ -10730,7 +10731,6 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10730
10731
  triggersId?: string | undefined;
10731
10732
  payloadMapping?: Record<string, SExpr> | undefined;
10732
10733
  }[] | undefined;
10733
- linkedEntity?: string | undefined;
10734
10734
  events?: Record<string, string> | undefined;
10735
10735
  capabilities?: string[] | undefined;
10736
10736
  dataEntities?: {
@@ -10748,8 +10748,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10748
10748
  name: string;
10749
10749
  description?: string | undefined;
10750
10750
  isInitial?: boolean | undefined;
10751
- isFinal?: boolean | undefined;
10752
10751
  isTerminal?: boolean | undefined;
10752
+ isFinal?: boolean | undefined;
10753
10753
  onEntry?: string[] | undefined;
10754
10754
  onExit?: string[] | undefined;
10755
10755
  }[];
@@ -10758,8 +10758,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10758
10758
  from: string;
10759
10759
  to: string;
10760
10760
  description?: string | null | undefined;
10761
- guard?: SExpr | undefined;
10762
10761
  effects?: SExpr[][] | undefined;
10762
+ guard?: SExpr | undefined;
10763
10763
  eventId?: string | undefined;
10764
10764
  }[];
10765
10765
  events: {