@almadar/core 10.102.0 → 10.104.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 (51) hide show
  1. package/dist/builders.d.ts +5 -5
  2. package/dist/builders.js +5 -2
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{bus-BS4TMOJW.d.ts → bus-DCYJF88B.d.ts} +37 -7
  5. package/dist/{domain-Ds_7wZIL.d.ts → domain-DnEv7amB.d.ts} +17 -5
  6. package/dist/{effect-Hm_QDaSI.d.ts → effect-DhsB3usU.d.ts} +26 -376
  7. package/dist/{entityAccess-D2OpLCyX.d.ts → entityAccess-CLWlioZ0.d.ts} +3 -3
  8. package/dist/{expression-DRwzVnMu.d.ts → expression-CfeHdS-f.d.ts} +10 -1
  9. package/dist/factory/index.d.ts +5 -5
  10. package/dist/factory/index.js +397 -4805
  11. package/dist/factory/index.js.map +1 -1
  12. package/dist/factory-runtime/index.d.ts +5 -5
  13. package/dist/factory-runtime/index.js +34 -9
  14. package/dist/factory-runtime/index.js.map +1 -1
  15. package/dist/fixtures.d.ts +3 -3
  16. package/dist/fixtures.js +20 -3
  17. package/dist/fixtures.js.map +1 -1
  18. package/dist/i18n/index.js +27 -6
  19. package/dist/i18n/index.js.map +1 -1
  20. package/dist/{index-CyfcxG5N.d.ts → index-B1az2E8z.d.ts} +122 -23
  21. package/dist/index.d.ts +85 -17
  22. package/dist/index.js +950 -5291
  23. package/dist/index.js.map +1 -1
  24. package/dist/lolo-document/index.d.ts +166 -0
  25. package/dist/lolo-document/index.js +615 -0
  26. package/dist/lolo-document/index.js.map +1 -0
  27. package/dist/mock/index.d.ts +6 -6
  28. package/dist/mock/index.js +12 -1
  29. package/dist/mock/index.js.map +1 -1
  30. package/dist/patterns/component-mapping.json +17 -192
  31. package/dist/patterns/event-contracts.json +1 -86
  32. package/dist/patterns/index.d.ts +10624 -20955
  33. package/dist/patterns/index.js +663 -5326
  34. package/dist/patterns/index.js.map +1 -1
  35. package/dist/patterns/patterns-registry.json +398 -4806
  36. package/dist/patterns/registry.json +398 -4806
  37. package/dist/{schema-COf9yTjs.d.ts → schema-CjwAD-Y4.d.ts} +1577 -274
  38. package/dist/state-machine/index.d.ts +1 -1
  39. package/dist/themes/index.d.ts +1 -1
  40. package/dist/themes/index.js +2 -1
  41. package/dist/themes/index.js.map +1 -1
  42. package/dist/{trait-Be3xF0px.d.ts → trait-DoFyUfui.d.ts} +75 -11
  43. package/dist/types/index.d.ts +8 -8
  44. package/dist/types/index.js +221 -54
  45. package/dist/types/index.js.map +1 -1
  46. package/dist/{types-CYOzs4As.d.ts → types-DBAbXfRk.d.ts} +2 -2
  47. package/fixtures/events-wire/client-effects-provenance/request.json +5 -0
  48. package/fixtures/events-wire/client-effects-provenance/response.json +57 -0
  49. package/fixtures/events-wire/effect-results-every-kind/response.json +1 -1
  50. package/package.json +7 -2
  51. package/src/types/bindings.ts +28 -3
@@ -1,8 +1,8 @@
1
- import { b as TraitConfig, c as TraitConfigObject, D as DeclaredTraitConfig, d as TraitRef, E as EventPayloadField, C as ConfigFieldDeclaration, e as TraitEntityField, P as PayloadField, f as TraitTypeParamDef, g as TraitConfigValue, h as Trait } from './trait-Be3xF0px.js';
1
+ import { b as TraitConfig, c as TraitConfigObject, D as DeclaredTraitConfig, d as TraitRef, E as EventPayloadField, T as TraitEventListener, C as ConfigFieldDeclaration, e as TraitEntityField, P as PayloadField, f as TraitTypeParamDef, g as TraitConfigValue, h as Trait } from './trait-DoFyUfui.js';
2
2
  import { J as JsonValue, R as RuntimeValue } from './json-D8gmyK3l.js';
3
- import { E as Expression, S as SExpr } from './expression-DRwzVnMu.js';
4
- import { T as TraitId, e as EntityId, P as PageId, d as OrbitalId, E as EntityField, j as ServiceRef, f as Entity, a as EntityPersistence, b as EventId, k as ServiceDefinition, I as IdentityLedger } from './effect-Hm_QDaSI.js';
5
- import { a as ThemeRef, D as DomainContext, b as DesignPreferences, S as SuggestedGuard, C as ColorTokens, c as DesignTokens, d as CustomPatternMap } from './domain-Ds_7wZIL.js';
3
+ import { E as Expression, S as SExpr } from './expression-CfeHdS-f.js';
4
+ import { T as TraitId, e as EntityId, P as PageId, d as OrbitalId, E as EntityField, j as ServiceRef, f as Entity, a as EntityPersistence, b as EventId, k as ServiceDefinition, I as IdentityLedger } from './effect-DhsB3usU.js';
5
+ import { a as ThemeRef, D as DomainContext, b as DesignPreferences, S as SuggestedGuard, C as ColorTokens, c as DesignTokens, d as CustomPatternMap } from './domain-DnEv7amB.js';
6
6
  import { z } from 'zod';
7
7
 
8
8
  /**
@@ -1115,6 +1115,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
1115
1115
  priority: z.ZodOptional<z.ZodNumber>;
1116
1116
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
1117
1117
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1118
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
1118
1119
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1119
1120
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
1120
1121
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -1131,6 +1132,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
1131
1132
  guard?: SExpr | undefined;
1132
1133
  priority?: number | undefined;
1133
1134
  appliesTo?: string[] | undefined;
1135
+ runsInBackground?: boolean | undefined;
1134
1136
  pageIds?: PageId[] | undefined;
1135
1137
  emitIds?: EventId[] | undefined;
1136
1138
  }, {
@@ -1143,6 +1145,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
1143
1145
  guard?: SExpr | undefined;
1144
1146
  priority?: number | undefined;
1145
1147
  appliesTo?: string[] | undefined;
1148
+ runsInBackground?: boolean | undefined;
1146
1149
  pageIds?: string[] | undefined;
1147
1150
  emitIds?: string[] | undefined;
1148
1151
  }>, "many">>;
@@ -1616,6 +1619,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
1616
1619
  guard?: SExpr | undefined;
1617
1620
  priority?: number | undefined;
1618
1621
  appliesTo?: string[] | undefined;
1622
+ runsInBackground?: boolean | undefined;
1619
1623
  pageIds?: PageId[] | undefined;
1620
1624
  emitIds?: EventId[] | undefined;
1621
1625
  }[] | undefined;
@@ -1800,6 +1804,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
1800
1804
  guard?: SExpr | undefined;
1801
1805
  priority?: number | undefined;
1802
1806
  appliesTo?: string[] | undefined;
1807
+ runsInBackground?: boolean | undefined;
1803
1808
  pageIds?: string[] | undefined;
1804
1809
  emitIds?: string[] | undefined;
1805
1810
  }[] | undefined;
@@ -2127,6 +2132,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
2127
2132
  guard?: SExpr | undefined;
2128
2133
  priority?: number | undefined;
2129
2134
  appliesTo?: string[] | undefined;
2135
+ runsInBackground?: boolean | undefined;
2130
2136
  pageIds?: PageId[] | undefined;
2131
2137
  emitIds?: EventId[] | undefined;
2132
2138
  }[] | undefined;
@@ -2353,6 +2359,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
2353
2359
  guard?: SExpr | undefined;
2354
2360
  priority?: number | undefined;
2355
2361
  appliesTo?: string[] | undefined;
2362
+ runsInBackground?: boolean | undefined;
2356
2363
  pageIds?: string[] | undefined;
2357
2364
  emitIds?: string[] | undefined;
2358
2365
  }[] | undefined;
@@ -2579,6 +2586,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
2579
2586
  guard?: SExpr | undefined;
2580
2587
  priority?: number | undefined;
2581
2588
  appliesTo?: string[] | undefined;
2589
+ runsInBackground?: boolean | undefined;
2582
2590
  pageIds?: PageId[] | undefined;
2583
2591
  emitIds?: EventId[] | undefined;
2584
2592
  }[] | undefined;
@@ -2805,6 +2813,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
2805
2813
  guard?: SExpr | undefined;
2806
2814
  priority?: number | undefined;
2807
2815
  appliesTo?: string[] | undefined;
2816
+ runsInBackground?: boolean | undefined;
2808
2817
  pageIds?: string[] | undefined;
2809
2818
  emitIds?: string[] | undefined;
2810
2819
  }[] | undefined;
@@ -3111,6 +3120,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
3111
3120
  priority: z.ZodOptional<z.ZodNumber>;
3112
3121
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
3113
3122
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3123
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
3114
3124
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3115
3125
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
3116
3126
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -3127,6 +3137,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
3127
3137
  guard?: SExpr | undefined;
3128
3138
  priority?: number | undefined;
3129
3139
  appliesTo?: string[] | undefined;
3140
+ runsInBackground?: boolean | undefined;
3130
3141
  pageIds?: PageId[] | undefined;
3131
3142
  emitIds?: EventId[] | undefined;
3132
3143
  }, {
@@ -3139,6 +3150,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
3139
3150
  guard?: SExpr | undefined;
3140
3151
  priority?: number | undefined;
3141
3152
  appliesTo?: string[] | undefined;
3153
+ runsInBackground?: boolean | undefined;
3142
3154
  pageIds?: string[] | undefined;
3143
3155
  emitIds?: string[] | undefined;
3144
3156
  }>, "many">>;
@@ -3612,6 +3624,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
3612
3624
  guard?: SExpr | undefined;
3613
3625
  priority?: number | undefined;
3614
3626
  appliesTo?: string[] | undefined;
3627
+ runsInBackground?: boolean | undefined;
3615
3628
  pageIds?: PageId[] | undefined;
3616
3629
  emitIds?: EventId[] | undefined;
3617
3630
  }[] | undefined;
@@ -3796,6 +3809,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
3796
3809
  guard?: SExpr | undefined;
3797
3810
  priority?: number | undefined;
3798
3811
  appliesTo?: string[] | undefined;
3812
+ runsInBackground?: boolean | undefined;
3799
3813
  pageIds?: string[] | undefined;
3800
3814
  emitIds?: string[] | undefined;
3801
3815
  }[] | undefined;
@@ -3987,6 +4001,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
3987
4001
  guard?: SExpr | undefined;
3988
4002
  priority?: number | undefined;
3989
4003
  appliesTo?: string[] | undefined;
4004
+ runsInBackground?: boolean | undefined;
3990
4005
  pageIds?: PageId[] | undefined;
3991
4006
  emitIds?: EventId[] | undefined;
3992
4007
  }[] | undefined;
@@ -4210,6 +4225,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
4210
4225
  guard?: SExpr | undefined;
4211
4226
  priority?: number | undefined;
4212
4227
  appliesTo?: string[] | undefined;
4228
+ runsInBackground?: boolean | undefined;
4213
4229
  pageIds?: PageId[] | undefined;
4214
4230
  emitIds?: EventId[] | undefined;
4215
4231
  }[] | undefined;
@@ -4406,6 +4422,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
4406
4422
  guard?: SExpr | undefined;
4407
4423
  priority?: number | undefined;
4408
4424
  appliesTo?: string[] | undefined;
4425
+ runsInBackground?: boolean | undefined;
4409
4426
  pageIds?: string[] | undefined;
4410
4427
  emitIds?: string[] | undefined;
4411
4428
  }[] | undefined;
@@ -4629,6 +4646,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
4629
4646
  guard?: SExpr | undefined;
4630
4647
  priority?: number | undefined;
4631
4648
  appliesTo?: string[] | undefined;
4649
+ runsInBackground?: boolean | undefined;
4632
4650
  pageIds?: string[] | undefined;
4633
4651
  emitIds?: string[] | undefined;
4634
4652
  }[] | undefined;
@@ -5020,6 +5038,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
5020
5038
  priority: z.ZodOptional<z.ZodNumber>;
5021
5039
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
5022
5040
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5041
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
5023
5042
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5024
5043
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
5025
5044
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -5036,6 +5055,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
5036
5055
  guard?: SExpr | undefined;
5037
5056
  priority?: number | undefined;
5038
5057
  appliesTo?: string[] | undefined;
5058
+ runsInBackground?: boolean | undefined;
5039
5059
  pageIds?: PageId[] | undefined;
5040
5060
  emitIds?: EventId[] | undefined;
5041
5061
  }, {
@@ -5048,6 +5068,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
5048
5068
  guard?: SExpr | undefined;
5049
5069
  priority?: number | undefined;
5050
5070
  appliesTo?: string[] | undefined;
5071
+ runsInBackground?: boolean | undefined;
5051
5072
  pageIds?: string[] | undefined;
5052
5073
  emitIds?: string[] | undefined;
5053
5074
  }>, "many">>;
@@ -5521,6 +5542,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
5521
5542
  guard?: SExpr | undefined;
5522
5543
  priority?: number | undefined;
5523
5544
  appliesTo?: string[] | undefined;
5545
+ runsInBackground?: boolean | undefined;
5524
5546
  pageIds?: PageId[] | undefined;
5525
5547
  emitIds?: EventId[] | undefined;
5526
5548
  }[] | undefined;
@@ -5705,6 +5727,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
5705
5727
  guard?: SExpr | undefined;
5706
5728
  priority?: number | undefined;
5707
5729
  appliesTo?: string[] | undefined;
5730
+ runsInBackground?: boolean | undefined;
5708
5731
  pageIds?: string[] | undefined;
5709
5732
  emitIds?: string[] | undefined;
5710
5733
  }[] | undefined;
@@ -6032,6 +6055,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
6032
6055
  guard?: SExpr | undefined;
6033
6056
  priority?: number | undefined;
6034
6057
  appliesTo?: string[] | undefined;
6058
+ runsInBackground?: boolean | undefined;
6035
6059
  pageIds?: PageId[] | undefined;
6036
6060
  emitIds?: EventId[] | undefined;
6037
6061
  }[] | undefined;
@@ -6258,6 +6282,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
6258
6282
  guard?: SExpr | undefined;
6259
6283
  priority?: number | undefined;
6260
6284
  appliesTo?: string[] | undefined;
6285
+ runsInBackground?: boolean | undefined;
6261
6286
  pageIds?: string[] | undefined;
6262
6287
  emitIds?: string[] | undefined;
6263
6288
  }[] | undefined;
@@ -6484,6 +6509,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
6484
6509
  guard?: SExpr | undefined;
6485
6510
  priority?: number | undefined;
6486
6511
  appliesTo?: string[] | undefined;
6512
+ runsInBackground?: boolean | undefined;
6487
6513
  pageIds?: PageId[] | undefined;
6488
6514
  emitIds?: EventId[] | undefined;
6489
6515
  }[] | undefined;
@@ -6710,6 +6736,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
6710
6736
  guard?: SExpr | undefined;
6711
6737
  priority?: number | undefined;
6712
6738
  appliesTo?: string[] | undefined;
6739
+ runsInBackground?: boolean | undefined;
6713
6740
  pageIds?: string[] | undefined;
6714
6741
  emitIds?: string[] | undefined;
6715
6742
  }[] | undefined;
@@ -7016,6 +7043,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7016
7043
  priority: z.ZodOptional<z.ZodNumber>;
7017
7044
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
7018
7045
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7046
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
7019
7047
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7020
7048
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
7021
7049
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -7032,6 +7060,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7032
7060
  guard?: SExpr | undefined;
7033
7061
  priority?: number | undefined;
7034
7062
  appliesTo?: string[] | undefined;
7063
+ runsInBackground?: boolean | undefined;
7035
7064
  pageIds?: PageId[] | undefined;
7036
7065
  emitIds?: EventId[] | undefined;
7037
7066
  }, {
@@ -7044,6 +7073,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7044
7073
  guard?: SExpr | undefined;
7045
7074
  priority?: number | undefined;
7046
7075
  appliesTo?: string[] | undefined;
7076
+ runsInBackground?: boolean | undefined;
7047
7077
  pageIds?: string[] | undefined;
7048
7078
  emitIds?: string[] | undefined;
7049
7079
  }>, "many">>;
@@ -7517,6 +7547,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7517
7547
  guard?: SExpr | undefined;
7518
7548
  priority?: number | undefined;
7519
7549
  appliesTo?: string[] | undefined;
7550
+ runsInBackground?: boolean | undefined;
7520
7551
  pageIds?: PageId[] | undefined;
7521
7552
  emitIds?: EventId[] | undefined;
7522
7553
  }[] | undefined;
@@ -7701,6 +7732,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7701
7732
  guard?: SExpr | undefined;
7702
7733
  priority?: number | undefined;
7703
7734
  appliesTo?: string[] | undefined;
7735
+ runsInBackground?: boolean | undefined;
7704
7736
  pageIds?: string[] | undefined;
7705
7737
  emitIds?: string[] | undefined;
7706
7738
  }[] | undefined;
@@ -7892,6 +7924,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7892
7924
  guard?: SExpr | undefined;
7893
7925
  priority?: number | undefined;
7894
7926
  appliesTo?: string[] | undefined;
7927
+ runsInBackground?: boolean | undefined;
7895
7928
  pageIds?: PageId[] | undefined;
7896
7929
  emitIds?: EventId[] | undefined;
7897
7930
  }[] | undefined;
@@ -8115,6 +8148,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
8115
8148
  guard?: SExpr | undefined;
8116
8149
  priority?: number | undefined;
8117
8150
  appliesTo?: string[] | undefined;
8151
+ runsInBackground?: boolean | undefined;
8118
8152
  pageIds?: PageId[] | undefined;
8119
8153
  emitIds?: EventId[] | undefined;
8120
8154
  }[] | undefined;
@@ -8311,6 +8345,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
8311
8345
  guard?: SExpr | undefined;
8312
8346
  priority?: number | undefined;
8313
8347
  appliesTo?: string[] | undefined;
8348
+ runsInBackground?: boolean | undefined;
8314
8349
  pageIds?: string[] | undefined;
8315
8350
  emitIds?: string[] | undefined;
8316
8351
  }[] | undefined;
@@ -8534,6 +8569,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
8534
8569
  guard?: SExpr | undefined;
8535
8570
  priority?: number | undefined;
8536
8571
  appliesTo?: string[] | undefined;
8572
+ runsInBackground?: boolean | undefined;
8537
8573
  pageIds?: string[] | undefined;
8538
8574
  emitIds?: string[] | undefined;
8539
8575
  }[] | undefined;
@@ -8649,6 +8685,20 @@ type OrbitalRefObject = {
8649
8685
  * concern.
8650
8686
  */
8651
8687
  extend?: readonly EntityField[];
8688
+ /**
8689
+ * `listens { Source.EVENT -> Target.TRIGGER }` — declared routes INTO the
8690
+ * imported set. Each entry appends one listen to the imported trait named
8691
+ * by `trait` (upstream name). A source naming an imported trait follows
8692
+ * the prefix; any other source is a host sibling and keeps its name. The
8693
+ * trigger is in the post-`events {}` vocabulary. A target outside the
8694
+ * imported set (after omit/only) refuses resolution
8695
+ * (`ORB_O_LISTEN_TARGET_UNKNOWN`).
8696
+ */
8697
+ listens?: readonly OrbitalRefListen[];
8698
+ };
8699
+ /** One orbital-import `listens {}` entry: the target imported trait plus an ordinary listen. */
8700
+ type OrbitalRefListen = TraitEventListener & {
8701
+ trait: string;
8652
8702
  };
8653
8703
  /**
8654
8704
  * Validate orbital reference format: "Alias.orbitals.OrbitalName"
@@ -8668,6 +8718,107 @@ declare const OrbitalRefObjectSchema: z.ZodObject<{
8668
8718
  entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8669
8719
  mounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
8670
8720
  extend: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
8721
+ listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
8722
+ event: z.ZodString;
8723
+ eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
8724
+ triggers: z.ZodString;
8725
+ triggersId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
8726
+ description: z.ZodOptional<z.ZodString>;
8727
+ synonyms: z.ZodOptional<z.ZodString>;
8728
+ tier: z.ZodOptional<z.ZodString>;
8729
+ guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
8730
+ scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
8731
+ payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
8732
+ source: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
8733
+ kind: z.ZodLiteral<"any">;
8734
+ }, "strip", z.ZodTypeAny, {
8735
+ kind: "any";
8736
+ }, {
8737
+ kind: "any";
8738
+ }>, z.ZodObject<{
8739
+ kind: z.ZodLiteral<"trait">;
8740
+ trait: z.ZodString;
8741
+ traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
8742
+ }, "strip", z.ZodTypeAny, {
8743
+ trait: string;
8744
+ kind: "trait";
8745
+ traitId?: TraitId | undefined;
8746
+ }, {
8747
+ trait: string;
8748
+ kind: "trait";
8749
+ traitId?: string | undefined;
8750
+ }>, z.ZodObject<{
8751
+ kind: z.ZodLiteral<"orbital">;
8752
+ orbital: z.ZodString;
8753
+ trait: z.ZodString;
8754
+ orbitalId: z.ZodOptional<z.ZodEffects<z.ZodString, OrbitalId, string>>;
8755
+ traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
8756
+ }, "strip", z.ZodTypeAny, {
8757
+ orbital: string;
8758
+ trait: string;
8759
+ kind: "orbital";
8760
+ traitId?: TraitId | undefined;
8761
+ orbitalId?: OrbitalId | undefined;
8762
+ }, {
8763
+ orbital: string;
8764
+ trait: string;
8765
+ kind: "orbital";
8766
+ traitId?: string | undefined;
8767
+ orbitalId?: string | undefined;
8768
+ }>]>>;
8769
+ } & {
8770
+ trait: z.ZodString;
8771
+ }, "strip", z.ZodTypeAny, {
8772
+ trait: string;
8773
+ event: string;
8774
+ triggers: string;
8775
+ description?: string | undefined;
8776
+ synonyms?: string | undefined;
8777
+ source?: {
8778
+ kind: "any";
8779
+ } | {
8780
+ trait: string;
8781
+ kind: "trait";
8782
+ traitId?: TraitId | undefined;
8783
+ } | {
8784
+ orbital: string;
8785
+ trait: string;
8786
+ kind: "orbital";
8787
+ traitId?: TraitId | undefined;
8788
+ orbitalId?: OrbitalId | undefined;
8789
+ } | undefined;
8790
+ guard?: SExpr | undefined;
8791
+ eventId?: EventId | undefined;
8792
+ scope?: "internal" | "external" | undefined;
8793
+ tier?: string | undefined;
8794
+ triggersId?: EventId | undefined;
8795
+ payloadMapping?: Record<string, SExpr> | undefined;
8796
+ }, {
8797
+ trait: string;
8798
+ event: string;
8799
+ triggers: string;
8800
+ description?: string | undefined;
8801
+ synonyms?: string | undefined;
8802
+ source?: {
8803
+ kind: "any";
8804
+ } | {
8805
+ trait: string;
8806
+ kind: "trait";
8807
+ traitId?: string | undefined;
8808
+ } | {
8809
+ orbital: string;
8810
+ trait: string;
8811
+ kind: "orbital";
8812
+ traitId?: string | undefined;
8813
+ orbitalId?: string | undefined;
8814
+ } | undefined;
8815
+ guard?: SExpr | undefined;
8816
+ eventId?: string | undefined;
8817
+ scope?: "internal" | "external" | undefined;
8818
+ tier?: string | undefined;
8819
+ triggersId?: string | undefined;
8820
+ payloadMapping?: Record<string, SExpr> | undefined;
8821
+ }>, "many">>;
8671
8822
  }, "strip", z.ZodTypeAny, {
8672
8823
  ref: string;
8673
8824
  entity?: string | undefined;
@@ -8676,6 +8827,32 @@ declare const OrbitalRefObjectSchema: z.ZodObject<{
8676
8827
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
8677
8828
  pages?: Record<string, string> | undefined;
8678
8829
  fields?: Record<string, string> | undefined;
8830
+ listens?: {
8831
+ trait: string;
8832
+ event: string;
8833
+ triggers: string;
8834
+ description?: string | undefined;
8835
+ synonyms?: string | undefined;
8836
+ source?: {
8837
+ kind: "any";
8838
+ } | {
8839
+ trait: string;
8840
+ kind: "trait";
8841
+ traitId?: TraitId | undefined;
8842
+ } | {
8843
+ orbital: string;
8844
+ trait: string;
8845
+ kind: "orbital";
8846
+ traitId?: TraitId | undefined;
8847
+ orbitalId?: OrbitalId | undefined;
8848
+ } | undefined;
8849
+ guard?: SExpr | undefined;
8850
+ eventId?: EventId | undefined;
8851
+ scope?: "internal" | "external" | undefined;
8852
+ tier?: string | undefined;
8853
+ triggersId?: EventId | undefined;
8854
+ payloadMapping?: Record<string, SExpr> | undefined;
8855
+ }[] | undefined;
8679
8856
  events?: Record<string, string> | undefined;
8680
8857
  roles?: Record<string, string[]> | undefined;
8681
8858
  refId?: OrbitalId | undefined;
@@ -8690,6 +8867,32 @@ declare const OrbitalRefObjectSchema: z.ZodObject<{
8690
8867
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
8691
8868
  pages?: Record<string, string> | undefined;
8692
8869
  fields?: Record<string, string> | undefined;
8870
+ listens?: {
8871
+ trait: string;
8872
+ event: string;
8873
+ triggers: string;
8874
+ description?: string | undefined;
8875
+ synonyms?: string | undefined;
8876
+ source?: {
8877
+ kind: "any";
8878
+ } | {
8879
+ trait: string;
8880
+ kind: "trait";
8881
+ traitId?: string | undefined;
8882
+ } | {
8883
+ orbital: string;
8884
+ trait: string;
8885
+ kind: "orbital";
8886
+ traitId?: string | undefined;
8887
+ orbitalId?: string | undefined;
8888
+ } | undefined;
8889
+ guard?: SExpr | undefined;
8890
+ eventId?: string | undefined;
8891
+ scope?: "internal" | "external" | undefined;
8892
+ tier?: string | undefined;
8893
+ triggersId?: string | undefined;
8894
+ payloadMapping?: Record<string, SExpr> | undefined;
8895
+ }[] | undefined;
8693
8896
  events?: Record<string, string> | undefined;
8694
8897
  roles?: Record<string, string[]> | undefined;
8695
8898
  refId?: string | undefined;
@@ -13315,6 +13518,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
13315
13518
  priority: z.ZodOptional<z.ZodNumber>;
13316
13519
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
13317
13520
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13521
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
13318
13522
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13319
13523
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
13320
13524
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -13331,6 +13535,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
13331
13535
  guard?: SExpr | undefined;
13332
13536
  priority?: number | undefined;
13333
13537
  appliesTo?: string[] | undefined;
13538
+ runsInBackground?: boolean | undefined;
13334
13539
  pageIds?: PageId[] | undefined;
13335
13540
  emitIds?: EventId[] | undefined;
13336
13541
  }, {
@@ -13343,6 +13548,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
13343
13548
  guard?: SExpr | undefined;
13344
13549
  priority?: number | undefined;
13345
13550
  appliesTo?: string[] | undefined;
13551
+ runsInBackground?: boolean | undefined;
13346
13552
  pageIds?: string[] | undefined;
13347
13553
  emitIds?: string[] | undefined;
13348
13554
  }>, "many">>;
@@ -13816,6 +14022,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
13816
14022
  guard?: SExpr | undefined;
13817
14023
  priority?: number | undefined;
13818
14024
  appliesTo?: string[] | undefined;
14025
+ runsInBackground?: boolean | undefined;
13819
14026
  pageIds?: PageId[] | undefined;
13820
14027
  emitIds?: EventId[] | undefined;
13821
14028
  }[] | undefined;
@@ -14000,6 +14207,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
14000
14207
  guard?: SExpr | undefined;
14001
14208
  priority?: number | undefined;
14002
14209
  appliesTo?: string[] | undefined;
14210
+ runsInBackground?: boolean | undefined;
14003
14211
  pageIds?: string[] | undefined;
14004
14212
  emitIds?: string[] | undefined;
14005
14213
  }[] | undefined;
@@ -14327,6 +14535,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
14327
14535
  guard?: SExpr | undefined;
14328
14536
  priority?: number | undefined;
14329
14537
  appliesTo?: string[] | undefined;
14538
+ runsInBackground?: boolean | undefined;
14330
14539
  pageIds?: PageId[] | undefined;
14331
14540
  emitIds?: EventId[] | undefined;
14332
14541
  }[] | undefined;
@@ -14553,6 +14762,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
14553
14762
  guard?: SExpr | undefined;
14554
14763
  priority?: number | undefined;
14555
14764
  appliesTo?: string[] | undefined;
14765
+ runsInBackground?: boolean | undefined;
14556
14766
  pageIds?: string[] | undefined;
14557
14767
  emitIds?: string[] | undefined;
14558
14768
  }[] | undefined;
@@ -14779,6 +14989,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
14779
14989
  guard?: SExpr | undefined;
14780
14990
  priority?: number | undefined;
14781
14991
  appliesTo?: string[] | undefined;
14992
+ runsInBackground?: boolean | undefined;
14782
14993
  pageIds?: PageId[] | undefined;
14783
14994
  emitIds?: EventId[] | undefined;
14784
14995
  }[] | undefined;
@@ -15005,6 +15216,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
15005
15216
  guard?: SExpr | undefined;
15006
15217
  priority?: number | undefined;
15007
15218
  appliesTo?: string[] | undefined;
15219
+ runsInBackground?: boolean | undefined;
15008
15220
  pageIds?: string[] | undefined;
15009
15221
  emitIds?: string[] | undefined;
15010
15222
  }[] | undefined;
@@ -15311,6 +15523,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
15311
15523
  priority: z.ZodOptional<z.ZodNumber>;
15312
15524
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
15313
15525
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15526
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
15314
15527
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15315
15528
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
15316
15529
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -15327,6 +15540,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
15327
15540
  guard?: SExpr | undefined;
15328
15541
  priority?: number | undefined;
15329
15542
  appliesTo?: string[] | undefined;
15543
+ runsInBackground?: boolean | undefined;
15330
15544
  pageIds?: PageId[] | undefined;
15331
15545
  emitIds?: EventId[] | undefined;
15332
15546
  }, {
@@ -15339,6 +15553,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
15339
15553
  guard?: SExpr | undefined;
15340
15554
  priority?: number | undefined;
15341
15555
  appliesTo?: string[] | undefined;
15556
+ runsInBackground?: boolean | undefined;
15342
15557
  pageIds?: string[] | undefined;
15343
15558
  emitIds?: string[] | undefined;
15344
15559
  }>, "many">>;
@@ -15812,6 +16027,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
15812
16027
  guard?: SExpr | undefined;
15813
16028
  priority?: number | undefined;
15814
16029
  appliesTo?: string[] | undefined;
16030
+ runsInBackground?: boolean | undefined;
15815
16031
  pageIds?: PageId[] | undefined;
15816
16032
  emitIds?: EventId[] | undefined;
15817
16033
  }[] | undefined;
@@ -15996,6 +16212,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
15996
16212
  guard?: SExpr | undefined;
15997
16213
  priority?: number | undefined;
15998
16214
  appliesTo?: string[] | undefined;
16215
+ runsInBackground?: boolean | undefined;
15999
16216
  pageIds?: string[] | undefined;
16000
16217
  emitIds?: string[] | undefined;
16001
16218
  }[] | undefined;
@@ -16380,6 +16597,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
16380
16597
  priority: z.ZodOptional<z.ZodNumber>;
16381
16598
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
16382
16599
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16600
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
16383
16601
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16384
16602
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
16385
16603
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -16396,6 +16614,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
16396
16614
  guard?: SExpr | undefined;
16397
16615
  priority?: number | undefined;
16398
16616
  appliesTo?: string[] | undefined;
16617
+ runsInBackground?: boolean | undefined;
16399
16618
  pageIds?: PageId[] | undefined;
16400
16619
  emitIds?: EventId[] | undefined;
16401
16620
  }, {
@@ -16408,6 +16627,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
16408
16627
  guard?: SExpr | undefined;
16409
16628
  priority?: number | undefined;
16410
16629
  appliesTo?: string[] | undefined;
16630
+ runsInBackground?: boolean | undefined;
16411
16631
  pageIds?: string[] | undefined;
16412
16632
  emitIds?: string[] | undefined;
16413
16633
  }>, "many">>;
@@ -16881,6 +17101,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
16881
17101
  guard?: SExpr | undefined;
16882
17102
  priority?: number | undefined;
16883
17103
  appliesTo?: string[] | undefined;
17104
+ runsInBackground?: boolean | undefined;
16884
17105
  pageIds?: PageId[] | undefined;
16885
17106
  emitIds?: EventId[] | undefined;
16886
17107
  }[] | undefined;
@@ -17065,6 +17286,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
17065
17286
  guard?: SExpr | undefined;
17066
17287
  priority?: number | undefined;
17067
17288
  appliesTo?: string[] | undefined;
17289
+ runsInBackground?: boolean | undefined;
17068
17290
  pageIds?: string[] | undefined;
17069
17291
  emitIds?: string[] | undefined;
17070
17292
  }[] | undefined;
@@ -17392,6 +17614,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
17392
17614
  guard?: SExpr | undefined;
17393
17615
  priority?: number | undefined;
17394
17616
  appliesTo?: string[] | undefined;
17617
+ runsInBackground?: boolean | undefined;
17395
17618
  pageIds?: PageId[] | undefined;
17396
17619
  emitIds?: EventId[] | undefined;
17397
17620
  }[] | undefined;
@@ -17618,6 +17841,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
17618
17841
  guard?: SExpr | undefined;
17619
17842
  priority?: number | undefined;
17620
17843
  appliesTo?: string[] | undefined;
17844
+ runsInBackground?: boolean | undefined;
17621
17845
  pageIds?: string[] | undefined;
17622
17846
  emitIds?: string[] | undefined;
17623
17847
  }[] | undefined;
@@ -17844,6 +18068,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
17844
18068
  guard?: SExpr | undefined;
17845
18069
  priority?: number | undefined;
17846
18070
  appliesTo?: string[] | undefined;
18071
+ runsInBackground?: boolean | undefined;
17847
18072
  pageIds?: PageId[] | undefined;
17848
18073
  emitIds?: EventId[] | undefined;
17849
18074
  }[] | undefined;
@@ -18070,6 +18295,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
18070
18295
  guard?: SExpr | undefined;
18071
18296
  priority?: number | undefined;
18072
18297
  appliesTo?: string[] | undefined;
18298
+ runsInBackground?: boolean | undefined;
18073
18299
  pageIds?: string[] | undefined;
18074
18300
  emitIds?: string[] | undefined;
18075
18301
  }[] | undefined;
@@ -18376,6 +18602,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
18376
18602
  priority: z.ZodOptional<z.ZodNumber>;
18377
18603
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
18378
18604
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18605
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
18379
18606
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18380
18607
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
18381
18608
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -18392,6 +18619,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
18392
18619
  guard?: SExpr | undefined;
18393
18620
  priority?: number | undefined;
18394
18621
  appliesTo?: string[] | undefined;
18622
+ runsInBackground?: boolean | undefined;
18395
18623
  pageIds?: PageId[] | undefined;
18396
18624
  emitIds?: EventId[] | undefined;
18397
18625
  }, {
@@ -18404,6 +18632,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
18404
18632
  guard?: SExpr | undefined;
18405
18633
  priority?: number | undefined;
18406
18634
  appliesTo?: string[] | undefined;
18635
+ runsInBackground?: boolean | undefined;
18407
18636
  pageIds?: string[] | undefined;
18408
18637
  emitIds?: string[] | undefined;
18409
18638
  }>, "many">>;
@@ -18877,6 +19106,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
18877
19106
  guard?: SExpr | undefined;
18878
19107
  priority?: number | undefined;
18879
19108
  appliesTo?: string[] | undefined;
19109
+ runsInBackground?: boolean | undefined;
18880
19110
  pageIds?: PageId[] | undefined;
18881
19111
  emitIds?: EventId[] | undefined;
18882
19112
  }[] | undefined;
@@ -19061,6 +19291,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
19061
19291
  guard?: SExpr | undefined;
19062
19292
  priority?: number | undefined;
19063
19293
  appliesTo?: string[] | undefined;
19294
+ runsInBackground?: boolean | undefined;
19064
19295
  pageIds?: string[] | undefined;
19065
19296
  emitIds?: string[] | undefined;
19066
19297
  }[] | undefined;
@@ -19252,6 +19483,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
19252
19483
  guard?: SExpr | undefined;
19253
19484
  priority?: number | undefined;
19254
19485
  appliesTo?: string[] | undefined;
19486
+ runsInBackground?: boolean | undefined;
19255
19487
  pageIds?: PageId[] | undefined;
19256
19488
  emitIds?: EventId[] | undefined;
19257
19489
  }[] | undefined;
@@ -19475,6 +19707,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
19475
19707
  guard?: SExpr | undefined;
19476
19708
  priority?: number | undefined;
19477
19709
  appliesTo?: string[] | undefined;
19710
+ runsInBackground?: boolean | undefined;
19478
19711
  pageIds?: PageId[] | undefined;
19479
19712
  emitIds?: EventId[] | undefined;
19480
19713
  }[] | undefined;
@@ -19671,6 +19904,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
19671
19904
  guard?: SExpr | undefined;
19672
19905
  priority?: number | undefined;
19673
19906
  appliesTo?: string[] | undefined;
19907
+ runsInBackground?: boolean | undefined;
19674
19908
  pageIds?: string[] | undefined;
19675
19909
  emitIds?: string[] | undefined;
19676
19910
  }[] | undefined;
@@ -19894,6 +20128,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
19894
20128
  guard?: SExpr | undefined;
19895
20129
  priority?: number | undefined;
19896
20130
  appliesTo?: string[] | undefined;
20131
+ runsInBackground?: boolean | undefined;
19897
20132
  pageIds?: string[] | undefined;
19898
20133
  emitIds?: string[] | undefined;
19899
20134
  }[] | undefined;
@@ -20038,6 +20273,107 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
20038
20273
  entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
20039
20274
  mounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
20040
20275
  extend: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
20276
+ listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
20277
+ event: z.ZodString;
20278
+ eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
20279
+ triggers: z.ZodString;
20280
+ triggersId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
20281
+ description: z.ZodOptional<z.ZodString>;
20282
+ synonyms: z.ZodOptional<z.ZodString>;
20283
+ tier: z.ZodOptional<z.ZodString>;
20284
+ guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
20285
+ scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
20286
+ payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
20287
+ source: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
20288
+ kind: z.ZodLiteral<"any">;
20289
+ }, "strip", z.ZodTypeAny, {
20290
+ kind: "any";
20291
+ }, {
20292
+ kind: "any";
20293
+ }>, z.ZodObject<{
20294
+ kind: z.ZodLiteral<"trait">;
20295
+ trait: z.ZodString;
20296
+ traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
20297
+ }, "strip", z.ZodTypeAny, {
20298
+ trait: string;
20299
+ kind: "trait";
20300
+ traitId?: TraitId | undefined;
20301
+ }, {
20302
+ trait: string;
20303
+ kind: "trait";
20304
+ traitId?: string | undefined;
20305
+ }>, z.ZodObject<{
20306
+ kind: z.ZodLiteral<"orbital">;
20307
+ orbital: z.ZodString;
20308
+ trait: z.ZodString;
20309
+ orbitalId: z.ZodOptional<z.ZodEffects<z.ZodString, OrbitalId, string>>;
20310
+ traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
20311
+ }, "strip", z.ZodTypeAny, {
20312
+ orbital: string;
20313
+ trait: string;
20314
+ kind: "orbital";
20315
+ traitId?: TraitId | undefined;
20316
+ orbitalId?: OrbitalId | undefined;
20317
+ }, {
20318
+ orbital: string;
20319
+ trait: string;
20320
+ kind: "orbital";
20321
+ traitId?: string | undefined;
20322
+ orbitalId?: string | undefined;
20323
+ }>]>>;
20324
+ } & {
20325
+ trait: z.ZodString;
20326
+ }, "strip", z.ZodTypeAny, {
20327
+ trait: string;
20328
+ event: string;
20329
+ triggers: string;
20330
+ description?: string | undefined;
20331
+ synonyms?: string | undefined;
20332
+ source?: {
20333
+ kind: "any";
20334
+ } | {
20335
+ trait: string;
20336
+ kind: "trait";
20337
+ traitId?: TraitId | undefined;
20338
+ } | {
20339
+ orbital: string;
20340
+ trait: string;
20341
+ kind: "orbital";
20342
+ traitId?: TraitId | undefined;
20343
+ orbitalId?: OrbitalId | undefined;
20344
+ } | undefined;
20345
+ guard?: SExpr | undefined;
20346
+ eventId?: EventId | undefined;
20347
+ scope?: "internal" | "external" | undefined;
20348
+ tier?: string | undefined;
20349
+ triggersId?: EventId | undefined;
20350
+ payloadMapping?: Record<string, SExpr> | undefined;
20351
+ }, {
20352
+ trait: string;
20353
+ event: string;
20354
+ triggers: string;
20355
+ description?: string | undefined;
20356
+ synonyms?: string | undefined;
20357
+ source?: {
20358
+ kind: "any";
20359
+ } | {
20360
+ trait: string;
20361
+ kind: "trait";
20362
+ traitId?: string | undefined;
20363
+ } | {
20364
+ orbital: string;
20365
+ trait: string;
20366
+ kind: "orbital";
20367
+ traitId?: string | undefined;
20368
+ orbitalId?: string | undefined;
20369
+ } | undefined;
20370
+ guard?: SExpr | undefined;
20371
+ eventId?: string | undefined;
20372
+ scope?: "internal" | "external" | undefined;
20373
+ tier?: string | undefined;
20374
+ triggersId?: string | undefined;
20375
+ payloadMapping?: Record<string, SExpr> | undefined;
20376
+ }>, "many">>;
20041
20377
  }, "strip", z.ZodTypeAny, {
20042
20378
  ref: string;
20043
20379
  entity?: string | undefined;
@@ -20046,6 +20382,32 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
20046
20382
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
20047
20383
  pages?: Record<string, string> | undefined;
20048
20384
  fields?: Record<string, string> | undefined;
20385
+ listens?: {
20386
+ trait: string;
20387
+ event: string;
20388
+ triggers: string;
20389
+ description?: string | undefined;
20390
+ synonyms?: string | undefined;
20391
+ source?: {
20392
+ kind: "any";
20393
+ } | {
20394
+ trait: string;
20395
+ kind: "trait";
20396
+ traitId?: TraitId | undefined;
20397
+ } | {
20398
+ orbital: string;
20399
+ trait: string;
20400
+ kind: "orbital";
20401
+ traitId?: TraitId | undefined;
20402
+ orbitalId?: OrbitalId | undefined;
20403
+ } | undefined;
20404
+ guard?: SExpr | undefined;
20405
+ eventId?: EventId | undefined;
20406
+ scope?: "internal" | "external" | undefined;
20407
+ tier?: string | undefined;
20408
+ triggersId?: EventId | undefined;
20409
+ payloadMapping?: Record<string, SExpr> | undefined;
20410
+ }[] | undefined;
20049
20411
  events?: Record<string, string> | undefined;
20050
20412
  roles?: Record<string, string[]> | undefined;
20051
20413
  refId?: OrbitalId | undefined;
@@ -20060,6 +20422,32 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
20060
20422
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
20061
20423
  pages?: Record<string, string> | undefined;
20062
20424
  fields?: Record<string, string> | undefined;
20425
+ listens?: {
20426
+ trait: string;
20427
+ event: string;
20428
+ triggers: string;
20429
+ description?: string | undefined;
20430
+ synonyms?: string | undefined;
20431
+ source?: {
20432
+ kind: "any";
20433
+ } | {
20434
+ trait: string;
20435
+ kind: "trait";
20436
+ traitId?: string | undefined;
20437
+ } | {
20438
+ orbital: string;
20439
+ trait: string;
20440
+ kind: "orbital";
20441
+ traitId?: string | undefined;
20442
+ orbitalId?: string | undefined;
20443
+ } | undefined;
20444
+ guard?: SExpr | undefined;
20445
+ eventId?: string | undefined;
20446
+ scope?: "internal" | "external" | undefined;
20447
+ tier?: string | undefined;
20448
+ triggersId?: string | undefined;
20449
+ payloadMapping?: Record<string, SExpr> | undefined;
20450
+ }[] | undefined;
20063
20451
  events?: Record<string, string> | undefined;
20064
20452
  roles?: Record<string, string[]> | undefined;
20065
20453
  refId?: string | undefined;
@@ -20405,6 +20793,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
20405
20793
  guard?: SExpr | undefined;
20406
20794
  priority?: number | undefined;
20407
20795
  appliesTo?: string[] | undefined;
20796
+ runsInBackground?: boolean | undefined;
20408
20797
  pageIds?: PageId[] | undefined;
20409
20798
  emitIds?: EventId[] | undefined;
20410
20799
  }[] | undefined;
@@ -20628,6 +21017,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
20628
21017
  guard?: SExpr | undefined;
20629
21018
  priority?: number | undefined;
20630
21019
  appliesTo?: string[] | undefined;
21020
+ runsInBackground?: boolean | undefined;
20631
21021
  pageIds?: PageId[] | undefined;
20632
21022
  emitIds?: EventId[] | undefined;
20633
21023
  }[] | undefined;
@@ -20820,6 +21210,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
20820
21210
  guard?: SExpr | undefined;
20821
21211
  priority?: number | undefined;
20822
21212
  appliesTo?: string[] | undefined;
21213
+ runsInBackground?: boolean | undefined;
20823
21214
  pageIds?: PageId[] | undefined;
20824
21215
  emitIds?: EventId[] | undefined;
20825
21216
  }[] | undefined;
@@ -21043,6 +21434,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
21043
21434
  guard?: SExpr | undefined;
21044
21435
  priority?: number | undefined;
21045
21436
  appliesTo?: string[] | undefined;
21437
+ runsInBackground?: boolean | undefined;
21046
21438
  pageIds?: PageId[] | undefined;
21047
21439
  emitIds?: EventId[] | undefined;
21048
21440
  }[] | undefined;
@@ -21484,6 +21876,32 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
21484
21876
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
21485
21877
  pages?: Record<string, string> | undefined;
21486
21878
  fields?: Record<string, string> | undefined;
21879
+ listens?: {
21880
+ trait: string;
21881
+ event: string;
21882
+ triggers: string;
21883
+ description?: string | undefined;
21884
+ synonyms?: string | undefined;
21885
+ source?: {
21886
+ kind: "any";
21887
+ } | {
21888
+ trait: string;
21889
+ kind: "trait";
21890
+ traitId?: TraitId | undefined;
21891
+ } | {
21892
+ orbital: string;
21893
+ trait: string;
21894
+ kind: "orbital";
21895
+ traitId?: TraitId | undefined;
21896
+ orbitalId?: OrbitalId | undefined;
21897
+ } | undefined;
21898
+ guard?: SExpr | undefined;
21899
+ eventId?: EventId | undefined;
21900
+ scope?: "internal" | "external" | undefined;
21901
+ tier?: string | undefined;
21902
+ triggersId?: EventId | undefined;
21903
+ payloadMapping?: Record<string, SExpr> | undefined;
21904
+ }[] | undefined;
21487
21905
  events?: Record<string, string> | undefined;
21488
21906
  roles?: Record<string, string[]> | undefined;
21489
21907
  refId?: OrbitalId | undefined;
@@ -21513,6 +21931,28 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
21513
21931
  guard?: SExpr | undefined;
21514
21932
  payloadMapping?: Record<string, SExpr> | undefined;
21515
21933
  }[] | undefined;
21934
+ types?: Record<string, EventPayloadField[]> | undefined;
21935
+ uses?: {
21936
+ from: string;
21937
+ as: string;
21938
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
21939
+ }[] | undefined;
21940
+ expects?: ({
21941
+ kind: "identity";
21942
+ name?: string | undefined;
21943
+ shape?: EntityField[] | undefined;
21944
+ } | {
21945
+ kind: "entity";
21946
+ name: string;
21947
+ shape?: EntityField[] | undefined;
21948
+ } | {
21949
+ event: string;
21950
+ kind: "event";
21951
+ traitName: string;
21952
+ } | {
21953
+ path: string;
21954
+ kind: "page";
21955
+ })[] | undefined;
21516
21956
  services?: (string | {
21517
21957
  type: "rest";
21518
21958
  name: string;
@@ -21555,28 +21995,6 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
21555
21995
  headers?: Record<string, string> | undefined;
21556
21996
  serverPath?: string | undefined;
21557
21997
  })[] | undefined;
21558
- types?: Record<string, EventPayloadField[]> | undefined;
21559
- uses?: {
21560
- from: string;
21561
- as: string;
21562
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
21563
- }[] | undefined;
21564
- expects?: ({
21565
- kind: "identity";
21566
- name?: string | undefined;
21567
- shape?: EntityField[] | undefined;
21568
- } | {
21569
- kind: "entity";
21570
- name: string;
21571
- shape?: EntityField[] | undefined;
21572
- } | {
21573
- event: string;
21574
- kind: "event";
21575
- traitName: string;
21576
- } | {
21577
- path: string;
21578
- kind: "page";
21579
- })[] | undefined;
21580
21998
  auxiliaryEntities?: (string | {
21581
21999
  name: string;
21582
22000
  persistence: "persistent" | "runtime";
@@ -21856,6 +22274,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
21856
22274
  guard?: SExpr | undefined;
21857
22275
  priority?: number | undefined;
21858
22276
  appliesTo?: string[] | undefined;
22277
+ runsInBackground?: boolean | undefined;
21859
22278
  pageIds?: string[] | undefined;
21860
22279
  emitIds?: string[] | undefined;
21861
22280
  }[] | undefined;
@@ -22079,6 +22498,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
22079
22498
  guard?: SExpr | undefined;
22080
22499
  priority?: number | undefined;
22081
22500
  appliesTo?: string[] | undefined;
22501
+ runsInBackground?: boolean | undefined;
22082
22502
  pageIds?: string[] | undefined;
22083
22503
  emitIds?: string[] | undefined;
22084
22504
  }[] | undefined;
@@ -22271,6 +22691,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
22271
22691
  guard?: SExpr | undefined;
22272
22692
  priority?: number | undefined;
22273
22693
  appliesTo?: string[] | undefined;
22694
+ runsInBackground?: boolean | undefined;
22274
22695
  pageIds?: string[] | undefined;
22275
22696
  emitIds?: string[] | undefined;
22276
22697
  }[] | undefined;
@@ -22494,6 +22915,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
22494
22915
  guard?: SExpr | undefined;
22495
22916
  priority?: number | undefined;
22496
22917
  appliesTo?: string[] | undefined;
22918
+ runsInBackground?: boolean | undefined;
22497
22919
  pageIds?: string[] | undefined;
22498
22920
  emitIds?: string[] | undefined;
22499
22921
  }[] | undefined;
@@ -22935,6 +23357,32 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
22935
23357
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
22936
23358
  pages?: Record<string, string> | undefined;
22937
23359
  fields?: Record<string, string> | undefined;
23360
+ listens?: {
23361
+ trait: string;
23362
+ event: string;
23363
+ triggers: string;
23364
+ description?: string | undefined;
23365
+ synonyms?: string | undefined;
23366
+ source?: {
23367
+ kind: "any";
23368
+ } | {
23369
+ trait: string;
23370
+ kind: "trait";
23371
+ traitId?: string | undefined;
23372
+ } | {
23373
+ orbital: string;
23374
+ trait: string;
23375
+ kind: "orbital";
23376
+ traitId?: string | undefined;
23377
+ orbitalId?: string | undefined;
23378
+ } | undefined;
23379
+ guard?: SExpr | undefined;
23380
+ eventId?: string | undefined;
23381
+ scope?: "internal" | "external" | undefined;
23382
+ tier?: string | undefined;
23383
+ triggersId?: string | undefined;
23384
+ payloadMapping?: Record<string, SExpr> | undefined;
23385
+ }[] | undefined;
22938
23386
  events?: Record<string, string> | undefined;
22939
23387
  roles?: Record<string, string[]> | undefined;
22940
23388
  refId?: string | undefined;
@@ -22964,6 +23412,28 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
22964
23412
  guard?: SExpr | undefined;
22965
23413
  payloadMapping?: Record<string, SExpr> | undefined;
22966
23414
  }[] | undefined;
23415
+ types?: Record<string, EventPayloadField[]> | undefined;
23416
+ uses?: {
23417
+ from: string;
23418
+ as: string;
23419
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
23420
+ }[] | undefined;
23421
+ expects?: ({
23422
+ kind: "identity";
23423
+ name?: string | undefined;
23424
+ shape?: unknown[] | undefined;
23425
+ } | {
23426
+ kind: "entity";
23427
+ name: string;
23428
+ shape?: unknown[] | undefined;
23429
+ } | {
23430
+ event: string;
23431
+ kind: "event";
23432
+ traitName: string;
23433
+ } | {
23434
+ path: string;
23435
+ kind: "page";
23436
+ })[] | undefined;
22967
23437
  services?: (string | {
22968
23438
  type: "rest";
22969
23439
  name: string;
@@ -23006,28 +23476,6 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
23006
23476
  headers?: Record<string, string> | undefined;
23007
23477
  serverPath?: string | undefined;
23008
23478
  })[] | undefined;
23009
- types?: Record<string, EventPayloadField[]> | undefined;
23010
- uses?: {
23011
- from: string;
23012
- as: string;
23013
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
23014
- }[] | undefined;
23015
- expects?: ({
23016
- kind: "identity";
23017
- name?: string | undefined;
23018
- shape?: unknown[] | undefined;
23019
- } | {
23020
- kind: "entity";
23021
- name: string;
23022
- shape?: unknown[] | undefined;
23023
- } | {
23024
- event: string;
23025
- kind: "event";
23026
- traitName: string;
23027
- } | {
23028
- path: string;
23029
- kind: "page";
23030
- })[] | undefined;
23031
23479
  auxiliaryEntities?: (string | {
23032
23480
  name: string;
23033
23481
  fields: unknown[];
@@ -27307,6 +27755,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
27307
27755
  priority: z.ZodOptional<z.ZodNumber>;
27308
27756
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
27309
27757
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27758
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
27310
27759
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27311
27760
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
27312
27761
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -27323,6 +27772,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
27323
27772
  guard?: SExpr | undefined;
27324
27773
  priority?: number | undefined;
27325
27774
  appliesTo?: string[] | undefined;
27775
+ runsInBackground?: boolean | undefined;
27326
27776
  pageIds?: PageId[] | undefined;
27327
27777
  emitIds?: EventId[] | undefined;
27328
27778
  }, {
@@ -27335,6 +27785,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
27335
27785
  guard?: SExpr | undefined;
27336
27786
  priority?: number | undefined;
27337
27787
  appliesTo?: string[] | undefined;
27788
+ runsInBackground?: boolean | undefined;
27338
27789
  pageIds?: string[] | undefined;
27339
27790
  emitIds?: string[] | undefined;
27340
27791
  }>, "many">>;
@@ -27808,6 +28259,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
27808
28259
  guard?: SExpr | undefined;
27809
28260
  priority?: number | undefined;
27810
28261
  appliesTo?: string[] | undefined;
28262
+ runsInBackground?: boolean | undefined;
27811
28263
  pageIds?: PageId[] | undefined;
27812
28264
  emitIds?: EventId[] | undefined;
27813
28265
  }[] | undefined;
@@ -27992,6 +28444,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
27992
28444
  guard?: SExpr | undefined;
27993
28445
  priority?: number | undefined;
27994
28446
  appliesTo?: string[] | undefined;
28447
+ runsInBackground?: boolean | undefined;
27995
28448
  pageIds?: string[] | undefined;
27996
28449
  emitIds?: string[] | undefined;
27997
28450
  }[] | undefined;
@@ -28319,6 +28772,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
28319
28772
  guard?: SExpr | undefined;
28320
28773
  priority?: number | undefined;
28321
28774
  appliesTo?: string[] | undefined;
28775
+ runsInBackground?: boolean | undefined;
28322
28776
  pageIds?: PageId[] | undefined;
28323
28777
  emitIds?: EventId[] | undefined;
28324
28778
  }[] | undefined;
@@ -28545,6 +28999,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
28545
28999
  guard?: SExpr | undefined;
28546
29000
  priority?: number | undefined;
28547
29001
  appliesTo?: string[] | undefined;
29002
+ runsInBackground?: boolean | undefined;
28548
29003
  pageIds?: string[] | undefined;
28549
29004
  emitIds?: string[] | undefined;
28550
29005
  }[] | undefined;
@@ -28771,6 +29226,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
28771
29226
  guard?: SExpr | undefined;
28772
29227
  priority?: number | undefined;
28773
29228
  appliesTo?: string[] | undefined;
29229
+ runsInBackground?: boolean | undefined;
28774
29230
  pageIds?: PageId[] | undefined;
28775
29231
  emitIds?: EventId[] | undefined;
28776
29232
  }[] | undefined;
@@ -28997,6 +29453,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
28997
29453
  guard?: SExpr | undefined;
28998
29454
  priority?: number | undefined;
28999
29455
  appliesTo?: string[] | undefined;
29456
+ runsInBackground?: boolean | undefined;
29000
29457
  pageIds?: string[] | undefined;
29001
29458
  emitIds?: string[] | undefined;
29002
29459
  }[] | undefined;
@@ -29303,6 +29760,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
29303
29760
  priority: z.ZodOptional<z.ZodNumber>;
29304
29761
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
29305
29762
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29763
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
29306
29764
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29307
29765
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
29308
29766
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -29319,6 +29777,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
29319
29777
  guard?: SExpr | undefined;
29320
29778
  priority?: number | undefined;
29321
29779
  appliesTo?: string[] | undefined;
29780
+ runsInBackground?: boolean | undefined;
29322
29781
  pageIds?: PageId[] | undefined;
29323
29782
  emitIds?: EventId[] | undefined;
29324
29783
  }, {
@@ -29331,6 +29790,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
29331
29790
  guard?: SExpr | undefined;
29332
29791
  priority?: number | undefined;
29333
29792
  appliesTo?: string[] | undefined;
29793
+ runsInBackground?: boolean | undefined;
29334
29794
  pageIds?: string[] | undefined;
29335
29795
  emitIds?: string[] | undefined;
29336
29796
  }>, "many">>;
@@ -29804,6 +30264,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
29804
30264
  guard?: SExpr | undefined;
29805
30265
  priority?: number | undefined;
29806
30266
  appliesTo?: string[] | undefined;
30267
+ runsInBackground?: boolean | undefined;
29807
30268
  pageIds?: PageId[] | undefined;
29808
30269
  emitIds?: EventId[] | undefined;
29809
30270
  }[] | undefined;
@@ -29988,6 +30449,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
29988
30449
  guard?: SExpr | undefined;
29989
30450
  priority?: number | undefined;
29990
30451
  appliesTo?: string[] | undefined;
30452
+ runsInBackground?: boolean | undefined;
29991
30453
  pageIds?: string[] | undefined;
29992
30454
  emitIds?: string[] | undefined;
29993
30455
  }[] | undefined;
@@ -30372,6 +30834,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
30372
30834
  priority: z.ZodOptional<z.ZodNumber>;
30373
30835
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
30374
30836
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30837
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
30375
30838
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30376
30839
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
30377
30840
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -30388,6 +30851,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
30388
30851
  guard?: SExpr | undefined;
30389
30852
  priority?: number | undefined;
30390
30853
  appliesTo?: string[] | undefined;
30854
+ runsInBackground?: boolean | undefined;
30391
30855
  pageIds?: PageId[] | undefined;
30392
30856
  emitIds?: EventId[] | undefined;
30393
30857
  }, {
@@ -30400,6 +30864,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
30400
30864
  guard?: SExpr | undefined;
30401
30865
  priority?: number | undefined;
30402
30866
  appliesTo?: string[] | undefined;
30867
+ runsInBackground?: boolean | undefined;
30403
30868
  pageIds?: string[] | undefined;
30404
30869
  emitIds?: string[] | undefined;
30405
30870
  }>, "many">>;
@@ -30873,6 +31338,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
30873
31338
  guard?: SExpr | undefined;
30874
31339
  priority?: number | undefined;
30875
31340
  appliesTo?: string[] | undefined;
31341
+ runsInBackground?: boolean | undefined;
30876
31342
  pageIds?: PageId[] | undefined;
30877
31343
  emitIds?: EventId[] | undefined;
30878
31344
  }[] | undefined;
@@ -31057,6 +31523,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
31057
31523
  guard?: SExpr | undefined;
31058
31524
  priority?: number | undefined;
31059
31525
  appliesTo?: string[] | undefined;
31526
+ runsInBackground?: boolean | undefined;
31060
31527
  pageIds?: string[] | undefined;
31061
31528
  emitIds?: string[] | undefined;
31062
31529
  }[] | undefined;
@@ -31384,6 +31851,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
31384
31851
  guard?: SExpr | undefined;
31385
31852
  priority?: number | undefined;
31386
31853
  appliesTo?: string[] | undefined;
31854
+ runsInBackground?: boolean | undefined;
31387
31855
  pageIds?: PageId[] | undefined;
31388
31856
  emitIds?: EventId[] | undefined;
31389
31857
  }[] | undefined;
@@ -31610,6 +32078,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
31610
32078
  guard?: SExpr | undefined;
31611
32079
  priority?: number | undefined;
31612
32080
  appliesTo?: string[] | undefined;
32081
+ runsInBackground?: boolean | undefined;
31613
32082
  pageIds?: string[] | undefined;
31614
32083
  emitIds?: string[] | undefined;
31615
32084
  }[] | undefined;
@@ -31836,6 +32305,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
31836
32305
  guard?: SExpr | undefined;
31837
32306
  priority?: number | undefined;
31838
32307
  appliesTo?: string[] | undefined;
32308
+ runsInBackground?: boolean | undefined;
31839
32309
  pageIds?: PageId[] | undefined;
31840
32310
  emitIds?: EventId[] | undefined;
31841
32311
  }[] | undefined;
@@ -32062,6 +32532,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
32062
32532
  guard?: SExpr | undefined;
32063
32533
  priority?: number | undefined;
32064
32534
  appliesTo?: string[] | undefined;
32535
+ runsInBackground?: boolean | undefined;
32065
32536
  pageIds?: string[] | undefined;
32066
32537
  emitIds?: string[] | undefined;
32067
32538
  }[] | undefined;
@@ -32368,6 +32839,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
32368
32839
  priority: z.ZodOptional<z.ZodNumber>;
32369
32840
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
32370
32841
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32842
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
32371
32843
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32372
32844
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
32373
32845
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -32384,6 +32856,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
32384
32856
  guard?: SExpr | undefined;
32385
32857
  priority?: number | undefined;
32386
32858
  appliesTo?: string[] | undefined;
32859
+ runsInBackground?: boolean | undefined;
32387
32860
  pageIds?: PageId[] | undefined;
32388
32861
  emitIds?: EventId[] | undefined;
32389
32862
  }, {
@@ -32396,6 +32869,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
32396
32869
  guard?: SExpr | undefined;
32397
32870
  priority?: number | undefined;
32398
32871
  appliesTo?: string[] | undefined;
32872
+ runsInBackground?: boolean | undefined;
32399
32873
  pageIds?: string[] | undefined;
32400
32874
  emitIds?: string[] | undefined;
32401
32875
  }>, "many">>;
@@ -32869,6 +33343,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
32869
33343
  guard?: SExpr | undefined;
32870
33344
  priority?: number | undefined;
32871
33345
  appliesTo?: string[] | undefined;
33346
+ runsInBackground?: boolean | undefined;
32872
33347
  pageIds?: PageId[] | undefined;
32873
33348
  emitIds?: EventId[] | undefined;
32874
33349
  }[] | undefined;
@@ -33053,6 +33528,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
33053
33528
  guard?: SExpr | undefined;
33054
33529
  priority?: number | undefined;
33055
33530
  appliesTo?: string[] | undefined;
33531
+ runsInBackground?: boolean | undefined;
33056
33532
  pageIds?: string[] | undefined;
33057
33533
  emitIds?: string[] | undefined;
33058
33534
  }[] | undefined;
@@ -33244,6 +33720,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
33244
33720
  guard?: SExpr | undefined;
33245
33721
  priority?: number | undefined;
33246
33722
  appliesTo?: string[] | undefined;
33723
+ runsInBackground?: boolean | undefined;
33247
33724
  pageIds?: PageId[] | undefined;
33248
33725
  emitIds?: EventId[] | undefined;
33249
33726
  }[] | undefined;
@@ -33467,6 +33944,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
33467
33944
  guard?: SExpr | undefined;
33468
33945
  priority?: number | undefined;
33469
33946
  appliesTo?: string[] | undefined;
33947
+ runsInBackground?: boolean | undefined;
33470
33948
  pageIds?: PageId[] | undefined;
33471
33949
  emitIds?: EventId[] | undefined;
33472
33950
  }[] | undefined;
@@ -33663,6 +34141,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
33663
34141
  guard?: SExpr | undefined;
33664
34142
  priority?: number | undefined;
33665
34143
  appliesTo?: string[] | undefined;
34144
+ runsInBackground?: boolean | undefined;
33666
34145
  pageIds?: string[] | undefined;
33667
34146
  emitIds?: string[] | undefined;
33668
34147
  }[] | undefined;
@@ -33886,6 +34365,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
33886
34365
  guard?: SExpr | undefined;
33887
34366
  priority?: number | undefined;
33888
34367
  appliesTo?: string[] | undefined;
34368
+ runsInBackground?: boolean | undefined;
33889
34369
  pageIds?: string[] | undefined;
33890
34370
  emitIds?: string[] | undefined;
33891
34371
  }[] | undefined;
@@ -34030,6 +34510,107 @@ declare const OrbitalSchema$1: z.ZodObject<{
34030
34510
  entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
34031
34511
  mounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
34032
34512
  extend: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
34513
+ listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
34514
+ event: z.ZodString;
34515
+ eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
34516
+ triggers: z.ZodString;
34517
+ triggersId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
34518
+ description: z.ZodOptional<z.ZodString>;
34519
+ synonyms: z.ZodOptional<z.ZodString>;
34520
+ tier: z.ZodOptional<z.ZodString>;
34521
+ guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
34522
+ scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
34523
+ payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
34524
+ source: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
34525
+ kind: z.ZodLiteral<"any">;
34526
+ }, "strip", z.ZodTypeAny, {
34527
+ kind: "any";
34528
+ }, {
34529
+ kind: "any";
34530
+ }>, z.ZodObject<{
34531
+ kind: z.ZodLiteral<"trait">;
34532
+ trait: z.ZodString;
34533
+ traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
34534
+ }, "strip", z.ZodTypeAny, {
34535
+ trait: string;
34536
+ kind: "trait";
34537
+ traitId?: TraitId | undefined;
34538
+ }, {
34539
+ trait: string;
34540
+ kind: "trait";
34541
+ traitId?: string | undefined;
34542
+ }>, z.ZodObject<{
34543
+ kind: z.ZodLiteral<"orbital">;
34544
+ orbital: z.ZodString;
34545
+ trait: z.ZodString;
34546
+ orbitalId: z.ZodOptional<z.ZodEffects<z.ZodString, OrbitalId, string>>;
34547
+ traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
34548
+ }, "strip", z.ZodTypeAny, {
34549
+ orbital: string;
34550
+ trait: string;
34551
+ kind: "orbital";
34552
+ traitId?: TraitId | undefined;
34553
+ orbitalId?: OrbitalId | undefined;
34554
+ }, {
34555
+ orbital: string;
34556
+ trait: string;
34557
+ kind: "orbital";
34558
+ traitId?: string | undefined;
34559
+ orbitalId?: string | undefined;
34560
+ }>]>>;
34561
+ } & {
34562
+ trait: z.ZodString;
34563
+ }, "strip", z.ZodTypeAny, {
34564
+ trait: string;
34565
+ event: string;
34566
+ triggers: string;
34567
+ description?: string | undefined;
34568
+ synonyms?: string | undefined;
34569
+ source?: {
34570
+ kind: "any";
34571
+ } | {
34572
+ trait: string;
34573
+ kind: "trait";
34574
+ traitId?: TraitId | undefined;
34575
+ } | {
34576
+ orbital: string;
34577
+ trait: string;
34578
+ kind: "orbital";
34579
+ traitId?: TraitId | undefined;
34580
+ orbitalId?: OrbitalId | undefined;
34581
+ } | undefined;
34582
+ guard?: SExpr | undefined;
34583
+ eventId?: EventId | undefined;
34584
+ scope?: "internal" | "external" | undefined;
34585
+ tier?: string | undefined;
34586
+ triggersId?: EventId | undefined;
34587
+ payloadMapping?: Record<string, SExpr> | undefined;
34588
+ }, {
34589
+ trait: string;
34590
+ event: string;
34591
+ triggers: string;
34592
+ description?: string | undefined;
34593
+ synonyms?: string | undefined;
34594
+ source?: {
34595
+ kind: "any";
34596
+ } | {
34597
+ trait: string;
34598
+ kind: "trait";
34599
+ traitId?: string | undefined;
34600
+ } | {
34601
+ orbital: string;
34602
+ trait: string;
34603
+ kind: "orbital";
34604
+ traitId?: string | undefined;
34605
+ orbitalId?: string | undefined;
34606
+ } | undefined;
34607
+ guard?: SExpr | undefined;
34608
+ eventId?: string | undefined;
34609
+ scope?: "internal" | "external" | undefined;
34610
+ tier?: string | undefined;
34611
+ triggersId?: string | undefined;
34612
+ payloadMapping?: Record<string, SExpr> | undefined;
34613
+ }>, "many">>;
34033
34614
  }, "strip", z.ZodTypeAny, {
34034
34615
  ref: string;
34035
34616
  entity?: string | undefined;
@@ -34038,6 +34619,32 @@ declare const OrbitalSchema$1: z.ZodObject<{
34038
34619
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
34039
34620
  pages?: Record<string, string> | undefined;
34040
34621
  fields?: Record<string, string> | undefined;
34622
+ listens?: {
34623
+ trait: string;
34624
+ event: string;
34625
+ triggers: string;
34626
+ description?: string | undefined;
34627
+ synonyms?: string | undefined;
34628
+ source?: {
34629
+ kind: "any";
34630
+ } | {
34631
+ trait: string;
34632
+ kind: "trait";
34633
+ traitId?: TraitId | undefined;
34634
+ } | {
34635
+ orbital: string;
34636
+ trait: string;
34637
+ kind: "orbital";
34638
+ traitId?: TraitId | undefined;
34639
+ orbitalId?: OrbitalId | undefined;
34640
+ } | undefined;
34641
+ guard?: SExpr | undefined;
34642
+ eventId?: EventId | undefined;
34643
+ scope?: "internal" | "external" | undefined;
34644
+ tier?: string | undefined;
34645
+ triggersId?: EventId | undefined;
34646
+ payloadMapping?: Record<string, SExpr> | undefined;
34647
+ }[] | undefined;
34041
34648
  events?: Record<string, string> | undefined;
34042
34649
  roles?: Record<string, string[]> | undefined;
34043
34650
  refId?: OrbitalId | undefined;
@@ -34052,6 +34659,32 @@ declare const OrbitalSchema$1: z.ZodObject<{
34052
34659
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
34053
34660
  pages?: Record<string, string> | undefined;
34054
34661
  fields?: Record<string, string> | undefined;
34662
+ listens?: {
34663
+ trait: string;
34664
+ event: string;
34665
+ triggers: string;
34666
+ description?: string | undefined;
34667
+ synonyms?: string | undefined;
34668
+ source?: {
34669
+ kind: "any";
34670
+ } | {
34671
+ trait: string;
34672
+ kind: "trait";
34673
+ traitId?: string | undefined;
34674
+ } | {
34675
+ orbital: string;
34676
+ trait: string;
34677
+ kind: "orbital";
34678
+ traitId?: string | undefined;
34679
+ orbitalId?: string | undefined;
34680
+ } | undefined;
34681
+ guard?: SExpr | undefined;
34682
+ eventId?: string | undefined;
34683
+ scope?: "internal" | "external" | undefined;
34684
+ tier?: string | undefined;
34685
+ triggersId?: string | undefined;
34686
+ payloadMapping?: Record<string, SExpr> | undefined;
34687
+ }[] | undefined;
34055
34688
  events?: Record<string, string> | undefined;
34056
34689
  roles?: Record<string, string[]> | undefined;
34057
34690
  refId?: string | undefined;
@@ -34397,6 +35030,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
34397
35030
  guard?: SExpr | undefined;
34398
35031
  priority?: number | undefined;
34399
35032
  appliesTo?: string[] | undefined;
35033
+ runsInBackground?: boolean | undefined;
34400
35034
  pageIds?: PageId[] | undefined;
34401
35035
  emitIds?: EventId[] | undefined;
34402
35036
  }[] | undefined;
@@ -34620,6 +35254,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
34620
35254
  guard?: SExpr | undefined;
34621
35255
  priority?: number | undefined;
34622
35256
  appliesTo?: string[] | undefined;
35257
+ runsInBackground?: boolean | undefined;
34623
35258
  pageIds?: PageId[] | undefined;
34624
35259
  emitIds?: EventId[] | undefined;
34625
35260
  }[] | undefined;
@@ -34812,6 +35447,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
34812
35447
  guard?: SExpr | undefined;
34813
35448
  priority?: number | undefined;
34814
35449
  appliesTo?: string[] | undefined;
35450
+ runsInBackground?: boolean | undefined;
34815
35451
  pageIds?: PageId[] | undefined;
34816
35452
  emitIds?: EventId[] | undefined;
34817
35453
  }[] | undefined;
@@ -35035,6 +35671,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
35035
35671
  guard?: SExpr | undefined;
35036
35672
  priority?: number | undefined;
35037
35673
  appliesTo?: string[] | undefined;
35674
+ runsInBackground?: boolean | undefined;
35038
35675
  pageIds?: PageId[] | undefined;
35039
35676
  emitIds?: EventId[] | undefined;
35040
35677
  }[] | undefined;
@@ -35476,6 +36113,32 @@ declare const OrbitalSchema$1: z.ZodObject<{
35476
36113
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
35477
36114
  pages?: Record<string, string> | undefined;
35478
36115
  fields?: Record<string, string> | undefined;
36116
+ listens?: {
36117
+ trait: string;
36118
+ event: string;
36119
+ triggers: string;
36120
+ description?: string | undefined;
36121
+ synonyms?: string | undefined;
36122
+ source?: {
36123
+ kind: "any";
36124
+ } | {
36125
+ trait: string;
36126
+ kind: "trait";
36127
+ traitId?: TraitId | undefined;
36128
+ } | {
36129
+ orbital: string;
36130
+ trait: string;
36131
+ kind: "orbital";
36132
+ traitId?: TraitId | undefined;
36133
+ orbitalId?: OrbitalId | undefined;
36134
+ } | undefined;
36135
+ guard?: SExpr | undefined;
36136
+ eventId?: EventId | undefined;
36137
+ scope?: "internal" | "external" | undefined;
36138
+ tier?: string | undefined;
36139
+ triggersId?: EventId | undefined;
36140
+ payloadMapping?: Record<string, SExpr> | undefined;
36141
+ }[] | undefined;
35479
36142
  events?: Record<string, string> | undefined;
35480
36143
  roles?: Record<string, string[]> | undefined;
35481
36144
  refId?: OrbitalId | undefined;
@@ -35505,6 +36168,28 @@ declare const OrbitalSchema$1: z.ZodObject<{
35505
36168
  guard?: SExpr | undefined;
35506
36169
  payloadMapping?: Record<string, SExpr> | undefined;
35507
36170
  }[] | undefined;
36171
+ types?: Record<string, EventPayloadField[]> | undefined;
36172
+ uses?: {
36173
+ from: string;
36174
+ as: string;
36175
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
36176
+ }[] | undefined;
36177
+ expects?: ({
36178
+ kind: "identity";
36179
+ name?: string | undefined;
36180
+ shape?: EntityField[] | undefined;
36181
+ } | {
36182
+ kind: "entity";
36183
+ name: string;
36184
+ shape?: EntityField[] | undefined;
36185
+ } | {
36186
+ event: string;
36187
+ kind: "event";
36188
+ traitName: string;
36189
+ } | {
36190
+ path: string;
36191
+ kind: "page";
36192
+ })[] | undefined;
35508
36193
  services?: (string | {
35509
36194
  type: "rest";
35510
36195
  name: string;
@@ -35547,28 +36232,6 @@ declare const OrbitalSchema$1: z.ZodObject<{
35547
36232
  headers?: Record<string, string> | undefined;
35548
36233
  serverPath?: string | undefined;
35549
36234
  })[] | undefined;
35550
- types?: Record<string, EventPayloadField[]> | undefined;
35551
- uses?: {
35552
- from: string;
35553
- as: string;
35554
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
35555
- }[] | undefined;
35556
- expects?: ({
35557
- kind: "identity";
35558
- name?: string | undefined;
35559
- shape?: EntityField[] | undefined;
35560
- } | {
35561
- kind: "entity";
35562
- name: string;
35563
- shape?: EntityField[] | undefined;
35564
- } | {
35565
- event: string;
35566
- kind: "event";
35567
- traitName: string;
35568
- } | {
35569
- path: string;
35570
- kind: "page";
35571
- })[] | undefined;
35572
36235
  auxiliaryEntities?: (string | {
35573
36236
  name: string;
35574
36237
  persistence: "persistent" | "runtime";
@@ -35848,6 +36511,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
35848
36511
  guard?: SExpr | undefined;
35849
36512
  priority?: number | undefined;
35850
36513
  appliesTo?: string[] | undefined;
36514
+ runsInBackground?: boolean | undefined;
35851
36515
  pageIds?: string[] | undefined;
35852
36516
  emitIds?: string[] | undefined;
35853
36517
  }[] | undefined;
@@ -36071,6 +36735,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
36071
36735
  guard?: SExpr | undefined;
36072
36736
  priority?: number | undefined;
36073
36737
  appliesTo?: string[] | undefined;
36738
+ runsInBackground?: boolean | undefined;
36074
36739
  pageIds?: string[] | undefined;
36075
36740
  emitIds?: string[] | undefined;
36076
36741
  }[] | undefined;
@@ -36263,6 +36928,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
36263
36928
  guard?: SExpr | undefined;
36264
36929
  priority?: number | undefined;
36265
36930
  appliesTo?: string[] | undefined;
36931
+ runsInBackground?: boolean | undefined;
36266
36932
  pageIds?: string[] | undefined;
36267
36933
  emitIds?: string[] | undefined;
36268
36934
  }[] | undefined;
@@ -36486,6 +37152,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
36486
37152
  guard?: SExpr | undefined;
36487
37153
  priority?: number | undefined;
36488
37154
  appliesTo?: string[] | undefined;
37155
+ runsInBackground?: boolean | undefined;
36489
37156
  pageIds?: string[] | undefined;
36490
37157
  emitIds?: string[] | undefined;
36491
37158
  }[] | undefined;
@@ -36927,6 +37594,32 @@ declare const OrbitalSchema$1: z.ZodObject<{
36927
37594
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
36928
37595
  pages?: Record<string, string> | undefined;
36929
37596
  fields?: Record<string, string> | undefined;
37597
+ listens?: {
37598
+ trait: string;
37599
+ event: string;
37600
+ triggers: string;
37601
+ description?: string | undefined;
37602
+ synonyms?: string | undefined;
37603
+ source?: {
37604
+ kind: "any";
37605
+ } | {
37606
+ trait: string;
37607
+ kind: "trait";
37608
+ traitId?: string | undefined;
37609
+ } | {
37610
+ orbital: string;
37611
+ trait: string;
37612
+ kind: "orbital";
37613
+ traitId?: string | undefined;
37614
+ orbitalId?: string | undefined;
37615
+ } | undefined;
37616
+ guard?: SExpr | undefined;
37617
+ eventId?: string | undefined;
37618
+ scope?: "internal" | "external" | undefined;
37619
+ tier?: string | undefined;
37620
+ triggersId?: string | undefined;
37621
+ payloadMapping?: Record<string, SExpr> | undefined;
37622
+ }[] | undefined;
36930
37623
  events?: Record<string, string> | undefined;
36931
37624
  roles?: Record<string, string[]> | undefined;
36932
37625
  refId?: string | undefined;
@@ -36956,6 +37649,28 @@ declare const OrbitalSchema$1: z.ZodObject<{
36956
37649
  guard?: SExpr | undefined;
36957
37650
  payloadMapping?: Record<string, SExpr> | undefined;
36958
37651
  }[] | undefined;
37652
+ types?: Record<string, EventPayloadField[]> | undefined;
37653
+ uses?: {
37654
+ from: string;
37655
+ as: string;
37656
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
37657
+ }[] | undefined;
37658
+ expects?: ({
37659
+ kind: "identity";
37660
+ name?: string | undefined;
37661
+ shape?: unknown[] | undefined;
37662
+ } | {
37663
+ kind: "entity";
37664
+ name: string;
37665
+ shape?: unknown[] | undefined;
37666
+ } | {
37667
+ event: string;
37668
+ kind: "event";
37669
+ traitName: string;
37670
+ } | {
37671
+ path: string;
37672
+ kind: "page";
37673
+ })[] | undefined;
36959
37674
  services?: (string | {
36960
37675
  type: "rest";
36961
37676
  name: string;
@@ -36998,28 +37713,6 @@ declare const OrbitalSchema$1: z.ZodObject<{
36998
37713
  headers?: Record<string, string> | undefined;
36999
37714
  serverPath?: string | undefined;
37000
37715
  })[] | undefined;
37001
- types?: Record<string, EventPayloadField[]> | undefined;
37002
- uses?: {
37003
- from: string;
37004
- as: string;
37005
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
37006
- }[] | undefined;
37007
- expects?: ({
37008
- kind: "identity";
37009
- name?: string | undefined;
37010
- shape?: unknown[] | undefined;
37011
- } | {
37012
- kind: "entity";
37013
- name: string;
37014
- shape?: unknown[] | undefined;
37015
- } | {
37016
- event: string;
37017
- kind: "event";
37018
- traitName: string;
37019
- } | {
37020
- path: string;
37021
- kind: "page";
37022
- })[] | undefined;
37023
37716
  auxiliaryEntities?: (string | {
37024
37717
  name: string;
37025
37718
  fields: unknown[];
@@ -41306,6 +41999,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
41306
41999
  priority: z.ZodOptional<z.ZodNumber>;
41307
42000
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
41308
42001
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
42002
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
41309
42003
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
41310
42004
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
41311
42005
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -41322,6 +42016,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
41322
42016
  guard?: SExpr | undefined;
41323
42017
  priority?: number | undefined;
41324
42018
  appliesTo?: string[] | undefined;
42019
+ runsInBackground?: boolean | undefined;
41325
42020
  pageIds?: PageId[] | undefined;
41326
42021
  emitIds?: EventId[] | undefined;
41327
42022
  }, {
@@ -41334,6 +42029,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
41334
42029
  guard?: SExpr | undefined;
41335
42030
  priority?: number | undefined;
41336
42031
  appliesTo?: string[] | undefined;
42032
+ runsInBackground?: boolean | undefined;
41337
42033
  pageIds?: string[] | undefined;
41338
42034
  emitIds?: string[] | undefined;
41339
42035
  }>, "many">>;
@@ -41807,6 +42503,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
41807
42503
  guard?: SExpr | undefined;
41808
42504
  priority?: number | undefined;
41809
42505
  appliesTo?: string[] | undefined;
42506
+ runsInBackground?: boolean | undefined;
41810
42507
  pageIds?: PageId[] | undefined;
41811
42508
  emitIds?: EventId[] | undefined;
41812
42509
  }[] | undefined;
@@ -41991,6 +42688,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
41991
42688
  guard?: SExpr | undefined;
41992
42689
  priority?: number | undefined;
41993
42690
  appliesTo?: string[] | undefined;
42691
+ runsInBackground?: boolean | undefined;
41994
42692
  pageIds?: string[] | undefined;
41995
42693
  emitIds?: string[] | undefined;
41996
42694
  }[] | undefined;
@@ -42318,6 +43016,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
42318
43016
  guard?: SExpr | undefined;
42319
43017
  priority?: number | undefined;
42320
43018
  appliesTo?: string[] | undefined;
43019
+ runsInBackground?: boolean | undefined;
42321
43020
  pageIds?: PageId[] | undefined;
42322
43021
  emitIds?: EventId[] | undefined;
42323
43022
  }[] | undefined;
@@ -42544,6 +43243,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
42544
43243
  guard?: SExpr | undefined;
42545
43244
  priority?: number | undefined;
42546
43245
  appliesTo?: string[] | undefined;
43246
+ runsInBackground?: boolean | undefined;
42547
43247
  pageIds?: string[] | undefined;
42548
43248
  emitIds?: string[] | undefined;
42549
43249
  }[] | undefined;
@@ -42770,6 +43470,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
42770
43470
  guard?: SExpr | undefined;
42771
43471
  priority?: number | undefined;
42772
43472
  appliesTo?: string[] | undefined;
43473
+ runsInBackground?: boolean | undefined;
42773
43474
  pageIds?: PageId[] | undefined;
42774
43475
  emitIds?: EventId[] | undefined;
42775
43476
  }[] | undefined;
@@ -42996,6 +43697,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
42996
43697
  guard?: SExpr | undefined;
42997
43698
  priority?: number | undefined;
42998
43699
  appliesTo?: string[] | undefined;
43700
+ runsInBackground?: boolean | undefined;
42999
43701
  pageIds?: string[] | undefined;
43000
43702
  emitIds?: string[] | undefined;
43001
43703
  }[] | undefined;
@@ -43302,6 +44004,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
43302
44004
  priority: z.ZodOptional<z.ZodNumber>;
43303
44005
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
43304
44006
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44007
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
43305
44008
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43306
44009
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
43307
44010
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -43318,6 +44021,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
43318
44021
  guard?: SExpr | undefined;
43319
44022
  priority?: number | undefined;
43320
44023
  appliesTo?: string[] | undefined;
44024
+ runsInBackground?: boolean | undefined;
43321
44025
  pageIds?: PageId[] | undefined;
43322
44026
  emitIds?: EventId[] | undefined;
43323
44027
  }, {
@@ -43330,6 +44034,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
43330
44034
  guard?: SExpr | undefined;
43331
44035
  priority?: number | undefined;
43332
44036
  appliesTo?: string[] | undefined;
44037
+ runsInBackground?: boolean | undefined;
43333
44038
  pageIds?: string[] | undefined;
43334
44039
  emitIds?: string[] | undefined;
43335
44040
  }>, "many">>;
@@ -43803,6 +44508,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
43803
44508
  guard?: SExpr | undefined;
43804
44509
  priority?: number | undefined;
43805
44510
  appliesTo?: string[] | undefined;
44511
+ runsInBackground?: boolean | undefined;
43806
44512
  pageIds?: PageId[] | undefined;
43807
44513
  emitIds?: EventId[] | undefined;
43808
44514
  }[] | undefined;
@@ -43987,6 +44693,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
43987
44693
  guard?: SExpr | undefined;
43988
44694
  priority?: number | undefined;
43989
44695
  appliesTo?: string[] | undefined;
44696
+ runsInBackground?: boolean | undefined;
43990
44697
  pageIds?: string[] | undefined;
43991
44698
  emitIds?: string[] | undefined;
43992
44699
  }[] | undefined;
@@ -44371,6 +45078,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
44371
45078
  priority: z.ZodOptional<z.ZodNumber>;
44372
45079
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
44373
45080
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45081
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
44374
45082
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44375
45083
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
44376
45084
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -44387,6 +45095,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
44387
45095
  guard?: SExpr | undefined;
44388
45096
  priority?: number | undefined;
44389
45097
  appliesTo?: string[] | undefined;
45098
+ runsInBackground?: boolean | undefined;
44390
45099
  pageIds?: PageId[] | undefined;
44391
45100
  emitIds?: EventId[] | undefined;
44392
45101
  }, {
@@ -44399,6 +45108,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
44399
45108
  guard?: SExpr | undefined;
44400
45109
  priority?: number | undefined;
44401
45110
  appliesTo?: string[] | undefined;
45111
+ runsInBackground?: boolean | undefined;
44402
45112
  pageIds?: string[] | undefined;
44403
45113
  emitIds?: string[] | undefined;
44404
45114
  }>, "many">>;
@@ -44872,6 +45582,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
44872
45582
  guard?: SExpr | undefined;
44873
45583
  priority?: number | undefined;
44874
45584
  appliesTo?: string[] | undefined;
45585
+ runsInBackground?: boolean | undefined;
44875
45586
  pageIds?: PageId[] | undefined;
44876
45587
  emitIds?: EventId[] | undefined;
44877
45588
  }[] | undefined;
@@ -45056,6 +45767,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
45056
45767
  guard?: SExpr | undefined;
45057
45768
  priority?: number | undefined;
45058
45769
  appliesTo?: string[] | undefined;
45770
+ runsInBackground?: boolean | undefined;
45059
45771
  pageIds?: string[] | undefined;
45060
45772
  emitIds?: string[] | undefined;
45061
45773
  }[] | undefined;
@@ -45383,6 +46095,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
45383
46095
  guard?: SExpr | undefined;
45384
46096
  priority?: number | undefined;
45385
46097
  appliesTo?: string[] | undefined;
46098
+ runsInBackground?: boolean | undefined;
45386
46099
  pageIds?: PageId[] | undefined;
45387
46100
  emitIds?: EventId[] | undefined;
45388
46101
  }[] | undefined;
@@ -45609,6 +46322,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
45609
46322
  guard?: SExpr | undefined;
45610
46323
  priority?: number | undefined;
45611
46324
  appliesTo?: string[] | undefined;
46325
+ runsInBackground?: boolean | undefined;
45612
46326
  pageIds?: string[] | undefined;
45613
46327
  emitIds?: string[] | undefined;
45614
46328
  }[] | undefined;
@@ -45835,6 +46549,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
45835
46549
  guard?: SExpr | undefined;
45836
46550
  priority?: number | undefined;
45837
46551
  appliesTo?: string[] | undefined;
46552
+ runsInBackground?: boolean | undefined;
45838
46553
  pageIds?: PageId[] | undefined;
45839
46554
  emitIds?: EventId[] | undefined;
45840
46555
  }[] | undefined;
@@ -46061,6 +46776,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
46061
46776
  guard?: SExpr | undefined;
46062
46777
  priority?: number | undefined;
46063
46778
  appliesTo?: string[] | undefined;
46779
+ runsInBackground?: boolean | undefined;
46064
46780
  pageIds?: string[] | undefined;
46065
46781
  emitIds?: string[] | undefined;
46066
46782
  }[] | undefined;
@@ -46367,6 +47083,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
46367
47083
  priority: z.ZodOptional<z.ZodNumber>;
46368
47084
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
46369
47085
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
47086
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
46370
47087
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46371
47088
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
46372
47089
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -46383,6 +47100,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
46383
47100
  guard?: SExpr | undefined;
46384
47101
  priority?: number | undefined;
46385
47102
  appliesTo?: string[] | undefined;
47103
+ runsInBackground?: boolean | undefined;
46386
47104
  pageIds?: PageId[] | undefined;
46387
47105
  emitIds?: EventId[] | undefined;
46388
47106
  }, {
@@ -46395,6 +47113,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
46395
47113
  guard?: SExpr | undefined;
46396
47114
  priority?: number | undefined;
46397
47115
  appliesTo?: string[] | undefined;
47116
+ runsInBackground?: boolean | undefined;
46398
47117
  pageIds?: string[] | undefined;
46399
47118
  emitIds?: string[] | undefined;
46400
47119
  }>, "many">>;
@@ -46868,6 +47587,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
46868
47587
  guard?: SExpr | undefined;
46869
47588
  priority?: number | undefined;
46870
47589
  appliesTo?: string[] | undefined;
47590
+ runsInBackground?: boolean | undefined;
46871
47591
  pageIds?: PageId[] | undefined;
46872
47592
  emitIds?: EventId[] | undefined;
46873
47593
  }[] | undefined;
@@ -47052,6 +47772,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
47052
47772
  guard?: SExpr | undefined;
47053
47773
  priority?: number | undefined;
47054
47774
  appliesTo?: string[] | undefined;
47775
+ runsInBackground?: boolean | undefined;
47055
47776
  pageIds?: string[] | undefined;
47056
47777
  emitIds?: string[] | undefined;
47057
47778
  }[] | undefined;
@@ -47243,6 +47964,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
47243
47964
  guard?: SExpr | undefined;
47244
47965
  priority?: number | undefined;
47245
47966
  appliesTo?: string[] | undefined;
47967
+ runsInBackground?: boolean | undefined;
47246
47968
  pageIds?: PageId[] | undefined;
47247
47969
  emitIds?: EventId[] | undefined;
47248
47970
  }[] | undefined;
@@ -47466,6 +48188,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
47466
48188
  guard?: SExpr | undefined;
47467
48189
  priority?: number | undefined;
47468
48190
  appliesTo?: string[] | undefined;
48191
+ runsInBackground?: boolean | undefined;
47469
48192
  pageIds?: PageId[] | undefined;
47470
48193
  emitIds?: EventId[] | undefined;
47471
48194
  }[] | undefined;
@@ -47662,6 +48385,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
47662
48385
  guard?: SExpr | undefined;
47663
48386
  priority?: number | undefined;
47664
48387
  appliesTo?: string[] | undefined;
48388
+ runsInBackground?: boolean | undefined;
47665
48389
  pageIds?: string[] | undefined;
47666
48390
  emitIds?: string[] | undefined;
47667
48391
  }[] | undefined;
@@ -47885,6 +48609,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
47885
48609
  guard?: SExpr | undefined;
47886
48610
  priority?: number | undefined;
47887
48611
  appliesTo?: string[] | undefined;
48612
+ runsInBackground?: boolean | undefined;
47888
48613
  pageIds?: string[] | undefined;
47889
48614
  emitIds?: string[] | undefined;
47890
48615
  }[] | undefined;
@@ -48029,6 +48754,107 @@ declare const OrbitalUnitSchema: z.ZodObject<{
48029
48754
  entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
48030
48755
  mounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
48031
48756
  extend: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
48757
+ listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
48758
+ event: z.ZodString;
48759
+ eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
48760
+ triggers: z.ZodString;
48761
+ triggersId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
48762
+ description: z.ZodOptional<z.ZodString>;
48763
+ synonyms: z.ZodOptional<z.ZodString>;
48764
+ tier: z.ZodOptional<z.ZodString>;
48765
+ guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
48766
+ scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
48767
+ payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
48768
+ source: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
48769
+ kind: z.ZodLiteral<"any">;
48770
+ }, "strip", z.ZodTypeAny, {
48771
+ kind: "any";
48772
+ }, {
48773
+ kind: "any";
48774
+ }>, z.ZodObject<{
48775
+ kind: z.ZodLiteral<"trait">;
48776
+ trait: z.ZodString;
48777
+ traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
48778
+ }, "strip", z.ZodTypeAny, {
48779
+ trait: string;
48780
+ kind: "trait";
48781
+ traitId?: TraitId | undefined;
48782
+ }, {
48783
+ trait: string;
48784
+ kind: "trait";
48785
+ traitId?: string | undefined;
48786
+ }>, z.ZodObject<{
48787
+ kind: z.ZodLiteral<"orbital">;
48788
+ orbital: z.ZodString;
48789
+ trait: z.ZodString;
48790
+ orbitalId: z.ZodOptional<z.ZodEffects<z.ZodString, OrbitalId, string>>;
48791
+ traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
48792
+ }, "strip", z.ZodTypeAny, {
48793
+ orbital: string;
48794
+ trait: string;
48795
+ kind: "orbital";
48796
+ traitId?: TraitId | undefined;
48797
+ orbitalId?: OrbitalId | undefined;
48798
+ }, {
48799
+ orbital: string;
48800
+ trait: string;
48801
+ kind: "orbital";
48802
+ traitId?: string | undefined;
48803
+ orbitalId?: string | undefined;
48804
+ }>]>>;
48805
+ } & {
48806
+ trait: z.ZodString;
48807
+ }, "strip", z.ZodTypeAny, {
48808
+ trait: string;
48809
+ event: string;
48810
+ triggers: string;
48811
+ description?: string | undefined;
48812
+ synonyms?: string | undefined;
48813
+ source?: {
48814
+ kind: "any";
48815
+ } | {
48816
+ trait: string;
48817
+ kind: "trait";
48818
+ traitId?: TraitId | undefined;
48819
+ } | {
48820
+ orbital: string;
48821
+ trait: string;
48822
+ kind: "orbital";
48823
+ traitId?: TraitId | undefined;
48824
+ orbitalId?: OrbitalId | undefined;
48825
+ } | undefined;
48826
+ guard?: SExpr | undefined;
48827
+ eventId?: EventId | undefined;
48828
+ scope?: "internal" | "external" | undefined;
48829
+ tier?: string | undefined;
48830
+ triggersId?: EventId | undefined;
48831
+ payloadMapping?: Record<string, SExpr> | undefined;
48832
+ }, {
48833
+ trait: string;
48834
+ event: string;
48835
+ triggers: string;
48836
+ description?: string | undefined;
48837
+ synonyms?: string | undefined;
48838
+ source?: {
48839
+ kind: "any";
48840
+ } | {
48841
+ trait: string;
48842
+ kind: "trait";
48843
+ traitId?: string | undefined;
48844
+ } | {
48845
+ orbital: string;
48846
+ trait: string;
48847
+ kind: "orbital";
48848
+ traitId?: string | undefined;
48849
+ orbitalId?: string | undefined;
48850
+ } | undefined;
48851
+ guard?: SExpr | undefined;
48852
+ eventId?: string | undefined;
48853
+ scope?: "internal" | "external" | undefined;
48854
+ tier?: string | undefined;
48855
+ triggersId?: string | undefined;
48856
+ payloadMapping?: Record<string, SExpr> | undefined;
48857
+ }>, "many">>;
48032
48858
  }, "strip", z.ZodTypeAny, {
48033
48859
  ref: string;
48034
48860
  entity?: string | undefined;
@@ -48037,6 +48863,32 @@ declare const OrbitalUnitSchema: z.ZodObject<{
48037
48863
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
48038
48864
  pages?: Record<string, string> | undefined;
48039
48865
  fields?: Record<string, string> | undefined;
48866
+ listens?: {
48867
+ trait: string;
48868
+ event: string;
48869
+ triggers: string;
48870
+ description?: string | undefined;
48871
+ synonyms?: string | undefined;
48872
+ source?: {
48873
+ kind: "any";
48874
+ } | {
48875
+ trait: string;
48876
+ kind: "trait";
48877
+ traitId?: TraitId | undefined;
48878
+ } | {
48879
+ orbital: string;
48880
+ trait: string;
48881
+ kind: "orbital";
48882
+ traitId?: TraitId | undefined;
48883
+ orbitalId?: OrbitalId | undefined;
48884
+ } | undefined;
48885
+ guard?: SExpr | undefined;
48886
+ eventId?: EventId | undefined;
48887
+ scope?: "internal" | "external" | undefined;
48888
+ tier?: string | undefined;
48889
+ triggersId?: EventId | undefined;
48890
+ payloadMapping?: Record<string, SExpr> | undefined;
48891
+ }[] | undefined;
48040
48892
  events?: Record<string, string> | undefined;
48041
48893
  roles?: Record<string, string[]> | undefined;
48042
48894
  refId?: OrbitalId | undefined;
@@ -48051,6 +48903,32 @@ declare const OrbitalUnitSchema: z.ZodObject<{
48051
48903
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
48052
48904
  pages?: Record<string, string> | undefined;
48053
48905
  fields?: Record<string, string> | undefined;
48906
+ listens?: {
48907
+ trait: string;
48908
+ event: string;
48909
+ triggers: string;
48910
+ description?: string | undefined;
48911
+ synonyms?: string | undefined;
48912
+ source?: {
48913
+ kind: "any";
48914
+ } | {
48915
+ trait: string;
48916
+ kind: "trait";
48917
+ traitId?: string | undefined;
48918
+ } | {
48919
+ orbital: string;
48920
+ trait: string;
48921
+ kind: "orbital";
48922
+ traitId?: string | undefined;
48923
+ orbitalId?: string | undefined;
48924
+ } | undefined;
48925
+ guard?: SExpr | undefined;
48926
+ eventId?: string | undefined;
48927
+ scope?: "internal" | "external" | undefined;
48928
+ tier?: string | undefined;
48929
+ triggersId?: string | undefined;
48930
+ payloadMapping?: Record<string, SExpr> | undefined;
48931
+ }[] | undefined;
48054
48932
  events?: Record<string, string> | undefined;
48055
48933
  roles?: Record<string, string[]> | undefined;
48056
48934
  refId?: string | undefined;
@@ -48396,6 +49274,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
48396
49274
  guard?: SExpr | undefined;
48397
49275
  priority?: number | undefined;
48398
49276
  appliesTo?: string[] | undefined;
49277
+ runsInBackground?: boolean | undefined;
48399
49278
  pageIds?: PageId[] | undefined;
48400
49279
  emitIds?: EventId[] | undefined;
48401
49280
  }[] | undefined;
@@ -48619,6 +49498,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
48619
49498
  guard?: SExpr | undefined;
48620
49499
  priority?: number | undefined;
48621
49500
  appliesTo?: string[] | undefined;
49501
+ runsInBackground?: boolean | undefined;
48622
49502
  pageIds?: PageId[] | undefined;
48623
49503
  emitIds?: EventId[] | undefined;
48624
49504
  }[] | undefined;
@@ -48811,6 +49691,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
48811
49691
  guard?: SExpr | undefined;
48812
49692
  priority?: number | undefined;
48813
49693
  appliesTo?: string[] | undefined;
49694
+ runsInBackground?: boolean | undefined;
48814
49695
  pageIds?: PageId[] | undefined;
48815
49696
  emitIds?: EventId[] | undefined;
48816
49697
  }[] | undefined;
@@ -49034,6 +49915,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
49034
49915
  guard?: SExpr | undefined;
49035
49916
  priority?: number | undefined;
49036
49917
  appliesTo?: string[] | undefined;
49918
+ runsInBackground?: boolean | undefined;
49037
49919
  pageIds?: PageId[] | undefined;
49038
49920
  emitIds?: EventId[] | undefined;
49039
49921
  }[] | undefined;
@@ -49475,6 +50357,32 @@ declare const OrbitalUnitSchema: z.ZodObject<{
49475
50357
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
49476
50358
  pages?: Record<string, string> | undefined;
49477
50359
  fields?: Record<string, string> | undefined;
50360
+ listens?: {
50361
+ trait: string;
50362
+ event: string;
50363
+ triggers: string;
50364
+ description?: string | undefined;
50365
+ synonyms?: string | undefined;
50366
+ source?: {
50367
+ kind: "any";
50368
+ } | {
50369
+ trait: string;
50370
+ kind: "trait";
50371
+ traitId?: TraitId | undefined;
50372
+ } | {
50373
+ orbital: string;
50374
+ trait: string;
50375
+ kind: "orbital";
50376
+ traitId?: TraitId | undefined;
50377
+ orbitalId?: OrbitalId | undefined;
50378
+ } | undefined;
50379
+ guard?: SExpr | undefined;
50380
+ eventId?: EventId | undefined;
50381
+ scope?: "internal" | "external" | undefined;
50382
+ tier?: string | undefined;
50383
+ triggersId?: EventId | undefined;
50384
+ payloadMapping?: Record<string, SExpr> | undefined;
50385
+ }[] | undefined;
49478
50386
  events?: Record<string, string> | undefined;
49479
50387
  roles?: Record<string, string[]> | undefined;
49480
50388
  refId?: OrbitalId | undefined;
@@ -49504,6 +50412,28 @@ declare const OrbitalUnitSchema: z.ZodObject<{
49504
50412
  guard?: SExpr | undefined;
49505
50413
  payloadMapping?: Record<string, SExpr> | undefined;
49506
50414
  }[] | undefined;
50415
+ types?: Record<string, EventPayloadField[]> | undefined;
50416
+ uses?: {
50417
+ from: string;
50418
+ as: string;
50419
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
50420
+ }[] | undefined;
50421
+ expects?: ({
50422
+ kind: "identity";
50423
+ name?: string | undefined;
50424
+ shape?: EntityField[] | undefined;
50425
+ } | {
50426
+ kind: "entity";
50427
+ name: string;
50428
+ shape?: EntityField[] | undefined;
50429
+ } | {
50430
+ event: string;
50431
+ kind: "event";
50432
+ traitName: string;
50433
+ } | {
50434
+ path: string;
50435
+ kind: "page";
50436
+ })[] | undefined;
49507
50437
  services?: (string | {
49508
50438
  type: "rest";
49509
50439
  name: string;
@@ -49546,28 +50476,6 @@ declare const OrbitalUnitSchema: z.ZodObject<{
49546
50476
  headers?: Record<string, string> | undefined;
49547
50477
  serverPath?: string | undefined;
49548
50478
  })[] | undefined;
49549
- types?: Record<string, EventPayloadField[]> | undefined;
49550
- uses?: {
49551
- from: string;
49552
- as: string;
49553
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
49554
- }[] | undefined;
49555
- expects?: ({
49556
- kind: "identity";
49557
- name?: string | undefined;
49558
- shape?: EntityField[] | undefined;
49559
- } | {
49560
- kind: "entity";
49561
- name: string;
49562
- shape?: EntityField[] | undefined;
49563
- } | {
49564
- event: string;
49565
- kind: "event";
49566
- traitName: string;
49567
- } | {
49568
- path: string;
49569
- kind: "page";
49570
- })[] | undefined;
49571
50479
  auxiliaryEntities?: (string | {
49572
50480
  name: string;
49573
50481
  persistence: "persistent" | "runtime";
@@ -49847,6 +50755,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
49847
50755
  guard?: SExpr | undefined;
49848
50756
  priority?: number | undefined;
49849
50757
  appliesTo?: string[] | undefined;
50758
+ runsInBackground?: boolean | undefined;
49850
50759
  pageIds?: string[] | undefined;
49851
50760
  emitIds?: string[] | undefined;
49852
50761
  }[] | undefined;
@@ -50070,6 +50979,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
50070
50979
  guard?: SExpr | undefined;
50071
50980
  priority?: number | undefined;
50072
50981
  appliesTo?: string[] | undefined;
50982
+ runsInBackground?: boolean | undefined;
50073
50983
  pageIds?: string[] | undefined;
50074
50984
  emitIds?: string[] | undefined;
50075
50985
  }[] | undefined;
@@ -50262,6 +51172,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
50262
51172
  guard?: SExpr | undefined;
50263
51173
  priority?: number | undefined;
50264
51174
  appliesTo?: string[] | undefined;
51175
+ runsInBackground?: boolean | undefined;
50265
51176
  pageIds?: string[] | undefined;
50266
51177
  emitIds?: string[] | undefined;
50267
51178
  }[] | undefined;
@@ -50485,6 +51396,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
50485
51396
  guard?: SExpr | undefined;
50486
51397
  priority?: number | undefined;
50487
51398
  appliesTo?: string[] | undefined;
51399
+ runsInBackground?: boolean | undefined;
50488
51400
  pageIds?: string[] | undefined;
50489
51401
  emitIds?: string[] | undefined;
50490
51402
  }[] | undefined;
@@ -50926,6 +51838,32 @@ declare const OrbitalUnitSchema: z.ZodObject<{
50926
51838
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
50927
51839
  pages?: Record<string, string> | undefined;
50928
51840
  fields?: Record<string, string> | undefined;
51841
+ listens?: {
51842
+ trait: string;
51843
+ event: string;
51844
+ triggers: string;
51845
+ description?: string | undefined;
51846
+ synonyms?: string | undefined;
51847
+ source?: {
51848
+ kind: "any";
51849
+ } | {
51850
+ trait: string;
51851
+ kind: "trait";
51852
+ traitId?: string | undefined;
51853
+ } | {
51854
+ orbital: string;
51855
+ trait: string;
51856
+ kind: "orbital";
51857
+ traitId?: string | undefined;
51858
+ orbitalId?: string | undefined;
51859
+ } | undefined;
51860
+ guard?: SExpr | undefined;
51861
+ eventId?: string | undefined;
51862
+ scope?: "internal" | "external" | undefined;
51863
+ tier?: string | undefined;
51864
+ triggersId?: string | undefined;
51865
+ payloadMapping?: Record<string, SExpr> | undefined;
51866
+ }[] | undefined;
50929
51867
  events?: Record<string, string> | undefined;
50930
51868
  roles?: Record<string, string[]> | undefined;
50931
51869
  refId?: string | undefined;
@@ -50955,6 +51893,28 @@ declare const OrbitalUnitSchema: z.ZodObject<{
50955
51893
  guard?: SExpr | undefined;
50956
51894
  payloadMapping?: Record<string, SExpr> | undefined;
50957
51895
  }[] | undefined;
51896
+ types?: Record<string, EventPayloadField[]> | undefined;
51897
+ uses?: {
51898
+ from: string;
51899
+ as: string;
51900
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
51901
+ }[] | undefined;
51902
+ expects?: ({
51903
+ kind: "identity";
51904
+ name?: string | undefined;
51905
+ shape?: unknown[] | undefined;
51906
+ } | {
51907
+ kind: "entity";
51908
+ name: string;
51909
+ shape?: unknown[] | undefined;
51910
+ } | {
51911
+ event: string;
51912
+ kind: "event";
51913
+ traitName: string;
51914
+ } | {
51915
+ path: string;
51916
+ kind: "page";
51917
+ })[] | undefined;
50958
51918
  services?: (string | {
50959
51919
  type: "rest";
50960
51920
  name: string;
@@ -50997,28 +51957,6 @@ declare const OrbitalUnitSchema: z.ZodObject<{
50997
51957
  headers?: Record<string, string> | undefined;
50998
51958
  serverPath?: string | undefined;
50999
51959
  })[] | undefined;
51000
- types?: Record<string, EventPayloadField[]> | undefined;
51001
- uses?: {
51002
- from: string;
51003
- as: string;
51004
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
51005
- }[] | undefined;
51006
- expects?: ({
51007
- kind: "identity";
51008
- name?: string | undefined;
51009
- shape?: unknown[] | undefined;
51010
- } | {
51011
- kind: "entity";
51012
- name: string;
51013
- shape?: unknown[] | undefined;
51014
- } | {
51015
- event: string;
51016
- kind: "event";
51017
- traitName: string;
51018
- } | {
51019
- path: string;
51020
- kind: "page";
51021
- })[] | undefined;
51022
51960
  auxiliaryEntities?: (string | {
51023
51961
  name: string;
51024
51962
  fields: unknown[];
@@ -54799,13 +55737,13 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
54799
55737
  props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
54800
55738
  }, "strip", z.ZodTypeAny, {
54801
55739
  type: "custom";
54802
- component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "footer" | "main" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
55740
+ component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
54803
55741
  className: string;
54804
55742
  slots?: string[] | undefined;
54805
55743
  props?: string[] | undefined;
54806
55744
  }, {
54807
55745
  type: "custom";
54808
- component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "footer" | "main" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
55746
+ component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
54809
55747
  className: string;
54810
55748
  slots?: string[] | undefined;
54811
55749
  props?: string[] | undefined;
@@ -59014,6 +59952,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
59014
59952
  priority: z.ZodOptional<z.ZodNumber>;
59015
59953
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
59016
59954
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
59955
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
59017
59956
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
59018
59957
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
59019
59958
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -59030,6 +59969,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
59030
59969
  guard?: SExpr | undefined;
59031
59970
  priority?: number | undefined;
59032
59971
  appliesTo?: string[] | undefined;
59972
+ runsInBackground?: boolean | undefined;
59033
59973
  pageIds?: PageId[] | undefined;
59034
59974
  emitIds?: EventId[] | undefined;
59035
59975
  }, {
@@ -59042,6 +59982,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
59042
59982
  guard?: SExpr | undefined;
59043
59983
  priority?: number | undefined;
59044
59984
  appliesTo?: string[] | undefined;
59985
+ runsInBackground?: boolean | undefined;
59045
59986
  pageIds?: string[] | undefined;
59046
59987
  emitIds?: string[] | undefined;
59047
59988
  }>, "many">>;
@@ -59515,6 +60456,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
59515
60456
  guard?: SExpr | undefined;
59516
60457
  priority?: number | undefined;
59517
60458
  appliesTo?: string[] | undefined;
60459
+ runsInBackground?: boolean | undefined;
59518
60460
  pageIds?: PageId[] | undefined;
59519
60461
  emitIds?: EventId[] | undefined;
59520
60462
  }[] | undefined;
@@ -59699,6 +60641,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
59699
60641
  guard?: SExpr | undefined;
59700
60642
  priority?: number | undefined;
59701
60643
  appliesTo?: string[] | undefined;
60644
+ runsInBackground?: boolean | undefined;
59702
60645
  pageIds?: string[] | undefined;
59703
60646
  emitIds?: string[] | undefined;
59704
60647
  }[] | undefined;
@@ -60026,6 +60969,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
60026
60969
  guard?: SExpr | undefined;
60027
60970
  priority?: number | undefined;
60028
60971
  appliesTo?: string[] | undefined;
60972
+ runsInBackground?: boolean | undefined;
60029
60973
  pageIds?: PageId[] | undefined;
60030
60974
  emitIds?: EventId[] | undefined;
60031
60975
  }[] | undefined;
@@ -60252,6 +61196,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
60252
61196
  guard?: SExpr | undefined;
60253
61197
  priority?: number | undefined;
60254
61198
  appliesTo?: string[] | undefined;
61199
+ runsInBackground?: boolean | undefined;
60255
61200
  pageIds?: string[] | undefined;
60256
61201
  emitIds?: string[] | undefined;
60257
61202
  }[] | undefined;
@@ -60478,6 +61423,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
60478
61423
  guard?: SExpr | undefined;
60479
61424
  priority?: number | undefined;
60480
61425
  appliesTo?: string[] | undefined;
61426
+ runsInBackground?: boolean | undefined;
60481
61427
  pageIds?: PageId[] | undefined;
60482
61428
  emitIds?: EventId[] | undefined;
60483
61429
  }[] | undefined;
@@ -60704,6 +61650,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
60704
61650
  guard?: SExpr | undefined;
60705
61651
  priority?: number | undefined;
60706
61652
  appliesTo?: string[] | undefined;
61653
+ runsInBackground?: boolean | undefined;
60707
61654
  pageIds?: string[] | undefined;
60708
61655
  emitIds?: string[] | undefined;
60709
61656
  }[] | undefined;
@@ -61010,6 +61957,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
61010
61957
  priority: z.ZodOptional<z.ZodNumber>;
61011
61958
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
61012
61959
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
61960
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
61013
61961
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
61014
61962
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
61015
61963
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -61026,6 +61974,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
61026
61974
  guard?: SExpr | undefined;
61027
61975
  priority?: number | undefined;
61028
61976
  appliesTo?: string[] | undefined;
61977
+ runsInBackground?: boolean | undefined;
61029
61978
  pageIds?: PageId[] | undefined;
61030
61979
  emitIds?: EventId[] | undefined;
61031
61980
  }, {
@@ -61038,6 +61987,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
61038
61987
  guard?: SExpr | undefined;
61039
61988
  priority?: number | undefined;
61040
61989
  appliesTo?: string[] | undefined;
61990
+ runsInBackground?: boolean | undefined;
61041
61991
  pageIds?: string[] | undefined;
61042
61992
  emitIds?: string[] | undefined;
61043
61993
  }>, "many">>;
@@ -61511,6 +62461,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
61511
62461
  guard?: SExpr | undefined;
61512
62462
  priority?: number | undefined;
61513
62463
  appliesTo?: string[] | undefined;
62464
+ runsInBackground?: boolean | undefined;
61514
62465
  pageIds?: PageId[] | undefined;
61515
62466
  emitIds?: EventId[] | undefined;
61516
62467
  }[] | undefined;
@@ -61695,6 +62646,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
61695
62646
  guard?: SExpr | undefined;
61696
62647
  priority?: number | undefined;
61697
62648
  appliesTo?: string[] | undefined;
62649
+ runsInBackground?: boolean | undefined;
61698
62650
  pageIds?: string[] | undefined;
61699
62651
  emitIds?: string[] | undefined;
61700
62652
  }[] | undefined;
@@ -62079,6 +63031,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
62079
63031
  priority: z.ZodOptional<z.ZodNumber>;
62080
63032
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
62081
63033
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
63034
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
62082
63035
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62083
63036
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
62084
63037
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -62095,6 +63048,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
62095
63048
  guard?: SExpr | undefined;
62096
63049
  priority?: number | undefined;
62097
63050
  appliesTo?: string[] | undefined;
63051
+ runsInBackground?: boolean | undefined;
62098
63052
  pageIds?: PageId[] | undefined;
62099
63053
  emitIds?: EventId[] | undefined;
62100
63054
  }, {
@@ -62107,6 +63061,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
62107
63061
  guard?: SExpr | undefined;
62108
63062
  priority?: number | undefined;
62109
63063
  appliesTo?: string[] | undefined;
63064
+ runsInBackground?: boolean | undefined;
62110
63065
  pageIds?: string[] | undefined;
62111
63066
  emitIds?: string[] | undefined;
62112
63067
  }>, "many">>;
@@ -62580,6 +63535,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
62580
63535
  guard?: SExpr | undefined;
62581
63536
  priority?: number | undefined;
62582
63537
  appliesTo?: string[] | undefined;
63538
+ runsInBackground?: boolean | undefined;
62583
63539
  pageIds?: PageId[] | undefined;
62584
63540
  emitIds?: EventId[] | undefined;
62585
63541
  }[] | undefined;
@@ -62764,6 +63720,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
62764
63720
  guard?: SExpr | undefined;
62765
63721
  priority?: number | undefined;
62766
63722
  appliesTo?: string[] | undefined;
63723
+ runsInBackground?: boolean | undefined;
62767
63724
  pageIds?: string[] | undefined;
62768
63725
  emitIds?: string[] | undefined;
62769
63726
  }[] | undefined;
@@ -63091,6 +64048,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
63091
64048
  guard?: SExpr | undefined;
63092
64049
  priority?: number | undefined;
63093
64050
  appliesTo?: string[] | undefined;
64051
+ runsInBackground?: boolean | undefined;
63094
64052
  pageIds?: PageId[] | undefined;
63095
64053
  emitIds?: EventId[] | undefined;
63096
64054
  }[] | undefined;
@@ -63317,6 +64275,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
63317
64275
  guard?: SExpr | undefined;
63318
64276
  priority?: number | undefined;
63319
64277
  appliesTo?: string[] | undefined;
64278
+ runsInBackground?: boolean | undefined;
63320
64279
  pageIds?: string[] | undefined;
63321
64280
  emitIds?: string[] | undefined;
63322
64281
  }[] | undefined;
@@ -63543,6 +64502,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
63543
64502
  guard?: SExpr | undefined;
63544
64503
  priority?: number | undefined;
63545
64504
  appliesTo?: string[] | undefined;
64505
+ runsInBackground?: boolean | undefined;
63546
64506
  pageIds?: PageId[] | undefined;
63547
64507
  emitIds?: EventId[] | undefined;
63548
64508
  }[] | undefined;
@@ -63769,6 +64729,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
63769
64729
  guard?: SExpr | undefined;
63770
64730
  priority?: number | undefined;
63771
64731
  appliesTo?: string[] | undefined;
64732
+ runsInBackground?: boolean | undefined;
63772
64733
  pageIds?: string[] | undefined;
63773
64734
  emitIds?: string[] | undefined;
63774
64735
  }[] | undefined;
@@ -64075,6 +65036,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
64075
65036
  priority: z.ZodOptional<z.ZodNumber>;
64076
65037
  interval: z.ZodUnion<[z.ZodLiteral<"frame">, z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
64077
65038
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
65039
+ runsInBackground: z.ZodOptional<z.ZodBoolean>;
64078
65040
  pages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
64079
65041
  pageIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PageId, string>, "many">>;
64080
65042
  guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
@@ -64091,6 +65053,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
64091
65053
  guard?: SExpr | undefined;
64092
65054
  priority?: number | undefined;
64093
65055
  appliesTo?: string[] | undefined;
65056
+ runsInBackground?: boolean | undefined;
64094
65057
  pageIds?: PageId[] | undefined;
64095
65058
  emitIds?: EventId[] | undefined;
64096
65059
  }, {
@@ -64103,6 +65066,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
64103
65066
  guard?: SExpr | undefined;
64104
65067
  priority?: number | undefined;
64105
65068
  appliesTo?: string[] | undefined;
65069
+ runsInBackground?: boolean | undefined;
64106
65070
  pageIds?: string[] | undefined;
64107
65071
  emitIds?: string[] | undefined;
64108
65072
  }>, "many">>;
@@ -64576,6 +65540,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
64576
65540
  guard?: SExpr | undefined;
64577
65541
  priority?: number | undefined;
64578
65542
  appliesTo?: string[] | undefined;
65543
+ runsInBackground?: boolean | undefined;
64579
65544
  pageIds?: PageId[] | undefined;
64580
65545
  emitIds?: EventId[] | undefined;
64581
65546
  }[] | undefined;
@@ -64760,6 +65725,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
64760
65725
  guard?: SExpr | undefined;
64761
65726
  priority?: number | undefined;
64762
65727
  appliesTo?: string[] | undefined;
65728
+ runsInBackground?: boolean | undefined;
64763
65729
  pageIds?: string[] | undefined;
64764
65730
  emitIds?: string[] | undefined;
64765
65731
  }[] | undefined;
@@ -64951,6 +65917,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
64951
65917
  guard?: SExpr | undefined;
64952
65918
  priority?: number | undefined;
64953
65919
  appliesTo?: string[] | undefined;
65920
+ runsInBackground?: boolean | undefined;
64954
65921
  pageIds?: PageId[] | undefined;
64955
65922
  emitIds?: EventId[] | undefined;
64956
65923
  }[] | undefined;
@@ -65174,6 +66141,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
65174
66141
  guard?: SExpr | undefined;
65175
66142
  priority?: number | undefined;
65176
66143
  appliesTo?: string[] | undefined;
66144
+ runsInBackground?: boolean | undefined;
65177
66145
  pageIds?: PageId[] | undefined;
65178
66146
  emitIds?: EventId[] | undefined;
65179
66147
  }[] | undefined;
@@ -65370,6 +66338,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
65370
66338
  guard?: SExpr | undefined;
65371
66339
  priority?: number | undefined;
65372
66340
  appliesTo?: string[] | undefined;
66341
+ runsInBackground?: boolean | undefined;
65373
66342
  pageIds?: string[] | undefined;
65374
66343
  emitIds?: string[] | undefined;
65375
66344
  }[] | undefined;
@@ -65593,6 +66562,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
65593
66562
  guard?: SExpr | undefined;
65594
66563
  priority?: number | undefined;
65595
66564
  appliesTo?: string[] | undefined;
66565
+ runsInBackground?: boolean | undefined;
65596
66566
  pageIds?: string[] | undefined;
65597
66567
  emitIds?: string[] | undefined;
65598
66568
  }[] | undefined;
@@ -65737,6 +66707,107 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
65737
66707
  entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
65738
66708
  mounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
65739
66709
  extend: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
66710
+ listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
66711
+ event: z.ZodString;
66712
+ eventId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
66713
+ triggers: z.ZodString;
66714
+ triggersId: z.ZodOptional<z.ZodEffects<z.ZodString, EventId, string>>;
66715
+ description: z.ZodOptional<z.ZodString>;
66716
+ synonyms: z.ZodOptional<z.ZodString>;
66717
+ tier: z.ZodOptional<z.ZodString>;
66718
+ guard: z.ZodOptional<z.ZodType<SExpr, z.ZodTypeDef, SExpr>>;
66719
+ scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
66720
+ payloadMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SExpr, z.ZodTypeDef, SExpr>>>;
66721
+ source: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
66722
+ kind: z.ZodLiteral<"any">;
66723
+ }, "strip", z.ZodTypeAny, {
66724
+ kind: "any";
66725
+ }, {
66726
+ kind: "any";
66727
+ }>, z.ZodObject<{
66728
+ kind: z.ZodLiteral<"trait">;
66729
+ trait: z.ZodString;
66730
+ traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
66731
+ }, "strip", z.ZodTypeAny, {
66732
+ trait: string;
66733
+ kind: "trait";
66734
+ traitId?: TraitId | undefined;
66735
+ }, {
66736
+ trait: string;
66737
+ kind: "trait";
66738
+ traitId?: string | undefined;
66739
+ }>, z.ZodObject<{
66740
+ kind: z.ZodLiteral<"orbital">;
66741
+ orbital: z.ZodString;
66742
+ trait: z.ZodString;
66743
+ orbitalId: z.ZodOptional<z.ZodEffects<z.ZodString, OrbitalId, string>>;
66744
+ traitId: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
66745
+ }, "strip", z.ZodTypeAny, {
66746
+ orbital: string;
66747
+ trait: string;
66748
+ kind: "orbital";
66749
+ traitId?: TraitId | undefined;
66750
+ orbitalId?: OrbitalId | undefined;
66751
+ }, {
66752
+ orbital: string;
66753
+ trait: string;
66754
+ kind: "orbital";
66755
+ traitId?: string | undefined;
66756
+ orbitalId?: string | undefined;
66757
+ }>]>>;
66758
+ } & {
66759
+ trait: z.ZodString;
66760
+ }, "strip", z.ZodTypeAny, {
66761
+ trait: string;
66762
+ event: string;
66763
+ triggers: string;
66764
+ description?: string | undefined;
66765
+ synonyms?: string | undefined;
66766
+ source?: {
66767
+ kind: "any";
66768
+ } | {
66769
+ trait: string;
66770
+ kind: "trait";
66771
+ traitId?: TraitId | undefined;
66772
+ } | {
66773
+ orbital: string;
66774
+ trait: string;
66775
+ kind: "orbital";
66776
+ traitId?: TraitId | undefined;
66777
+ orbitalId?: OrbitalId | undefined;
66778
+ } | undefined;
66779
+ guard?: SExpr | undefined;
66780
+ eventId?: EventId | undefined;
66781
+ scope?: "internal" | "external" | undefined;
66782
+ tier?: string | undefined;
66783
+ triggersId?: EventId | undefined;
66784
+ payloadMapping?: Record<string, SExpr> | undefined;
66785
+ }, {
66786
+ trait: string;
66787
+ event: string;
66788
+ triggers: string;
66789
+ description?: string | undefined;
66790
+ synonyms?: string | undefined;
66791
+ source?: {
66792
+ kind: "any";
66793
+ } | {
66794
+ trait: string;
66795
+ kind: "trait";
66796
+ traitId?: string | undefined;
66797
+ } | {
66798
+ orbital: string;
66799
+ trait: string;
66800
+ kind: "orbital";
66801
+ traitId?: string | undefined;
66802
+ orbitalId?: string | undefined;
66803
+ } | undefined;
66804
+ guard?: SExpr | undefined;
66805
+ eventId?: string | undefined;
66806
+ scope?: "internal" | "external" | undefined;
66807
+ tier?: string | undefined;
66808
+ triggersId?: string | undefined;
66809
+ payloadMapping?: Record<string, SExpr> | undefined;
66810
+ }>, "many">>;
65740
66811
  }, "strip", z.ZodTypeAny, {
65741
66812
  ref: string;
65742
66813
  entity?: string | undefined;
@@ -65745,6 +66816,32 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
65745
66816
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
65746
66817
  pages?: Record<string, string> | undefined;
65747
66818
  fields?: Record<string, string> | undefined;
66819
+ listens?: {
66820
+ trait: string;
66821
+ event: string;
66822
+ triggers: string;
66823
+ description?: string | undefined;
66824
+ synonyms?: string | undefined;
66825
+ source?: {
66826
+ kind: "any";
66827
+ } | {
66828
+ trait: string;
66829
+ kind: "trait";
66830
+ traitId?: TraitId | undefined;
66831
+ } | {
66832
+ orbital: string;
66833
+ trait: string;
66834
+ kind: "orbital";
66835
+ traitId?: TraitId | undefined;
66836
+ orbitalId?: OrbitalId | undefined;
66837
+ } | undefined;
66838
+ guard?: SExpr | undefined;
66839
+ eventId?: EventId | undefined;
66840
+ scope?: "internal" | "external" | undefined;
66841
+ tier?: string | undefined;
66842
+ triggersId?: EventId | undefined;
66843
+ payloadMapping?: Record<string, SExpr> | undefined;
66844
+ }[] | undefined;
65748
66845
  events?: Record<string, string> | undefined;
65749
66846
  roles?: Record<string, string[]> | undefined;
65750
66847
  refId?: OrbitalId | undefined;
@@ -65759,6 +66856,32 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
65759
66856
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
65760
66857
  pages?: Record<string, string> | undefined;
65761
66858
  fields?: Record<string, string> | undefined;
66859
+ listens?: {
66860
+ trait: string;
66861
+ event: string;
66862
+ triggers: string;
66863
+ description?: string | undefined;
66864
+ synonyms?: string | undefined;
66865
+ source?: {
66866
+ kind: "any";
66867
+ } | {
66868
+ trait: string;
66869
+ kind: "trait";
66870
+ traitId?: string | undefined;
66871
+ } | {
66872
+ orbital: string;
66873
+ trait: string;
66874
+ kind: "orbital";
66875
+ traitId?: string | undefined;
66876
+ orbitalId?: string | undefined;
66877
+ } | undefined;
66878
+ guard?: SExpr | undefined;
66879
+ eventId?: string | undefined;
66880
+ scope?: "internal" | "external" | undefined;
66881
+ tier?: string | undefined;
66882
+ triggersId?: string | undefined;
66883
+ payloadMapping?: Record<string, SExpr> | undefined;
66884
+ }[] | undefined;
65762
66885
  events?: Record<string, string> | undefined;
65763
66886
  roles?: Record<string, string[]> | undefined;
65764
66887
  refId?: string | undefined;
@@ -66104,6 +67227,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
66104
67227
  guard?: SExpr | undefined;
66105
67228
  priority?: number | undefined;
66106
67229
  appliesTo?: string[] | undefined;
67230
+ runsInBackground?: boolean | undefined;
66107
67231
  pageIds?: PageId[] | undefined;
66108
67232
  emitIds?: EventId[] | undefined;
66109
67233
  }[] | undefined;
@@ -66327,6 +67451,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
66327
67451
  guard?: SExpr | undefined;
66328
67452
  priority?: number | undefined;
66329
67453
  appliesTo?: string[] | undefined;
67454
+ runsInBackground?: boolean | undefined;
66330
67455
  pageIds?: PageId[] | undefined;
66331
67456
  emitIds?: EventId[] | undefined;
66332
67457
  }[] | undefined;
@@ -66519,6 +67644,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
66519
67644
  guard?: SExpr | undefined;
66520
67645
  priority?: number | undefined;
66521
67646
  appliesTo?: string[] | undefined;
67647
+ runsInBackground?: boolean | undefined;
66522
67648
  pageIds?: PageId[] | undefined;
66523
67649
  emitIds?: EventId[] | undefined;
66524
67650
  }[] | undefined;
@@ -66742,6 +67868,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
66742
67868
  guard?: SExpr | undefined;
66743
67869
  priority?: number | undefined;
66744
67870
  appliesTo?: string[] | undefined;
67871
+ runsInBackground?: boolean | undefined;
66745
67872
  pageIds?: PageId[] | undefined;
66746
67873
  emitIds?: EventId[] | undefined;
66747
67874
  }[] | undefined;
@@ -67183,6 +68310,32 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
67183
68310
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
67184
68311
  pages?: Record<string, string> | undefined;
67185
68312
  fields?: Record<string, string> | undefined;
68313
+ listens?: {
68314
+ trait: string;
68315
+ event: string;
68316
+ triggers: string;
68317
+ description?: string | undefined;
68318
+ synonyms?: string | undefined;
68319
+ source?: {
68320
+ kind: "any";
68321
+ } | {
68322
+ trait: string;
68323
+ kind: "trait";
68324
+ traitId?: TraitId | undefined;
68325
+ } | {
68326
+ orbital: string;
68327
+ trait: string;
68328
+ kind: "orbital";
68329
+ traitId?: TraitId | undefined;
68330
+ orbitalId?: OrbitalId | undefined;
68331
+ } | undefined;
68332
+ guard?: SExpr | undefined;
68333
+ eventId?: EventId | undefined;
68334
+ scope?: "internal" | "external" | undefined;
68335
+ tier?: string | undefined;
68336
+ triggersId?: EventId | undefined;
68337
+ payloadMapping?: Record<string, SExpr> | undefined;
68338
+ }[] | undefined;
67186
68339
  events?: Record<string, string> | undefined;
67187
68340
  roles?: Record<string, string[]> | undefined;
67188
68341
  refId?: OrbitalId | undefined;
@@ -67212,6 +68365,28 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
67212
68365
  guard?: SExpr | undefined;
67213
68366
  payloadMapping?: Record<string, SExpr> | undefined;
67214
68367
  }[] | undefined;
68368
+ types?: Record<string, EventPayloadField[]> | undefined;
68369
+ uses?: {
68370
+ from: string;
68371
+ as: string;
68372
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
68373
+ }[] | undefined;
68374
+ expects?: ({
68375
+ kind: "identity";
68376
+ name?: string | undefined;
68377
+ shape?: EntityField[] | undefined;
68378
+ } | {
68379
+ kind: "entity";
68380
+ name: string;
68381
+ shape?: EntityField[] | undefined;
68382
+ } | {
68383
+ event: string;
68384
+ kind: "event";
68385
+ traitName: string;
68386
+ } | {
68387
+ path: string;
68388
+ kind: "page";
68389
+ })[] | undefined;
67215
68390
  services?: (string | {
67216
68391
  type: "rest";
67217
68392
  name: string;
@@ -67254,28 +68429,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
67254
68429
  headers?: Record<string, string> | undefined;
67255
68430
  serverPath?: string | undefined;
67256
68431
  })[] | undefined;
67257
- types?: Record<string, EventPayloadField[]> | undefined;
67258
- uses?: {
67259
- from: string;
67260
- as: string;
67261
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
67262
- }[] | undefined;
67263
- expects?: ({
67264
- kind: "identity";
67265
- name?: string | undefined;
67266
- shape?: EntityField[] | undefined;
67267
- } | {
67268
- kind: "entity";
67269
- name: string;
67270
- shape?: EntityField[] | undefined;
67271
- } | {
67272
- event: string;
67273
- kind: "event";
67274
- traitName: string;
67275
- } | {
67276
- path: string;
67277
- kind: "page";
67278
- })[] | undefined;
67279
68432
  auxiliaryEntities?: (string | {
67280
68433
  name: string;
67281
68434
  persistence: "persistent" | "runtime";
@@ -67555,6 +68708,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
67555
68708
  guard?: SExpr | undefined;
67556
68709
  priority?: number | undefined;
67557
68710
  appliesTo?: string[] | undefined;
68711
+ runsInBackground?: boolean | undefined;
67558
68712
  pageIds?: string[] | undefined;
67559
68713
  emitIds?: string[] | undefined;
67560
68714
  }[] | undefined;
@@ -67778,6 +68932,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
67778
68932
  guard?: SExpr | undefined;
67779
68933
  priority?: number | undefined;
67780
68934
  appliesTo?: string[] | undefined;
68935
+ runsInBackground?: boolean | undefined;
67781
68936
  pageIds?: string[] | undefined;
67782
68937
  emitIds?: string[] | undefined;
67783
68938
  }[] | undefined;
@@ -67970,6 +69125,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
67970
69125
  guard?: SExpr | undefined;
67971
69126
  priority?: number | undefined;
67972
69127
  appliesTo?: string[] | undefined;
69128
+ runsInBackground?: boolean | undefined;
67973
69129
  pageIds?: string[] | undefined;
67974
69130
  emitIds?: string[] | undefined;
67975
69131
  }[] | undefined;
@@ -68193,6 +69349,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
68193
69349
  guard?: SExpr | undefined;
68194
69350
  priority?: number | undefined;
68195
69351
  appliesTo?: string[] | undefined;
69352
+ runsInBackground?: boolean | undefined;
68196
69353
  pageIds?: string[] | undefined;
68197
69354
  emitIds?: string[] | undefined;
68198
69355
  }[] | undefined;
@@ -68634,6 +69791,32 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
68634
69791
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
68635
69792
  pages?: Record<string, string> | undefined;
68636
69793
  fields?: Record<string, string> | undefined;
69794
+ listens?: {
69795
+ trait: string;
69796
+ event: string;
69797
+ triggers: string;
69798
+ description?: string | undefined;
69799
+ synonyms?: string | undefined;
69800
+ source?: {
69801
+ kind: "any";
69802
+ } | {
69803
+ trait: string;
69804
+ kind: "trait";
69805
+ traitId?: string | undefined;
69806
+ } | {
69807
+ orbital: string;
69808
+ trait: string;
69809
+ kind: "orbital";
69810
+ traitId?: string | undefined;
69811
+ orbitalId?: string | undefined;
69812
+ } | undefined;
69813
+ guard?: SExpr | undefined;
69814
+ eventId?: string | undefined;
69815
+ scope?: "internal" | "external" | undefined;
69816
+ tier?: string | undefined;
69817
+ triggersId?: string | undefined;
69818
+ payloadMapping?: Record<string, SExpr> | undefined;
69819
+ }[] | undefined;
68637
69820
  events?: Record<string, string> | undefined;
68638
69821
  roles?: Record<string, string[]> | undefined;
68639
69822
  refId?: string | undefined;
@@ -68663,6 +69846,28 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
68663
69846
  guard?: SExpr | undefined;
68664
69847
  payloadMapping?: Record<string, SExpr> | undefined;
68665
69848
  }[] | undefined;
69849
+ types?: Record<string, EventPayloadField[]> | undefined;
69850
+ uses?: {
69851
+ from: string;
69852
+ as: string;
69853
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
69854
+ }[] | undefined;
69855
+ expects?: ({
69856
+ kind: "identity";
69857
+ name?: string | undefined;
69858
+ shape?: unknown[] | undefined;
69859
+ } | {
69860
+ kind: "entity";
69861
+ name: string;
69862
+ shape?: unknown[] | undefined;
69863
+ } | {
69864
+ event: string;
69865
+ kind: "event";
69866
+ traitName: string;
69867
+ } | {
69868
+ path: string;
69869
+ kind: "page";
69870
+ })[] | undefined;
68666
69871
  services?: (string | {
68667
69872
  type: "rest";
68668
69873
  name: string;
@@ -68705,28 +69910,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
68705
69910
  headers?: Record<string, string> | undefined;
68706
69911
  serverPath?: string | undefined;
68707
69912
  })[] | undefined;
68708
- types?: Record<string, EventPayloadField[]> | undefined;
68709
- uses?: {
68710
- from: string;
68711
- as: string;
68712
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
68713
- }[] | undefined;
68714
- expects?: ({
68715
- kind: "identity";
68716
- name?: string | undefined;
68717
- shape?: unknown[] | undefined;
68718
- } | {
68719
- kind: "entity";
68720
- name: string;
68721
- shape?: unknown[] | undefined;
68722
- } | {
68723
- event: string;
68724
- kind: "event";
68725
- traitName: string;
68726
- } | {
68727
- path: string;
68728
- kind: "page";
68729
- })[] | undefined;
68730
69913
  auxiliaryEntities?: (string | {
68731
69914
  name: string;
68732
69915
  fields: unknown[];
@@ -69260,6 +70443,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
69260
70443
  guard?: SExpr | undefined;
69261
70444
  priority?: number | undefined;
69262
70445
  appliesTo?: string[] | undefined;
70446
+ runsInBackground?: boolean | undefined;
69263
70447
  pageIds?: PageId[] | undefined;
69264
70448
  emitIds?: EventId[] | undefined;
69265
70449
  }[] | undefined;
@@ -69483,6 +70667,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
69483
70667
  guard?: SExpr | undefined;
69484
70668
  priority?: number | undefined;
69485
70669
  appliesTo?: string[] | undefined;
70670
+ runsInBackground?: boolean | undefined;
69486
70671
  pageIds?: PageId[] | undefined;
69487
70672
  emitIds?: EventId[] | undefined;
69488
70673
  }[] | undefined;
@@ -69675,6 +70860,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
69675
70860
  guard?: SExpr | undefined;
69676
70861
  priority?: number | undefined;
69677
70862
  appliesTo?: string[] | undefined;
70863
+ runsInBackground?: boolean | undefined;
69678
70864
  pageIds?: PageId[] | undefined;
69679
70865
  emitIds?: EventId[] | undefined;
69680
70866
  }[] | undefined;
@@ -69898,6 +71084,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
69898
71084
  guard?: SExpr | undefined;
69899
71085
  priority?: number | undefined;
69900
71086
  appliesTo?: string[] | undefined;
71087
+ runsInBackground?: boolean | undefined;
69901
71088
  pageIds?: PageId[] | undefined;
69902
71089
  emitIds?: EventId[] | undefined;
69903
71090
  }[] | undefined;
@@ -70339,6 +71526,32 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
70339
71526
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
70340
71527
  pages?: Record<string, string> | undefined;
70341
71528
  fields?: Record<string, string> | undefined;
71529
+ listens?: {
71530
+ trait: string;
71531
+ event: string;
71532
+ triggers: string;
71533
+ description?: string | undefined;
71534
+ synonyms?: string | undefined;
71535
+ source?: {
71536
+ kind: "any";
71537
+ } | {
71538
+ trait: string;
71539
+ kind: "trait";
71540
+ traitId?: TraitId | undefined;
71541
+ } | {
71542
+ orbital: string;
71543
+ trait: string;
71544
+ kind: "orbital";
71545
+ traitId?: TraitId | undefined;
71546
+ orbitalId?: OrbitalId | undefined;
71547
+ } | undefined;
71548
+ guard?: SExpr | undefined;
71549
+ eventId?: EventId | undefined;
71550
+ scope?: "internal" | "external" | undefined;
71551
+ tier?: string | undefined;
71552
+ triggersId?: EventId | undefined;
71553
+ payloadMapping?: Record<string, SExpr> | undefined;
71554
+ }[] | undefined;
70342
71555
  events?: Record<string, string> | undefined;
70343
71556
  roles?: Record<string, string[]> | undefined;
70344
71557
  refId?: OrbitalId | undefined;
@@ -70368,6 +71581,28 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
70368
71581
  guard?: SExpr | undefined;
70369
71582
  payloadMapping?: Record<string, SExpr> | undefined;
70370
71583
  }[] | undefined;
71584
+ types?: Record<string, EventPayloadField[]> | undefined;
71585
+ uses?: {
71586
+ from: string;
71587
+ as: string;
71588
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
71589
+ }[] | undefined;
71590
+ expects?: ({
71591
+ kind: "identity";
71592
+ name?: string | undefined;
71593
+ shape?: EntityField[] | undefined;
71594
+ } | {
71595
+ kind: "entity";
71596
+ name: string;
71597
+ shape?: EntityField[] | undefined;
71598
+ } | {
71599
+ event: string;
71600
+ kind: "event";
71601
+ traitName: string;
71602
+ } | {
71603
+ path: string;
71604
+ kind: "page";
71605
+ })[] | undefined;
70371
71606
  services?: (string | {
70372
71607
  type: "rest";
70373
71608
  name: string;
@@ -70410,28 +71645,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
70410
71645
  headers?: Record<string, string> | undefined;
70411
71646
  serverPath?: string | undefined;
70412
71647
  })[] | undefined;
70413
- types?: Record<string, EventPayloadField[]> | undefined;
70414
- uses?: {
70415
- from: string;
70416
- as: string;
70417
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
70418
- }[] | undefined;
70419
- expects?: ({
70420
- kind: "identity";
70421
- name?: string | undefined;
70422
- shape?: EntityField[] | undefined;
70423
- } | {
70424
- kind: "entity";
70425
- name: string;
70426
- shape?: EntityField[] | undefined;
70427
- } | {
70428
- event: string;
70429
- kind: "event";
70430
- traitName: string;
70431
- } | {
70432
- path: string;
70433
- kind: "page";
70434
- })[] | undefined;
70435
71648
  auxiliaryEntities?: (string | {
70436
71649
  name: string;
70437
71650
  persistence: "persistent" | "runtime";
@@ -70962,7 +72175,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
70962
72175
  designTokens?: Record<string, Record<string, string>> | undefined;
70963
72176
  customPatterns?: Record<string, {
70964
72177
  type: "custom";
70965
- component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "footer" | "main" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
72178
+ component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
70966
72179
  className: string;
70967
72180
  slots?: string[] | undefined;
70968
72181
  props?: string[] | undefined;
@@ -71202,6 +72415,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
71202
72415
  guard?: SExpr | undefined;
71203
72416
  priority?: number | undefined;
71204
72417
  appliesTo?: string[] | undefined;
72418
+ runsInBackground?: boolean | undefined;
71205
72419
  pageIds?: string[] | undefined;
71206
72420
  emitIds?: string[] | undefined;
71207
72421
  }[] | undefined;
@@ -71425,6 +72639,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
71425
72639
  guard?: SExpr | undefined;
71426
72640
  priority?: number | undefined;
71427
72641
  appliesTo?: string[] | undefined;
72642
+ runsInBackground?: boolean | undefined;
71428
72643
  pageIds?: string[] | undefined;
71429
72644
  emitIds?: string[] | undefined;
71430
72645
  }[] | undefined;
@@ -71617,6 +72832,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
71617
72832
  guard?: SExpr | undefined;
71618
72833
  priority?: number | undefined;
71619
72834
  appliesTo?: string[] | undefined;
72835
+ runsInBackground?: boolean | undefined;
71620
72836
  pageIds?: string[] | undefined;
71621
72837
  emitIds?: string[] | undefined;
71622
72838
  }[] | undefined;
@@ -71840,6 +73056,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
71840
73056
  guard?: SExpr | undefined;
71841
73057
  priority?: number | undefined;
71842
73058
  appliesTo?: string[] | undefined;
73059
+ runsInBackground?: boolean | undefined;
71843
73060
  pageIds?: string[] | undefined;
71844
73061
  emitIds?: string[] | undefined;
71845
73062
  }[] | undefined;
@@ -72281,6 +73498,32 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
72281
73498
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
72282
73499
  pages?: Record<string, string> | undefined;
72283
73500
  fields?: Record<string, string> | undefined;
73501
+ listens?: {
73502
+ trait: string;
73503
+ event: string;
73504
+ triggers: string;
73505
+ description?: string | undefined;
73506
+ synonyms?: string | undefined;
73507
+ source?: {
73508
+ kind: "any";
73509
+ } | {
73510
+ trait: string;
73511
+ kind: "trait";
73512
+ traitId?: string | undefined;
73513
+ } | {
73514
+ orbital: string;
73515
+ trait: string;
73516
+ kind: "orbital";
73517
+ traitId?: string | undefined;
73518
+ orbitalId?: string | undefined;
73519
+ } | undefined;
73520
+ guard?: SExpr | undefined;
73521
+ eventId?: string | undefined;
73522
+ scope?: "internal" | "external" | undefined;
73523
+ tier?: string | undefined;
73524
+ triggersId?: string | undefined;
73525
+ payloadMapping?: Record<string, SExpr> | undefined;
73526
+ }[] | undefined;
72284
73527
  events?: Record<string, string> | undefined;
72285
73528
  roles?: Record<string, string[]> | undefined;
72286
73529
  refId?: string | undefined;
@@ -72310,6 +73553,28 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
72310
73553
  guard?: SExpr | undefined;
72311
73554
  payloadMapping?: Record<string, SExpr> | undefined;
72312
73555
  }[] | undefined;
73556
+ types?: Record<string, EventPayloadField[]> | undefined;
73557
+ uses?: {
73558
+ from: string;
73559
+ as: string;
73560
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
73561
+ }[] | undefined;
73562
+ expects?: ({
73563
+ kind: "identity";
73564
+ name?: string | undefined;
73565
+ shape?: unknown[] | undefined;
73566
+ } | {
73567
+ kind: "entity";
73568
+ name: string;
73569
+ shape?: unknown[] | undefined;
73570
+ } | {
73571
+ event: string;
73572
+ kind: "event";
73573
+ traitName: string;
73574
+ } | {
73575
+ path: string;
73576
+ kind: "page";
73577
+ })[] | undefined;
72313
73578
  services?: (string | {
72314
73579
  type: "rest";
72315
73580
  name: string;
@@ -72352,28 +73617,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
72352
73617
  headers?: Record<string, string> | undefined;
72353
73618
  serverPath?: string | undefined;
72354
73619
  })[] | undefined;
72355
- types?: Record<string, EventPayloadField[]> | undefined;
72356
- uses?: {
72357
- from: string;
72358
- as: string;
72359
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
72360
- }[] | undefined;
72361
- expects?: ({
72362
- kind: "identity";
72363
- name?: string | undefined;
72364
- shape?: unknown[] | undefined;
72365
- } | {
72366
- kind: "entity";
72367
- name: string;
72368
- shape?: unknown[] | undefined;
72369
- } | {
72370
- event: string;
72371
- kind: "event";
72372
- traitName: string;
72373
- } | {
72374
- path: string;
72375
- kind: "page";
72376
- })[] | undefined;
72377
73620
  auxiliaryEntities?: (string | {
72378
73621
  name: string;
72379
73622
  fields: unknown[];
@@ -72904,7 +74147,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
72904
74147
  designTokens?: Record<string, Record<string, string>> | undefined;
72905
74148
  customPatterns?: Record<string, {
72906
74149
  type: "custom";
72907
- component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "footer" | "main" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
74150
+ component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
72908
74151
  className: string;
72909
74152
  slots?: string[] | undefined;
72910
74153
  props?: string[] | undefined;
@@ -73209,6 +74452,7 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
73209
74452
  guard?: SExpr | undefined;
73210
74453
  priority?: number | undefined;
73211
74454
  appliesTo?: string[] | undefined;
74455
+ runsInBackground?: boolean | undefined;
73212
74456
  pageIds?: string[] | undefined;
73213
74457
  emitIds?: string[] | undefined;
73214
74458
  }[] | undefined;
@@ -73432,6 +74676,7 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
73432
74676
  guard?: SExpr | undefined;
73433
74677
  priority?: number | undefined;
73434
74678
  appliesTo?: string[] | undefined;
74679
+ runsInBackground?: boolean | undefined;
73435
74680
  pageIds?: string[] | undefined;
73436
74681
  emitIds?: string[] | undefined;
73437
74682
  }[] | undefined;
@@ -73624,6 +74869,7 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
73624
74869
  guard?: SExpr | undefined;
73625
74870
  priority?: number | undefined;
73626
74871
  appliesTo?: string[] | undefined;
74872
+ runsInBackground?: boolean | undefined;
73627
74873
  pageIds?: string[] | undefined;
73628
74874
  emitIds?: string[] | undefined;
73629
74875
  }[] | undefined;
@@ -73847,6 +75093,7 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
73847
75093
  guard?: SExpr | undefined;
73848
75094
  priority?: number | undefined;
73849
75095
  appliesTo?: string[] | undefined;
75096
+ runsInBackground?: boolean | undefined;
73850
75097
  pageIds?: string[] | undefined;
73851
75098
  emitIds?: string[] | undefined;
73852
75099
  }[] | undefined;
@@ -74288,6 +75535,32 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
74288
75535
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
74289
75536
  pages?: Record<string, string> | undefined;
74290
75537
  fields?: Record<string, string> | undefined;
75538
+ listens?: {
75539
+ trait: string;
75540
+ event: string;
75541
+ triggers: string;
75542
+ description?: string | undefined;
75543
+ synonyms?: string | undefined;
75544
+ source?: {
75545
+ kind: "any";
75546
+ } | {
75547
+ trait: string;
75548
+ kind: "trait";
75549
+ traitId?: string | undefined;
75550
+ } | {
75551
+ orbital: string;
75552
+ trait: string;
75553
+ kind: "orbital";
75554
+ traitId?: string | undefined;
75555
+ orbitalId?: string | undefined;
75556
+ } | undefined;
75557
+ guard?: SExpr | undefined;
75558
+ eventId?: string | undefined;
75559
+ scope?: "internal" | "external" | undefined;
75560
+ tier?: string | undefined;
75561
+ triggersId?: string | undefined;
75562
+ payloadMapping?: Record<string, SExpr> | undefined;
75563
+ }[] | undefined;
74291
75564
  events?: Record<string, string> | undefined;
74292
75565
  roles?: Record<string, string[]> | undefined;
74293
75566
  refId?: string | undefined;
@@ -74317,6 +75590,28 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
74317
75590
  guard?: SExpr | undefined;
74318
75591
  payloadMapping?: Record<string, SExpr> | undefined;
74319
75592
  }[] | undefined;
75593
+ types?: Record<string, EventPayloadField[]> | undefined;
75594
+ uses?: {
75595
+ from: string;
75596
+ as: string;
75597
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
75598
+ }[] | undefined;
75599
+ expects?: ({
75600
+ kind: "identity";
75601
+ name?: string | undefined;
75602
+ shape?: unknown[] | undefined;
75603
+ } | {
75604
+ kind: "entity";
75605
+ name: string;
75606
+ shape?: unknown[] | undefined;
75607
+ } | {
75608
+ event: string;
75609
+ kind: "event";
75610
+ traitName: string;
75611
+ } | {
75612
+ path: string;
75613
+ kind: "page";
75614
+ })[] | undefined;
74320
75615
  services?: (string | {
74321
75616
  type: "rest";
74322
75617
  name: string;
@@ -74359,28 +75654,6 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
74359
75654
  headers?: Record<string, string> | undefined;
74360
75655
  serverPath?: string | undefined;
74361
75656
  })[] | undefined;
74362
- types?: Record<string, EventPayloadField[]> | undefined;
74363
- uses?: {
74364
- from: string;
74365
- as: string;
74366
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
74367
- }[] | undefined;
74368
- expects?: ({
74369
- kind: "identity";
74370
- name?: string | undefined;
74371
- shape?: unknown[] | undefined;
74372
- } | {
74373
- kind: "entity";
74374
- name: string;
74375
- shape?: unknown[] | undefined;
74376
- } | {
74377
- event: string;
74378
- kind: "event";
74379
- traitName: string;
74380
- } | {
74381
- path: string;
74382
- kind: "page";
74383
- })[] | undefined;
74384
75657
  auxiliaryEntities?: (string | {
74385
75658
  name: string;
74386
75659
  fields: unknown[];
@@ -74911,7 +76184,7 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
74911
76184
  designTokens?: Record<string, Record<string, string>> | undefined;
74912
76185
  customPatterns?: Record<string, {
74913
76186
  type: "custom";
74914
- component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "footer" | "main" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
76187
+ component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
74915
76188
  className: string;
74916
76189
  slots?: string[] | undefined;
74917
76190
  props?: string[] | undefined;
@@ -75151,6 +76424,7 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
75151
76424
  guard?: SExpr | undefined;
75152
76425
  priority?: number | undefined;
75153
76426
  appliesTo?: string[] | undefined;
76427
+ runsInBackground?: boolean | undefined;
75154
76428
  pageIds?: PageId[] | undefined;
75155
76429
  emitIds?: EventId[] | undefined;
75156
76430
  }[] | undefined;
@@ -75374,6 +76648,7 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
75374
76648
  guard?: SExpr | undefined;
75375
76649
  priority?: number | undefined;
75376
76650
  appliesTo?: string[] | undefined;
76651
+ runsInBackground?: boolean | undefined;
75377
76652
  pageIds?: PageId[] | undefined;
75378
76653
  emitIds?: EventId[] | undefined;
75379
76654
  }[] | undefined;
@@ -75566,6 +76841,7 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
75566
76841
  guard?: SExpr | undefined;
75567
76842
  priority?: number | undefined;
75568
76843
  appliesTo?: string[] | undefined;
76844
+ runsInBackground?: boolean | undefined;
75569
76845
  pageIds?: PageId[] | undefined;
75570
76846
  emitIds?: EventId[] | undefined;
75571
76847
  }[] | undefined;
@@ -75789,6 +77065,7 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
75789
77065
  guard?: SExpr | undefined;
75790
77066
  priority?: number | undefined;
75791
77067
  appliesTo?: string[] | undefined;
77068
+ runsInBackground?: boolean | undefined;
75792
77069
  pageIds?: PageId[] | undefined;
75793
77070
  emitIds?: EventId[] | undefined;
75794
77071
  }[] | undefined;
@@ -76230,6 +77507,32 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
76230
77507
  config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
76231
77508
  pages?: Record<string, string> | undefined;
76232
77509
  fields?: Record<string, string> | undefined;
77510
+ listens?: {
77511
+ trait: string;
77512
+ event: string;
77513
+ triggers: string;
77514
+ description?: string | undefined;
77515
+ synonyms?: string | undefined;
77516
+ source?: {
77517
+ kind: "any";
77518
+ } | {
77519
+ trait: string;
77520
+ kind: "trait";
77521
+ traitId?: TraitId | undefined;
77522
+ } | {
77523
+ orbital: string;
77524
+ trait: string;
77525
+ kind: "orbital";
77526
+ traitId?: TraitId | undefined;
77527
+ orbitalId?: OrbitalId | undefined;
77528
+ } | undefined;
77529
+ guard?: SExpr | undefined;
77530
+ eventId?: EventId | undefined;
77531
+ scope?: "internal" | "external" | undefined;
77532
+ tier?: string | undefined;
77533
+ triggersId?: EventId | undefined;
77534
+ payloadMapping?: Record<string, SExpr> | undefined;
77535
+ }[] | undefined;
76233
77536
  events?: Record<string, string> | undefined;
76234
77537
  roles?: Record<string, string[]> | undefined;
76235
77538
  refId?: OrbitalId | undefined;
@@ -76259,6 +77562,28 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
76259
77562
  guard?: SExpr | undefined;
76260
77563
  payloadMapping?: Record<string, SExpr> | undefined;
76261
77564
  }[] | undefined;
77565
+ types?: Record<string, EventPayloadField[]> | undefined;
77566
+ uses?: {
77567
+ from: string;
77568
+ as: string;
77569
+ config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
77570
+ }[] | undefined;
77571
+ expects?: ({
77572
+ kind: "identity";
77573
+ name?: string | undefined;
77574
+ shape?: EntityField[] | undefined;
77575
+ } | {
77576
+ kind: "entity";
77577
+ name: string;
77578
+ shape?: EntityField[] | undefined;
77579
+ } | {
77580
+ event: string;
77581
+ kind: "event";
77582
+ traitName: string;
77583
+ } | {
77584
+ path: string;
77585
+ kind: "page";
77586
+ })[] | undefined;
76262
77587
  services?: (string | {
76263
77588
  type: "rest";
76264
77589
  name: string;
@@ -76301,28 +77626,6 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
76301
77626
  headers?: Record<string, string> | undefined;
76302
77627
  serverPath?: string | undefined;
76303
77628
  })[] | undefined;
76304
- types?: Record<string, EventPayloadField[]> | undefined;
76305
- uses?: {
76306
- from: string;
76307
- as: string;
76308
- config?: Readonly<Record<string, ConfigFieldDeclaration>> | undefined;
76309
- }[] | undefined;
76310
- expects?: ({
76311
- kind: "identity";
76312
- name?: string | undefined;
76313
- shape?: EntityField[] | undefined;
76314
- } | {
76315
- kind: "entity";
76316
- name: string;
76317
- shape?: EntityField[] | undefined;
76318
- } | {
76319
- event: string;
76320
- kind: "event";
76321
- traitName: string;
76322
- } | {
76323
- path: string;
76324
- kind: "page";
76325
- })[] | undefined;
76326
77629
  auxiliaryEntities?: (string | {
76327
77630
  name: string;
76328
77631
  persistence: "persistent" | "runtime";
@@ -76853,7 +78156,7 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
76853
78156
  designTokens?: Record<string, Record<string, string>> | undefined;
76854
78157
  customPatterns?: Record<string, {
76855
78158
  type: "custom";
76856
- component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "footer" | "main" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
78159
+ component: "label" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
76857
78160
  className: string;
76858
78161
  slots?: string[] | undefined;
76859
78162
  props?: string[] | undefined;