@almadar/core 10.55.0 → 10.56.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
- import { O as OrbitalSchema } from '../schema-0C1bXRFm.js';
2
- export { E as EntityAccessPolicies, e as entityAccessPolicies, a as entityAccessTable } from '../entityAccess-JTWGFDja.js';
1
+ import { O as OrbitalSchema } from '../schema-Nk1usPv6.js';
2
+ export { E as EntityAccessPolicies, e as entityAccessPolicies, a as entityAccessTable } from '../entityAccess-Bnz5CJ3S.js';
3
3
  import { a as EntityPersistence, E as EntityField, F as FieldValue, f as EntityRow } from '../effect-DxD-XTI8.js';
4
4
  import '../trait-WnYkvPdZ.js';
5
5
  import '../expression-Fk8bQWef.js';
@@ -1,6 +1,6 @@
1
1
  import { b as TraitConfig, c as TraitConfigObject, d as TraitRef, E as EventPayloadField, C as ConfigFieldDeclaration, e as TraitConfigValue, f as TraitEntityField, P as PayloadField, g as Trait } from './trait-WnYkvPdZ.js';
2
2
  import { J as JsonValue, E as Expression, S as SExpr, R as RuntimeValue } from './expression-Fk8bQWef.js';
3
- import { T as TraitId, d as EntityId, P as PageId, O as OrbitalId, S as ServiceRef, e as Entity, E as EntityField, a as EntityPersistence, b as EventId, g as ServiceDefinition, I as IdentityLedger } from './effect-DxD-XTI8.js';
3
+ import { T as TraitId, d as EntityId, P as PageId, O as OrbitalId, E as EntityField, S as ServiceRef, e as Entity, a as EntityPersistence, b as EventId, g as ServiceDefinition, I as IdentityLedger } from './effect-DxD-XTI8.js';
4
4
  import { z } from 'zod';
5
5
 
6
6
  /**
@@ -18406,6 +18406,71 @@ declare const UseDeclarationSchema: z.ZodObject<{
18406
18406
  from: string;
18407
18407
  as: string;
18408
18408
  }>;
18409
+ /**
18410
+ * ExpectDeclaration - a consumer-side requirement: "some sibling orbital
18411
+ * provides this, and here is the minimal typed slice of it I rely on."
18412
+ *
18413
+ * The dual of a provider: the entity `[identity]` tag declares "I am the
18414
+ * roster"; `expects identity` declares "I read the roster". Standalone
18415
+ * validation trusts the declaration and uses its shape as the local type
18416
+ * environment; composed-program validation link-checks it against the real
18417
+ * provider. The shape reuses the canonical `EntityField` so all type
18418
+ * compatibility flows through the one compat owner. Compile-time only.
18419
+ * See docs/Almadar_LOLO_Expects_Proposal.md.
18420
+ */
18421
+ type ExpectDeclaration = {
18422
+ /** `expects identity Customer { role : "admin" | "member" }` — the `@user` fields this orbital reads, typed. */
18423
+ kind: "identity";
18424
+ name?: string;
18425
+ shape?: EntityField[];
18426
+ } | {
18427
+ /** `expects entity OrderRecord { totalAmount : number }` — a sibling entity this orbital touches. Shape omitted = opaque reference. */
18428
+ kind: "entity";
18429
+ name: string;
18430
+ shape?: EntityField[];
18431
+ } | {
18432
+ /** `expects event Checkout.ORDER_PLACED` — a sibling trait produces this event (Phase 2). */
18433
+ kind: "event";
18434
+ traitName: string;
18435
+ event: string;
18436
+ };
18437
+ declare const ExpectDeclarationSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
18438
+ kind: z.ZodLiteral<"identity">;
18439
+ name: z.ZodOptional<z.ZodString>;
18440
+ shape: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
18441
+ }, "strip", z.ZodTypeAny, {
18442
+ kind: "identity";
18443
+ name?: string | undefined;
18444
+ shape?: EntityField[] | undefined;
18445
+ }, {
18446
+ kind: "identity";
18447
+ name?: string | undefined;
18448
+ shape?: unknown[] | undefined;
18449
+ }>, z.ZodObject<{
18450
+ kind: z.ZodLiteral<"entity">;
18451
+ name: z.ZodString;
18452
+ shape: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
18453
+ }, "strip", z.ZodTypeAny, {
18454
+ kind: "entity";
18455
+ name: string;
18456
+ shape?: EntityField[] | undefined;
18457
+ }, {
18458
+ kind: "entity";
18459
+ name: string;
18460
+ shape?: unknown[] | undefined;
18461
+ }>, z.ZodObject<{
18462
+ kind: z.ZodLiteral<"event">;
18463
+ traitName: z.ZodString;
18464
+ event: z.ZodString;
18465
+ }, "strip", z.ZodTypeAny, {
18466
+ event: string;
18467
+ kind: "event";
18468
+ traitName: string;
18469
+ }, {
18470
+ event: string;
18471
+ kind: "event";
18472
+ traitName: string;
18473
+ }>]>;
18409
18474
  /**
18410
18475
  * EntityCall - Reference to an imported entity with optional override arguments.
18411
18476
  *
@@ -22434,6 +22499,16 @@ type OrbitalDefinition = {
22434
22499
  * ```
22435
22500
  */
22436
22501
  uses?: UseDeclaration[];
22502
+ /**
22503
+ * Consumer-side requirement declarations (`.lolo` `expects ...`).
22504
+ *
22505
+ * Promises about sibling orbitals this unit relies on: trusted as the
22506
+ * local type environment when the orbital is validated standalone,
22507
+ * link-checked against real providers at compose. Compile-time only —
22508
+ * runtime semantics are unchanged.
22509
+ * See docs/Almadar_LOLO_Expects_Proposal.md.
22510
+ */
22511
+ expects?: ExpectDeclaration[];
22437
22512
  /**
22438
22513
  * Theme definition (inline OR reference via "Alias.theme").
22439
22514
  *
@@ -22549,6 +22624,43 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
22549
22624
  from: string;
22550
22625
  as: string;
22551
22626
  }>, "many">>;
22627
+ expects: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
22628
+ kind: z.ZodLiteral<"identity">;
22629
+ name: z.ZodOptional<z.ZodString>;
22630
+ shape: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
22631
+ }, "strip", z.ZodTypeAny, {
22632
+ kind: "identity";
22633
+ name?: string | undefined;
22634
+ shape?: EntityField[] | undefined;
22635
+ }, {
22636
+ kind: "identity";
22637
+ name?: string | undefined;
22638
+ shape?: unknown[] | undefined;
22639
+ }>, z.ZodObject<{
22640
+ kind: z.ZodLiteral<"entity">;
22641
+ name: z.ZodString;
22642
+ shape: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
22643
+ }, "strip", z.ZodTypeAny, {
22644
+ kind: "entity";
22645
+ name: string;
22646
+ shape?: EntityField[] | undefined;
22647
+ }, {
22648
+ kind: "entity";
22649
+ name: string;
22650
+ shape?: unknown[] | undefined;
22651
+ }>, z.ZodObject<{
22652
+ kind: z.ZodLiteral<"event">;
22653
+ traitName: z.ZodString;
22654
+ event: z.ZodString;
22655
+ }, "strip", z.ZodTypeAny, {
22656
+ event: string;
22657
+ kind: "event";
22658
+ traitName: string;
22659
+ }, {
22660
+ event: string;
22661
+ kind: "event";
22662
+ traitName: string;
22663
+ }>]>, "many">>;
22552
22664
  theme: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
22553
22665
  name: z.ZodString;
22554
22666
  tokens: z.ZodObject<{
@@ -30847,6 +30959,19 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
30847
30959
  from: string;
30848
30960
  as: string;
30849
30961
  }[] | undefined;
30962
+ expects?: ({
30963
+ kind: "identity";
30964
+ name?: string | undefined;
30965
+ shape?: EntityField[] | undefined;
30966
+ } | {
30967
+ kind: "entity";
30968
+ name: string;
30969
+ shape?: EntityField[] | undefined;
30970
+ } | {
30971
+ event: string;
30972
+ kind: "event";
30973
+ traitName: string;
30974
+ })[] | undefined;
30850
30975
  exposes?: string[] | undefined;
30851
30976
  domainContext?: {
30852
30977
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -31890,6 +32015,19 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
31890
32015
  from: string;
31891
32016
  as: string;
31892
32017
  }[] | undefined;
32018
+ expects?: ({
32019
+ kind: "identity";
32020
+ name?: string | undefined;
32021
+ shape?: unknown[] | undefined;
32022
+ } | {
32023
+ kind: "entity";
32024
+ name: string;
32025
+ shape?: unknown[] | undefined;
32026
+ } | {
32027
+ event: string;
32028
+ kind: "event";
32029
+ traitName: string;
32030
+ })[] | undefined;
31893
32031
  exposes?: string[] | undefined;
31894
32032
  domainContext?: {
31895
32033
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -31941,6 +32079,43 @@ declare const OrbitalSchema$1: z.ZodObject<{
31941
32079
  from: string;
31942
32080
  as: string;
31943
32081
  }>, "many">>;
32082
+ expects: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
32083
+ kind: z.ZodLiteral<"identity">;
32084
+ name: z.ZodOptional<z.ZodString>;
32085
+ shape: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
32086
+ }, "strip", z.ZodTypeAny, {
32087
+ kind: "identity";
32088
+ name?: string | undefined;
32089
+ shape?: EntityField[] | undefined;
32090
+ }, {
32091
+ kind: "identity";
32092
+ name?: string | undefined;
32093
+ shape?: unknown[] | undefined;
32094
+ }>, z.ZodObject<{
32095
+ kind: z.ZodLiteral<"entity">;
32096
+ name: z.ZodString;
32097
+ shape: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
32098
+ }, "strip", z.ZodTypeAny, {
32099
+ kind: "entity";
32100
+ name: string;
32101
+ shape?: EntityField[] | undefined;
32102
+ }, {
32103
+ kind: "entity";
32104
+ name: string;
32105
+ shape?: unknown[] | undefined;
32106
+ }>, z.ZodObject<{
32107
+ kind: z.ZodLiteral<"event">;
32108
+ traitName: z.ZodString;
32109
+ event: z.ZodString;
32110
+ }, "strip", z.ZodTypeAny, {
32111
+ event: string;
32112
+ kind: "event";
32113
+ traitName: string;
32114
+ }, {
32115
+ event: string;
32116
+ kind: "event";
32117
+ traitName: string;
32118
+ }>]>, "many">>;
31944
32119
  theme: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
31945
32120
  name: z.ZodString;
31946
32121
  tokens: z.ZodObject<{
@@ -40239,6 +40414,19 @@ declare const OrbitalSchema$1: z.ZodObject<{
40239
40414
  from: string;
40240
40415
  as: string;
40241
40416
  }[] | undefined;
40417
+ expects?: ({
40418
+ kind: "identity";
40419
+ name?: string | undefined;
40420
+ shape?: EntityField[] | undefined;
40421
+ } | {
40422
+ kind: "entity";
40423
+ name: string;
40424
+ shape?: EntityField[] | undefined;
40425
+ } | {
40426
+ event: string;
40427
+ kind: "event";
40428
+ traitName: string;
40429
+ })[] | undefined;
40242
40430
  exposes?: string[] | undefined;
40243
40431
  domainContext?: {
40244
40432
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -41282,6 +41470,19 @@ declare const OrbitalSchema$1: z.ZodObject<{
41282
41470
  from: string;
41283
41471
  as: string;
41284
41472
  }[] | undefined;
41473
+ expects?: ({
41474
+ kind: "identity";
41475
+ name?: string | undefined;
41476
+ shape?: unknown[] | undefined;
41477
+ } | {
41478
+ kind: "entity";
41479
+ name: string;
41480
+ shape?: unknown[] | undefined;
41481
+ } | {
41482
+ event: string;
41483
+ kind: "event";
41484
+ traitName: string;
41485
+ })[] | undefined;
41285
41486
  exposes?: string[] | undefined;
41286
41487
  domainContext?: {
41287
41488
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -41340,6 +41541,43 @@ declare const OrbitalUnitSchema: z.ZodObject<{
41340
41541
  from: string;
41341
41542
  as: string;
41342
41543
  }>, "many">>;
41544
+ expects: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
41545
+ kind: z.ZodLiteral<"identity">;
41546
+ name: z.ZodOptional<z.ZodString>;
41547
+ shape: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
41548
+ }, "strip", z.ZodTypeAny, {
41549
+ kind: "identity";
41550
+ name?: string | undefined;
41551
+ shape?: EntityField[] | undefined;
41552
+ }, {
41553
+ kind: "identity";
41554
+ name?: string | undefined;
41555
+ shape?: unknown[] | undefined;
41556
+ }>, z.ZodObject<{
41557
+ kind: z.ZodLiteral<"entity">;
41558
+ name: z.ZodString;
41559
+ shape: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
41560
+ }, "strip", z.ZodTypeAny, {
41561
+ kind: "entity";
41562
+ name: string;
41563
+ shape?: EntityField[] | undefined;
41564
+ }, {
41565
+ kind: "entity";
41566
+ name: string;
41567
+ shape?: unknown[] | undefined;
41568
+ }>, z.ZodObject<{
41569
+ kind: z.ZodLiteral<"event">;
41570
+ traitName: z.ZodString;
41571
+ event: z.ZodString;
41572
+ }, "strip", z.ZodTypeAny, {
41573
+ event: string;
41574
+ kind: "event";
41575
+ traitName: string;
41576
+ }, {
41577
+ event: string;
41578
+ kind: "event";
41579
+ traitName: string;
41580
+ }>]>, "many">>;
41343
41581
  theme: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
41344
41582
  name: z.ZodString;
41345
41583
  tokens: z.ZodObject<{
@@ -49638,6 +49876,19 @@ declare const OrbitalUnitSchema: z.ZodObject<{
49638
49876
  from: string;
49639
49877
  as: string;
49640
49878
  }[] | undefined;
49879
+ expects?: ({
49880
+ kind: "identity";
49881
+ name?: string | undefined;
49882
+ shape?: EntityField[] | undefined;
49883
+ } | {
49884
+ kind: "entity";
49885
+ name: string;
49886
+ shape?: EntityField[] | undefined;
49887
+ } | {
49888
+ event: string;
49889
+ kind: "event";
49890
+ traitName: string;
49891
+ })[] | undefined;
49641
49892
  exposes?: string[] | undefined;
49642
49893
  domainContext?: {
49643
49894
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -50681,6 +50932,19 @@ declare const OrbitalUnitSchema: z.ZodObject<{
50681
50932
  from: string;
50682
50933
  as: string;
50683
50934
  }[] | undefined;
50935
+ expects?: ({
50936
+ kind: "identity";
50937
+ name?: string | undefined;
50938
+ shape?: unknown[] | undefined;
50939
+ } | {
50940
+ kind: "entity";
50941
+ name: string;
50942
+ shape?: unknown[] | undefined;
50943
+ } | {
50944
+ event: string;
50945
+ kind: "event";
50946
+ traitName: string;
50947
+ })[] | undefined;
50684
50948
  exposes?: string[] | undefined;
50685
50949
  domainContext?: {
50686
50950
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -51086,6 +51350,43 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
51086
51350
  from: string;
51087
51351
  as: string;
51088
51352
  }>, "many">>;
51353
+ expects: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
51354
+ kind: z.ZodLiteral<"identity">;
51355
+ name: z.ZodOptional<z.ZodString>;
51356
+ shape: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
51357
+ }, "strip", z.ZodTypeAny, {
51358
+ kind: "identity";
51359
+ name?: string | undefined;
51360
+ shape?: EntityField[] | undefined;
51361
+ }, {
51362
+ kind: "identity";
51363
+ name?: string | undefined;
51364
+ shape?: unknown[] | undefined;
51365
+ }>, z.ZodObject<{
51366
+ kind: z.ZodLiteral<"entity">;
51367
+ name: z.ZodString;
51368
+ shape: z.ZodOptional<z.ZodArray<z.ZodType<EntityField, z.ZodTypeDef, unknown>, "many">>;
51369
+ }, "strip", z.ZodTypeAny, {
51370
+ kind: "entity";
51371
+ name: string;
51372
+ shape?: EntityField[] | undefined;
51373
+ }, {
51374
+ kind: "entity";
51375
+ name: string;
51376
+ shape?: unknown[] | undefined;
51377
+ }>, z.ZodObject<{
51378
+ kind: z.ZodLiteral<"event">;
51379
+ traitName: z.ZodString;
51380
+ event: z.ZodString;
51381
+ }, "strip", z.ZodTypeAny, {
51382
+ event: string;
51383
+ kind: "event";
51384
+ traitName: string;
51385
+ }, {
51386
+ event: string;
51387
+ kind: "event";
51388
+ traitName: string;
51389
+ }>]>, "many">>;
51089
51390
  theme: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
51090
51391
  name: z.ZodString;
51091
51392
  tokens: z.ZodObject<{
@@ -59384,6 +59685,19 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
59384
59685
  from: string;
59385
59686
  as: string;
59386
59687
  }[] | undefined;
59688
+ expects?: ({
59689
+ kind: "identity";
59690
+ name?: string | undefined;
59691
+ shape?: EntityField[] | undefined;
59692
+ } | {
59693
+ kind: "entity";
59694
+ name: string;
59695
+ shape?: EntityField[] | undefined;
59696
+ } | {
59697
+ event: string;
59698
+ kind: "event";
59699
+ traitName: string;
59700
+ })[] | undefined;
59387
59701
  exposes?: string[] | undefined;
59388
59702
  domainContext?: {
59389
59703
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -60427,6 +60741,19 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
60427
60741
  from: string;
60428
60742
  as: string;
60429
60743
  }[] | undefined;
60744
+ expects?: ({
60745
+ kind: "identity";
60746
+ name?: string | undefined;
60747
+ shape?: unknown[] | undefined;
60748
+ } | {
60749
+ kind: "entity";
60750
+ name: string;
60751
+ shape?: unknown[] | undefined;
60752
+ } | {
60753
+ event: string;
60754
+ kind: "event";
60755
+ traitName: string;
60756
+ })[] | undefined;
60430
60757
  exposes?: string[] | undefined;
60431
60758
  domainContext?: {
60432
60759
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -61771,6 +62098,19 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
61771
62098
  from: string;
61772
62099
  as: string;
61773
62100
  }[] | undefined;
62101
+ expects?: ({
62102
+ kind: "identity";
62103
+ name?: string | undefined;
62104
+ shape?: EntityField[] | undefined;
62105
+ } | {
62106
+ kind: "entity";
62107
+ name: string;
62108
+ shape?: EntityField[] | undefined;
62109
+ } | {
62110
+ event: string;
62111
+ kind: "event";
62112
+ traitName: string;
62113
+ })[] | undefined;
61774
62114
  exposes?: string[] | undefined;
61775
62115
  domainContext?: {
61776
62116
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -62933,6 +63273,19 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
62933
63273
  from: string;
62934
63274
  as: string;
62935
63275
  }[] | undefined;
63276
+ expects?: ({
63277
+ kind: "identity";
63278
+ name?: string | undefined;
63279
+ shape?: unknown[] | undefined;
63280
+ } | {
63281
+ kind: "entity";
63282
+ name: string;
63283
+ shape?: unknown[] | undefined;
63284
+ } | {
63285
+ event: string;
63286
+ kind: "event";
63287
+ traitName: string;
63288
+ })[] | undefined;
62936
63289
  exposes?: string[] | undefined;
62937
63290
  domainContext?: {
62938
63291
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -64160,6 +64513,19 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
64160
64513
  from: string;
64161
64514
  as: string;
64162
64515
  }[] | undefined;
64516
+ expects?: ({
64517
+ kind: "identity";
64518
+ name?: string | undefined;
64519
+ shape?: unknown[] | undefined;
64520
+ } | {
64521
+ kind: "entity";
64522
+ name: string;
64523
+ shape?: unknown[] | undefined;
64524
+ } | {
64525
+ event: string;
64526
+ kind: "event";
64527
+ traitName: string;
64528
+ })[] | undefined;
64163
64529
  exposes?: string[] | undefined;
64164
64530
  domainContext?: {
64165
64531
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -65322,6 +65688,19 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
65322
65688
  from: string;
65323
65689
  as: string;
65324
65690
  }[] | undefined;
65691
+ expects?: ({
65692
+ kind: "identity";
65693
+ name?: string | undefined;
65694
+ shape?: EntityField[] | undefined;
65695
+ } | {
65696
+ kind: "entity";
65697
+ name: string;
65698
+ shape?: EntityField[] | undefined;
65699
+ } | {
65700
+ event: string;
65701
+ kind: "event";
65702
+ traitName: string;
65703
+ })[] | undefined;
65325
65704
  exposes?: string[] | undefined;
65326
65705
  domainContext?: {
65327
65706
  category: "form" | "content" | "dashboard" | "game" | "social" | "business" | "workflow" | "ecommerce";
@@ -65478,4 +65857,4 @@ declare function safeParseOrbitalSchema(data: RuntimeValue): z.SafeParseReturnTy
65478
65857
  type OrbitalSchemaInput = z.input<typeof OrbitalSchemaSchema>;
65479
65858
  type OrbitalConfigInput = z.input<typeof OrbitalConfigSchema>;
65480
65859
 
65481
- export { EntityRefStringSchema as $, AGENT_DOMAIN_CATEGORIES as A, type DesignPreferences as B, type ColorSlice as C, type DensitySlice as D, type EntityRef as E, type DesignPreferencesInput as F, DesignPreferencesSchema as G, type DesignTokens as H, type DesignTokensInput as I, DesignTokensSchema as J, type DomainCategory as K, DomainCategorySchema as L, type DomainContext as M, type DomainContextInput as N, type OrbitalSchema as O, type PageRef as P, DomainContextSchema as Q, type DomainVocabulary as R, DomainVocabularySchema as S, type ElevationSlice as T, type UseDeclaration as U, ElevationSliceSchema as V, type ElevationTokens as W, ElevationTokensSchema as X, type EntityCall as Y, EntityCallSchema as Z, EntityRefSchema as _, type OrbitalDefinition as a, PageRefStringSchema as a$, type EntitySemanticRole as a0, EntitySemanticRoleSchema as a1, type EventListener as a2, EventListenerSchema as a3, type EventSemanticRole as a4, EventSemanticRoleSchema as a5, type EventSource as a6, EventSourceSchema as a7, type Orbital as a8, type GameSubCategory as a9, type MotionIntentMap as aA, MotionIntentMapSchema as aB, MotionIntentSchema as aC, type MotionSlice as aD, MotionSliceSchema as aE, type MotionTokens as aF, MotionTokensSchema as aG, type NavItem as aH, type NodeClassification as aI, NodeClassificationSchema as aJ, type OrbitalConfig as aK, type OrbitalConfigInput as aL, OrbitalConfigSchema as aM, OrbitalDefinitionSchema as aN, type OrbitalInput as aO, type OrbitalPageInput as aP, OrbitalPageSchema as aQ, type OrbitalPageStrictInput as aR, OrbitalPageStrictSchema as aS, type OrbitalSchemaInput as aT, OrbitalSchemaSchema as aU, type OrbitalSchemaWithTraits as aV, type OrbitalUnit as aW, OrbitalUnitSchema as aX, OrbitalSchema$1 as aY, PageRefObjectSchema as aZ, PageRefSchema as a_, GameSubCategorySchema as aa, type GeometrySlice as ab, GeometrySliceSchema as ac, type GeometryTokens as ad, GeometryTokensSchema as ae, type IconFamily as af, IconFamilySchema as ag, type IconographySlice as ah, IconographySliceSchema as ai, type IconographyTokens as aj, IconographyTokensSchema as ak, type IllustrationSlice as al, IllustrationSliceSchema as am, type IllustrationStyle as an, IllustrationStyleSchema as ao, type IllustrationTokens as ap, IllustrationTokensSchema as aq, type MotionDurationKey as ar, MotionDurationKeySchema as as, type MotionDurationPalette as at, MotionDurationPaletteSchema as au, type MotionEasingKey as av, MotionEasingKeySchema as aw, type MotionEasingPalette as ax, MotionEasingPaletteSchema as ay, type MotionIntent as az, type Page as b, safeParseOrbitalSchema as b$, PageSchema as b0, type PageTraitRef as b1, PageTraitRefSchema as b2, type RelatedLink as b3, RelatedLinkSchema as b4, type SchemaMetadata as b5, SchemaMetadataSchema as b6, type SkinSpec as b7, SkinSpecSchema as b8, type SpacingScale as b9, type TypeSlice as bA, TypeSliceSchema as bB, type TypeSlot as bC, TypeSlotSchema as bD, type TypeWeight as bE, TypeWeightSchema as bF, type UXHints as bG, UXHintsSchema as bH, UseDeclarationSchema as bI, type UserPersona as bJ, type UserPersonaInput as bK, UserPersonaSchema as bL, type ViewType as bM, ViewTypeSchema as bN, isEntityCall as bO, isEntityReference as bP, isEntityReferenceAny as bQ, isImportedTraitRef as bR, isOrbitalDefinition as bS, isPageReference as bT, isPageReferenceObject as bU, isPageReferenceString as bV, isThemeReference as bW, parseEntityRef as bX, parseImportedTraitRef as bY, parseOrbitalSchema as bZ, parsePageRef as b_, SpacingScaleSchema as ba, type StateSemanticRole as bb, StateSemanticRoleSchema as bc, type SuggestedGuard as bd, SuggestedGuardSchema as be, type ThemeDefinition as bf, ThemeDefinitionSchema as bg, type ThemeRef as bh, ThemeRefSchema as bi, ThemeRefStringSchema as bj, type ThemeTokens as bk, ThemeTokensSchema as bl, type ThemeVariant as bm, ThemeVariantSchema as bn, type TypeIntent as bo, type TypeIntentMap as bp, TypeIntentMapSchema as bq, TypeIntentSchema as br, type TypeScale as bs, type TypeScaleEntry as bt, TypeScaleEntrySchema as bu, TypeScaleSchema as bv, type TypeScaleTokens as bw, TypeScaleTokensSchema as bx, type TypeSizeKey as by, TypeSizeKeySchema as bz, type PageRefObject as c, type OrbitalPage as d, ALLOWED_CUSTOM_COMPONENTS as e, type AgentDomainCategory as f, AgentDomainCategorySchema as g, type AllowedCustomComponent as h, ColorSliceSchema as i, type ColorTokens as j, ColorTokensSchema as k, type ComputedEventContract as l, ComputedEventContractSchema as m, type ComputedEventListener as n, ComputedEventListenerSchema as o, type ConfigProvenanceRecord as p, ConfigProvenanceRecordSchema as q, type CustomPatternDefinition as r, type CustomPatternDefinitionInput as s, CustomPatternDefinitionSchema as t, type CustomPatternMap as u, type CustomPatternMapInput as v, CustomPatternMapSchema as w, DensitySliceSchema as x, type DensityTokens as y, DensityTokensSchema as z };
65860
+ export { EntityRefSchema as $, AGENT_DOMAIN_CATEGORIES as A, DensityTokensSchema as B, type ColorSlice as C, type DensitySlice as D, type EntityRef as E, type DesignPreferences as F, type DesignPreferencesInput as G, DesignPreferencesSchema as H, type DesignTokens as I, type DesignTokensInput as J, DesignTokensSchema as K, type DomainCategory as L, DomainCategorySchema as M, type DomainContext as N, type OrbitalSchema as O, type PageRef as P, type DomainContextInput as Q, DomainContextSchema as R, type DomainVocabulary as S, DomainVocabularySchema as T, type UseDeclaration as U, type ElevationSlice as V, ElevationSliceSchema as W, type ElevationTokens as X, ElevationTokensSchema as Y, type EntityCall as Z, EntityCallSchema as _, type OrbitalDefinition as a, PageRefObjectSchema as a$, EntityRefStringSchema as a0, type EntitySemanticRole as a1, EntitySemanticRoleSchema as a2, type EventListener as a3, EventListenerSchema as a4, type EventSemanticRole as a5, EventSemanticRoleSchema as a6, type EventSource as a7, EventSourceSchema as a8, ExpectDeclarationSchema as a9, MotionEasingPaletteSchema as aA, type MotionIntent as aB, type MotionIntentMap as aC, MotionIntentMapSchema as aD, MotionIntentSchema as aE, type MotionSlice as aF, MotionSliceSchema as aG, type MotionTokens as aH, MotionTokensSchema as aI, type NavItem as aJ, type NodeClassification as aK, NodeClassificationSchema as aL, type OrbitalConfig as aM, type OrbitalConfigInput as aN, OrbitalConfigSchema as aO, OrbitalDefinitionSchema as aP, type OrbitalInput as aQ, type OrbitalPageInput as aR, OrbitalPageSchema as aS, type OrbitalPageStrictInput as aT, OrbitalPageStrictSchema as aU, type OrbitalSchemaInput as aV, OrbitalSchemaSchema as aW, type OrbitalSchemaWithTraits as aX, type OrbitalUnit as aY, OrbitalUnitSchema as aZ, OrbitalSchema$1 as a_, type Orbital as aa, type GameSubCategory as ab, GameSubCategorySchema as ac, type GeometrySlice as ad, GeometrySliceSchema as ae, type GeometryTokens as af, GeometryTokensSchema as ag, type IconFamily as ah, IconFamilySchema as ai, type IconographySlice as aj, IconographySliceSchema as ak, type IconographyTokens as al, IconographyTokensSchema as am, type IllustrationSlice as an, IllustrationSliceSchema as ao, type IllustrationStyle as ap, IllustrationStyleSchema as aq, type IllustrationTokens as ar, IllustrationTokensSchema as as, type MotionDurationKey as at, MotionDurationKeySchema as au, type MotionDurationPalette as av, MotionDurationPaletteSchema as aw, type MotionEasingKey as ax, MotionEasingKeySchema as ay, type MotionEasingPalette as az, type ExpectDeclaration as b, parseOrbitalSchema as b$, PageRefSchema as b0, PageRefStringSchema as b1, PageSchema as b2, type PageTraitRef as b3, PageTraitRefSchema as b4, type RelatedLink as b5, RelatedLinkSchema as b6, type SchemaMetadata as b7, SchemaMetadataSchema as b8, type SkinSpec as b9, type TypeSizeKey as bA, TypeSizeKeySchema as bB, type TypeSlice as bC, TypeSliceSchema as bD, type TypeSlot as bE, TypeSlotSchema as bF, type TypeWeight as bG, TypeWeightSchema as bH, type UXHints as bI, UXHintsSchema as bJ, UseDeclarationSchema as bK, type UserPersona as bL, type UserPersonaInput as bM, UserPersonaSchema as bN, type ViewType as bO, ViewTypeSchema as bP, isEntityCall as bQ, isEntityReference as bR, isEntityReferenceAny as bS, isImportedTraitRef as bT, isOrbitalDefinition as bU, isPageReference as bV, isPageReferenceObject as bW, isPageReferenceString as bX, isThemeReference as bY, parseEntityRef as bZ, parseImportedTraitRef as b_, SkinSpecSchema as ba, type SpacingScale as bb, SpacingScaleSchema as bc, type StateSemanticRole as bd, StateSemanticRoleSchema as be, type SuggestedGuard as bf, SuggestedGuardSchema as bg, type ThemeDefinition as bh, ThemeDefinitionSchema as bi, type ThemeRef as bj, ThemeRefSchema as bk, ThemeRefStringSchema as bl, type ThemeTokens as bm, ThemeTokensSchema as bn, type ThemeVariant as bo, ThemeVariantSchema as bp, type TypeIntent as bq, type TypeIntentMap as br, TypeIntentMapSchema as bs, TypeIntentSchema as bt, type TypeScale as bu, type TypeScaleEntry as bv, TypeScaleEntrySchema as bw, TypeScaleSchema as bx, type TypeScaleTokens as by, TypeScaleTokensSchema as bz, type Page as c, parsePageRef as c0, safeParseOrbitalSchema as c1, type PageRefObject as d, type OrbitalPage as e, ALLOWED_CUSTOM_COMPONENTS as f, type AgentDomainCategory as g, AgentDomainCategorySchema as h, type AllowedCustomComponent as i, ColorSliceSchema as j, type ColorTokens as k, ColorTokensSchema as l, type ComputedEventContract as m, ComputedEventContractSchema as n, type ComputedEventListener as o, ComputedEventListenerSchema as p, type ConfigProvenanceRecord as q, ConfigProvenanceRecordSchema as r, type CustomPatternDefinition as s, type CustomPatternDefinitionInput as t, CustomPatternDefinitionSchema as u, type CustomPatternMap as v, type CustomPatternMapInput as w, CustomPatternMapSchema as x, DensitySliceSchema as y, type DensityTokens as z };
@@ -1,5 +1,5 @@
1
- import { b1 as PageTraitRef, O as OrbitalSchema, bf as ThemeDefinition, a8 as Orbital, b as Page, M as DomainContext, a as OrbitalDefinition } from '../schema-0C1bXRFm.js';
2
- export { A as AGENT_DOMAIN_CATEGORIES, e as ALLOWED_CUSTOM_COMPONENTS, f as AgentDomainCategory, g as AgentDomainCategorySchema, h as AllowedCustomComponent, C as ColorSlice, i as ColorSliceSchema, j as ColorTokens, k as ColorTokensSchema, l as ComputedEventContract, m as ComputedEventContractSchema, n as ComputedEventListener, o as ComputedEventListenerSchema, p as ConfigProvenanceRecord, q as ConfigProvenanceRecordSchema, r as CustomPatternDefinition, s as CustomPatternDefinitionInput, t as CustomPatternDefinitionSchema, u as CustomPatternMap, v as CustomPatternMapInput, w as CustomPatternMapSchema, D as DensitySlice, x as DensitySliceSchema, y as DensityTokens, z as DensityTokensSchema, B as DesignPreferences, F as DesignPreferencesInput, G as DesignPreferencesSchema, H as DesignTokens, I as DesignTokensInput, J as DesignTokensSchema, K as DomainCategory, L as DomainCategorySchema, N as DomainContextInput, Q as DomainContextSchema, R as DomainVocabulary, S as DomainVocabularySchema, T as ElevationSlice, V as ElevationSliceSchema, W as ElevationTokens, X as ElevationTokensSchema, Y as EntityCall, Z as EntityCallSchema, E as EntityRef, _ as EntityRefSchema, $ as EntityRefStringSchema, a0 as EntitySemanticRole, a1 as EntitySemanticRoleSchema, a2 as EventListener, a3 as EventListenerSchema, a4 as EventSemanticRole, a5 as EventSemanticRoleSchema, a6 as EventSource, a7 as EventSourceSchema, a9 as GameSubCategory, aa as GameSubCategorySchema, ab as GeometrySlice, ac as GeometrySliceSchema, ad as GeometryTokens, ae as GeometryTokensSchema, af as IconFamily, ag as IconFamilySchema, ah as IconographySlice, ai as IconographySliceSchema, aj as IconographyTokens, ak as IconographyTokensSchema, al as IllustrationSlice, am as IllustrationSliceSchema, an as IllustrationStyle, ao as IllustrationStyleSchema, ap as IllustrationTokens, aq as IllustrationTokensSchema, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NavItem, aI as NodeClassification, aJ as NodeClassificationSchema, aK as OrbitalConfig, aL as OrbitalConfigInput, aM as OrbitalConfigSchema, aN as OrbitalDefinitionSchema, aO as OrbitalInput, d as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, P as PageRef, c as PageRefObject, aZ as PageRefObjectSchema, a_ as PageRefSchema, a$ as PageRefStringSchema, b0 as PageSchema, b2 as PageTraitRefSchema, b3 as RelatedLink, b4 as RelatedLinkSchema, b5 as SchemaMetadata, b6 as SchemaMetadataSchema, b7 as SkinSpec, b8 as SkinSpecSchema, b9 as SpacingScale, ba as SpacingScaleSchema, bb as StateSemanticRole, bc as StateSemanticRoleSchema, bd as SuggestedGuard, be as SuggestedGuardSchema, bg as ThemeDefinitionSchema, bh as ThemeRef, bi as ThemeRefSchema, bj as ThemeRefStringSchema, bk as ThemeTokens, bl as ThemeTokensSchema, bm as ThemeVariant, bn as ThemeVariantSchema, bo as TypeIntent, bp as TypeIntentMap, bq as TypeIntentMapSchema, br as TypeIntentSchema, bs as TypeScale, bt as TypeScaleEntry, bu as TypeScaleEntrySchema, bv as TypeScaleSchema, bw as TypeScaleTokens, bx as TypeScaleTokensSchema, by as TypeSizeKey, bz as TypeSizeKeySchema, bA as TypeSlice, bB as TypeSliceSchema, bC as TypeSlot, bD as TypeSlotSchema, bE as TypeWeight, bF as TypeWeightSchema, bG as UXHints, bH as UXHintsSchema, U as UseDeclaration, bI as UseDeclarationSchema, bJ as UserPersona, bK as UserPersonaInput, bL as UserPersonaSchema, bM as ViewType, bN as ViewTypeSchema, bO as isEntityCall, bP as isEntityReference, bQ as isEntityReferenceAny, bR as isImportedTraitRef, bS as isOrbitalDefinition, bT as isPageReference, bU as isPageReferenceObject, bV as isPageReferenceString, bW as isThemeReference, bX as parseEntityRef, bY as parseImportedTraitRef, bZ as parseOrbitalSchema, b_ as parsePageRef, b$ as safeParseOrbitalSchema } from '../schema-0C1bXRFm.js';
1
+ import { b3 as PageTraitRef, O as OrbitalSchema, bh as ThemeDefinition, aa as Orbital, c as Page, N as DomainContext, a as OrbitalDefinition } from '../schema-Nk1usPv6.js';
2
+ export { A as AGENT_DOMAIN_CATEGORIES, f as ALLOWED_CUSTOM_COMPONENTS, g as AgentDomainCategory, h as AgentDomainCategorySchema, i as AllowedCustomComponent, 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, 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, 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 NodeClassification, aL as NodeClassificationSchema, aM as OrbitalConfig, aN as OrbitalConfigInput, aO as OrbitalConfigSchema, aP as OrbitalDefinitionSchema, aQ as OrbitalInput, e as OrbitalPage, aR as OrbitalPageInput, aS as OrbitalPageSchema, aT as OrbitalPageStrictInput, aU as OrbitalPageStrictSchema, aV as OrbitalSchemaInput, aW as OrbitalSchemaSchema, aX as OrbitalSchemaWithTraits, aY as OrbitalUnit, aZ as OrbitalUnitSchema, a_ as OrbitalZodSchema, P as PageRef, d as PageRefObject, a$ as PageRefObjectSchema, b0 as PageRefSchema, b1 as PageRefStringSchema, b2 as PageSchema, b4 as PageTraitRefSchema, b5 as RelatedLink, b6 as RelatedLinkSchema, b7 as SchemaMetadata, b8 as SchemaMetadataSchema, b9 as SkinSpec, ba as SkinSpecSchema, bb as SpacingScale, bc as SpacingScaleSchema, bd as StateSemanticRole, be as StateSemanticRoleSchema, bf as SuggestedGuard, bg as SuggestedGuardSchema, bi as ThemeDefinitionSchema, bj as ThemeRef, bk as ThemeRefSchema, bl as ThemeRefStringSchema, bm as ThemeTokens, bn as ThemeTokensSchema, bo as ThemeVariant, bp as ThemeVariantSchema, bq as TypeIntent, br as TypeIntentMap, bs as TypeIntentMapSchema, bt as TypeIntentSchema, bu as TypeScale, bv as TypeScaleEntry, bw as TypeScaleEntrySchema, bx as TypeScaleSchema, by as TypeScaleTokens, bz as TypeScaleTokensSchema, bA as TypeSizeKey, bB as TypeSizeKeySchema, bC as TypeSlice, bD as TypeSliceSchema, bE as TypeSlot, bF as TypeSlotSchema, bG as TypeWeight, bH as TypeWeightSchema, bI as UXHints, bJ as UXHintsSchema, U as UseDeclaration, bK as UseDeclarationSchema, bL as UserPersona, bM as UserPersonaInput, bN as UserPersonaSchema, bO as ViewType, bP as ViewTypeSchema, bQ as isEntityCall, bR as isEntityReference, bS as isEntityReferenceAny, bT as isImportedTraitRef, bU as isOrbitalDefinition, bV as isPageReference, bW as isPageReferenceObject, bX as isPageReferenceString, bY as isThemeReference, bZ as parseEntityRef, b_ as parseImportedTraitRef, b$ as parseOrbitalSchema, c0 as parsePageRef, c1 as safeParseOrbitalSchema } from '../schema-Nk1usPv6.js';
3
3
  import { F as FieldValue, E as EntityField, a as EntityPersistence, bp as ServiceParams, e as Entity, f as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, c as Effect } from '../effect-DxD-XTI8.js';
4
4
  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 DerefEffect, a1 as DespawnEffect, a2 as DoEffect, a3 as ENTITY_ROLES, a4 as EffectInput, a5 as EffectSchema, a6 as EmitConfig, a7 as EmitEffect, a8 as EntityData, a9 as EntityFieldInput, aa as EntityFieldSchema, d as EntityId, ab as EntityIdSchema, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, ak as EventIdSchema, al as FIELD_TYPES, am as FetchEffect, an as FetchOptions, ao as FetchResult, ap as Field, aq as FieldSchema, ar as FieldType, as as FieldTypeSchema, at as ForwardConfig, au as ForwardEffect, av as IdForKind, aw as IdKind, I as IdentityLedger, ax as IdentityLedgerSchema, ay as LedgerEntry, az as LedgerEntrySchema, aA as LedgerKind, aB as LedgerKindSchema, aC as LlmEffect, aD as LogEffect, aE as McpServiceDef, aF as McpServiceDefSchema, aG as MemoryEffect, aH as NavigateEffect, aI as NnConfig, aJ as NnLayer, aK as NotifyEffect, aL as ObjectEntityField, aM as OrbitalEntity, aN as OrbitalEntityInput, aO as OrbitalEntitySchema, aP as OrbitalIdSchema, aQ as OsEffect, aR as PATTERN_TYPES, P as PageId, aS as PageIdSchema, aT as PaletteEntryId, aU as PaletteEntryIdSchema, aV as PatternConfig, aY as PatternType, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as RefEffect, R as RelationConfig, b1 as RelationConfigSchema, b2 as RelationEntityField, h as RenderBinding, b3 as RenderChildrenMap, b4 as RenderItemLambda, i as RenderUIEffect, b5 as RenderUINode, b6 as ResolvedPatternProps, b7 as RestAuthConfig, b8 as RestAuthConfigSchema, b9 as RestServiceDef, ba as RestServiceDefSchema, bb as SEMANTIC_STRING_TYPES, bc as SERVICE_TYPES, bd as SHEET_PROJECTIONS, be as SPRITE_DIRECTIONS, bf as ScalarEntityField, bg as ScenePos, bh as ScenePosSchema, bi as SemanticAssetRef, bj as SemanticAssetRefInput, bk as SemanticAssetRefSchema, bl as SemanticStringType, g as ServiceDefinition, bm as ServiceDefinitionSchema, bn as ServiceId, bo as ServiceIdSchema, bq as ServiceParamsValue, S as ServiceRef, br as ServiceRefObject, bs as ServiceRefObjectSchema, bt as ServiceRefSchema, bu as ServiceRefStringSchema, bv as ServiceType, bw as ServiceTypeSchema, bx as SessionEffect, by as SetEffect, bz as SheetProjection, bA as SheetProjectionSchema, bB as SocketEvents, bC as SocketEventsSchema, bD as SocketServiceDef, bE as SocketServiceDefSchema, bF as SpawnEffect, bG as SpriteDirection, bH as SpriteDirectionSchema, bI as SpriteSheetAtlas, bJ as SpriteSheetAtlasInput, bK as SpriteSheetAtlasSchema, bL as SubTexture, bM as SubTextureSchema, bN as SwapEffect, bO as TextureAtlas, bP as TextureAtlasSchema, bQ as ThemeId, bR as ThemeIdSchema, bS as Tilesheet, bT as TilesheetSchema, bU as TraceEffect, bV as TrainConfig, bW as TrainEffect, bX as TraitIdSchema, bY as TypedEffect, U as UISlot, bZ as UISlotSchema, b_ as UI_SLOTS, b$ as VISUAL_STYLES, c0 as ValidateEffect, c1 as VisualStyle, c2 as VisualStyleSchema, c3 as WatchEffect, c4 as WatchOptions, c5 as asEntityId, c6 as asEventId, c7 as asOrbitalId, c8 as asPageId, c9 as asPaletteEntryId, ca as asServiceId, cb as asThemeId, cc as asTraitId, cd as atomic, ce as callService, cf as createAssetKey, cg as deref, ch as deriveCollection, ci as despawn, cj as doEffects, ck as emit, cl as findService, cm as getDefaultAnimationsForRole, cn as getServiceNames, co as hasService, cp as idKindOf, cq as idPrefix, cr as isEffect, cs as isEmailValue, ct as isEntityId, cu as isEventId, cv as isFieldValue, cw as isMcpService, cx as isOrbitalId, cy as isPageId, cz as isPaletteEntryId, cA as isPhoneValue, cB as isRestService, cC as isRuntimeEntity, cD as isSExprEffect, cE as isSemanticStringType, cF as isSemanticStringValue, cG as isServiceId, cH as isServiceReference, cI as isServiceReferenceObject, cJ as isSocketService, cK as isThemeId, cL as isTraitId, cM as isUrlValue, cN as isUuidValue, cO as isValidPatternType, cP as ledgerCurName, cQ as ledgerRename, cR as ledgerResolveName, cS as mintId, cT as navigate, cU as notify, cV as parseAssetKey, cW as parseServiceRef, cX as persist, cY as persistenceModeAllowsOverrides, cZ as ref, c_ as renderUI, c$ as set, d0 as spawn, d1 as swap, d2 as validateAssetAnimations, d3 as watch } from '../effect-DxD-XTI8.js';
5
5
  import { S as SExpr, R as RuntimeValue, d as EventPayloadValue, J as JsonValue, a as EventPayload, L as LogMeta, g as JsonObject, T as ToolArgs, c as EvalContext } from '../expression-Fk8bQWef.js';
@@ -1705,6 +1705,23 @@ var UseDeclarationSchema = z.object({
1705
1705
  'Alias must be PascalCase (e.g., "Health", "GameCore")'
1706
1706
  )
1707
1707
  });
1708
+ var ExpectDeclarationSchema = z.discriminatedUnion("kind", [
1709
+ z.object({
1710
+ kind: z.literal("identity"),
1711
+ name: z.string().optional(),
1712
+ shape: z.array(EntityFieldSchema).optional()
1713
+ }),
1714
+ z.object({
1715
+ kind: z.literal("entity"),
1716
+ name: z.string().min(1, "Expected entity name is required"),
1717
+ shape: z.array(EntityFieldSchema).optional()
1718
+ }),
1719
+ z.object({
1720
+ kind: z.literal("event"),
1721
+ traitName: z.string().min(1, "Expected event trait name is required"),
1722
+ event: z.string().min(1, "Expected event name is required")
1723
+ })
1724
+ ]);
1708
1725
  function isEntityReference(entity) {
1709
1726
  return typeof entity === "string";
1710
1727
  }
@@ -1830,6 +1847,8 @@ var OrbitalDefinitionSchema = z.object({
1830
1847
  visual_prompt: z.string().optional(),
1831
1848
  // Import system
1832
1849
  uses: z.array(UseDeclarationSchema).optional(),
1850
+ // Consumer-side requirement declarations (`.lolo` `expects ...`)
1851
+ expects: z.array(ExpectDeclarationSchema).optional(),
1833
1852
  // Theme & Services
1834
1853
  theme: ThemeRefSchema.optional(),
1835
1854
  services: z.array(ServiceRefSchema).optional(),
@@ -2748,6 +2767,6 @@ function widenTier(tier) {
2748
2767
  return tier;
2749
2768
  }
2750
2769
 
2751
- export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RENDER_BINDING_MARKER, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, SExprSchema, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TraitUIBindingSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, callService, collectBindings, configRefEventKnob, containsEntityBinding, containsPayloadBinding, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, despawn, doEffects, emit, encodeDevIdentityToken, findPersonaInRoster, findService, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, idKindOf, idPrefix, inferTsType, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isEffect, isEmailValue, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isRenderBindingMarker, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mintId, navigate, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, ref, renderUI, resolveConfigRefEventName, resolveDefaultViewer, resolvePersonaSpec, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
2770
+ export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpectDeclarationSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RENDER_BINDING_MARKER, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, SExprSchema, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TraitUIBindingSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, callService, collectBindings, configRefEventKnob, containsEntityBinding, containsPayloadBinding, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, despawn, doEffects, emit, encodeDevIdentityToken, findPersonaInRoster, findService, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, idKindOf, idPrefix, inferTsType, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isEffect, isEmailValue, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isRenderBindingMarker, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mintId, navigate, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, ref, renderUI, resolveConfigRefEventName, resolveDefaultViewer, resolvePersonaSpec, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
2752
2771
  //# sourceMappingURL=index.js.map
2753
2772
  //# sourceMappingURL=index.js.map