@almadar/core 10.78.0 → 10.79.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.
@@ -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-CW3s399G.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-Mx_niZdY.js';
2
2
  import { E as Expression, S as SExpr, J as JsonValue } from './expression-Fk8bQWef.js';
3
3
  import { z } from 'zod';
4
4
 
@@ -767,6 +767,15 @@ type TraitEventContract = {
767
767
  * vocabulary: doing so forbids the very name it exists to introduce.
768
768
  */
769
769
  definerKnob?: string;
770
+ /**
771
+ * `true` when `scope` was set by a CALL-SITE `emitsScope` override (the
772
+ * inline phase applies it), not by the source atom's own `-> external`
773
+ * declaration. An atom declaring its emits external is an unexamined
774
+ * default (nearly every atom does), while a composition restating it is
775
+ * the consumer's own deferral — the dead-control check honours it as an
776
+ * exemption. See ORB-X-EXTERNAL-EMIT-EXEMPTION.
777
+ */
778
+ scopeOverridden?: boolean;
770
779
  /** Payload schema — declarative type info for the event's payload.
771
780
  * Distinct from the runtime payload value (`@payload.X` bindings,
772
781
  * `EventPayload`) which is a separate concept. */
@@ -822,6 +831,7 @@ declare const TraitEventContractSchema: z.ZodObject<{
822
831
  synonyms: z.ZodOptional<z.ZodString>;
823
832
  tier: z.ZodOptional<z.ZodString>;
824
833
  definerKnob: z.ZodOptional<z.ZodString>;
834
+ scopeOverridden: z.ZodOptional<z.ZodBoolean>;
825
835
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodType<EventPayloadField, z.ZodTypeDef, EventPayloadField>, "many">>;
826
836
  scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
827
837
  }, "strip", z.ZodTypeAny, {
@@ -833,6 +843,7 @@ declare const TraitEventContractSchema: z.ZodObject<{
833
843
  tier?: string | undefined;
834
844
  payloadSchema?: EventPayloadField[] | undefined;
835
845
  definerKnob?: string | undefined;
846
+ scopeOverridden?: boolean | undefined;
836
847
  }, {
837
848
  event: string;
838
849
  description?: string | undefined;
@@ -842,6 +853,7 @@ declare const TraitEventContractSchema: z.ZodObject<{
842
853
  tier?: string | undefined;
843
854
  payloadSchema?: EventPayloadField[] | undefined;
844
855
  definerKnob?: string | undefined;
856
+ scopeOverridden?: boolean | undefined;
845
857
  }>;
846
858
  /**
847
859
  * Event listener for trait communication.
@@ -1103,6 +1115,15 @@ type TraitReference = {
1103
1115
  name?: string;
1104
1116
  /** Phase F: rename atom event keys at the call site, e.g. {OPEN: "ADD_ITEM"} */
1105
1117
  events?: Record<string, string>;
1118
+ /**
1119
+ * 3-II trait type-parameter arguments (`:: p SomeType` in `.lolo`):
1120
+ * declared-param name → type-vocabulary name (an entity, a primitive incl.
1121
+ * `scalar`, or a struct alias from the AUTHORING file's `types` map).
1122
+ * Present on pre-inline registry references only — the inline phase
1123
+ * consumes it while resolving `$<name>` payload sentinels and it never
1124
+ * appears in a final composed `.orb`.
1125
+ */
1126
+ typeArgs?: Record<string, string>;
1106
1127
  /** V4 dual-carry id sibling of `events` (keys = baked event names resolved to ids) — optional until the Phase-7 flip. */
1107
1128
  eventIds?: Record<string, EventId>;
1108
1129
  /**
@@ -1176,6 +1197,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1176
1197
  name: z.ZodOptional<z.ZodString>;
1177
1198
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1178
1199
  eventIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EventId, string>>>;
1200
+ typeArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1179
1201
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1180
1202
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
1181
1203
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1317,6 +1339,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1317
1339
  appliesTo?: string[] | undefined;
1318
1340
  linkedEntityId?: EntityId | undefined;
1319
1341
  eventIds?: Record<string, EventId> | undefined;
1342
+ typeArgs?: Record<string, string> | undefined;
1320
1343
  emitsScope?: "internal" | "external" | undefined;
1321
1344
  }, {
1322
1345
  ref: string;
@@ -1357,6 +1380,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1357
1380
  appliesTo?: string[] | undefined;
1358
1381
  linkedEntityId?: string | undefined;
1359
1382
  eventIds?: Record<string, string> | undefined;
1383
+ typeArgs?: Record<string, string> | undefined;
1360
1384
  emitsScope?: "internal" | "external" | undefined;
1361
1385
  }>, {
1362
1386
  ref: string;
@@ -1397,6 +1421,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1397
1421
  appliesTo?: string[] | undefined;
1398
1422
  linkedEntityId?: EntityId | undefined;
1399
1423
  eventIds?: Record<string, EventId> | undefined;
1424
+ typeArgs?: Record<string, string> | undefined;
1400
1425
  emitsScope?: "internal" | "external" | undefined;
1401
1426
  }, {
1402
1427
  ref: string;
@@ -1437,6 +1462,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
1437
1462
  appliesTo?: string[] | undefined;
1438
1463
  linkedEntityId?: string | undefined;
1439
1464
  eventIds?: Record<string, string> | undefined;
1465
+ typeArgs?: Record<string, string> | undefined;
1440
1466
  emitsScope?: "internal" | "external" | undefined;
1441
1467
  }>;
1442
1468
  /**
@@ -1694,6 +1720,12 @@ type Trait = {
1694
1720
  * `linkedEntity` without re-walking the import graph at runtime.
1695
1721
  */
1696
1722
  sourceEntityDefinition?: Entity;
1723
+ /**
1724
+ * Increment 3-II: this trait's own declared type parameters. Present
1725
+ * only on an atom's DECLARING inline trait (never authored on a
1726
+ * reference); survives cloning into a consumer's composed schema.
1727
+ */
1728
+ typeParams?: TraitTypeParamDef[];
1697
1729
  };
1698
1730
  /**
1699
1731
  * Provenance attached to a trait that was cloned from a `uses[]` import
@@ -1711,6 +1743,28 @@ type SourceBehaviorMetadata = {
1711
1743
  * call-site `name:` rename. */
1712
1744
  originalName: string;
1713
1745
  };
1746
+ /**
1747
+ * One trait-level type parameter — `(V : Type, R : Type)` in
1748
+ * `trait Name (V : Type, R : Type) -> Entity { ... }`. Present only on an
1749
+ * atom's DECLARING inline trait; survives cloning into a consumer's composed
1750
+ * schema so the inline phase can read each param's `kind` when resolving a
1751
+ * surviving `"$<name>"` payload sentinel. `kind` is one of the six alias
1752
+ * type-parameter kind names (`Type`, `Entity`, `Trait`, `Page`, `Orbital`,
1753
+ * `Event`) — in practice `Type` and `Entity` are the two meaningful kinds
1754
+ * for a trait param today.
1755
+ */
1756
+ type TraitTypeParamDef = {
1757
+ name: string;
1758
+ kind: string;
1759
+ /**
1760
+ * Declaration default (`(r : Type = <name>)`) — a primitive name (incl.
1761
+ * `scalar`), an entity name, or a struct-alias name, all resolved in
1762
+ * the atom's own file. Consulted only when no call-site `::` arg was
1763
+ * supplied (and, for Entity-kind, only when `linkedEntity` also gave no
1764
+ * default).
1765
+ */
1766
+ default?: string;
1767
+ };
1714
1768
  declare const TraitSchema: z.ZodObject<{
1715
1769
  id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
1716
1770
  name: z.ZodString;
@@ -1997,6 +2051,7 @@ declare const TraitSchema: z.ZodObject<{
1997
2051
  synonyms: z.ZodOptional<z.ZodString>;
1998
2052
  tier: z.ZodOptional<z.ZodString>;
1999
2053
  definerKnob: z.ZodOptional<z.ZodString>;
2054
+ scopeOverridden: z.ZodOptional<z.ZodBoolean>;
2000
2055
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodType<EventPayloadField, z.ZodTypeDef, EventPayloadField>, "many">>;
2001
2056
  scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
2002
2057
  }, "strip", z.ZodTypeAny, {
@@ -2008,6 +2063,7 @@ declare const TraitSchema: z.ZodObject<{
2008
2063
  tier?: string | undefined;
2009
2064
  payloadSchema?: EventPayloadField[] | undefined;
2010
2065
  definerKnob?: string | undefined;
2066
+ scopeOverridden?: boolean | undefined;
2011
2067
  }, {
2012
2068
  event: string;
2013
2069
  description?: string | undefined;
@@ -2017,6 +2073,7 @@ declare const TraitSchema: z.ZodObject<{
2017
2073
  tier?: string | undefined;
2018
2074
  payloadSchema?: EventPayloadField[] | undefined;
2019
2075
  definerKnob?: string | undefined;
2076
+ scopeOverridden?: boolean | undefined;
2020
2077
  }>, "many">>;
2021
2078
  listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
2022
2079
  event: z.ZodString;
@@ -2307,6 +2364,7 @@ declare const TraitSchema: z.ZodObject<{
2307
2364
  aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
2308
2365
  } | undefined;
2309
2366
  }>>;
2367
+ typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
2310
2368
  }, "strip", z.ZodTypeAny, {
2311
2369
  name: string;
2312
2370
  scope: "collection" | "instance";
@@ -2337,6 +2395,7 @@ declare const TraitSchema: z.ZodObject<{
2337
2395
  tier?: string | undefined;
2338
2396
  payloadSchema?: EventPayloadField[] | undefined;
2339
2397
  definerKnob?: string | undefined;
2398
+ scopeOverridden?: boolean | undefined;
2340
2399
  }[] | undefined;
2341
2400
  listens?: {
2342
2401
  event: string;
@@ -2478,6 +2537,7 @@ declare const TraitSchema: z.ZodObject<{
2478
2537
  aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
2479
2538
  } | undefined;
2480
2539
  } | undefined;
2540
+ typeParams?: TraitTypeParamDef[] | undefined;
2481
2541
  }, {
2482
2542
  name: string;
2483
2543
  scope: "collection" | "instance";
@@ -2508,6 +2568,7 @@ declare const TraitSchema: z.ZodObject<{
2508
2568
  tier?: string | undefined;
2509
2569
  payloadSchema?: EventPayloadField[] | undefined;
2510
2570
  definerKnob?: string | undefined;
2571
+ scopeOverridden?: boolean | undefined;
2511
2572
  }[] | undefined;
2512
2573
  listens?: {
2513
2574
  event: string;
@@ -2649,6 +2710,7 @@ declare const TraitSchema: z.ZodObject<{
2649
2710
  aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
2650
2711
  } | undefined;
2651
2712
  } | undefined;
2713
+ typeParams?: TraitTypeParamDef[] | undefined;
2652
2714
  }>;
2653
2715
  declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
2654
2716
  ref: z.ZodString;
@@ -2660,6 +2722,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
2660
2722
  name: z.ZodOptional<z.ZodString>;
2661
2723
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2662
2724
  eventIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EventId, string>>>;
2725
+ typeArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2663
2726
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2664
2727
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
2665
2728
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2801,6 +2864,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
2801
2864
  appliesTo?: string[] | undefined;
2802
2865
  linkedEntityId?: EntityId | undefined;
2803
2866
  eventIds?: Record<string, EventId> | undefined;
2867
+ typeArgs?: Record<string, string> | undefined;
2804
2868
  emitsScope?: "internal" | "external" | undefined;
2805
2869
  }, {
2806
2870
  ref: string;
@@ -2841,6 +2905,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
2841
2905
  appliesTo?: string[] | undefined;
2842
2906
  linkedEntityId?: string | undefined;
2843
2907
  eventIds?: Record<string, string> | undefined;
2908
+ typeArgs?: Record<string, string> | undefined;
2844
2909
  emitsScope?: "internal" | "external" | undefined;
2845
2910
  }>, {
2846
2911
  ref: string;
@@ -2881,6 +2946,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
2881
2946
  appliesTo?: string[] | undefined;
2882
2947
  linkedEntityId?: EntityId | undefined;
2883
2948
  eventIds?: Record<string, EventId> | undefined;
2949
+ typeArgs?: Record<string, string> | undefined;
2884
2950
  emitsScope?: "internal" | "external" | undefined;
2885
2951
  }, {
2886
2952
  ref: string;
@@ -2921,6 +2987,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
2921
2987
  appliesTo?: string[] | undefined;
2922
2988
  linkedEntityId?: string | undefined;
2923
2989
  eventIds?: Record<string, string> | undefined;
2990
+ typeArgs?: Record<string, string> | undefined;
2924
2991
  emitsScope?: "internal" | "external" | undefined;
2925
2992
  }>, z.ZodObject<{
2926
2993
  id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
@@ -3208,6 +3275,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
3208
3275
  synonyms: z.ZodOptional<z.ZodString>;
3209
3276
  tier: z.ZodOptional<z.ZodString>;
3210
3277
  definerKnob: z.ZodOptional<z.ZodString>;
3278
+ scopeOverridden: z.ZodOptional<z.ZodBoolean>;
3211
3279
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodType<EventPayloadField, z.ZodTypeDef, EventPayloadField>, "many">>;
3212
3280
  scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
3213
3281
  }, "strip", z.ZodTypeAny, {
@@ -3219,6 +3287,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
3219
3287
  tier?: string | undefined;
3220
3288
  payloadSchema?: EventPayloadField[] | undefined;
3221
3289
  definerKnob?: string | undefined;
3290
+ scopeOverridden?: boolean | undefined;
3222
3291
  }, {
3223
3292
  event: string;
3224
3293
  description?: string | undefined;
@@ -3228,6 +3297,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
3228
3297
  tier?: string | undefined;
3229
3298
  payloadSchema?: EventPayloadField[] | undefined;
3230
3299
  definerKnob?: string | undefined;
3300
+ scopeOverridden?: boolean | undefined;
3231
3301
  }>, "many">>;
3232
3302
  listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
3233
3303
  event: z.ZodString;
@@ -3518,6 +3588,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
3518
3588
  aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
3519
3589
  } | undefined;
3520
3590
  }>>;
3591
+ typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
3521
3592
  }, "strip", z.ZodTypeAny, {
3522
3593
  name: string;
3523
3594
  scope: "collection" | "instance";
@@ -3548,6 +3619,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
3548
3619
  tier?: string | undefined;
3549
3620
  payloadSchema?: EventPayloadField[] | undefined;
3550
3621
  definerKnob?: string | undefined;
3622
+ scopeOverridden?: boolean | undefined;
3551
3623
  }[] | undefined;
3552
3624
  listens?: {
3553
3625
  event: string;
@@ -3689,6 +3761,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
3689
3761
  aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
3690
3762
  } | undefined;
3691
3763
  } | undefined;
3764
+ typeParams?: TraitTypeParamDef[] | undefined;
3692
3765
  }, {
3693
3766
  name: string;
3694
3767
  scope: "collection" | "instance";
@@ -3719,6 +3792,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
3719
3792
  tier?: string | undefined;
3720
3793
  payloadSchema?: EventPayloadField[] | undefined;
3721
3794
  definerKnob?: string | undefined;
3795
+ scopeOverridden?: boolean | undefined;
3722
3796
  }[] | undefined;
3723
3797
  listens?: {
3724
3798
  event: string;
@@ -3860,6 +3934,7 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
3860
3934
  aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
3861
3935
  } | undefined;
3862
3936
  } | undefined;
3937
+ typeParams?: TraitTypeParamDef[] | undefined;
3863
3938
  }>]>;
3864
3939
  /**
3865
3940
  * Check if a trait ref is an inline Trait definition
@@ -3941,6 +4016,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
3941
4016
  name: z.ZodOptional<z.ZodString>;
3942
4017
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3943
4018
  eventIds: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, EventId, string>>>;
4019
+ typeArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3944
4020
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3945
4021
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
3946
4022
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4082,6 +4158,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
4082
4158
  appliesTo?: string[] | undefined;
4083
4159
  linkedEntityId?: EntityId | undefined;
4084
4160
  eventIds?: Record<string, EventId> | undefined;
4161
+ typeArgs?: Record<string, string> | undefined;
4085
4162
  emitsScope?: "internal" | "external" | undefined;
4086
4163
  }, {
4087
4164
  ref: string;
@@ -4122,6 +4199,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
4122
4199
  appliesTo?: string[] | undefined;
4123
4200
  linkedEntityId?: string | undefined;
4124
4201
  eventIds?: Record<string, string> | undefined;
4202
+ typeArgs?: Record<string, string> | undefined;
4125
4203
  emitsScope?: "internal" | "external" | undefined;
4126
4204
  }>, {
4127
4205
  ref: string;
@@ -4162,6 +4240,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
4162
4240
  appliesTo?: string[] | undefined;
4163
4241
  linkedEntityId?: EntityId | undefined;
4164
4242
  eventIds?: Record<string, EventId> | undefined;
4243
+ typeArgs?: Record<string, string> | undefined;
4165
4244
  emitsScope?: "internal" | "external" | undefined;
4166
4245
  }, {
4167
4246
  ref: string;
@@ -4202,6 +4281,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
4202
4281
  appliesTo?: string[] | undefined;
4203
4282
  linkedEntityId?: string | undefined;
4204
4283
  eventIds?: Record<string, string> | undefined;
4284
+ typeArgs?: Record<string, string> | undefined;
4205
4285
  emitsScope?: "internal" | "external" | undefined;
4206
4286
  }>, z.ZodObject<{
4207
4287
  id: z.ZodOptional<z.ZodEffects<z.ZodString, TraitId, string>>;
@@ -4489,6 +4569,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
4489
4569
  synonyms: z.ZodOptional<z.ZodString>;
4490
4570
  tier: z.ZodOptional<z.ZodString>;
4491
4571
  definerKnob: z.ZodOptional<z.ZodString>;
4572
+ scopeOverridden: z.ZodOptional<z.ZodBoolean>;
4492
4573
  payloadSchema: z.ZodOptional<z.ZodArray<z.ZodType<EventPayloadField, z.ZodTypeDef, EventPayloadField>, "many">>;
4493
4574
  scope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
4494
4575
  }, "strip", z.ZodTypeAny, {
@@ -4500,6 +4581,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
4500
4581
  tier?: string | undefined;
4501
4582
  payloadSchema?: EventPayloadField[] | undefined;
4502
4583
  definerKnob?: string | undefined;
4584
+ scopeOverridden?: boolean | undefined;
4503
4585
  }, {
4504
4586
  event: string;
4505
4587
  description?: string | undefined;
@@ -4509,6 +4591,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
4509
4591
  tier?: string | undefined;
4510
4592
  payloadSchema?: EventPayloadField[] | undefined;
4511
4593
  definerKnob?: string | undefined;
4594
+ scopeOverridden?: boolean | undefined;
4512
4595
  }>, "many">>;
4513
4596
  listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
4514
4597
  event: z.ZodString;
@@ -4799,6 +4882,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
4799
4882
  aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
4800
4883
  } | undefined;
4801
4884
  }>>;
4885
+ typeParams: z.ZodOptional<z.ZodArray<z.ZodType<TraitTypeParamDef, z.ZodTypeDef, TraitTypeParamDef>, "many">>;
4802
4886
  }, "strip", z.ZodTypeAny, {
4803
4887
  name: string;
4804
4888
  scope: "collection" | "instance";
@@ -4829,6 +4913,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
4829
4913
  tier?: string | undefined;
4830
4914
  payloadSchema?: EventPayloadField[] | undefined;
4831
4915
  definerKnob?: string | undefined;
4916
+ scopeOverridden?: boolean | undefined;
4832
4917
  }[] | undefined;
4833
4918
  listens?: {
4834
4919
  event: string;
@@ -4970,6 +5055,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
4970
5055
  aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
4971
5056
  } | undefined;
4972
5057
  } | undefined;
5058
+ typeParams?: TraitTypeParamDef[] | undefined;
4973
5059
  }, {
4974
5060
  name: string;
4975
5061
  scope: "collection" | "instance";
@@ -5000,6 +5086,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
5000
5086
  tier?: string | undefined;
5001
5087
  payloadSchema?: EventPayloadField[] | undefined;
5002
5088
  definerKnob?: string | undefined;
5089
+ scopeOverridden?: boolean | undefined;
5003
5090
  }[] | undefined;
5004
5091
  listens?: {
5005
5092
  event: string;
@@ -5141,6 +5228,7 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
5141
5228
  aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
5142
5229
  } | undefined;
5143
5230
  } | undefined;
5231
+ typeParams?: TraitTypeParamDef[] | undefined;
5144
5232
  }>]>;
5145
5233
 
5146
- export { TraitConfigValueSchema as $, OrbitalTraitRefSchema as A, PayloadFieldSchema as B, type ConfigFieldDeclaration as C, type DeclaredTraitConfig as D, type EventPayloadField as E, type PresentationType as F, type Guard as G, type ReferenceConfigType as H, type RequiredField as I, RequiredFieldSchema as J, SECRET_CONFIG_TYPES as K, type ListenSource as L, type SecretConfigType as M, type StateInput as N, type OrbitalTraitRef as O, type PayloadField as P, type StateMachine as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, type StateMachineInput as U, StateMachineSchema as V, StateSchema as W, TickIntervalSchema as X, type TraitCategory as Y, TraitCategorySchema as Z, TraitConfigSchema as _, type TraitReference as a, type TraitDataEntity as a0, TraitDataEntitySchema as a1, TraitEntityFieldSchema as a2, TraitEventContractSchema as a3, TraitEventListenerSchema as a4, type TraitInput as a5, TraitRefSchema as a6, type TraitReferenceInput as a7, TraitReferenceSchema as a8, TraitSchema as a9, type TraitTick as aa, TraitTickSchema as ab, type TraitUIBinding as ac, TraitUIBindingSchema as ad, type Transition as ae, type TransitionInput as af, TransitionSchema as ag, configRefEventKnob as ah, getTraitConfig as ai, getTraitName as aj, isCallSiteConfigDeclaration as ak, isCircuitEvent as al, isInlineTrait as am, isReferenceConfigType as an, isSecretConfigType as ao, maskSecretConfigValues as ap, normalizeCallSiteConfigToValues as aq, normalizeTraitRef as ar, resolveConfigRefEventName as as, type TraitScope as at, type TraitConfig as b, type TraitConfigObject as c, type TraitRef as d, type TraitConfigValue as e, type TraitEntityField as f, type Trait as g, type CallSiteConfig as h, type CallSiteConfigEntry as i, type TraitEventContract as j, CONFIG_REF_EVENT_PATTERN as k, ConfigFieldDeclarationSchema as l, type ConfigFieldItemsDeclaration as m, type ConfigRefEventError as n, DeclaredTraitConfigSchema as o, type EntityFieldContract as p, EntityFieldContractSchema as q, type Event as r, type EventInput as s, EventPayloadFieldSchema as t, EventSchema as u, type EventScope as v, EventScopeSchema as w, type GuardInput as x, GuardSchema as y, ListenSourceSchema as z };
5234
+ export { TraitConfigSchema as $, ListenSourceSchema as A, OrbitalTraitRefSchema as B, type ConfigFieldDeclaration as C, type DeclaredTraitConfig as D, type EventPayloadField as E, PayloadFieldSchema as F, type Guard as G, type PresentationType as H, type ReferenceConfigType as I, type RequiredField as J, RequiredFieldSchema as K, type ListenSource as L, SECRET_CONFIG_TYPES as M, type SecretConfigType as N, type OrbitalTraitRef as O, type PayloadField as P, type StateInput as Q, REFERENCE_CONFIG_TYPES as R, type State as S, type TraitEventListener as T, type StateMachine as U, type StateMachineInput as V, StateMachineSchema as W, StateSchema as X, TickIntervalSchema as Y, type TraitCategory as Z, TraitCategorySchema as _, type TraitReference as a, TraitConfigValueSchema as a0, type TraitDataEntity as a1, TraitDataEntitySchema as a2, TraitEntityFieldSchema as a3, TraitEventContractSchema as a4, TraitEventListenerSchema as a5, type TraitInput as a6, TraitRefSchema as a7, type TraitReferenceInput as a8, TraitReferenceSchema as a9, TraitSchema as aa, type TraitTick as ab, TraitTickSchema as ac, type TraitUIBinding as ad, TraitUIBindingSchema as ae, type Transition as af, type TransitionInput as ag, TransitionSchema as ah, configRefEventKnob as ai, getTraitConfig as aj, getTraitName as ak, isCallSiteConfigDeclaration as al, isCircuitEvent as am, isInlineTrait as an, isReferenceConfigType as ao, isSecretConfigType as ap, maskSecretConfigValues as aq, normalizeCallSiteConfigToValues as ar, normalizeTraitRef as as, resolveConfigRefEventName as at, type TraitScope as au, type TraitConfig as b, type TraitConfigObject as c, type TraitRef as d, type TraitConfigValue as e, type TraitEntityField as f, type TraitTypeParamDef as g, type Trait as h, type CallSiteConfig as i, type CallSiteConfigEntry as j, type TraitEventContract as k, CONFIG_REF_EVENT_PATTERN as l, ConfigFieldDeclarationSchema as m, type ConfigFieldItemsDeclaration as n, type ConfigRefEventError as o, DeclaredTraitConfigSchema as p, type EntityFieldContract as q, EntityFieldContractSchema as r, type Event as s, type EventInput as t, EventPayloadFieldSchema as u, EventSchema as v, type EventScope as w, EventScopeSchema as x, type GuardInput as y, GuardSchema as z };
@@ -1,8 +1,8 @@
1
- export { A as AGENT_DOMAIN_CATEGORIES, f as ALLOWED_CUSTOM_COMPONENTS, g as AgentDomainCategory, h as AgentDomainCategorySchema, i as AllowedCustomComponent, O as AppSchema, C as ColorSlice, j as ColorSliceSchema, k as ColorTokens, l as ColorTokensSchema, m as ComputedEventContract, n as ComputedEventContractSchema, o as ComputedEventListener, p as ComputedEventListenerSchema, q as ConfigProvenanceRecord, r as ConfigProvenanceRecordSchema, s as CustomPatternDefinition, t as CustomPatternDefinitionInput, u as CustomPatternDefinitionSchema, v as CustomPatternMap, w as CustomPatternMapInput, x as CustomPatternMapSchema, D as DensitySlice, y as DensitySliceSchema, z as DensityTokens, B as DensityTokensSchema, F as DesignPreferences, G as DesignPreferencesInput, H as DesignPreferencesSchema, I as DesignTokens, J as DesignTokensInput, K as DesignTokensSchema, L as DomainCategory, M as DomainCategorySchema, N as DomainContext, Q as DomainContextInput, R as DomainContextSchema, S as DomainVocabulary, T as DomainVocabularySchema, V as ElevationSlice, W as ElevationSliceSchema, X as ElevationTokens, Y as ElevationTokensSchema, Z as EntityCall, _ as EntityCallSchema, E as EntityRef, $ as EntityRefSchema, a0 as EntityRefStringSchema, a1 as EntitySemanticRole, a2 as EntitySemanticRoleSchema, a3 as EventListener, a4 as EventListenerSchema, a5 as EventSemanticRole, a6 as EventSemanticRoleSchema, a7 as EventSource, a8 as EventSourceSchema, b as ExpectDeclaration, a9 as ExpectDeclarationSchema, aa as FullOrbitalUnit, ab as GameSubCategory, ac as GameSubCategorySchema, ad as GeometrySlice, ae as GeometrySliceSchema, af as GeometryTokens, ag as GeometryTokensSchema, ah as IconFamily, ai as IconFamilySchema, aj as IconographySlice, ak as IconographySliceSchema, al as IconographyTokens, am as IconographyTokensSchema, an as IllustrationSlice, ao as IllustrationSliceSchema, ap as IllustrationStyle, aq as IllustrationStyleSchema, ar as IllustrationTokens, as as IllustrationTokensSchema, at as MotionDurationKey, au as MotionDurationKeySchema, av as MotionDurationPalette, aw as MotionDurationPaletteSchema, ax as MotionEasingKey, ay as MotionEasingKeySchema, az as MotionEasingPalette, aA as MotionEasingPaletteSchema, aB as MotionIntent, aC as MotionIntentMap, aD as MotionIntentMapSchema, aE as MotionIntentSchema, aF as MotionSlice, aG as MotionSliceSchema, aH as MotionTokens, aI as MotionTokensSchema, aJ as NavItem, aK as NavStackEntry, aL as NodeClassification, aM as NodeClassificationSchema, aa as Orbital, aN as OrbitalConfig, aO as OrbitalConfigInput, aP as OrbitalConfigSchema, a as OrbitalDefinition, aQ as OrbitalDefinitionSchema, aR as OrbitalInput, e as OrbitalPage, aS as OrbitalPageInput, aT as OrbitalPageSchema, aU as OrbitalPageStrictInput, aV as OrbitalPageStrictSchema, O as OrbitalSchema, aW as OrbitalSchemaInput, aX as OrbitalSchemaSchema, aY as OrbitalSchemaWithTraits, aZ as OrbitalUnit, a_ as OrbitalUnitSchema, a$ as OrbitalZodSchema, c as Page, P as PageRef, d as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b4 as PageTraitRef, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bi as ThemeDefinition, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, U as UseDeclaration, bL as UseDeclarationSchema, bM as UserPersona, bN as UserPersonaInput, bO as UserPersonaSchema, a as ValidatedOrbital, bP as ViewType, bQ as ViewTypeSchema, bR as expectedEntityName, bS as isEntityCall, bT as isEntityReference, bU as isEntityReferenceAny, bV as isImportedTraitRef, bW as isOrbitalDefinition, bX as isPageReference, bY as isPageReferenceObject, bZ as isPageReferenceString, b_ as isThemeReference, b$ as parseEntityRef, c0 as parseImportedTraitRef, c1 as parseOrbitalSchema, c2 as parsePageRef, c3 as safeParseOrbitalSchema } from '../schema-BG7mDO7m.js';
2
- export { j as ANIMATION_NAMES, k as ASSET_ASPECTS, l as ASSET_DIMENSIONS, m as AgentEffect, n as AnimationDef, o as AnimationDefInput, p as AnimationDefSchema, q as AnimationName, r as AnimationNameSchema, s as ApplicationEffect, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, C as AssetCatalogSchema, D as AssetDimension, G as AssetDimensionSchema, H as AssetSchema, J as AssetUrl, K as AtomicEffect, L as BehaviorEffect, M as CAMERA_MODES, N as CallServiceConfig, Q as CallServiceEffect, V as Camera, W as CameraMode, X as CameraModeSchema, Y as CameraSchema, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ComposeEffect, a0 as ControlValue, a1 as DerefEffect, a2 as DespawnEffect, a3 as DoEffect, a4 as ENTITY_ROLES, c as Effect, a5 as EffectInput, a6 as EffectSchema, a7 as EmitConfig, a8 as EmitEffect, e as Entity, a9 as EntityData, E as EntityField, aa as EntityFieldInput, ab as EntityFieldSchema, d as EntityId, ac as EntityIdSchema, a as EntityPersistence, ad as EntityPersistenceSchema, ae as EntityRole, af as EntityRoleSchema, f as EntityRow, ag as EntitySchema, ah as EntityWith, ai as EnumEntityField, aj as EvaluateConfig, ak as EvaluateEffect, b as EventId, al as EventIdSchema, am as FIELD_TYPES, an as FetchEffect, ao as FetchOptions, ap as FetchResult, aq as Field, ar as FieldSchema, as as FieldType, at as FieldTypeSchema, F as FieldValue, au as FileValue, av as FileValueSchema, aw as ForwardConfig, ax as ForwardEffect, ay as IdForKind, az as IdKind, I as IdentityLedger, aA as IdentityLedgerSchema, aB as LedgerEntry, aC as LedgerEntrySchema, aD as LedgerKind, aE as LedgerKindSchema, aF as LlmEffect, aG as LogEffect, aH as McpServiceDef, aI as McpServiceDefSchema, aJ as MemoryEffect, aK as NavigateBackEffect, aL as NavigateEffect, aM as NavigateOptions, aN as NnConfig, aO as NnLayer, aP as NotifyEffect, aQ as ObjectEntityField, aR as OrbitalEntity, aS as OrbitalEntityInput, aT as OrbitalEntitySchema, O as OrbitalId, aU as OrbitalIdSchema, aV as OsEffect, aW as PATTERN_TYPES, P as PageId, aX as PageIdSchema, aY as PaletteEntryId, aZ as PaletteEntryIdSchema, a_ as PatternConfig, b1 as PatternType, b2 as PersistData, b3 as PersistEffect, b4 as PersistEmitConfig, b5 as RefEffect, R as RelationConfig, b6 as RelationConfigSchema, b7 as RelationEntityField, h as RenderBinding, b8 as RenderChildrenMap, b9 as RenderItemLambda, i as RenderUIEffect, ba as RenderUINode, bb as ResolvedPatternProps, bc as RestAuthConfig, bd as RestAuthConfigSchema, be as RestServiceDef, bf as RestServiceDefSchema, bg as SEMANTIC_STRING_TYPES, bh as SERVICE_TYPES, bi as SHEET_PROJECTIONS, bj as SPRITE_DIRECTIONS, bk as ScalarEntityField, bl as ScenePos, bm as ScenePosSchema, bn as SemanticAssetRef, bo as SemanticAssetRefInput, bp as SemanticAssetRefSchema, bq as SemanticStringType, g as ServiceDefinition, br as ServiceDefinitionSchema, bs as ServiceId, bt as ServiceIdSchema, bu as ServiceParams, bv as ServiceParamsValue, S as ServiceRef, bw as ServiceRefObject, bx as ServiceRefObjectSchema, by as ServiceRefSchema, bz as ServiceRefStringSchema, bA as ServiceType, bB as ServiceTypeSchema, bC as SessionEffect, bD as SetEffect, bE as SheetProjection, bF as SheetProjectionSchema, bG as SocketEvents, bH as SocketEventsSchema, bI as SocketServiceDef, bJ as SocketServiceDefSchema, bK as SpawnEffect, bL as SpriteDirection, bM as SpriteDirectionSchema, bN as SpriteSheetAtlas, bO as SpriteSheetAtlasInput, bP as SpriteSheetAtlasSchema, bQ as SubTexture, bR as SubTextureSchema, bS as SwapEffect, bT as TextureAtlas, bU as TextureAtlasSchema, bV as ThemeId, bW as ThemeIdSchema, bX as Tilesheet, bY as TilesheetSchema, bZ as TraceEffect, b_ as TrainConfig, b$ as TrainEffect, T as TraitId, c0 as TraitIdSchema, c1 as TypedEffect, U as UISlot, c2 as UISlotSchema, c3 as UI_SLOTS, c4 as VISUAL_STYLES, c5 as ValidateEffect, c6 as VisualStyle, c7 as VisualStyleSchema, c8 as WatchEffect, c9 as WatchOptions, ca as asEntityId, cb as asEventId, cc as asOrbitalId, cd as asPageId, ce as asPaletteEntryId, cf as asServiceId, cg as asThemeId, ch as asTraitId, ci as atomic, cj as callService, ck as createAssetKey, cl as deref, cm as deriveCollection, cn as despawn, co as doEffects, cp as emit, cq as findService, cr as getDefaultAnimationsForRole, cs as getServiceNames, ct as hasService, cu as idKindOf, cv as idPrefix, cw as isEffect, cx as isEmailValue, cy as isEntityId, cz as isEventId, cA as isFieldValue, cB as isFileValue, cC as isMcpService, cD as isOrbitalId, cE as isPageId, cF as isPaletteEntryId, cG as isPhoneValue, cH as isRestService, cI as isRuntimeEntity, cJ as isSExprEffect, cK as isSemanticStringType, cL as isSemanticStringValue, cM as isServiceId, cN as isServiceReference, cO as isServiceReferenceObject, cP as isSocketService, cQ as isThemeId, cR as isTraitId, cS as isUrlValue, cT as isUuidValue, cU as isValidPatternType, cV as ledgerCurName, cW as ledgerRename, cX as ledgerResolveName, cY as mintId, cZ as navigate, c_ as navigateBack, c$ as notify, d0 as parseAssetKey, d1 as parseServiceRef, d2 as persist, d3 as persistenceModeAllowsOverrides, d4 as ref, d5 as renderUI, d6 as set, d7 as spawn, d8 as swap, d9 as validateAssetAnimations, da as watch } from '../effect-CW3s399G.js';
1
+ export { A as AGENT_DOMAIN_CATEGORIES, f as ALLOWED_CUSTOM_COMPONENTS, g as AgentDomainCategory, h as AgentDomainCategorySchema, i as AllowedCustomComponent, O as AppSchema, C as ColorSlice, j as ColorSliceSchema, k as ColorTokens, l as ColorTokensSchema, m as ComputedEventContract, n as ComputedEventContractSchema, o as ComputedEventListener, p as ComputedEventListenerSchema, q as ConfigProvenanceRecord, r as ConfigProvenanceRecordSchema, s as CustomPatternDefinition, t as CustomPatternDefinitionInput, u as CustomPatternDefinitionSchema, v as CustomPatternMap, w as CustomPatternMapInput, x as CustomPatternMapSchema, D as DensitySlice, y as DensitySliceSchema, z as DensityTokens, B as DensityTokensSchema, F as DesignPreferences, G as DesignPreferencesInput, H as DesignPreferencesSchema, I as DesignTokens, J as DesignTokensInput, K as DesignTokensSchema, L as DomainCategory, M as DomainCategorySchema, N as DomainContext, Q as DomainContextInput, R as DomainContextSchema, S as DomainVocabulary, T as DomainVocabularySchema, V as ElevationSlice, W as ElevationSliceSchema, X as ElevationTokens, Y as ElevationTokensSchema, Z as EntityCall, _ as EntityCallSchema, E as EntityRef, $ as EntityRefSchema, a0 as EntityRefStringSchema, a1 as EntitySemanticRole, a2 as EntitySemanticRoleSchema, a3 as EventListener, a4 as EventListenerSchema, a5 as EventSemanticRole, a6 as EventSemanticRoleSchema, a7 as EventSource, a8 as EventSourceSchema, b as ExpectDeclaration, a9 as ExpectDeclarationSchema, aa as FullOrbitalUnit, ab as GameSubCategory, ac as GameSubCategorySchema, ad as GeometrySlice, ae as GeometrySliceSchema, af as GeometryTokens, ag as GeometryTokensSchema, ah as IconFamily, ai as IconFamilySchema, aj as IconographySlice, ak as IconographySliceSchema, al as IconographyTokens, am as IconographyTokensSchema, an as IllustrationSlice, ao as IllustrationSliceSchema, ap as IllustrationStyle, aq as IllustrationStyleSchema, ar as IllustrationTokens, as as IllustrationTokensSchema, at as MotionDurationKey, au as MotionDurationKeySchema, av as MotionDurationPalette, aw as MotionDurationPaletteSchema, ax as MotionEasingKey, ay as MotionEasingKeySchema, az as MotionEasingPalette, aA as MotionEasingPaletteSchema, aB as MotionIntent, aC as MotionIntentMap, aD as MotionIntentMapSchema, aE as MotionIntentSchema, aF as MotionSlice, aG as MotionSliceSchema, aH as MotionTokens, aI as MotionTokensSchema, aJ as NavItem, aK as NavStackEntry, aL as NodeClassification, aM as NodeClassificationSchema, aa as Orbital, aN as OrbitalConfig, aO as OrbitalConfigInput, aP as OrbitalConfigSchema, a as OrbitalDefinition, aQ as OrbitalDefinitionSchema, aR as OrbitalInput, e as OrbitalPage, aS as OrbitalPageInput, aT as OrbitalPageSchema, aU as OrbitalPageStrictInput, aV as OrbitalPageStrictSchema, O as OrbitalSchema, aW as OrbitalSchemaInput, aX as OrbitalSchemaSchema, aY as OrbitalSchemaWithTraits, aZ as OrbitalUnit, a_ as OrbitalUnitSchema, a$ as OrbitalZodSchema, c as Page, P as PageRef, d as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b4 as PageTraitRef, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bi as ThemeDefinition, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, U as UseDeclaration, bL as UseDeclarationSchema, bM as UserPersona, bN as UserPersonaInput, bO as UserPersonaSchema, a as ValidatedOrbital, bP as ViewType, bQ as ViewTypeSchema, bR as expectedEntityName, bS as isEntityCall, bT as isEntityReference, bU as isEntityReferenceAny, bV as isImportedTraitRef, bW as isOrbitalDefinition, bX as isPageReference, bY as isPageReferenceObject, bZ as isPageReferenceString, b_ as isThemeReference, b$ as parseEntityRef, c0 as parseImportedTraitRef, c1 as parseOrbitalSchema, c2 as parsePageRef, c3 as safeParseOrbitalSchema } from '../schema-CkTuSx6F.js';
2
+ export { j as ANIMATION_NAMES, k as ASSET_ASPECTS, l as ASSET_DIMENSIONS, m as AgentEffect, n as AnimationDef, o as AnimationDefInput, p as AnimationDefSchema, q as AnimationName, r as AnimationNameSchema, s as ApplicationEffect, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, C as AssetCatalogSchema, D as AssetDimension, G as AssetDimensionSchema, H as AssetSchema, J as AssetUrl, K as AtomicEffect, L as BehaviorEffect, M as CAMERA_MODES, N as CallServiceConfig, Q as CallServiceEffect, V as Camera, W as CameraMode, X as CameraModeSchema, Y as CameraSchema, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ComposeEffect, a0 as ControlValue, a1 as DerefEffect, a2 as DespawnEffect, a3 as DoEffect, a4 as ENTITY_ROLES, c as Effect, a5 as EffectInput, a6 as EffectSchema, a7 as EmitConfig, a8 as EmitEffect, e as Entity, a9 as EntityData, E as EntityField, aa as EntityFieldInput, ab as EntityFieldSchema, d as EntityId, ac as EntityIdSchema, a as EntityPersistence, ad as EntityPersistenceSchema, ae as EntityRole, af as EntityRoleSchema, f as EntityRow, ag as EntitySchema, ah as EntityWith, ai as EnumEntityField, aj as EvaluateConfig, ak as EvaluateEffect, b as EventId, al as EventIdSchema, am as FIELD_TYPES, an as FetchEffect, ao as FetchOptions, ap as FetchResult, aq as Field, ar as FieldSchema, as as FieldType, at as FieldTypeSchema, F as FieldValue, au as FileValue, av as FileValueSchema, aw as ForwardConfig, ax as ForwardEffect, ay as IdForKind, az as IdKind, I as IdentityLedger, aA as IdentityLedgerSchema, aB as LedgerEntry, aC as LedgerEntrySchema, aD as LedgerKind, aE as LedgerKindSchema, aF as LlmEffect, aG as LogEffect, aH as McpServiceDef, aI as McpServiceDefSchema, aJ as MemoryEffect, aK as NavigateBackEffect, aL as NavigateEffect, aM as NavigateOptions, aN as NnConfig, aO as NnLayer, aP as NotifyEffect, aQ as ObjectEntityField, aR as OrbitalEntity, aS as OrbitalEntityInput, aT as OrbitalEntitySchema, O as OrbitalId, aU as OrbitalIdSchema, aV as OsEffect, aW as PATTERN_TYPES, P as PageId, aX as PageIdSchema, aY as PaletteEntryId, aZ as PaletteEntryIdSchema, a_ as PatternConfig, b1 as PatternType, b2 as PersistData, b3 as PersistEffect, b4 as PersistEmitConfig, b5 as RefEffect, R as RelationConfig, b6 as RelationConfigSchema, b7 as RelationEntityField, h as RenderBinding, b8 as RenderChildrenMap, b9 as RenderItemLambda, i as RenderUIEffect, ba as RenderUINode, bb as ResolvedPatternProps, bc as RestAuthConfig, bd as RestAuthConfigSchema, be as RestServiceDef, bf as RestServiceDefSchema, bg as SEMANTIC_STRING_TYPES, bh as SERVICE_TYPES, bi as SHEET_PROJECTIONS, bj as SPRITE_DIRECTIONS, bk as ScalarEntityField, bl as ScenePos, bm as ScenePosSchema, bn as SemanticAssetRef, bo as SemanticAssetRefInput, bp as SemanticAssetRefSchema, bq as SemanticStringType, g as ServiceDefinition, br as ServiceDefinitionSchema, bs as ServiceId, bt as ServiceIdSchema, bu as ServiceParams, bv as ServiceParamsValue, S as ServiceRef, bw as ServiceRefObject, bx as ServiceRefObjectSchema, by as ServiceRefSchema, bz as ServiceRefStringSchema, bA as ServiceType, bB as ServiceTypeSchema, bC as SessionEffect, bD as SetEffect, bE as SheetProjection, bF as SheetProjectionSchema, bG as SocketEvents, bH as SocketEventsSchema, bI as SocketServiceDef, bJ as SocketServiceDefSchema, bK as SpawnEffect, bL as SpriteDirection, bM as SpriteDirectionSchema, bN as SpriteSheetAtlas, bO as SpriteSheetAtlasInput, bP as SpriteSheetAtlasSchema, bQ as SubTexture, bR as SubTextureSchema, bS as SwapEffect, bT as TextureAtlas, bU as TextureAtlasSchema, bV as ThemeId, bW as ThemeIdSchema, bX as Tilesheet, bY as TilesheetSchema, bZ as TraceEffect, b_ as TrainConfig, b$ as TrainEffect, T as TraitId, c0 as TraitIdSchema, c1 as TypedEffect, U as UISlot, c2 as UISlotSchema, c3 as UI_SLOTS, c4 as VISUAL_STYLES, c5 as ValidateEffect, c6 as VisualStyle, c7 as VisualStyleSchema, c8 as WatchEffect, c9 as WatchOptions, ca as asEntityId, cb as asEventId, cc as asOrbitalId, cd as asPageId, ce as asPaletteEntryId, cf as asServiceId, cg as asThemeId, ch as asTraitId, ci as atomic, cj as callService, ck as createAssetKey, cl as deref, cm as deriveCollection, cn as despawn, co as doEffects, cp as emit, cq as findService, cr as getDefaultAnimationsForRole, cs as getServiceNames, ct as hasService, cu as idKindOf, cv as idPrefix, cw as isEffect, cx as isEmailValue, cy as isEntityId, cz as isEventId, cA as isFieldValue, cB as isFileValue, cC as isMcpService, cD as isOrbitalId, cE as isPageId, cF as isPaletteEntryId, cG as isPhoneValue, cH as isRestService, cI as isRuntimeEntity, cJ as isSExprEffect, cK as isSemanticStringType, cL as isSemanticStringValue, cM as isServiceId, cN as isServiceReference, cO as isServiceReferenceObject, cP as isSocketService, cQ as isThemeId, cR as isTraitId, cS as isUrlValue, cT as isUuidValue, cU as isValidPatternType, cV as ledgerCurName, cW as ledgerRename, cX as ledgerResolveName, cY as mintId, cZ as navigate, c_ as navigateBack, c$ as notify, d0 as parseAssetKey, d1 as parseServiceRef, d2 as persist, d3 as persistenceModeAllowsOverrides, d4 as ref, d5 as renderUI, d6 as set, d7 as spawn, d8 as swap, d9 as validateAssetAnimations, da as watch } from '../effect-Mx_niZdY.js';
3
3
  export { C as CORE_BINDINGS, b as CoreBinding, c as EvalContext, a as EventPayload, d as EventPayloadValue, E as Expression, e as ExpressionInput, f as ExpressionSchema, g as JsonObject, J as JsonValue, L as LogMeta, h as LogMetaValue, P as ParsedBinding, R as RuntimeValue, S as SExpr, i as SExprAtom, j as SExprAtomSchema, k as SExprDataSchema, l as SExprInput, m as SExprObject, n as SExprSchema, T as ToolArgs, o as collectBindings, p as getArgs, q as getOperator, r as isBinding, s as isEventPayloadValue, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive, w as isSExpr, x as isSExprAtom, y as isSExprCall, z as isValidBinding, A as parseBinding, B as sexpr, D as walkSExpr } from '../expression-Fk8bQWef.js';
4
- export { A as ANONYMOUS_USER, f as AgentCodeSearchResult, g as AgentCompactResult, h as AgentCompactStrategy, i as AgentContext, j as AgentGenerateOptions, k as AgentMemoryCategory, l as AgentMemoryRecord, m as AnalysisOrbital, n as AnalysisOrbitalParams, o as AnalysisPageOverride, p as AnalysisRename, q as AnalysisResult, r as AnnotationTier, s as AppCreatedEvent, t as AppSummary, u as AssetLoadStatus, B as BINDING_CONTEXT_RULES, v as BINDING_DOCS, w as BINDING_ROOTS, x as BindingContext, y as BindingRoot, z as BindingSchema, D as BridgeHealth, E as BuilderResult, F as BusEvent, G as BusEventListener, H as BusEventSource, I as CancelledEvent, d as CategorizedRemovals, J as ChangeAuthor, K as ChangeSetDocument, L as ChangeSummary, M as ChangesetRecordedEvent, C as ChangesetValue, N as CheckStatus, O as Clarification, Q as ClarificationCandidate, T as ClarificationLevel, U as CompleteEvent, V as ComplexityAssessment, W as ComposeAllResult, X as ComposeChildrenResult, Y as ComposeOptions, Z as ContextExtensions, _ as CreateFlow, $ as DEFAULT_INTERACTION_MODELS, a0 as DEFAULT_VIEWER, a1 as DEV_TOKEN_PREFIX, a2 as DeleteFlow, a3 as DispatchUpdatesResult, a4 as DrawableDescriptor, a5 as EdgeType, a6 as EditFlow, a9 as EffectPayload, aa as EffectResult, ab as EffectTrace, ac as ErrorEvent, ad as EventEmit, ae as EventKey, af as EventListen, ag as EventLogEntry, ah as EvolutionDelta, ai as ExecutePlanResult, aj as ExtraTraitRef, ak as FileOperationEvent, al as FileWrittenEvent, am as GateState, an as GenerationLogEvent, ao as GitHubIssue, ap as GitHubLink, aq as GitHubRepo, ar as HistoryMeta, as as IntegrationContext, at as InteractionModel, au as InteractionModelInput, av as InteractionModelSchema, aw as InterruptEvent, ax as KNOWN_VALIDATION_ERROR_CODES, ay as KnobPayload, az as KnownValidationErrorCode, aA as LLMErrorContext, aB as LazyService, aC as LineageEntry, aD as ListInteraction, aE as LivingEdge, aF as LivingEffect, aG as LivingEntity, aH as LivingEvent, aI as LivingField, aJ as LivingOrbital, aK as LivingOrbitalSchema, aL as LivingPage, aM as LivingState, aN as LivingTrait, aO as LivingTransition, aP as LivingValue, aQ as LivingVertex, aR as LlmCallToolsResult, aS as LlmContext, aT as LlmMessage, aU as LlmTokenUsage, aV as LlmToolCall, aW as LlmToolDef, aX as LoloEmitResult, aY as MemoryContext, aZ as MessageEvent, a_ as OrbitalAddedEvent, a$ as OrbitalSchemaCompleteEvent, b0 as OrbitalVerificationAPI, P as PageContentReduction, b1 as ParamsRepairEmittedEvent, b2 as ParsedDesign, b3 as ParsedDomainContext, b4 as ParsedEmitDeclaration, b5 as ParsedEntity, b6 as ParsedEvent, b7 as ParsedListenDeclaration, b8 as ParsedOrbital, b9 as ParsedPage, ba as ParsedState, bb as ParsedStateMachine, bc as ParsedTrait, bd as ParsedTraitConfig, be as ParsedTransition, bf as PatternNode, bg as PatternTypeSchema, bh as PatternValue, bi as PersistActionName, bj as PlanSnapshot, bk as PlanSnapshotStatus, bl as PlannerResult, bm as Probability, bn as ProcessCompleteEvent, bo as ProcessErrorEvent, bp as ProcessRepairCompleteEvent, bq as ProcessRepairEvent, br as ProcessStartEvent, bs as RENDER_BINDING_MARKER, bt as RawUserClaims, bu as RenderBindingMarker, bz as RepairResult, a as ResolvedEntity, bA as ResolvedEntityBinding, bB as ResolvedField, R as ResolvedIR, bC as ResolvedNavigation, b as ResolvedPage, bD as ResolvedPattern, bE as ResolvedSection, bF as ResolvedSectionEvent, c as ResolvedTrait, bG as ResolvedTraitBinding, bH as ResolvedTraitDataEntity, bI as ResolvedTraitEvent, bJ as ResolvedTraitGuard, bK as ResolvedTraitListener, bL as ResolvedTraitState, bM as ResolvedTraitTick, bN as ResolvedTraitTransition, bO as ResolvedTraitUIBinding, bP as SSEEvent, bQ as SSEEventBase, bR as SSEEventType, bS as SaveOptions, bT as SaveResult, S as SchemaChange, bU as SchemaPhaseUpdateEvent, bV as SchemaPhaseValidatedEvent, bW as SchemaUpdateEvent, bX as SemanticAnnotation, bY as SemanticChangeKind, e as SemanticSchemaChange, bZ as SemanticVector, b_ as ServerResponseTrace, b$ as ServiceAction, c0 as ServiceActionName, c1 as ServiceCallResult, c2 as ServiceContract, c3 as ServiceEvents, c4 as SessionContext, c5 as SessionHistoryEntry, c6 as SnapshotCreatedEvent, c7 as SnapshotDocument, c8 as SpawnResult, c9 as StartEvent, ca as StatsView, cb as StoreContract, cc as StoreFilter, cd as StoreFilterOp, ce as SubagentCompleteEvent, cf as SubagentEvent, cg as SubagentProgressEvent, ch as SubagentStartEvent, ci as TodoActivityType, cj as TodoDetailEvent, ck as TodoUpdateEvent, cl as ToolCallEvent, cm as ToolResultEvent, cn as TraceContext, co as TraitFieldRef, cp as TraitFieldRefSchema, cq as TraitStateSnapshot, cr as TransitionFrom, cs as TransitionTrace, ct as Unsubscribe, cu as UserContext, cv as ValidateResult, cw as ValidationDocument, cx as ValidationError, cy as ValidationErrorCode, cz as ValidationIssue, cA as ValidationMeta, cB as ValidationResult, cC as ValidationResults, cD as VerificationCheck, cE as VerificationSnapshot, cF as VerificationSummary, cG as VertexId, cH as VertexPayload, cI as VertexType, cJ as ViewFlow, cK as WorkspaceContext, cM as containsEntityBinding, cN as containsPayloadBinding, cO as createEmptyResolvedPage, cP as createEmptyResolvedTrait, cQ as createLazyService, cR as createResolvedField, cS as createTypedEventBus, cT as decodeDevIdentityToken, cU as encodeDevIdentityToken, cV as findPersonaInRoster, cX as getBindingExamples, cY as getInteractionModelForDomain, cZ as inferTsType, c$ as isKnownValidationErrorCode, d0 as isPlanSnapshot, d1 as isRenderBindingMarker, d2 as isResolvedIR, d3 as isSessionHistoryEntry, d4 as isTraitFieldRef, d6 as normalizeUserContext, d7 as personaFromIdentityRow, da as resolveDefaultViewer, db as resolvePersonaSpec, dd as toBindingRoot, de as validateBindingInContext, df as widenTier } from '../index-C5Firrg9.js';
5
- export { k as CONFIG_REF_EVENT_PATTERN, h as CallSiteConfig, i as CallSiteConfigEntry, C as ConfigFieldDeclaration, l as ConfigFieldDeclarationSchema, m as ConfigFieldItemsDeclaration, n as ConfigRefEventError, D as DeclaredTraitConfig, o as DeclaredTraitConfigSchema, p as EntityFieldContract, q as EntityFieldContractSchema, r as Event, s as EventInput, E as EventPayloadField, t as EventPayloadFieldSchema, u as EventSchema, v as EventScope, w as EventScopeSchema, G as Guard, x as GuardInput, y as GuardSchema, L as ListenSource, z as ListenSourceSchema, O as OrbitalTraitRef, A as OrbitalTraitRefSchema, P as PayloadField, B as PayloadFieldSchema, F as PresentationType, R as REFERENCE_CONFIG_TYPES, H as ReferenceConfigType, I as RequiredField, J as RequiredFieldSchema, K as SECRET_CONFIG_TYPES, M as SecretConfigType, S as State, N as StateInput, Q as StateMachine, U as StateMachineInput, V as StateMachineSchema, W as StateSchema, X as TickIntervalSchema, g as Trait, Y as TraitCategory, Z as TraitCategorySchema, b as TraitConfig, c as TraitConfigObject, _ as TraitConfigSchema, e as TraitConfigValue, $ as TraitConfigValueSchema, a0 as TraitDataEntity, a1 as TraitDataEntitySchema, f as TraitEntityField, a2 as TraitEntityFieldSchema, j as TraitEventContract, a3 as TraitEventContractSchema, T as TraitEventListener, a4 as TraitEventListenerSchema, a5 as TraitInput, d as TraitRef, a6 as TraitRefSchema, a as TraitReference, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ad as TraitUIBindingSchema, ae as Transition, af as TransitionInput, ag as TransitionSchema, ah as configRefEventKnob, ai as getTraitConfig, aj as getTraitName, ak as isCallSiteConfigDeclaration, al as isCircuitEvent, am as isInlineTrait, an as isReferenceConfigType, ao as isSecretConfigType, ap as maskSecretConfigValues, aq as normalizeCallSiteConfigToValues, ar as normalizeTraitRef, as as resolveConfigRefEventName } from '../trait-jWk0BInU.js';
4
+ export { A as ANONYMOUS_USER, f as AgentCodeSearchResult, g as AgentCompactResult, h as AgentCompactStrategy, i as AgentContext, j as AgentGenerateOptions, k as AgentMemoryCategory, l as AgentMemoryRecord, m as AnalysisOrbital, n as AnalysisOrbitalParams, o as AnalysisPageOverride, p as AnalysisRename, q as AnalysisResult, r as AnnotationTier, s as AppCreatedEvent, t as AppSummary, u as AssetLoadStatus, B as BINDING_CONTEXT_RULES, v as BINDING_DOCS, w as BINDING_ROOTS, x as BindingContext, y as BindingRoot, z as BindingSchema, D as BridgeHealth, E as BuilderResult, F as BusEvent, G as BusEventListener, H as BusEventSource, I as CancelledEvent, d as CategorizedRemovals, J as ChangeAuthor, K as ChangeSetDocument, L as ChangeSummary, M as ChangesetRecordedEvent, C as ChangesetValue, N as CheckStatus, O as Clarification, Q as ClarificationCandidate, T as ClarificationLevel, U as CompleteEvent, V as ComplexityAssessment, W as ComposeAllResult, X as ComposeChildrenResult, Y as ComposeOptions, Z as ContextExtensions, _ as CreateFlow, $ as DEFAULT_INTERACTION_MODELS, a0 as DEFAULT_VIEWER, a1 as DEV_TOKEN_PREFIX, a2 as DeleteFlow, a3 as DispatchUpdatesResult, a4 as DrawableDescriptor, a5 as EdgeType, a6 as EditFlow, a9 as EffectPayload, aa as EffectResult, ab as EffectTrace, ac as ErrorEvent, ad as EventEmit, ae as EventKey, af as EventListen, ag as EventLogEntry, ah as EvolutionDelta, ai as ExecutePlanResult, aj as ExtraTraitRef, ak as FileOperationEvent, al as FileWrittenEvent, am as GateState, an as GenerationLogEvent, ao as GitHubIssue, ap as GitHubLink, aq as GitHubRepo, ar as HistoryMeta, as as IntegrationContext, at as InteractionModel, au as InteractionModelInput, av as InteractionModelSchema, aw as InterruptEvent, ax as KNOWN_VALIDATION_ERROR_CODES, ay as KnobPayload, az as KnownValidationErrorCode, aA as LLMErrorContext, aB as LazyService, aC as LineageEntry, aD as ListInteraction, aE as LivingEdge, aF as LivingEffect, aG as LivingEntity, aH as LivingEvent, aI as LivingField, aJ as LivingOrbital, aK as LivingOrbitalSchema, aL as LivingPage, aM as LivingState, aN as LivingTrait, aO as LivingTransition, aP as LivingValue, aQ as LivingVertex, aR as LlmCallToolsResult, aS as LlmContext, aT as LlmMessage, aU as LlmTokenUsage, aV as LlmToolCall, aW as LlmToolDef, aX as LoloEmitResult, aY as MemoryContext, aZ as MessageEvent, a_ as OrbitalAddedEvent, a$ as OrbitalSchemaCompleteEvent, b0 as OrbitalVerificationAPI, P as PageContentReduction, b1 as ParamsRepairEmittedEvent, b2 as ParsedDesign, b3 as ParsedDomainContext, b4 as ParsedEmitDeclaration, b5 as ParsedEntity, b6 as ParsedEvent, b7 as ParsedListenDeclaration, b8 as ParsedOrbital, b9 as ParsedPage, ba as ParsedState, bb as ParsedStateMachine, bc as ParsedTrait, bd as ParsedTraitConfig, be as ParsedTransition, bf as PatternNode, bg as PatternTypeSchema, bh as PatternValue, bi as PersistActionName, bj as PlanSnapshot, bk as PlanSnapshotStatus, bl as PlannerResult, bm as Probability, bn as ProcessCompleteEvent, bo as ProcessErrorEvent, bp as ProcessRepairCompleteEvent, bq as ProcessRepairEvent, br as ProcessStartEvent, bs as RENDER_BINDING_MARKER, bt as RawUserClaims, bu as RenderBindingMarker, bz as RepairResult, a as ResolvedEntity, bA as ResolvedEntityBinding, bB as ResolvedField, R as ResolvedIR, bC as ResolvedNavigation, b as ResolvedPage, bD as ResolvedPattern, bE as ResolvedSection, bF as ResolvedSectionEvent, c as ResolvedTrait, bG as ResolvedTraitBinding, bH as ResolvedTraitDataEntity, bI as ResolvedTraitEvent, bJ as ResolvedTraitGuard, bK as ResolvedTraitListener, bL as ResolvedTraitState, bM as ResolvedTraitTick, bN as ResolvedTraitTransition, bO as ResolvedTraitUIBinding, bP as SSEEvent, bQ as SSEEventBase, bR as SSEEventType, bS as SaveOptions, bT as SaveResult, S as SchemaChange, bU as SchemaPhaseUpdateEvent, bV as SchemaPhaseValidatedEvent, bW as SchemaUpdateEvent, bX as SemanticAnnotation, bY as SemanticChangeKind, e as SemanticSchemaChange, bZ as SemanticVector, b_ as ServerResponseTrace, b$ as ServiceAction, c0 as ServiceActionName, c1 as ServiceCallResult, c2 as ServiceContract, c3 as ServiceEvents, c4 as SessionContext, c5 as SessionHistoryEntry, c6 as SnapshotCreatedEvent, c7 as SnapshotDocument, c8 as SpawnResult, c9 as StartEvent, ca as StatsView, cb as StoreContract, cc as StoreFilter, cd as StoreFilterOp, ce as SubagentCompleteEvent, cf as SubagentEvent, cg as SubagentProgressEvent, ch as SubagentStartEvent, ci as TodoActivityType, cj as TodoDetailEvent, ck as TodoUpdateEvent, cl as ToolCallEvent, cm as ToolResultEvent, cn as TraceContext, co as TraitFieldRef, cp as TraitFieldRefSchema, cq as TraitStateSnapshot, cr as TransitionFrom, cs as TransitionTrace, ct as Unsubscribe, cu as UserContext, cv as ValidateResult, cw as ValidationDocument, cx as ValidationError, cy as ValidationErrorCode, cz as ValidationIssue, cA as ValidationMeta, cB as ValidationResult, cC as ValidationResults, cD as VerificationCheck, cE as VerificationSnapshot, cF as VerificationSummary, cG as VertexId, cH as VertexPayload, cI as VertexType, cJ as ViewFlow, cK as WorkspaceContext, cM as containsEntityBinding, cN as containsPayloadBinding, cO as createEmptyResolvedPage, cP as createEmptyResolvedTrait, cQ as createLazyService, cR as createResolvedField, cS as createTypedEventBus, cT as decodeDevIdentityToken, cU as encodeDevIdentityToken, cV as findPersonaInRoster, cX as getBindingExamples, cY as getInteractionModelForDomain, cZ as inferTsType, c$ as isKnownValidationErrorCode, d0 as isPlanSnapshot, d1 as isRenderBindingMarker, d2 as isResolvedIR, d3 as isSessionHistoryEntry, d4 as isTraitFieldRef, d6 as normalizeUserContext, d7 as personaFromIdentityRow, da as resolveDefaultViewer, db as resolvePersonaSpec, dd as toBindingRoot, de as validateBindingInContext, df as widenTier } from '../index-B1N3gjT0.js';
5
+ export { l as CONFIG_REF_EVENT_PATTERN, i as CallSiteConfig, j as CallSiteConfigEntry, C as ConfigFieldDeclaration, m as ConfigFieldDeclarationSchema, n as ConfigFieldItemsDeclaration, o as ConfigRefEventError, D as DeclaredTraitConfig, p as DeclaredTraitConfigSchema, q as EntityFieldContract, r as EntityFieldContractSchema, s as Event, t as EventInput, E as EventPayloadField, u as EventPayloadFieldSchema, v as EventSchema, w as EventScope, x as EventScopeSchema, G as Guard, y as GuardInput, z as GuardSchema, L as ListenSource, A as ListenSourceSchema, O as OrbitalTraitRef, B as OrbitalTraitRefSchema, P as PayloadField, F as PayloadFieldSchema, H as PresentationType, R as REFERENCE_CONFIG_TYPES, I as ReferenceConfigType, J as RequiredField, K as RequiredFieldSchema, M as SECRET_CONFIG_TYPES, N as SecretConfigType, S as State, Q as StateInput, U as StateMachine, V as StateMachineInput, W as StateMachineSchema, X as StateSchema, Y as TickIntervalSchema, h as Trait, Z as TraitCategory, _ as TraitCategorySchema, b as TraitConfig, c as TraitConfigObject, $ as TraitConfigSchema, e as TraitConfigValue, a0 as TraitConfigValueSchema, a1 as TraitDataEntity, a2 as TraitDataEntitySchema, f as TraitEntityField, a3 as TraitEntityFieldSchema, k as TraitEventContract, a4 as TraitEventContractSchema, T as TraitEventListener, a5 as TraitEventListenerSchema, a6 as TraitInput, d as TraitRef, a7 as TraitRefSchema, a as TraitReference, a8 as TraitReferenceInput, a9 as TraitReferenceSchema, aa as TraitSchema, ab as TraitTick, ac as TraitTickSchema, ad as TraitUIBinding, ae as TraitUIBindingSchema, af as Transition, ag as TransitionInput, ah as TransitionSchema, ai as configRefEventKnob, aj as getTraitConfig, ak as getTraitName, al as isCallSiteConfigDeclaration, am as isCircuitEvent, an as isInlineTrait, ao as isReferenceConfigType, ap as isSecretConfigType, aq as maskSecretConfigValues, ar as normalizeCallSiteConfigToValues, as as normalizeTraitRef, at as resolveConfigRefEventName } from '../trait-B1fI0lTU.js';
6
6
  import 'zod';
7
- import '../types-DwAE_Qu-.js';
7
+ import '../types-B53Myv7U.js';
8
8
  import '../builders.js';
@@ -1032,6 +1032,7 @@ var TraitEventContractSchema = z.object({
1032
1032
  synonyms: z.string().optional(),
1033
1033
  tier: z.string().optional(),
1034
1034
  definerKnob: z.string().optional(),
1035
+ scopeOverridden: z.boolean().optional(),
1035
1036
  payloadSchema: z.array(EventPayloadFieldSchema).optional(),
1036
1037
  scope: EventScopeSchema.optional()
1037
1038
  });
@@ -1085,6 +1086,11 @@ var TraitReferenceSchema = z.object({
1085
1086
  z.string().min(1, "events value (caller event name) must be non-empty")
1086
1087
  ).optional(),
1087
1088
  eventIds: z.record(z.string().min(1), EventIdSchema).optional(),
1089
+ // 3-II type-parameter arguments (see `TraitReference.typeArgs`).
1090
+ typeArgs: z.record(
1091
+ z.string().min(1, "typeArgs key (declared param name) must be non-empty"),
1092
+ z.string().min(1, "typeArgs value (type name) must be non-empty")
1093
+ ).optional(),
1088
1094
  fields: z.record(
1089
1095
  z.string().min(1, "fields key (canonical field name) must be non-empty"),
1090
1096
  z.string().min(1, "fields value (consumer field name) must be non-empty")
@@ -1145,6 +1151,11 @@ var SourceBehaviorMetadataSchema = z.object({
1145
1151
  alias: z.string().min(1),
1146
1152
  originalName: z.string().min(1)
1147
1153
  });
1154
+ var TraitTypeParamDefSchema = z.object({
1155
+ name: z.string().min(1),
1156
+ kind: z.string().min(1),
1157
+ default: z.string().optional()
1158
+ });
1148
1159
  var TraitSchema = z.object({
1149
1160
  id: TraitIdSchema.optional(),
1150
1161
  name: z.string().min(1),
@@ -1171,7 +1182,8 @@ var TraitSchema = z.object({
1171
1182
  ui: TraitUIBindingSchema.optional(),
1172
1183
  config: DeclaredTraitConfigSchema.optional(),
1173
1184
  sourceBehavior: SourceBehaviorMetadataSchema.optional(),
1174
- sourceEntityDefinition: EntitySchema.optional()
1185
+ sourceEntityDefinition: EntitySchema.optional(),
1186
+ typeParams: z.array(TraitTypeParamDefSchema).optional()
1175
1187
  });
1176
1188
  var TraitRefSchema = z.union([
1177
1189
  z.string().min(1),
@@ -1933,7 +1945,8 @@ var OrbitalDefinitionSchema = z.object({
1933
1945
  // Context fields - persisted throughout orbital lifecycle
1934
1946
  domainContext: DomainContextSchema.optional(),
1935
1947
  design: DesignPreferencesSchema.optional(),
1936
- suggestedGuards: z.array(SuggestedGuardSchema).optional()
1948
+ suggestedGuards: z.array(SuggestedGuardSchema).optional(),
1949
+ types: z.record(z.string(), z.array(EventPayloadFieldSchema)).optional()
1937
1950
  });
1938
1951
  var OrbitalSchema = OrbitalDefinitionSchema;
1939
1952
  function isOrbitalDefinition(orbital) {