@almadar/core 11.0.0 → 11.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/{builders-BhnofAik.d.ts → builders-BdgbY7Th.d.ts} +159 -98
  2. package/dist/builders.d.ts +5 -5
  3. package/dist/builders.js +2 -2
  4. package/dist/{bus-BrRFWDQK.d.ts → bus-C0hFDNFR.d.ts} +9 -17
  5. package/dist/{chunk-Y2DYZPP5.js → chunk-5WQ3U7NJ.js} +38 -4
  6. package/dist/chunk-5WQ3U7NJ.js.map +1 -0
  7. package/dist/{chunk-3URQAGD7.js → chunk-5YTPYMPZ.js} +5 -4
  8. package/dist/chunk-5YTPYMPZ.js.map +1 -0
  9. package/dist/chunk-66Q5VX2F.js +3810 -0
  10. package/dist/chunk-66Q5VX2F.js.map +1 -0
  11. package/dist/{chunk-FQLEAMAB.js → chunk-E4T2MQAV.js} +3 -3
  12. package/dist/{chunk-FQLEAMAB.js.map → chunk-E4T2MQAV.js.map} +1 -1
  13. package/dist/{chunk-JCD6GLBX.js → chunk-ENOCKYGA.js} +3 -3
  14. package/dist/{chunk-JCD6GLBX.js.map → chunk-ENOCKYGA.js.map} +1 -1
  15. package/dist/{chunk-HEXOGHQ4.js → chunk-GF7KCLNR.js} +23 -3
  16. package/dist/chunk-GF7KCLNR.js.map +1 -0
  17. package/dist/{chunk-ZEI7C32D.js → chunk-PNGFWLHD.js} +4 -3
  18. package/dist/chunk-PNGFWLHD.js.map +1 -0
  19. package/dist/{chunk-UZPYYI37.js → chunk-SNZYN7UA.js} +3520 -1910
  20. package/dist/{chunk-UZPYYI37.js.map → chunk-SNZYN7UA.js.map} +1 -1
  21. package/dist/{chunk-F6KHUW7T.js → chunk-TDNQT3M3.js} +3 -3
  22. package/dist/{chunk-F6KHUW7T.js.map → chunk-TDNQT3M3.js.map} +1 -1
  23. package/dist/{chunk-MTBEBSNO.js → chunk-Z7BI7DE7.js} +8 -8
  24. package/dist/chunk-Z7BI7DE7.js.map +1 -0
  25. package/dist/{effect-wP-IdRt2.d.ts → effect-DZaXwSAz.d.ts} +60 -23
  26. package/dist/{effect-result-DPERsn_v.d.ts → effect-result-1HpXgeBc.d.ts} +19 -4
  27. package/dist/factory/index.d.ts +2 -2
  28. package/dist/factory/index.js +3 -3
  29. package/dist/factory-runtime/index.d.ts +3 -3
  30. package/dist/factory-runtime/index.js +9 -9
  31. package/dist/fixtures.d.ts +3 -3
  32. package/dist/fixtures.js +2 -2
  33. package/dist/i18n/index.js +1 -1
  34. package/dist/{index-DomgmRBG.d.ts → index-D7SxwNdv.d.ts} +17 -17
  35. package/dist/index.d.ts +37 -14
  36. package/dist/index.js +14 -14
  37. package/dist/kernel-wire.d.ts +2 -2
  38. package/dist/kernel-wire.js +1 -1
  39. package/dist/language/validation-codes.json +20 -0
  40. package/dist/language-data.js +1 -1
  41. package/dist/patterns/component-mapping.json +1 -1
  42. package/dist/patterns/definitions.d.ts +1 -1
  43. package/dist/patterns/definitions.js +1 -1
  44. package/dist/patterns/event-contracts.json +1 -1
  45. package/dist/patterns/game-font-families.json +13 -0
  46. package/dist/patterns/index.d.ts +2 -2
  47. package/dist/patterns/index.js +2 -2
  48. package/dist/patterns/pattern-tile-geometry.json +1065 -0
  49. package/dist/patterns/patterns-registry.json +3518 -1908
  50. package/dist/patterns/registry.json +3518 -1908
  51. package/dist/{trait-CzG9M89M.d.ts → trait-sRjIivFq.d.ts} +44 -44
  52. package/dist/types/index.d.ts +8 -8
  53. package/dist/types/index.js +6 -6
  54. package/dist/{types-BHlTjwWd.d.ts → types-C6_yPMpn.d.ts} +2 -2
  55. package/package.json +5 -5
  56. package/dist/chunk-3URQAGD7.js.map +0 -1
  57. package/dist/chunk-HEXOGHQ4.js.map +0 -1
  58. package/dist/chunk-MGLG2XLD.js +0 -3810
  59. package/dist/chunk-MGLG2XLD.js.map +0 -1
  60. package/dist/chunk-MTBEBSNO.js.map +0 -1
  61. package/dist/chunk-Y2DYZPP5.js.map +0 -1
  62. package/dist/chunk-ZEI7C32D.js.map +0 -1
  63. package/dist/{domain-CfKPpXCP.d.ts → domain-Cpmja5ak.d.ts} +6 -6
@@ -1,9 +1,9 @@
1
- import { T as TraitId, g as EntityId, P as PageId, O as OrbitalId, E as EntityField, a as EntityPersistence, h as Entity, k as ServiceRef, b as EventId, e as TypedEffect, A as AnyPatternConfig, l as ServiceDefinition, I as IdentityLedger, U as UISlot, d as Effect, m as RenderBinding, n as RenderUIEffect, c as EntityRow } from './effect-wP-IdRt2.js';
2
- import { d as TraitConfig, e as TraitConfigObject, D as DeclaredTraitConfig, E as EventPayloadField, C as ConfigFieldDeclaration, f as TraitRef, T as TraitEventListener, g as EventScope, h as TraitDispatchMode, i as DispatchMode, P as PayloadField, j as TraitEntityField, S as SkeletonNode, k as TraitTypeParamDef, b as TraitConfigValue, l as CallSiteConfig, c as Trait, a as TraitReference, n as StateMachine, o as TraitEventContract } from './trait-CzG9M89M.js';
1
+ import { T as TraitId, g as EntityId, P as PageId, O as OrbitalId, E as EntityField, a as EntityPersistence, h as Entity, k as ServiceRef, b as EventId, e as TypedEffect, A as AnyPatternConfig, l as ServiceDefinition, I as IdentityLedger, U as UISlot, d as Effect, m as RenderBinding, n as RenderUIEffect, c as EntityRow } from './effect-DZaXwSAz.js';
2
+ import { d as TraitConfig, e as TraitConfigObject, D as DeclaredTraitConfig, E as EventPayloadField, C as ConfigFieldDeclaration, f as TraitRef, T as TraitEventListener, g as EventScope, h as TraitDispatchMode, i as DispatchMode, P as PayloadField, j as TraitEntityField, S as SkeletonNode, k as TraitTypeParamDef, b as TraitConfigValue, l as CallSiteConfig, c as Trait, a as TraitReference, n as StateMachine, o as TraitEventContract } from './trait-sRjIivFq.js';
3
3
  import { z } from 'zod';
4
4
  import { S as SExpr, b as Expression, J as JsonValue, R as RuntimeValue } from './expression-DirYKz-f.js';
5
- import { a as ThemeRef, D as DomainContext, b as DesignPreferences, S as SuggestedGuard, C as ColorTokens, T as ThemeDefinition, c as DesignTokens, d as CustomPatternMap } from './domain-CfKPpXCP.js';
6
- import { O as OsGrants } from './effect-result-DPERsn_v.js';
5
+ import { a as ThemeRef, D as DomainContext, b as DesignPreferences, S as SuggestedGuard, C as ColorTokens, T as ThemeDefinition, c as DesignTokens, d as CustomPatternMap } from './domain-Cpmja5ak.js';
6
+ import { O as OsGrants } from './effect-result-1HpXgeBc.js';
7
7
 
8
8
  /**
9
9
  * OS grants: the program's closed-by-default `os/` permissions. The types are generated from `OsGrants` in
@@ -1080,8 +1080,8 @@ declare const PageRefObjectSchema: z.ZodObject<{
1080
1080
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
1081
1081
  dispatch: z.ZodOptional<z.ZodEnum<{
1082
1082
  client: "client";
1083
- server: "server";
1084
1083
  optimistic: "optimistic";
1084
+ server: "server";
1085
1085
  }>>;
1086
1086
  linkedEntity: z.ZodOptional<z.ZodString>;
1087
1087
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -1104,9 +1104,9 @@ declare const PageRefObjectSchema: z.ZodObject<{
1104
1104
  event: "event";
1105
1105
  node: "node";
1106
1106
  url: "url";
1107
- image: "image";
1108
1107
  field: "field";
1109
1108
  timestamp: "timestamp";
1109
+ image: "image";
1110
1110
  slot: "slot";
1111
1111
  datetime: "datetime";
1112
1112
  instant: "instant";
@@ -1250,9 +1250,9 @@ declare const PageRefObjectSchema: z.ZodObject<{
1250
1250
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1251
1251
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1252
1252
  presentation: z.ZodEnum<{
1253
- "confirm-dialog": "confirm-dialog";
1254
- drawer: "drawer";
1255
1253
  modal: "modal";
1254
+ drawer: "drawer";
1255
+ "confirm-dialog": "confirm-dialog";
1256
1256
  popover: "popover";
1257
1257
  inline: "inline";
1258
1258
  }>;
@@ -1266,8 +1266,8 @@ declare const PageRefObjectSchema: z.ZodObject<{
1266
1266
  xl: "xl";
1267
1267
  }>>;
1268
1268
  position: z.ZodOptional<z.ZodEnum<{
1269
- center: "center";
1270
1269
  right: "right";
1270
+ center: "center";
1271
1271
  top: "top";
1272
1272
  bottom: "bottom";
1273
1273
  left: "left";
@@ -1414,8 +1414,8 @@ declare const PageRefObjectSchema: z.ZodObject<{
1414
1414
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
1415
1415
  dispatch: z.ZodOptional<z.ZodEnum<{
1416
1416
  client: "client";
1417
- server: "server";
1418
1417
  optimistic: "optimistic";
1418
+ server: "server";
1419
1419
  }>>;
1420
1420
  linkedEntity: z.ZodOptional<z.ZodString>;
1421
1421
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -1438,9 +1438,9 @@ declare const PageRefObjectSchema: z.ZodObject<{
1438
1438
  event: "event";
1439
1439
  node: "node";
1440
1440
  url: "url";
1441
- image: "image";
1442
1441
  field: "field";
1443
1442
  timestamp: "timestamp";
1443
+ image: "image";
1444
1444
  slot: "slot";
1445
1445
  datetime: "datetime";
1446
1446
  instant: "instant";
@@ -1584,9 +1584,9 @@ declare const PageRefObjectSchema: z.ZodObject<{
1584
1584
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1585
1585
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1586
1586
  presentation: z.ZodEnum<{
1587
- "confirm-dialog": "confirm-dialog";
1588
- drawer: "drawer";
1589
1587
  modal: "modal";
1588
+ drawer: "drawer";
1589
+ "confirm-dialog": "confirm-dialog";
1590
1590
  popover: "popover";
1591
1591
  inline: "inline";
1592
1592
  }>;
@@ -1600,8 +1600,8 @@ declare const PageRefObjectSchema: z.ZodObject<{
1600
1600
  xl: "xl";
1601
1601
  }>>;
1602
1602
  position: z.ZodOptional<z.ZodEnum<{
1603
- center: "center";
1604
1603
  right: "right";
1604
+ center: "center";
1605
1605
  top: "top";
1606
1606
  bottom: "bottom";
1607
1607
  left: "left";
@@ -1782,8 +1782,8 @@ declare const PageRefSchema: z.ZodUnion<readonly [z.ZodObject<{
1782
1782
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
1783
1783
  dispatch: z.ZodOptional<z.ZodEnum<{
1784
1784
  client: "client";
1785
- server: "server";
1786
1785
  optimistic: "optimistic";
1786
+ server: "server";
1787
1787
  }>>;
1788
1788
  linkedEntity: z.ZodOptional<z.ZodString>;
1789
1789
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -1806,9 +1806,9 @@ declare const PageRefSchema: z.ZodUnion<readonly [z.ZodObject<{
1806
1806
  event: "event";
1807
1807
  node: "node";
1808
1808
  url: "url";
1809
- image: "image";
1810
1809
  field: "field";
1811
1810
  timestamp: "timestamp";
1811
+ image: "image";
1812
1812
  slot: "slot";
1813
1813
  datetime: "datetime";
1814
1814
  instant: "instant";
@@ -1952,9 +1952,9 @@ declare const PageRefSchema: z.ZodUnion<readonly [z.ZodObject<{
1952
1952
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1953
1953
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1954
1954
  presentation: z.ZodEnum<{
1955
- "confirm-dialog": "confirm-dialog";
1956
- drawer: "drawer";
1957
1955
  modal: "modal";
1956
+ drawer: "drawer";
1957
+ "confirm-dialog": "confirm-dialog";
1958
1958
  popover: "popover";
1959
1959
  inline: "inline";
1960
1960
  }>;
@@ -1968,8 +1968,8 @@ declare const PageRefSchema: z.ZodUnion<readonly [z.ZodObject<{
1968
1968
  xl: "xl";
1969
1969
  }>>;
1970
1970
  position: z.ZodOptional<z.ZodEnum<{
1971
- center: "center";
1972
1971
  right: "right";
1972
+ center: "center";
1973
1973
  top: "top";
1974
1974
  bottom: "bottom";
1975
1975
  left: "left";
@@ -2116,8 +2116,8 @@ declare const PageRefSchema: z.ZodUnion<readonly [z.ZodObject<{
2116
2116
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
2117
2117
  dispatch: z.ZodOptional<z.ZodEnum<{
2118
2118
  client: "client";
2119
- server: "server";
2120
2119
  optimistic: "optimistic";
2120
+ server: "server";
2121
2121
  }>>;
2122
2122
  linkedEntity: z.ZodOptional<z.ZodString>;
2123
2123
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -2140,9 +2140,9 @@ declare const PageRefSchema: z.ZodUnion<readonly [z.ZodObject<{
2140
2140
  event: "event";
2141
2141
  node: "node";
2142
2142
  url: "url";
2143
- image: "image";
2144
2143
  field: "field";
2145
2144
  timestamp: "timestamp";
2145
+ image: "image";
2146
2146
  slot: "slot";
2147
2147
  datetime: "datetime";
2148
2148
  instant: "instant";
@@ -2286,9 +2286,9 @@ declare const PageRefSchema: z.ZodUnion<readonly [z.ZodObject<{
2286
2286
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2287
2287
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2288
2288
  presentation: z.ZodEnum<{
2289
- "confirm-dialog": "confirm-dialog";
2290
- drawer: "drawer";
2291
2289
  modal: "modal";
2290
+ drawer: "drawer";
2291
+ "confirm-dialog": "confirm-dialog";
2292
2292
  popover: "popover";
2293
2293
  inline: "inline";
2294
2294
  }>;
@@ -2302,8 +2302,8 @@ declare const PageRefSchema: z.ZodUnion<readonly [z.ZodObject<{
2302
2302
  xl: "xl";
2303
2303
  }>>;
2304
2304
  position: z.ZodOptional<z.ZodEnum<{
2305
- center: "center";
2306
2305
  right: "right";
2306
+ center: "center";
2307
2307
  top: "top";
2308
2308
  bottom: "bottom";
2309
2309
  left: "left";
@@ -2618,8 +2618,8 @@ declare const OrbitalRefObjectSchema: z.ZodObject<{
2618
2618
  }>>;
2619
2619
  dispatch: z.ZodOptional<z.ZodEnum<{
2620
2620
  client: "client";
2621
- server: "server";
2622
2621
  optimistic: "optimistic";
2622
+ server: "server";
2623
2623
  }>>;
2624
2624
  }, z.core.$strip>>>;
2625
2625
  listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -4312,8 +4312,8 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
4312
4312
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
4313
4313
  dispatch: z.ZodOptional<z.ZodEnum<{
4314
4314
  client: "client";
4315
- server: "server";
4316
4315
  optimistic: "optimistic";
4316
+ server: "server";
4317
4317
  }>>;
4318
4318
  linkedEntity: z.ZodOptional<z.ZodString>;
4319
4319
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -4336,9 +4336,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
4336
4336
  event: "event";
4337
4337
  node: "node";
4338
4338
  url: "url";
4339
- image: "image";
4340
4339
  field: "field";
4341
4340
  timestamp: "timestamp";
4341
+ image: "image";
4342
4342
  slot: "slot";
4343
4343
  datetime: "datetime";
4344
4344
  instant: "instant";
@@ -4482,9 +4482,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
4482
4482
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4483
4483
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4484
4484
  presentation: z.ZodEnum<{
4485
- "confirm-dialog": "confirm-dialog";
4486
- drawer: "drawer";
4487
4485
  modal: "modal";
4486
+ drawer: "drawer";
4487
+ "confirm-dialog": "confirm-dialog";
4488
4488
  popover: "popover";
4489
4489
  inline: "inline";
4490
4490
  }>;
@@ -4498,8 +4498,8 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
4498
4498
  xl: "xl";
4499
4499
  }>>;
4500
4500
  position: z.ZodOptional<z.ZodEnum<{
4501
- center: "center";
4502
4501
  right: "right";
4502
+ center: "center";
4503
4503
  top: "top";
4504
4504
  bottom: "bottom";
4505
4505
  left: "left";
@@ -4646,8 +4646,8 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
4646
4646
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
4647
4647
  dispatch: z.ZodOptional<z.ZodEnum<{
4648
4648
  client: "client";
4649
- server: "server";
4650
4649
  optimistic: "optimistic";
4650
+ server: "server";
4651
4651
  }>>;
4652
4652
  linkedEntity: z.ZodOptional<z.ZodString>;
4653
4653
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -4670,9 +4670,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
4670
4670
  event: "event";
4671
4671
  node: "node";
4672
4672
  url: "url";
4673
- image: "image";
4674
4673
  field: "field";
4675
4674
  timestamp: "timestamp";
4675
+ image: "image";
4676
4676
  slot: "slot";
4677
4677
  datetime: "datetime";
4678
4678
  instant: "instant";
@@ -4816,9 +4816,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
4816
4816
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4817
4817
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4818
4818
  presentation: z.ZodEnum<{
4819
- "confirm-dialog": "confirm-dialog";
4820
- drawer: "drawer";
4821
4819
  modal: "modal";
4820
+ drawer: "drawer";
4821
+ "confirm-dialog": "confirm-dialog";
4822
4822
  popover: "popover";
4823
4823
  inline: "inline";
4824
4824
  }>;
@@ -4832,8 +4832,8 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
4832
4832
  xl: "xl";
4833
4833
  }>>;
4834
4834
  position: z.ZodOptional<z.ZodEnum<{
4835
- center: "center";
4836
4835
  right: "right";
4836
+ center: "center";
4837
4837
  top: "top";
4838
4838
  bottom: "bottom";
4839
4839
  left: "left";
@@ -4998,8 +4998,8 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
4998
4998
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
4999
4999
  dispatch: z.ZodOptional<z.ZodEnum<{
5000
5000
  client: "client";
5001
- server: "server";
5002
5001
  optimistic: "optimistic";
5002
+ server: "server";
5003
5003
  }>>;
5004
5004
  linkedEntity: z.ZodOptional<z.ZodString>;
5005
5005
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -5022,9 +5022,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
5022
5022
  event: "event";
5023
5023
  node: "node";
5024
5024
  url: "url";
5025
- image: "image";
5026
5025
  field: "field";
5027
5026
  timestamp: "timestamp";
5027
+ image: "image";
5028
5028
  slot: "slot";
5029
5029
  datetime: "datetime";
5030
5030
  instant: "instant";
@@ -5168,9 +5168,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
5168
5168
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5169
5169
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5170
5170
  presentation: z.ZodEnum<{
5171
- "confirm-dialog": "confirm-dialog";
5172
- drawer: "drawer";
5173
5171
  modal: "modal";
5172
+ drawer: "drawer";
5173
+ "confirm-dialog": "confirm-dialog";
5174
5174
  popover: "popover";
5175
5175
  inline: "inline";
5176
5176
  }>;
@@ -5184,8 +5184,8 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
5184
5184
  xl: "xl";
5185
5185
  }>>;
5186
5186
  position: z.ZodOptional<z.ZodEnum<{
5187
- center: "center";
5188
5187
  right: "right";
5188
+ center: "center";
5189
5189
  top: "top";
5190
5190
  bottom: "bottom";
5191
5191
  left: "left";
@@ -5332,8 +5332,8 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
5332
5332
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
5333
5333
  dispatch: z.ZodOptional<z.ZodEnum<{
5334
5334
  client: "client";
5335
- server: "server";
5336
5335
  optimistic: "optimistic";
5336
+ server: "server";
5337
5337
  }>>;
5338
5338
  linkedEntity: z.ZodOptional<z.ZodString>;
5339
5339
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -5356,9 +5356,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
5356
5356
  event: "event";
5357
5357
  node: "node";
5358
5358
  url: "url";
5359
- image: "image";
5360
5359
  field: "field";
5361
5360
  timestamp: "timestamp";
5361
+ image: "image";
5362
5362
  slot: "slot";
5363
5363
  datetime: "datetime";
5364
5364
  instant: "instant";
@@ -5502,9 +5502,9 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
5502
5502
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5503
5503
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5504
5504
  presentation: z.ZodEnum<{
5505
- "confirm-dialog": "confirm-dialog";
5506
- drawer: "drawer";
5507
5505
  modal: "modal";
5506
+ drawer: "drawer";
5507
+ "confirm-dialog": "confirm-dialog";
5508
5508
  popover: "popover";
5509
5509
  inline: "inline";
5510
5510
  }>;
@@ -5518,8 +5518,8 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
5518
5518
  xl: "xl";
5519
5519
  }>>;
5520
5520
  position: z.ZodOptional<z.ZodEnum<{
5521
- center: "center";
5522
5521
  right: "right";
5522
+ center: "center";
5523
5523
  top: "top";
5524
5524
  bottom: "bottom";
5525
5525
  left: "left";
@@ -5726,8 +5726,8 @@ declare const OrbitalDefinitionSchema: z.ZodObject<{
5726
5726
  }>>;
5727
5727
  dispatch: z.ZodOptional<z.ZodEnum<{
5728
5728
  client: "client";
5729
- server: "server";
5730
5729
  optimistic: "optimistic";
5730
+ server: "server";
5731
5731
  }>>;
5732
5732
  }, z.core.$strip>>>;
5733
5733
  listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7135,8 +7135,8 @@ declare const OrbitalSchema$1: z.ZodObject<{
7135
7135
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
7136
7136
  dispatch: z.ZodOptional<z.ZodEnum<{
7137
7137
  client: "client";
7138
- server: "server";
7139
7138
  optimistic: "optimistic";
7139
+ server: "server";
7140
7140
  }>>;
7141
7141
  linkedEntity: z.ZodOptional<z.ZodString>;
7142
7142
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -7159,9 +7159,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
7159
7159
  event: "event";
7160
7160
  node: "node";
7161
7161
  url: "url";
7162
- image: "image";
7163
7162
  field: "field";
7164
7163
  timestamp: "timestamp";
7164
+ image: "image";
7165
7165
  slot: "slot";
7166
7166
  datetime: "datetime";
7167
7167
  instant: "instant";
@@ -7305,9 +7305,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
7305
7305
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7306
7306
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7307
7307
  presentation: z.ZodEnum<{
7308
- "confirm-dialog": "confirm-dialog";
7309
- drawer: "drawer";
7310
7308
  modal: "modal";
7309
+ drawer: "drawer";
7310
+ "confirm-dialog": "confirm-dialog";
7311
7311
  popover: "popover";
7312
7312
  inline: "inline";
7313
7313
  }>;
@@ -7321,8 +7321,8 @@ declare const OrbitalSchema$1: z.ZodObject<{
7321
7321
  xl: "xl";
7322
7322
  }>>;
7323
7323
  position: z.ZodOptional<z.ZodEnum<{
7324
- center: "center";
7325
7324
  right: "right";
7325
+ center: "center";
7326
7326
  top: "top";
7327
7327
  bottom: "bottom";
7328
7328
  left: "left";
@@ -7469,8 +7469,8 @@ declare const OrbitalSchema$1: z.ZodObject<{
7469
7469
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
7470
7470
  dispatch: z.ZodOptional<z.ZodEnum<{
7471
7471
  client: "client";
7472
- server: "server";
7473
7472
  optimistic: "optimistic";
7473
+ server: "server";
7474
7474
  }>>;
7475
7475
  linkedEntity: z.ZodOptional<z.ZodString>;
7476
7476
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -7493,9 +7493,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
7493
7493
  event: "event";
7494
7494
  node: "node";
7495
7495
  url: "url";
7496
- image: "image";
7497
7496
  field: "field";
7498
7497
  timestamp: "timestamp";
7498
+ image: "image";
7499
7499
  slot: "slot";
7500
7500
  datetime: "datetime";
7501
7501
  instant: "instant";
@@ -7639,9 +7639,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
7639
7639
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7640
7640
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7641
7641
  presentation: z.ZodEnum<{
7642
- "confirm-dialog": "confirm-dialog";
7643
- drawer: "drawer";
7644
7642
  modal: "modal";
7643
+ drawer: "drawer";
7644
+ "confirm-dialog": "confirm-dialog";
7645
7645
  popover: "popover";
7646
7646
  inline: "inline";
7647
7647
  }>;
@@ -7655,8 +7655,8 @@ declare const OrbitalSchema$1: z.ZodObject<{
7655
7655
  xl: "xl";
7656
7656
  }>>;
7657
7657
  position: z.ZodOptional<z.ZodEnum<{
7658
- center: "center";
7659
7658
  right: "right";
7659
+ center: "center";
7660
7660
  top: "top";
7661
7661
  bottom: "bottom";
7662
7662
  left: "left";
@@ -7821,8 +7821,8 @@ declare const OrbitalSchema$1: z.ZodObject<{
7821
7821
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
7822
7822
  dispatch: z.ZodOptional<z.ZodEnum<{
7823
7823
  client: "client";
7824
- server: "server";
7825
7824
  optimistic: "optimistic";
7825
+ server: "server";
7826
7826
  }>>;
7827
7827
  linkedEntity: z.ZodOptional<z.ZodString>;
7828
7828
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -7845,9 +7845,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
7845
7845
  event: "event";
7846
7846
  node: "node";
7847
7847
  url: "url";
7848
- image: "image";
7849
7848
  field: "field";
7850
7849
  timestamp: "timestamp";
7850
+ image: "image";
7851
7851
  slot: "slot";
7852
7852
  datetime: "datetime";
7853
7853
  instant: "instant";
@@ -7991,9 +7991,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
7991
7991
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7992
7992
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7993
7993
  presentation: z.ZodEnum<{
7994
- "confirm-dialog": "confirm-dialog";
7995
- drawer: "drawer";
7996
7994
  modal: "modal";
7995
+ drawer: "drawer";
7996
+ "confirm-dialog": "confirm-dialog";
7997
7997
  popover: "popover";
7998
7998
  inline: "inline";
7999
7999
  }>;
@@ -8007,8 +8007,8 @@ declare const OrbitalSchema$1: z.ZodObject<{
8007
8007
  xl: "xl";
8008
8008
  }>>;
8009
8009
  position: z.ZodOptional<z.ZodEnum<{
8010
- center: "center";
8011
8010
  right: "right";
8011
+ center: "center";
8012
8012
  top: "top";
8013
8013
  bottom: "bottom";
8014
8014
  left: "left";
@@ -8155,8 +8155,8 @@ declare const OrbitalSchema$1: z.ZodObject<{
8155
8155
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
8156
8156
  dispatch: z.ZodOptional<z.ZodEnum<{
8157
8157
  client: "client";
8158
- server: "server";
8159
8158
  optimistic: "optimistic";
8159
+ server: "server";
8160
8160
  }>>;
8161
8161
  linkedEntity: z.ZodOptional<z.ZodString>;
8162
8162
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -8179,9 +8179,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
8179
8179
  event: "event";
8180
8180
  node: "node";
8181
8181
  url: "url";
8182
- image: "image";
8183
8182
  field: "field";
8184
8183
  timestamp: "timestamp";
8184
+ image: "image";
8185
8185
  slot: "slot";
8186
8186
  datetime: "datetime";
8187
8187
  instant: "instant";
@@ -8325,9 +8325,9 @@ declare const OrbitalSchema$1: z.ZodObject<{
8325
8325
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8326
8326
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8327
8327
  presentation: z.ZodEnum<{
8328
- "confirm-dialog": "confirm-dialog";
8329
- drawer: "drawer";
8330
8328
  modal: "modal";
8329
+ drawer: "drawer";
8330
+ "confirm-dialog": "confirm-dialog";
8331
8331
  popover: "popover";
8332
8332
  inline: "inline";
8333
8333
  }>;
@@ -8341,8 +8341,8 @@ declare const OrbitalSchema$1: z.ZodObject<{
8341
8341
  xl: "xl";
8342
8342
  }>>;
8343
8343
  position: z.ZodOptional<z.ZodEnum<{
8344
- center: "center";
8345
8344
  right: "right";
8345
+ center: "center";
8346
8346
  top: "top";
8347
8347
  bottom: "bottom";
8348
8348
  left: "left";
@@ -8549,8 +8549,8 @@ declare const OrbitalSchema$1: z.ZodObject<{
8549
8549
  }>>;
8550
8550
  dispatch: z.ZodOptional<z.ZodEnum<{
8551
8551
  client: "client";
8552
- server: "server";
8553
8552
  optimistic: "optimistic";
8553
+ server: "server";
8554
8554
  }>>;
8555
8555
  }, z.core.$strip>>>;
8556
8556
  listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -9979,8 +9979,8 @@ declare const OrbitalUnitSchema: z.ZodObject<{
9979
9979
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
9980
9980
  dispatch: z.ZodOptional<z.ZodEnum<{
9981
9981
  client: "client";
9982
- server: "server";
9983
9982
  optimistic: "optimistic";
9983
+ server: "server";
9984
9984
  }>>;
9985
9985
  linkedEntity: z.ZodOptional<z.ZodString>;
9986
9986
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -10003,9 +10003,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10003
10003
  event: "event";
10004
10004
  node: "node";
10005
10005
  url: "url";
10006
- image: "image";
10007
10006
  field: "field";
10008
10007
  timestamp: "timestamp";
10008
+ image: "image";
10009
10009
  slot: "slot";
10010
10010
  datetime: "datetime";
10011
10011
  instant: "instant";
@@ -10149,9 +10149,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10149
10149
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10150
10150
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10151
10151
  presentation: z.ZodEnum<{
10152
- "confirm-dialog": "confirm-dialog";
10153
- drawer: "drawer";
10154
10152
  modal: "modal";
10153
+ drawer: "drawer";
10154
+ "confirm-dialog": "confirm-dialog";
10155
10155
  popover: "popover";
10156
10156
  inline: "inline";
10157
10157
  }>;
@@ -10165,8 +10165,8 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10165
10165
  xl: "xl";
10166
10166
  }>>;
10167
10167
  position: z.ZodOptional<z.ZodEnum<{
10168
- center: "center";
10169
10168
  right: "right";
10169
+ center: "center";
10170
10170
  top: "top";
10171
10171
  bottom: "bottom";
10172
10172
  left: "left";
@@ -10313,8 +10313,8 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10313
10313
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
10314
10314
  dispatch: z.ZodOptional<z.ZodEnum<{
10315
10315
  client: "client";
10316
- server: "server";
10317
10316
  optimistic: "optimistic";
10317
+ server: "server";
10318
10318
  }>>;
10319
10319
  linkedEntity: z.ZodOptional<z.ZodString>;
10320
10320
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -10337,9 +10337,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10337
10337
  event: "event";
10338
10338
  node: "node";
10339
10339
  url: "url";
10340
- image: "image";
10341
10340
  field: "field";
10342
10341
  timestamp: "timestamp";
10342
+ image: "image";
10343
10343
  slot: "slot";
10344
10344
  datetime: "datetime";
10345
10345
  instant: "instant";
@@ -10483,9 +10483,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10483
10483
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10484
10484
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10485
10485
  presentation: z.ZodEnum<{
10486
- "confirm-dialog": "confirm-dialog";
10487
- drawer: "drawer";
10488
10486
  modal: "modal";
10487
+ drawer: "drawer";
10488
+ "confirm-dialog": "confirm-dialog";
10489
10489
  popover: "popover";
10490
10490
  inline: "inline";
10491
10491
  }>;
@@ -10499,8 +10499,8 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10499
10499
  xl: "xl";
10500
10500
  }>>;
10501
10501
  position: z.ZodOptional<z.ZodEnum<{
10502
- center: "center";
10503
10502
  right: "right";
10503
+ center: "center";
10504
10504
  top: "top";
10505
10505
  bottom: "bottom";
10506
10506
  left: "left";
@@ -10665,8 +10665,8 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10665
10665
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
10666
10666
  dispatch: z.ZodOptional<z.ZodEnum<{
10667
10667
  client: "client";
10668
- server: "server";
10669
10668
  optimistic: "optimistic";
10669
+ server: "server";
10670
10670
  }>>;
10671
10671
  linkedEntity: z.ZodOptional<z.ZodString>;
10672
10672
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -10689,9 +10689,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10689
10689
  event: "event";
10690
10690
  node: "node";
10691
10691
  url: "url";
10692
- image: "image";
10693
10692
  field: "field";
10694
10693
  timestamp: "timestamp";
10694
+ image: "image";
10695
10695
  slot: "slot";
10696
10696
  datetime: "datetime";
10697
10697
  instant: "instant";
@@ -10835,9 +10835,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10835
10835
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10836
10836
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10837
10837
  presentation: z.ZodEnum<{
10838
- "confirm-dialog": "confirm-dialog";
10839
- drawer: "drawer";
10840
10838
  modal: "modal";
10839
+ drawer: "drawer";
10840
+ "confirm-dialog": "confirm-dialog";
10841
10841
  popover: "popover";
10842
10842
  inline: "inline";
10843
10843
  }>;
@@ -10851,8 +10851,8 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10851
10851
  xl: "xl";
10852
10852
  }>>;
10853
10853
  position: z.ZodOptional<z.ZodEnum<{
10854
- center: "center";
10855
10854
  right: "right";
10855
+ center: "center";
10856
10856
  top: "top";
10857
10857
  bottom: "bottom";
10858
10858
  left: "left";
@@ -10999,8 +10999,8 @@ declare const OrbitalUnitSchema: z.ZodObject<{
10999
10999
  entityBindingSynonyms: z.ZodOptional<z.ZodString>;
11000
11000
  dispatch: z.ZodOptional<z.ZodEnum<{
11001
11001
  client: "client";
11002
- server: "server";
11003
11002
  optimistic: "optimistic";
11003
+ server: "server";
11004
11004
  }>>;
11005
11005
  linkedEntity: z.ZodOptional<z.ZodString>;
11006
11006
  linkedEntityId: z.ZodOptional<z.ZodString & z.ZodType<EntityId, string, z.core.$ZodTypeInternals<EntityId, string>>>;
@@ -11023,9 +11023,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
11023
11023
  event: "event";
11024
11024
  node: "node";
11025
11025
  url: "url";
11026
- image: "image";
11027
11026
  field: "field";
11028
11027
  timestamp: "timestamp";
11028
+ image: "image";
11029
11029
  slot: "slot";
11030
11030
  datetime: "datetime";
11031
11031
  instant: "instant";
@@ -11169,9 +11169,9 @@ declare const OrbitalUnitSchema: z.ZodObject<{
11169
11169
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
11170
11170
  ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11171
11171
  presentation: z.ZodEnum<{
11172
- "confirm-dialog": "confirm-dialog";
11173
- drawer: "drawer";
11174
11172
  modal: "modal";
11173
+ drawer: "drawer";
11174
+ "confirm-dialog": "confirm-dialog";
11175
11175
  popover: "popover";
11176
11176
  inline: "inline";
11177
11177
  }>;
@@ -11185,8 +11185,8 @@ declare const OrbitalUnitSchema: z.ZodObject<{
11185
11185
  xl: "xl";
11186
11186
  }>>;
11187
11187
  position: z.ZodOptional<z.ZodEnum<{
11188
- center: "center";
11189
11188
  right: "right";
11189
+ center: "center";
11190
11190
  top: "top";
11191
11191
  bottom: "bottom";
11192
11192
  left: "left";
@@ -11393,8 +11393,8 @@ declare const OrbitalUnitSchema: z.ZodObject<{
11393
11393
  }>>;
11394
11394
  dispatch: z.ZodOptional<z.ZodEnum<{
11395
11395
  client: "client";
11396
- server: "server";
11397
11396
  optimistic: "optimistic";
11397
+ server: "server";
11398
11398
  }>>;
11399
11399
  }, z.core.$strip>>>;
11400
11400
  listens: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -11605,12 +11605,12 @@ declare const SiteMetaSchema: z.ZodObject<{
11605
11605
  name: z.ZodOptional<z.ZodString>;
11606
11606
  signIn: z.ZodOptional<z.ZodString>;
11607
11607
  }, z.core.$strict>;
11608
- /** A program's merged message catalogs: locale → qualified key (`<behavior>:<key>`) → message. `orb resolve` writes one `<stem>.<locale>.json` per locale. */
11608
+ /** A program's messages: locale → qualified key (`<behavior>:<key>`) → message. Resolution stores them in the program's `messages`. */
11609
11609
  type MessageCatalogs = Record<string, Record<string, string>>;
11610
11610
  /** The compiler's resolution stamp (`ResolvedMark` in orbital-core): the `orb` version that resolved the program and its type-contract version. */
11611
11611
  interface ResolvedMark {
11612
11612
  orb: string;
11613
- typeContractVersion: 1;
11613
+ typeContractVersion: 2;
11614
11614
  }
11615
11615
  interface OrbitalSchema {
11616
11616
  types?: Record<string, EventPayloadField[]>;
@@ -11672,6 +11672,8 @@ interface OrbitalSchema {
11672
11672
  orbitals: Orbital[];
11673
11673
  /** `locales [en, ar, sl]` — the locales this program ships; every `(i18n/t …)` key must exist in each one's catalog. */
11674
11674
  locales?: string[];
11675
+ /** The program's messages, written by resolution and never authored: the program carries its own text wherever it is opened. */
11676
+ messages?: MessageCatalogs;
11675
11677
  /** `public: "./public"` — a folder beside the program copied verbatim to the built site's root. */
11676
11678
  publicDir?: string;
11677
11679
  /** `app … [store: Driver]` — the default store-driver orbital for persistent entities that name none. */
@@ -12053,8 +12055,8 @@ declare const OrbitalOverridesSchema: z.ZodObject<{
12053
12055
  runtime: "runtime";
12054
12056
  }>>;
12055
12057
  pages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12056
- shared: z.ZodOptional<z.ZodBoolean>;
12057
12058
  identity: z.ZodOptional<z.ZodBoolean>;
12059
+ shared: z.ZodOptional<z.ZodBoolean>;
12058
12060
  browser: z.ZodOptional<z.ZodBoolean>;
12059
12061
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12060
12062
  roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
@@ -12174,8 +12176,8 @@ declare const OrbitalValueSchema: z.ZodObject<{
12174
12176
  runtime: "runtime";
12175
12177
  }>>;
12176
12178
  pages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12177
- shared: z.ZodOptional<z.ZodBoolean>;
12178
12179
  identity: z.ZodOptional<z.ZodBoolean>;
12180
+ shared: z.ZodOptional<z.ZodBoolean>;
12179
12181
  browser: z.ZodOptional<z.ZodBoolean>;
12180
12182
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12181
12183
  roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
@@ -12337,8 +12339,8 @@ declare const BehaviorValueSchema: z.ZodUnion<readonly [z.ZodObject<{
12337
12339
  runtime: "runtime";
12338
12340
  }>>;
12339
12341
  pages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12340
- shared: z.ZodOptional<z.ZodBoolean>;
12341
12342
  identity: z.ZodOptional<z.ZodBoolean>;
12343
+ shared: z.ZodOptional<z.ZodBoolean>;
12342
12344
  browser: z.ZodOptional<z.ZodBoolean>;
12343
12345
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12344
12346
  roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
@@ -12802,6 +12804,65 @@ declare const TraitDescriptionObject: z.ZodObject<{
12802
12804
  model: z.ZodString;
12803
12805
  }, z.core.$strict>;
12804
12806
  declare const TraitDescriptionSchema: z.ZodType<TraitDescription, z.input<typeof TraitDescriptionObject>>;
12807
+ /** One transition of a mounted trait (`program/self { mounted: true }`). */
12808
+ type MountedTransition = {
12809
+ index: number;
12810
+ from: string[];
12811
+ to: string;
12812
+ event: string;
12813
+ /** The transition carries a guard. */
12814
+ guarded: boolean;
12815
+ emits: string[];
12816
+ };
12817
+ type MountedState = {
12818
+ name: string;
12819
+ isInitial: boolean;
12820
+ isTerminal: boolean;
12821
+ };
12822
+ /** An event a mounted trait listens for; `event` is usually qualified `Trait.EVENT`. */
12823
+ type MountedListen = {
12824
+ event: string;
12825
+ triggers: string | null;
12826
+ };
12827
+ /** One trait of a mounted orbital, with where it sits in the trait tree. */
12828
+ type MountedTrait = {
12829
+ trait: string;
12830
+ orbital: string | null;
12831
+ parent: string | null;
12832
+ depth: number;
12833
+ /** Parent states whose transitions show this trait; empty when it is shown through config. */
12834
+ embeddedIn: string[];
12835
+ /** False when the trait never paints a slot (store, http, timer). */
12836
+ renders: boolean;
12837
+ /** True for a trait of another orbital the page talks to by events (an imported orbital it never mounts); it has no parent. */
12838
+ linked: boolean;
12839
+ /** The asking trait or a trait that listens to it: a view that traced it would trace its own work. */
12840
+ observer: boolean;
12841
+ stepsIn: 'browser' | 'server';
12842
+ linkedEntity: string | null;
12843
+ states: MountedState[];
12844
+ transitions: MountedTransition[];
12845
+ emits: string[];
12846
+ listens: MountedListen[];
12847
+ /** Each running instance of the trait in the asking session; empty when it never ran. */
12848
+ instances: {
12849
+ entityId: string;
12850
+ state: string;
12851
+ }[];
12852
+ };
12853
+ /** A whole mounted orbital: its traits in tree pre-order (roots in declared order, each followed depth-first by its embeds). */
12854
+ /** One delivery between two traits of the tree, by the kernel's delivery rule. */
12855
+ type MountedWire = {
12856
+ from: string;
12857
+ to: string;
12858
+ event: string;
12859
+ triggers: string | null;
12860
+ };
12861
+ type MountedOrbital = {
12862
+ page: string;
12863
+ traits: MountedTrait[];
12864
+ wires: MountedWire[];
12865
+ };
12805
12866
  /** What `behavior/describe` accepts: a trait value, an orbital value, or a whole behavior. */
12806
12867
  declare const DescribeTargetSchema: z.ZodUnion<readonly [z.ZodObject<{
12807
12868
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -12882,8 +12943,8 @@ declare const DescribeTargetSchema: z.ZodUnion<readonly [z.ZodObject<{
12882
12943
  runtime: "runtime";
12883
12944
  }>>;
12884
12945
  pages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12885
- shared: z.ZodOptional<z.ZodBoolean>;
12886
12946
  identity: z.ZodOptional<z.ZodBoolean>;
12947
+ shared: z.ZodOptional<z.ZodBoolean>;
12887
12948
  browser: z.ZodOptional<z.ZodBoolean>;
12888
12949
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12889
12950
  roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
@@ -13026,8 +13087,8 @@ declare const OrbitalDescriptionSchema: z.ZodObject<{
13026
13087
  runtime: "runtime";
13027
13088
  }>>;
13028
13089
  pages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13029
- shared: z.ZodOptional<z.ZodBoolean>;
13030
13090
  identity: z.ZodOptional<z.ZodBoolean>;
13091
+ shared: z.ZodOptional<z.ZodBoolean>;
13031
13092
  browser: z.ZodOptional<z.ZodBoolean>;
13032
13093
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13033
13094
  roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
@@ -13247,8 +13308,8 @@ declare const BehaviorDescriptionSchema: z.ZodObject<{
13247
13308
  runtime: "runtime";
13248
13309
  }>>;
13249
13310
  pages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13250
- shared: z.ZodOptional<z.ZodBoolean>;
13251
13311
  identity: z.ZodOptional<z.ZodBoolean>;
13312
+ shared: z.ZodOptional<z.ZodBoolean>;
13252
13313
  browser: z.ZodOptional<z.ZodBoolean>;
13253
13314
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13254
13315
  roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
@@ -13916,5 +13977,5 @@ declare function compose(orbitals: (OrbitalDefinition | OrbitalSchema)[], pages:
13916
13977
  */
13917
13978
  declare function pipe(orbitals: (OrbitalDefinition | OrbitalSchema)[], events: TraitEventContract[], appName?: string): OrbitalSchema;
13918
13979
 
13919
- export { OrbitalDescriptionSchema as $, EventSourceSchema as F, ExpectDeclarationSchema as I, ExpectationDiagnosticSchema as K, HOST_SIGN_IN_ROUTE as N, KnobFieldSchema as R, LazyPageSchema as U, LazyTraitSchema as W, ORBITAL_VALUE_IMPORT_ALIAS as Y, OrbitalDefinitionSchema as Z, TraitOverridesSchema as a$, OrbitalOverridesSchema as a2, OrbitalPageSchema as a5, OrbitalPageStrictSchema as a7, OrbitalRefObjectSchema as a9, PageRefObjectSchema as aA, PageRefSchema as aB, PageRefStringSchema as aC, PageSchema as aD, PageTraitRefSchema as aF, ProtocolSideSchema as aJ, ProtocolSpecSchema$1 as aL, ROUTE_PROTOCOL as aM, SchemaMetadataSchema as aP, SiteMetaSchema as aR, TraitDescriptionSchema as aT, TraitEventsSchema as aV, TraitKnobSchema as aX, TraitMachineSchema as aZ, OrbitalRefStringSchema as aa, OrbitalSchemaSchema as ac, OrbitalUnitSchema as af, OrbitalValueSchema as ah, OrbitalValueSiblingSchema as aj, OrbitalValueUseSchema as al, OrbitalSchema$1 as am, OrganismExpectationsSchema as ao, OsGrantsSchema as ap, PageAccessSchema as ar, PageIndexingSchema as at, PageMetaSchema as av, PageModifiersSchema as ax, BehaviorDescriptionSchema as b, makeLayoutTrait as b$, TraitSourceSchema as b1, TraitValueSchema as b3, UseDeclarationSchema as b5, ViewTypeSchema as b7, applyBehaviorOverrides as b8, applyOrbitalOverrides as b9, parseOrbitalValueLiteral as bA, parsePageRef as bB, parseProgram as bC, parseTraitValueLiteral as bD, protocolName as bE, resolvePageMeta as bF, safeParseOrbitalSchema as bG, unionOsGrants as bH, unwrapTraitRef as bI, applyTraitConfigOverrides as bU, compose as bV, connect as bW, ensureIdField as bX, extractTrait as bY, makeAtomOrbital as bZ, makeEntity as b_, applyTraitOverrides as ba, behaviorRef as bb, expectedEntityName as bc, formatBehaviorValueLiteral as bd, formatOrbitalValueLiteral as be, formatTraitValueLiteral as bf, inlineTraitRefs as bg, isBehaviorRefValue as bh, isEntityCall as bi, isEntityReference as bj, isEntityReferenceAny as bk, isHostSignInRoute as bl, isImportedTraitRef as bm, isOrbitalDefinition as bn, isOrbitalValue as bo, isPageReference as bp, isPageReferenceObject as bq, isPageReferenceString as br, isRoutePage as bs, isTraitValue as bt, orbitalImportFromValue as bu, parseBehaviorValueLiteral as bv, parseEntityRef as bw, parseImportedTraitRef as bx, parseOrbitalRef as by, parseOrbitalSchema as bz, makeOrbital as c0, makeOrbitalWithUses as c1, makePage as c2, makePageRef as c3, makeRenderUI as c4, makeSchema as c5, makeSlot as c6, makeTraitRef as c7, mergeOrbitals as c8, pipe as c9, plural as ca, wire as cb, BehaviorRefSchema as d, BehaviorValueSchema as f, CatalogEntrySchema as g, CatalogScopeSchema as i, ComputedEventContractSchema as k, ComputedEventListenerSchema as m, ConfigProvenanceRecordSchema as o, DeploymentSchema as p, DescribeTargetSchema as r, EntityCallSchema as t, EntityRefSchema as v, EntityRefStringSchema as w, EventListenerSchema as z };
13920
- export type { EventSource as A, BehaviorDescription as B, CatalogEntry as C, Deployment as D, EntityCall as E, EventWiringEntry as G, ExpectDeclaration as H, ExpectationDiagnostic as J, Orbital as L, MakeTraitRefOpts as M, OrbitalSchema as O, Page as P, KnobField as Q, LayoutStrategy as S, LazyPage as T, LazyTrait as V, MessageCatalogs as X, OrbitalDescription as _, OrbitalDefinition as a, OrbitalInput as a0, OrbitalOverrides as a1, OrbitalPage as a3, OrbitalPageInput as a4, OrbitalPageStrictInput as a6, OrbitalRefObject as a8, PageTraitRef as aE, ProgramValidationIssue as aG, ProtocolAddressField as aH, ProtocolSide as aI, ProtocolSpec$1 as aK, ResolvedMark as aN, SchemaMetadata as aO, SiteMeta as aQ, TraitDescription as aS, TraitEvents as aU, TraitKnob as aW, TraitMachine as aY, TraitOverrides as a_, OrbitalSchemaInput as ab, OrbitalSchemaWithTraits as ad, OrbitalUnit as ae, OrbitalValue as ag, OrbitalValueSibling as ai, OrbitalValueUse as ak, OrganismExpectations as an, PageAccess as aq, PageIndexing as as, PageMeta as au, PageModifiers as aw, PageRef as ay, PageRefObject as az, TraitSource as b0, TraitValue as b2, UseDeclaration as b4, ViewType as b6, ComposeConnection as bJ, ComposePage as bK, MakeAtomOrbitalOpts as bL, MakeAtomOrbitalTraitOverrides as bM, MakeEntityOpts as bN, MakeLayoutTraitOpts as bO, MakeOrbitalWithUsesOpts as bP, MakePageOpts as bQ, MakePageRefOpts as bR, MakePageRefOptsTyped as bS, MakeTraitRefOptsTyped as bT, BehaviorRef as c, BehaviorValue as e, CatalogScope as h, ComputedEventContract as j, ComputedEventListener as l, ConfigProvenanceRecord as n, DescribeTarget as q, DispatchFacts as s, EntityRef as u, EvaluatedProgram as x, EventListener as y };
13980
+ export { EventSourceSchema as F, ExpectDeclarationSchema as I, ExpectationDiagnosticSchema as K, HOST_SIGN_IN_ROUTE as N, KnobFieldSchema as R, LazyPageSchema as U, LazyTraitSchema as W, TraitEventsSchema as a$, ORBITAL_VALUE_IMPORT_ALIAS as a2, OrbitalDefinitionSchema as a3, OrbitalDescriptionSchema as a5, OrbitalOverridesSchema as a8, PageMetaSchema as aB, PageModifiersSchema as aD, PageRefObjectSchema as aG, PageRefSchema as aH, PageRefStringSchema as aI, PageSchema as aJ, PageTraitRefSchema as aL, ProtocolSideSchema as aP, ProtocolSpecSchema$1 as aR, ROUTE_PROTOCOL as aS, SchemaMetadataSchema as aV, SiteMetaSchema as aX, TraitDescriptionSchema as aZ, OrbitalPageSchema as ab, OrbitalPageStrictSchema as ad, OrbitalRefObjectSchema as af, OrbitalRefStringSchema as ag, OrbitalSchemaSchema as ai, OrbitalUnitSchema as al, OrbitalValueSchema as an, OrbitalValueSiblingSchema as ap, OrbitalValueUseSchema as ar, OrbitalSchema$1 as as, OrganismExpectationsSchema as au, OsGrantsSchema as av, PageAccessSchema as ax, PageIndexingSchema as az, BehaviorDescriptionSchema as b, compose as b$, TraitKnobSchema as b1, TraitMachineSchema as b3, TraitOverridesSchema as b5, TraitSourceSchema as b7, TraitValueSchema as b9, orbitalImportFromValue as bA, parseBehaviorValueLiteral as bB, parseEntityRef as bC, parseImportedTraitRef as bD, parseOrbitalRef as bE, parseOrbitalSchema as bF, parseOrbitalValueLiteral as bG, parsePageRef as bH, parseProgram as bI, parseTraitValueLiteral as bJ, protocolName as bK, resolvePageMeta as bL, safeParseOrbitalSchema as bM, unionOsGrants as bN, unwrapTraitRef as bO, applyTraitConfigOverrides as b_, UseDeclarationSchema as bb, ViewTypeSchema as bd, applyBehaviorOverrides as be, applyOrbitalOverrides as bf, applyTraitOverrides as bg, behaviorRef as bh, expectedEntityName as bi, formatBehaviorValueLiteral as bj, formatOrbitalValueLiteral as bk, formatTraitValueLiteral as bl, inlineTraitRefs as bm, isBehaviorRefValue as bn, isEntityCall as bo, isEntityReference as bp, isEntityReferenceAny as bq, isHostSignInRoute as br, isImportedTraitRef as bs, isOrbitalDefinition as bt, isOrbitalValue as bu, isPageReference as bv, isPageReferenceObject as bw, isPageReferenceString as bx, isRoutePage as by, isTraitValue as bz, connect as c0, ensureIdField as c1, extractTrait as c2, makeAtomOrbital as c3, makeEntity as c4, makeLayoutTrait as c5, makeOrbital as c6, makeOrbitalWithUses as c7, makePage as c8, makePageRef as c9, makeRenderUI as ca, makeSchema as cb, makeSlot as cc, makeTraitRef as cd, mergeOrbitals as ce, pipe as cf, plural as cg, wire as ch, BehaviorRefSchema as d, BehaviorValueSchema as f, CatalogEntrySchema as g, CatalogScopeSchema as i, ComputedEventContractSchema as k, ComputedEventListenerSchema as m, ConfigProvenanceRecordSchema as o, DeploymentSchema as p, DescribeTargetSchema as r, EntityCallSchema as t, EntityRefSchema as v, EntityRefStringSchema as w, EventListenerSchema as z };
13981
+ export type { MountedTrait as $, EventSource as A, BehaviorDescription as B, CatalogEntry as C, Deployment as D, EntityCall as E, EventWiringEntry as G, ExpectDeclaration as H, ExpectationDiagnostic as J, Orbital as L, MakeTraitRefOpts as M, OrbitalSchema as O, Page as P, KnobField as Q, LayoutStrategy as S, LazyPage as T, LazyTrait as V, MessageCatalogs as X, MountedListen as Y, MountedOrbital as Z, MountedState as _, OrbitalDefinition as a, MountedTransition as a0, MountedWire as a1, OrbitalDescription as a4, OrbitalInput as a6, OrbitalOverrides as a7, OrbitalPage as a9, PageMeta as aA, PageModifiers as aC, PageRef as aE, PageRefObject as aF, PageTraitRef as aK, ProgramValidationIssue as aM, ProtocolAddressField as aN, ProtocolSide as aO, ProtocolSpec$1 as aQ, ResolvedMark as aT, SchemaMetadata as aU, SiteMeta as aW, TraitDescription as aY, TraitEvents as a_, OrbitalPageInput as aa, OrbitalPageStrictInput as ac, OrbitalRefObject as ae, OrbitalSchemaInput as ah, OrbitalSchemaWithTraits as aj, OrbitalUnit as ak, OrbitalValue as am, OrbitalValueSibling as ao, OrbitalValueUse as aq, OrganismExpectations as at, PageAccess as aw, PageIndexing as ay, TraitKnob as b0, TraitMachine as b2, TraitOverrides as b4, TraitSource as b6, TraitValue as b8, ComposeConnection as bP, ComposePage as bQ, MakeAtomOrbitalOpts as bR, MakeAtomOrbitalTraitOverrides as bS, MakeEntityOpts as bT, MakeLayoutTraitOpts as bU, MakeOrbitalWithUsesOpts as bV, MakePageOpts as bW, MakePageRefOpts as bX, MakePageRefOptsTyped as bY, MakeTraitRefOptsTyped as bZ, UseDeclaration as ba, ViewType as bc, BehaviorRef as c, BehaviorValue as e, CatalogScope as h, ComputedEventContract as j, ComputedEventListener as l, ConfigProvenanceRecord as n, DescribeTarget as q, DispatchFacts as s, EntityRef as u, EvaluatedProgram as x, EventListener as y };