@datatechsolutions/ui 2.11.31 → 2.11.32
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/astrlabe/index.js +136 -132
- package/dist/astrlabe/index.js.map +1 -1
- package/dist/astrlabe/index.mjs +7 -3
- package/dist/astrlabe/index.mjs.map +1 -1
- package/dist/astrlabe/workflow-canvas.js +3 -3
- package/dist/astrlabe/workflow-canvas.mjs +2 -2
- package/dist/{chunk-KPHTHSHJ.js → chunk-3N76EFJM.js} +19 -6
- package/dist/chunk-3N76EFJM.js.map +1 -0
- package/dist/{chunk-KMDY6OLI.js → chunk-7O3FQ2PW.js} +51 -48
- package/dist/chunk-7O3FQ2PW.js.map +1 -0
- package/dist/{chunk-5ZWN5Q7H.mjs → chunk-QNR3NADH.mjs} +19 -6
- package/dist/chunk-QNR3NADH.mjs.map +1 -0
- package/dist/{chunk-N4G3UXRU.mjs → chunk-YNZAYMGD.mjs} +6 -3
- package/dist/chunk-YNZAYMGD.mjs.map +1 -0
- package/dist/index.d.mts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +709 -709
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5ZWN5Q7H.mjs.map +0 -1
- package/dist/chunk-KMDY6OLI.js.map +0 -1
- package/dist/chunk-KPHTHSHJ.js.map +0 -1
- package/dist/chunk-N4G3UXRU.mjs.map +0 -1
package/dist/astrlabe/index.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
require('../chunk-55H6WZQP.js');
|
|
5
5
|
var chunk3GE3MBUZ_js = require('../chunk-3GE3MBUZ.js');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var chunk7O3FQ2PW_js = require('../chunk-7O3FQ2PW.js');
|
|
7
|
+
var chunk3N76EFJM_js = require('../chunk-3N76EFJM.js');
|
|
8
8
|
var chunkYXN2K77G_js = require('../chunk-YXN2K77G.js');
|
|
9
9
|
require('../chunk-S7KHTUHA.js');
|
|
10
10
|
require('../chunk-UZ3CMNUJ.js');
|
|
@@ -83,7 +83,7 @@ function OutputCard({ label, value }) {
|
|
|
83
83
|
function AgentProfileHeader({ agent, models, t, selectedModelId, setSelectedModelId, selectedFramework, temperature, setTemperature, elo, setElo, onChanged }) {
|
|
84
84
|
const modelName = models.find((model) => model.id === selectedModelId)?.name ?? selectedModelId ?? "\u2014";
|
|
85
85
|
const avatarUrl = agent.avatar;
|
|
86
|
-
const frameworkMeta =
|
|
86
|
+
const frameworkMeta = chunk7O3FQ2PW_js.getFrameworkMeta(selectedFramework);
|
|
87
87
|
const tierInfo = getEloTier(elo);
|
|
88
88
|
const difficultyConfig = {
|
|
89
89
|
beginner: { color: "bg-cyan-100 text-cyan-700 dark:bg-cyan-900/30 dark:text-cyan-400", labelKey: "agentDrawer.tierBeginner" },
|
|
@@ -359,13 +359,13 @@ function AgentCapabilityCard({ elo, setElo, models, selectedModelId, setSelected
|
|
|
359
359
|
] });
|
|
360
360
|
}
|
|
361
361
|
function ConfigTab({ models, t, selectedModelId, setSelectedModelId, selectedFramework, setSelectedFramework, markDirty, connectedProviderTypes }) {
|
|
362
|
-
const frameworkKeys = Object.keys(
|
|
362
|
+
const frameworkKeys = Object.keys(chunk7O3FQ2PW_js.FRAMEWORK_META);
|
|
363
363
|
const hasProviderConstraints = connectedProviderTypes.length > 0;
|
|
364
|
-
const compatibleModels =
|
|
364
|
+
const compatibleModels = chunk7O3FQ2PW_js.getCompatibleModels(models, selectedFramework);
|
|
365
365
|
const handleFrameworkChange = react.useCallback((newFramework) => {
|
|
366
366
|
setSelectedFramework(newFramework);
|
|
367
|
-
if (!
|
|
368
|
-
const compatible =
|
|
367
|
+
if (!chunk7O3FQ2PW_js.isModelCompatibleWithFramework(selectedModelId, newFramework)) {
|
|
368
|
+
const compatible = chunk7O3FQ2PW_js.getCompatibleModels(models, newFramework);
|
|
369
369
|
if (compatible.length > 0) {
|
|
370
370
|
setSelectedModelId(compatible[0].id);
|
|
371
371
|
}
|
|
@@ -376,10 +376,10 @@ function ConfigTab({ models, t, selectedModelId, setSelectedModelId, selectedFra
|
|
|
376
376
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
377
377
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "mb-2 block text-xs font-medium text-gray-500 dark:text-gray-400", children: t("agentDrawer.framework") }),
|
|
378
378
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1.5", children: frameworkKeys.map((key) => {
|
|
379
|
-
const meta =
|
|
379
|
+
const meta = chunk7O3FQ2PW_js.FRAMEWORK_META[key];
|
|
380
380
|
const isSelected = key === selectedFramework;
|
|
381
|
-
const compatCount =
|
|
382
|
-
const isCompatibleWithProviders = !hasProviderConstraints ||
|
|
381
|
+
const compatCount = chunk7O3FQ2PW_js.getCompatibleModels(models, key).length;
|
|
382
|
+
const isCompatibleWithProviders = !hasProviderConstraints || chunk7O3FQ2PW_js.isFrameworkCompatibleWithProviders(key, connectedProviderTypes);
|
|
383
383
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
384
384
|
"button",
|
|
385
385
|
{
|
|
@@ -411,7 +411,7 @@ function ConfigTab({ models, t, selectedModelId, setSelectedModelId, selectedFra
|
|
|
411
411
|
] }),
|
|
412
412
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-2", children: models.map((model) => {
|
|
413
413
|
const isSelected = model.id === selectedModelId;
|
|
414
|
-
const isCompatible =
|
|
414
|
+
const isCompatible = chunk7O3FQ2PW_js.isModelCompatibleWithFramework(model.id, selectedFramework);
|
|
415
415
|
const { IconComponent, color, providerLabel } = getModelIcon(model.id);
|
|
416
416
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
417
417
|
"button",
|
|
@@ -510,7 +510,7 @@ function PromptTab({ agent, temperature, setTemperature, markDirty, t }) {
|
|
|
510
510
|
] });
|
|
511
511
|
}
|
|
512
512
|
function ResultsTab({ agentId, t }) {
|
|
513
|
-
const nodeResults =
|
|
513
|
+
const nodeResults = chunk7O3FQ2PW_js.useWorkflowStore((state) => state.nodeResults);
|
|
514
514
|
const agentResult = react.useMemo(() => {
|
|
515
515
|
return nodeResults[agentId] ?? null;
|
|
516
516
|
}, [nodeResults, agentId]);
|
|
@@ -600,10 +600,10 @@ function ModelsTab({ modelProviders, selectedProviderId, onSelectProvider, model
|
|
|
600
600
|
const providerModels = modelsByProvider.find((p) => p.provider.id === selectedProviderId);
|
|
601
601
|
if (!providerModels || providerModels.models.length === 0) return /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-gray-400 dark:text-gray-500", children: t("agentDrawer.noModelsForProvider") });
|
|
602
602
|
const compatibleModels = providerModels.models.filter(
|
|
603
|
-
(m) =>
|
|
603
|
+
(m) => chunk7O3FQ2PW_js.isModelCompatibleWithFramework(m.id, agentFramework)
|
|
604
604
|
);
|
|
605
605
|
const incompatibleModels = providerModels.models.filter(
|
|
606
|
-
(m) => !
|
|
606
|
+
(m) => !chunk7O3FQ2PW_js.isModelCompatibleWithFramework(m.id, agentFramework)
|
|
607
607
|
);
|
|
608
608
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
609
609
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "mb-2 block text-xs font-medium text-gray-500 dark:text-gray-400", children: t("agentDrawer.selectModel") }),
|
|
@@ -676,7 +676,7 @@ function ToolsTab({ agentTools, enabledToolIds, onToggle, agentFramework, t }) {
|
|
|
676
676
|
] }),
|
|
677
677
|
tool.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-[10px] text-gray-400 dark:text-gray-500", children: tool.description }),
|
|
678
678
|
tool.compatibleFrameworks && tool.compatibleFrameworks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1 flex flex-wrap gap-0.5", children: tool.compatibleFrameworks.map((framework) => {
|
|
679
|
-
const meta =
|
|
679
|
+
const meta = chunk7O3FQ2PW_js.getFrameworkMeta(framework);
|
|
680
680
|
const isCurrentFw = framework === agentFramework;
|
|
681
681
|
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: `inline-flex items-center gap-0.5 rounded px-1.5 py-0.5 text-[8px] font-medium ${isCurrentFw ? meta.badgeColor : "bg-gray-100 text-gray-500 dark:bg-white/5 dark:text-gray-400"}`, children: [
|
|
682
682
|
/* @__PURE__ */ jsxRuntime.jsx(meta.IconComponent, { className: "h-2.5 w-2.5" }),
|
|
@@ -693,12 +693,13 @@ function ToolsTab({ agentTools, enabledToolIds, onToggle, agentFramework, t }) {
|
|
|
693
693
|
event.stopPropagation();
|
|
694
694
|
},
|
|
695
695
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
696
|
-
|
|
696
|
+
chunk3N76EFJM_js.ToggleSwitch,
|
|
697
697
|
{
|
|
698
698
|
checked: isEnabled,
|
|
699
699
|
onChange: () => onToggle(tool.agentToolId),
|
|
700
700
|
disabled: !isCompatible,
|
|
701
701
|
size: "sm",
|
|
702
|
+
color: "indigo",
|
|
702
703
|
label: `${tool.name} enabled`
|
|
703
704
|
}
|
|
704
705
|
)
|
|
@@ -713,9 +714,9 @@ function ToolsTab({ agentTools, enabledToolIds, onToggle, agentFramework, t }) {
|
|
|
713
714
|
}
|
|
714
715
|
function AgentModal({ onSaved }) {
|
|
715
716
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
716
|
-
const activeModal =
|
|
717
|
-
const agentData =
|
|
718
|
-
const closeModal =
|
|
717
|
+
const activeModal = chunk7O3FQ2PW_js.useModalStore((s) => s.activeModal);
|
|
718
|
+
const agentData = chunk7O3FQ2PW_js.useModalStore((s) => s.agentData);
|
|
719
|
+
const closeModal = chunk7O3FQ2PW_js.useModalStore((s) => s.closeModal);
|
|
719
720
|
const open = activeModal === "agent";
|
|
720
721
|
const agent = agentData?.agent ?? null;
|
|
721
722
|
const models = agentData?.models ?? [];
|
|
@@ -790,7 +791,7 @@ function AgentModal({ onSaved }) {
|
|
|
790
791
|
)
|
|
791
792
|
] });
|
|
792
793
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
793
|
-
|
|
794
|
+
chunk3N76EFJM_js.GlassModal,
|
|
794
795
|
{
|
|
795
796
|
open,
|
|
796
797
|
onClose: handleClose,
|
|
@@ -942,7 +943,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
942
943
|
const markDirty = useSubworkflowStore((s) => s.markDirty);
|
|
943
944
|
const markSaved = useSubworkflowStore((s) => s.markSaved);
|
|
944
945
|
const closeModal = useSubworkflowStore((s) => s.closeModal);
|
|
945
|
-
const agentBehind =
|
|
946
|
+
const agentBehind = chunk7O3FQ2PW_js.useModalStore((s) => s.activeModal === "agent" ? s.agentData?.agent?.name : null);
|
|
946
947
|
const isCreateMode = !tool?.toolId;
|
|
947
948
|
const initialGraph = react.useMemo(() => {
|
|
948
949
|
const config = tool?.config;
|
|
@@ -971,9 +972,9 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
971
972
|
}, [tool, onSaved, name, category, description, timeoutMs, latestGraphRef, markSaved]);
|
|
972
973
|
if (!tool) return null;
|
|
973
974
|
const categoryKey = category ?? "external";
|
|
974
|
-
const gradient = tool.color ??
|
|
975
|
-
const categoryPill =
|
|
976
|
-
const IconComponent =
|
|
975
|
+
const gradient = tool.color ?? chunk7O3FQ2PW_js.CATEGORY_COLORS[categoryKey] ?? chunk7O3FQ2PW_js.CATEGORY_COLORS.external;
|
|
976
|
+
const categoryPill = chunk7O3FQ2PW_js.CATEGORY_PILL_COLORS[categoryKey] ?? chunk7O3FQ2PW_js.CATEGORY_PILL_COLORS.external;
|
|
977
|
+
const IconComponent = chunk7O3FQ2PW_js.ICON_MAP[tool.icon ?? ""] ?? outline.ArrowPathRoundedSquareIcon;
|
|
977
978
|
const graph = latestGraphRef.current;
|
|
978
979
|
const startNode = graph.nodes.find((n) => n.type === "start");
|
|
979
980
|
const endNode = graph.nodes.find((n) => n.type === "end");
|
|
@@ -1006,7 +1007,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1006
1007
|
] })
|
|
1007
1008
|
] });
|
|
1008
1009
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1009
|
-
|
|
1010
|
+
chunk3N76EFJM_js.GlassModal,
|
|
1010
1011
|
{
|
|
1011
1012
|
open,
|
|
1012
1013
|
onClose: closeModal,
|
|
@@ -1038,7 +1039,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1038
1039
|
{
|
|
1039
1040
|
type: "button",
|
|
1040
1041
|
onClick: () => setCategory(cat),
|
|
1041
|
-
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${
|
|
1042
|
+
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${chunk7O3FQ2PW_js.CATEGORY_PILL_COLORS[cat] ?? chunk7O3FQ2PW_js.CATEGORY_PILL_COLORS.external} ring-1 ring-current/20` : "bg-white/30 text-gray-500 hover:bg-white/50 dark:bg-white/5 dark:text-gray-400"}`,
|
|
1042
1043
|
children: cat
|
|
1043
1044
|
},
|
|
1044
1045
|
cat
|
|
@@ -1125,7 +1126,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1125
1126
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto" })
|
|
1126
1127
|
] }),
|
|
1127
1128
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1128
|
-
|
|
1129
|
+
chunk7O3FQ2PW_js.WorkflowCanvas,
|
|
1129
1130
|
{
|
|
1130
1131
|
initialGraph,
|
|
1131
1132
|
agents: [],
|
|
@@ -1162,7 +1163,7 @@ function WorkspaceModal({
|
|
|
1162
1163
|
}) {
|
|
1163
1164
|
const resolvedSize = LEGACY_WIDTH_MAP[maxWidth] ?? maxWidth;
|
|
1164
1165
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1165
|
-
|
|
1166
|
+
chunk3N76EFJM_js.GlassModal,
|
|
1166
1167
|
{
|
|
1167
1168
|
open,
|
|
1168
1169
|
onClose,
|
|
@@ -1183,9 +1184,9 @@ function WorkspaceModal({
|
|
|
1183
1184
|
}
|
|
1184
1185
|
function PipelineSettingsModal({ onSave }) {
|
|
1185
1186
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
1186
|
-
const activeModal =
|
|
1187
|
-
const data =
|
|
1188
|
-
const closeModal =
|
|
1187
|
+
const activeModal = chunk7O3FQ2PW_js.useModalStore((s) => s.activeModal);
|
|
1188
|
+
const data = chunk7O3FQ2PW_js.useModalStore((s) => s.pipelineSettingsData);
|
|
1189
|
+
const closeModal = chunk7O3FQ2PW_js.useModalStore((s) => s.closeModal);
|
|
1189
1190
|
const open = activeModal === "pipeline-settings";
|
|
1190
1191
|
const [nameValue, setNameValue] = react.useState("");
|
|
1191
1192
|
const [descriptionValue, setDescriptionValue] = react.useState("");
|
|
@@ -1220,7 +1221,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1220
1221
|
}
|
|
1221
1222
|
),
|
|
1222
1223
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1223
|
-
|
|
1224
|
+
chunk3N76EFJM_js.Button,
|
|
1224
1225
|
{
|
|
1225
1226
|
type: "submit",
|
|
1226
1227
|
form: "pipeline-settings-form",
|
|
@@ -1235,7 +1236,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1235
1236
|
)
|
|
1236
1237
|
] });
|
|
1237
1238
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1238
|
-
|
|
1239
|
+
chunk3N76EFJM_js.GlassModal,
|
|
1239
1240
|
{
|
|
1240
1241
|
open,
|
|
1241
1242
|
onClose: closeModal,
|
|
@@ -1249,7 +1250,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1249
1250
|
onSubmit: handleSubmit,
|
|
1250
1251
|
children: /* @__PURE__ */ jsxRuntime.jsxs("form", { id: "pipeline-settings-form", onSubmit: handleSubmit, className: "space-y-6", children: [
|
|
1251
1252
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1252
|
-
|
|
1253
|
+
chunk3N76EFJM_js.FormInput,
|
|
1253
1254
|
{
|
|
1254
1255
|
label: t("pipelineName"),
|
|
1255
1256
|
value: nameValue,
|
|
@@ -1259,7 +1260,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1259
1260
|
}
|
|
1260
1261
|
),
|
|
1261
1262
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1262
|
-
|
|
1263
|
+
chunk3N76EFJM_js.FormTextarea,
|
|
1263
1264
|
{
|
|
1264
1265
|
label: t("pipelineDescription"),
|
|
1265
1266
|
value: descriptionValue,
|
|
@@ -1394,8 +1395,8 @@ function CollapsibleSection({ title, icon, colorClass, defaultOpen = true, count
|
|
|
1394
1395
|
] });
|
|
1395
1396
|
}
|
|
1396
1397
|
function LogicNodeItemCard({ item, translationFunction }) {
|
|
1397
|
-
const IconComponent =
|
|
1398
|
-
const gradient =
|
|
1398
|
+
const IconComponent = chunk7O3FQ2PW_js.LOGIC_ICON_MAP[item.nodeType];
|
|
1399
|
+
const gradient = chunk7O3FQ2PW_js.LOGIC_NODE_GRADIENTS[item.nodeType] ?? "from-gray-400 to-gray-500";
|
|
1399
1400
|
const defaultConfig = chunkPWBWP5FJ_js.createDefaultLogicNodeConfig(item.nodeType);
|
|
1400
1401
|
const configJson = defaultConfig ? JSON.stringify(defaultConfig) : void 0;
|
|
1401
1402
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1561,13 +1562,14 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1561
1562
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-[10px] text-gray-400 dark:text-gray-500", children: tool.category })
|
|
1562
1563
|
] }),
|
|
1563
1564
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1564
|
-
|
|
1565
|
+
chunk3N76EFJM_js.ToggleSwitch,
|
|
1565
1566
|
{
|
|
1566
1567
|
checked: Boolean(tool.enabled),
|
|
1567
1568
|
onChange: () => {
|
|
1568
1569
|
},
|
|
1569
1570
|
disabled: true,
|
|
1570
1571
|
size: "sm",
|
|
1572
|
+
color: "blue",
|
|
1571
1573
|
label: `${tool.name} enabled`
|
|
1572
1574
|
}
|
|
1573
1575
|
)
|
|
@@ -1601,13 +1603,14 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1601
1603
|
] })
|
|
1602
1604
|
] }),
|
|
1603
1605
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1604
|
-
|
|
1606
|
+
chunk3N76EFJM_js.ToggleSwitch,
|
|
1605
1607
|
{
|
|
1606
1608
|
checked: Boolean(rule.enabled),
|
|
1607
1609
|
onChange: () => {
|
|
1608
1610
|
},
|
|
1609
1611
|
disabled: true,
|
|
1610
1612
|
size: "sm",
|
|
1613
|
+
color: "violet",
|
|
1611
1614
|
label: `${rule.name} enabled`
|
|
1612
1615
|
}
|
|
1613
1616
|
)
|
|
@@ -1636,8 +1639,8 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1636
1639
|
limit: entity.defaultLimit
|
|
1637
1640
|
});
|
|
1638
1641
|
const dsLogo = getDatasourceLogo(entity.id);
|
|
1639
|
-
const EntityIcon =
|
|
1640
|
-
const entityGradient =
|
|
1642
|
+
const EntityIcon = chunk7O3FQ2PW_js.getEntityIcon(entity.id);
|
|
1643
|
+
const entityGradient = chunk7O3FQ2PW_js.getEntityGradient(entity.id);
|
|
1641
1644
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1642
1645
|
"div",
|
|
1643
1646
|
{
|
|
@@ -1657,13 +1660,14 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1657
1660
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
1658
1661
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-full bg-slate-100 px-1.5 py-0.5 text-[9px] font-medium text-slate-600 dark:bg-white/10 dark:text-slate-300", children: "Read only" }),
|
|
1659
1662
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1660
|
-
|
|
1663
|
+
chunk3N76EFJM_js.ToggleSwitch,
|
|
1661
1664
|
{
|
|
1662
1665
|
checked: true,
|
|
1663
1666
|
onChange: () => {
|
|
1664
1667
|
},
|
|
1665
1668
|
disabled: true,
|
|
1666
1669
|
size: "sm",
|
|
1670
|
+
color: "teal",
|
|
1667
1671
|
label: `${entity.label} read only`
|
|
1668
1672
|
}
|
|
1669
1673
|
)
|
|
@@ -2033,9 +2037,9 @@ function formatDuration2(durationMs) {
|
|
|
2033
2037
|
}
|
|
2034
2038
|
function RunPanel({ open, onClose, onRun, onStop }) {
|
|
2035
2039
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.runPanel");
|
|
2036
|
-
const nodes =
|
|
2037
|
-
const isRunning =
|
|
2038
|
-
const nodeResults =
|
|
2040
|
+
const nodes = chunk7O3FQ2PW_js.useWorkflowStore((state) => state.nodes);
|
|
2041
|
+
const isRunning = chunk7O3FQ2PW_js.useWorkflowStore((state) => state.isRunning);
|
|
2042
|
+
const nodeResults = chunk7O3FQ2PW_js.useWorkflowStore((state) => state.nodeResults);
|
|
2039
2043
|
const startNode = nodes.find((node) => node.type === "start");
|
|
2040
2044
|
const hasEndNode = nodes.some((node) => node.type === "end");
|
|
2041
2045
|
const hasValidStartConfig = Boolean(
|
|
@@ -2320,8 +2324,8 @@ function inferVariables(config, nodeType) {
|
|
|
2320
2324
|
}
|
|
2321
2325
|
function VariableInspector({ open, onClose }) {
|
|
2322
2326
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.variableInspector");
|
|
2323
|
-
const nodes =
|
|
2324
|
-
const edges =
|
|
2327
|
+
const nodes = chunk7O3FQ2PW_js.useWorkflowStore((state) => state.nodes);
|
|
2328
|
+
const edges = chunk7O3FQ2PW_js.useWorkflowStore((state) => state.edges);
|
|
2325
2329
|
const [expandedNodes, setExpandedNodes] = react.useState(/* @__PURE__ */ new Set());
|
|
2326
2330
|
const toggleNodeExpansion = react.useCallback((nodeId) => {
|
|
2327
2331
|
setExpandedNodes((current) => {
|
|
@@ -2383,8 +2387,8 @@ function VariableInspector({ open, onClose }) {
|
|
|
2383
2387
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-gray-500 dark:text-gray-400", children: translations("noNodes") })
|
|
2384
2388
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "divide-y divide-gray-100 dark:divide-gray-800", children: nodeVariableEntries.map((entry) => {
|
|
2385
2389
|
const isExpanded = expandedNodes.has(entry.nodeId);
|
|
2386
|
-
const IconComponent =
|
|
2387
|
-
const gradient =
|
|
2390
|
+
const IconComponent = chunk7O3FQ2PW_js.LOGIC_ICON_MAP[entry.nodeType];
|
|
2391
|
+
const gradient = chunk7O3FQ2PW_js.LOGIC_NODE_GRADIENTS[entry.nodeType] ?? "from-gray-400 to-gray-500";
|
|
2388
2392
|
const inputVariables = entry.variables.filter((variable) => variable.direction === "input");
|
|
2389
2393
|
const outputVariables = entry.variables.filter((variable) => variable.direction === "output");
|
|
2390
2394
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": `variable-node-${entry.nodeId}`, children: [
|
|
@@ -2450,7 +2454,7 @@ function RunInputDialog({
|
|
|
2450
2454
|
onRun
|
|
2451
2455
|
}) {
|
|
2452
2456
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow.runInputDialog");
|
|
2453
|
-
const nodes =
|
|
2457
|
+
const nodes = chunk7O3FQ2PW_js.useWorkflowStore((state) => state.nodes);
|
|
2454
2458
|
const [values, setValues] = react.useState({});
|
|
2455
2459
|
const inputVariableNames = react.useMemo(() => {
|
|
2456
2460
|
const storeStartNode = nodes.find((node) => node.type === "start");
|
|
@@ -2477,7 +2481,7 @@ function RunInputDialog({
|
|
|
2477
2481
|
}, [onClose]);
|
|
2478
2482
|
if (!open) return null;
|
|
2479
2483
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2480
|
-
|
|
2484
|
+
chunk3N76EFJM_js.GlassModal,
|
|
2481
2485
|
{
|
|
2482
2486
|
open,
|
|
2483
2487
|
onClose: handleClose,
|
|
@@ -2488,7 +2492,7 @@ function RunInputDialog({
|
|
|
2488
2492
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: inputVariableNames.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-center text-sm text-gray-500 dark:text-gray-400", children: t("noInputs") }) : inputVariableNames.map((variableName) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
2489
2493
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "mb-1 block text-xs font-medium text-gray-700 dark:text-gray-300", children: variableName }),
|
|
2490
2494
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2491
|
-
|
|
2495
|
+
chunk3N76EFJM_js.Input,
|
|
2492
2496
|
{
|
|
2493
2497
|
value: values[variableName] ?? "",
|
|
2494
2498
|
onChange: (event) => handleValueChange(variableName, event.target.value),
|
|
@@ -2497,8 +2501,8 @@ function RunInputDialog({
|
|
|
2497
2501
|
)
|
|
2498
2502
|
] }, variableName)) }),
|
|
2499
2503
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4 flex items-center justify-end gap-2", children: [
|
|
2500
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2501
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2504
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3N76EFJM_js.Button, { size: "sm", plain: true, onClick: handleClose, children: t("cancel") }),
|
|
2505
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3N76EFJM_js.Button, { size: "sm", gradient: true, onClick: handleSubmit, children: [
|
|
2502
2506
|
/* @__PURE__ */ jsxRuntime.jsx(outline.PlayIcon, { className: "h-3.5 w-3.5", "data-slot": "icon" }),
|
|
2503
2507
|
t("run")
|
|
2504
2508
|
] })
|
|
@@ -2531,8 +2535,8 @@ function PreviewPanel({ open, onClose, workflowId, loadRuns }) {
|
|
|
2531
2535
|
const [isLoadingRuns, setIsLoadingRuns] = react.useState(false);
|
|
2532
2536
|
const [selectedRun, setSelectedRun] = react.useState(null);
|
|
2533
2537
|
const [selectedNode, setSelectedNode] = react.useState(null);
|
|
2534
|
-
const isRunning =
|
|
2535
|
-
const nodeResults =
|
|
2538
|
+
const isRunning = chunk7O3FQ2PW_js.useWorkflowStore((state) => state.isRunning);
|
|
2539
|
+
const nodeResults = chunk7O3FQ2PW_js.useWorkflowStore((state) => state.nodeResults);
|
|
2536
2540
|
const refreshRuns = react.useCallback(async () => {
|
|
2537
2541
|
setIsLoadingRuns(true);
|
|
2538
2542
|
try {
|
|
@@ -2688,7 +2692,7 @@ var AutoSaveWorkspace = react.memo(function AutoSaveWorkspace2({
|
|
|
2688
2692
|
onAutoSaveGraph(graph);
|
|
2689
2693
|
}, [onAutoSaveGraph, onGraphSnapshot]);
|
|
2690
2694
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2691
|
-
|
|
2695
|
+
chunk7O3FQ2PW_js.Workspace,
|
|
2692
2696
|
{
|
|
2693
2697
|
...workspaceProps,
|
|
2694
2698
|
onGraphChange: handleGraphChange
|
|
@@ -2696,7 +2700,7 @@ var AutoSaveWorkspace = react.memo(function AutoSaveWorkspace2({
|
|
|
2696
2700
|
);
|
|
2697
2701
|
});
|
|
2698
2702
|
function DynamicIslandConfirm2(props) {
|
|
2699
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2703
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk3N76EFJM_js.DynamicIslandConfirm, { ...props });
|
|
2700
2704
|
}
|
|
2701
2705
|
var JSON_PREVIEW_LINE_LIMIT = 50;
|
|
2702
2706
|
function DslExportModal({ open, onClose, workflow, graph }) {
|
|
@@ -2750,7 +2754,7 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2750
2754
|
}, [jsonString, workflow.name, workflow.version]);
|
|
2751
2755
|
if (!open) return null;
|
|
2752
2756
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2753
|
-
|
|
2757
|
+
chunk3N76EFJM_js.GlassModal,
|
|
2754
2758
|
{
|
|
2755
2759
|
open,
|
|
2756
2760
|
onClose,
|
|
@@ -2792,7 +2796,7 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2792
2796
|
] }),
|
|
2793
2797
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-end gap-3 border-t border-gray-200 px-1 py-4 dark:border-gray-700", children: [
|
|
2794
2798
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2795
|
-
|
|
2799
|
+
chunk3N76EFJM_js.Button,
|
|
2796
2800
|
{
|
|
2797
2801
|
type: "button",
|
|
2798
2802
|
onClick: handleCopyToClipboard,
|
|
@@ -2809,7 +2813,7 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2809
2813
|
}
|
|
2810
2814
|
),
|
|
2811
2815
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2812
|
-
|
|
2816
|
+
chunk3N76EFJM_js.Button,
|
|
2813
2817
|
{
|
|
2814
2818
|
type: "button",
|
|
2815
2819
|
onClick: handleDownloadJson,
|
|
@@ -2968,7 +2972,7 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
2968
2972
|
}, []);
|
|
2969
2973
|
if (!open) return null;
|
|
2970
2974
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2971
|
-
|
|
2975
|
+
chunk3N76EFJM_js.GlassModal,
|
|
2972
2976
|
{
|
|
2973
2977
|
open,
|
|
2974
2978
|
onClose,
|
|
@@ -3008,7 +3012,7 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
3008
3012
|
) : /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": "import-validation-result", children: [
|
|
3009
3013
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4 flex items-center justify-between", children: [
|
|
3010
3014
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: fileName }),
|
|
3011
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3015
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3N76EFJM_js.Button, { type: "button", plain: true, size: "sm", onClick: handleReset, children: translations("chooseAnother") })
|
|
3012
3016
|
] }),
|
|
3013
3017
|
validationResult.isValid ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-lg border border-green-200 bg-green-50 p-4 dark:border-green-800 dark:bg-green-900/20", children: [
|
|
3014
3018
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -3036,9 +3040,9 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
3036
3040
|
] })
|
|
3037
3041
|
] }) }),
|
|
3038
3042
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-end gap-3 border-t border-gray-200 px-1 py-4 dark:border-gray-700", children: [
|
|
3039
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3043
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3N76EFJM_js.Button, { type: "button", onClick: onClose, outline: true, size: "sm", "data-testid": "import-cancel-button", children: translations("cancel") }),
|
|
3040
3044
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3041
|
-
|
|
3045
|
+
chunk3N76EFJM_js.Button,
|
|
3042
3046
|
{
|
|
3043
3047
|
type: "button",
|
|
3044
3048
|
onClick: handleImport,
|
|
@@ -3059,14 +3063,14 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
3059
3063
|
}
|
|
3060
3064
|
|
|
3061
3065
|
// src/astrlabe/store/selectors.ts
|
|
3062
|
-
var useCanUndo = () =>
|
|
3063
|
-
var useCanRedo = () =>
|
|
3064
|
-
var useHasCopied = () =>
|
|
3065
|
-
var useContextMenu = () =>
|
|
3066
|
-
var useEditingNodeId = () =>
|
|
3067
|
-
var useSelectedNodeCount = () =>
|
|
3068
|
-
var useIsRunning = () =>
|
|
3069
|
-
var useNodeResults = () =>
|
|
3066
|
+
var useCanUndo = () => chunk7O3FQ2PW_js.useWorkflowStore((state) => state.past.length > 0);
|
|
3067
|
+
var useCanRedo = () => chunk7O3FQ2PW_js.useWorkflowStore((state) => state.future.length > 0);
|
|
3068
|
+
var useHasCopied = () => chunk7O3FQ2PW_js.useWorkflowStore((state) => state.clipboard !== null);
|
|
3069
|
+
var useContextMenu = () => chunk7O3FQ2PW_js.useWorkflowStore((state) => state.contextMenu);
|
|
3070
|
+
var useEditingNodeId = () => chunk7O3FQ2PW_js.useWorkflowStore((state) => state.editingNodeId);
|
|
3071
|
+
var useSelectedNodeCount = () => chunk7O3FQ2PW_js.useWorkflowStore((state) => state.nodes.filter((node) => node.selected).length);
|
|
3072
|
+
var useIsRunning = () => chunk7O3FQ2PW_js.useWorkflowStore((state) => state.isRunning);
|
|
3073
|
+
var useNodeResults = () => chunk7O3FQ2PW_js.useWorkflowStore((state) => state.nodeResults);
|
|
3070
3074
|
var DEFAULT_MAX_HISTORY = 50;
|
|
3071
3075
|
function useUndoRedo(nodes, edges, setNodes, setEdges, maxHistory = DEFAULT_MAX_HISTORY) {
|
|
3072
3076
|
const pastRef = react.useRef([]);
|
|
@@ -3354,239 +3358,239 @@ Object.defineProperty(exports, "validateWorkflowGraph", {
|
|
|
3354
3358
|
});
|
|
3355
3359
|
Object.defineProperty(exports, "AgentFlowNode", {
|
|
3356
3360
|
enumerable: true,
|
|
3357
|
-
get: function () { return
|
|
3361
|
+
get: function () { return chunk7O3FQ2PW_js.AgentFlowNode; }
|
|
3358
3362
|
});
|
|
3359
3363
|
Object.defineProperty(exports, "AgentToolFlowNode", {
|
|
3360
3364
|
enumerable: true,
|
|
3361
|
-
get: function () { return
|
|
3365
|
+
get: function () { return chunk7O3FQ2PW_js.AgentToolFlowNode; }
|
|
3362
3366
|
});
|
|
3363
3367
|
Object.defineProperty(exports, "AnswerFlowNode", {
|
|
3364
3368
|
enumerable: true,
|
|
3365
|
-
get: function () { return
|
|
3369
|
+
get: function () { return chunk7O3FQ2PW_js.AnswerFlowNode; }
|
|
3366
3370
|
});
|
|
3367
3371
|
Object.defineProperty(exports, "AnthropicIcon", {
|
|
3368
3372
|
enumerable: true,
|
|
3369
|
-
get: function () { return
|
|
3373
|
+
get: function () { return chunk7O3FQ2PW_js.AnthropicIcon; }
|
|
3370
3374
|
});
|
|
3371
3375
|
Object.defineProperty(exports, "CodeFlowNode", {
|
|
3372
3376
|
enumerable: true,
|
|
3373
|
-
get: function () { return
|
|
3377
|
+
get: function () { return chunk7O3FQ2PW_js.CodeFlowNode; }
|
|
3374
3378
|
});
|
|
3375
3379
|
Object.defineProperty(exports, "CrewAIIcon", {
|
|
3376
3380
|
enumerable: true,
|
|
3377
|
-
get: function () { return
|
|
3381
|
+
get: function () { return chunk7O3FQ2PW_js.CrewAIIcon; }
|
|
3378
3382
|
});
|
|
3379
3383
|
Object.defineProperty(exports, "DocumentExtractorFlowNode", {
|
|
3380
3384
|
enumerable: true,
|
|
3381
|
-
get: function () { return
|
|
3385
|
+
get: function () { return chunk7O3FQ2PW_js.DocumentExtractorFlowNode; }
|
|
3382
3386
|
});
|
|
3383
3387
|
Object.defineProperty(exports, "EndFlowNode", {
|
|
3384
3388
|
enumerable: true,
|
|
3385
|
-
get: function () { return
|
|
3389
|
+
get: function () { return chunk7O3FQ2PW_js.EndFlowNode; }
|
|
3386
3390
|
});
|
|
3387
3391
|
Object.defineProperty(exports, "EntityFlowNode", {
|
|
3388
3392
|
enumerable: true,
|
|
3389
|
-
get: function () { return
|
|
3393
|
+
get: function () { return chunk7O3FQ2PW_js.EntityFlowNode; }
|
|
3390
3394
|
});
|
|
3391
3395
|
Object.defineProperty(exports, "FRAMEWORK_META", {
|
|
3392
3396
|
enumerable: true,
|
|
3393
|
-
get: function () { return
|
|
3397
|
+
get: function () { return chunk7O3FQ2PW_js.FRAMEWORK_META; }
|
|
3394
3398
|
});
|
|
3395
3399
|
Object.defineProperty(exports, "GoogleADKIcon", {
|
|
3396
3400
|
enumerable: true,
|
|
3397
|
-
get: function () { return
|
|
3401
|
+
get: function () { return chunk7O3FQ2PW_js.GoogleADKIcon; }
|
|
3398
3402
|
});
|
|
3399
3403
|
Object.defineProperty(exports, "GroupFlowNode", {
|
|
3400
3404
|
enumerable: true,
|
|
3401
|
-
get: function () { return
|
|
3405
|
+
get: function () { return chunk7O3FQ2PW_js.GroupFlowNode; }
|
|
3402
3406
|
});
|
|
3403
3407
|
Object.defineProperty(exports, "HttpRequestFlowNode", {
|
|
3404
3408
|
enumerable: true,
|
|
3405
|
-
get: function () { return
|
|
3409
|
+
get: function () { return chunk7O3FQ2PW_js.HttpRequestFlowNode; }
|
|
3406
3410
|
});
|
|
3407
3411
|
Object.defineProperty(exports, "IfElseFlowNode", {
|
|
3408
3412
|
enumerable: true,
|
|
3409
|
-
get: function () { return
|
|
3413
|
+
get: function () { return chunk7O3FQ2PW_js.IfElseFlowNode; }
|
|
3410
3414
|
});
|
|
3411
3415
|
Object.defineProperty(exports, "IterationFlowNode", {
|
|
3412
3416
|
enumerable: true,
|
|
3413
|
-
get: function () { return
|
|
3417
|
+
get: function () { return chunk7O3FQ2PW_js.IterationFlowNode; }
|
|
3414
3418
|
});
|
|
3415
3419
|
Object.defineProperty(exports, "IterationStartFlowNode", {
|
|
3416
3420
|
enumerable: true,
|
|
3417
|
-
get: function () { return
|
|
3421
|
+
get: function () { return chunk7O3FQ2PW_js.IterationStartFlowNode; }
|
|
3418
3422
|
});
|
|
3419
3423
|
Object.defineProperty(exports, "KnowledgeBaseFlowNode", {
|
|
3420
3424
|
enumerable: true,
|
|
3421
|
-
get: function () { return
|
|
3425
|
+
get: function () { return chunk7O3FQ2PW_js.KnowledgeBaseFlowNode; }
|
|
3422
3426
|
});
|
|
3423
3427
|
Object.defineProperty(exports, "LOGIC_ICON_MAP", {
|
|
3424
3428
|
enumerable: true,
|
|
3425
|
-
get: function () { return
|
|
3429
|
+
get: function () { return chunk7O3FQ2PW_js.LOGIC_ICON_MAP; }
|
|
3426
3430
|
});
|
|
3427
3431
|
Object.defineProperty(exports, "LOGIC_NODE_BADGE_COLORS", {
|
|
3428
3432
|
enumerable: true,
|
|
3429
|
-
get: function () { return
|
|
3433
|
+
get: function () { return chunk7O3FQ2PW_js.LOGIC_NODE_BADGE_COLORS; }
|
|
3430
3434
|
});
|
|
3431
3435
|
Object.defineProperty(exports, "LOGIC_NODE_GRADIENTS", {
|
|
3432
3436
|
enumerable: true,
|
|
3433
|
-
get: function () { return
|
|
3437
|
+
get: function () { return chunk7O3FQ2PW_js.LOGIC_NODE_GRADIENTS; }
|
|
3434
3438
|
});
|
|
3435
3439
|
Object.defineProperty(exports, "LOGIC_NODE_HANDLE_COLORS", {
|
|
3436
3440
|
enumerable: true,
|
|
3437
|
-
get: function () { return
|
|
3441
|
+
get: function () { return chunk7O3FQ2PW_js.LOGIC_NODE_HANDLE_COLORS; }
|
|
3438
3442
|
});
|
|
3439
3443
|
Object.defineProperty(exports, "LangChainIcon", {
|
|
3440
3444
|
enumerable: true,
|
|
3441
|
-
get: function () { return
|
|
3445
|
+
get: function () { return chunk7O3FQ2PW_js.LangChainIcon; }
|
|
3442
3446
|
});
|
|
3443
3447
|
Object.defineProperty(exports, "ListOperatorFlowNode", {
|
|
3444
3448
|
enumerable: true,
|
|
3445
|
-
get: function () { return
|
|
3449
|
+
get: function () { return chunk7O3FQ2PW_js.ListOperatorFlowNode; }
|
|
3446
3450
|
});
|
|
3447
3451
|
Object.defineProperty(exports, "LogicNodeModal", {
|
|
3448
3452
|
enumerable: true,
|
|
3449
|
-
get: function () { return
|
|
3453
|
+
get: function () { return chunk7O3FQ2PW_js.LogicNodeModal; }
|
|
3450
3454
|
});
|
|
3451
3455
|
Object.defineProperty(exports, "MINIMAP_NODE_COLORS", {
|
|
3452
3456
|
enumerable: true,
|
|
3453
|
-
get: function () { return
|
|
3457
|
+
get: function () { return chunk7O3FQ2PW_js.MINIMAP_NODE_COLORS; }
|
|
3454
3458
|
});
|
|
3455
3459
|
Object.defineProperty(exports, "ModelProviderFlowNode", {
|
|
3456
3460
|
enumerable: true,
|
|
3457
|
-
get: function () { return
|
|
3461
|
+
get: function () { return chunk7O3FQ2PW_js.ModelProviderFlowNode; }
|
|
3458
3462
|
});
|
|
3459
3463
|
Object.defineProperty(exports, "NODE_EXECUTION_ACCENT_COLORS", {
|
|
3460
3464
|
enumerable: true,
|
|
3461
|
-
get: function () { return
|
|
3465
|
+
get: function () { return chunk7O3FQ2PW_js.NODE_EXECUTION_ACCENT_COLORS; }
|
|
3462
3466
|
});
|
|
3463
3467
|
Object.defineProperty(exports, "NodeCard", {
|
|
3464
3468
|
enumerable: true,
|
|
3465
|
-
get: function () { return
|
|
3469
|
+
get: function () { return chunk7O3FQ2PW_js.NodeCard; }
|
|
3466
3470
|
});
|
|
3467
3471
|
Object.defineProperty(exports, "NodeContextMenu", {
|
|
3468
3472
|
enumerable: true,
|
|
3469
|
-
get: function () { return
|
|
3473
|
+
get: function () { return chunk7O3FQ2PW_js.NodeContextMenu; }
|
|
3470
3474
|
});
|
|
3471
3475
|
Object.defineProperty(exports, "NoteFlowNode", {
|
|
3472
3476
|
enumerable: true,
|
|
3473
|
-
get: function () { return
|
|
3477
|
+
get: function () { return chunk7O3FQ2PW_js.NoteFlowNode; }
|
|
3474
3478
|
});
|
|
3475
3479
|
Object.defineProperty(exports, "OpenAIIcon", {
|
|
3476
3480
|
enumerable: true,
|
|
3477
|
-
get: function () { return
|
|
3481
|
+
get: function () { return chunk7O3FQ2PW_js.OpenAIIcon; }
|
|
3478
3482
|
});
|
|
3479
3483
|
Object.defineProperty(exports, "PanelContextMenu", {
|
|
3480
3484
|
enumerable: true,
|
|
3481
|
-
get: function () { return
|
|
3485
|
+
get: function () { return chunk7O3FQ2PW_js.PanelContextMenu; }
|
|
3482
3486
|
});
|
|
3483
3487
|
Object.defineProperty(exports, "ParameterExtractorFlowNode", {
|
|
3484
3488
|
enumerable: true,
|
|
3485
|
-
get: function () { return
|
|
3489
|
+
get: function () { return chunk7O3FQ2PW_js.ParameterExtractorFlowNode; }
|
|
3486
3490
|
});
|
|
3487
3491
|
Object.defineProperty(exports, "QuestionClassifierFlowNode", {
|
|
3488
3492
|
enumerable: true,
|
|
3489
|
-
get: function () { return
|
|
3493
|
+
get: function () { return chunk7O3FQ2PW_js.QuestionClassifierFlowNode; }
|
|
3490
3494
|
});
|
|
3491
3495
|
Object.defineProperty(exports, "RuleFlowNode", {
|
|
3492
3496
|
enumerable: true,
|
|
3493
|
-
get: function () { return
|
|
3497
|
+
get: function () { return chunk7O3FQ2PW_js.RuleFlowNode; }
|
|
3494
3498
|
});
|
|
3495
3499
|
Object.defineProperty(exports, "SelectionContextMenu", {
|
|
3496
3500
|
enumerable: true,
|
|
3497
|
-
get: function () { return
|
|
3501
|
+
get: function () { return chunk7O3FQ2PW_js.SelectionContextMenu; }
|
|
3498
3502
|
});
|
|
3499
3503
|
Object.defineProperty(exports, "StartFlowNode", {
|
|
3500
3504
|
enumerable: true,
|
|
3501
|
-
get: function () { return
|
|
3505
|
+
get: function () { return chunk7O3FQ2PW_js.StartFlowNode; }
|
|
3502
3506
|
});
|
|
3503
3507
|
Object.defineProperty(exports, "StrandsIcon", {
|
|
3504
3508
|
enumerable: true,
|
|
3505
|
-
get: function () { return
|
|
3509
|
+
get: function () { return chunk7O3FQ2PW_js.StrandsIcon; }
|
|
3506
3510
|
});
|
|
3507
3511
|
Object.defineProperty(exports, "TemplateTransformFlowNode", {
|
|
3508
3512
|
enumerable: true,
|
|
3509
|
-
get: function () { return
|
|
3513
|
+
get: function () { return chunk7O3FQ2PW_js.TemplateTransformFlowNode; }
|
|
3510
3514
|
});
|
|
3511
3515
|
Object.defineProperty(exports, "ToolFlowNode", {
|
|
3512
3516
|
enumerable: true,
|
|
3513
|
-
get: function () { return
|
|
3517
|
+
get: function () { return chunk7O3FQ2PW_js.ToolFlowNode; }
|
|
3514
3518
|
});
|
|
3515
3519
|
Object.defineProperty(exports, "VariableAggregatorFlowNode", {
|
|
3516
3520
|
enumerable: true,
|
|
3517
|
-
get: function () { return
|
|
3521
|
+
get: function () { return chunk7O3FQ2PW_js.VariableAggregatorFlowNode; }
|
|
3518
3522
|
});
|
|
3519
3523
|
Object.defineProperty(exports, "VariableAssignerFlowNode", {
|
|
3520
3524
|
enumerable: true,
|
|
3521
|
-
get: function () { return
|
|
3525
|
+
get: function () { return chunk7O3FQ2PW_js.VariableAssignerFlowNode; }
|
|
3522
3526
|
});
|
|
3523
3527
|
Object.defineProperty(exports, "WorkflowBuilderProvider", {
|
|
3524
3528
|
enumerable: true,
|
|
3525
|
-
get: function () { return
|
|
3529
|
+
get: function () { return chunk7O3FQ2PW_js.WorkflowBuilderProvider; }
|
|
3526
3530
|
});
|
|
3527
3531
|
Object.defineProperty(exports, "Workspace", {
|
|
3528
3532
|
enumerable: true,
|
|
3529
|
-
get: function () { return
|
|
3533
|
+
get: function () { return chunk7O3FQ2PW_js.Workspace; }
|
|
3530
3534
|
});
|
|
3531
3535
|
Object.defineProperty(exports, "getCompatibleModels", {
|
|
3532
3536
|
enumerable: true,
|
|
3533
|
-
get: function () { return
|
|
3537
|
+
get: function () { return chunk7O3FQ2PW_js.getCompatibleModels; }
|
|
3534
3538
|
});
|
|
3535
3539
|
Object.defineProperty(exports, "getDefaultFrameworkForModel", {
|
|
3536
3540
|
enumerable: true,
|
|
3537
|
-
get: function () { return
|
|
3541
|
+
get: function () { return chunk7O3FQ2PW_js.getDefaultFrameworkForModel; }
|
|
3538
3542
|
});
|
|
3539
3543
|
Object.defineProperty(exports, "getEntityBadgeColor", {
|
|
3540
3544
|
enumerable: true,
|
|
3541
|
-
get: function () { return
|
|
3545
|
+
get: function () { return chunk7O3FQ2PW_js.getEntityBadgeColor; }
|
|
3542
3546
|
});
|
|
3543
3547
|
Object.defineProperty(exports, "getEntityGradient", {
|
|
3544
3548
|
enumerable: true,
|
|
3545
|
-
get: function () { return
|
|
3549
|
+
get: function () { return chunk7O3FQ2PW_js.getEntityGradient; }
|
|
3546
3550
|
});
|
|
3547
3551
|
Object.defineProperty(exports, "getEntityHandleColor", {
|
|
3548
3552
|
enumerable: true,
|
|
3549
|
-
get: function () { return
|
|
3553
|
+
get: function () { return chunk7O3FQ2PW_js.getEntityHandleColor; }
|
|
3550
3554
|
});
|
|
3551
3555
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
3552
3556
|
enumerable: true,
|
|
3553
|
-
get: function () { return
|
|
3557
|
+
get: function () { return chunk7O3FQ2PW_js.getEntityIcon; }
|
|
3554
3558
|
});
|
|
3555
3559
|
Object.defineProperty(exports, "getEntityMinimapColor", {
|
|
3556
3560
|
enumerable: true,
|
|
3557
|
-
get: function () { return
|
|
3561
|
+
get: function () { return chunk7O3FQ2PW_js.getEntityMinimapColor; }
|
|
3558
3562
|
});
|
|
3559
3563
|
Object.defineProperty(exports, "getFrameworkMeta", {
|
|
3560
3564
|
enumerable: true,
|
|
3561
|
-
get: function () { return
|
|
3565
|
+
get: function () { return chunk7O3FQ2PW_js.getFrameworkMeta; }
|
|
3562
3566
|
});
|
|
3563
3567
|
Object.defineProperty(exports, "getNodeExecutionAccent", {
|
|
3564
3568
|
enumerable: true,
|
|
3565
|
-
get: function () { return
|
|
3569
|
+
get: function () { return chunk7O3FQ2PW_js.getNodeExecutionAccent; }
|
|
3566
3570
|
});
|
|
3567
3571
|
Object.defineProperty(exports, "getNodeExecutionAccentRgb", {
|
|
3568
3572
|
enumerable: true,
|
|
3569
|
-
get: function () { return
|
|
3573
|
+
get: function () { return chunk7O3FQ2PW_js.getNodeExecutionAccentRgb; }
|
|
3570
3574
|
});
|
|
3571
3575
|
Object.defineProperty(exports, "isModelCompatibleWithFramework", {
|
|
3572
3576
|
enumerable: true,
|
|
3573
|
-
get: function () { return
|
|
3577
|
+
get: function () { return chunk7O3FQ2PW_js.isModelCompatibleWithFramework; }
|
|
3574
3578
|
});
|
|
3575
3579
|
Object.defineProperty(exports, "useModalStore", {
|
|
3576
3580
|
enumerable: true,
|
|
3577
|
-
get: function () { return
|
|
3581
|
+
get: function () { return chunk7O3FQ2PW_js.useModalStore; }
|
|
3578
3582
|
});
|
|
3579
3583
|
Object.defineProperty(exports, "useWorkflowBuilderClient", {
|
|
3580
3584
|
enumerable: true,
|
|
3581
|
-
get: function () { return
|
|
3585
|
+
get: function () { return chunk7O3FQ2PW_js.useWorkflowBuilderClient; }
|
|
3582
3586
|
});
|
|
3583
3587
|
Object.defineProperty(exports, "useWorkflowBuilderClientOptional", {
|
|
3584
3588
|
enumerable: true,
|
|
3585
|
-
get: function () { return
|
|
3589
|
+
get: function () { return chunk7O3FQ2PW_js.useWorkflowBuilderClientOptional; }
|
|
3586
3590
|
});
|
|
3587
3591
|
Object.defineProperty(exports, "useWorkflowStore", {
|
|
3588
3592
|
enumerable: true,
|
|
3589
|
-
get: function () { return
|
|
3593
|
+
get: function () { return chunk7O3FQ2PW_js.useWorkflowStore; }
|
|
3590
3594
|
});
|
|
3591
3595
|
Object.defineProperty(exports, "GraphNodeBadge", {
|
|
3592
3596
|
enumerable: true,
|