@almadar/core 10.31.0 → 10.33.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-24T05:10:33.187Z",
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",
@@ -19108,8 +19152,7 @@ var patterns_registry_default = {
19108
19152
  }
19109
19153
  },
19110
19154
  required: [
19111
- "label",
19112
- "event"
19155
+ "label"
19113
19156
  ]
19114
19157
  }
19115
19158
  },
@@ -19249,7 +19292,7 @@ var patterns_registry_default = {
19249
19292
  types: [
19250
19293
  "function"
19251
19294
  ],
19252
- description: "Render prop for custom per-card content. When provided, `fields` and `itemActions` are ignored.",
19295
+ description: "Render prop for custom per-card content. When provided, `fields` are ignored; `itemActions` render as a footer beneath the custom content.",
19253
19296
  kind: "callback",
19254
19297
  callbackArgs: [
19255
19298
  {
@@ -36004,22 +36047,6 @@ var patterns_registry_default = {
36004
36047
  items: {
36005
36048
  types: [
36006
36049
  "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
36050
  ]
36024
36051
  }
36025
36052
  },
@@ -36039,34 +36066,7 @@ var patterns_registry_default = {
36039
36066
  types: [
36040
36067
  "object"
36041
36068
  ],
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
- }
36069
+ description: "User progress for restoring activation/reflection state"
36070
36070
  },
36071
36071
  onRunCodeSimulation: {
36072
36072
  types: [
@@ -36095,7 +36095,7 @@ var patterns_registry_default = {
36095
36095
  callbackArgs: [
36096
36096
  {
36097
36097
  name: "type",
36098
- type: "string"
36098
+ type: "object"
36099
36099
  },
36100
36100
  {
36101
36101
  name: "description",
@@ -42877,7 +42877,7 @@ var integrators_registry_default = {
42877
42877
  // src/patterns/component-mapping.json
42878
42878
  var component_mapping_default = {
42879
42879
  version: "1.0.0",
42880
- exportedAt: "2026-07-21T09:54:57.379Z",
42880
+ exportedAt: "2026-07-24T05:10:33.187Z",
42881
42881
  mappings: {
42882
42882
  "page-header": {
42883
42883
  component: "PageHeader",
@@ -44242,7 +44242,7 @@ var component_mapping_default = {
44242
44242
  // src/patterns/event-contracts.json
44243
44243
  var event_contracts_default = {
44244
44244
  version: "1.0.0",
44245
- exportedAt: "2026-07-21T09:54:57.379Z",
44245
+ exportedAt: "2026-07-24T05:10:33.187Z",
44246
44246
  contracts: {
44247
44247
  form: {
44248
44248
  emits: [
@@ -45379,6 +45379,19 @@ var event_contracts_default = {
45379
45379
  ],
45380
45380
  requires: [],
45381
45381
  entityAware: false
45382
+ },
45383
+ "data-grid": {
45384
+ emits: [
45385
+ {
45386
+ event: "NAVIGATE",
45387
+ trigger: "action",
45388
+ payload: {
45389
+ type: "object"
45390
+ }
45391
+ }
45392
+ ],
45393
+ requires: [],
45394
+ entityAware: true
45382
45395
  }
45383
45396
  }
45384
45397
  };
@@ -45653,6 +45666,22 @@ function isValidPatternType(type) {
45653
45666
  return PATTERN_TYPES.includes(type);
45654
45667
  }
45655
45668
 
45669
+ // src/patterns/content-grade.ts
45670
+ function isContentBodyPatternType(patternType) {
45671
+ const entry = patterns_registry_default.patterns?.[patternType];
45672
+ if (!entry?.propsSchema) return false;
45673
+ return Object.values(entry.propsSchema).some((def) => def.kind === "entity");
45674
+ }
45675
+ function isContentBodyPattern(pattern) {
45676
+ if (pattern === null) return false;
45677
+ if (typeof pattern === "string") return true;
45678
+ if ("children" in pattern && Array.isArray(pattern.children) && pattern.children.length > 0) return true;
45679
+ return isContentBodyPatternType(pattern.type);
45680
+ }
45681
+ function isMainSlotRenderUi(effect) {
45682
+ return Array.isArray(effect) && effect[0] === "render-ui" && effect[1] === "main";
45683
+ }
45684
+
45656
45685
  // src/patterns/helpers/prompt-helpers.ts
45657
45686
  function getPatternsGroupedByCategory() {
45658
45687
  const patterns = patterns_registry_default.patterns || {};
@@ -46660,7 +46689,9 @@ function schemaToIR(schema, useCache = true) {
46660
46689
  listens: (trait.listens || []).map((l) => ({
46661
46690
  event: l.event,
46662
46691
  triggers: l.triggers,
46663
- guard: l.guard
46692
+ guard: l.guard,
46693
+ payloadMapping: l.payloadMapping,
46694
+ source: l.source
46664
46695
  })),
46665
46696
  dataEntities: [],
46666
46697
  linkedEntity: trait.linkedEntity,
@@ -46829,6 +46860,65 @@ function collectEmbeddedTraitReferrers(schema) {
46829
46860
  }
46830
46861
  return out;
46831
46862
  }
46863
+ function collectTraitEmbedAdjacency(orbital) {
46864
+ const out = /* @__PURE__ */ new Map();
46865
+ const traits = orbital.traits;
46866
+ if (!Array.isArray(traits)) return out;
46867
+ for (const traitRef of traits) {
46868
+ const target = targetTraitOf(traitRef);
46869
+ if (!target) continue;
46870
+ const referrerName = target.name;
46871
+ if (typeof referrerName !== "string" || referrerName.length === 0) continue;
46872
+ const refs = /* @__PURE__ */ new Set();
46873
+ if (target.config) collectTraitRefsFromValue(target.config, refs);
46874
+ const stateMachine = target.stateMachine;
46875
+ if (stateMachine) collectTraitRefsFromValue(stateMachine, refs);
46876
+ refs.delete(referrerName);
46877
+ if (refs.size > 0) out.set(referrerName, refs);
46878
+ }
46879
+ return out;
46880
+ }
46881
+ function collectTraitConfigRefAdjacency(orbital) {
46882
+ const out = /* @__PURE__ */ new Map();
46883
+ const traits = orbital.traits;
46884
+ if (!Array.isArray(traits)) return out;
46885
+ for (const traitRef of traits) {
46886
+ const target = targetTraitOf(traitRef);
46887
+ if (!target) continue;
46888
+ const referrerName = target.name;
46889
+ if (typeof referrerName !== "string" || referrerName.length === 0) continue;
46890
+ if (!target.config) continue;
46891
+ const refs = /* @__PURE__ */ new Set();
46892
+ collectTraitRefsFromValue(target.config, refs);
46893
+ refs.delete(referrerName);
46894
+ if (refs.size > 0) out.set(referrerName, refs);
46895
+ }
46896
+ return out;
46897
+ }
46898
+ function resolveForwardsDeep(value, referrerConfig, consumed) {
46899
+ if (typeof value === "string") {
46900
+ const match = CONFIG_FORWARD_RE.exec(value);
46901
+ if (match) {
46902
+ const forwarded = referrerConfig?.[match[1]];
46903
+ if (forwarded !== void 0) {
46904
+ consumed?.set(match[1], forwarded);
46905
+ return forwarded;
46906
+ }
46907
+ }
46908
+ return value;
46909
+ }
46910
+ if (Array.isArray(value)) {
46911
+ return value.map((item) => resolveForwardsDeep(item, referrerConfig, consumed));
46912
+ }
46913
+ if (value !== null && typeof value === "object") {
46914
+ const out = {};
46915
+ for (const [k, v] of Object.entries(value)) {
46916
+ out[k] = resolveForwardsDeep(v, referrerConfig, consumed);
46917
+ }
46918
+ return out;
46919
+ }
46920
+ return value;
46921
+ }
46832
46922
  function buildResolvedTraitConfigs(schema) {
46833
46923
  const rawByName = {};
46834
46924
  if (!schema?.orbitals) return {};
@@ -46859,12 +46949,14 @@ function buildResolvedTraitConfigs(schema) {
46859
46949
  const referrer = referrerByChild.get(name);
46860
46950
  if (referrer && referrer !== name) {
46861
46951
  const referrerConfig = resolveConfig(referrer);
46952
+ const consumed = /* @__PURE__ */ new Map();
46862
46953
  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;
46954
+ out[key] = resolveForwardsDeep(value, referrerConfig, consumed);
46955
+ }
46956
+ for (const [key, value] of consumed) {
46957
+ if (!(key in out)) {
46958
+ out[key] = value;
46959
+ }
46868
46960
  }
46869
46961
  }
46870
46962
  resolving.delete(name);
@@ -46879,6 +46971,20 @@ function buildResolvedTraitConfigs(schema) {
46879
46971
  return map;
46880
46972
  }
46881
46973
 
46974
+ // src/listen-payload-mapping.ts
46975
+ function applyListenPayloadMapping(payloadMapping, payload) {
46976
+ if (!payloadMapping || !payload) return payload;
46977
+ const mapped = {};
46978
+ for (const [key, expr] of Object.entries(payloadMapping)) {
46979
+ if (expr.startsWith("@payload.")) {
46980
+ mapped[key] = payload[expr.slice("@payload.".length)];
46981
+ } else {
46982
+ mapped[key] = expr;
46983
+ }
46984
+ }
46985
+ return mapped;
46986
+ }
46987
+
46882
46988
  // src/diff.ts
46883
46989
  function diffSchemas(before, after) {
46884
46990
  const changes = [];
@@ -48684,6 +48790,29 @@ function extractPayloadFieldRef(ref2) {
48684
48790
  const match = ref2.match(/^@payload\.([A-Za-z0-9_]+)/);
48685
48791
  return match ? match[1] : null;
48686
48792
  }
48793
+ function extractPayloadFieldPath(ref2) {
48794
+ if (typeof ref2 !== "string") return null;
48795
+ const match = ref2.match(/^@payload\.([A-Za-z0-9_]+(?:\.[A-Za-z0-9_]+)*)/);
48796
+ return match ? match[1].split(".") : null;
48797
+ }
48798
+ function nestedPayload(path, leaf) {
48799
+ let value = leaf;
48800
+ for (let i = path.length - 1; i >= 1; i--) {
48801
+ value = { [path[i]]: value };
48802
+ }
48803
+ return { [path[0]]: value };
48804
+ }
48805
+ function isPayloadObject(v) {
48806
+ return typeof v === "object" && v !== null && !Array.isArray(v) && !(v instanceof Date);
48807
+ }
48808
+ function mergePayloads(a, b) {
48809
+ const out = { ...a };
48810
+ for (const [k, v] of Object.entries(b)) {
48811
+ const prev = out[k];
48812
+ out[k] = prev !== void 0 && isPayloadObject(prev) && v !== void 0 && isPayloadObject(v) ? mergePayloads(prev, v) : v;
48813
+ }
48814
+ return out;
48815
+ }
48687
48816
  function constTruth(guard) {
48688
48817
  if (typeof guard === "boolean") return guard;
48689
48818
  if (typeof guard === "string") {
@@ -48722,62 +48851,64 @@ function buildGuardPayloads(guard) {
48722
48851
  return { pass: {}, fail: {} };
48723
48852
  }
48724
48853
  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 } };
48854
+ const path = extractPayloadFieldPath(guard);
48855
+ if (path) {
48856
+ 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) };
48857
+ }
48727
48858
  }
48728
48859
  if (!Array.isArray(guard) || guard.length === 0) {
48729
48860
  return { pass: {}, fail: {} };
48730
48861
  }
48731
48862
  const op = String(guard[0]);
48732
48863
  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 } };
48864
+ const path = extractPayloadFieldPath(guard[1]);
48865
+ if (path) return { pass: nestedPayload(path, "mock-test-value"), fail: nestedPayload(path, null) };
48735
48866
  }
48736
48867
  if (op === "nil") {
48737
- const field = extractPayloadFieldRef(guard[1]);
48738
- if (field) return { pass: {}, fail: { [field]: "mock-test-value" } };
48868
+ const path = extractPayloadFieldPath(guard[1]);
48869
+ if (path) return { pass: {}, fail: nestedPayload(path, "mock-test-value") };
48739
48870
  }
48740
48871
  if (op === "eq" || op === "==" || op === "=") {
48741
- const field = extractPayloadFieldRef(guard[1]);
48872
+ const path = extractPayloadFieldPath(guard[1]);
48742
48873
  const val = guard[2];
48743
- if (field && val !== void 0) {
48874
+ if (path && val !== void 0) {
48744
48875
  const failVal = typeof val === "number" ? val + 1 : typeof val === "string" ? `not-${val}` : null;
48745
- return { pass: { [field]: val }, fail: { [field]: failVal } };
48876
+ return { pass: nestedPayload(path, val), fail: nestedPayload(path, failVal) };
48746
48877
  }
48747
48878
  }
48748
48879
  if (op === "not-eq" || op === "!=" || op === "neq") {
48749
- const field = extractPayloadFieldRef(guard[1]);
48880
+ const path = extractPayloadFieldPath(guard[1]);
48750
48881
  const val = guard[2];
48751
- if (field && val !== void 0) {
48882
+ if (path && val !== void 0) {
48752
48883
  const passVal = typeof val === "number" ? val + 1 : typeof val === "string" ? `not-${val}` : "other";
48753
- return { pass: { [field]: passVal }, fail: { [field]: val } };
48884
+ return { pass: nestedPayload(path, passVal), fail: nestedPayload(path, val) };
48754
48885
  }
48755
48886
  }
48756
48887
  if (op === "gt" || op === ">") {
48757
- const field = extractPayloadFieldRef(guard[1]);
48888
+ const path = extractPayloadFieldPath(guard[1]);
48758
48889
  const n = typeof guard[2] === "number" ? guard[2] : 0;
48759
- if (field) return { pass: { [field]: n + 1 }, fail: { [field]: n - 1 } };
48890
+ if (path) return { pass: nestedPayload(path, n + 1), fail: nestedPayload(path, n - 1) };
48760
48891
  }
48761
48892
  if (op === "gte" || op === ">=") {
48762
- const field = extractPayloadFieldRef(guard[1]);
48893
+ const path = extractPayloadFieldPath(guard[1]);
48763
48894
  const n = typeof guard[2] === "number" ? guard[2] : 0;
48764
- if (field) return { pass: { [field]: n }, fail: { [field]: n - 1 } };
48895
+ if (path) return { pass: nestedPayload(path, n), fail: nestedPayload(path, n - 1) };
48765
48896
  }
48766
48897
  if (op === "lt" || op === "<") {
48767
- const field = extractPayloadFieldRef(guard[1]);
48898
+ const path = extractPayloadFieldPath(guard[1]);
48768
48899
  const n = typeof guard[2] === "number" ? guard[2] : 0;
48769
- if (field) return { pass: { [field]: n - 1 }, fail: { [field]: n + 1 } };
48900
+ if (path) return { pass: nestedPayload(path, n - 1), fail: nestedPayload(path, n + 1) };
48770
48901
  }
48771
48902
  if (op === "lte" || op === "<=") {
48772
- const field = extractPayloadFieldRef(guard[1]);
48903
+ const path = extractPayloadFieldPath(guard[1]);
48773
48904
  const n = typeof guard[2] === "number" ? guard[2] : 0;
48774
- if (field) return { pass: { [field]: n }, fail: { [field]: n + 1 } };
48905
+ if (path) return { pass: nestedPayload(path, n), fail: nestedPayload(path, n + 1) };
48775
48906
  }
48776
48907
  if (op === "and") {
48777
48908
  const subs = guard.slice(1);
48778
48909
  if (subs.length >= 2) {
48779
48910
  const built = subs.map(buildGuardPayloads);
48780
- const pass = built.reduce((acc, b) => ({ ...acc, ...b.pass }), {});
48911
+ const pass = built.reduce((acc, b) => mergePayloads(acc, b.pass), {});
48781
48912
  return { pass, fail: built[0].fail };
48782
48913
  }
48783
48914
  if (subs.length === 1) return buildGuardPayloads(subs[0]);
@@ -48788,7 +48919,7 @@ function buildGuardPayloads(guard) {
48788
48919
  const s1 = buildGuardPayloads(subs[0]);
48789
48920
  const s2 = buildGuardPayloads(subs[1]);
48790
48921
  const combinedPass = Object.keys(s1.pass).length > 0 ? s1.pass : s2.pass;
48791
- return { pass: combinedPass, fail: { ...s1.fail, ...s2.fail } };
48922
+ return { pass: combinedPass, fail: mergePayloads(s1.fail, s2.fail) };
48792
48923
  }
48793
48924
  if (subs.length === 1) return buildGuardPayloads(subs[0]);
48794
48925
  }
@@ -49020,6 +49151,6 @@ function mergeEntityFrame(current, orderedWrites) {
49020
49151
  return next;
49021
49152
  }
49022
49153
 
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 };
49154
+ 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, 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, 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
49155
  //# sourceMappingURL=index.js.map
49025
49156
  //# sourceMappingURL=index.js.map