@almadar/core 10.89.0 → 10.90.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/builders.d.ts +3 -3
  2. package/dist/builders.js +9 -2
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{effect-CdLBg9zL.d.ts → effect-7jQQxiIt.d.ts} +58 -42
  5. package/dist/{entityAccess-BmZHpQUv.d.ts → entityAccess-CpHfCQA3.d.ts} +1 -1
  6. package/dist/factory/index.d.ts +4 -4
  7. package/dist/factory/index.js +467 -9
  8. package/dist/factory/index.js.map +1 -1
  9. package/dist/factory-runtime/index.d.ts +3 -3
  10. package/dist/factory-runtime/index.js +9 -2
  11. package/dist/factory-runtime/index.js.map +1 -1
  12. package/dist/i18n/index.js +6 -0
  13. package/dist/i18n/index.js.map +1 -1
  14. package/dist/{index-CV_iM5Cm.d.ts → index-BresfHJy.d.ts} +63 -6
  15. package/dist/index.d.ts +34 -12
  16. package/dist/index.js +582 -17
  17. package/dist/index.js.map +1 -1
  18. package/dist/mock/index.d.ts +54 -5
  19. package/dist/mock/index.js +33 -3
  20. package/dist/mock/index.js.map +1 -1
  21. package/dist/patterns/component-mapping.json +6 -1
  22. package/dist/patterns/event-contracts.json +1 -1
  23. package/dist/patterns/index.d.ts +1160 -14
  24. package/dist/patterns/index.js +545 -12
  25. package/dist/patterns/index.js.map +1 -1
  26. package/dist/patterns/integrators-registry.json +72 -1
  27. package/dist/patterns/patterns-registry.json +461 -8
  28. package/dist/patterns/registry.json +461 -8
  29. package/dist/patterns/services-registry.json +150 -64
  30. package/dist/{schema-DYC_RnBX.d.ts → schema-C52juBr8.d.ts} +495 -323
  31. package/dist/{trait-DmWdtKlP.d.ts → trait-CFiL1YUN.d.ts} +98 -55
  32. package/dist/types/index.d.ts +5 -5
  33. package/dist/types/index.js +11 -6
  34. package/dist/types/index.js.map +1 -1
  35. package/dist/{types-DdK77hq2.d.ts → types-BgC8ETnl.d.ts} +2 -2
  36. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-CdLBg9zL.js';
1
+ import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-7jQQxiIt.js';
2
2
  import { J as JsonValue } from './json-D8gmyK3l.js';
3
3
  import { E as Expression, S as SExpr } from './expression-WfTp2arD.js';
4
4
  import { z } from 'zod';
@@ -1337,6 +1337,8 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1337
1337
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
1338
1338
  capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1339
1339
  scope: z.ZodEnum<["instance", "collection"]>;
1340
+ /** `local` trait-header flag — declares client-only dispatch (mirrors Rust `OirTrait::local`). Undeclared = server-gated dispatch. */
1341
+ local: z.ZodOptional<z.ZodBoolean>;
1340
1342
  linkedEntity: z.ZodOptional<z.ZodString>;
1341
1343
  linkedEntityId: z.ZodOptional<z.ZodEffects<z.ZodString, EntityId, string>>;
1342
1344
  entityRefIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EntityId, string>>>;
@@ -1843,7 +1845,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1843
1845
  style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
1844
1846
  variant: z.ZodOptional<z.ZodString>;
1845
1847
  dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
1846
- aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
1848
+ aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1", "4:1", "5:3", "1:2"]>>;
1847
1849
  }, "strip", z.ZodTypeAny, {
1848
1850
  role: string;
1849
1851
  category: string;
@@ -1851,7 +1853,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1851
1853
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
1852
1854
  variant?: string | undefined;
1853
1855
  dimension?: "2d" | "3d" | undefined;
1854
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
1856
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
1855
1857
  }, {
1856
1858
  role: string;
1857
1859
  category: string;
@@ -1859,7 +1861,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1859
1861
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
1860
1862
  variant?: string | undefined;
1861
1863
  dimension?: "2d" | "3d" | undefined;
1862
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
1864
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
1863
1865
  }>>;
1864
1866
  }, "strip", z.ZodTypeAny, {
1865
1867
  name: string;
@@ -1891,7 +1893,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1891
1893
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
1892
1894
  variant?: string | undefined;
1893
1895
  dimension?: "2d" | "3d" | undefined;
1894
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
1896
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
1895
1897
  } | undefined;
1896
1898
  }, {
1897
1899
  name: string;
@@ -1923,7 +1925,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1923
1925
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
1924
1926
  variant?: string | undefined;
1925
1927
  dimension?: "2d" | "3d" | undefined;
1926
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
1928
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
1927
1929
  } | undefined;
1928
1930
  }>>;
1929
1931
  typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
@@ -2049,6 +2051,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2049
2051
  }[] | undefined;
2050
2052
  entityBindingDescription?: string | undefined;
2051
2053
  entityBindingSynonyms?: string | undefined;
2054
+ local?: boolean | undefined;
2052
2055
  entityRefIds?: Record<string, EntityId> | undefined;
2053
2056
  traitEmbedIds?: Record<string, TraitId> | undefined;
2054
2057
  requiredFields?: {
@@ -2105,7 +2108,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2105
2108
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
2106
2109
  variant?: string | undefined;
2107
2110
  dimension?: "2d" | "3d" | undefined;
2108
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
2111
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
2109
2112
  } | undefined;
2110
2113
  } | undefined;
2111
2114
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -2231,6 +2234,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2231
2234
  }[] | undefined;
2232
2235
  entityBindingDescription?: string | undefined;
2233
2236
  entityBindingSynonyms?: string | undefined;
2237
+ local?: boolean | undefined;
2234
2238
  entityRefIds?: Record<string, string> | undefined;
2235
2239
  traitEmbedIds?: Record<string, string> | undefined;
2236
2240
  requiredFields?: {
@@ -2287,7 +2291,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2287
2291
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
2288
2292
  variant?: string | undefined;
2289
2293
  dimension?: "2d" | "3d" | undefined;
2290
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
2294
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
2291
2295
  } | undefined;
2292
2296
  } | undefined;
2293
2297
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -2556,6 +2560,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2556
2560
  }[] | undefined;
2557
2561
  entityBindingDescription?: string | undefined;
2558
2562
  entityBindingSynonyms?: string | undefined;
2563
+ local?: boolean | undefined;
2559
2564
  entityRefIds?: Record<string, EntityId> | undefined;
2560
2565
  traitEmbedIds?: Record<string, TraitId> | undefined;
2561
2566
  requiredFields?: {
@@ -2612,7 +2617,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2612
2617
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
2613
2618
  variant?: string | undefined;
2614
2619
  dimension?: "2d" | "3d" | undefined;
2615
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
2620
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
2616
2621
  } | undefined;
2617
2622
  } | undefined;
2618
2623
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -2780,6 +2785,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2780
2785
  }[] | undefined;
2781
2786
  entityBindingDescription?: string | undefined;
2782
2787
  entityBindingSynonyms?: string | undefined;
2788
+ local?: boolean | undefined;
2783
2789
  entityRefIds?: Record<string, string> | undefined;
2784
2790
  traitEmbedIds?: Record<string, string> | undefined;
2785
2791
  requiredFields?: {
@@ -2836,7 +2842,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
2836
2842
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
2837
2843
  variant?: string | undefined;
2838
2844
  dimension?: "2d" | "3d" | undefined;
2839
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
2845
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
2840
2846
  } | undefined;
2841
2847
  } | undefined;
2842
2848
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -3004,6 +3010,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3004
3010
  }[] | undefined;
3005
3011
  entityBindingDescription?: string | undefined;
3006
3012
  entityBindingSynonyms?: string | undefined;
3013
+ local?: boolean | undefined;
3007
3014
  entityRefIds?: Record<string, EntityId> | undefined;
3008
3015
  traitEmbedIds?: Record<string, TraitId> | undefined;
3009
3016
  requiredFields?: {
@@ -3060,7 +3067,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3060
3067
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
3061
3068
  variant?: string | undefined;
3062
3069
  dimension?: "2d" | "3d" | undefined;
3063
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
3070
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
3064
3071
  } | undefined;
3065
3072
  } | undefined;
3066
3073
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -3228,6 +3235,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3228
3235
  }[] | undefined;
3229
3236
  entityBindingDescription?: string | undefined;
3230
3237
  entityBindingSynonyms?: string | undefined;
3238
+ local?: boolean | undefined;
3231
3239
  entityRefIds?: Record<string, string> | undefined;
3232
3240
  traitEmbedIds?: Record<string, string> | undefined;
3233
3241
  requiredFields?: {
@@ -3284,7 +3292,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3284
3292
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
3285
3293
  variant?: string | undefined;
3286
3294
  dimension?: "2d" | "3d" | undefined;
3287
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
3295
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
3288
3296
  } | undefined;
3289
3297
  } | undefined;
3290
3298
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -3517,6 +3525,13 @@ type Trait = {
3517
3525
  * `[instance]` / `[collection]` modifier on the trait header.
3518
3526
  */
3519
3527
  scope: TraitScope;
3528
+ /**
3529
+ * `local` trait-header flag — declares client-only dispatch. Authored in
3530
+ * `.lolo` as the `local` modifier on the trait header (`[interaction, instance, local]`).
3531
+ * Undeclared (`undefined`) means server-gated dispatch. Mirrors the Rust
3532
+ * `OirTrait::local` field; never inferred from effects.
3533
+ */
3534
+ local?: boolean;
3520
3535
  /**
3521
3536
  * The entity this trait is linked to.
3522
3537
  * Required for inline trait definitions within an orbital.
@@ -3668,6 +3683,8 @@ declare const TraitSchema: z.ZodObject<{
3668
3683
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
3669
3684
  capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3670
3685
  scope: z.ZodEnum<["instance", "collection"]>;
3686
+ /** `local` trait-header flag — declares client-only dispatch (mirrors Rust `OirTrait::local`). Undeclared = server-gated dispatch. */
3687
+ local: z.ZodOptional<z.ZodBoolean>;
3671
3688
  linkedEntity: z.ZodOptional<z.ZodString>;
3672
3689
  linkedEntityId: z.ZodOptional<z.ZodEffects<z.ZodString, EntityId, string>>;
3673
3690
  entityRefIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EntityId, string>>>;
@@ -4174,7 +4191,7 @@ declare const TraitSchema: z.ZodObject<{
4174
4191
  style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
4175
4192
  variant: z.ZodOptional<z.ZodString>;
4176
4193
  dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
4177
- aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
4194
+ aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1", "4:1", "5:3", "1:2"]>>;
4178
4195
  }, "strip", z.ZodTypeAny, {
4179
4196
  role: string;
4180
4197
  category: string;
@@ -4182,7 +4199,7 @@ declare const TraitSchema: z.ZodObject<{
4182
4199
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4183
4200
  variant?: string | undefined;
4184
4201
  dimension?: "2d" | "3d" | undefined;
4185
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
4202
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
4186
4203
  }, {
4187
4204
  role: string;
4188
4205
  category: string;
@@ -4190,7 +4207,7 @@ declare const TraitSchema: z.ZodObject<{
4190
4207
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4191
4208
  variant?: string | undefined;
4192
4209
  dimension?: "2d" | "3d" | undefined;
4193
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
4210
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
4194
4211
  }>>;
4195
4212
  }, "strip", z.ZodTypeAny, {
4196
4213
  name: string;
@@ -4222,7 +4239,7 @@ declare const TraitSchema: z.ZodObject<{
4222
4239
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4223
4240
  variant?: string | undefined;
4224
4241
  dimension?: "2d" | "3d" | undefined;
4225
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
4242
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
4226
4243
  } | undefined;
4227
4244
  }, {
4228
4245
  name: string;
@@ -4254,7 +4271,7 @@ declare const TraitSchema: z.ZodObject<{
4254
4271
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4255
4272
  variant?: string | undefined;
4256
4273
  dimension?: "2d" | "3d" | undefined;
4257
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
4274
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
4258
4275
  } | undefined;
4259
4276
  }>>;
4260
4277
  typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
@@ -4380,6 +4397,7 @@ declare const TraitSchema: z.ZodObject<{
4380
4397
  }[] | undefined;
4381
4398
  entityBindingDescription?: string | undefined;
4382
4399
  entityBindingSynonyms?: string | undefined;
4400
+ local?: boolean | undefined;
4383
4401
  entityRefIds?: Record<string, EntityId> | undefined;
4384
4402
  traitEmbedIds?: Record<string, TraitId> | undefined;
4385
4403
  requiredFields?: {
@@ -4436,7 +4454,7 @@ declare const TraitSchema: z.ZodObject<{
4436
4454
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4437
4455
  variant?: string | undefined;
4438
4456
  dimension?: "2d" | "3d" | undefined;
4439
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
4457
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
4440
4458
  } | undefined;
4441
4459
  } | undefined;
4442
4460
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -4562,6 +4580,7 @@ declare const TraitSchema: z.ZodObject<{
4562
4580
  }[] | undefined;
4563
4581
  entityBindingDescription?: string | undefined;
4564
4582
  entityBindingSynonyms?: string | undefined;
4583
+ local?: boolean | undefined;
4565
4584
  entityRefIds?: Record<string, string> | undefined;
4566
4585
  traitEmbedIds?: Record<string, string> | undefined;
4567
4586
  requiredFields?: {
@@ -4618,7 +4637,7 @@ declare const TraitSchema: z.ZodObject<{
4618
4637
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
4619
4638
  variant?: string | undefined;
4620
4639
  dimension?: "2d" | "3d" | undefined;
4621
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
4640
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
4622
4641
  } | undefined;
4623
4642
  } | undefined;
4624
4643
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -4670,6 +4689,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
4670
4689
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
4671
4690
  capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4672
4691
  scope: z.ZodEnum<["instance", "collection"]>;
4692
+ /** `local` trait-header flag — declares client-only dispatch (mirrors Rust `OirTrait::local`). Undeclared = server-gated dispatch. */
4693
+ local: z.ZodOptional<z.ZodBoolean>;
4673
4694
  linkedEntity: z.ZodOptional<z.ZodString>;
4674
4695
  linkedEntityId: z.ZodOptional<z.ZodEffects<z.ZodString, EntityId, string>>;
4675
4696
  entityRefIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EntityId, string>>>;
@@ -5176,7 +5197,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5176
5197
  style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
5177
5198
  variant: z.ZodOptional<z.ZodString>;
5178
5199
  dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
5179
- aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
5200
+ aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1", "4:1", "5:3", "1:2"]>>;
5180
5201
  }, "strip", z.ZodTypeAny, {
5181
5202
  role: string;
5182
5203
  category: string;
@@ -5184,7 +5205,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5184
5205
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5185
5206
  variant?: string | undefined;
5186
5207
  dimension?: "2d" | "3d" | undefined;
5187
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
5208
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
5188
5209
  }, {
5189
5210
  role: string;
5190
5211
  category: string;
@@ -5192,7 +5213,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5192
5213
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5193
5214
  variant?: string | undefined;
5194
5215
  dimension?: "2d" | "3d" | undefined;
5195
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
5216
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
5196
5217
  }>>;
5197
5218
  }, "strip", z.ZodTypeAny, {
5198
5219
  name: string;
@@ -5224,7 +5245,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5224
5245
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5225
5246
  variant?: string | undefined;
5226
5247
  dimension?: "2d" | "3d" | undefined;
5227
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
5248
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
5228
5249
  } | undefined;
5229
5250
  }, {
5230
5251
  name: string;
@@ -5256,7 +5277,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5256
5277
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5257
5278
  variant?: string | undefined;
5258
5279
  dimension?: "2d" | "3d" | undefined;
5259
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
5280
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
5260
5281
  } | undefined;
5261
5282
  }>>;
5262
5283
  typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
@@ -5382,6 +5403,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5382
5403
  }[] | undefined;
5383
5404
  entityBindingDescription?: string | undefined;
5384
5405
  entityBindingSynonyms?: string | undefined;
5406
+ local?: boolean | undefined;
5385
5407
  entityRefIds?: Record<string, EntityId> | undefined;
5386
5408
  traitEmbedIds?: Record<string, TraitId> | undefined;
5387
5409
  requiredFields?: {
@@ -5438,7 +5460,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5438
5460
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5439
5461
  variant?: string | undefined;
5440
5462
  dimension?: "2d" | "3d" | undefined;
5441
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
5463
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
5442
5464
  } | undefined;
5443
5465
  } | undefined;
5444
5466
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -5564,6 +5586,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5564
5586
  }[] | undefined;
5565
5587
  entityBindingDescription?: string | undefined;
5566
5588
  entityBindingSynonyms?: string | undefined;
5589
+ local?: boolean | undefined;
5567
5590
  entityRefIds?: Record<string, string> | undefined;
5568
5591
  traitEmbedIds?: Record<string, string> | undefined;
5569
5592
  requiredFields?: {
@@ -5620,7 +5643,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5620
5643
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5621
5644
  variant?: string | undefined;
5622
5645
  dimension?: "2d" | "3d" | undefined;
5623
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
5646
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
5624
5647
  } | undefined;
5625
5648
  } | undefined;
5626
5649
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -5889,6 +5912,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5889
5912
  }[] | undefined;
5890
5913
  entityBindingDescription?: string | undefined;
5891
5914
  entityBindingSynonyms?: string | undefined;
5915
+ local?: boolean | undefined;
5892
5916
  entityRefIds?: Record<string, EntityId> | undefined;
5893
5917
  traitEmbedIds?: Record<string, TraitId> | undefined;
5894
5918
  requiredFields?: {
@@ -5945,7 +5969,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
5945
5969
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
5946
5970
  variant?: string | undefined;
5947
5971
  dimension?: "2d" | "3d" | undefined;
5948
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
5972
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
5949
5973
  } | undefined;
5950
5974
  } | undefined;
5951
5975
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -6113,6 +6137,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6113
6137
  }[] | undefined;
6114
6138
  entityBindingDescription?: string | undefined;
6115
6139
  entityBindingSynonyms?: string | undefined;
6140
+ local?: boolean | undefined;
6116
6141
  entityRefIds?: Record<string, string> | undefined;
6117
6142
  traitEmbedIds?: Record<string, string> | undefined;
6118
6143
  requiredFields?: {
@@ -6169,7 +6194,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6169
6194
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
6170
6195
  variant?: string | undefined;
6171
6196
  dimension?: "2d" | "3d" | undefined;
6172
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
6197
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
6173
6198
  } | undefined;
6174
6199
  } | undefined;
6175
6200
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -6337,6 +6362,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6337
6362
  }[] | undefined;
6338
6363
  entityBindingDescription?: string | undefined;
6339
6364
  entityBindingSynonyms?: string | undefined;
6365
+ local?: boolean | undefined;
6340
6366
  entityRefIds?: Record<string, EntityId> | undefined;
6341
6367
  traitEmbedIds?: Record<string, TraitId> | undefined;
6342
6368
  requiredFields?: {
@@ -6393,7 +6419,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6393
6419
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
6394
6420
  variant?: string | undefined;
6395
6421
  dimension?: "2d" | "3d" | undefined;
6396
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
6422
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
6397
6423
  } | undefined;
6398
6424
  } | undefined;
6399
6425
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -6561,6 +6587,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6561
6587
  }[] | undefined;
6562
6588
  entityBindingDescription?: string | undefined;
6563
6589
  entityBindingSynonyms?: string | undefined;
6590
+ local?: boolean | undefined;
6564
6591
  entityRefIds?: Record<string, string> | undefined;
6565
6592
  traitEmbedIds?: Record<string, string> | undefined;
6566
6593
  requiredFields?: {
@@ -6617,7 +6644,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6617
6644
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
6618
6645
  variant?: string | undefined;
6619
6646
  dimension?: "2d" | "3d" | undefined;
6620
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
6647
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
6621
6648
  } | undefined;
6622
6649
  } | undefined;
6623
6650
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -6661,6 +6688,8 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
6661
6688
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
6662
6689
  capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6663
6690
  scope: z.ZodEnum<["instance", "collection"]>;
6691
+ /** `local` trait-header flag — declares client-only dispatch (mirrors Rust `OirTrait::local`). Undeclared = server-gated dispatch. */
6692
+ local: z.ZodOptional<z.ZodBoolean>;
6664
6693
  linkedEntity: z.ZodOptional<z.ZodString>;
6665
6694
  linkedEntityId: z.ZodOptional<z.ZodEffects<z.ZodString, EntityId, string>>;
6666
6695
  entityRefIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EntityId, string>>>;
@@ -7167,7 +7196,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7167
7196
  style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
7168
7197
  variant: z.ZodOptional<z.ZodString>;
7169
7198
  dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
7170
- aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
7199
+ aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1", "4:1", "5:3", "1:2"]>>;
7171
7200
  }, "strip", z.ZodTypeAny, {
7172
7201
  role: string;
7173
7202
  category: string;
@@ -7175,7 +7204,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7175
7204
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7176
7205
  variant?: string | undefined;
7177
7206
  dimension?: "2d" | "3d" | undefined;
7178
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
7207
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
7179
7208
  }, {
7180
7209
  role: string;
7181
7210
  category: string;
@@ -7183,7 +7212,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7183
7212
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7184
7213
  variant?: string | undefined;
7185
7214
  dimension?: "2d" | "3d" | undefined;
7186
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
7215
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
7187
7216
  }>>;
7188
7217
  }, "strip", z.ZodTypeAny, {
7189
7218
  name: string;
@@ -7215,7 +7244,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7215
7244
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7216
7245
  variant?: string | undefined;
7217
7246
  dimension?: "2d" | "3d" | undefined;
7218
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
7247
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
7219
7248
  } | undefined;
7220
7249
  }, {
7221
7250
  name: string;
@@ -7247,7 +7276,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7247
7276
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7248
7277
  variant?: string | undefined;
7249
7278
  dimension?: "2d" | "3d" | undefined;
7250
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
7279
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
7251
7280
  } | undefined;
7252
7281
  }>>;
7253
7282
  typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
@@ -7373,6 +7402,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7373
7402
  }[] | undefined;
7374
7403
  entityBindingDescription?: string | undefined;
7375
7404
  entityBindingSynonyms?: string | undefined;
7405
+ local?: boolean | undefined;
7376
7406
  entityRefIds?: Record<string, EntityId> | undefined;
7377
7407
  traitEmbedIds?: Record<string, TraitId> | undefined;
7378
7408
  requiredFields?: {
@@ -7429,7 +7459,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7429
7459
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7430
7460
  variant?: string | undefined;
7431
7461
  dimension?: "2d" | "3d" | undefined;
7432
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
7462
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
7433
7463
  } | undefined;
7434
7464
  } | undefined;
7435
7465
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -7555,6 +7585,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7555
7585
  }[] | undefined;
7556
7586
  entityBindingDescription?: string | undefined;
7557
7587
  entityBindingSynonyms?: string | undefined;
7588
+ local?: boolean | undefined;
7558
7589
  entityRefIds?: Record<string, string> | undefined;
7559
7590
  traitEmbedIds?: Record<string, string> | undefined;
7560
7591
  requiredFields?: {
@@ -7611,7 +7642,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
7611
7642
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
7612
7643
  variant?: string | undefined;
7613
7644
  dimension?: "2d" | "3d" | undefined;
7614
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
7645
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
7615
7646
  } | undefined;
7616
7647
  } | undefined;
7617
7648
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -7733,6 +7764,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
7733
7764
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
7734
7765
  capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7735
7766
  scope: z.ZodEnum<["instance", "collection"]>;
7767
+ /** `local` trait-header flag — declares client-only dispatch (mirrors Rust `OirTrait::local`). Undeclared = server-gated dispatch. */
7768
+ local: z.ZodOptional<z.ZodBoolean>;
7736
7769
  linkedEntity: z.ZodOptional<z.ZodString>;
7737
7770
  linkedEntityId: z.ZodOptional<z.ZodEffects<z.ZodString, EntityId, string>>;
7738
7771
  entityRefIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EntityId, string>>>;
@@ -8239,7 +8272,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8239
8272
  style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
8240
8273
  variant: z.ZodOptional<z.ZodString>;
8241
8274
  dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
8242
- aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
8275
+ aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1", "4:1", "5:3", "1:2"]>>;
8243
8276
  }, "strip", z.ZodTypeAny, {
8244
8277
  role: string;
8245
8278
  category: string;
@@ -8247,7 +8280,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8247
8280
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8248
8281
  variant?: string | undefined;
8249
8282
  dimension?: "2d" | "3d" | undefined;
8250
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
8283
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
8251
8284
  }, {
8252
8285
  role: string;
8253
8286
  category: string;
@@ -8255,7 +8288,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8255
8288
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8256
8289
  variant?: string | undefined;
8257
8290
  dimension?: "2d" | "3d" | undefined;
8258
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
8291
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
8259
8292
  }>>;
8260
8293
  }, "strip", z.ZodTypeAny, {
8261
8294
  name: string;
@@ -8287,7 +8320,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8287
8320
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8288
8321
  variant?: string | undefined;
8289
8322
  dimension?: "2d" | "3d" | undefined;
8290
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
8323
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
8291
8324
  } | undefined;
8292
8325
  }, {
8293
8326
  name: string;
@@ -8319,7 +8352,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8319
8352
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8320
8353
  variant?: string | undefined;
8321
8354
  dimension?: "2d" | "3d" | undefined;
8322
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
8355
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
8323
8356
  } | undefined;
8324
8357
  }>>;
8325
8358
  typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
@@ -8445,6 +8478,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8445
8478
  }[] | undefined;
8446
8479
  entityBindingDescription?: string | undefined;
8447
8480
  entityBindingSynonyms?: string | undefined;
8481
+ local?: boolean | undefined;
8448
8482
  entityRefIds?: Record<string, EntityId> | undefined;
8449
8483
  traitEmbedIds?: Record<string, TraitId> | undefined;
8450
8484
  requiredFields?: {
@@ -8501,7 +8535,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8501
8535
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8502
8536
  variant?: string | undefined;
8503
8537
  dimension?: "2d" | "3d" | undefined;
8504
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
8538
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
8505
8539
  } | undefined;
8506
8540
  } | undefined;
8507
8541
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -8627,6 +8661,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8627
8661
  }[] | undefined;
8628
8662
  entityBindingDescription?: string | undefined;
8629
8663
  entityBindingSynonyms?: string | undefined;
8664
+ local?: boolean | undefined;
8630
8665
  entityRefIds?: Record<string, string> | undefined;
8631
8666
  traitEmbedIds?: Record<string, string> | undefined;
8632
8667
  requiredFields?: {
@@ -8683,7 +8718,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8683
8718
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
8684
8719
  variant?: string | undefined;
8685
8720
  dimension?: "2d" | "3d" | undefined;
8686
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
8721
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
8687
8722
  } | undefined;
8688
8723
  } | undefined;
8689
8724
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -8952,6 +8987,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
8952
8987
  }[] | undefined;
8953
8988
  entityBindingDescription?: string | undefined;
8954
8989
  entityBindingSynonyms?: string | undefined;
8990
+ local?: boolean | undefined;
8955
8991
  entityRefIds?: Record<string, EntityId> | undefined;
8956
8992
  traitEmbedIds?: Record<string, TraitId> | undefined;
8957
8993
  requiredFields?: {
@@ -9008,7 +9044,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9008
9044
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
9009
9045
  variant?: string | undefined;
9010
9046
  dimension?: "2d" | "3d" | undefined;
9011
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
9047
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
9012
9048
  } | undefined;
9013
9049
  } | undefined;
9014
9050
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -9176,6 +9212,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9176
9212
  }[] | undefined;
9177
9213
  entityBindingDescription?: string | undefined;
9178
9214
  entityBindingSynonyms?: string | undefined;
9215
+ local?: boolean | undefined;
9179
9216
  entityRefIds?: Record<string, string> | undefined;
9180
9217
  traitEmbedIds?: Record<string, string> | undefined;
9181
9218
  requiredFields?: {
@@ -9232,7 +9269,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9232
9269
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
9233
9270
  variant?: string | undefined;
9234
9271
  dimension?: "2d" | "3d" | undefined;
9235
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
9272
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
9236
9273
  } | undefined;
9237
9274
  } | undefined;
9238
9275
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -9400,6 +9437,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9400
9437
  }[] | undefined;
9401
9438
  entityBindingDescription?: string | undefined;
9402
9439
  entityBindingSynonyms?: string | undefined;
9440
+ local?: boolean | undefined;
9403
9441
  entityRefIds?: Record<string, EntityId> | undefined;
9404
9442
  traitEmbedIds?: Record<string, TraitId> | undefined;
9405
9443
  requiredFields?: {
@@ -9456,7 +9494,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9456
9494
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
9457
9495
  variant?: string | undefined;
9458
9496
  dimension?: "2d" | "3d" | undefined;
9459
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
9497
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
9460
9498
  } | undefined;
9461
9499
  } | undefined;
9462
9500
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -9624,6 +9662,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9624
9662
  }[] | undefined;
9625
9663
  entityBindingDescription?: string | undefined;
9626
9664
  entityBindingSynonyms?: string | undefined;
9665
+ local?: boolean | undefined;
9627
9666
  entityRefIds?: Record<string, string> | undefined;
9628
9667
  traitEmbedIds?: Record<string, string> | undefined;
9629
9668
  requiredFields?: {
@@ -9680,7 +9719,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9680
9719
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
9681
9720
  variant?: string | undefined;
9682
9721
  dimension?: "2d" | "3d" | undefined;
9683
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
9722
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
9684
9723
  } | undefined;
9685
9724
  } | undefined;
9686
9725
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -9724,6 +9763,8 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
9724
9763
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
9725
9764
  capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9726
9765
  scope: z.ZodEnum<["instance", "collection"]>;
9766
+ /** `local` trait-header flag — declares client-only dispatch (mirrors Rust `OirTrait::local`). Undeclared = server-gated dispatch. */
9767
+ local: z.ZodOptional<z.ZodBoolean>;
9727
9768
  linkedEntity: z.ZodOptional<z.ZodString>;
9728
9769
  linkedEntityId: z.ZodOptional<z.ZodEffects<z.ZodString, EntityId, string>>;
9729
9770
  entityRefIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EntityId, string>>>;
@@ -10230,7 +10271,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10230
10271
  style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
10231
10272
  variant: z.ZodOptional<z.ZodString>;
10232
10273
  dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
10233
- aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
10274
+ aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1", "4:1", "5:3", "1:2"]>>;
10234
10275
  }, "strip", z.ZodTypeAny, {
10235
10276
  role: string;
10236
10277
  category: string;
@@ -10238,7 +10279,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10238
10279
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10239
10280
  variant?: string | undefined;
10240
10281
  dimension?: "2d" | "3d" | undefined;
10241
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
10282
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
10242
10283
  }, {
10243
10284
  role: string;
10244
10285
  category: string;
@@ -10246,7 +10287,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10246
10287
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10247
10288
  variant?: string | undefined;
10248
10289
  dimension?: "2d" | "3d" | undefined;
10249
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
10290
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
10250
10291
  }>>;
10251
10292
  }, "strip", z.ZodTypeAny, {
10252
10293
  name: string;
@@ -10278,7 +10319,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10278
10319
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10279
10320
  variant?: string | undefined;
10280
10321
  dimension?: "2d" | "3d" | undefined;
10281
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
10322
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
10282
10323
  } | undefined;
10283
10324
  }, {
10284
10325
  name: string;
@@ -10310,7 +10351,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10310
10351
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10311
10352
  variant?: string | undefined;
10312
10353
  dimension?: "2d" | "3d" | undefined;
10313
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
10354
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
10314
10355
  } | undefined;
10315
10356
  }>>;
10316
10357
  typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
@@ -10436,6 +10477,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10436
10477
  }[] | undefined;
10437
10478
  entityBindingDescription?: string | undefined;
10438
10479
  entityBindingSynonyms?: string | undefined;
10480
+ local?: boolean | undefined;
10439
10481
  entityRefIds?: Record<string, EntityId> | undefined;
10440
10482
  traitEmbedIds?: Record<string, TraitId> | undefined;
10441
10483
  requiredFields?: {
@@ -10492,7 +10534,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10492
10534
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10493
10535
  variant?: string | undefined;
10494
10536
  dimension?: "2d" | "3d" | undefined;
10495
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
10537
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
10496
10538
  } | undefined;
10497
10539
  } | undefined;
10498
10540
  typeParams?: TraitTypeParamDef[] | undefined;
@@ -10618,6 +10660,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10618
10660
  }[] | undefined;
10619
10661
  entityBindingDescription?: string | undefined;
10620
10662
  entityBindingSynonyms?: string | undefined;
10663
+ local?: boolean | undefined;
10621
10664
  entityRefIds?: Record<string, string> | undefined;
10622
10665
  traitEmbedIds?: Record<string, string> | undefined;
10623
10666
  requiredFields?: {
@@ -10674,7 +10717,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
10674
10717
  style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
10675
10718
  variant?: string | undefined;
10676
10719
  dimension?: "2d" | "3d" | undefined;
10677
- aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
10720
+ aspect?: "1:1" | "16:9" | "5:7" | "8:1" | "4:1" | "5:3" | "1:2" | undefined;
10678
10721
  } | undefined;
10679
10722
  } | undefined;
10680
10723
  typeParams?: TraitTypeParamDef[] | undefined;