@powerhousedao/workflow 6.2.3-dev.88 → 6.2.3-dev.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/browser/{BlockSelector-BKAJwJ4Y.js → BlockSelector-DFzzAWXh.js} +65 -7
  2. package/dist/browser/BlockSelector-DFzzAWXh.js.map +1 -0
  3. package/dist/browser/{connection-form-DltdMa8F.js → connection-form-B6zpGmAm.js} +3 -3
  4. package/dist/browser/{connection-form-DltdMa8F.js.map → connection-form-B6zpGmAm.js.map} +1 -1
  5. package/dist/browser/{data-tree-DAw8e0j8.js → data-tree-DKS0EQys.js} +2 -2
  6. package/dist/browser/{data-tree-DAw8e0j8.js.map → data-tree-DKS0EQys.js.map} +1 -1
  7. package/dist/browser/{editor-Dl6lzxkM.js → editor-Yt-_V04R.js} +207 -58
  8. package/dist/browser/editor-Yt-_V04R.js.map +1 -0
  9. package/dist/browser/{editor-CZLe6CAF.js → editor-bHCkW_XB.js} +4 -4
  10. package/dist/browser/{editor-CZLe6CAF.js.map → editor-bHCkW_XB.js.map} +1 -1
  11. package/dist/browser/{editor--J61vLSC.js → editor-gCkAwv09.js} +64 -132
  12. package/dist/browser/editor-gCkAwv09.js.map +1 -0
  13. package/dist/browser/editors/connection-editor/module.js +1 -1
  14. package/dist/browser/editors/runtime/index.js +1 -1
  15. package/dist/browser/editors/workflow-editor/module.js +1 -1
  16. package/dist/browser/editors/workflow-studio/module.js +1 -1
  17. package/dist/browser/index.js +2 -1
  18. package/dist/browser/index.js.map +1 -1
  19. package/dist/browser/{runtime-queries-D81Ghpok.js → runtime-queries-C5bqAgQy.js} +84 -13
  20. package/dist/browser/runtime-queries-C5bqAgQy.js.map +1 -0
  21. package/dist/browser/{trigger-text-BSVi5oGZ.js → trigger-text-BfIu-QcC.js} +176 -11
  22. package/dist/browser/trigger-text-BfIu-QcC.js.map +1 -0
  23. package/dist/node/{BlockSelector-DnTRF-C7.mjs → BlockSelector-Cia1Rpwz.mjs} +64 -6
  24. package/dist/node/BlockSelector-Cia1Rpwz.mjs.map +1 -0
  25. package/dist/node/{connection-form-DwSHfIRw.mjs → connection-form-CJFKPwfg.mjs} +3 -3
  26. package/dist/node/{connection-form-DwSHfIRw.mjs.map → connection-form-CJFKPwfg.mjs.map} +1 -1
  27. package/dist/node/{data-tree-uSJU9Ost.mjs → data-tree-D9jdFsaX.mjs} +2 -2
  28. package/dist/node/{data-tree-uSJU9Ost.mjs.map → data-tree-D9jdFsaX.mjs.map} +1 -1
  29. package/dist/node/{editor-B4ZwM3pR.mjs → editor-CwOjO82y.mjs} +63 -131
  30. package/dist/node/editor-CwOjO82y.mjs.map +1 -0
  31. package/dist/node/{editor-_4XHbqGl.mjs → editor-NMRVprgI.mjs} +206 -57
  32. package/dist/node/editor-NMRVprgI.mjs.map +1 -0
  33. package/dist/node/{editor-cXi5dIsd.mjs → editor-_c6UDRAN.mjs} +4 -4
  34. package/dist/node/{editor-cXi5dIsd.mjs.map → editor-_c6UDRAN.mjs.map} +1 -1
  35. package/dist/node/editors/connection-editor/module.mjs +1 -1
  36. package/dist/node/editors/runtime/index.mjs +1 -1
  37. package/dist/node/editors/workflow-editor/module.mjs +1 -1
  38. package/dist/node/editors/workflow-studio/module.mjs +1 -1
  39. package/dist/node/index.mjs +2 -1
  40. package/dist/node/index.mjs.map +1 -1
  41. package/dist/node/pieces/ai/descriptor.json +70 -1
  42. package/dist/node/pieces/ai/index.mjs +125 -125
  43. package/dist/node/pieces/ai/package.json +1 -1
  44. package/dist/node/pieces/reactor/descriptor.json +35 -1
  45. package/dist/node/pieces/reactor/index.mjs +39 -39
  46. package/dist/node/pieces/reactor/package.json +1 -1
  47. package/dist/node/{runtime-queries-VXJsWno5.mjs → runtime-queries-Ck5OoWdy.mjs} +137 -12
  48. package/dist/node/runtime-queries-Ck5OoWdy.mjs.map +1 -0
  49. package/dist/node/{trigger-text-BBP7QVLj.mjs → trigger-text-T2D0a2Br.mjs} +175 -10
  50. package/dist/node/trigger-text-T2D0a2Br.mjs.map +1 -0
  51. package/dist/powerhouse.manifest.json +2 -2
  52. package/dist/style.css +1 -1
  53. package/dist/types/ai/workflow-tools.d.ts.map +1 -1
  54. package/dist/types/editors/shared/icons.d.ts +4 -0
  55. package/dist/types/editors/shared/icons.d.ts.map +1 -1
  56. package/dist/types/editors/workflow-editor/editor.d.ts.map +1 -1
  57. package/dist/types/editors/workflow-editor/runtime-client.d.ts +5 -1
  58. package/dist/types/editors/workflow-editor/runtime-client.d.ts.map +1 -1
  59. package/dist/types/editors/workflow-editor/ui/BlockSelector.d.ts.map +1 -1
  60. package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts +1 -0
  61. package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts.map +1 -1
  62. package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts.map +1 -1
  63. package/dist/types/editors/workflow-editor/ui/ap-edge.d.ts +1 -0
  64. package/dist/types/editors/workflow-editor/ui/ap-edge.d.ts.map +1 -1
  65. package/dist/types/editors/workflow-editor/ui/ap-layout.d.ts.map +1 -1
  66. package/dist/types/editors/workflow-editor/ui/ap-nodes.d.ts +4 -0
  67. package/dist/types/editors/workflow-editor/ui/ap-nodes.d.ts.map +1 -1
  68. package/dist/types/editors/workflow-editor/ui/block-meta.d.ts +3 -0
  69. package/dist/types/editors/workflow-editor/ui/block-meta.d.ts.map +1 -1
  70. package/dist/types/editors/workflow-editor/ui/blocks.d.ts +8 -0
  71. package/dist/types/editors/workflow-editor/ui/blocks.d.ts.map +1 -1
  72. package/dist/types/editors/workflow-editor/ui/canvas-menu.d.ts.map +1 -1
  73. package/dist/types/editors/workflow-editor/ui/flow-control.test.d.ts +2 -0
  74. package/dist/types/editors/workflow-editor/ui/flow-control.test.d.ts.map +1 -0
  75. package/dist/types/editors/workflow-editor/ui/prop-layout.d.ts +1 -0
  76. package/dist/types/editors/workflow-editor/ui/prop-layout.d.ts.map +1 -1
  77. package/dist/types/editors/workflow-editor/ui/prop-layout.test.d.ts +2 -0
  78. package/dist/types/editors/workflow-editor/ui/prop-layout.test.d.ts.map +1 -0
  79. package/dist/types/editors/workflow-editor/ui/trigger-text.d.ts.map +1 -1
  80. package/dist/types/editors/workflow-editor/ui/use-validity.d.ts.map +1 -1
  81. package/dist/types/editors/workflow-editor/ui/validation.d.ts +4 -1
  82. package/dist/types/editors/workflow-editor/ui/validation.d.ts.map +1 -1
  83. package/dist/types/editors/workflow-studio/components/RunsTable.d.ts +4 -1
  84. package/dist/types/editors/workflow-studio/components/RunsTable.d.ts.map +1 -1
  85. package/dist/types/editors/workflow-studio/components/Waitpoints.d.ts +9 -1
  86. package/dist/types/editors/workflow-studio/components/Waitpoints.d.ts.map +1 -1
  87. package/dist/types/editors/workflow-studio/components/WorkflowGraph.d.ts.map +1 -1
  88. package/dist/types/editors/workflow-studio/components/graph-layout.d.ts +1 -0
  89. package/dist/types/editors/workflow-studio/components/graph-layout.d.ts.map +1 -1
  90. package/dist/types/editors/workflow-studio/components/tips.d.ts.map +1 -1
  91. package/dist/types/pieces/ai/lib/actions/decide-on-documents.d.ts.map +1 -1
  92. package/dist/types/pieces/ai/lib/actions/extract.d.ts.map +1 -1
  93. package/dist/types/pieces/ai/lib/actions/propose-actions.d.ts.map +1 -1
  94. package/dist/types/pieces/ai/lib/actions/summarize.d.ts.map +1 -1
  95. package/dist/types/pieces/reactor/lib/actions/document-find.d.ts.map +1 -1
  96. package/dist/types/test/ui/flow-control.spec.d.ts +2 -0
  97. package/dist/types/test/ui/flow-control.spec.d.ts.map +1 -0
  98. package/package.json +9 -9
  99. package/dist/browser/BlockSelector-BKAJwJ4Y.js.map +0 -1
  100. package/dist/browser/editor--J61vLSC.js.map +0 -1
  101. package/dist/browser/editor-Dl6lzxkM.js.map +0 -1
  102. package/dist/browser/runtime-queries-D81Ghpok.js.map +0 -1
  103. package/dist/browser/trigger-text-BSVi5oGZ.js.map +0 -1
  104. package/dist/node/BlockSelector-DnTRF-C7.mjs.map +0 -1
  105. package/dist/node/editor-B4ZwM3pR.mjs.map +0 -1
  106. package/dist/node/editor-_4XHbqGl.mjs.map +0 -1
  107. package/dist/node/runtime-queries-VXJsWno5.mjs.map +0 -1
  108. package/dist/node/trigger-text-BBP7QVLj.mjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { i as __toESM } from "./rolldown-runtime-B4iAMlE-.mjs";
2
- import { Ot as parseScheduleConfig, St as expandDocumentRefs, dt as stepBlock, et as MANUAL_TRIGGER, gt as DOCUMENT_REF_KEY, nt as SCHEDULE_TRIGGER, pt as triggerBlock, st as WEBHOOK_TRIGGER, wt as isDocumentRefMarker, xt as documentRefsIn } from "./runtime-queries-VXJsWno5.mjs";
2
+ import { At as isDocumentRefMarker, Dt as documentRefsIn, Lt as stepPorts, Ot as expandDocumentRefs, Pt as parseScheduleConfig, ft as WEBHOOK_TRIGGER, gt as stepBlock, rt as MANUAL_TRIGGER, st as SCHEDULE_TRIGGER, vt as triggerBlock, xt as DOCUMENT_REF_KEY } from "./runtime-queries-Ck5OoWdy.mjs";
3
3
  import { t as blockKey } from "./block-type-kX-27vVt.mjs";
4
- import { Bt as textAreaClass, Ft as Switch, Ht as Icon, It as Tabs, Lt as Toggle, Mt as IconButton, Nt as Segmented, Ot as Button, Pt as Select, Q as useResolvedProp, Rt as Tooltip, Ut as isIconName, Vt as textInputClass, Z as useOptionSearch, at as isPropVisible, ct as settingFor, f as blockMeta, ft as withSetting, it as isEmptyValue, jt as Hint, kt as FieldError, ot as parsePropList, q as useDynamicCache, st as resolverInputFor, t as BlockLogo, ut as stripOptions, zt as invalidClass } from "./BlockSelector-DnTRF-C7.mjs";
4
+ import { $ as useOptionSearch, At as Button, Bt as Tooltip, Ft as Segmented, Gt as isIconName, Ht as textAreaClass, It as Select, Lt as Switch, Nt as Hint, Pt as IconButton, Rt as Tabs, Ut as textInputClass, Vt as invalidClass, Wt as Icon, Y as useDynamicCache, ct as parsePropList, et as useResolvedProp, f as blockMeta, ft as stripOptions, jt as FieldError, lt as resolverInputFor, mt as withSetting, ot as isEmptyValue, p as namedByCoreTab, st as isPropVisible, t as BlockLogo, ut as settingFor, zt as Toggle } from "./BlockSelector-Cia1Rpwz.mjs";
5
5
  import { useSetSelectedNode } from "@powerhousedao/reactor-browser";
6
6
  import { Fragment, Suspense, createContext, lazy, useContext, useEffect, useId, useMemo, useRef, useState } from "react";
7
7
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -40,7 +40,7 @@ function usePendingEcho(saved, onChange) {
40
40
  function hasNextPort(model, id, portsOf) {
41
41
  if (model.trigger?.id === id) return true;
42
42
  const step = model.steps.find((entry) => entry.id === id);
43
- return step ? portsOf(stepBlock(step))?.includes("next") ?? false : false;
43
+ return step ? stepPorts(stepBlock(step), step.config, portsOf)?.includes("next") ?? false : false;
44
44
  }
45
45
  function contextMenuItems(target, model, portsOf) {
46
46
  switch (target.kind) {
@@ -1326,6 +1326,13 @@ function Summary(props) {
1326
1326
  }, prop.name))
1327
1327
  });
1328
1328
  }
1329
+ function essentialNames(props, groups) {
1330
+ const all = groups ?? [];
1331
+ if (all.some((group) => ["builder", "footer"].includes(group.display))) return new Set(props.map((prop) => prop.name));
1332
+ const names = new Set(all.filter((group) => group.display === "tabs" || group.display === "section").flatMap((group) => group.props));
1333
+ if (all.some((group) => group.display === "section")) for (const prop of props) for (const name of prop.reveals ?? []) names.add(name);
1334
+ return names;
1335
+ }
1329
1336
  function PropLayout(props) {
1330
1337
  const groups = (props.groups ?? []).filter((group) => PLACED.has(group.display) || group.display === "summary");
1331
1338
  const byName = new Map(props.props.map((prop) => [prop.name, prop]));
@@ -1334,7 +1341,18 @@ function PropLayout(props) {
1334
1341
  if (!PLACED.has(group.display)) continue;
1335
1342
  for (const name of group.props) if (byName.has(name) && !groupOf.has(name)) groupOf.set(name, group);
1336
1343
  }
1337
- const membersOf = (group) => group.props.map((name) => byName.get(name)).filter((prop) => prop !== void 0);
1344
+ for (const group of groups) {
1345
+ if (group.display !== "section") continue;
1346
+ for (const name of group.props) {
1347
+ if (groupOf.get(name) !== group) continue;
1348
+ for (const revealed of byName.get(name)?.reveals ?? []) if (byName.has(revealed) && !groupOf.has(revealed)) groupOf.set(revealed, group);
1349
+ }
1350
+ }
1351
+ const membersOf = (group) => {
1352
+ const named = group.props.filter((name) => groupOf.get(name) === group);
1353
+ const joined = [...groupOf.keys()].filter((name) => groupOf.get(name) === group && !named.includes(name));
1354
+ return [...named, ...joined].map((name) => byName.get(name)).filter((prop) => prop !== void 0);
1355
+ };
1338
1356
  const builderGroups = groups.filter((group) => group.display === "builder");
1339
1357
  const summaries = groups.filter((group) => group.display === "summary");
1340
1358
  const sectionMembers = groups.filter((group) => group.display === "section").flatMap(membersOf);
@@ -1543,6 +1561,11 @@ function itemSummary(fields, row) {
1543
1561
  }
1544
1562
  return parts.join(" · ");
1545
1563
  }
1564
+ function addItemLabel(displayName) {
1565
+ const name = displayName.trim().toLowerCase();
1566
+ if (!/^[a-z]+s$/.test(name) || name.endsWith("ss")) return "Add item";
1567
+ return `Add ${name.endsWith("ies") ? `${name.slice(0, -3)}y` : /(ss|x|z|ch|sh)es$/.test(name) ? name.slice(0, -2) : name.slice(0, -1)}`;
1568
+ }
1546
1569
  function ArrayRows(props) {
1547
1570
  const fields = props.prop.properties ?? [];
1548
1571
  const rows = Array.isArray(props.value) ? props.value.map((item) => item !== null && typeof item === "object" ? item : {}) : [];
@@ -1604,7 +1627,7 @@ function ArrayRows(props) {
1604
1627
  children: [/* @__PURE__ */ jsx(Icon, {
1605
1628
  name: "plus",
1606
1629
  className: "h-3.5 w-3.5"
1607
- }), "Add item"]
1630
+ }), addItemLabel(props.prop.displayName)]
1608
1631
  })]
1609
1632
  });
1610
1633
  }
@@ -2474,8 +2497,9 @@ function PropertyForm(props) {
2474
2497
  });
2475
2498
  };
2476
2499
  const visible = props.props.filter((prop) => isPropVisible(prop, current));
2477
- const essential = visible.filter((prop) => !prop.advanced);
2478
- const advanced = visible.filter((prop) => prop.advanced);
2500
+ const kept = essentialNames(props.props, props.groups);
2501
+ const essential = visible.filter((prop) => !prop.advanced || kept.has(prop.name));
2502
+ const advanced = visible.filter((prop) => prop.advanced && !kept.has(prop.name));
2479
2503
  const [showAdvanced, setShowAdvanced] = useState(false);
2480
2504
  const advancedSet = advanced.filter((prop) => current[prop.name] !== void 0).length;
2481
2505
  const field = (prop) => /* @__PURE__ */ jsx(PropField, {
@@ -2747,6 +2771,146 @@ function DraftBanner(props) {
2747
2771
  });
2748
2772
  }
2749
2773
  //#endregion
2774
+ //#region editors/workflow-studio/components/step-outline.ts
2775
+ function stepOutline(args) {
2776
+ const inbound = /* @__PURE__ */ new Map();
2777
+ for (const edge of args.edges) {
2778
+ const list = inbound.get(edge.to) ?? [];
2779
+ list.push(edge);
2780
+ inbound.set(edge.to, list);
2781
+ }
2782
+ const decided = args.triggerId ? [args.triggerId] : [];
2783
+ const rows = [];
2784
+ const seen = /* @__PURE__ */ new Set();
2785
+ const firstDecided = (edges) => edges.reduce((first, edge) => decided.indexOf(edge.from) < decided.indexOf(first.from) ? edge : first);
2786
+ let progressed = true;
2787
+ while (progressed) {
2788
+ progressed = false;
2789
+ for (const step of args.steps) {
2790
+ if (seen.has(step.id)) continue;
2791
+ const edges = inbound.get(step.id) ?? [];
2792
+ const entry = !args.triggerId && edges.length === 0;
2793
+ if (!entry) {
2794
+ if (edges.length === 0) continue;
2795
+ if (!edges.every((edge) => decided.includes(edge.from))) continue;
2796
+ }
2797
+ seen.add(step.id);
2798
+ decided.push(step.id);
2799
+ const port = entry ? null : firstDecided(edges).port;
2800
+ rows.push({
2801
+ step,
2802
+ port: port === "next" ? null : port
2803
+ });
2804
+ progressed = true;
2805
+ }
2806
+ }
2807
+ return {
2808
+ rows,
2809
+ orphans: args.steps.filter((step) => !seen.has(step.id))
2810
+ };
2811
+ }
2812
+ //#endregion
2813
+ //#region editors/workflow-studio/components/graph-layout.ts
2814
+ const TRIGGER_NODE = "trigger";
2815
+ const SIDE_PORTS = /* @__PURE__ */ new Set([
2816
+ "false",
2817
+ "error",
2818
+ "each",
2819
+ "otherwise"
2820
+ ]);
2821
+ const isSidePort = (port) => SIDE_PORTS.has(port) || /^branch_(?!1$)\d+$/.test(port);
2822
+ function graphLayout(args) {
2823
+ const { rows } = stepOutline(args);
2824
+ const nodeId = (id) => id === args.triggerId ? TRIGGER_NODE : id;
2825
+ const placed = /* @__PURE__ */ new Map([[TRIGGER_NODE, {
2826
+ col: 0,
2827
+ lane: 0
2828
+ }]]);
2829
+ const taken = /* @__PURE__ */ new Set();
2830
+ const inbound = /* @__PURE__ */ new Map();
2831
+ const outbound = /* @__PURE__ */ new Map();
2832
+ for (const edge of args.edges) {
2833
+ const list = inbound.get(edge.to) ?? [];
2834
+ list.push(edge);
2835
+ inbound.set(edge.to, list);
2836
+ outbound.set(edge.from, (outbound.get(edge.from) ?? 0) + 1);
2837
+ }
2838
+ const drops = (edge) => isSidePort(edge.port) && (outbound.get(edge.from) ?? 0) > 1;
2839
+ const nodes = [];
2840
+ for (const { step } of rows) {
2841
+ const from = (inbound.get(step.id) ?? []).filter((edge) => placed.has(nodeId(edge.from)));
2842
+ const col = Math.max(1, ...from.map((edge) => placed.get(nodeId(edge.from)).col + 1));
2843
+ const via = joinVia(from, (edge) => {
2844
+ const source = placed.get(nodeId(edge.from));
2845
+ return {
2846
+ lane: source.lane + (drops(edge) ? 1 : 0),
2847
+ col: source.col
2848
+ };
2849
+ });
2850
+ let lane = via ? placed.get(nodeId(via.from)).lane + (drops(via) ? 1 : 0) : 0;
2851
+ const port = from.length === 1 && from[0].port !== "next" ? from[0].port : null;
2852
+ while (taken.has(`${col}:${lane}`)) lane++;
2853
+ taken.add(`${col}:${lane}`);
2854
+ placed.set(step.id, {
2855
+ col,
2856
+ lane
2857
+ });
2858
+ nodes.push({
2859
+ step,
2860
+ col,
2861
+ lane,
2862
+ port,
2863
+ via
2864
+ });
2865
+ }
2866
+ return {
2867
+ nodes,
2868
+ edges: args.edges.map((edge) => ({
2869
+ ...edge,
2870
+ from: nodeId(edge.from)
2871
+ })).filter((edge) => placed.has(edge.from) && placed.has(edge.to)).map((edge) => {
2872
+ const a = placed.get(edge.from);
2873
+ const b = placed.get(edge.to);
2874
+ const clear = (lane) => !nodes.some((node) => node.lane === lane && node.col > a.col && node.col < b.col);
2875
+ const low = Math.max(a.lane, b.lane);
2876
+ const high = Math.min(a.lane, b.lane);
2877
+ const track = clear(low) ? {
2878
+ lane: low,
2879
+ under: false
2880
+ } : clear(high) ? {
2881
+ lane: high,
2882
+ under: false
2883
+ } : {
2884
+ lane: high,
2885
+ under: true
2886
+ };
2887
+ return {
2888
+ from: edge.from,
2889
+ to: edge.to,
2890
+ port: edge.port,
2891
+ track
2892
+ };
2893
+ }),
2894
+ cols: Math.max(0, ...nodes.map((node) => node.col)),
2895
+ lanes: Math.max(1, ...nodes.map((node) => node.lane + 1))
2896
+ };
2897
+ }
2898
+ function joinVia(from, spot) {
2899
+ let best = null;
2900
+ let bestSpot = {
2901
+ lane: Infinity,
2902
+ col: -Infinity
2903
+ };
2904
+ for (const edge of from) {
2905
+ const at = spot(edge);
2906
+ if (at.lane < bestSpot.lane || at.lane === bestSpot.lane && at.col >= bestSpot.col) {
2907
+ best = edge;
2908
+ bestSpot = at;
2909
+ }
2910
+ }
2911
+ return best;
2912
+ }
2913
+ //#endregion
2750
2914
  //#region editors/workflow-editor/ui/StepError.tsx
2751
2915
  function StepError(props) {
2752
2916
  return /* @__PURE__ */ jsx("pre", {
@@ -2823,7 +2987,7 @@ function DocumentRefs(props) {
2823
2987
  }
2824
2988
  //#endregion
2825
2989
  //#region editors/shared/data-viewer.tsx
2826
- const DataTree = lazy(() => import("./data-tree-uSJU9Ost.mjs"));
2990
+ const DataTree = lazy(() => import("./data-tree-D9jdFsaX.mjs"));
2827
2991
  function stringify(value) {
2828
2992
  try {
2829
2993
  return JSON.stringify(value, null, 2) ?? "";
@@ -3034,12 +3198,13 @@ function describeTrigger(trigger) {
3034
3198
  if (described) return described;
3035
3199
  }
3036
3200
  const meta = blockMeta(block);
3201
+ if (namedByCoreTab(block)) return meta.displayName;
3037
3202
  const piece = meta.subtitle.replace(/ · Trigger$/, "");
3038
3203
  return `${meta.displayName} in ${piece}`;
3039
3204
  }
3040
3205
  }
3041
3206
  }
3042
3207
  //#endregion
3043
- export { EMPTY_SCOPE as A, menuHeight as B, useSecretRef as C, ExpressionTargetProvider as D, ExpressionScopeSourceProvider as E, parseTypedValue as F, usePendingEcho as H, valueMismatch as I, documentShape as L, VARIABLE_TYPES as M, VARIABLE_TYPE_LABEL as N, ExpressionTokenLine as O, convertVariableValue as P, stateFieldsFromSdl as R, withPropDefaults as S, ExpressionPickerPopup as T, menuPosition as V, uniqueStepKey as _, StepError as a, PropertyForm as b, PublishButton as c, ReactorDenialNote as d, StatusToggle as f, hasDraftChanges as g, VARIABLES_VIEW as h, DataViewer as i, buildExpressionScope as j, useExpressionField as k, PublishState as l, STEP_PARAM as m, describeSchedule as n, DraftBanner as o, usePublish as p, describeTrigger as r, ManagedBanner as s, describeCron as t, PublishedMissingNote as u, AvailableSoon as v, ExpressionPickerButton as w, lacksDefaults as x, PiecePlaceholderContext as y, contextMenuItems as z };
3208
+ export { ExpressionTargetProvider as A, documentShape as B, PropertyForm as C, ExpressionPickerButton as D, useSecretRef as E, VARIABLE_TYPES as F, usePendingEcho as G, contextMenuItems as H, VARIABLE_TYPE_LABEL as I, convertVariableValue as L, useExpressionField as M, EMPTY_SCOPE as N, ExpressionPickerPopup as O, buildExpressionScope as P, parseTypedValue as R, PiecePlaceholderContext as S, withPropDefaults as T, menuHeight as U, stateFieldsFromSdl as V, menuPosition as W, STEP_PARAM as _, StepError as a, uniqueStepKey as b, stepOutline as c, PublishButton as d, PublishState as f, usePublish as g, StatusToggle as h, DataViewer as i, ExpressionTokenLine as j, ExpressionScopeSourceProvider as k, DraftBanner as l, ReactorDenialNote as m, describeSchedule as n, TRIGGER_NODE as o, PublishedMissingNote as p, describeTrigger as r, graphLayout as s, describeCron as t, ManagedBanner as u, VARIABLES_VIEW as v, lacksDefaults as w, AvailableSoon as x, hasDraftChanges as y, valueMismatch as z };
3044
3209
 
3045
- //# sourceMappingURL=trigger-text-BBP7QVLj.mjs.map
3210
+ //# sourceMappingURL=trigger-text-T2D0a2Br.mjs.map