@almadar/core 4.9.0 → 5.0.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.
@@ -3330,11 +3330,32 @@ interface TraitUIBinding {
3330
3330
  * - `emits`: Events this trait can emit (with scope and payload schema)
3331
3331
  * - `listens`: Events this trait listens for (with optional payloadMapping)
3332
3332
  */
3333
+ /**
3334
+ * Instance vs collection scope for a trait.
3335
+ *
3336
+ * Mirrors the `.lolo` trait modifier list (`[interaction, instance]` /
3337
+ * `[interaction, collection]`). Instance traits own a single entity record
3338
+ * (typed by `linkedEntity`) and read/write `@entity.field`. Collection
3339
+ * traits render records of `linkedEntity` without owning any one; data flows
3340
+ * through `@payload.data` typed as `Array<linkedEntity>`.
3341
+ *
3342
+ * Optional today. A future phase (Almadar_Entity_V2_Plan.md Phase 4) makes
3343
+ * it required and adds static checks in the compiler.
3344
+ */
3345
+ type TraitScope = 'instance' | 'collection';
3333
3346
  interface Trait {
3334
3347
  name: string;
3335
3348
  description?: string;
3336
3349
  description_visual_prompt?: string;
3337
3350
  category?: TraitCategory;
3351
+ /**
3352
+ * Instance or collection scope. Required in V2: every trait operates on
3353
+ * either a single record (`instance`) or a group (`collection`). Drives
3354
+ * payload-inference rules for emits declared via `type X = Event<T>` and
3355
+ * shapes the runtime's binding semantics. Authored in `.lolo` as the
3356
+ * `[instance]` / `[collection]` modifier on the trait header.
3357
+ */
3358
+ scope: TraitScope;
3338
3359
  /**
3339
3360
  * The entity this trait is linked to.
3340
3361
  * Required for inline trait definitions within an orbital.
@@ -3363,6 +3384,7 @@ declare const TraitSchema: z.ZodObject<{
3363
3384
  description: z.ZodOptional<z.ZodString>;
3364
3385
  description_visual_prompt: z.ZodOptional<z.ZodString>;
3365
3386
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
3387
+ scope: z.ZodEnum<["instance", "collection"]>;
3366
3388
  linkedEntity: z.ZodOptional<z.ZodString>;
3367
3389
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3368
3390
  name: z.ZodString;
@@ -3709,6 +3731,7 @@ declare const TraitSchema: z.ZodObject<{
3709
3731
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3710
3732
  }, "strip", z.ZodTypeAny, {
3711
3733
  name: string;
3734
+ scope: "instance" | "collection";
3712
3735
  ui?: Record<string, unknown> | undefined;
3713
3736
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
3714
3737
  description?: string | undefined;
@@ -3804,6 +3827,7 @@ declare const TraitSchema: z.ZodObject<{
3804
3827
  }[] | undefined;
3805
3828
  }, {
3806
3829
  name: string;
3830
+ scope: "instance" | "collection";
3807
3831
  ui?: Record<string, unknown> | undefined;
3808
3832
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
3809
3833
  description?: string | undefined;
@@ -3921,6 +3945,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
3921
3945
  description: z.ZodOptional<z.ZodString>;
3922
3946
  description_visual_prompt: z.ZodOptional<z.ZodString>;
3923
3947
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
3948
+ scope: z.ZodEnum<["instance", "collection"]>;
3924
3949
  linkedEntity: z.ZodOptional<z.ZodString>;
3925
3950
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3926
3951
  name: z.ZodString;
@@ -4267,6 +4292,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4267
4292
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4268
4293
  }, "strip", z.ZodTypeAny, {
4269
4294
  name: string;
4295
+ scope: "instance" | "collection";
4270
4296
  ui?: Record<string, unknown> | undefined;
4271
4297
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
4272
4298
  description?: string | undefined;
@@ -4362,6 +4388,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4362
4388
  }[] | undefined;
4363
4389
  }, {
4364
4390
  name: string;
4391
+ scope: "instance" | "collection";
4365
4392
  ui?: Record<string, unknown> | undefined;
4366
4393
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
4367
4394
  description?: string | undefined;
@@ -4549,6 +4576,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4549
4576
  description: z.ZodOptional<z.ZodString>;
4550
4577
  description_visual_prompt: z.ZodOptional<z.ZodString>;
4551
4578
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
4579
+ scope: z.ZodEnum<["instance", "collection"]>;
4552
4580
  linkedEntity: z.ZodOptional<z.ZodString>;
4553
4581
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
4554
4582
  name: z.ZodString;
@@ -4895,6 +4923,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4895
4923
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4896
4924
  }, "strip", z.ZodTypeAny, {
4897
4925
  name: string;
4926
+ scope: "instance" | "collection";
4898
4927
  ui?: Record<string, unknown> | undefined;
4899
4928
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
4900
4929
  description?: string | undefined;
@@ -4990,6 +5019,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
4990
5019
  }[] | undefined;
4991
5020
  }, {
4992
5021
  name: string;
5022
+ scope: "instance" | "collection";
4993
5023
  ui?: Record<string, unknown> | undefined;
4994
5024
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
4995
5025
  description?: string | undefined;
@@ -6208,6 +6238,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
6208
6238
  description: z.ZodOptional<z.ZodString>;
6209
6239
  description_visual_prompt: z.ZodOptional<z.ZodString>;
6210
6240
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
6241
+ scope: z.ZodEnum<["instance", "collection"]>;
6211
6242
  linkedEntity: z.ZodOptional<z.ZodString>;
6212
6243
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
6213
6244
  name: z.ZodString;
@@ -6554,6 +6585,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
6554
6585
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6555
6586
  }, "strip", z.ZodTypeAny, {
6556
6587
  name: string;
6588
+ scope: "instance" | "collection";
6557
6589
  ui?: Record<string, unknown> | undefined;
6558
6590
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
6559
6591
  description?: string | undefined;
@@ -6649,6 +6681,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
6649
6681
  }[] | undefined;
6650
6682
  }, {
6651
6683
  name: string;
6684
+ scope: "instance" | "collection";
6652
6685
  ui?: Record<string, unknown> | undefined;
6653
6686
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
6654
6687
  description?: string | undefined;
@@ -6749,6 +6782,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
6749
6782
  linkedEntity?: string | undefined;
6750
6783
  traits?: (string | {
6751
6784
  name: string;
6785
+ scope: "instance" | "collection";
6752
6786
  ui?: Record<string, unknown> | undefined;
6753
6787
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
6754
6788
  description?: string | undefined;
@@ -6856,6 +6890,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
6856
6890
  linkedEntity?: string | undefined;
6857
6891
  traits?: (string | {
6858
6892
  name: string;
6893
+ scope: "instance" | "collection";
6859
6894
  ui?: Record<string, unknown> | undefined;
6860
6895
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
6861
6896
  description?: string | undefined;
@@ -7030,6 +7065,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7030
7065
  description: z.ZodOptional<z.ZodString>;
7031
7066
  description_visual_prompt: z.ZodOptional<z.ZodString>;
7032
7067
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
7068
+ scope: z.ZodEnum<["instance", "collection"]>;
7033
7069
  linkedEntity: z.ZodOptional<z.ZodString>;
7034
7070
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
7035
7071
  name: z.ZodString;
@@ -7376,6 +7412,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7376
7412
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7377
7413
  }, "strip", z.ZodTypeAny, {
7378
7414
  name: string;
7415
+ scope: "instance" | "collection";
7379
7416
  ui?: Record<string, unknown> | undefined;
7380
7417
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
7381
7418
  description?: string | undefined;
@@ -7471,6 +7508,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7471
7508
  }[] | undefined;
7472
7509
  }, {
7473
7510
  name: string;
7511
+ scope: "instance" | "collection";
7474
7512
  ui?: Record<string, unknown> | undefined;
7475
7513
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
7476
7514
  description?: string | undefined;
@@ -7571,6 +7609,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7571
7609
  linkedEntity?: string | undefined;
7572
7610
  traits?: (string | {
7573
7611
  name: string;
7612
+ scope: "instance" | "collection";
7574
7613
  ui?: Record<string, unknown> | undefined;
7575
7614
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
7576
7615
  description?: string | undefined;
@@ -7678,6 +7717,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
7678
7717
  linkedEntity?: string | undefined;
7679
7718
  traits?: (string | {
7680
7719
  name: string;
7720
+ scope: "instance" | "collection";
7681
7721
  ui?: Record<string, unknown> | undefined;
7682
7722
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
7683
7723
  description?: string | undefined;
@@ -8511,6 +8551,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
8511
8551
  description: z.ZodOptional<z.ZodString>;
8512
8552
  description_visual_prompt: z.ZodOptional<z.ZodString>;
8513
8553
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
8554
+ scope: z.ZodEnum<["instance", "collection"]>;
8514
8555
  linkedEntity: z.ZodOptional<z.ZodString>;
8515
8556
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
8516
8557
  name: z.ZodString;
@@ -8857,6 +8898,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
8857
8898
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8858
8899
  }, "strip", z.ZodTypeAny, {
8859
8900
  name: string;
8901
+ scope: "instance" | "collection";
8860
8902
  ui?: Record<string, unknown> | undefined;
8861
8903
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
8862
8904
  description?: string | undefined;
@@ -8952,6 +8994,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
8952
8994
  }[] | undefined;
8953
8995
  }, {
8954
8996
  name: string;
8997
+ scope: "instance" | "collection";
8955
8998
  ui?: Record<string, unknown> | undefined;
8956
8999
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
8957
9000
  description?: string | undefined;
@@ -9118,6 +9161,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
9118
9161
  description: z.ZodOptional<z.ZodString>;
9119
9162
  description_visual_prompt: z.ZodOptional<z.ZodString>;
9120
9163
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
9164
+ scope: z.ZodEnum<["instance", "collection"]>;
9121
9165
  linkedEntity: z.ZodOptional<z.ZodString>;
9122
9166
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
9123
9167
  name: z.ZodString;
@@ -9464,6 +9508,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
9464
9508
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9465
9509
  }, "strip", z.ZodTypeAny, {
9466
9510
  name: string;
9511
+ scope: "instance" | "collection";
9467
9512
  ui?: Record<string, unknown> | undefined;
9468
9513
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9469
9514
  description?: string | undefined;
@@ -9559,6 +9604,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
9559
9604
  }[] | undefined;
9560
9605
  }, {
9561
9606
  name: string;
9607
+ scope: "instance" | "collection";
9562
9608
  ui?: Record<string, unknown> | undefined;
9563
9609
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9564
9610
  description?: string | undefined;
@@ -9659,6 +9705,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
9659
9705
  linkedEntity?: string | undefined;
9660
9706
  traits?: (string | {
9661
9707
  name: string;
9708
+ scope: "instance" | "collection";
9662
9709
  ui?: Record<string, unknown> | undefined;
9663
9710
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9664
9711
  description?: string | undefined;
@@ -9766,6 +9813,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
9766
9813
  linkedEntity?: string | undefined;
9767
9814
  traits?: (string | {
9768
9815
  name: string;
9816
+ scope: "instance" | "collection";
9769
9817
  ui?: Record<string, unknown> | undefined;
9770
9818
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
9771
9819
  description?: string | undefined;
@@ -10137,6 +10185,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
10137
10185
  name: string;
10138
10186
  traits: (string | {
10139
10187
  name: string;
10188
+ scope: "instance" | "collection";
10140
10189
  ui?: Record<string, unknown> | undefined;
10141
10190
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
10142
10191
  description?: string | undefined;
@@ -10255,6 +10304,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
10255
10304
  linkedEntity?: string | undefined;
10256
10305
  traits?: (string | {
10257
10306
  name: string;
10307
+ scope: "instance" | "collection";
10258
10308
  ui?: Record<string, unknown> | undefined;
10259
10309
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
10260
10310
  description?: string | undefined;
@@ -10513,6 +10563,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
10513
10563
  name: string;
10514
10564
  traits: (string | {
10515
10565
  name: string;
10566
+ scope: "instance" | "collection";
10516
10567
  ui?: Record<string, unknown> | undefined;
10517
10568
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
10518
10569
  description?: string | undefined;
@@ -10631,6 +10682,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
10631
10682
  linkedEntity?: string | undefined;
10632
10683
  traits?: (string | {
10633
10684
  name: string;
10685
+ scope: "instance" | "collection";
10634
10686
  ui?: Record<string, unknown> | undefined;
10635
10687
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
10636
10688
  description?: string | undefined;
@@ -11214,6 +11266,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
11214
11266
  description: z.ZodOptional<z.ZodString>;
11215
11267
  description_visual_prompt: z.ZodOptional<z.ZodString>;
11216
11268
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
11269
+ scope: z.ZodEnum<["instance", "collection"]>;
11217
11270
  linkedEntity: z.ZodOptional<z.ZodString>;
11218
11271
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
11219
11272
  name: z.ZodString;
@@ -11560,6 +11613,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
11560
11613
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11561
11614
  }, "strip", z.ZodTypeAny, {
11562
11615
  name: string;
11616
+ scope: "instance" | "collection";
11563
11617
  ui?: Record<string, unknown> | undefined;
11564
11618
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
11565
11619
  description?: string | undefined;
@@ -11655,6 +11709,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
11655
11709
  }[] | undefined;
11656
11710
  }, {
11657
11711
  name: string;
11712
+ scope: "instance" | "collection";
11658
11713
  ui?: Record<string, unknown> | undefined;
11659
11714
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
11660
11715
  description?: string | undefined;
@@ -11821,6 +11876,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
11821
11876
  description: z.ZodOptional<z.ZodString>;
11822
11877
  description_visual_prompt: z.ZodOptional<z.ZodString>;
11823
11878
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
11879
+ scope: z.ZodEnum<["instance", "collection"]>;
11824
11880
  linkedEntity: z.ZodOptional<z.ZodString>;
11825
11881
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
11826
11882
  name: z.ZodString;
@@ -12167,6 +12223,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
12167
12223
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12168
12224
  }, "strip", z.ZodTypeAny, {
12169
12225
  name: string;
12226
+ scope: "instance" | "collection";
12170
12227
  ui?: Record<string, unknown> | undefined;
12171
12228
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
12172
12229
  description?: string | undefined;
@@ -12262,6 +12319,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
12262
12319
  }[] | undefined;
12263
12320
  }, {
12264
12321
  name: string;
12322
+ scope: "instance" | "collection";
12265
12323
  ui?: Record<string, unknown> | undefined;
12266
12324
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
12267
12325
  description?: string | undefined;
@@ -12362,6 +12420,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
12362
12420
  linkedEntity?: string | undefined;
12363
12421
  traits?: (string | {
12364
12422
  name: string;
12423
+ scope: "instance" | "collection";
12365
12424
  ui?: Record<string, unknown> | undefined;
12366
12425
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
12367
12426
  description?: string | undefined;
@@ -12469,6 +12528,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
12469
12528
  linkedEntity?: string | undefined;
12470
12529
  traits?: (string | {
12471
12530
  name: string;
12531
+ scope: "instance" | "collection";
12472
12532
  ui?: Record<string, unknown> | undefined;
12473
12533
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
12474
12534
  description?: string | undefined;
@@ -12840,6 +12900,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
12840
12900
  name: string;
12841
12901
  traits: (string | {
12842
12902
  name: string;
12903
+ scope: "instance" | "collection";
12843
12904
  ui?: Record<string, unknown> | undefined;
12844
12905
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
12845
12906
  description?: string | undefined;
@@ -12958,6 +13019,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
12958
13019
  linkedEntity?: string | undefined;
12959
13020
  traits?: (string | {
12960
13021
  name: string;
13022
+ scope: "instance" | "collection";
12961
13023
  ui?: Record<string, unknown> | undefined;
12962
13024
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
12963
13025
  description?: string | undefined;
@@ -13216,6 +13278,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
13216
13278
  name: string;
13217
13279
  traits: (string | {
13218
13280
  name: string;
13281
+ scope: "instance" | "collection";
13219
13282
  ui?: Record<string, unknown> | undefined;
13220
13283
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
13221
13284
  description?: string | undefined;
@@ -13334,6 +13397,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
13334
13397
  linkedEntity?: string | undefined;
13335
13398
  traits?: (string | {
13336
13399
  name: string;
13400
+ scope: "instance" | "collection";
13337
13401
  ui?: Record<string, unknown> | undefined;
13338
13402
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
13339
13403
  description?: string | undefined;
@@ -13924,6 +13988,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
13924
13988
  description: z.ZodOptional<z.ZodString>;
13925
13989
  description_visual_prompt: z.ZodOptional<z.ZodString>;
13926
13990
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
13991
+ scope: z.ZodEnum<["instance", "collection"]>;
13927
13992
  linkedEntity: z.ZodOptional<z.ZodString>;
13928
13993
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
13929
13994
  name: z.ZodString;
@@ -14270,6 +14335,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
14270
14335
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14271
14336
  }, "strip", z.ZodTypeAny, {
14272
14337
  name: string;
14338
+ scope: "instance" | "collection";
14273
14339
  ui?: Record<string, unknown> | undefined;
14274
14340
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
14275
14341
  description?: string | undefined;
@@ -14365,6 +14431,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
14365
14431
  }[] | undefined;
14366
14432
  }, {
14367
14433
  name: string;
14434
+ scope: "instance" | "collection";
14368
14435
  ui?: Record<string, unknown> | undefined;
14369
14436
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
14370
14437
  description?: string | undefined;
@@ -14531,6 +14598,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
14531
14598
  description: z.ZodOptional<z.ZodString>;
14532
14599
  description_visual_prompt: z.ZodOptional<z.ZodString>;
14533
14600
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
14601
+ scope: z.ZodEnum<["instance", "collection"]>;
14534
14602
  linkedEntity: z.ZodOptional<z.ZodString>;
14535
14603
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
14536
14604
  name: z.ZodString;
@@ -14877,6 +14945,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
14877
14945
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14878
14946
  }, "strip", z.ZodTypeAny, {
14879
14947
  name: string;
14948
+ scope: "instance" | "collection";
14880
14949
  ui?: Record<string, unknown> | undefined;
14881
14950
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
14882
14951
  description?: string | undefined;
@@ -14972,6 +15041,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
14972
15041
  }[] | undefined;
14973
15042
  }, {
14974
15043
  name: string;
15044
+ scope: "instance" | "collection";
14975
15045
  ui?: Record<string, unknown> | undefined;
14976
15046
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
14977
15047
  description?: string | undefined;
@@ -15072,6 +15142,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
15072
15142
  linkedEntity?: string | undefined;
15073
15143
  traits?: (string | {
15074
15144
  name: string;
15145
+ scope: "instance" | "collection";
15075
15146
  ui?: Record<string, unknown> | undefined;
15076
15147
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
15077
15148
  description?: string | undefined;
@@ -15179,6 +15250,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
15179
15250
  linkedEntity?: string | undefined;
15180
15251
  traits?: (string | {
15181
15252
  name: string;
15253
+ scope: "instance" | "collection";
15182
15254
  ui?: Record<string, unknown> | undefined;
15183
15255
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
15184
15256
  description?: string | undefined;
@@ -15550,6 +15622,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
15550
15622
  name: string;
15551
15623
  traits: (string | {
15552
15624
  name: string;
15625
+ scope: "instance" | "collection";
15553
15626
  ui?: Record<string, unknown> | undefined;
15554
15627
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
15555
15628
  description?: string | undefined;
@@ -15668,6 +15741,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
15668
15741
  linkedEntity?: string | undefined;
15669
15742
  traits?: (string | {
15670
15743
  name: string;
15744
+ scope: "instance" | "collection";
15671
15745
  ui?: Record<string, unknown> | undefined;
15672
15746
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
15673
15747
  description?: string | undefined;
@@ -15926,6 +16000,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
15926
16000
  name: string;
15927
16001
  traits: (string | {
15928
16002
  name: string;
16003
+ scope: "instance" | "collection";
15929
16004
  ui?: Record<string, unknown> | undefined;
15930
16005
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
15931
16006
  description?: string | undefined;
@@ -16044,6 +16119,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
16044
16119
  linkedEntity?: string | undefined;
16045
16120
  traits?: (string | {
16046
16121
  name: string;
16122
+ scope: "instance" | "collection";
16047
16123
  ui?: Record<string, unknown> | undefined;
16048
16124
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
16049
16125
  description?: string | undefined;
@@ -16875,6 +16951,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
16875
16951
  description: z.ZodOptional<z.ZodString>;
16876
16952
  description_visual_prompt: z.ZodOptional<z.ZodString>;
16877
16953
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
16954
+ scope: z.ZodEnum<["instance", "collection"]>;
16878
16955
  linkedEntity: z.ZodOptional<z.ZodString>;
16879
16956
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
16880
16957
  name: z.ZodString;
@@ -17221,6 +17298,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
17221
17298
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17222
17299
  }, "strip", z.ZodTypeAny, {
17223
17300
  name: string;
17301
+ scope: "instance" | "collection";
17224
17302
  ui?: Record<string, unknown> | undefined;
17225
17303
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
17226
17304
  description?: string | undefined;
@@ -17316,6 +17394,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
17316
17394
  }[] | undefined;
17317
17395
  }, {
17318
17396
  name: string;
17397
+ scope: "instance" | "collection";
17319
17398
  ui?: Record<string, unknown> | undefined;
17320
17399
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
17321
17400
  description?: string | undefined;
@@ -17482,6 +17561,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
17482
17561
  description: z.ZodOptional<z.ZodString>;
17483
17562
  description_visual_prompt: z.ZodOptional<z.ZodString>;
17484
17563
  category: z.ZodOptional<z.ZodEnum<["lifecycle", "temporal", "validation", "notification", "integration", "interaction", "agent", "game-core", "game-character", "game-ai", "game-combat", "game-items", "game-cards", "game-board", "game-puzzle"]>>;
17564
+ scope: z.ZodEnum<["instance", "collection"]>;
17485
17565
  linkedEntity: z.ZodOptional<z.ZodString>;
17486
17566
  requiredFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
17487
17567
  name: z.ZodString;
@@ -17828,6 +17908,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
17828
17908
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17829
17909
  }, "strip", z.ZodTypeAny, {
17830
17910
  name: string;
17911
+ scope: "instance" | "collection";
17831
17912
  ui?: Record<string, unknown> | undefined;
17832
17913
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
17833
17914
  description?: string | undefined;
@@ -17923,6 +18004,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
17923
18004
  }[] | undefined;
17924
18005
  }, {
17925
18006
  name: string;
18007
+ scope: "instance" | "collection";
17926
18008
  ui?: Record<string, unknown> | undefined;
17927
18009
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
17928
18010
  description?: string | undefined;
@@ -18023,6 +18105,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
18023
18105
  linkedEntity?: string | undefined;
18024
18106
  traits?: (string | {
18025
18107
  name: string;
18108
+ scope: "instance" | "collection";
18026
18109
  ui?: Record<string, unknown> | undefined;
18027
18110
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
18028
18111
  description?: string | undefined;
@@ -18130,6 +18213,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
18130
18213
  linkedEntity?: string | undefined;
18131
18214
  traits?: (string | {
18132
18215
  name: string;
18216
+ scope: "instance" | "collection";
18133
18217
  ui?: Record<string, unknown> | undefined;
18134
18218
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
18135
18219
  description?: string | undefined;
@@ -18501,6 +18585,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
18501
18585
  name: string;
18502
18586
  traits: (string | {
18503
18587
  name: string;
18588
+ scope: "instance" | "collection";
18504
18589
  ui?: Record<string, unknown> | undefined;
18505
18590
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
18506
18591
  description?: string | undefined;
@@ -18619,6 +18704,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
18619
18704
  linkedEntity?: string | undefined;
18620
18705
  traits?: (string | {
18621
18706
  name: string;
18707
+ scope: "instance" | "collection";
18622
18708
  ui?: Record<string, unknown> | undefined;
18623
18709
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
18624
18710
  description?: string | undefined;
@@ -18877,6 +18963,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
18877
18963
  name: string;
18878
18964
  traits: (string | {
18879
18965
  name: string;
18966
+ scope: "instance" | "collection";
18880
18967
  ui?: Record<string, unknown> | undefined;
18881
18968
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
18882
18969
  description?: string | undefined;
@@ -18995,6 +19082,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
18995
19082
  linkedEntity?: string | undefined;
18996
19083
  traits?: (string | {
18997
19084
  name: string;
19085
+ scope: "instance" | "collection";
18998
19086
  ui?: Record<string, unknown> | undefined;
18999
19087
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
19000
19088
  description?: string | undefined;
@@ -19431,6 +19519,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
19431
19519
  name: string;
19432
19520
  traits: (string | {
19433
19521
  name: string;
19522
+ scope: "instance" | "collection";
19434
19523
  ui?: Record<string, unknown> | undefined;
19435
19524
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
19436
19525
  description?: string | undefined;
@@ -19549,6 +19638,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
19549
19638
  linkedEntity?: string | undefined;
19550
19639
  traits?: (string | {
19551
19640
  name: string;
19641
+ scope: "instance" | "collection";
19552
19642
  ui?: Record<string, unknown> | undefined;
19553
19643
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
19554
19644
  description?: string | undefined;
@@ -19896,6 +19986,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
19896
19986
  name: string;
19897
19987
  traits: (string | {
19898
19988
  name: string;
19989
+ scope: "instance" | "collection";
19899
19990
  ui?: Record<string, unknown> | undefined;
19900
19991
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
19901
19992
  description?: string | undefined;
@@ -20014,6 +20105,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
20014
20105
  linkedEntity?: string | undefined;
20015
20106
  traits?: (string | {
20016
20107
  name: string;
20108
+ scope: "instance" | "collection";
20017
20109
  ui?: Record<string, unknown> | undefined;
20018
20110
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
20019
20111
  description?: string | undefined;
@@ -20408,6 +20500,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
20408
20500
  name: string;
20409
20501
  traits: (string | {
20410
20502
  name: string;
20503
+ scope: "instance" | "collection";
20411
20504
  ui?: Record<string, unknown> | undefined;
20412
20505
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
20413
20506
  description?: string | undefined;
@@ -20526,6 +20619,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
20526
20619
  linkedEntity?: string | undefined;
20527
20620
  traits?: (string | {
20528
20621
  name: string;
20622
+ scope: "instance" | "collection";
20529
20623
  ui?: Record<string, unknown> | undefined;
20530
20624
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
20531
20625
  description?: string | undefined;
@@ -20873,6 +20967,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
20873
20967
  name: string;
20874
20968
  traits: (string | {
20875
20969
  name: string;
20970
+ scope: "instance" | "collection";
20876
20971
  ui?: Record<string, unknown> | undefined;
20877
20972
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
20878
20973
  description?: string | undefined;
@@ -20991,6 +21086,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
20991
21086
  linkedEntity?: string | undefined;
20992
21087
  traits?: (string | {
20993
21088
  name: string;
21089
+ scope: "instance" | "collection";
20994
21090
  ui?: Record<string, unknown> | undefined;
20995
21091
  category?: "validation" | "notification" | "lifecycle" | "temporal" | "integration" | "interaction" | "agent" | "game-core" | "game-character" | "game-ai" | "game-combat" | "game-items" | "game-cards" | "game-board" | "game-puzzle" | undefined;
20996
21092
  description?: string | undefined;