@almadar/core 10.36.0 → 10.38.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.
package/dist/index.js CHANGED
@@ -160,13 +160,18 @@ function isJsonArray(value) {
160
160
  }
161
161
 
162
162
  // src/types/field.ts
163
- var FieldTypeSchema = z.enum([
163
+ var FIELD_TYPES = [
164
164
  "string",
165
165
  "number",
166
166
  "boolean",
167
167
  "date",
168
168
  "timestamp",
169
169
  "datetime",
170
+ "email",
171
+ "url",
172
+ "phone",
173
+ "uuid",
174
+ "image",
170
175
  "array",
171
176
  "object",
172
177
  "enum",
@@ -174,7 +179,12 @@ var FieldTypeSchema = z.enum([
174
179
  "trait",
175
180
  "slot",
176
181
  "pattern"
177
- ]);
182
+ ];
183
+ var SEMANTIC_STRING_TYPES = ["email", "url", "phone", "uuid", "image"];
184
+ function isSemanticStringType(type) {
185
+ return SEMANTIC_STRING_TYPES.includes(type);
186
+ }
187
+ var FieldTypeSchema = z.enum(FIELD_TYPES);
178
188
  var RelationCardinalitySchema = z.enum([
179
189
  "one",
180
190
  "many",
@@ -202,17 +212,35 @@ var RelationConfigSchema = z.object({
202
212
  };
203
213
  return normalized;
204
214
  });
205
- var FieldFormatSchema = z.enum([
206
- "email",
207
- "url",
208
- "phone",
209
- "date",
210
- "datetime",
211
- "uuid",
212
- "image",
213
- "avatar",
214
- "thumbnail"
215
- ]);
215
+ var EMAIL_RE = /^[^\s@]+@[^\s@.]+\.[^\s@]+$/;
216
+ var URL_RE = /^https?:\/\/[^\s]+$/;
217
+ var PHONE_RE = /^[+]?[\d\s().-]{7,}$/;
218
+ var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
219
+ function isEmailValue(value) {
220
+ return EMAIL_RE.test(value);
221
+ }
222
+ function isUrlValue(value) {
223
+ return URL_RE.test(value);
224
+ }
225
+ function isPhoneValue(value) {
226
+ return PHONE_RE.test(value);
227
+ }
228
+ function isUuidValue(value) {
229
+ return UUID_RE.test(value);
230
+ }
231
+ function isSemanticStringValue(type, value) {
232
+ switch (type) {
233
+ case "email":
234
+ return isEmailValue(value);
235
+ case "url":
236
+ case "image":
237
+ return isUrlValue(value);
238
+ case "phone":
239
+ return isPhoneValue(value);
240
+ case "uuid":
241
+ return isUuidValue(value);
242
+ }
243
+ }
216
244
  var FIELD_TYPE_ALIASES = {
217
245
  text: "string",
218
246
  int: "number",
@@ -224,7 +252,6 @@ var EntityFieldSchema = z.lazy(() => {
224
252
  name: z.string().min(1, "Field name is required").optional(),
225
253
  required: z.boolean().optional(),
226
254
  default: JsonValueSchema.optional(),
227
- format: FieldFormatSchema.optional(),
228
255
  min: z.number().optional(),
229
256
  max: z.number().optional(),
230
257
  properties: z.record(EntityFieldSchema).optional(),
@@ -261,6 +288,11 @@ var EntityFieldSchema = z.lazy(() => {
261
288
  scalarVariant("date"),
262
289
  scalarVariant("timestamp"),
263
290
  scalarVariant("datetime"),
291
+ scalarVariant("email"),
292
+ scalarVariant("url"),
293
+ scalarVariant("phone"),
294
+ scalarVariant("uuid"),
295
+ scalarVariant("image"),
264
296
  scalarVariant("trait"),
265
297
  scalarVariant("slot"),
266
298
  scalarVariant("pattern"),
@@ -760,6 +792,10 @@ var REFERENCE_CONFIG_TYPES = ["entity", "trait", "event"];
760
792
  function isReferenceConfigType(type) {
761
793
  return REFERENCE_CONFIG_TYPES.includes(type);
762
794
  }
795
+ var SECRET_CONFIG_TYPES = ["secret"];
796
+ function isSecretConfigType(type) {
797
+ return SECRET_CONFIG_TYPES.includes(type);
798
+ }
763
799
  var ConfigFieldItemsDeclarationSchema = z.lazy(
764
800
  () => z.object({
765
801
  type: z.string().optional(),
@@ -811,7 +847,12 @@ var TraitEntityFieldSchema = z.object({
811
847
  "object",
812
848
  "timestamp",
813
849
  "datetime",
814
- "enum"
850
+ "enum",
851
+ "email",
852
+ "url",
853
+ "phone",
854
+ "uuid",
855
+ "image"
815
856
  ]),
816
857
  required: z.boolean().optional(),
817
858
  default: TraitConfigValueSchema.optional(),
@@ -829,11 +870,20 @@ var TraitDataEntitySchema = z.object({
829
870
  singleton: z.boolean().optional(),
830
871
  pages: z.array(z.string()).optional()
831
872
  });
873
+ var DURATION_INTERVAL = /^\d+(ms|s|m|h|d)$/;
874
+ var CRON_INTERVAL = /^\S+(\s+\S+){4}$/;
875
+ var TickIntervalSchema = z.union([
876
+ z.literal("frame"),
877
+ z.number().positive(),
878
+ z.string().refine((v) => DURATION_INTERVAL.test(v) || CRON_INTERVAL.test(v), {
879
+ message: 'interval must be "frame", a positive number of milliseconds, a duration ("500ms"/"5s"/"1m"/"1h"/"1d"), or a 5-field cron expression ("0 9 * * *")'
880
+ })
881
+ ]);
832
882
  var TraitTickSchema = z.object({
833
883
  name: z.string().min(1),
834
884
  description: z.string().optional(),
835
885
  priority: z.number().optional(),
836
- interval: z.union([z.literal("frame"), z.number().positive()]),
886
+ interval: TickIntervalSchema,
837
887
  appliesTo: z.array(z.string()).optional(),
838
888
  pages: z.array(z.string()).optional(),
839
889
  pageIds: z.array(PageIdSchema).optional(),
@@ -927,7 +977,7 @@ var TraitEventListenerSchema = z.object({
927
977
  });
928
978
  var RequiredFieldSchema = z.object({
929
979
  name: z.string().min(1),
930
- type: z.enum(["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum"]),
980
+ type: z.enum(["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]),
931
981
  description: z.string().optional()
932
982
  });
933
983
  var TraitReferenceSchema = z.object({
@@ -2057,7 +2107,7 @@ function getInteractionModelForDomain(domain) {
2057
2107
  // src/patterns/patterns-registry.json
2058
2108
  var patterns_registry_default = {
2059
2109
  version: "1.0.0",
2060
- exportedAt: "2026-07-25T06:32:53.902Z",
2110
+ exportedAt: "2026-07-26T06:18:13.545Z",
2061
2111
  patterns: {
2062
2112
  "entity-table": {
2063
2113
  type: "entity-table",
@@ -42376,6 +42426,360 @@ var patterns_registry_default = {
42376
42426
  description: "className prop"
42377
42427
  }
42378
42428
  }
42429
+ },
42430
+ "import-preview-tree": {
42431
+ type: "import-preview-tree",
42432
+ category: "component",
42433
+ tier: "molecules",
42434
+ family: "core",
42435
+ description: "ImportPreviewTree component",
42436
+ suggestedFor: [
42437
+ "import",
42438
+ "preview",
42439
+ "tree",
42440
+ "import preview tree"
42441
+ ],
42442
+ typicalSize: "medium",
42443
+ propsSchema: {
42444
+ units: {
42445
+ types: [
42446
+ "array"
42447
+ ],
42448
+ description: "Staged units to preview",
42449
+ required: true,
42450
+ items: {
42451
+ types: [
42452
+ "object"
42453
+ ],
42454
+ properties: {
42455
+ ref: {
42456
+ types: [
42457
+ "string"
42458
+ ]
42459
+ },
42460
+ targetEntity: {
42461
+ types: [
42462
+ "string"
42463
+ ]
42464
+ },
42465
+ fields: {
42466
+ types: [
42467
+ "object"
42468
+ ],
42469
+ mapValue: {
42470
+ types: [
42471
+ "object"
42472
+ ],
42473
+ freeform: true
42474
+ }
42475
+ },
42476
+ parentRef: {
42477
+ types: [
42478
+ "string"
42479
+ ]
42480
+ }
42481
+ },
42482
+ required: [
42483
+ "ref",
42484
+ "targetEntity",
42485
+ "fields"
42486
+ ]
42487
+ }
42488
+ },
42489
+ skipped: {
42490
+ types: [
42491
+ "array"
42492
+ ],
42493
+ description: "Elements skipped during extraction, with reasons",
42494
+ items: {
42495
+ types: [
42496
+ "object"
42497
+ ],
42498
+ properties: {
42499
+ ref: {
42500
+ types: [
42501
+ "string"
42502
+ ]
42503
+ },
42504
+ reason: {
42505
+ types: [
42506
+ "string"
42507
+ ]
42508
+ }
42509
+ },
42510
+ required: [
42511
+ "ref",
42512
+ "reason"
42513
+ ]
42514
+ },
42515
+ default: []
42516
+ },
42517
+ entityDisplay: {
42518
+ types: [
42519
+ "object"
42520
+ ],
42521
+ description: "Entity name \u2192 display labels; falls back to the entity name",
42522
+ required: true,
42523
+ mapValue: {
42524
+ types: [
42525
+ "object"
42526
+ ],
42527
+ properties: {
42528
+ singular: {
42529
+ types: [
42530
+ "string"
42531
+ ]
42532
+ },
42533
+ plural: {
42534
+ types: [
42535
+ "string"
42536
+ ]
42537
+ }
42538
+ },
42539
+ required: [
42540
+ "singular",
42541
+ "plural"
42542
+ ]
42543
+ }
42544
+ },
42545
+ onConfirm: {
42546
+ types: [
42547
+ "function"
42548
+ ],
42549
+ description: "Called when the user confirms the staged import",
42550
+ kind: "callback",
42551
+ callbackArgs: []
42552
+ },
42553
+ onCancel: {
42554
+ types: [
42555
+ "function"
42556
+ ],
42557
+ description: "Called when the user cancels the staged import",
42558
+ kind: "callback",
42559
+ callbackArgs: []
42560
+ },
42561
+ confirmLabel: {
42562
+ types: [
42563
+ "string"
42564
+ ],
42565
+ description: "Confirm button label",
42566
+ default: "Confirm import"
42567
+ },
42568
+ cancelLabel: {
42569
+ types: [
42570
+ "string"
42571
+ ],
42572
+ description: "Cancel button label",
42573
+ default: "Cancel"
42574
+ },
42575
+ indent: {
42576
+ types: [
42577
+ "number"
42578
+ ],
42579
+ description: "Indent per tree depth in px (default: 16)",
42580
+ default: 16
42581
+ },
42582
+ className: {
42583
+ types: [
42584
+ "string"
42585
+ ],
42586
+ description: "Additional CSS classes"
42587
+ }
42588
+ }
42589
+ },
42590
+ "import-progress": {
42591
+ type: "import-progress",
42592
+ category: "component",
42593
+ tier: "molecules",
42594
+ family: "core",
42595
+ description: "ImportProgress component",
42596
+ suggestedFor: [
42597
+ "import",
42598
+ "progress",
42599
+ "import progress"
42600
+ ],
42601
+ typicalSize: "medium",
42602
+ propsSchema: {
42603
+ step: {
42604
+ types: [
42605
+ "string"
42606
+ ],
42607
+ description: "Current lifecycle step",
42608
+ required: true,
42609
+ enumValues: [
42610
+ "fetching",
42611
+ "mapping",
42612
+ "reviewing",
42613
+ "committing",
42614
+ "done",
42615
+ "failed"
42616
+ ]
42617
+ },
42618
+ counts: {
42619
+ types: [
42620
+ "object"
42621
+ ],
42622
+ description: "Unit counts",
42623
+ properties: {
42624
+ staged: {
42625
+ types: [
42626
+ "number"
42627
+ ]
42628
+ },
42629
+ committed: {
42630
+ types: [
42631
+ "number"
42632
+ ]
42633
+ },
42634
+ failed: {
42635
+ types: [
42636
+ "number"
42637
+ ]
42638
+ }
42639
+ }
42640
+ },
42641
+ labels: {
42642
+ types: [
42643
+ "object"
42644
+ ],
42645
+ description: "Step label overrides",
42646
+ mapValue: {
42647
+ types: [
42648
+ "string"
42649
+ ]
42650
+ }
42651
+ },
42652
+ className: {
42653
+ types: [
42654
+ "string"
42655
+ ],
42656
+ description: "Additional CSS classes"
42657
+ }
42658
+ }
42659
+ },
42660
+ "import-source-picker": {
42661
+ type: "import-source-picker",
42662
+ category: "component",
42663
+ tier: "molecules",
42664
+ family: "core",
42665
+ description: "ImportSourcePicker component",
42666
+ suggestedFor: [
42667
+ "import",
42668
+ "source",
42669
+ "picker",
42670
+ "import source picker"
42671
+ ],
42672
+ typicalSize: "medium",
42673
+ propsSchema: {
42674
+ sources: {
42675
+ types: [
42676
+ "array"
42677
+ ],
42678
+ description: "Source options to render",
42679
+ required: true,
42680
+ items: {
42681
+ types: [
42682
+ "object"
42683
+ ],
42684
+ properties: {
42685
+ id: {
42686
+ types: [
42687
+ "string"
42688
+ ]
42689
+ },
42690
+ label: {
42691
+ types: [
42692
+ "string"
42693
+ ]
42694
+ },
42695
+ description: {
42696
+ types: [
42697
+ "string"
42698
+ ]
42699
+ },
42700
+ icon: {
42701
+ types: [
42702
+ "icon",
42703
+ "string"
42704
+ ]
42705
+ },
42706
+ kind: {
42707
+ types: [
42708
+ "string"
42709
+ ],
42710
+ enumValues: [
42711
+ "action",
42712
+ "file"
42713
+ ]
42714
+ },
42715
+ accept: {
42716
+ types: [
42717
+ "string"
42718
+ ]
42719
+ },
42720
+ multiple: {
42721
+ types: [
42722
+ "boolean"
42723
+ ]
42724
+ },
42725
+ disabled: {
42726
+ types: [
42727
+ "boolean"
42728
+ ]
42729
+ }
42730
+ },
42731
+ required: [
42732
+ "id",
42733
+ "label"
42734
+ ]
42735
+ }
42736
+ },
42737
+ onSelect: {
42738
+ types: [
42739
+ "function"
42740
+ ],
42741
+ description: "Called with the source id when an 'action' option is picked",
42742
+ kind: "callback",
42743
+ callbackArgs: [
42744
+ {
42745
+ name: "sourceId",
42746
+ type: "string"
42747
+ }
42748
+ ]
42749
+ },
42750
+ onFilesSelected: {
42751
+ types: [
42752
+ "function"
42753
+ ],
42754
+ description: "Called with the chosen files when a 'file' option resolves",
42755
+ kind: "callback",
42756
+ callbackArgs: [
42757
+ {
42758
+ name: "files",
42759
+ type: "array"
42760
+ }
42761
+ ],
42762
+ nonEmittable: true
42763
+ },
42764
+ title: {
42765
+ types: [
42766
+ "string"
42767
+ ],
42768
+ description: "Optional heading above the options"
42769
+ },
42770
+ moreSources: {
42771
+ types: [
42772
+ "node"
42773
+ ],
42774
+ description: "Generic slot for additional sources rendered below the options"
42775
+ },
42776
+ className: {
42777
+ types: [
42778
+ "string"
42779
+ ],
42780
+ description: "Additional CSS classes"
42781
+ }
42782
+ }
42379
42783
  }
42380
42784
  },
42381
42785
  categories: [
@@ -43025,15 +43429,35 @@ var integrators_registry_default = {
43025
43429
  }
43026
43430
  }
43027
43431
  ]
43432
+ },
43433
+ database: {
43434
+ name: "database",
43435
+ description: "Generic SQL database integration - read-only queries over external connections",
43436
+ category: "infrastructure",
43437
+ actions: [
43438
+ {
43439
+ name: "query",
43440
+ description: "Run a single read-only SELECT against a connection referenced by env var name",
43441
+ params: [
43442
+ { name: "connectionRef", type: "string", required: true, description: "Name of the environment variable holding the connection string (never the secret itself)" },
43443
+ { name: "sql", type: "string", required: true, description: "Single SELECT statement (read-only enforced)" },
43444
+ { name: "params", type: "array", required: false, description: "Bind parameters for the query" }
43445
+ ],
43446
+ responseShape: {
43447
+ rows: "array",
43448
+ rowCount: "number"
43449
+ }
43450
+ }
43451
+ ]
43028
43452
  }
43029
43453
  },
43030
- categories: ["media", "payment", "messaging", "ai", "devtools"]
43454
+ categories: ["media", "payment", "messaging", "ai", "devtools", "infrastructure"]
43031
43455
  };
43032
43456
 
43033
43457
  // src/patterns/component-mapping.json
43034
43458
  var component_mapping_default = {
43035
43459
  version: "1.0.0",
43036
- exportedAt: "2026-07-25T06:32:53.902Z",
43460
+ exportedAt: "2026-07-26T06:18:13.545Z",
43037
43461
  mappings: {
43038
43462
  "page-header": {
43039
43463
  component: "PageHeader",
@@ -44391,6 +44815,21 @@ var component_mapping_default = {
44391
44815
  component: "PageTransition",
44392
44816
  importPath: "@/components/core/molecules/PageTransition",
44393
44817
  category: "component"
44818
+ },
44819
+ "import-preview-tree": {
44820
+ component: "ImportPreviewTree",
44821
+ importPath: "@/components/core/molecules/ImportPreviewTree",
44822
+ category: "component"
44823
+ },
44824
+ "import-progress": {
44825
+ component: "ImportProgress",
44826
+ importPath: "@/components/core/molecules/ImportProgress",
44827
+ category: "component"
44828
+ },
44829
+ "import-source-picker": {
44830
+ component: "ImportSourcePicker",
44831
+ importPath: "@/components/core/molecules/ImportSourcePicker",
44832
+ category: "component"
44394
44833
  }
44395
44834
  }
44396
44835
  };
@@ -44398,7 +44837,7 @@ var component_mapping_default = {
44398
44837
  // src/patterns/event-contracts.json
44399
44838
  var event_contracts_default = {
44400
44839
  version: "1.0.0",
44401
- exportedAt: "2026-07-25T06:32:53.902Z",
44840
+ exportedAt: "2026-07-26T06:18:13.545Z",
44402
44841
  contracts: {
44403
44842
  form: {
44404
44843
  emits: [
@@ -45677,6 +46116,9 @@ var PATTERN_TYPES = [
45677
46116
  "hero-section",
45678
46117
  "hstack",
45679
46118
  "icon",
46119
+ "import-preview-tree",
46120
+ "import-progress",
46121
+ "import-source-picker",
45680
46122
  "infinite-scroll-sentinel",
45681
46123
  "input",
45682
46124
  "input-group",
@@ -48062,6 +48504,13 @@ function signatureFieldToEntityField(f) {
48062
48504
  case "date":
48063
48505
  case "timestamp":
48064
48506
  case "datetime":
48507
+ // Semantic string domains carry no dependent payload, so they pass through
48508
+ // as-is and the question widget narrows the input accordingly.
48509
+ case "email":
48510
+ case "url":
48511
+ case "phone":
48512
+ case "uuid":
48513
+ case "image":
48065
48514
  return { ...base, type: f.type };
48066
48515
  case "array":
48067
48516
  return { ...base, type: "array" };
@@ -49383,6 +49832,6 @@ function mergeEntityFrame(current, orderedWrites) {
49383
49832
  return next;
49384
49833
  }
49385
49834
 
49386
- 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, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EVENT_CONTRACTS, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, MOCK_PERSONAS, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_REGISTRY, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, event_contracts_default as eventContracts, extractPayloadFieldRef, findCompatiblePatterns, findMockPersona, findService, fingerprintNode, formatRecommendationsForPrompt, gatherTensorLastDim, generatePatternDescription, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getComponentForPattern, getDefaultAnimationsForRole, getEmittedEvents, getEntity, getEntityCardinality, getInteractionModelForDomain, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMainSlotRenderUi, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPlanSnapshot, isReferenceConfigType, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isTensorValue, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mapTensorLastDim, mergeEntityFrame, mintId, navigate, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, recommendPatterns, ref, registry, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
49835
+ 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, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EVENT_CONTRACTS, 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, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, MOCK_PERSONAS, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_REGISTRY, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, 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, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, event_contracts_default as eventContracts, extractPayloadFieldRef, findCompatiblePatterns, findMockPersona, findService, fingerprintNode, formatRecommendationsForPrompt, gatherTensorLastDim, generatePatternDescription, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getComponentForPattern, getDefaultAnimationsForRole, getEmittedEvents, getEntity, getEntityCardinality, getInteractionModelForDomain, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEmailValue, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMainSlotRenderUi, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isTensorValue, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mapTensorLastDim, mergeEntityFrame, mintId, navigate, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, recommendPatterns, ref, registry, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
49387
49836
  //# sourceMappingURL=index.js.map
49388
49837
  //# sourceMappingURL=index.js.map