@almadar/core 10.31.0 → 10.32.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
@@ -1988,7 +1988,7 @@ function getInteractionModelForDomain(domain) {
1988
1988
  // src/patterns/patterns-registry.json
1989
1989
  var patterns_registry_default = {
1990
1990
  version: "1.0.0",
1991
- exportedAt: "2026-07-21T09:54:57.379Z",
1991
+ exportedAt: "2026-07-23T14:32:35.644Z",
1992
1992
  patterns: {
1993
1993
  "entity-table": {
1994
1994
  type: "entity-table",
@@ -5487,7 +5487,8 @@ var patterns_registry_default = {
5487
5487
  types: [
5488
5488
  "string"
5489
5489
  ],
5490
- description: "Event name to dispatch on search (schema metadata, wired by trait) This is metadata used by the trait generator, not by the component."
5490
+ description: "Declarative search event \u2014 emits UI:{event} via eventBus on query submit (alongside canonical UI:SEARCH)",
5491
+ kind: "event"
5491
5492
  },
5492
5493
  entity: {
5493
5494
  types: [
@@ -5646,6 +5647,20 @@ var patterns_registry_default = {
5646
5647
  "inline-column-header"
5647
5648
  ],
5648
5649
  default: "toolbar"
5650
+ },
5651
+ event: {
5652
+ types: [
5653
+ "string"
5654
+ ],
5655
+ description: "Declarative filter event \u2014 emits UI:{event} via eventBus on filter change (alongside canonical UI:FILTER)",
5656
+ kind: "event"
5657
+ },
5658
+ clearEvent: {
5659
+ types: [
5660
+ "string"
5661
+ ],
5662
+ description: "Declarative clear event \u2014 emits UI:{clearEvent} via eventBus on clear-all (alongside canonical UI:CLEAR_FILTERS)",
5663
+ kind: "event"
5649
5664
  }
5650
5665
  }
5651
5666
  },
@@ -7709,9 +7724,9 @@ var patterns_registry_default = {
7709
7724
  },
7710
7725
  title: {
7711
7726
  types: [
7712
- "string"
7727
+ "node"
7713
7728
  ],
7714
- description: "Drawer title"
7729
+ description: "Drawer title (text or any node, e.g. a brand logo + name)."
7715
7730
  },
7716
7731
  children: {
7717
7732
  types: [
@@ -11721,8 +11736,9 @@ var patterns_registry_default = {
11721
11736
  types: [
11722
11737
  "string"
11723
11738
  ],
11724
- description: "Font weight override",
11739
+ description: "Font weight override \u2014 `none` = no override, the variant's baked weight applies",
11725
11740
  enumValues: [
11741
+ "none",
11726
11742
  "light",
11727
11743
  "normal",
11728
11744
  "medium",
@@ -11736,6 +11752,7 @@ var patterns_registry_default = {
11736
11752
  ],
11737
11753
  description: "Font size override",
11738
11754
  enumValues: [
11755
+ "none",
11739
11756
  "xs",
11740
11757
  "sm",
11741
11758
  "md",
@@ -17207,37 +17224,7 @@ var patterns_registry_default = {
17207
17224
  types: [
17208
17225
  "string"
17209
17226
  ],
17210
- description: "Programming language for syntax highlighting",
17211
- enumValues: [
17212
- "text",
17213
- "json",
17214
- "javascript",
17215
- "js",
17216
- "typescript",
17217
- "ts",
17218
- "jsx",
17219
- "tsx",
17220
- "css",
17221
- "markdown",
17222
- "md",
17223
- "bash",
17224
- "shell",
17225
- "sh",
17226
- "yaml",
17227
- "yml",
17228
- "rust",
17229
- "python",
17230
- "py",
17231
- "sql",
17232
- "diff",
17233
- "toml",
17234
- "go",
17235
- "graphql",
17236
- "html",
17237
- "xml",
17238
- "orb",
17239
- "lolo"
17240
- ],
17227
+ description: "Programming language for syntax highlighting (any Prism id; loaded on demand if not pre-registered)",
17241
17228
  default: "text"
17242
17229
  },
17243
17230
  showCopyButton: {
@@ -17438,6 +17425,58 @@ var patterns_registry_default = {
17438
17425
  "graphql",
17439
17426
  "html",
17440
17427
  "xml",
17428
+ "clojure",
17429
+ "clj",
17430
+ "edn",
17431
+ "haskell",
17432
+ "hs",
17433
+ "lisp",
17434
+ "scheme",
17435
+ "scala",
17436
+ "elixir",
17437
+ "ex",
17438
+ "exs",
17439
+ "erlang",
17440
+ "erl",
17441
+ "elm",
17442
+ "fsharp",
17443
+ "fs",
17444
+ "fsx",
17445
+ "ocaml",
17446
+ "ml",
17447
+ "java",
17448
+ "c",
17449
+ "cpp",
17450
+ "c++",
17451
+ "cc",
17452
+ "cxx",
17453
+ "hpp",
17454
+ "h",
17455
+ "csharp",
17456
+ "cs",
17457
+ "objectivec",
17458
+ "objc",
17459
+ "php",
17460
+ "ruby",
17461
+ "rb",
17462
+ "swift",
17463
+ "kotlin",
17464
+ "kt",
17465
+ "lua",
17466
+ "r",
17467
+ "dart",
17468
+ "julia",
17469
+ "fortran",
17470
+ "f90",
17471
+ "f95",
17472
+ "perl",
17473
+ "pl",
17474
+ "powershell",
17475
+ "ps1",
17476
+ "makefile",
17477
+ "make",
17478
+ "nginx",
17479
+ "ini",
17441
17480
  "orb",
17442
17481
  "lolo"
17443
17482
  ]
@@ -19089,6 +19128,11 @@ var patterns_registry_default = {
19089
19128
  "string"
19090
19129
  ]
19091
19130
  },
19131
+ navigatesTo: {
19132
+ types: [
19133
+ "string"
19134
+ ]
19135
+ },
19092
19136
  icon: {
19093
19137
  types: [
19094
19138
  "icon",
@@ -19249,7 +19293,7 @@ var patterns_registry_default = {
19249
19293
  types: [
19250
19294
  "function"
19251
19295
  ],
19252
- description: "Render prop for custom per-card content. When provided, `fields` and `itemActions` are ignored.",
19296
+ description: "Render prop for custom per-card content. When provided, `fields` are ignored; `itemActions` render as a footer beneath the custom content.",
19253
19297
  kind: "callback",
19254
19298
  callbackArgs: [
19255
19299
  {
@@ -36004,22 +36048,6 @@ var patterns_registry_default = {
36004
36048
  items: {
36005
36049
  types: [
36006
36050
  "object"
36007
- ],
36008
- properties: {
36009
- type: {
36010
- types: [
36011
- "unknown"
36012
- ]
36013
- },
36014
- content: {
36015
- types: [
36016
- "string"
36017
- ]
36018
- }
36019
- },
36020
- required: [
36021
- "type",
36022
- "content"
36023
36051
  ]
36024
36052
  }
36025
36053
  },
@@ -36039,34 +36067,7 @@ var patterns_registry_default = {
36039
36067
  types: [
36040
36068
  "object"
36041
36069
  ],
36042
- description: "User progress for restoring activation/reflection state",
36043
- properties: {
36044
- activationResponse: {
36045
- types: [
36046
- "string"
36047
- ]
36048
- },
36049
- reflectionNotes: {
36050
- types: [
36051
- "array"
36052
- ],
36053
- items: {
36054
- types: [
36055
- "string"
36056
- ]
36057
- }
36058
- },
36059
- bloomAnswered: {
36060
- types: [
36061
- "object"
36062
- ],
36063
- mapValue: {
36064
- types: [
36065
- "boolean"
36066
- ]
36067
- }
36068
- }
36069
- }
36070
+ description: "User progress for restoring activation/reflection state"
36070
36071
  },
36071
36072
  onRunCodeSimulation: {
36072
36073
  types: [
@@ -36095,7 +36096,7 @@ var patterns_registry_default = {
36095
36096
  callbackArgs: [
36096
36097
  {
36097
36098
  name: "type",
36098
- type: "string"
36099
+ type: "object"
36099
36100
  },
36100
36101
  {
36101
36102
  name: "description",
@@ -42877,7 +42878,7 @@ var integrators_registry_default = {
42877
42878
  // src/patterns/component-mapping.json
42878
42879
  var component_mapping_default = {
42879
42880
  version: "1.0.0",
42880
- exportedAt: "2026-07-21T09:54:57.379Z",
42881
+ exportedAt: "2026-07-23T14:32:35.644Z",
42881
42882
  mappings: {
42882
42883
  "page-header": {
42883
42884
  component: "PageHeader",
@@ -44242,7 +44243,7 @@ var component_mapping_default = {
44242
44243
  // src/patterns/event-contracts.json
44243
44244
  var event_contracts_default = {
44244
44245
  version: "1.0.0",
44245
- exportedAt: "2026-07-21T09:54:57.379Z",
44246
+ exportedAt: "2026-07-23T14:32:35.644Z",
44246
44247
  contracts: {
44247
44248
  form: {
44248
44249
  emits: [
@@ -45379,6 +45380,19 @@ var event_contracts_default = {
45379
45380
  ],
45380
45381
  requires: [],
45381
45382
  entityAware: false
45383
+ },
45384
+ "data-grid": {
45385
+ emits: [
45386
+ {
45387
+ event: "NAVIGATE",
45388
+ trigger: "action",
45389
+ payload: {
45390
+ type: "object"
45391
+ }
45392
+ }
45393
+ ],
45394
+ requires: [],
45395
+ entityAware: true
45382
45396
  }
45383
45397
  }
45384
45398
  };
@@ -45653,6 +45667,22 @@ function isValidPatternType(type) {
45653
45667
  return PATTERN_TYPES.includes(type);
45654
45668
  }
45655
45669
 
45670
+ // src/patterns/content-grade.ts
45671
+ function isContentBodyPatternType(patternType) {
45672
+ const entry = patterns_registry_default.patterns?.[patternType];
45673
+ if (!entry?.propsSchema) return false;
45674
+ return Object.values(entry.propsSchema).some((def) => def.kind === "entity");
45675
+ }
45676
+ function isContentBodyPattern(pattern) {
45677
+ if (pattern === null) return false;
45678
+ if (typeof pattern === "string") return true;
45679
+ if ("children" in pattern && Array.isArray(pattern.children) && pattern.children.length > 0) return true;
45680
+ return isContentBodyPatternType(pattern.type);
45681
+ }
45682
+ function isMainSlotRenderUi(effect) {
45683
+ return Array.isArray(effect) && effect[0] === "render-ui" && effect[1] === "main";
45684
+ }
45685
+
45656
45686
  // src/patterns/helpers/prompt-helpers.ts
45657
45687
  function getPatternsGroupedByCategory() {
45658
45688
  const patterns = patterns_registry_default.patterns || {};
@@ -46829,6 +46859,65 @@ function collectEmbeddedTraitReferrers(schema) {
46829
46859
  }
46830
46860
  return out;
46831
46861
  }
46862
+ function collectTraitEmbedAdjacency(orbital) {
46863
+ const out = /* @__PURE__ */ new Map();
46864
+ const traits = orbital.traits;
46865
+ if (!Array.isArray(traits)) return out;
46866
+ for (const traitRef of traits) {
46867
+ const target = targetTraitOf(traitRef);
46868
+ if (!target) continue;
46869
+ const referrerName = target.name;
46870
+ if (typeof referrerName !== "string" || referrerName.length === 0) continue;
46871
+ const refs = /* @__PURE__ */ new Set();
46872
+ if (target.config) collectTraitRefsFromValue(target.config, refs);
46873
+ const stateMachine = target.stateMachine;
46874
+ if (stateMachine) collectTraitRefsFromValue(stateMachine, refs);
46875
+ refs.delete(referrerName);
46876
+ if (refs.size > 0) out.set(referrerName, refs);
46877
+ }
46878
+ return out;
46879
+ }
46880
+ function collectTraitConfigRefAdjacency(orbital) {
46881
+ const out = /* @__PURE__ */ new Map();
46882
+ const traits = orbital.traits;
46883
+ if (!Array.isArray(traits)) return out;
46884
+ for (const traitRef of traits) {
46885
+ const target = targetTraitOf(traitRef);
46886
+ if (!target) continue;
46887
+ const referrerName = target.name;
46888
+ if (typeof referrerName !== "string" || referrerName.length === 0) continue;
46889
+ if (!target.config) continue;
46890
+ const refs = /* @__PURE__ */ new Set();
46891
+ collectTraitRefsFromValue(target.config, refs);
46892
+ refs.delete(referrerName);
46893
+ if (refs.size > 0) out.set(referrerName, refs);
46894
+ }
46895
+ return out;
46896
+ }
46897
+ function resolveForwardsDeep(value, referrerConfig, consumed) {
46898
+ if (typeof value === "string") {
46899
+ const match = CONFIG_FORWARD_RE.exec(value);
46900
+ if (match) {
46901
+ const forwarded = referrerConfig?.[match[1]];
46902
+ if (forwarded !== void 0) {
46903
+ consumed?.set(match[1], forwarded);
46904
+ return forwarded;
46905
+ }
46906
+ }
46907
+ return value;
46908
+ }
46909
+ if (Array.isArray(value)) {
46910
+ return value.map((item) => resolveForwardsDeep(item, referrerConfig, consumed));
46911
+ }
46912
+ if (value !== null && typeof value === "object") {
46913
+ const out = {};
46914
+ for (const [k, v] of Object.entries(value)) {
46915
+ out[k] = resolveForwardsDeep(v, referrerConfig, consumed);
46916
+ }
46917
+ return out;
46918
+ }
46919
+ return value;
46920
+ }
46832
46921
  function buildResolvedTraitConfigs(schema) {
46833
46922
  const rawByName = {};
46834
46923
  if (!schema?.orbitals) return {};
@@ -46859,12 +46948,14 @@ function buildResolvedTraitConfigs(schema) {
46859
46948
  const referrer = referrerByChild.get(name);
46860
46949
  if (referrer && referrer !== name) {
46861
46950
  const referrerConfig = resolveConfig(referrer);
46951
+ const consumed = /* @__PURE__ */ new Map();
46862
46952
  for (const [key, value] of Object.entries(out)) {
46863
- if (typeof value !== "string") continue;
46864
- const match = CONFIG_FORWARD_RE.exec(value);
46865
- if (!match) continue;
46866
- const forwarded = referrerConfig?.[match[1]];
46867
- if (forwarded !== void 0) out[key] = forwarded;
46953
+ out[key] = resolveForwardsDeep(value, referrerConfig, consumed);
46954
+ }
46955
+ for (const [key, value] of consumed) {
46956
+ if (!(key in out)) {
46957
+ out[key] = value;
46958
+ }
46868
46959
  }
46869
46960
  }
46870
46961
  resolving.delete(name);
@@ -48684,6 +48775,29 @@ function extractPayloadFieldRef(ref2) {
48684
48775
  const match = ref2.match(/^@payload\.([A-Za-z0-9_]+)/);
48685
48776
  return match ? match[1] : null;
48686
48777
  }
48778
+ function extractPayloadFieldPath(ref2) {
48779
+ if (typeof ref2 !== "string") return null;
48780
+ const match = ref2.match(/^@payload\.([A-Za-z0-9_]+(?:\.[A-Za-z0-9_]+)*)/);
48781
+ return match ? match[1].split(".") : null;
48782
+ }
48783
+ function nestedPayload(path, leaf) {
48784
+ let value = leaf;
48785
+ for (let i = path.length - 1; i >= 1; i--) {
48786
+ value = { [path[i]]: value };
48787
+ }
48788
+ return { [path[0]]: value };
48789
+ }
48790
+ function isPayloadObject(v) {
48791
+ return typeof v === "object" && v !== null && !Array.isArray(v) && !(v instanceof Date);
48792
+ }
48793
+ function mergePayloads(a, b) {
48794
+ const out = { ...a };
48795
+ for (const [k, v] of Object.entries(b)) {
48796
+ const prev = out[k];
48797
+ out[k] = prev !== void 0 && isPayloadObject(prev) && v !== void 0 && isPayloadObject(v) ? mergePayloads(prev, v) : v;
48798
+ }
48799
+ return out;
48800
+ }
48687
48801
  function constTruth(guard) {
48688
48802
  if (typeof guard === "boolean") return guard;
48689
48803
  if (typeof guard === "string") {
@@ -48722,62 +48836,64 @@ function buildGuardPayloads(guard) {
48722
48836
  return { pass: {}, fail: {} };
48723
48837
  }
48724
48838
  if (typeof guard === "string") {
48725
- const field = extractPayloadFieldRef(guard);
48726
- if (field) return { pass: { [field]: { id: "mock-test-id", name: "mock-test-name" } }, fail: { [field]: null } };
48839
+ const path = extractPayloadFieldPath(guard);
48840
+ if (path) {
48841
+ return path.length === 1 ? { pass: { [path[0]]: { id: "mock-test-id", name: "mock-test-name" } }, fail: { [path[0]]: null } } : { pass: nestedPayload(path, "mock-test-value"), fail: nestedPayload(path, null) };
48842
+ }
48727
48843
  }
48728
48844
  if (!Array.isArray(guard) || guard.length === 0) {
48729
48845
  return { pass: {}, fail: {} };
48730
48846
  }
48731
48847
  const op = String(guard[0]);
48732
48848
  if (op === "not-nil" || op === "not_nil") {
48733
- const field = extractPayloadFieldRef(guard[1]);
48734
- if (field) return { pass: { [field]: "mock-test-value" }, fail: { [field]: null } };
48849
+ const path = extractPayloadFieldPath(guard[1]);
48850
+ if (path) return { pass: nestedPayload(path, "mock-test-value"), fail: nestedPayload(path, null) };
48735
48851
  }
48736
48852
  if (op === "nil") {
48737
- const field = extractPayloadFieldRef(guard[1]);
48738
- if (field) return { pass: {}, fail: { [field]: "mock-test-value" } };
48853
+ const path = extractPayloadFieldPath(guard[1]);
48854
+ if (path) return { pass: {}, fail: nestedPayload(path, "mock-test-value") };
48739
48855
  }
48740
48856
  if (op === "eq" || op === "==" || op === "=") {
48741
- const field = extractPayloadFieldRef(guard[1]);
48857
+ const path = extractPayloadFieldPath(guard[1]);
48742
48858
  const val = guard[2];
48743
- if (field && val !== void 0) {
48859
+ if (path && val !== void 0) {
48744
48860
  const failVal = typeof val === "number" ? val + 1 : typeof val === "string" ? `not-${val}` : null;
48745
- return { pass: { [field]: val }, fail: { [field]: failVal } };
48861
+ return { pass: nestedPayload(path, val), fail: nestedPayload(path, failVal) };
48746
48862
  }
48747
48863
  }
48748
48864
  if (op === "not-eq" || op === "!=" || op === "neq") {
48749
- const field = extractPayloadFieldRef(guard[1]);
48865
+ const path = extractPayloadFieldPath(guard[1]);
48750
48866
  const val = guard[2];
48751
- if (field && val !== void 0) {
48867
+ if (path && val !== void 0) {
48752
48868
  const passVal = typeof val === "number" ? val + 1 : typeof val === "string" ? `not-${val}` : "other";
48753
- return { pass: { [field]: passVal }, fail: { [field]: val } };
48869
+ return { pass: nestedPayload(path, passVal), fail: nestedPayload(path, val) };
48754
48870
  }
48755
48871
  }
48756
48872
  if (op === "gt" || op === ">") {
48757
- const field = extractPayloadFieldRef(guard[1]);
48873
+ const path = extractPayloadFieldPath(guard[1]);
48758
48874
  const n = typeof guard[2] === "number" ? guard[2] : 0;
48759
- if (field) return { pass: { [field]: n + 1 }, fail: { [field]: n - 1 } };
48875
+ if (path) return { pass: nestedPayload(path, n + 1), fail: nestedPayload(path, n - 1) };
48760
48876
  }
48761
48877
  if (op === "gte" || op === ">=") {
48762
- const field = extractPayloadFieldRef(guard[1]);
48878
+ const path = extractPayloadFieldPath(guard[1]);
48763
48879
  const n = typeof guard[2] === "number" ? guard[2] : 0;
48764
- if (field) return { pass: { [field]: n }, fail: { [field]: n - 1 } };
48880
+ if (path) return { pass: nestedPayload(path, n), fail: nestedPayload(path, n - 1) };
48765
48881
  }
48766
48882
  if (op === "lt" || op === "<") {
48767
- const field = extractPayloadFieldRef(guard[1]);
48883
+ const path = extractPayloadFieldPath(guard[1]);
48768
48884
  const n = typeof guard[2] === "number" ? guard[2] : 0;
48769
- if (field) return { pass: { [field]: n - 1 }, fail: { [field]: n + 1 } };
48885
+ if (path) return { pass: nestedPayload(path, n - 1), fail: nestedPayload(path, n + 1) };
48770
48886
  }
48771
48887
  if (op === "lte" || op === "<=") {
48772
- const field = extractPayloadFieldRef(guard[1]);
48888
+ const path = extractPayloadFieldPath(guard[1]);
48773
48889
  const n = typeof guard[2] === "number" ? guard[2] : 0;
48774
- if (field) return { pass: { [field]: n }, fail: { [field]: n + 1 } };
48890
+ if (path) return { pass: nestedPayload(path, n), fail: nestedPayload(path, n + 1) };
48775
48891
  }
48776
48892
  if (op === "and") {
48777
48893
  const subs = guard.slice(1);
48778
48894
  if (subs.length >= 2) {
48779
48895
  const built = subs.map(buildGuardPayloads);
48780
- const pass = built.reduce((acc, b) => ({ ...acc, ...b.pass }), {});
48896
+ const pass = built.reduce((acc, b) => mergePayloads(acc, b.pass), {});
48781
48897
  return { pass, fail: built[0].fail };
48782
48898
  }
48783
48899
  if (subs.length === 1) return buildGuardPayloads(subs[0]);
@@ -48788,7 +48904,7 @@ function buildGuardPayloads(guard) {
48788
48904
  const s1 = buildGuardPayloads(subs[0]);
48789
48905
  const s2 = buildGuardPayloads(subs[1]);
48790
48906
  const combinedPass = Object.keys(s1.pass).length > 0 ? s1.pass : s2.pass;
48791
- return { pass: combinedPass, fail: { ...s1.fail, ...s2.fail } };
48907
+ return { pass: combinedPass, fail: mergePayloads(s1.fail, s2.fail) };
48792
48908
  }
48793
48909
  if (subs.length === 1) return buildGuardPayloads(subs[0]);
48794
48910
  }
@@ -49020,6 +49136,6 @@ function mergeEntityFrame(current, orderedWrites) {
49020
49136
  return next;
49021
49137
  }
49022
49138
 
49023
- export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, 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, 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, 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, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, deriveInputType, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, event_contracts_default as eventContracts, extractPayloadFieldRef, findCompatiblePatterns, findService, fingerprintNode, formatRecommendationsForPrompt, 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, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPlanSnapshot, isReferenceConfigType, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mergeEntityFrame, mintId, navigate, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, recommendPatterns, ref, registry, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, toBindingRoot, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, walkSExpr, walkStatePairs, watch, widenTier };
49139
+ export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, 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, 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, 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, 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, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, deriveInputType, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, event_contracts_default as eventContracts, extractPayloadFieldRef, findCompatiblePatterns, findService, fingerprintNode, formatRecommendationsForPrompt, 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, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isValidBinding, isValidPatternType, ledgerCurName, ledgerRename, ledgerResolveName, mergeEntityFrame, mintId, navigate, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, recommendPatterns, ref, registry, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, toBindingRoot, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, walkSExpr, walkStatePairs, watch, widenTier };
49024
49140
  //# sourceMappingURL=index.js.map
49025
49141
  //# sourceMappingURL=index.js.map