@datatechsolutions/ui 3.6.1 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/dist/astrlabe/graph-node.js +8 -5
  2. package/dist/astrlabe/graph-node.mjs +4 -1
  3. package/dist/astrlabe/index.js +115 -114
  4. package/dist/astrlabe/index.mjs +7 -6
  5. package/dist/astrlabe/workflow-canvas.js +7 -6
  6. package/dist/astrlabe/workflow-canvas.mjs +6 -5
  7. package/dist/{chunk-3Z66NXEB.mjs → chunk-2OPBUVTQ.mjs} +3 -3
  8. package/dist/{chunk-3Z66NXEB.mjs.map → chunk-2OPBUVTQ.mjs.map} +1 -1
  9. package/dist/{chunk-4JDJRGAB.mjs → chunk-34XRH2FX.mjs} +5 -4
  10. package/dist/chunk-34XRH2FX.mjs.map +1 -0
  11. package/dist/{chunk-KEWRLEYV.js → chunk-3JZGRXSG.js} +4 -4
  12. package/dist/{chunk-KEWRLEYV.js.map → chunk-3JZGRXSG.js.map} +1 -1
  13. package/dist/{chunk-JQYDJ75Q.mjs → chunk-3VYD7QL2.mjs} +3 -3
  14. package/dist/{chunk-JQYDJ75Q.mjs.map → chunk-3VYD7QL2.mjs.map} +1 -1
  15. package/dist/{chunk-MRRFDIUQ.mjs → chunk-4JRMXHPU.mjs} +5 -4
  16. package/dist/chunk-4JRMXHPU.mjs.map +1 -0
  17. package/dist/{chunk-4OFG6POC.mjs → chunk-5LCWQKGQ.mjs} +207 -1128
  18. package/dist/chunk-5LCWQKGQ.mjs.map +1 -0
  19. package/dist/{chunk-W5YCZOXO.js → chunk-7YK4WXHO.js} +79 -78
  20. package/dist/chunk-7YK4WXHO.js.map +1 -0
  21. package/dist/{chunk-YOJIPZ72.js → chunk-BBLBSDPN.js} +9 -9
  22. package/dist/{chunk-YOJIPZ72.js.map → chunk-BBLBSDPN.js.map} +1 -1
  23. package/dist/chunk-BHOT22QL.js +998 -0
  24. package/dist/chunk-BHOT22QL.js.map +1 -0
  25. package/dist/{chunk-MQNXKBFP.mjs → chunk-C4AJWDFB.mjs} +7 -6
  26. package/dist/chunk-C4AJWDFB.mjs.map +1 -0
  27. package/dist/{chunk-UOABOFKO.mjs → chunk-CBFK4W4C.mjs} +3 -3
  28. package/dist/{chunk-UOABOFKO.mjs.map → chunk-CBFK4W4C.mjs.map} +1 -1
  29. package/dist/{chunk-P5F257N3.js → chunk-CVZXZK2X.js} +35 -34
  30. package/dist/chunk-CVZXZK2X.js.map +1 -0
  31. package/dist/{chunk-IHHGT3LP.mjs → chunk-CYAAL3BY.mjs} +6 -5
  32. package/dist/chunk-CYAAL3BY.mjs.map +1 -0
  33. package/dist/{chunk-LVK7VXW7.js → chunk-DMPBNWJB.js} +37 -36
  34. package/dist/chunk-DMPBNWJB.js.map +1 -0
  35. package/dist/{chunk-ESLKQJQS.mjs → chunk-DXLATMGD.mjs} +6 -5
  36. package/dist/chunk-DXLATMGD.mjs.map +1 -0
  37. package/dist/{chunk-P4YYEM4B.js → chunk-EZQ2D47U.js} +7 -10
  38. package/dist/chunk-EZQ2D47U.js.map +1 -0
  39. package/dist/{chunk-6ZMTJSQF.js → chunk-FUHNEP3Y.js} +164 -163
  40. package/dist/chunk-FUHNEP3Y.js.map +1 -0
  41. package/dist/{chunk-YTE6WCBX.js → chunk-JHN2OUWG.js} +64 -63
  42. package/dist/chunk-JHN2OUWG.js.map +1 -0
  43. package/dist/{chunk-AMYQSPQC.js → chunk-JLECJI7S.js} +18 -17
  44. package/dist/chunk-JLECJI7S.js.map +1 -0
  45. package/dist/{chunk-DRORQGN2.js → chunk-KMNWPC64.js} +40 -39
  46. package/dist/chunk-KMNWPC64.js.map +1 -0
  47. package/dist/{chunk-VUAGVZJM.mjs → chunk-NJ6HH4QP.mjs} +6 -5
  48. package/dist/chunk-NJ6HH4QP.mjs.map +1 -0
  49. package/dist/{chunk-OZNTQROP.mjs → chunk-PLTLRL2V.mjs} +7 -10
  50. package/dist/chunk-PLTLRL2V.mjs.map +1 -0
  51. package/dist/{chunk-5ZAZ2C7A.mjs → chunk-PMMP76MV.mjs} +7 -6
  52. package/dist/chunk-PMMP76MV.mjs.map +1 -0
  53. package/dist/{chunk-NJZIE4EH.js → chunk-QF6WL7XU.js} +6 -5
  54. package/dist/chunk-QF6WL7XU.js.map +1 -0
  55. package/dist/{chunk-QRNFTG6A.js → chunk-QGLGQXJE.js} +4 -4
  56. package/dist/{chunk-QRNFTG6A.js.map → chunk-QGLGQXJE.js.map} +1 -1
  57. package/dist/{chunk-GCYYGSHU.js → chunk-R4EKPXX3.js} +564 -1525
  58. package/dist/chunk-R4EKPXX3.js.map +1 -0
  59. package/dist/{chunk-SQZGQOKU.js → chunk-RWYG7QHP.js} +119 -132
  60. package/dist/chunk-RWYG7QHP.js.map +1 -0
  61. package/dist/{chunk-WBEZATIB.js → chunk-RZ3NDH5S.js} +13 -13
  62. package/dist/{chunk-WBEZATIB.js.map → chunk-RZ3NDH5S.js.map} +1 -1
  63. package/dist/{chunk-HGWVJ3VB.mjs → chunk-SJVKID3E.mjs} +4 -3
  64. package/dist/chunk-SJVKID3E.mjs.map +1 -0
  65. package/dist/{chunk-7LILNZMR.mjs → chunk-TJEZL72T.mjs} +4 -3
  66. package/dist/chunk-TJEZL72T.mjs.map +1 -0
  67. package/dist/{chunk-MUOTTGCX.js → chunk-UDYEUTJC.js} +31 -30
  68. package/dist/chunk-UDYEUTJC.js.map +1 -0
  69. package/dist/{chunk-UGJZ3M4Q.js → chunk-VDLMWOQM.js} +55 -54
  70. package/dist/chunk-VDLMWOQM.js.map +1 -0
  71. package/dist/{chunk-KDFBN2L2.mjs → chunk-VZIUQE7B.mjs} +24 -37
  72. package/dist/chunk-VZIUQE7B.mjs.map +1 -0
  73. package/dist/chunk-WR55H7DH.mjs +934 -0
  74. package/dist/chunk-WR55H7DH.mjs.map +1 -0
  75. package/dist/{chunk-ZYVDDSAC.mjs → chunk-YRXDETBK.mjs} +6 -6
  76. package/dist/{chunk-ZYVDDSAC.mjs.map → chunk-YRXDETBK.mjs.map} +1 -1
  77. package/dist/{chunk-VDLAZR7S.mjs → chunk-ZYRL3WER.mjs} +5 -4
  78. package/dist/chunk-ZYRL3WER.mjs.map +1 -0
  79. package/dist/index.js +826 -825
  80. package/dist/index.mjs +4 -3
  81. package/dist/platform/admin/index.js +13 -12
  82. package/dist/platform/admin/index.mjs +7 -6
  83. package/dist/platform/agents-workspace.js +10 -9
  84. package/dist/platform/agents-workspace.mjs +9 -8
  85. package/dist/platform/app-shell.js +6 -5
  86. package/dist/platform/app-shell.mjs +5 -4
  87. package/dist/platform/auth/index.js +30 -29
  88. package/dist/platform/auth/index.mjs +7 -6
  89. package/dist/platform/billing/index.js +6 -5
  90. package/dist/platform/billing/index.mjs +5 -4
  91. package/dist/platform/impersonation/index.js +6 -5
  92. package/dist/platform/impersonation/index.mjs +5 -4
  93. package/dist/platform/index.d.mts +1 -1
  94. package/dist/platform/index.d.ts +1 -1
  95. package/dist/platform/index.js +87 -93
  96. package/dist/platform/index.js.map +1 -1
  97. package/dist/platform/index.mjs +23 -29
  98. package/dist/platform/index.mjs.map +1 -1
  99. package/dist/platform/pages/index.d.mts +86 -1
  100. package/dist/platform/pages/index.d.ts +86 -1
  101. package/dist/platform/pages/index.js +868 -209
  102. package/dist/platform/pages/index.js.map +1 -1
  103. package/dist/platform/pages/index.mjs +670 -12
  104. package/dist/platform/pages/index.mjs.map +1 -1
  105. package/dist/platform/settings/index.js +10 -9
  106. package/dist/platform/settings/index.mjs +9 -8
  107. package/dist/platform/workflow-canvas-shell.js +8 -7
  108. package/dist/platform/workflow-canvas-shell.mjs +7 -6
  109. package/package.json +1 -1
  110. package/dist/chunk-4JDJRGAB.mjs.map +0 -1
  111. package/dist/chunk-4OFG6POC.mjs.map +0 -1
  112. package/dist/chunk-5ZAZ2C7A.mjs.map +0 -1
  113. package/dist/chunk-6ZMTJSQF.js.map +0 -1
  114. package/dist/chunk-7LILNZMR.mjs.map +0 -1
  115. package/dist/chunk-AMYQSPQC.js.map +0 -1
  116. package/dist/chunk-DRORQGN2.js.map +0 -1
  117. package/dist/chunk-ESLKQJQS.mjs.map +0 -1
  118. package/dist/chunk-GCYYGSHU.js.map +0 -1
  119. package/dist/chunk-HGWVJ3VB.mjs.map +0 -1
  120. package/dist/chunk-IHHGT3LP.mjs.map +0 -1
  121. package/dist/chunk-KDFBN2L2.mjs.map +0 -1
  122. package/dist/chunk-LVK7VXW7.js.map +0 -1
  123. package/dist/chunk-MQNXKBFP.mjs.map +0 -1
  124. package/dist/chunk-MRRFDIUQ.mjs.map +0 -1
  125. package/dist/chunk-MUOTTGCX.js.map +0 -1
  126. package/dist/chunk-NJZIE4EH.js.map +0 -1
  127. package/dist/chunk-OZNTQROP.mjs.map +0 -1
  128. package/dist/chunk-P4YYEM4B.js.map +0 -1
  129. package/dist/chunk-P5F257N3.js.map +0 -1
  130. package/dist/chunk-SQZGQOKU.js.map +0 -1
  131. package/dist/chunk-UGJZ3M4Q.js.map +0 -1
  132. package/dist/chunk-VDLAZR7S.mjs.map +0 -1
  133. package/dist/chunk-VUAGVZJM.mjs.map +0 -1
  134. package/dist/chunk-W5YCZOXO.js.map +0 -1
  135. package/dist/chunk-YTE6WCBX.js.map +0 -1
@@ -1,9 +1,10 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkGCYYGSHU_js = require('./chunk-GCYYGSHU.js');
4
+ var chunkR4EKPXX3_js = require('./chunk-R4EKPXX3.js');
5
5
  var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
6
- var chunkP4YYEM4B_js = require('./chunk-P4YYEM4B.js');
6
+ var chunkEZQ2D47U_js = require('./chunk-EZQ2D47U.js');
7
+ var chunkBHOT22QL_js = require('./chunk-BHOT22QL.js');
7
8
  var chunk72SWXOD5_js = require('./chunk-72SWXOD5.js');
8
9
  var react = require('react');
9
10
  var react$1 = require('@xyflow/react');
@@ -663,32 +664,12 @@ function EdgeInsertPopupComponent({ position, onSelect, onClose }) {
663
664
  );
664
665
  }
665
666
  var EdgeInsertPopup = react.memo(EdgeInsertPopupComponent);
666
- var LABEL_STYLES = {
667
- True: {
668
- background: "bg-green-100",
669
- text: "text-green-700",
670
- darkBackground: "dark:bg-green-500/20",
671
- darkText: "dark:text-green-300"
672
- },
673
- False: {
674
- background: "bg-red-100",
675
- text: "text-red-700",
676
- darkBackground: "dark:bg-red-500/20",
677
- darkText: "dark:text-red-300"
678
- },
679
- Loop: {
680
- background: "bg-violet-100",
681
- text: "text-violet-700",
682
- darkBackground: "dark:bg-violet-500/20",
683
- darkText: "dark:text-violet-300"
684
- }
685
- };
686
- var DEFAULT_LABEL_STYLE = {
687
- background: "bg-purple-100",
688
- text: "text-purple-700",
689
- darkBackground: "dark:bg-purple-500/20",
690
- darkText: "dark:text-purple-300"
667
+ var LABEL_COLORS = {
668
+ True: "green",
669
+ False: "red",
670
+ Loop: "violet"
691
671
  };
672
+ var DEFAULT_LABEL_COLOR = "purple";
692
673
  function ConditionalEdgeComponent({
693
674
  id,
694
675
  source,
@@ -726,7 +707,7 @@ function ConditionalEdgeComponent({
726
707
  });
727
708
  const edgeData = data;
728
709
  const label = edgeData?.label ?? (sourceHandleId === "true-out" ? "True" : void 0) ?? (sourceHandleId === "false-out" ? "False" : void 0) ?? (sourceHandleId === "loop-out" ? "Loop" : void 0);
729
- const labelStyle = label ? LABEL_STYLES[label] ?? DEFAULT_LABEL_STYLE : void 0;
710
+ const labelColor = label ? LABEL_COLORS[label] ?? DEFAULT_LABEL_COLOR : void 0;
730
711
  const showControls = selected || isHovered;
731
712
  const handleDeleteEdge = (event) => {
732
713
  event.stopPropagation();
@@ -742,7 +723,7 @@ function ConditionalEdgeComponent({
742
723
  edgeData?.onInsertNode?.(id, nodeType, { x: midpointX, y: midpointY });
743
724
  setShowInsertPopup(false);
744
725
  };
745
- const hasLabel = Boolean(label && labelStyle);
726
+ const hasLabel = Boolean(label && labelColor);
746
727
  const insertButtonOffset = hasLabel ? -20 : 0;
747
728
  const deleteButtonOffset = hasLabel ? showInsertPopup ? -40 : -40 : showInsertPopup ? -20 : -20;
748
729
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -763,15 +744,15 @@ function ConditionalEdgeComponent({
763
744
  ),
764
745
  /* @__PURE__ */ jsxRuntime.jsx(react$1.BaseEdge, { id, path: edgePath, markerEnd, style }),
765
746
  /* @__PURE__ */ jsxRuntime.jsxs(react$1.EdgeLabelRenderer, { children: [
766
- hasLabel && labelStyle && /* @__PURE__ */ jsxRuntime.jsx(
747
+ hasLabel && labelColor && /* @__PURE__ */ jsxRuntime.jsx(
767
748
  "div",
768
749
  {
769
- className: `nodrag nopan pointer-events-auto absolute rounded-full px-2 py-0.5 text-[10px] font-semibold ${labelStyle.background} ${labelStyle.text} ${labelStyle.darkBackground} ${labelStyle.darkText}`,
750
+ className: "nodrag nopan pointer-events-auto absolute",
770
751
  style: {
771
752
  transform: `translate(-50%, -50%) translate(${labelX}px,${labelY}px)`
772
753
  },
773
754
  "data-testid": `edge-label-${id}`,
774
- children: label
755
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: labelColor, size: "xs", children: label })
775
756
  }
776
757
  ),
777
758
  showControls && !showInsertPopup && /* @__PURE__ */ jsxRuntime.jsx(
@@ -1703,7 +1684,7 @@ function DatasourceNodeConfigForm({
1703
1684
  }
1704
1685
  const logo = getDatasourceLogo(selectedDatasourceId, selectedDatasource?.dialect);
1705
1686
  return /* @__PURE__ */ jsxRuntime.jsx(
1706
- chunkGCYYGSHU_js.GlassModal,
1687
+ chunkR4EKPXX3_js.GlassModal,
1707
1688
  {
1708
1689
  open,
1709
1690
  onClose: onCancel,
@@ -1718,8 +1699,8 @@ function DatasourceNodeConfigForm({
1718
1699
  onSectionChange: setActiveSectionId
1719
1700
  },
1720
1701
  footer: readOnly ? void 0 : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 px-6 py-3", children: [
1721
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Button, { outline: true, onClick: onCancel, children: t("cancel") }),
1722
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Button, { color: "cyan", onClick: handleSave, disabled: !canSave, children: t("save") })
1702
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Button, { outline: true, onClick: onCancel, children: t("cancel") }),
1703
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Button, { color: "cyan", onClick: handleSave, disabled: !canSave, children: t("save") })
1723
1704
  ] }),
1724
1705
  children: renderSection()
1725
1706
  }
@@ -1930,17 +1911,23 @@ function NodeInteractiveCard({
1930
1911
  );
1931
1912
  }
1932
1913
  function NodeIconBubble({ tone, children }) {
1933
- return /* @__PURE__ */ jsxRuntime.jsx(chunkP4YYEM4B_js.GraphNodeIconBubble, { className: `bg-gradient-to-br ${LOGIC_NODE_GRADIENTS[tone]}`, children });
1914
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkEZQ2D47U_js.GraphNodeIconBubble, { className: `bg-gradient-to-br ${LOGIC_NODE_GRADIENTS[tone]}`, children });
1934
1915
  }
1935
1916
  function NodeCardHeader({ icon, title, description, compact = false, iconClassName }) {
1936
- return /* @__PURE__ */ jsxRuntime.jsx(chunkP4YYEM4B_js.GraphNodeHeader, { icon, title, description, compact, iconClassName });
1917
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkEZQ2D47U_js.GraphNodeHeader, { icon, title, description, compact, iconClassName });
1937
1918
  }
1938
1919
  function NodeCardMeta({ compact = false, children }) {
1939
- return /* @__PURE__ */ jsxRuntime.jsx(chunkP4YYEM4B_js.GraphNodeMeta, { compact, children });
1920
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkEZQ2D47U_js.GraphNodeMeta, { compact, children });
1940
1921
  }
1941
1922
  function NodeCardBadge({ children, className, tone, soft = false }) {
1942
- const toneClass = tone ? soft ? LOGIC_NODE_BADGE_SOFT_COLORS[tone] : LOGIC_NODE_BADGE_COLORS[tone] : "";
1943
- return /* @__PURE__ */ jsxRuntime.jsx(chunkP4YYEM4B_js.GraphNodeBadge, { className: className ?? `inline-flex items-center rounded-full px-2 py-0.5 text-[10px] ${soft ? "font-medium" : "font-semibold"} ${toneClass}`, children });
1923
+ if (tone) {
1924
+ const toneClass = soft ? LOGIC_NODE_BADGE_SOFT_COLORS[tone] : LOGIC_NODE_BADGE_COLORS[tone];
1925
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkEZQ2D47U_js.GraphNodeBadge, { className: `inline-flex items-center rounded-full px-2 py-0.5 text-[10px] ${soft ? "font-medium" : "font-semibold"} ${toneClass}`, children });
1926
+ }
1927
+ if (className) {
1928
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkEZQ2D47U_js.GraphNodeBadge, { className, children });
1929
+ }
1930
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", children });
1944
1931
  }
1945
1932
  function NodeCardDeleteAction({ nodeId, onDelete }) {
1946
1933
  if (!onDelete) return null;
@@ -2112,18 +2099,18 @@ var AgentFlowNode = react.memo(function AgentFlowNode2({ id, data, selected }) {
2112
2099
  ] })
2113
2100
  ] }),
2114
2101
  /* @__PURE__ */ jsxRuntime.jsx(NodeCardMeta, { compact: isCompact, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1.5", children: [
2115
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "indigo", size: "xs", children: "Agent" }),
2102
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "indigo", size: "xs", children: "Agent" }),
2116
2103
  (() => {
2117
2104
  const tier = chunk72SWXOD5_js.getAgentTier(Number(data.agent.elo ?? 0));
2118
- return /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: tier.pillColor, children: tier.key });
2105
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", className: tier.pillColor, children: tier.key });
2119
2106
  })(),
2120
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: frameworkMeta.badgeColor, icon: /* @__PURE__ */ jsxRuntime.jsx(frameworkMeta.IconComponent, { className: "h-3 w-3" }), children: frameworkMeta.label }),
2121
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "blue", size: "xs", children: data.agent.modelId }),
2122
- /* @__PURE__ */ jsxRuntime.jsxs(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", children: [
2107
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", className: frameworkMeta.badgeColor, icon: /* @__PURE__ */ jsxRuntime.jsx(frameworkMeta.IconComponent, { className: "h-3 w-3" }), children: frameworkMeta.label }),
2108
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "blue", size: "xs", children: data.agent.modelId }),
2109
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", children: [
2123
2110
  "T: ",
2124
2111
  data.agent.temperature
2125
2112
  ] }),
2126
- /* @__PURE__ */ jsxRuntime.jsxs(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", children: [
2113
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", children: [
2127
2114
  "v",
2128
2115
  data.agent.activePromptVersion
2129
2116
  ] }),
@@ -2132,7 +2119,7 @@ var AgentFlowNode = react.memo(function AgentFlowNode2({ id, data, selected }) {
2132
2119
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center gap-1 border-t border-gray-200/20 pt-1 dark:border-white/5", children: [
2133
2120
  /* @__PURE__ */ jsxRuntime.jsx(outline.CommandLineIcon, { className: "h-3 w-3 shrink-0 text-amber-500 dark:text-amber-400" }),
2134
2121
  data.agentTools.slice(0, 3).map((tool) => /* @__PURE__ */ jsxRuntime.jsx(
2135
- chunkGCYYGSHU_js.Badge,
2122
+ chunkBHOT22QL_js.Badge,
2136
2123
  {
2137
2124
  color: tool.enabled ? "amber" : "zinc",
2138
2125
  size: "xs",
@@ -2229,7 +2216,7 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
2229
2216
  event.stopPropagation();
2230
2217
  },
2231
2218
  children: /* @__PURE__ */ jsxRuntime.jsx(
2232
- chunkGCYYGSHU_js.ToggleSwitch,
2219
+ chunkR4EKPXX3_js.ToggleSwitch,
2233
2220
  {
2234
2221
  checked: Boolean(agentTool.enabled),
2235
2222
  onChange: () => data.onToggle?.(agentTool),
@@ -2242,9 +2229,9 @@ var AgentToolFlowNode = react.memo(function AgentToolFlowNode2({ id, data, selec
2242
2229
  )
2243
2230
  ] }),
2244
2231
  /* @__PURE__ */ jsxRuntime.jsx(NodeCardMeta, { compact: isCompact, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1.5", children: [
2245
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "amber", size: "xs", children: t("agentToolNode") }),
2246
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: pill, children: category }),
2247
- agentTool.parameters && agentTool.parameters.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", children: [
2232
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "amber", size: "xs", children: t("agentToolNode") }),
2233
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", className: pill, children: category }),
2234
+ agentTool.parameters && agentTool.parameters.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", children: [
2248
2235
  agentTool.parameters.length,
2249
2236
  " params"
2250
2237
  ] }),
@@ -2337,7 +2324,7 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
2337
2324
  event.preventDefault();
2338
2325
  },
2339
2326
  children: /* @__PURE__ */ jsxRuntime.jsx(
2340
- chunkGCYYGSHU_js.ToggleSwitch,
2327
+ chunkR4EKPXX3_js.ToggleSwitch,
2341
2328
  {
2342
2329
  checked: Boolean(tool.enabled),
2343
2330
  onChange: () => onToggle(tool),
@@ -2351,8 +2338,8 @@ var ToolFlowNode = react.memo(function ToolFlowNode2({ id, data, selected }) {
2351
2338
  ] }),
2352
2339
  /* @__PURE__ */ jsxRuntime.jsxs(NodeCardMeta, { compact: isCompact, children: [
2353
2340
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
2354
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "teal", size: "xs", children: t("nodeType") }),
2355
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: categoryPill, children: tool.category }),
2341
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "teal", size: "xs", children: t("nodeType") }),
2342
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", className: categoryPill, children: tool.category }),
2356
2343
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
2357
2344
  String(tool.timeoutMs ?? ""),
2358
2345
  "ms"
@@ -2409,7 +2396,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
2409
2396
  ] }),
2410
2397
  !isCompact && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 flex items-center justify-between", children: [
2411
2398
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
2412
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "violet", size: "xs", children: t("ruleEngine") }),
2399
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "violet", size: "xs", children: t("ruleEngine") }),
2413
2400
  contextVariableCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
2414
2401
  contextVariableCount,
2415
2402
  " vars"
@@ -2489,7 +2476,7 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
2489
2476
  event.preventDefault();
2490
2477
  },
2491
2478
  children: /* @__PURE__ */ jsxRuntime.jsx(
2492
- chunkGCYYGSHU_js.ToggleSwitch,
2479
+ chunkR4EKPXX3_js.ToggleSwitch,
2493
2480
  {
2494
2481
  checked: Boolean(rule.enabled),
2495
2482
  onChange: () => onToggle(rule),
@@ -2503,8 +2490,8 @@ var RuleFlowNode = react.memo(function RuleFlowNode2({ id, data, selected }) {
2503
2490
  ] }),
2504
2491
  !isCompact && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 flex items-center justify-between", children: [
2505
2492
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
2506
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "violet", size: "xs", children: t("nodeType") }),
2507
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: typePill, children: adjustmentType }),
2493
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "violet", size: "xs", children: t("nodeType") }),
2494
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", className: typePill, children: adjustmentType }),
2508
2495
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
2509
2496
  "P",
2510
2497
  String(rule.priority ?? "")
@@ -2582,8 +2569,8 @@ var EntityFlowNode = react.memo(function EntityFlowNode2({ id, data, selected })
2582
2569
  ] }),
2583
2570
  /* @__PURE__ */ jsxRuntime.jsxs(NodeCardMeta, { compact: isCompact, children: [
2584
2571
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
2585
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: badgeColor, children: t("entityNodeType") }),
2586
- /* @__PURE__ */ jsxRuntime.jsxs(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", className: badgeColor, children: [
2572
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", className: badgeColor, children: t("entityNodeType") }),
2573
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", className: badgeColor, children: [
2587
2574
  fieldCount,
2588
2575
  " ",
2589
2576
  t("entityFields")
@@ -2744,8 +2731,8 @@ var IfElseFlowNode = react.memo(function IfElseFlowNode2({ id, data, selected })
2744
2731
  ] }),
2745
2732
  /* @__PURE__ */ jsxRuntime.jsx(NodeCardDeleteAction, { nodeId: id, onDelete })
2746
2733
  ] }),
2747
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute -right-12 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.StatusBadge, { status: "success", label: t("ifBranchLabel"), size: "sm" }) }),
2748
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute bottom-[-1.9rem] left-1/2 -translate-x-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.StatusBadge, { status: "error", label: t("elseBranchLabel"), size: "sm" }) })
2734
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute -right-12 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkR4EKPXX3_js.StatusBadge, { status: "success", label: t("ifBranchLabel"), size: "sm" }) }),
2735
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute bottom-[-1.9rem] left-1/2 -translate-x-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkR4EKPXX3_js.StatusBadge, { status: "error", label: t("elseBranchLabel"), size: "sm" }) })
2749
2736
  ]
2750
2737
  }
2751
2738
  ),
@@ -3489,7 +3476,7 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
3489
3476
  event.preventDefault();
3490
3477
  },
3491
3478
  children: /* @__PURE__ */ jsxRuntime.jsx(
3492
- chunkGCYYGSHU_js.ToggleSwitch,
3479
+ chunkR4EKPXX3_js.ToggleSwitch,
3493
3480
  {
3494
3481
  checked: true,
3495
3482
  onChange: () => {
@@ -3505,8 +3492,8 @@ var DatasourceFlowNode = react.memo(function DatasourceFlowNode2({ id, data, sel
3505
3492
  ] }),
3506
3493
  /* @__PURE__ */ jsxRuntime.jsxs(NodeCardMeta, { compact: isCompact, children: [
3507
3494
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
3508
- config.dialect && /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "cyan", size: "xs", children: config.dialect }),
3509
- readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Badge, { color: "zinc", size: "xs", children: "sample" }),
3495
+ config.dialect && /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "cyan", size: "xs", children: config.dialect }),
3496
+ readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", children: "sample" }),
3510
3497
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
3511
3498
  columnCount > 0 ? `${columnCount} cols` : null,
3512
3499
  filterCount > 0 ? `${filterCount} filters` : null,
@@ -3635,7 +3622,7 @@ var GroupFlowNode = react.memo(function GroupFlowNode2({ id, data, selected }) {
3635
3622
  ] })
3636
3623
  ] }),
3637
3624
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 flex items-center justify-between", children: [
3638
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: `inline-flex items-center rounded-full bg-slate-100 px-2 py-0.5 text-[10px] font-semibold ${colorScheme.text} dark:bg-slate-500/20`, children: translations("groupNode") }),
3625
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Badge, { color: "zinc", size: "xs", className: colorScheme.text, children: translations("groupNode") }),
3639
3626
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
3640
3627
  /* @__PURE__ */ jsxRuntime.jsx(
3641
3628
  "button",
@@ -3855,8 +3842,8 @@ function ConfigFormActions({
3855
3842
  saveDisabled = false
3856
3843
  }) {
3857
3844
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2 border-t border-gray-200 pt-4 dark:border-gray-700", children: [
3858
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
3859
- /* @__PURE__ */ jsxRuntime.jsx(chunkGCYYGSHU_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
3845
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Button, { type: "button", outline: true, onClick: onCancel, children: cancelLabel }),
3846
+ /* @__PURE__ */ jsxRuntime.jsx(chunkBHOT22QL_js.Button, { type: "button", onClick: onSave, disabled: saveDisabled, children: saveLabel })
3860
3847
  ] });
3861
3848
  }
3862
3849
  var COLOR_CLASSES = {
@@ -4103,7 +4090,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
4103
4090
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center justify-between", children: [
4104
4091
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("conditionsLabel") }),
4105
4092
  /* @__PURE__ */ jsxRuntime.jsx(
4106
- chunkGCYYGSHU_js.Button,
4093
+ chunkBHOT22QL_js.Button,
4107
4094
  {
4108
4095
  type: "button",
4109
4096
  onClick: handleAddCondition,
@@ -4114,7 +4101,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
4114
4101
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: conditions.map((condition, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2 rounded-lg border border-gray-200 bg-gray-50 p-3 dark:border-gray-700 dark:bg-gray-800/50", children: [
4115
4102
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid flex-1 grid-cols-3 gap-2", children: [
4116
4103
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
4117
- chunkGCYYGSHU_js.FormInput,
4104
+ chunkR4EKPXX3_js.FormInput,
4118
4105
  {
4119
4106
  type: "text",
4120
4107
  label: t("variableLabel"),
@@ -4125,7 +4112,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
4125
4112
  }
4126
4113
  ) }),
4127
4114
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
4128
- chunkGCYYGSHU_js.FormSelect,
4115
+ chunkR4EKPXX3_js.FormSelect,
4129
4116
  {
4130
4117
  label: t("operatorLabel"),
4131
4118
  value: condition.operator,
@@ -4135,7 +4122,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
4135
4122
  }
4136
4123
  ) }),
4137
4124
  /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
4138
- chunkGCYYGSHU_js.FormInput,
4125
+ chunkR4EKPXX3_js.FormInput,
4139
4126
  {
4140
4127
  type: "text",
4141
4128
  label: t("valueLabel"),
@@ -4147,7 +4134,7 @@ function IfElseNodeConfigForm({ config, onSave, onCancel }) {
4147
4134
  ) })
4148
4135
  ] }),
4149
4136
  conditions.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
4150
- chunkGCYYGSHU_js.IconButton,
4137
+ chunkBHOT22QL_js.IconButton,
4151
4138
  {
4152
4139
  onClick: () => handleRemoveCondition(index),
4153
4140
  icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
@@ -4519,7 +4506,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
4519
4506
  };
4520
4507
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
4521
4508
  /* @__PURE__ */ jsxRuntime.jsx(
4522
- chunkGCYYGSHU_js.FormSelect,
4509
+ chunkR4EKPXX3_js.FormSelect,
4523
4510
  {
4524
4511
  label: t("methodLabel"),
4525
4512
  value: method,
@@ -4528,7 +4515,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
4528
4515
  }
4529
4516
  ),
4530
4517
  /* @__PURE__ */ jsxRuntime.jsx(
4531
- chunkGCYYGSHU_js.FormInput,
4518
+ chunkR4EKPXX3_js.FormInput,
4532
4519
  {
4533
4520
  type: "text",
4534
4521
  label: t("urlLabel"),
@@ -4541,7 +4528,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
4541
4528
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
4542
4529
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: t("headersLabel") }),
4543
4530
  /* @__PURE__ */ jsxRuntime.jsx(
4544
- chunkGCYYGSHU_js.Button,
4531
+ chunkBHOT22QL_js.Button,
4545
4532
  {
4546
4533
  type: "button",
4547
4534
  onClick: handleAddHeader,
@@ -4551,7 +4538,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
4551
4538
  ] }),
4552
4539
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2", children: headerEntries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
4553
4540
  /* @__PURE__ */ jsxRuntime.jsx(
4554
- chunkGCYYGSHU_js.FormInput,
4541
+ chunkR4EKPXX3_js.FormInput,
4555
4542
  {
4556
4543
  type: "text",
4557
4544
  value: entry.key,
@@ -4561,7 +4548,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
4561
4548
  }
4562
4549
  ),
4563
4550
  /* @__PURE__ */ jsxRuntime.jsx(
4564
- chunkGCYYGSHU_js.FormInput,
4551
+ chunkR4EKPXX3_js.FormInput,
4565
4552
  {
4566
4553
  type: "text",
4567
4554
  value: entry.value,
@@ -4571,7 +4558,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
4571
4558
  }
4572
4559
  ),
4573
4560
  /* @__PURE__ */ jsxRuntime.jsx(
4574
- chunkGCYYGSHU_js.IconButton,
4561
+ chunkBHOT22QL_js.IconButton,
4575
4562
  {
4576
4563
  onClick: () => handleRemoveHeader(index),
4577
4564
  icon: /* @__PURE__ */ jsxRuntime.jsx(outline.TrashIcon, { className: "h-4 w-4" }),
@@ -4583,7 +4570,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
4583
4570
  ] }, index)) })
4584
4571
  ] }),
4585
4572
  method !== "GET" && /* @__PURE__ */ jsxRuntime.jsx(
4586
- chunkGCYYGSHU_js.FormTextarea,
4573
+ chunkR4EKPXX3_js.FormTextarea,
4587
4574
  {
4588
4575
  label: t("bodyLabel"),
4589
4576
  value: body,
@@ -4594,7 +4581,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
4594
4581
  }
4595
4582
  ),
4596
4583
  /* @__PURE__ */ jsxRuntime.jsx(
4597
- chunkGCYYGSHU_js.FormInput,
4584
+ chunkR4EKPXX3_js.FormInput,
4598
4585
  {
4599
4586
  type: "number",
4600
4587
  label: t("timeoutLabel"),
@@ -4606,7 +4593,7 @@ function HttpRequestNodeConfigForm({ config, onSave, onCancel }) {
4606
4593
  }
4607
4594
  ),
4608
4595
  /* @__PURE__ */ jsxRuntime.jsx(
4609
- chunkGCYYGSHU_js.FormSelect,
4596
+ chunkR4EKPXX3_js.FormSelect,
4610
4597
  {
4611
4598
  label: t("parseResponseLabel"),
4612
4599
  value: parseResponse,
@@ -4651,7 +4638,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
4651
4638
  };
4652
4639
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
4653
4640
  /* @__PURE__ */ jsxRuntime.jsx(
4654
- chunkGCYYGSHU_js.FormInput,
4641
+ chunkR4EKPXX3_js.FormInput,
4655
4642
  {
4656
4643
  type: "text",
4657
4644
  label: t("bucketLabel"),
@@ -4661,7 +4648,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
4661
4648
  }
4662
4649
  ),
4663
4650
  /* @__PURE__ */ jsxRuntime.jsx(
4664
- chunkGCYYGSHU_js.FormInput,
4651
+ chunkR4EKPXX3_js.FormInput,
4665
4652
  {
4666
4653
  type: "text",
4667
4654
  label: t("keyLabel"),
@@ -4672,7 +4659,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
4672
4659
  ),
4673
4660
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-lg border border-cyan-200/40 bg-cyan-50/40 px-3 py-2 text-[11px] text-cyan-900 dark:border-cyan-500/30 dark:bg-cyan-500/10 dark:text-cyan-100", children: t("sourceOrBodyHint") }),
4674
4661
  /* @__PURE__ */ jsxRuntime.jsx(
4675
- chunkGCYYGSHU_js.FormInput,
4662
+ chunkR4EKPXX3_js.FormInput,
4676
4663
  {
4677
4664
  type: "text",
4678
4665
  label: t("sourceUrlLabel"),
@@ -4682,7 +4669,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
4682
4669
  }
4683
4670
  ),
4684
4671
  /* @__PURE__ */ jsxRuntime.jsx(
4685
- chunkGCYYGSHU_js.FormTextarea,
4672
+ chunkR4EKPXX3_js.FormTextarea,
4686
4673
  {
4687
4674
  label: t("bodyLabel"),
4688
4675
  value: body,
@@ -4693,7 +4680,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
4693
4680
  }
4694
4681
  ),
4695
4682
  /* @__PURE__ */ jsxRuntime.jsx(
4696
- chunkGCYYGSHU_js.FormInput,
4683
+ chunkR4EKPXX3_js.FormInput,
4697
4684
  {
4698
4685
  type: "text",
4699
4686
  label: t("contentTypeLabel"),
@@ -4703,7 +4690,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
4703
4690
  }
4704
4691
  ),
4705
4692
  /* @__PURE__ */ jsxRuntime.jsx(
4706
- chunkGCYYGSHU_js.FormInput,
4693
+ chunkR4EKPXX3_js.FormInput,
4707
4694
  {
4708
4695
  type: "number",
4709
4696
  label: t("timeoutLabel"),
@@ -4714,7 +4701,7 @@ function S3WriteNodeConfigForm({ config, onSave, onCancel }) {
4714
4701
  }
4715
4702
  ),
4716
4703
  /* @__PURE__ */ jsxRuntime.jsx(
4717
- chunkGCYYGSHU_js.FormInput,
4704
+ chunkR4EKPXX3_js.FormInput,
4718
4705
  {
4719
4706
  type: "text",
4720
4707
  label: t("connectionIdLabel"),
@@ -4743,7 +4730,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
4743
4730
  };
4744
4731
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
4745
4732
  /* @__PURE__ */ jsxRuntime.jsx(
4746
- chunkGCYYGSHU_js.FormTextarea,
4733
+ chunkR4EKPXX3_js.FormTextarea,
4747
4734
  {
4748
4735
  label: t("templateLabel"),
4749
4736
  value: template,
@@ -4754,7 +4741,7 @@ function TemplateTransformNodeConfigForm({ config, onSave, onCancel }) {
4754
4741
  }
4755
4742
  ),
4756
4743
  /* @__PURE__ */ jsxRuntime.jsx(
4757
- chunkGCYYGSHU_js.FormInput,
4744
+ chunkR4EKPXX3_js.FormInput,
4758
4745
  {
4759
4746
  type: "text",
4760
4747
  label: t("outputVariableLabel"),
@@ -4783,7 +4770,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
4783
4770
  };
4784
4771
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
4785
4772
  /* @__PURE__ */ jsxRuntime.jsx(
4786
- chunkGCYYGSHU_js.FormInput,
4773
+ chunkR4EKPXX3_js.FormInput,
4787
4774
  {
4788
4775
  type: "text",
4789
4776
  label: t("iteratorVariableLabel"),
@@ -4793,7 +4780,7 @@ function IterationNodeConfigForm({ config, onSave, onCancel }) {
4793
4780
  }
4794
4781
  ),
4795
4782
  /* @__PURE__ */ jsxRuntime.jsx(
4796
- chunkGCYYGSHU_js.FormInput,
4783
+ chunkR4EKPXX3_js.FormInput,
4797
4784
  {
4798
4785
  type: "number",
4799
4786
  label: t("maxIterationsLabel"),
@@ -4824,7 +4811,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
4824
4811
  };
4825
4812
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
4826
4813
  /* @__PURE__ */ jsxRuntime.jsx(
4827
- chunkGCYYGSHU_js.FormInput,
4814
+ chunkR4EKPXX3_js.FormInput,
4828
4815
  {
4829
4816
  type: "text",
4830
4817
  label: t("sourceIdLabel"),
@@ -4834,7 +4821,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
4834
4821
  }
4835
4822
  ),
4836
4823
  /* @__PURE__ */ jsxRuntime.jsx(
4837
- chunkGCYYGSHU_js.FormInput,
4824
+ chunkR4EKPXX3_js.FormInput,
4838
4825
  {
4839
4826
  type: "number",
4840
4827
  label: t("topKLabel"),
@@ -4845,7 +4832,7 @@ function KnowledgeBaseNodeConfigForm({ config, onSave, onCancel }) {
4845
4832
  }
4846
4833
  ),
4847
4834
  /* @__PURE__ */ jsxRuntime.jsx(
4848
- chunkGCYYGSHU_js.FormInput,
4835
+ chunkR4EKPXX3_js.FormInput,
4849
4836
  {
4850
4837
  type: "number",
4851
4838
  label: t("similarityThresholdLabel"),
@@ -4876,7 +4863,7 @@ function AnswerNodeConfigForm({ config, onSave, onCancel }) {
4876
4863
  };
4877
4864
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
4878
4865
  /* @__PURE__ */ jsxRuntime.jsx(
4879
- chunkGCYYGSHU_js.FormTextarea,
4866
+ chunkR4EKPXX3_js.FormTextarea,
4880
4867
  {
4881
4868
  label: t("outputTemplateLabel"),
4882
4869
  hint: t("outputTemplateHelp"),
@@ -5310,7 +5297,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
5310
5297
  }
5311
5298
  ),
5312
5299
  /* @__PURE__ */ jsxRuntime.jsx(
5313
- chunkGCYYGSHU_js.FormInput,
5300
+ chunkR4EKPXX3_js.FormInput,
5314
5301
  {
5315
5302
  type: "text",
5316
5303
  label: t("outputVariableLabel"),
@@ -5320,7 +5307,7 @@ function VariableAggregatorNodeConfigForm({ config, onSave, onCancel }) {
5320
5307
  }
5321
5308
  ),
5322
5309
  /* @__PURE__ */ jsxRuntime.jsx(
5323
- chunkGCYYGSHU_js.FormSelect,
5310
+ chunkR4EKPXX3_js.FormSelect,
5324
5311
  {
5325
5312
  label: t("aggregationModeLabel"),
5326
5313
  value: aggregationMode,
@@ -5353,7 +5340,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
5353
5340
  };
5354
5341
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
5355
5342
  /* @__PURE__ */ jsxRuntime.jsx(
5356
- chunkGCYYGSHU_js.FormSelect,
5343
+ chunkR4EKPXX3_js.FormSelect,
5357
5344
  {
5358
5345
  label: t("extractionModeLabel"),
5359
5346
  value: extractionMode,
@@ -5362,7 +5349,7 @@ function DocumentExtractorNodeConfigForm({ config, onSave, onCancel }) {
5362
5349
  }
5363
5350
  ),
5364
5351
  /* @__PURE__ */ jsxRuntime.jsx(
5365
- chunkGCYYGSHU_js.FormInput,
5352
+ chunkR4EKPXX3_js.FormInput,
5366
5353
  {
5367
5354
  type: "text",
5368
5355
  label: t("outputVariableLabel"),
@@ -5539,7 +5526,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
5539
5526
  };
5540
5527
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
5541
5528
  /* @__PURE__ */ jsxRuntime.jsx(
5542
- chunkGCYYGSHU_js.FormInput,
5529
+ chunkR4EKPXX3_js.FormInput,
5543
5530
  {
5544
5531
  type: "text",
5545
5532
  label: t("iteratorVariableLabel"),
@@ -5549,7 +5536,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
5549
5536
  }
5550
5537
  ),
5551
5538
  /* @__PURE__ */ jsxRuntime.jsx(
5552
- chunkGCYYGSHU_js.FormInput,
5539
+ chunkR4EKPXX3_js.FormInput,
5553
5540
  {
5554
5541
  type: "text",
5555
5542
  label: t("itemVariableLabel"),
@@ -5559,7 +5546,7 @@ function IterationStartNodeConfigForm({ config, onSave, onCancel }) {
5559
5546
  }
5560
5547
  ),
5561
5548
  /* @__PURE__ */ jsxRuntime.jsx(
5562
- chunkGCYYGSHU_js.FormInput,
5549
+ chunkR4EKPXX3_js.FormInput,
5563
5550
  {
5564
5551
  type: "text",
5565
5552
  label: t("indexVariableLabel"),
@@ -5831,7 +5818,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
5831
5818
  };
5832
5819
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
5833
5820
  /* @__PURE__ */ jsxRuntime.jsx(
5834
- chunkGCYYGSHU_js.FormInput,
5821
+ chunkR4EKPXX3_js.FormInput,
5835
5822
  {
5836
5823
  type: "text",
5837
5824
  label: translations("labelField"),
@@ -5841,7 +5828,7 @@ function GroupNodeConfigForm({ config, onSave, onCancel }) {
5841
5828
  }
5842
5829
  ),
5843
5830
  /* @__PURE__ */ jsxRuntime.jsx(
5844
- chunkGCYYGSHU_js.FormTextarea,
5831
+ chunkR4EKPXX3_js.FormTextarea,
5845
5832
  {
5846
5833
  label: translations("descriptionField"),
5847
5834
  value: description,
@@ -5899,7 +5886,7 @@ function RuleNodeConfigForm({ config, onSave, onCancel, availableRules }) {
5899
5886
  ]
5900
5887
  }
5901
5888
  ) : /* @__PURE__ */ jsxRuntime.jsx(
5902
- chunkGCYYGSHU_js.FormInput,
5889
+ chunkR4EKPXX3_js.FormInput,
5903
5890
  {
5904
5891
  type: "text",
5905
5892
  value: ruleId,
@@ -5915,7 +5902,7 @@ function RuleNodeConfigForm({ config, onSave, onCancel, availableRules }) {
5915
5902
  ] }),
5916
5903
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-3", children: [
5917
5904
  /* @__PURE__ */ jsxRuntime.jsx(
5918
- chunkGCYYGSHU_js.FormInput,
5905
+ chunkR4EKPXX3_js.FormInput,
5919
5906
  {
5920
5907
  type: "number",
5921
5908
  label: t("priorityLabel", { _: "Priority" }),
@@ -5987,7 +5974,7 @@ function AgentNodeConfigForm({
5987
5974
  }));
5988
5975
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
5989
5976
  agentOptions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
5990
- chunkGCYYGSHU_js.FormSelect,
5977
+ chunkR4EKPXX3_js.FormSelect,
5991
5978
  {
5992
5979
  label: t("agentLabel", { _: "Agent" }),
5993
5980
  value: agentId,
@@ -5995,7 +5982,7 @@ function AgentNodeConfigForm({
5995
5982
  options: [{ value: "", label: t("agentPickPrompt", { _: "Choose an agent\u2026" }) }, ...agentOptions]
5996
5983
  }
5997
5984
  ) : /* @__PURE__ */ jsxRuntime.jsx(
5998
- chunkGCYYGSHU_js.FormInput,
5985
+ chunkR4EKPXX3_js.FormInput,
5999
5986
  {
6000
5987
  type: "text",
6001
5988
  label: t("agentIdLabel", { _: "Agent ID" }),
@@ -6005,7 +5992,7 @@ function AgentNodeConfigForm({
6005
5992
  }
6006
5993
  ),
6007
5994
  connOptions.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
6008
- chunkGCYYGSHU_js.FormSelect,
5995
+ chunkR4EKPXX3_js.FormSelect,
6009
5996
  {
6010
5997
  label: t("connectionLabel", { _: "Model provider connection" }),
6011
5998
  value: connectionId,
@@ -6013,7 +6000,7 @@ function AgentNodeConfigForm({
6013
6000
  options: [{ value: "", label: t("connectionPickPrompt", { _: "Inline model (no connection)" }) }, ...connOptions]
6014
6001
  }
6015
6002
  ) : /* @__PURE__ */ jsxRuntime.jsx(
6016
- chunkGCYYGSHU_js.FormInput,
6003
+ chunkR4EKPXX3_js.FormInput,
6017
6004
  {
6018
6005
  type: "text",
6019
6006
  label: t("connectionIdLabel", { _: "Connection ID" }),
@@ -6023,7 +6010,7 @@ function AgentNodeConfigForm({
6023
6010
  }
6024
6011
  ),
6025
6012
  /* @__PURE__ */ jsxRuntime.jsx(
6026
- chunkGCYYGSHU_js.FormInput,
6013
+ chunkR4EKPXX3_js.FormInput,
6027
6014
  {
6028
6015
  type: "text",
6029
6016
  label: t("modelIdLabel", { _: "Model override (optional)" }),
@@ -6033,7 +6020,7 @@ function AgentNodeConfigForm({
6033
6020
  }
6034
6021
  ),
6035
6022
  /* @__PURE__ */ jsxRuntime.jsx(
6036
- chunkGCYYGSHU_js.FormTextarea,
6023
+ chunkR4EKPXX3_js.FormTextarea,
6037
6024
  {
6038
6025
  label: t("systemPromptLabel", { _: "System prompt" }),
6039
6026
  value: systemPrompt,
@@ -6043,7 +6030,7 @@ function AgentNodeConfigForm({
6043
6030
  }
6044
6031
  ),
6045
6032
  /* @__PURE__ */ jsxRuntime.jsx(
6046
- chunkGCYYGSHU_js.FormTextarea,
6033
+ chunkR4EKPXX3_js.FormTextarea,
6047
6034
  {
6048
6035
  label: t("userPromptLabel", { _: "User prompt" }),
6049
6036
  value: userPrompt,
@@ -6054,7 +6041,7 @@ function AgentNodeConfigForm({
6054
6041
  ),
6055
6042
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-3", children: [
6056
6043
  /* @__PURE__ */ jsxRuntime.jsx(
6057
- chunkGCYYGSHU_js.FormInput,
6044
+ chunkR4EKPXX3_js.FormInput,
6058
6045
  {
6059
6046
  type: "number",
6060
6047
  label: t("maxTokensLabel", { _: "Max output tokens" }),
@@ -6066,7 +6053,7 @@ function AgentNodeConfigForm({
6066
6053
  }
6067
6054
  ),
6068
6055
  /* @__PURE__ */ jsxRuntime.jsx(
6069
- chunkGCYYGSHU_js.FormInput,
6056
+ chunkR4EKPXX3_js.FormInput,
6070
6057
  {
6071
6058
  type: "number",
6072
6059
  label: t("temperatureLabel", { _: "Temperature" }),
@@ -6103,7 +6090,7 @@ function AudioInputNodeConfigForm({ config, onSave, onCancel }) {
6103
6090
  };
6104
6091
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
6105
6092
  /* @__PURE__ */ jsxRuntime.jsx(
6106
- chunkGCYYGSHU_js.FormInput,
6093
+ chunkR4EKPXX3_js.FormInput,
6107
6094
  {
6108
6095
  type: "text",
6109
6096
  label: t("urlLabel"),
@@ -6113,7 +6100,7 @@ function AudioInputNodeConfigForm({ config, onSave, onCancel }) {
6113
6100
  }
6114
6101
  ),
6115
6102
  /* @__PURE__ */ jsxRuntime.jsx(
6116
- chunkGCYYGSHU_js.FormSelect,
6103
+ chunkR4EKPXX3_js.FormSelect,
6117
6104
  {
6118
6105
  label: t("formatLabel"),
6119
6106
  value: format,
@@ -6162,7 +6149,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
6162
6149
  };
6163
6150
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
6164
6151
  /* @__PURE__ */ jsxRuntime.jsx(
6165
- chunkGCYYGSHU_js.FormInput,
6152
+ chunkR4EKPXX3_js.FormInput,
6166
6153
  {
6167
6154
  type: "text",
6168
6155
  label: t("audioUrlLabel"),
@@ -6172,7 +6159,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
6172
6159
  }
6173
6160
  ),
6174
6161
  /* @__PURE__ */ jsxRuntime.jsx(
6175
- chunkGCYYGSHU_js.FormInput,
6162
+ chunkR4EKPXX3_js.FormInput,
6176
6163
  {
6177
6164
  type: "text",
6178
6165
  label: t("modelLabel"),
@@ -6182,7 +6169,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
6182
6169
  }
6183
6170
  ),
6184
6171
  /* @__PURE__ */ jsxRuntime.jsx(
6185
- chunkGCYYGSHU_js.FormInput,
6172
+ chunkR4EKPXX3_js.FormInput,
6186
6173
  {
6187
6174
  type: "text",
6188
6175
  label: t("languageLabel"),
@@ -6192,7 +6179,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
6192
6179
  }
6193
6180
  ),
6194
6181
  /* @__PURE__ */ jsxRuntime.jsx(
6195
- chunkGCYYGSHU_js.FormTextarea,
6182
+ chunkR4EKPXX3_js.FormTextarea,
6196
6183
  {
6197
6184
  label: t("promptLabel"),
6198
6185
  value: prompt,
@@ -6202,7 +6189,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
6202
6189
  }
6203
6190
  ),
6204
6191
  /* @__PURE__ */ jsxRuntime.jsx(
6205
- chunkGCYYGSHU_js.FormSelect,
6192
+ chunkR4EKPXX3_js.FormSelect,
6206
6193
  {
6207
6194
  label: t("responseFormatLabel"),
6208
6195
  value: responseFormat,
@@ -6211,7 +6198,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
6211
6198
  }
6212
6199
  ),
6213
6200
  /* @__PURE__ */ jsxRuntime.jsx(
6214
- chunkGCYYGSHU_js.FormInput,
6201
+ chunkR4EKPXX3_js.FormInput,
6215
6202
  {
6216
6203
  type: "text",
6217
6204
  label: t("endpointLabel"),
@@ -6221,7 +6208,7 @@ function SpeechTranscriberNodeConfigForm({ config, onSave, onCancel }) {
6221
6208
  }
6222
6209
  ),
6223
6210
  /* @__PURE__ */ jsxRuntime.jsx(
6224
- chunkGCYYGSHU_js.FormInput,
6211
+ chunkR4EKPXX3_js.FormInput,
6225
6212
  {
6226
6213
  type: "number",
6227
6214
  label: t("timeoutLabel"),
@@ -6436,7 +6423,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
6436
6423
  };
6437
6424
  const isExperimental = isExperimentalNodeType(config.type);
6438
6425
  return /* @__PURE__ */ jsxRuntime.jsxs(
6439
- chunkGCYYGSHU_js.GlassModal,
6426
+ chunkR4EKPXX3_js.GlassModal,
6440
6427
  {
6441
6428
  open,
6442
6429
  onClose: closeModal,
@@ -6507,7 +6494,7 @@ function NodeContextMenu({ position, targetId, onClose, onEdit, onDuplicate, onC
6507
6494
  }
6508
6495
  ];
6509
6496
  return /* @__PURE__ */ jsxRuntime.jsx(
6510
- chunkGCYYGSHU_js.ContextMenu,
6497
+ chunkR4EKPXX3_js.ContextMenu,
6511
6498
  {
6512
6499
  position,
6513
6500
  onClose,
@@ -6564,7 +6551,7 @@ function PanelContextMenu({ position, onClose, onPaste, onSelectAll, onFitView,
6564
6551
  }
6565
6552
  ];
6566
6553
  return /* @__PURE__ */ jsxRuntime.jsx(
6567
- chunkGCYYGSHU_js.ContextMenu,
6554
+ chunkR4EKPXX3_js.ContextMenu,
6568
6555
  {
6569
6556
  position,
6570
6557
  onClose,
@@ -6711,7 +6698,7 @@ function SelectionContextMenu({
6711
6698
  }
6712
6699
  ];
6713
6700
  return /* @__PURE__ */ jsxRuntime.jsx(
6714
- chunkGCYYGSHU_js.ContextMenu,
6701
+ chunkR4EKPXX3_js.ContextMenu,
6715
6702
  {
6716
6703
  position,
6717
6704
  onClose,
@@ -8669,5 +8656,5 @@ exports.useModalStore = useModalStore;
8669
8656
  exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
8670
8657
  exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
8671
8658
  exports.useWorkflowStore = useWorkflowStore;
8672
- //# sourceMappingURL=chunk-SQZGQOKU.js.map
8673
- //# sourceMappingURL=chunk-SQZGQOKU.js.map
8659
+ //# sourceMappingURL=chunk-RWYG7QHP.js.map
8660
+ //# sourceMappingURL=chunk-RWYG7QHP.js.map