@almadar/core 10.97.0 → 10.100.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/README.md +25 -0
  2. package/dist/builders.d.ts +5 -4
  3. package/dist/builders.js +62 -34
  4. package/dist/builders.js.map +1 -1
  5. package/dist/bus-D69s_77B.d.ts +588 -0
  6. package/dist/domain-Ds_7wZIL.d.ts +16213 -0
  7. package/dist/{effect-Bw8T4qh5.d.ts → effect-Hm_QDaSI.d.ts} +65 -4
  8. package/dist/{entityAccess-DfoXs9mc.d.ts → entityAccess-DdcKps16.d.ts} +3 -3
  9. package/dist/{expression-WfTp2arD.d.ts → expression-DRwzVnMu.d.ts} +5 -1
  10. package/dist/factory/index.d.ts +5 -5
  11. package/dist/factory/index.js +36 -1
  12. package/dist/factory/index.js.map +1 -1
  13. package/dist/factory-runtime/index.d.ts +5 -4
  14. package/dist/factory-runtime/index.js +189 -34
  15. package/dist/factory-runtime/index.js.map +1 -1
  16. package/dist/fixtures.d.ts +45 -0
  17. package/dist/fixtures.js +704 -0
  18. package/dist/fixtures.js.map +1 -0
  19. package/dist/{index-H0bOi9oP.d.ts → index-DPdJPQZe.d.ts} +8 -375
  20. package/dist/index.d.ts +19 -15
  21. package/dist/index.js +9112 -45
  22. package/dist/index.js.map +1 -1
  23. package/dist/mock/index.d.ts +6 -5
  24. package/dist/mock/index.js +14 -0
  25. package/dist/mock/index.js.map +1 -1
  26. package/dist/patterns/component-mapping.json +1 -1
  27. package/dist/patterns/event-contracts.json +1 -1
  28. package/dist/patterns/index.d.ts +44 -9
  29. package/dist/patterns/index.js +29 -5
  30. package/dist/patterns/index.js.map +1 -1
  31. package/dist/patterns/patterns-registry.json +15 -2
  32. package/dist/patterns/registry.json +15 -2
  33. package/dist/{schema-DPpES4qj.d.ts → schema-TqLV2wlK.d.ts} +411 -21713
  34. package/dist/state-machine/index.d.ts +1 -1
  35. package/dist/themes/index.d.ts +19 -0
  36. package/dist/themes/index.js +9251 -0
  37. package/dist/themes/index.js.map +1 -0
  38. package/dist/{trait-DXXRrRMP.d.ts → trait-YlNXc4H3.d.ts} +62 -26
  39. package/dist/types/index.d.ts +8 -6
  40. package/dist/types/index.js +236 -41
  41. package/dist/types/index.js.map +1 -1
  42. package/dist/{types-BMaTUGyk.d.ts → types-Ug92oza4.d.ts} +2 -2
  43. package/fixtures/events-wire/cascade-emitted-events/request.json +9 -0
  44. package/fixtures/events-wire/cascade-emitted-events/response.json +30 -0
  45. package/fixtures/events-wire/client-effects-by-trait/request.json +4 -0
  46. package/fixtures/events-wire/client-effects-by-trait/response.json +52 -0
  47. package/fixtures/events-wire/effect-results/request.json +9 -0
  48. package/fixtures/events-wire/effect-results/response.json +42 -0
  49. package/fixtures/events-wire/effect-results-every-kind/request.json +9 -0
  50. package/fixtures/events-wire/effect-results-every-kind/response.json +70 -0
  51. package/fixtures/events-wire/guard-rejected/request.json +6 -0
  52. package/fixtures/events-wire/guard-rejected/response.json +11 -0
  53. package/fixtures/events-wire/live-push/live-push.json +12 -0
  54. package/fixtures/events-wire/live-push/request.json +9 -0
  55. package/fixtures/events-wire/live-push/response.json +33 -0
  56. package/fixtures/events-wire/navigate-1/request.json +5 -0
  57. package/fixtures/events-wire/navigate-1/response.json +16 -0
  58. package/fixtures/events-wire/navigate-2/request.json +8 -0
  59. package/fixtures/events-wire/navigate-2/response.json +19 -0
  60. package/fixtures/events-wire/navigate-3/request.json +8 -0
  61. package/fixtures/events-wire/navigate-3/response.json +22 -0
  62. package/fixtures/events-wire/navigate-back/request.json +5 -0
  63. package/fixtures/events-wire/navigate-back/response.json +15 -0
  64. package/fixtures/events-wire/render-ui-3/request.json +5 -0
  65. package/fixtures/events-wire/render-ui-3/response.json +20 -0
  66. package/fixtures/events-wire/render-ui-4/request.json +5 -0
  67. package/fixtures/events-wire/render-ui-4/response.json +41 -0
  68. package/fixtures/events-wire/render-ui-5/request.json +9 -0
  69. package/fixtures/events-wire/render-ui-5/response.json +52 -0
  70. package/fixtures/events-wire/render-ui-clear/request.json +5 -0
  71. package/fixtures/events-wire/render-ui-clear/response.json +27 -0
  72. package/fixtures/events-wire/sse-stream/request.json +9 -0
  73. package/fixtures/events-wire/sse-stream/response.json +79 -0
  74. package/fixtures/events-wire/sse-stream/stream.json +131 -0
  75. package/fixtures/events-wire/stateless-traits/request.json +27 -0
  76. package/fixtures/events-wire/stateless-traits/response.json +15 -0
  77. package/fixtures/theme-tokens/every-key.json +43 -0
  78. package/package.json +18 -3
  79. package/themes/almadar-website.json +207 -0
  80. package/themes/almadar.json +203 -0
  81. package/themes/atelier.json +459 -0
  82. package/themes/bloomberg-dense.json +459 -0
  83. package/themes/clay.json +445 -0
  84. package/themes/comic.json +457 -0
  85. package/themes/corporate.json +445 -0
  86. package/themes/game-adventure.json +229 -0
  87. package/themes/game-rpg.json +230 -0
  88. package/themes/game-sci-fi.json +229 -0
  89. package/themes/game-ui-pack.json +230 -0
  90. package/themes/gazette.json +445 -0
  91. package/themes/glass.json +445 -0
  92. package/themes/kiosk.json +441 -0
  93. package/themes/linear-clean.json +459 -0
  94. package/themes/minimalist.json +445 -0
  95. package/themes/neon.json +445 -0
  96. package/themes/notion-editorial.json +459 -0
  97. package/themes/prism.json +203 -0
  98. package/themes/retro.json +445 -0
  99. package/themes/terminal.json +457 -0
  100. package/themes/trait-wars.json +493 -0
  101. package/themes/wireframe.json +445 -0
@@ -102,10 +102,10 @@ var FNV_PRIME_64 = 0x100000001b3n;
102
102
  var FNV_OFFSET_1 = 0xcbf29ce484222325n;
103
103
  var FNV_OFFSET_2 = (0x100000001b3n ^ 0xdeadbeefn) & U64_MASK;
104
104
  function splitmix64(x) {
105
- let z19 = x + 0x9e3779b97f4a7c15n & U64_MASK;
106
- z19 = (z19 ^ z19 >> 30n) * 0xbf58476d1ce4e5b9n & U64_MASK;
107
- z19 = (z19 ^ z19 >> 27n) * 0x94d049bb133111ebn & U64_MASK;
108
- return (z19 ^ z19 >> 31n) & U64_MASK;
105
+ let z22 = x + 0x9e3779b97f4a7c15n & U64_MASK;
106
+ z22 = (z22 ^ z22 >> 30n) * 0xbf58476d1ce4e5b9n & U64_MASK;
107
+ z22 = (z22 ^ z22 >> 27n) * 0x94d049bb133111ebn & U64_MASK;
108
+ return (z22 ^ z22 >> 31n) & U64_MASK;
109
109
  }
110
110
  function fnv1a64(data, offset) {
111
111
  let h = offset & U64_MASK;
@@ -235,6 +235,22 @@ function isSemanticStringType(type) {
235
235
  return SEMANTIC_STRING_TYPES.includes(type);
236
236
  }
237
237
  var FieldTypeSchema = z.enum(FIELD_TYPES);
238
+ var TYPE_POSITION_ONLY = [
239
+ "Map",
240
+ "SExpr",
241
+ "any",
242
+ "asset",
243
+ "bool",
244
+ "component",
245
+ "duration",
246
+ "entity",
247
+ "float",
248
+ "icon",
249
+ "int",
250
+ "null",
251
+ "secret",
252
+ "void"
253
+ ];
238
254
  var RelationCardinalitySchema = z.enum([
239
255
  "one",
240
256
  "many",
@@ -833,6 +849,19 @@ function isEventPayloadValue(value) {
833
849
  }
834
850
  return false;
835
851
  }
852
+ var EventPayloadValueSchema = z.lazy(
853
+ () => z.union([
854
+ z.string(),
855
+ z.number(),
856
+ z.boolean(),
857
+ z.date(),
858
+ z.null(),
859
+ z.undefined(),
860
+ EventPayloadSchema,
861
+ z.array(EventPayloadValueSchema)
862
+ ])
863
+ );
864
+ var EventPayloadSchema = z.lazy(() => z.record(EventPayloadValueSchema));
836
865
 
837
866
  // src/types/entity.ts
838
867
  var EntityPersistenceSchema = z.enum([
@@ -904,6 +933,7 @@ function isFieldValue(value) {
904
933
  }
905
934
  return false;
906
935
  }
936
+ var EntityRowSchema = z.object({ id: z.string().optional() }).catchall(FieldValueSchema.optional());
907
937
  var UI_SLOTS = [
908
938
  // App slots
909
939
  "main",
@@ -933,6 +963,34 @@ var UI_SLOTS = [
933
963
  "overlay.pause"
934
964
  ];
935
965
  var UISlotSchema = z.enum(UI_SLOTS);
966
+ function isRowObject(value) {
967
+ return typeof value === "object" && value !== null && !Array.isArray(value) && !(value instanceof Date);
968
+ }
969
+ function isPersistBatchOperation(value) {
970
+ if (!Array.isArray(value) || typeof value[1] !== "string") return false;
971
+ switch (value[0]) {
972
+ case "create":
973
+ return value.length === 2 || value.length === 3 && isRowObject(value[2]);
974
+ case "update":
975
+ return typeof value[2] === "string" && (value.length === 3 || value.length === 4 && isRowObject(value[3]));
976
+ case "delete":
977
+ return value.length === 3 && typeof value[2] === "string";
978
+ default:
979
+ return false;
980
+ }
981
+ }
982
+ var SERVER_REPORTED_EFFECTS = [
983
+ "set",
984
+ "persist",
985
+ "call-service",
986
+ "fetch",
987
+ "fetch-stream",
988
+ "ref",
989
+ "deref",
990
+ "swap!",
991
+ "atomic",
992
+ "emit"
993
+ ];
936
994
  var EffectSchema = z.array(SExprDataSchema).min(1).refine(
937
995
  (arr) => typeof arr[0] === "string",
938
996
  { message: "Effect must be an S-expression with a string operator as first element" }
@@ -990,6 +1048,14 @@ function watch(binding, event, options) {
990
1048
  function atomic(...effects) {
991
1049
  return ["atomic", ...effects];
992
1050
  }
1051
+ var PatternConfigSchema = z.custom(
1052
+ (value) => value === null || typeof value === "object" && value !== null && !Array.isArray(value),
1053
+ { message: "Expected a pattern config object or null" }
1054
+ );
1055
+ var ResolvedPatternPropsSchema = z.custom(
1056
+ (value) => typeof value === "object" && value !== null && !Array.isArray(value),
1057
+ { message: "Expected a resolved pattern props object" }
1058
+ );
993
1059
 
994
1060
  // src/types/state-machine.ts
995
1061
  var StateSchema = z.object({
@@ -1442,6 +1508,8 @@ var TraitSchema = z.object({
1442
1508
  ticks: z.array(TraitTickSchema).optional(),
1443
1509
  emits: z.array(TraitEventContractSchema).optional(),
1444
1510
  listens: z.array(TraitEventListenerSchema).optional(),
1511
+ /** Call-site rename map (`events { ACTION: CONFIRM_VOID }`) — mirrors `Trait.events`. */
1512
+ events: z.record(z.string().min(1), z.string().min(1)).optional(),
1445
1513
  ui: TraitUIBindingSchema.optional(),
1446
1514
  config: DeclaredTraitConfigSchema.optional(),
1447
1515
  sourceBehavior: SourceBehaviorMetadataSchema.optional(),
@@ -1791,40 +1859,44 @@ var GeometryTokensSchema = z.object({
1791
1859
  borderStandard: z.string().optional(),
1792
1860
  borderHeavy: z.string().optional()
1793
1861
  });
1794
- var ColorTokensSchema = z.object({
1795
- primary: z.string().optional(),
1796
- primaryHover: z.string().optional(),
1797
- primaryForeground: z.string().optional(),
1798
- secondary: z.string().optional(),
1799
- secondaryHover: z.string().optional(),
1800
- secondaryForeground: z.string().optional(),
1801
- accent: z.string().optional(),
1802
- accentForeground: z.string().optional(),
1803
- muted: z.string().optional(),
1804
- mutedForeground: z.string().optional(),
1805
- background: z.string().optional(),
1806
- foreground: z.string().optional(),
1807
- card: z.string().optional(),
1808
- cardForeground: z.string().optional(),
1809
- surface: z.string().optional(),
1810
- border: z.string().optional(),
1811
- input: z.string().optional(),
1812
- ring: z.string().optional(),
1813
- error: z.string().optional(),
1814
- errorForeground: z.string().optional(),
1815
- success: z.string().optional(),
1816
- successForeground: z.string().optional(),
1817
- warning: z.string().optional(),
1818
- warningForeground: z.string().optional(),
1819
- info: z.string().optional(),
1820
- infoForeground: z.string().optional(),
1821
- tableHeader: z.string().optional(),
1822
- tableBorder: z.string().optional(),
1823
- tableRowHover: z.string().optional(),
1824
- surfaceHover: z.string().optional(),
1825
- borderHover: z.string().optional(),
1826
- placeholder: z.string().optional()
1827
- });
1862
+ var COLOR_TOKEN_KEY_LIST = [
1863
+ "primary",
1864
+ "primaryHover",
1865
+ "primaryForeground",
1866
+ "secondary",
1867
+ "secondaryHover",
1868
+ "secondaryForeground",
1869
+ "accent",
1870
+ "accentForeground",
1871
+ "muted",
1872
+ "mutedForeground",
1873
+ "background",
1874
+ "foreground",
1875
+ "card",
1876
+ "cardForeground",
1877
+ "surface",
1878
+ "border",
1879
+ "input",
1880
+ "ring",
1881
+ "error",
1882
+ "errorForeground",
1883
+ "success",
1884
+ "successForeground",
1885
+ "warning",
1886
+ "warningForeground",
1887
+ "info",
1888
+ "infoForeground",
1889
+ "tableHeader",
1890
+ "tableBorder",
1891
+ "tableRowHover",
1892
+ "surfaceHover",
1893
+ "borderHover",
1894
+ "placeholder"
1895
+ ];
1896
+ var COLOR_TOKEN_KEYS = COLOR_TOKEN_KEY_LIST;
1897
+ var ColorTokensSchema = z.object(
1898
+ Object.fromEntries(COLOR_TOKEN_KEYS.map((key) => [key, z.string().optional()]))
1899
+ );
1828
1900
  var IllustrationStyleSchema = z.enum([
1829
1901
  "minimal",
1830
1902
  "illustrated",
@@ -1832,6 +1904,14 @@ var IllustrationStyleSchema = z.enum([
1832
1904
  "text-only",
1833
1905
  "mascot"
1834
1906
  ]);
1907
+ var ILLUSTRATION_TOKEN_KEY_LIST = [
1908
+ "style",
1909
+ "emptyAsset",
1910
+ "loadingAsset",
1911
+ "errorAsset",
1912
+ "onboardingAsset"
1913
+ ];
1914
+ var ILLUSTRATION_TOKEN_KEYS = ILLUSTRATION_TOKEN_KEY_LIST;
1835
1915
  var IllustrationTokensSchema = z.object({
1836
1916
  style: IllustrationStyleSchema.optional(),
1837
1917
  emptyAsset: z.string().optional(),
@@ -2436,13 +2516,20 @@ function isTraitFieldRef(value) {
2436
2516
  return typeof value === "string" && TRAIT_REF_PATTERN.test(value);
2437
2517
  }
2438
2518
  var TraitFieldRefSchema = z.string().regex(TRAIT_REF_PATTERN, "expected `@trait.<TraitName>` reference");
2439
-
2440
- // src/types/user.ts
2441
2519
  var ANONYMOUS_USER = {
2442
2520
  id: "anonymous",
2443
2521
  role: "anonymous",
2444
2522
  permissions: []
2445
2523
  };
2524
+ var RawUserClaimsSchema = z.object({
2525
+ id: z.string().optional(),
2526
+ uid: z.string().optional(),
2527
+ email: z.string().nullable().optional(),
2528
+ name: z.string().optional(),
2529
+ displayName: z.string().nullable().optional(),
2530
+ role: z.string().optional(),
2531
+ permissions: z.array(z.string()).optional()
2532
+ }).catchall(FieldValueSchema.optional());
2446
2533
  var DERIVED_CLAIM_KEYS = ["id", "name", "displayName", "email"];
2447
2534
  function normalizeUserContext(claims) {
2448
2535
  if (!claims) return void 0;
@@ -2973,6 +3060,114 @@ function isResolvedIR(ir) {
2973
3060
  const r = ir;
2974
3061
  return typeof r.appName === "string" && r.traits instanceof Map && r.pages instanceof Map;
2975
3062
  }
3063
+ var ServerBatchSummarySchema = z.object({
3064
+ operations: z.array(EntityRowSchema),
3065
+ completedCount: z.number(),
3066
+ totalCount: z.number()
3067
+ });
3068
+ var ServerEffectResultSchema = z.object({
3069
+ effect: z.union([z.enum(SERVER_REPORTED_EFFECTS), z.literal("substrate")]),
3070
+ action: z.string().optional(),
3071
+ entityType: z.string().optional(),
3072
+ name: z.custom((v) => typeof v === "string" && /^[^/]+\/.+$/.test(v)).optional(),
3073
+ data: z.union([EntityRowSchema, ServerBatchSummarySchema, EventPayloadValueSchema]).optional(),
3074
+ success: z.boolean(),
3075
+ denied: z.literal(true).optional(),
3076
+ error: z.string().optional(),
3077
+ code: z.enum(["not-found", "no-row-key"]).optional()
3078
+ });
3079
+
3080
+ // src/types/bus.ts
3081
+ var BusEventSourceSchema = z.object({
3082
+ orbital: z.string().optional(),
3083
+ orbitalId: OrbitalIdSchema.optional(),
3084
+ trait: z.string().optional(),
3085
+ traitId: TraitIdSchema.optional(),
3086
+ eventId: EventIdSchema.optional(),
3087
+ transition: z.string().optional(),
3088
+ tick: z.string().optional(),
3089
+ fromBridge: z.boolean().optional(),
3090
+ dispatched: z.boolean().optional(),
3091
+ originClientId: z.string().optional()
3092
+ });
3093
+ var EmittedEventSchema = z.object({
3094
+ event: z.string(),
3095
+ payload: EventPayloadSchema.optional(),
3096
+ source: BusEventSourceSchema.optional()
3097
+ });
3098
+ var ClientRenderUITupleSchema = z.union([
3099
+ z.tuple([z.literal("render-ui"), z.string(), PatternConfigSchema]),
3100
+ z.tuple([z.literal("render-ui"), z.string(), PatternConfigSchema, ResolvedPatternPropsSchema]),
3101
+ z.tuple([
3102
+ z.literal("render-ui"),
3103
+ z.string(),
3104
+ PatternConfigSchema,
3105
+ ResolvedPatternPropsSchema.optional(),
3106
+ z.number().optional()
3107
+ ])
3108
+ ]);
3109
+ var ClientNavigateTupleSchema = z.union([
3110
+ z.tuple([z.literal("navigate"), z.string()]),
3111
+ z.tuple([z.literal("navigate"), z.string(), z.record(z.string()).optional()]),
3112
+ z.tuple([
3113
+ z.literal("navigate"),
3114
+ z.string(),
3115
+ z.record(z.string()).optional(),
3116
+ z.object({ crumb: z.string().optional() })
3117
+ ])
3118
+ ]);
3119
+ var ClientNavigateBackTupleSchema = z.tuple([z.literal("navigate-back")]);
3120
+ var ClientEffectTupleSchema = z.union([
3121
+ ClientRenderUITupleSchema,
3122
+ ClientNavigateTupleSchema,
3123
+ ClientNavigateBackTupleSchema
3124
+ ]);
3125
+ var OrbitalEventRequestSchema = z.object({
3126
+ event: z.string(),
3127
+ eventId: EventIdSchema.optional(),
3128
+ payload: EventPayloadSchema.optional(),
3129
+ entityId: z.string().optional(),
3130
+ targetTrait: z.string().optional(),
3131
+ user: RawUserClaimsSchema.optional(),
3132
+ clientId: z.string().optional(),
3133
+ tick: z.string().optional(),
3134
+ sourceTrait: z.string().optional(),
3135
+ traits: z.array(z.object({ trait: z.string(), from: z.string() })).optional(),
3136
+ entityByTrait: z.record(EntityRowSchema).optional(),
3137
+ behavior: z.string().optional()
3138
+ });
3139
+ var OrbitalEventResponseSchema = z.object({
3140
+ success: z.boolean(),
3141
+ transitioned: z.boolean(),
3142
+ states: z.record(z.string()),
3143
+ emittedEvents: z.array(EmittedEventSchema),
3144
+ data: z.record(z.array(EntityRowSchema)).optional(),
3145
+ entityByTrait: z.record(EntityRowSchema).optional(),
3146
+ clientEffects: z.array(ClientEffectTupleSchema).optional(),
3147
+ clientEffectsByTrait: z.array(z.object({ traitName: z.string(), effect: ClientEffectTupleSchema })).optional(),
3148
+ effectResults: z.array(ServerEffectResultSchema).optional(),
3149
+ guardFailed: z.string().optional(),
3150
+ rejections: z.array(
3151
+ z.object({
3152
+ code: z.enum(["no-matching-transition", "guard-rejected", "no-dispatchable-traits"]),
3153
+ trait: z.string().optional(),
3154
+ from: z.string().optional(),
3155
+ event: z.string().optional(),
3156
+ statesDeclaringEvent: z.array(z.string()).optional(),
3157
+ transition: z.string().optional(),
3158
+ guard: z.unknown().optional()
3159
+ })
3160
+ ).optional(),
3161
+ error: z.string().optional()
3162
+ });
3163
+ var LiveBroadcastItemSchema = z.object({
3164
+ event: z.string(),
3165
+ payload: EventPayloadSchema.optional(),
3166
+ source: BusEventSourceSchema,
3167
+ originClientId: z.string().optional()
3168
+ });
3169
+ var EventDispatchRequestSchema = OrbitalEventRequestSchema;
3170
+ var EventDispatchResponseSchema = OrbitalEventResponseSchema;
2976
3171
 
2977
3172
  // src/types/validation.ts
2978
3173
  var KNOWN_VALIDATION_ERROR_CODES = {
@@ -3180,6 +3375,6 @@ function widenTier(tier) {
3180
3375
  return tier;
3181
3376
  }
3182
3377
 
3183
- export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, AudioManifestSchema, 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_UNIT_ANIMATION_ROWS, 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, FieldValueSchema, FileValueSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, MANIFEST_ASSET_LICENSES, MANIFEST_CANVAS_AFFINITIES, MANIFEST_ENTRY_KINDS, MANIFEST_SOURCE_CATALOGS, ManifestAssetLicenseSchema, ManifestCanvasAffinitySchema, ManifestEntryKindSchema, ManifestEntrySchema, ManifestFrameSpecSchema, ManifestSourceCatalogSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalRefObjectSchema, OrbitalRefStringSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, PayloadTypeWhenSchema, 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, SPRITE_SHEET_LAYOUT, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SoundEntrySchema, 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, defaultUnitAtlas, deref, deriveCollection, deriveId, despawn, doEffects, emit, encodeDevIdentityToken, expectedEntityName, 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, isFileValue, 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, manifestToAssetCatalog, maskSecretConfigValues, matchAssetQuery, mintId, navigate, navigateBack, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, overrideDeclaredKnobs, parseAssetKey, parseAssetQuery, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, ref, renderUI, resolveConfigRefEventName, resolveDefaultViewer, resolvePersonaSpec, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
3378
+ export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, AudioManifestSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, BusEventSourceSchema, CAMERA_MODES, COLOR_TOKEN_KEYS, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ClientEffectTupleSchema, ClientNavigateBackTupleSchema, ClientNavigateTupleSchema, ClientRenderUITupleSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEFAULT_UNIT_ANIMATION_ROWS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EmittedEventSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntityRowSchema, EntitySchema, EntitySemanticRoleSchema, EventDispatchRequestSchema, EventDispatchResponseSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventPayloadSchema, EventPayloadValueSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpectDeclarationSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, FieldValueSchema, FileValueSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, ILLUSTRATION_TOKEN_KEYS, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, LiveBroadcastItemSchema, MANIFEST_ASSET_LICENSES, MANIFEST_CANVAS_AFFINITIES, MANIFEST_ENTRY_KINDS, MANIFEST_SOURCE_CATALOGS, ManifestAssetLicenseSchema, ManifestCanvasAffinitySchema, ManifestEntryKindSchema, ManifestEntrySchema, ManifestFrameSpecSchema, ManifestSourceCatalogSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalEventRequestSchema, OrbitalEventResponseSchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalRefObjectSchema, OrbitalRefStringSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternConfigSchema, PatternTypeSchema, PayloadFieldSchema, PayloadTypeWhenSchema, REFERENCE_CONFIG_TYPES, RENDER_BINDING_MARKER, RawUserClaimsSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedPatternPropsSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVER_REPORTED_EFFECTS, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, SExprSchema, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, SPRITE_SHEET_LAYOUT, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServerBatchSummarySchema, ServerEffectResultSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SoundEntrySchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TYPE_POSITION_ONLY, 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, defaultUnitAtlas, deref, deriveCollection, deriveId, despawn, doEffects, emit, encodeDevIdentityToken, expectedEntityName, 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, isFileValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPersistBatchOperation, 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, manifestToAssetCatalog, maskSecretConfigValues, matchAssetQuery, mintId, navigate, navigateBack, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, overrideDeclaredKnobs, parseAssetKey, parseAssetQuery, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, ref, renderUI, resolveConfigRefEventName, resolveDefaultViewer, resolvePersonaSpec, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
3184
3379
  //# sourceMappingURL=index.js.map
3185
3380
  //# sourceMappingURL=index.js.map