@almadar/core 10.8.0 → 10.9.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,5 +1,5 @@
1
1
  import { E as Expression, S as SExpr } from './expression-BUIi9ezJ.js';
2
- import { T as TraitConfig, k as TraitConfigObject, S as ServiceRef, d as Entity, f as EntityField, g as EntityPersistence, i as TraitRef, l as EventPayloadField, C as ConfigFieldDeclaration, m as ServiceDefinition, a as Trait } from './trait-DwxDJ6PP.js';
2
+ import { T as TraitConfig, k as TraitConfigObject, S as ServiceRef, d as Entity, f as EntityField, g as EntityPersistence, i as TraitRef, l as EventPayloadField, m as ConfigFieldDeclaration, n as ServiceDefinition, a as Trait } from './trait-CWjT0yBO.js';
3
3
  import { z } from 'zod';
4
4
 
5
5
  /**
@@ -19522,7 +19522,6 @@ declare const PageRefObjectSchema: z.ZodObject<{
19522
19522
  ref: string;
19523
19523
  path?: string | undefined;
19524
19524
  from?: string | undefined;
19525
- linkedEntity?: string | undefined;
19526
19525
  traits?: (string | {
19527
19526
  name: string;
19528
19527
  scope: "instance" | "collection";
@@ -19677,11 +19676,11 @@ declare const PageRefObjectSchema: z.ZodObject<{
19677
19676
  events?: Record<string, string> | undefined;
19678
19677
  linkedEntity?: string | undefined;
19679
19678
  })[] | undefined;
19679
+ linkedEntity?: string | undefined;
19680
19680
  }, {
19681
19681
  ref: string;
19682
19682
  path?: string | undefined;
19683
19683
  from?: string | undefined;
19684
- linkedEntity?: string | undefined;
19685
19684
  traits?: (string | {
19686
19685
  name: string;
19687
19686
  scope: "instance" | "collection";
@@ -19836,6 +19835,7 @@ declare const PageRefObjectSchema: z.ZodObject<{
19836
19835
  events?: Record<string, string> | undefined;
19837
19836
  linkedEntity?: string | undefined;
19838
19837
  })[] | undefined;
19838
+ linkedEntity?: string | undefined;
19839
19839
  }>;
19840
19840
  declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
19841
19841
  name: z.ZodString;
@@ -20728,7 +20728,6 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
20728
20728
  ref: string;
20729
20729
  path?: string | undefined;
20730
20730
  from?: string | undefined;
20731
- linkedEntity?: string | undefined;
20732
20731
  traits?: (string | {
20733
20732
  name: string;
20734
20733
  scope: "instance" | "collection";
@@ -20883,11 +20882,11 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
20883
20882
  events?: Record<string, string> | undefined;
20884
20883
  linkedEntity?: string | undefined;
20885
20884
  })[] | undefined;
20885
+ linkedEntity?: string | undefined;
20886
20886
  }, {
20887
20887
  ref: string;
20888
20888
  path?: string | undefined;
20889
20889
  from?: string | undefined;
20890
- linkedEntity?: string | undefined;
20891
20890
  traits?: (string | {
20892
20891
  name: string;
20893
20892
  scope: "instance" | "collection";
@@ -21042,6 +21041,7 @@ declare const PageRefSchema: z.ZodUnion<[z.ZodObject<{
21042
21041
  events?: Record<string, string> | undefined;
21043
21042
  linkedEntity?: string | undefined;
21044
21043
  })[] | undefined;
21044
+ linkedEntity?: string | undefined;
21045
21045
  }>]>;
21046
21046
  /**
21047
21047
  * Checks if a trait reference is an imported reference.
@@ -27308,7 +27308,6 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
27308
27308
  ref: string;
27309
27309
  path?: string | undefined;
27310
27310
  from?: string | undefined;
27311
- linkedEntity?: string | undefined;
27312
27311
  traits?: (string | {
27313
27312
  name: string;
27314
27313
  scope: "instance" | "collection";
@@ -27463,11 +27462,11 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
27463
27462
  events?: Record<string, string> | undefined;
27464
27463
  linkedEntity?: string | undefined;
27465
27464
  })[] | undefined;
27465
+ linkedEntity?: string | undefined;
27466
27466
  }, {
27467
27467
  ref: string;
27468
27468
  path?: string | undefined;
27469
27469
  from?: string | undefined;
27470
- linkedEntity?: string | undefined;
27471
27470
  traits?: (string | {
27472
27471
  name: string;
27473
27472
  scope: "instance" | "collection";
@@ -27622,6 +27621,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
27622
27621
  events?: Record<string, string> | undefined;
27623
27622
  linkedEntity?: string | undefined;
27624
27623
  })[] | undefined;
27624
+ linkedEntity?: string | undefined;
27625
27625
  }>]>, "many">;
27626
27626
  emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
27627
27627
  event: z.ZodString;
@@ -28062,7 +28062,6 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
28062
28062
  ref: string;
28063
28063
  path?: string | undefined;
28064
28064
  from?: string | undefined;
28065
- linkedEntity?: string | undefined;
28066
28065
  traits?: (string | {
28067
28066
  name: string;
28068
28067
  scope: "instance" | "collection";
@@ -28217,6 +28216,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
28217
28216
  events?: Record<string, string> | undefined;
28218
28217
  linkedEntity?: string | undefined;
28219
28218
  })[] | undefined;
28219
+ linkedEntity?: string | undefined;
28220
28220
  })[];
28221
28221
  description?: string | undefined;
28222
28222
  visual_prompt?: string | undefined;
@@ -28976,7 +28976,6 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
28976
28976
  ref: string;
28977
28977
  path?: string | undefined;
28978
28978
  from?: string | undefined;
28979
- linkedEntity?: string | undefined;
28980
28979
  traits?: (string | {
28981
28980
  name: string;
28982
28981
  scope: "instance" | "collection";
@@ -29131,6 +29130,7 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
29131
29130
  events?: Record<string, string> | undefined;
29132
29131
  linkedEntity?: string | undefined;
29133
29132
  })[] | undefined;
29133
+ linkedEntity?: string | undefined;
29134
29134
  })[];
29135
29135
  description?: string | undefined;
29136
29136
  visual_prompt?: string | undefined;
@@ -35565,7 +35565,6 @@ declare const OrbitalSchema$1: z.ZodObject<{
35565
35565
  ref: string;
35566
35566
  path?: string | undefined;
35567
35567
  from?: string | undefined;
35568
- linkedEntity?: string | undefined;
35569
35568
  traits?: (string | {
35570
35569
  name: string;
35571
35570
  scope: "instance" | "collection";
@@ -35720,11 +35719,11 @@ declare const OrbitalSchema$1: z.ZodObject<{
35720
35719
  events?: Record<string, string> | undefined;
35721
35720
  linkedEntity?: string | undefined;
35722
35721
  })[] | undefined;
35722
+ linkedEntity?: string | undefined;
35723
35723
  }, {
35724
35724
  ref: string;
35725
35725
  path?: string | undefined;
35726
35726
  from?: string | undefined;
35727
- linkedEntity?: string | undefined;
35728
35727
  traits?: (string | {
35729
35728
  name: string;
35730
35729
  scope: "instance" | "collection";
@@ -35879,6 +35878,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
35879
35878
  events?: Record<string, string> | undefined;
35880
35879
  linkedEntity?: string | undefined;
35881
35880
  })[] | undefined;
35881
+ linkedEntity?: string | undefined;
35882
35882
  }>]>, "many">;
35883
35883
  emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
35884
35884
  event: z.ZodString;
@@ -36319,7 +36319,6 @@ declare const OrbitalSchema$1: z.ZodObject<{
36319
36319
  ref: string;
36320
36320
  path?: string | undefined;
36321
36321
  from?: string | undefined;
36322
- linkedEntity?: string | undefined;
36323
36322
  traits?: (string | {
36324
36323
  name: string;
36325
36324
  scope: "instance" | "collection";
@@ -36474,6 +36473,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
36474
36473
  events?: Record<string, string> | undefined;
36475
36474
  linkedEntity?: string | undefined;
36476
36475
  })[] | undefined;
36476
+ linkedEntity?: string | undefined;
36477
36477
  })[];
36478
36478
  description?: string | undefined;
36479
36479
  visual_prompt?: string | undefined;
@@ -37233,7 +37233,6 @@ declare const OrbitalSchema$1: z.ZodObject<{
37233
37233
  ref: string;
37234
37234
  path?: string | undefined;
37235
37235
  from?: string | undefined;
37236
- linkedEntity?: string | undefined;
37237
37236
  traits?: (string | {
37238
37237
  name: string;
37239
37238
  scope: "instance" | "collection";
@@ -37388,6 +37387,7 @@ declare const OrbitalSchema$1: z.ZodObject<{
37388
37387
  events?: Record<string, string> | undefined;
37389
37388
  linkedEntity?: string | undefined;
37390
37389
  })[] | undefined;
37390
+ linkedEntity?: string | undefined;
37391
37391
  })[];
37392
37392
  description?: string | undefined;
37393
37393
  visual_prompt?: string | undefined;
@@ -43829,7 +43829,6 @@ declare const OrbitalUnitSchema: z.ZodObject<{
43829
43829
  ref: string;
43830
43830
  path?: string | undefined;
43831
43831
  from?: string | undefined;
43832
- linkedEntity?: string | undefined;
43833
43832
  traits?: (string | {
43834
43833
  name: string;
43835
43834
  scope: "instance" | "collection";
@@ -43984,11 +43983,11 @@ declare const OrbitalUnitSchema: z.ZodObject<{
43984
43983
  events?: Record<string, string> | undefined;
43985
43984
  linkedEntity?: string | undefined;
43986
43985
  })[] | undefined;
43986
+ linkedEntity?: string | undefined;
43987
43987
  }, {
43988
43988
  ref: string;
43989
43989
  path?: string | undefined;
43990
43990
  from?: string | undefined;
43991
- linkedEntity?: string | undefined;
43992
43991
  traits?: (string | {
43993
43992
  name: string;
43994
43993
  scope: "instance" | "collection";
@@ -44143,6 +44142,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
44143
44142
  events?: Record<string, string> | undefined;
44144
44143
  linkedEntity?: string | undefined;
44145
44144
  })[] | undefined;
44145
+ linkedEntity?: string | undefined;
44146
44146
  }>]>, "many">;
44147
44147
  emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
44148
44148
  event: z.ZodString;
@@ -44583,7 +44583,6 @@ declare const OrbitalUnitSchema: z.ZodObject<{
44583
44583
  ref: string;
44584
44584
  path?: string | undefined;
44585
44585
  from?: string | undefined;
44586
- linkedEntity?: string | undefined;
44587
44586
  traits?: (string | {
44588
44587
  name: string;
44589
44588
  scope: "instance" | "collection";
@@ -44738,6 +44737,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
44738
44737
  events?: Record<string, string> | undefined;
44739
44738
  linkedEntity?: string | undefined;
44740
44739
  })[] | undefined;
44740
+ linkedEntity?: string | undefined;
44741
44741
  })[];
44742
44742
  description?: string | undefined;
44743
44743
  visual_prompt?: string | undefined;
@@ -45497,7 +45497,6 @@ declare const OrbitalUnitSchema: z.ZodObject<{
45497
45497
  ref: string;
45498
45498
  path?: string | undefined;
45499
45499
  from?: string | undefined;
45500
- linkedEntity?: string | undefined;
45501
45500
  traits?: (string | {
45502
45501
  name: string;
45503
45502
  scope: "instance" | "collection";
@@ -45652,6 +45651,7 @@ declare const OrbitalUnitSchema: z.ZodObject<{
45652
45651
  events?: Record<string, string> | undefined;
45653
45652
  linkedEntity?: string | undefined;
45654
45653
  })[] | undefined;
45654
+ linkedEntity?: string | undefined;
45655
45655
  })[];
45656
45656
  description?: string | undefined;
45657
45657
  visual_prompt?: string | undefined;
@@ -52430,7 +52430,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
52430
52430
  ref: string;
52431
52431
  path?: string | undefined;
52432
52432
  from?: string | undefined;
52433
- linkedEntity?: string | undefined;
52434
52433
  traits?: (string | {
52435
52434
  name: string;
52436
52435
  scope: "instance" | "collection";
@@ -52585,11 +52584,11 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
52585
52584
  events?: Record<string, string> | undefined;
52586
52585
  linkedEntity?: string | undefined;
52587
52586
  })[] | undefined;
52587
+ linkedEntity?: string | undefined;
52588
52588
  }, {
52589
52589
  ref: string;
52590
52590
  path?: string | undefined;
52591
52591
  from?: string | undefined;
52592
- linkedEntity?: string | undefined;
52593
52592
  traits?: (string | {
52594
52593
  name: string;
52595
52594
  scope: "instance" | "collection";
@@ -52744,6 +52743,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
52744
52743
  events?: Record<string, string> | undefined;
52745
52744
  linkedEntity?: string | undefined;
52746
52745
  })[] | undefined;
52746
+ linkedEntity?: string | undefined;
52747
52747
  }>]>, "many">;
52748
52748
  emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
52749
52749
  event: z.ZodString;
@@ -53184,7 +53184,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
53184
53184
  ref: string;
53185
53185
  path?: string | undefined;
53186
53186
  from?: string | undefined;
53187
- linkedEntity?: string | undefined;
53188
53187
  traits?: (string | {
53189
53188
  name: string;
53190
53189
  scope: "instance" | "collection";
@@ -53339,6 +53338,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
53339
53338
  events?: Record<string, string> | undefined;
53340
53339
  linkedEntity?: string | undefined;
53341
53340
  })[] | undefined;
53341
+ linkedEntity?: string | undefined;
53342
53342
  })[];
53343
53343
  description?: string | undefined;
53344
53344
  visual_prompt?: string | undefined;
@@ -54098,7 +54098,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
54098
54098
  ref: string;
54099
54099
  path?: string | undefined;
54100
54100
  from?: string | undefined;
54101
- linkedEntity?: string | undefined;
54102
54101
  traits?: (string | {
54103
54102
  name: string;
54104
54103
  scope: "instance" | "collection";
@@ -54253,6 +54252,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
54253
54252
  events?: Record<string, string> | undefined;
54254
54253
  linkedEntity?: string | undefined;
54255
54254
  })[] | undefined;
54255
+ linkedEntity?: string | undefined;
54256
54256
  })[];
54257
54257
  description?: string | undefined;
54258
54258
  visual_prompt?: string | undefined;
@@ -55234,7 +55234,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
55234
55234
  ref: string;
55235
55235
  path?: string | undefined;
55236
55236
  from?: string | undefined;
55237
- linkedEntity?: string | undefined;
55238
55237
  traits?: (string | {
55239
55238
  name: string;
55240
55239
  scope: "instance" | "collection";
@@ -55389,6 +55388,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
55389
55388
  events?: Record<string, string> | undefined;
55390
55389
  linkedEntity?: string | undefined;
55391
55390
  })[] | undefined;
55391
+ linkedEntity?: string | undefined;
55392
55392
  })[];
55393
55393
  description?: string | undefined;
55394
55394
  visual_prompt?: string | undefined;
@@ -56250,7 +56250,6 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
56250
56250
  ref: string;
56251
56251
  path?: string | undefined;
56252
56252
  from?: string | undefined;
56253
- linkedEntity?: string | undefined;
56254
56253
  traits?: (string | {
56255
56254
  name: string;
56256
56255
  scope: "instance" | "collection";
@@ -56405,6 +56404,7 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
56405
56404
  events?: Record<string, string> | undefined;
56406
56405
  linkedEntity?: string | undefined;
56407
56406
  })[] | undefined;
56407
+ linkedEntity?: string | undefined;
56408
56408
  })[];
56409
56409
  description?: string | undefined;
56410
56410
  visual_prompt?: string | undefined;
@@ -57331,7 +57331,6 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
57331
57331
  ref: string;
57332
57332
  path?: string | undefined;
57333
57333
  from?: string | undefined;
57334
- linkedEntity?: string | undefined;
57335
57334
  traits?: (string | {
57336
57335
  name: string;
57337
57336
  scope: "instance" | "collection";
@@ -57486,6 +57485,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
57486
57485
  events?: Record<string, string> | undefined;
57487
57486
  linkedEntity?: string | undefined;
57488
57487
  })[] | undefined;
57488
+ linkedEntity?: string | undefined;
57489
57489
  })[];
57490
57490
  description?: string | undefined;
57491
57491
  visual_prompt?: string | undefined;
@@ -58347,7 +58347,6 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
58347
58347
  ref: string;
58348
58348
  path?: string | undefined;
58349
58349
  from?: string | undefined;
58350
- linkedEntity?: string | undefined;
58351
58350
  traits?: (string | {
58352
58351
  name: string;
58353
58352
  scope: "instance" | "collection";
@@ -58502,6 +58501,7 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
58502
58501
  events?: Record<string, string> | undefined;
58503
58502
  linkedEntity?: string | undefined;
58504
58503
  })[] | undefined;
58504
+ linkedEntity?: string | undefined;
58505
58505
  })[];
58506
58506
  description?: string | undefined;
58507
58507
  visual_prompt?: string | undefined;
@@ -2908,6 +2908,27 @@ type TraitConfig = TraitConfigObject;
2908
2908
  /** Zod schema for TraitConfig. Recursive via z.lazy to allow nested structures. */
2909
2909
  declare const TraitConfigValueSchema: z.ZodType<TraitConfigValue>;
2910
2910
  declare const TraitConfigSchema: z.ZodType<TraitConfig>;
2911
+ /**
2912
+ * A single entry in a call-site `config { }` override block. Either a plain
2913
+ * wiring value (`TraitConfigValue` — string, number, bool, array, object) or
2914
+ * a fully-annotated re-declaration (`ConfigFieldDeclaration` — carries `type`,
2915
+ * optional `label`/`description`/`synonyms`/`tier`). Disambiguated at runtime
2916
+ * by `isCallSiteConfigDeclaration`: the presence of a `"type"` string key
2917
+ * marks the annotated form.
2918
+ *
2919
+ * The `.orb` compiler emits plain values for wiring entries and
2920
+ * `{ type, default, ... }` objects for annotated entries. Consumers that only
2921
+ * need the value (e.g. `apply-params-to-orb.ts`) read `entry` directly for
2922
+ * primitives or `entry.default` for the declaration form.
2923
+ */
2924
+ type CallSiteConfigEntry = TraitConfigValue | ConfigFieldDeclaration;
2925
+ /** Typed map of call-site config entries (one per knob). */
2926
+ type CallSiteConfig = Readonly<Record<string, CallSiteConfigEntry>>;
2927
+ /**
2928
+ * Type guard: returns `true` when `entry` is an annotated `ConfigFieldDeclaration`
2929
+ * (has a `"type"` string key) rather than a plain wiring value.
2930
+ */
2931
+ declare function isCallSiteConfigDeclaration(entry: CallSiteConfigEntry): entry is ConfigFieldDeclaration;
2911
2932
  /**
2912
2933
  * Per-field entry in a trait's DECLARED `config { }` schema as it lives
2913
2934
  * on the `.orb` JSON: `{ type: "string" | "[string]" | "object" | ...,
@@ -3473,7 +3494,17 @@ interface TraitReference {
3473
3494
  * fields. Applied during inline substitution alongside `linkedEntity`.
3474
3495
  */
3475
3496
  fields?: Record<string, string>;
3476
- config?: TraitConfig;
3497
+ /**
3498
+ * Call-site config overrides. Each entry is either a plain wiring value
3499
+ * (`TraitConfigValue`) or a fully-annotated re-declaration
3500
+ * (`ConfigFieldDeclaration` with `type`, optional `label`/`description`/
3501
+ * `synonyms`/`tier`). Use `isCallSiteConfigDeclaration` to discriminate.
3502
+ *
3503
+ * Plain wiring (existing callers): `config: { icon: "star", count: 5 }`.
3504
+ * Annotated (new): `config: { icon: { type: "string", default: "star",
3505
+ * label: "Icon", tier: "presentation" } }`.
3506
+ */
3507
+ config?: CallSiteConfig;
3477
3508
  appliesTo?: string[];
3478
3509
  /**
3479
3510
  * Phase F.7: replace the imported trait's `listens` array with the
@@ -3524,7 +3555,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3524
3555
  name: z.ZodOptional<z.ZodString>;
3525
3556
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3526
3557
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3527
- config: z.ZodOptional<z.ZodType<TraitConfigObject, z.ZodTypeDef, TraitConfigObject>>;
3558
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<ConfigFieldDeclaration, z.ZodTypeDef, ConfigFieldDeclaration>, z.ZodType<TraitConfigValue, z.ZodTypeDef, TraitConfigValue>]>>>;
3528
3559
  appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3529
3560
  listens: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
3530
3561
  emitsScope: z.ZodOptional<z.ZodEnum<["internal", "external"]>>;
@@ -3533,49 +3564,49 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3533
3564
  ref: string;
3534
3565
  name?: string | undefined;
3535
3566
  fields?: Record<string, string> | undefined;
3536
- config?: TraitConfigObject | undefined;
3567
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
3537
3568
  events?: Record<string, string> | undefined;
3538
3569
  from?: string | undefined;
3539
3570
  effects?: Record<string, unknown[]> | undefined;
3540
3571
  listens?: unknown[] | undefined;
3541
- linkedEntity?: string | undefined;
3542
3572
  appliesTo?: string[] | undefined;
3573
+ linkedEntity?: string | undefined;
3543
3574
  emitsScope?: "internal" | "external" | undefined;
3544
3575
  }, {
3545
3576
  ref: string;
3546
3577
  name?: string | undefined;
3547
3578
  fields?: Record<string, string> | undefined;
3548
- config?: TraitConfigObject | undefined;
3579
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
3549
3580
  events?: Record<string, string> | undefined;
3550
3581
  from?: string | undefined;
3551
3582
  effects?: Record<string, unknown[]> | undefined;
3552
3583
  listens?: unknown[] | undefined;
3553
- linkedEntity?: string | undefined;
3554
3584
  appliesTo?: string[] | undefined;
3585
+ linkedEntity?: string | undefined;
3555
3586
  emitsScope?: "internal" | "external" | undefined;
3556
3587
  }>, {
3557
3588
  ref: string;
3558
3589
  name?: string | undefined;
3559
3590
  fields?: Record<string, string> | undefined;
3560
- config?: TraitConfigObject | undefined;
3591
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
3561
3592
  events?: Record<string, string> | undefined;
3562
3593
  from?: string | undefined;
3563
3594
  effects?: Record<string, unknown[]> | undefined;
3564
3595
  listens?: unknown[] | undefined;
3565
- linkedEntity?: string | undefined;
3566
3596
  appliesTo?: string[] | undefined;
3597
+ linkedEntity?: string | undefined;
3567
3598
  emitsScope?: "internal" | "external" | undefined;
3568
3599
  }, {
3569
3600
  ref: string;
3570
3601
  name?: string | undefined;
3571
3602
  fields?: Record<string, string> | undefined;
3572
- config?: TraitConfigObject | undefined;
3603
+ config?: Record<string, TraitConfigValue | ConfigFieldDeclaration> | undefined;
3573
3604
  events?: Record<string, string> | undefined;
3574
3605
  from?: string | undefined;
3575
3606
  effects?: Record<string, unknown[]> | undefined;
3576
3607
  listens?: unknown[] | undefined;
3577
- linkedEntity?: string | undefined;
3578
3608
  appliesTo?: string[] | undefined;
3609
+ linkedEntity?: string | undefined;
3579
3610
  emitsScope?: "internal" | "external" | undefined;
3580
3611
  }>;
3581
3612
  /**
@@ -3589,7 +3620,7 @@ declare const TraitReferenceSchema: z.ZodEffects<z.ZodObject<{
3589
3620
  */
3590
3621
  type TraitRef = string | {
3591
3622
  ref: string;
3592
- config?: TraitConfig;
3623
+ config?: CallSiteConfig;
3593
3624
  linkedEntity?: string;
3594
3625
  name?: string;
3595
3626
  events?: Record<string, string>;
@@ -5499,7 +5530,7 @@ declare function getTraitName(traitRef: TraitRef): string;
5499
5530
  * getTraitConfig({ name: 'MyTrait' }); // returns undefined
5500
5531
  * getTraitConfig({ ref: 'MyTrait', config: { option: 'value' } }); // returns config object
5501
5532
  */
5502
- declare function getTraitConfig(traitRef: TraitRef): TraitConfig | undefined;
5533
+ declare function getTraitConfig(traitRef: TraitRef): CallSiteConfig | undefined;
5503
5534
  /**
5504
5535
  * Normalizes a trait reference to object form.
5505
5536
  *
@@ -5516,7 +5547,7 @@ declare function getTraitConfig(traitRef: TraitRef): TraitConfig | undefined;
5516
5547
  */
5517
5548
  declare function normalizeTraitRef(traitRef: TraitRef): {
5518
5549
  ref: string;
5519
- config?: TraitConfig;
5550
+ config?: CallSiteConfig;
5520
5551
  };
5521
5552
  type TraitInput = z.input<typeof TraitSchema>;
5522
5553
  type TraitReferenceInput = z.input<typeof TraitReferenceSchema>;
@@ -6377,4 +6408,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
6377
6408
  } | undefined;
6378
6409
  }>]>;
6379
6410
 
6380
- export { type DerefEffect as $, ASSET_ASPECTS as A, AssetCatalogEntrySchema as B, type ConfigFieldDeclaration as C, AssetCatalogSchema as D, type Effect as E, type AssetDimension as F, AssetDimensionSchema as G, type AssetMap as H, type AssetMapInput as I, AssetMapSchema as J, type AssetMapping as K, type AssetMappingInput as L, AssetMappingSchema as M, AssetSchema as N, type AssetUrl as O, type AtomicEffect as P, type CallServiceConfig as Q, type RenderBinding as R, type ServiceRef as S, type TraitConfig as T, type UISlot as U, type CallServiceEffect as V, type CheckpointLoadEffect as W, type CheckpointSaveEffect as X, ConfigFieldDeclarationSchema as Y, type DeclaredTraitConfig as Z, DeclaredTraitConfigSchema as _, type Trait as a, type PersistEmitConfig as a$, type DespawnEffect as a0, type DoEffect as a1, ENTITY_ROLES as a2, type EffectInput as a3, EffectSchema as a4, type EmitConfig as a5, type EmitEffect as a6, type EntityData as a7, type EntityFieldContract as a8, EntityFieldContractSchema as a9, type ForwardConfig as aA, type ForwardEffect as aB, GAME_TYPES as aC, type GameType as aD, GameTypeSchema as aE, type Guard as aF, type GuardInput as aG, GuardSchema as aH, type ListenSource as aI, ListenSourceSchema as aJ, type LogEffect as aK, type McpServiceDef as aL, McpServiceDefSchema as aM, type NavigateEffect as aN, type NnConfig as aO, type NnLayer as aP, type NotifyEffect as aQ, type OrbitalEntity as aR, type OrbitalEntityInput as aS, OrbitalEntitySchema as aT, type OrbitalTraitRef as aU, OrbitalTraitRefSchema as aV, type OsEffect as aW, type PayloadField as aX, PayloadFieldSchema as aY, type PersistData as aZ, type PersistEffect as a_, type EntityFieldInput as aa, EntityFieldSchema as ab, EntityPersistenceSchema as ac, type EntityRole as ad, EntityRoleSchema as ae, EntitySchema as af, type EntityWith as ag, type EnumEntityField as ah, type EvaluateConfig as ai, type EvaluateEffect as aj, type Event as ak, type EventInput as al, EventPayloadFieldSchema as am, EventSchema as an, type EventScope as ao, EventScopeSchema as ap, type FetchEffect as aq, type FetchOptions as ar, type FetchResult as as, type Field as at, type FieldFormat as au, FieldFormatSchema as av, FieldSchema as aw, type FieldType as ax, FieldTypeSchema as ay, type FieldValue as az, type RenderUIEffect as b, TraitTickSchema as b$, type PresentationType as b0, type RefEffect as b1, type RelationConfig as b2, RelationConfigSchema as b3, type RelationEntityField as b4, type RenderItemLambda as b5, type RenderUIConfig as b6, type RenderUINode as b7, type RequiredField as b8, RequiredFieldSchema as b9, SocketServiceDefSchema as bA, type SpawnEffect as bB, type StateInput as bC, type StateMachine as bD, type StateMachineInput as bE, StateMachineSchema as bF, StateSchema as bG, type SwapEffect as bH, type TrainConfig as bI, type TrainEffect as bJ, type TraitCategory as bK, TraitCategorySchema as bL, TraitConfigSchema as bM, type TraitConfigValue as bN, TraitConfigValueSchema as bO, type TraitDataEntity as bP, TraitDataEntitySchema as bQ, type TraitEntityField as bR, TraitEntityFieldSchema as bS, TraitEventContractSchema as bT, TraitEventListenerSchema as bU, type TraitInput as bV, TraitRefSchema as bW, type TraitReferenceInput as bX, TraitReferenceSchema as bY, TraitSchema as bZ, type TraitTick as b_, type ResolvedAsset as ba, type ResolvedAssetInput as bb, ResolvedAssetSchema as bc, type ResolvedPatternProps as bd, type RestAuthConfig as be, RestAuthConfigSchema as bf, type RestServiceDef as bg, RestServiceDefSchema as bh, SERVICE_TYPES as bi, type ScalarEntityField as bj, type SemanticAssetRef as bk, type SemanticAssetRefInput as bl, SemanticAssetRefSchema as bm, ServiceDefinitionSchema as bn, type ServiceParams as bo, type ServiceParamsValue as bp, type ServiceRefObject as bq, ServiceRefObjectSchema as br, ServiceRefSchema as bs, ServiceRefStringSchema as bt, type ServiceType as bu, ServiceTypeSchema as bv, type SetEffect as bw, type SocketEvents as bx, SocketEventsSchema as by, type SocketServiceDef as bz, type TraitEventContract as c, type TraitUIBinding as c0, type Transition as c1, type TransitionInput as c2, TransitionSchema as c3, type TypedEffect as c4, UISlotSchema as c5, UI_SLOTS as c6, VISUAL_STYLES as c7, type VisualStyle as c8, VisualStyleSchema as c9, isSocketService as cA, navigate as cB, normalizeTraitRef as cC, notify as cD, parseAssetKey as cE, parseServiceRef as cF, persist as cG, ref as cH, renderUI as cI, set as cJ, spawn as cK, swap as cL, validateAssetAnimations as cM, watch as cN, type TraitScope as cO, type WatchEffect as ca, type WatchOptions as cb, atomic as cc, callService as cd, createAssetKey as ce, deref as cf, deriveCollection as cg, despawn as ch, doEffects as ci, emit as cj, findService as ck, getDefaultAnimationsForRole as cl, getServiceNames as cm, getTraitConfig as cn, getTraitName as co, hasService as cp, isCircuitEvent as cq, isEffect as cr, isInlineTrait as cs, isMcpService as ct, isRestService as cu, isRuntimeEntity as cv, isSExprEffect as cw, isServiceReference as cx, isServiceReferenceObject as cy, isSingletonEntity as cz, type Entity as d, type TraitEventListener as e, type EntityField as f, type EntityPersistence as g, type EntityRow as h, type TraitRef as i, type TraitReference as j, type TraitConfigObject as k, type EventPayloadField as l, type ServiceDefinition as m, type State as n, ASSET_DIMENSIONS as o, type AgentEffect as p, type AnimationDef as q, type AnimationDefInput as r, AnimationDefSchema as s, type ArrayEntityField as t, type Asset as u, type AssetAspect as v, AssetAspectSchema as w, type AssetCatalog as x, type AssetCatalogEntry as y, type AssetCatalogEntryInput as z };
6411
+ export { type DeclaredTraitConfig as $, ASSET_ASPECTS as A, type AssetCatalogEntryInput as B, type CallSiteConfig as C, AssetCatalogEntrySchema as D, type Effect as E, AssetCatalogSchema as F, type AssetDimension as G, AssetDimensionSchema as H, type AssetMap as I, type AssetMapInput as J, AssetMapSchema as K, type AssetMapping as L, type AssetMappingInput as M, AssetMappingSchema as N, AssetSchema as O, type AssetUrl as P, type AtomicEffect as Q, type RenderBinding as R, type ServiceRef as S, type TraitConfig as T, type UISlot as U, type CallServiceConfig as V, type CallServiceEffect as W, type CallSiteConfigEntry as X, type CheckpointLoadEffect as Y, type CheckpointSaveEffect as Z, ConfigFieldDeclarationSchema as _, type Trait as a, type PersistData as a$, DeclaredTraitConfigSchema as a0, type DerefEffect as a1, type DespawnEffect as a2, type DoEffect as a3, ENTITY_ROLES as a4, type EffectInput as a5, EffectSchema as a6, type EmitConfig as a7, type EmitEffect as a8, type EntityData as a9, FieldTypeSchema as aA, type FieldValue as aB, type ForwardConfig as aC, type ForwardEffect as aD, GAME_TYPES as aE, type GameType as aF, GameTypeSchema as aG, type Guard as aH, type GuardInput as aI, GuardSchema as aJ, type ListenSource as aK, ListenSourceSchema as aL, type LogEffect as aM, type McpServiceDef as aN, McpServiceDefSchema as aO, type NavigateEffect as aP, type NnConfig as aQ, type NnLayer as aR, type NotifyEffect as aS, type OrbitalEntity as aT, type OrbitalEntityInput as aU, OrbitalEntitySchema as aV, type OrbitalTraitRef as aW, OrbitalTraitRefSchema as aX, type OsEffect as aY, type PayloadField as aZ, PayloadFieldSchema as a_, type EntityFieldContract as aa, EntityFieldContractSchema as ab, type EntityFieldInput as ac, EntityFieldSchema as ad, EntityPersistenceSchema as ae, type EntityRole as af, EntityRoleSchema as ag, EntitySchema as ah, type EntityWith as ai, type EnumEntityField as aj, type EvaluateConfig as ak, type EvaluateEffect as al, type Event as am, type EventInput as an, EventPayloadFieldSchema as ao, EventSchema as ap, type EventScope as aq, EventScopeSchema as ar, type FetchEffect as as, type FetchOptions as at, type FetchResult as au, type Field as av, type FieldFormat as aw, FieldFormatSchema as ax, FieldSchema as ay, type FieldType as az, type RenderUIEffect as b, TraitSchema as b$, type PersistEffect as b0, type PersistEmitConfig as b1, type PresentationType as b2, type RefEffect as b3, type RelationConfig as b4, RelationConfigSchema as b5, type RelationEntityField as b6, type RenderItemLambda as b7, type RenderUIConfig as b8, type RenderUINode as b9, SocketEventsSchema as bA, type SocketServiceDef as bB, SocketServiceDefSchema as bC, type SpawnEffect as bD, type StateInput as bE, type StateMachine as bF, type StateMachineInput as bG, StateMachineSchema as bH, StateSchema as bI, type SwapEffect as bJ, type TrainConfig as bK, type TrainEffect as bL, type TraitCategory as bM, TraitCategorySchema as bN, TraitConfigSchema as bO, type TraitConfigValue as bP, TraitConfigValueSchema as bQ, type TraitDataEntity as bR, TraitDataEntitySchema as bS, type TraitEntityField as bT, TraitEntityFieldSchema as bU, TraitEventContractSchema as bV, TraitEventListenerSchema as bW, type TraitInput as bX, TraitRefSchema as bY, type TraitReferenceInput as bZ, TraitReferenceSchema as b_, type RequiredField as ba, RequiredFieldSchema as bb, type ResolvedAsset as bc, type ResolvedAssetInput as bd, ResolvedAssetSchema as be, type ResolvedPatternProps as bf, type RestAuthConfig as bg, RestAuthConfigSchema as bh, type RestServiceDef as bi, RestServiceDefSchema as bj, SERVICE_TYPES as bk, type ScalarEntityField as bl, type SemanticAssetRef as bm, type SemanticAssetRefInput as bn, SemanticAssetRefSchema as bo, ServiceDefinitionSchema as bp, type ServiceParams as bq, type ServiceParamsValue as br, type ServiceRefObject as bs, ServiceRefObjectSchema as bt, ServiceRefSchema as bu, ServiceRefStringSchema as bv, type ServiceType as bw, ServiceTypeSchema as bx, type SetEffect as by, type SocketEvents as bz, type TraitEventContract as c, type TraitTick as c0, TraitTickSchema as c1, type TraitUIBinding as c2, type Transition as c3, type TransitionInput as c4, TransitionSchema as c5, type TypedEffect as c6, UISlotSchema as c7, UI_SLOTS as c8, VISUAL_STYLES as c9, isServiceReference as cA, isServiceReferenceObject as cB, isSingletonEntity as cC, isSocketService as cD, navigate as cE, normalizeTraitRef as cF, notify as cG, parseAssetKey as cH, parseServiceRef as cI, persist as cJ, ref as cK, renderUI as cL, set as cM, spawn as cN, swap as cO, validateAssetAnimations as cP, watch as cQ, type TraitScope as cR, type VisualStyle as ca, VisualStyleSchema as cb, type WatchEffect as cc, type WatchOptions as cd, atomic as ce, callService as cf, createAssetKey as cg, deref as ch, deriveCollection as ci, despawn as cj, doEffects as ck, emit as cl, findService as cm, getDefaultAnimationsForRole as cn, getServiceNames as co, getTraitConfig as cp, getTraitName as cq, hasService as cr, isCallSiteConfigDeclaration as cs, isCircuitEvent as ct, isEffect as cu, isInlineTrait as cv, isMcpService as cw, isRestService as cx, isRuntimeEntity as cy, isSExprEffect as cz, type Entity as d, type TraitEventListener as e, type EntityField as f, type EntityPersistence as g, type EntityRow as h, type TraitRef as i, type TraitReference as j, type TraitConfigObject as k, type EventPayloadField as l, type ConfigFieldDeclaration as m, type ServiceDefinition as n, type State as o, ASSET_DIMENSIONS as p, type AgentEffect as q, type AnimationDef as r, type AnimationDefInput as s, AnimationDefSchema as t, type ArrayEntityField as u, type Asset as v, type AssetAspect as w, AssetAspectSchema as x, type AssetCatalog as y, type AssetCatalogEntry as z };
@@ -1,14 +1,14 @@
1
- import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-C3osccoR.js';
2
- export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, be as ThemeDefinition, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-C3osccoR.js';
3
- import { bo as ServiceParams, a as Trait, d as Entity, h as EntityRow, az as FieldValue, Z as DeclaredTraitConfig, T as TraitConfig, E as Effect, C as ConfigFieldDeclaration, n as State, c1 as Transition, f as EntityField, ak as Event, bN as TraitConfigValue, g as EntityPersistence, bK as TraitCategory, cO as TraitScope } from '../trait-DwxDJ6PP.js';
4
- export { A as ASSET_ASPECTS, o as ASSET_DIMENSIONS, p as AgentEffect, q as AnimationDef, r as AnimationDefInput, s as AnimationDefSchema, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, D as AssetCatalogSchema, F as AssetDimension, G as AssetDimensionSchema, H as AssetMap, I as AssetMapInput, J as AssetMapSchema, K as AssetMapping, L as AssetMappingInput, M as AssetMappingSchema, N as AssetSchema, O as AssetUrl, P as AtomicEffect, Q as CallServiceConfig, V as CallServiceEffect, W as CheckpointLoadEffect, X as CheckpointSaveEffect, Y as ConfigFieldDeclarationSchema, _ as DeclaredTraitConfigSchema, $ as DerefEffect, a0 as DespawnEffect, a1 as DoEffect, a2 as ENTITY_ROLES, a3 as EffectInput, a4 as EffectSchema, a5 as EmitConfig, a6 as EmitEffect, a7 as EntityData, a8 as EntityFieldContract, a9 as EntityFieldContractSchema, aa as EntityFieldInput, ab as EntityFieldSchema, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, al as EventInput, l as EventPayloadField, am as EventPayloadFieldSchema, an as EventSchema, ao as EventScope, ap as EventScopeSchema, aq as FetchEffect, ar as FetchOptions, as as FetchResult, at as Field, au as FieldFormat, av as FieldFormatSchema, aw as FieldSchema, ax as FieldType, ay as FieldTypeSchema, aA as ForwardConfig, aB as ForwardEffect, aC as GAME_TYPES, aD as GameType, aE as GameTypeSchema, aF as Guard, aG as GuardInput, aH as GuardSchema, aI as ListenSource, aJ as ListenSourceSchema, aK as LogEffect, aL as McpServiceDef, aM as McpServiceDefSchema, aN as NavigateEffect, aO as NnConfig, aP as NnLayer, aQ as NotifyEffect, aR as OrbitalEntity, aS as OrbitalEntityInput, aT as OrbitalEntitySchema, aU as OrbitalTraitRef, aV as OrbitalTraitRefSchema, aW as OsEffect, aX as PayloadField, aY as PayloadFieldSchema, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as PresentationType, b1 as RefEffect, b2 as RelationConfig, b3 as RelationConfigSchema, b4 as RelationEntityField, R as RenderBinding, b5 as RenderItemLambda, b6 as RenderUIConfig, b as RenderUIEffect, b7 as RenderUINode, b8 as RequiredField, b9 as RequiredFieldSchema, ba as ResolvedAsset, bb as ResolvedAssetInput, bc as ResolvedAssetSchema, bd as ResolvedPatternProps, be as RestAuthConfig, bf as RestAuthConfigSchema, bg as RestServiceDef, bh as RestServiceDefSchema, bi as SERVICE_TYPES, bj as ScalarEntityField, bk as SemanticAssetRef, bl as SemanticAssetRefInput, bm as SemanticAssetRefSchema, m as ServiceDefinition, bn as ServiceDefinitionSchema, bp as ServiceParamsValue, S as ServiceRef, bq as ServiceRefObject, br as ServiceRefObjectSchema, bs as ServiceRefSchema, bt as ServiceRefStringSchema, bu as ServiceType, bv as ServiceTypeSchema, bw as SetEffect, bx as SocketEvents, by as SocketEventsSchema, bz as SocketServiceDef, bA as SocketServiceDefSchema, bB as SpawnEffect, bC as StateInput, bD as StateMachine, bE as StateMachineInput, bF as StateMachineSchema, bG as StateSchema, bH as SwapEffect, bI as TrainConfig, bJ as TrainEffect, bL as TraitCategorySchema, k as TraitConfigObject, bM as TraitConfigSchema, bO as TraitConfigValueSchema, bP as TraitDataEntity, bQ as TraitDataEntitySchema, bR as TraitEntityField, bS as TraitEntityFieldSchema, c as TraitEventContract, bT as TraitEventContractSchema, e as TraitEventListener, bU as TraitEventListenerSchema, bV as TraitInput, i as TraitRef, bW as TraitRefSchema, j as TraitReference, bX as TraitReferenceInput, bY as TraitReferenceSchema, bZ as TraitSchema, b_ as TraitTick, b$ as TraitTickSchema, c0 as TraitUIBinding, c2 as TransitionInput, c3 as TransitionSchema, c4 as TypedEffect, U as UISlot, c5 as UISlotSchema, c6 as UI_SLOTS, c7 as VISUAL_STYLES, c8 as VisualStyle, c9 as VisualStyleSchema, ca as WatchEffect, cb as WatchOptions, cc as atomic, cd as callService, ce as createAssetKey, cf as deref, cg as deriveCollection, ch as despawn, ci as doEffects, cj as emit, ck as findService, cl as getDefaultAnimationsForRole, cm as getServiceNames, cn as getTraitConfig, co as getTraitName, cp as hasService, cq as isCircuitEvent, cr as isEffect, cs as isInlineTrait, ct as isMcpService, cu as isRestService, cv as isRuntimeEntity, cw as isSExprEffect, cx as isServiceReference, cy as isServiceReferenceObject, cz as isSingletonEntity, cA as isSocketService, cB as navigate, cC as normalizeTraitRef, cD as notify, cE as parseAssetKey, cF as parseServiceRef, cG as persist, cH as ref, cI as renderUI, cJ as set, cK as spawn, cL as swap, cM as validateAssetAnimations, cN as watch } from '../trait-DwxDJ6PP.js';
1
+ import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-DAc5czBW.js';
2
+ export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, be as ThemeDefinition, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-DAc5czBW.js';
3
+ import { bq as ServiceParams, a as Trait, d as Entity, h as EntityRow, aB as FieldValue, $ as DeclaredTraitConfig, T as TraitConfig, E as Effect, m as ConfigFieldDeclaration, o as State, c3 as Transition, f as EntityField, am as Event, bP as TraitConfigValue, g as EntityPersistence, bM as TraitCategory, cR as TraitScope } from '../trait-CWjT0yBO.js';
4
+ export { A as ASSET_ASPECTS, p as ASSET_DIMENSIONS, q as AgentEffect, r as AnimationDef, s as AnimationDefInput, t as AnimationDefSchema, u as ArrayEntityField, v as Asset, w as AssetAspect, x as AssetAspectSchema, y as AssetCatalog, z as AssetCatalogEntry, B as AssetCatalogEntryInput, D as AssetCatalogEntrySchema, F as AssetCatalogSchema, G as AssetDimension, H as AssetDimensionSchema, I as AssetMap, J as AssetMapInput, K as AssetMapSchema, L as AssetMapping, M as AssetMappingInput, N as AssetMappingSchema, O as AssetSchema, P as AssetUrl, Q as AtomicEffect, V as CallServiceConfig, W as CallServiceEffect, C as CallSiteConfig, X as CallSiteConfigEntry, Y as CheckpointLoadEffect, Z as CheckpointSaveEffect, _ as ConfigFieldDeclarationSchema, a0 as DeclaredTraitConfigSchema, a1 as DerefEffect, a2 as DespawnEffect, a3 as DoEffect, a4 as ENTITY_ROLES, a5 as EffectInput, a6 as EffectSchema, a7 as EmitConfig, a8 as EmitEffect, a9 as EntityData, aa as EntityFieldContract, ab as EntityFieldContractSchema, ac as EntityFieldInput, ad as EntityFieldSchema, ae as EntityPersistenceSchema, af as EntityRole, ag as EntityRoleSchema, ah as EntitySchema, ai as EntityWith, aj as EnumEntityField, ak as EvaluateConfig, al as EvaluateEffect, an as EventInput, l as EventPayloadField, ao as EventPayloadFieldSchema, ap as EventSchema, aq as EventScope, ar as EventScopeSchema, as as FetchEffect, at as FetchOptions, au as FetchResult, av as Field, aw as FieldFormat, ax as FieldFormatSchema, ay as FieldSchema, az as FieldType, aA as FieldTypeSchema, aC as ForwardConfig, aD as ForwardEffect, aE as GAME_TYPES, aF as GameType, aG as GameTypeSchema, aH as Guard, aI as GuardInput, aJ as GuardSchema, aK as ListenSource, aL as ListenSourceSchema, aM as LogEffect, aN as McpServiceDef, aO as McpServiceDefSchema, aP as NavigateEffect, aQ as NnConfig, aR as NnLayer, aS as NotifyEffect, aT as OrbitalEntity, aU as OrbitalEntityInput, aV as OrbitalEntitySchema, aW as OrbitalTraitRef, aX as OrbitalTraitRefSchema, aY as OsEffect, aZ as PayloadField, a_ as PayloadFieldSchema, a$ as PersistData, b0 as PersistEffect, b1 as PersistEmitConfig, b2 as PresentationType, b3 as RefEffect, b4 as RelationConfig, b5 as RelationConfigSchema, b6 as RelationEntityField, R as RenderBinding, b7 as RenderItemLambda, b8 as RenderUIConfig, b as RenderUIEffect, b9 as RenderUINode, ba as RequiredField, bb as RequiredFieldSchema, bc as ResolvedAsset, bd as ResolvedAssetInput, be as ResolvedAssetSchema, bf as ResolvedPatternProps, bg as RestAuthConfig, bh as RestAuthConfigSchema, bi as RestServiceDef, bj as RestServiceDefSchema, bk as SERVICE_TYPES, bl as ScalarEntityField, bm as SemanticAssetRef, bn as SemanticAssetRefInput, bo as SemanticAssetRefSchema, n as ServiceDefinition, bp as ServiceDefinitionSchema, br as ServiceParamsValue, S as ServiceRef, bs as ServiceRefObject, bt as ServiceRefObjectSchema, bu as ServiceRefSchema, bv as ServiceRefStringSchema, bw as ServiceType, bx as ServiceTypeSchema, by as SetEffect, bz as SocketEvents, bA as SocketEventsSchema, bB as SocketServiceDef, bC as SocketServiceDefSchema, bD as SpawnEffect, bE as StateInput, bF as StateMachine, bG as StateMachineInput, bH as StateMachineSchema, bI as StateSchema, bJ as SwapEffect, bK as TrainConfig, bL as TrainEffect, bN as TraitCategorySchema, k as TraitConfigObject, bO as TraitConfigSchema, bQ as TraitConfigValueSchema, bR as TraitDataEntity, bS as TraitDataEntitySchema, bT as TraitEntityField, bU as TraitEntityFieldSchema, c as TraitEventContract, bV as TraitEventContractSchema, e as TraitEventListener, bW as TraitEventListenerSchema, bX as TraitInput, i as TraitRef, bY as TraitRefSchema, j as TraitReference, bZ as TraitReferenceInput, b_ as TraitReferenceSchema, b$ as TraitSchema, c0 as TraitTick, c1 as TraitTickSchema, c2 as TraitUIBinding, c4 as TransitionInput, c5 as TransitionSchema, c6 as TypedEffect, U as UISlot, c7 as UISlotSchema, c8 as UI_SLOTS, c9 as VISUAL_STYLES, ca as VisualStyle, cb as VisualStyleSchema, cc as WatchEffect, cd as WatchOptions, ce as atomic, cf as callService, cg as createAssetKey, ch as deref, ci as deriveCollection, cj as despawn, ck as doEffects, cl as emit, cm as findService, cn as getDefaultAnimationsForRole, co as getServiceNames, cp as getTraitConfig, cq as getTraitName, cr as hasService, cs as isCallSiteConfigDeclaration, ct as isCircuitEvent, cu as isEffect, cv as isInlineTrait, cw as isMcpService, cx as isRestService, cy as isRuntimeEntity, cz as isSExprEffect, cA as isServiceReference, cB as isServiceReferenceObject, cC as isSingletonEntity, cD as isSocketService, cE as navigate, cF as normalizeTraitRef, cG as notify, cH as parseAssetKey, cI as parseServiceRef, cJ as persist, cK as ref, cL as renderUI, cM as set, cN as spawn, cO as swap, cP as validateAssetAnimations, cQ as watch } from '../trait-CWjT0yBO.js';
5
5
  import { d as EventPayloadValue, c as EventPayload, L as LogMeta, S as SExpr, b as EvalContext } from '../expression-BUIi9ezJ.js';
6
6
  export { C as CORE_BINDINGS, a as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, P as ParsedBinding, g as SExprAtom, h as SExprAtomSchema, i as SExprInput, j as SExprSchema, k as collectBindings, l as getArgs, m as getOperator, n as isBinding, o as isSExpr, p as isSExprAtom, q as isSExprCall, r as isValidBinding, s as parseBinding, t as sexpr, w as walkSExpr } from '../expression-BUIi9ezJ.js';
7
7
  import { z } from 'zod';
8
8
  import { AnyPatternConfig } from '@almadar/patterns';
9
9
  export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
10
- import { c as FactoryConfigTier } from '../types-zx68_GSb.js';
11
- export { l as JsonObject, J as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-zx68_GSb.js';
10
+ import { c as FactoryConfigTier } from '../types-CQvAbsEc.js';
11
+ export { l as JsonObject, J as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-CQvAbsEc.js';
12
12
 
13
13
  /**
14
14
  * S-Expression Bindings