@datatechsolutions/ui 2.11.21 → 2.11.23
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 +187 -131
- package/dist/astrlabe/index.js.map +1 -1
- package/dist/astrlabe/index.mjs +63 -7
- 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-6N5UGKD7.js → chunk-6UEVHQTJ.js} +9 -8
- package/dist/chunk-6UEVHQTJ.js.map +1 -0
- package/dist/{chunk-Z3U6JAA7.mjs → chunk-D7EPY2L3.mjs} +33 -20
- package/dist/chunk-D7EPY2L3.mjs.map +1 -0
- package/dist/{chunk-E6ALKSGA.js → chunk-EY3UIPM2.js} +75 -62
- package/dist/chunk-EY3UIPM2.js.map +1 -0
- package/dist/{chunk-XKLU32S3.mjs → chunk-GXVZXTTC.mjs} +9 -8
- package/dist/chunk-GXVZXTTC.mjs.map +1 -0
- package/dist/index.js +713 -713
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6N5UGKD7.js.map +0 -1
- package/dist/chunk-E6ALKSGA.js.map +0 -1
- package/dist/chunk-XKLU32S3.mjs.map +0 -1
- package/dist/chunk-Z3U6JAA7.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 chunkEY3UIPM2_js = require('../chunk-EY3UIPM2.js');
|
|
7
|
+
var chunk6UEVHQTJ_js = require('../chunk-6UEVHQTJ.js');
|
|
8
8
|
require('../chunk-UZ3CMNUJ.js');
|
|
9
9
|
var chunkYXN2K77G_js = require('../chunk-YXN2K77G.js');
|
|
10
10
|
require('../chunk-S7KHTUHA.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 = chunkEY3UIPM2_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(chunkEY3UIPM2_js.FRAMEWORK_META);
|
|
363
363
|
const hasProviderConstraints = connectedProviderTypes.length > 0;
|
|
364
|
-
const compatibleModels =
|
|
364
|
+
const compatibleModels = chunkEY3UIPM2_js.getCompatibleModels(models, selectedFramework);
|
|
365
365
|
const handleFrameworkChange = react.useCallback((newFramework) => {
|
|
366
366
|
setSelectedFramework(newFramework);
|
|
367
|
-
if (!
|
|
368
|
-
const compatible =
|
|
367
|
+
if (!chunkEY3UIPM2_js.isModelCompatibleWithFramework(selectedModelId, newFramework)) {
|
|
368
|
+
const compatible = chunkEY3UIPM2_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 = chunkEY3UIPM2_js.FRAMEWORK_META[key];
|
|
380
380
|
const isSelected = key === selectedFramework;
|
|
381
|
-
const compatCount =
|
|
382
|
-
const isCompatibleWithProviders = !hasProviderConstraints ||
|
|
381
|
+
const compatCount = chunkEY3UIPM2_js.getCompatibleModels(models, key).length;
|
|
382
|
+
const isCompatibleWithProviders = !hasProviderConstraints || chunkEY3UIPM2_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 = chunkEY3UIPM2_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 = chunkEY3UIPM2_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) => chunkEY3UIPM2_js.isModelCompatibleWithFramework(m.id, agentFramework)
|
|
604
604
|
);
|
|
605
605
|
const incompatibleModels = providerModels.models.filter(
|
|
606
|
-
(m) => !
|
|
606
|
+
(m) => !chunkEY3UIPM2_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 = chunkEY3UIPM2_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" }),
|
|
@@ -684,7 +684,26 @@ function ToolsTab({ agentTools, enabledToolIds, onToggle, agentFramework, t }) {
|
|
|
684
684
|
] }, framework);
|
|
685
685
|
}) })
|
|
686
686
|
] }),
|
|
687
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-5 w-5 shrink-0 items-center justify-center rounded-full transition-all ${isEnabled ? "bg-amber-500 text-white" : "border border-gray-300 dark:border-gray-600"}`, children: isEnabled && /* @__PURE__ */ jsxRuntime.jsx(outline.CheckIcon, { className: "h-3 w-3" }) })
|
|
687
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-5 w-5 shrink-0 items-center justify-center rounded-full transition-all ${isEnabled ? "bg-amber-500 text-white" : "border border-gray-300 dark:border-gray-600"}`, children: isEnabled && /* @__PURE__ */ jsxRuntime.jsx(outline.CheckIcon, { className: "h-3 w-3" }) }),
|
|
688
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
689
|
+
"div",
|
|
690
|
+
{
|
|
691
|
+
className: "shrink-0",
|
|
692
|
+
onClick: (event) => {
|
|
693
|
+
event.stopPropagation();
|
|
694
|
+
},
|
|
695
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
696
|
+
chunk6UEVHQTJ_js.ToggleSwitch,
|
|
697
|
+
{
|
|
698
|
+
checked: isEnabled,
|
|
699
|
+
onChange: () => onToggle(tool.agentToolId),
|
|
700
|
+
disabled: !isCompatible,
|
|
701
|
+
size: "sm",
|
|
702
|
+
label: `${tool.name} enabled`
|
|
703
|
+
}
|
|
704
|
+
)
|
|
705
|
+
}
|
|
706
|
+
)
|
|
688
707
|
]
|
|
689
708
|
},
|
|
690
709
|
tool.agentToolId
|
|
@@ -694,9 +713,9 @@ function ToolsTab({ agentTools, enabledToolIds, onToggle, agentFramework, t }) {
|
|
|
694
713
|
}
|
|
695
714
|
function AgentModal({ onSaved }) {
|
|
696
715
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
697
|
-
const activeModal =
|
|
698
|
-
const agentData =
|
|
699
|
-
const closeModal =
|
|
716
|
+
const activeModal = chunkEY3UIPM2_js.useModalStore((s) => s.activeModal);
|
|
717
|
+
const agentData = chunkEY3UIPM2_js.useModalStore((s) => s.agentData);
|
|
718
|
+
const closeModal = chunkEY3UIPM2_js.useModalStore((s) => s.closeModal);
|
|
700
719
|
const open = activeModal === "agent";
|
|
701
720
|
const agent = agentData?.agent ?? null;
|
|
702
721
|
const models = agentData?.models ?? [];
|
|
@@ -771,12 +790,15 @@ function AgentModal({ onSaved }) {
|
|
|
771
790
|
)
|
|
772
791
|
] });
|
|
773
792
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
774
|
-
|
|
793
|
+
chunk6UEVHQTJ_js.SettingsDialog,
|
|
775
794
|
{
|
|
776
795
|
open,
|
|
777
796
|
onClose: handleClose,
|
|
778
797
|
title: agent.name,
|
|
779
798
|
subtitle: isCreateMode ? t("agentDrawer.createAgent") : t("agentDrawer.editAgent"),
|
|
799
|
+
gradient: "from-indigo-500 to-purple-600",
|
|
800
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.CpuChipIcon, { className: "h-5 w-5 text-white" }),
|
|
801
|
+
label: isCreateMode ? t("agentDrawer.createAgent") : t("agentDrawer.editAgent"),
|
|
780
802
|
sections,
|
|
781
803
|
activeSectionId: activeTab,
|
|
782
804
|
onSectionChange: (sectionId) => setActiveTab(sectionId),
|
|
@@ -918,7 +940,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
918
940
|
const markDirty = useSubworkflowStore((s) => s.markDirty);
|
|
919
941
|
const markSaved = useSubworkflowStore((s) => s.markSaved);
|
|
920
942
|
const closeModal = useSubworkflowStore((s) => s.closeModal);
|
|
921
|
-
const agentBehind =
|
|
943
|
+
const agentBehind = chunkEY3UIPM2_js.useModalStore((s) => s.activeModal === "agent" ? s.agentData?.agent?.name : null);
|
|
922
944
|
const isCreateMode = !tool?.toolId;
|
|
923
945
|
const initialGraph = react.useMemo(() => {
|
|
924
946
|
const config = tool?.config;
|
|
@@ -947,9 +969,9 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
947
969
|
}, [tool, onSaved, name, category, description, timeoutMs, latestGraphRef, markSaved]);
|
|
948
970
|
if (!tool) return null;
|
|
949
971
|
const categoryKey = category ?? "external";
|
|
950
|
-
const gradient = tool.color ??
|
|
951
|
-
const categoryPill =
|
|
952
|
-
const IconComponent =
|
|
972
|
+
const gradient = tool.color ?? chunkEY3UIPM2_js.CATEGORY_COLORS[categoryKey] ?? chunkEY3UIPM2_js.CATEGORY_COLORS.external;
|
|
973
|
+
const categoryPill = chunkEY3UIPM2_js.CATEGORY_PILL_COLORS[categoryKey] ?? chunkEY3UIPM2_js.CATEGORY_PILL_COLORS.external;
|
|
974
|
+
const IconComponent = chunkEY3UIPM2_js.ICON_MAP[tool.icon ?? ""] ?? outline.ArrowPathRoundedSquareIcon;
|
|
953
975
|
const graph = latestGraphRef.current;
|
|
954
976
|
const startNode = graph.nodes.find((n) => n.type === "start");
|
|
955
977
|
const endNode = graph.nodes.find((n) => n.type === "end");
|
|
@@ -982,7 +1004,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
982
1004
|
] })
|
|
983
1005
|
] });
|
|
984
1006
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
985
|
-
|
|
1007
|
+
chunk6UEVHQTJ_js.GlassModalShell,
|
|
986
1008
|
{
|
|
987
1009
|
open,
|
|
988
1010
|
onClose: closeModal,
|
|
@@ -1014,7 +1036,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1014
1036
|
{
|
|
1015
1037
|
type: "button",
|
|
1016
1038
|
onClick: () => setCategory(cat),
|
|
1017
|
-
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${
|
|
1039
|
+
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${chunkEY3UIPM2_js.CATEGORY_PILL_COLORS[cat] ?? chunkEY3UIPM2_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"}`,
|
|
1018
1040
|
children: cat
|
|
1019
1041
|
},
|
|
1020
1042
|
cat
|
|
@@ -1101,7 +1123,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1101
1123
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto" })
|
|
1102
1124
|
] }),
|
|
1103
1125
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1104
|
-
|
|
1126
|
+
chunkEY3UIPM2_js.WorkflowCanvas,
|
|
1105
1127
|
{
|
|
1106
1128
|
initialGraph,
|
|
1107
1129
|
agents: [],
|
|
@@ -1138,7 +1160,7 @@ function WorkspaceModal({
|
|
|
1138
1160
|
}) {
|
|
1139
1161
|
const resolvedSize = LEGACY_WIDTH_MAP[maxWidth] ?? maxWidth;
|
|
1140
1162
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1141
|
-
|
|
1163
|
+
chunk6UEVHQTJ_js.GlassModalShell,
|
|
1142
1164
|
{
|
|
1143
1165
|
open,
|
|
1144
1166
|
onClose,
|
|
@@ -1159,9 +1181,9 @@ function WorkspaceModal({
|
|
|
1159
1181
|
}
|
|
1160
1182
|
function PipelineSettingsModal({ onSave }) {
|
|
1161
1183
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
1162
|
-
const activeModal =
|
|
1163
|
-
const data =
|
|
1164
|
-
const closeModal =
|
|
1184
|
+
const activeModal = chunkEY3UIPM2_js.useModalStore((s) => s.activeModal);
|
|
1185
|
+
const data = chunkEY3UIPM2_js.useModalStore((s) => s.pipelineSettingsData);
|
|
1186
|
+
const closeModal = chunkEY3UIPM2_js.useModalStore((s) => s.closeModal);
|
|
1165
1187
|
const open = activeModal === "pipeline-settings";
|
|
1166
1188
|
const [nameValue, setNameValue] = react.useState("");
|
|
1167
1189
|
const [descriptionValue, setDescriptionValue] = react.useState("");
|
|
@@ -1196,7 +1218,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1196
1218
|
}
|
|
1197
1219
|
),
|
|
1198
1220
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1199
|
-
|
|
1221
|
+
chunk6UEVHQTJ_js.Button,
|
|
1200
1222
|
{
|
|
1201
1223
|
type: "submit",
|
|
1202
1224
|
form: "pipeline-settings-form",
|
|
@@ -1211,7 +1233,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1211
1233
|
)
|
|
1212
1234
|
] });
|
|
1213
1235
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1214
|
-
|
|
1236
|
+
chunk6UEVHQTJ_js.GlassModalShell,
|
|
1215
1237
|
{
|
|
1216
1238
|
open,
|
|
1217
1239
|
onClose: closeModal,
|
|
@@ -1225,7 +1247,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1225
1247
|
onSubmit: handleSubmit,
|
|
1226
1248
|
children: /* @__PURE__ */ jsxRuntime.jsxs("form", { id: "pipeline-settings-form", onSubmit: handleSubmit, className: "space-y-6", children: [
|
|
1227
1249
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1228
|
-
|
|
1250
|
+
chunk6UEVHQTJ_js.FormInput,
|
|
1229
1251
|
{
|
|
1230
1252
|
label: t("pipelineName"),
|
|
1231
1253
|
value: nameValue,
|
|
@@ -1235,7 +1257,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1235
1257
|
}
|
|
1236
1258
|
),
|
|
1237
1259
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1238
|
-
|
|
1260
|
+
chunk6UEVHQTJ_js.FormTextarea,
|
|
1239
1261
|
{
|
|
1240
1262
|
label: t("pipelineDescription"),
|
|
1241
1263
|
value: descriptionValue,
|
|
@@ -1370,8 +1392,8 @@ function CollapsibleSection({ title, icon, colorClass, defaultOpen = true, count
|
|
|
1370
1392
|
] });
|
|
1371
1393
|
}
|
|
1372
1394
|
function LogicNodeItemCard({ item, translationFunction }) {
|
|
1373
|
-
const IconComponent =
|
|
1374
|
-
const gradient =
|
|
1395
|
+
const IconComponent = chunkEY3UIPM2_js.LOGIC_ICON_MAP[item.nodeType];
|
|
1396
|
+
const gradient = chunkEY3UIPM2_js.LOGIC_NODE_GRADIENTS[item.nodeType] ?? "from-gray-400 to-gray-500";
|
|
1375
1397
|
const defaultConfig = chunkPWBWP5FJ_js.createDefaultLogicNodeConfig(item.nodeType);
|
|
1376
1398
|
const configJson = defaultConfig ? JSON.stringify(defaultConfig) : void 0;
|
|
1377
1399
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1536,7 +1558,17 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1536
1558
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-xs font-medium text-gray-900 dark:text-white", children: tool.name }),
|
|
1537
1559
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-[10px] text-gray-400 dark:text-gray-500", children: tool.category })
|
|
1538
1560
|
] }),
|
|
1539
|
-
|
|
1561
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1562
|
+
chunk6UEVHQTJ_js.ToggleSwitch,
|
|
1563
|
+
{
|
|
1564
|
+
checked: Boolean(tool.enabled),
|
|
1565
|
+
onChange: () => {
|
|
1566
|
+
},
|
|
1567
|
+
disabled: true,
|
|
1568
|
+
size: "sm",
|
|
1569
|
+
label: `${tool.name} enabled`
|
|
1570
|
+
}
|
|
1571
|
+
)
|
|
1540
1572
|
]
|
|
1541
1573
|
},
|
|
1542
1574
|
tool.toolId
|
|
@@ -1566,7 +1598,17 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1566
1598
|
String(rule.priority ?? "")
|
|
1567
1599
|
] })
|
|
1568
1600
|
] }),
|
|
1569
|
-
|
|
1601
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1602
|
+
chunk6UEVHQTJ_js.ToggleSwitch,
|
|
1603
|
+
{
|
|
1604
|
+
checked: Boolean(rule.enabled),
|
|
1605
|
+
onChange: () => {
|
|
1606
|
+
},
|
|
1607
|
+
disabled: true,
|
|
1608
|
+
size: "sm",
|
|
1609
|
+
label: `${rule.name} enabled`
|
|
1610
|
+
}
|
|
1611
|
+
)
|
|
1570
1612
|
]
|
|
1571
1613
|
},
|
|
1572
1614
|
rule.ruleId
|
|
@@ -1592,8 +1634,8 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1592
1634
|
limit: entity.defaultLimit
|
|
1593
1635
|
});
|
|
1594
1636
|
const dsLogo = getDatasourceLogo(entity.id);
|
|
1595
|
-
const EntityIcon =
|
|
1596
|
-
const entityGradient =
|
|
1637
|
+
const EntityIcon = chunkEY3UIPM2_js.getEntityIcon(entity.id);
|
|
1638
|
+
const entityGradient = chunkEY3UIPM2_js.getEntityGradient(entity.id);
|
|
1597
1639
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1598
1640
|
"div",
|
|
1599
1641
|
{
|
|
@@ -1609,6 +1651,20 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1609
1651
|
" ",
|
|
1610
1652
|
t("entityFieldsLabel")
|
|
1611
1653
|
] })
|
|
1654
|
+
] }),
|
|
1655
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
1656
|
+
/* @__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" }),
|
|
1657
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1658
|
+
chunk6UEVHQTJ_js.ToggleSwitch,
|
|
1659
|
+
{
|
|
1660
|
+
checked: true,
|
|
1661
|
+
onChange: () => {
|
|
1662
|
+
},
|
|
1663
|
+
disabled: true,
|
|
1664
|
+
size: "sm",
|
|
1665
|
+
label: `${entity.label} read only`
|
|
1666
|
+
}
|
|
1667
|
+
)
|
|
1612
1668
|
] })
|
|
1613
1669
|
]
|
|
1614
1670
|
},
|
|
@@ -1975,9 +2031,9 @@ function formatDuration2(durationMs) {
|
|
|
1975
2031
|
}
|
|
1976
2032
|
function RunPanel({ open, onClose, onRun, onStop }) {
|
|
1977
2033
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.runPanel");
|
|
1978
|
-
const nodes =
|
|
1979
|
-
const isRunning =
|
|
1980
|
-
const nodeResults =
|
|
2034
|
+
const nodes = chunkEY3UIPM2_js.useWorkflowStore((state) => state.nodes);
|
|
2035
|
+
const isRunning = chunkEY3UIPM2_js.useWorkflowStore((state) => state.isRunning);
|
|
2036
|
+
const nodeResults = chunkEY3UIPM2_js.useWorkflowStore((state) => state.nodeResults);
|
|
1981
2037
|
const startNode = nodes.find((node) => node.type === "start");
|
|
1982
2038
|
const hasEndNode = nodes.some((node) => node.type === "end");
|
|
1983
2039
|
const hasValidStartConfig = Boolean(
|
|
@@ -2262,8 +2318,8 @@ function inferVariables(config, nodeType) {
|
|
|
2262
2318
|
}
|
|
2263
2319
|
function VariableInspector({ open, onClose }) {
|
|
2264
2320
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.variableInspector");
|
|
2265
|
-
const nodes =
|
|
2266
|
-
const edges =
|
|
2321
|
+
const nodes = chunkEY3UIPM2_js.useWorkflowStore((state) => state.nodes);
|
|
2322
|
+
const edges = chunkEY3UIPM2_js.useWorkflowStore((state) => state.edges);
|
|
2267
2323
|
const [expandedNodes, setExpandedNodes] = react.useState(/* @__PURE__ */ new Set());
|
|
2268
2324
|
const toggleNodeExpansion = react.useCallback((nodeId) => {
|
|
2269
2325
|
setExpandedNodes((current) => {
|
|
@@ -2325,8 +2381,8 @@ function VariableInspector({ open, onClose }) {
|
|
|
2325
2381
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-gray-500 dark:text-gray-400", children: translations("noNodes") })
|
|
2326
2382
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "divide-y divide-gray-100 dark:divide-gray-800", children: nodeVariableEntries.map((entry) => {
|
|
2327
2383
|
const isExpanded = expandedNodes.has(entry.nodeId);
|
|
2328
|
-
const IconComponent =
|
|
2329
|
-
const gradient =
|
|
2384
|
+
const IconComponent = chunkEY3UIPM2_js.LOGIC_ICON_MAP[entry.nodeType];
|
|
2385
|
+
const gradient = chunkEY3UIPM2_js.LOGIC_NODE_GRADIENTS[entry.nodeType] ?? "from-gray-400 to-gray-500";
|
|
2330
2386
|
const inputVariables = entry.variables.filter((variable) => variable.direction === "input");
|
|
2331
2387
|
const outputVariables = entry.variables.filter((variable) => variable.direction === "output");
|
|
2332
2388
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": `variable-node-${entry.nodeId}`, children: [
|
|
@@ -2392,7 +2448,7 @@ function RunInputDialog({
|
|
|
2392
2448
|
onRun
|
|
2393
2449
|
}) {
|
|
2394
2450
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow.runInputDialog");
|
|
2395
|
-
const nodes =
|
|
2451
|
+
const nodes = chunkEY3UIPM2_js.useWorkflowStore((state) => state.nodes);
|
|
2396
2452
|
const [values, setValues] = react.useState({});
|
|
2397
2453
|
const inputVariableNames = react.useMemo(() => {
|
|
2398
2454
|
const storeStartNode = nodes.find((node) => node.type === "start");
|
|
@@ -2419,7 +2475,7 @@ function RunInputDialog({
|
|
|
2419
2475
|
}, [onClose]);
|
|
2420
2476
|
if (!open) return null;
|
|
2421
2477
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2422
|
-
|
|
2478
|
+
chunk6UEVHQTJ_js.GlassFormModal,
|
|
2423
2479
|
{
|
|
2424
2480
|
open,
|
|
2425
2481
|
onClose: handleClose,
|
|
@@ -2431,7 +2487,7 @@ function RunInputDialog({
|
|
|
2431
2487
|
/* @__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: [
|
|
2432
2488
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "mb-1 block text-xs font-medium text-gray-700 dark:text-gray-300", children: variableName }),
|
|
2433
2489
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2434
|
-
|
|
2490
|
+
chunk6UEVHQTJ_js.Input,
|
|
2435
2491
|
{
|
|
2436
2492
|
value: values[variableName] ?? "",
|
|
2437
2493
|
onChange: (event) => handleValueChange(variableName, event.target.value),
|
|
@@ -2440,8 +2496,8 @@ function RunInputDialog({
|
|
|
2440
2496
|
)
|
|
2441
2497
|
] }, variableName)) }),
|
|
2442
2498
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4 flex items-center justify-end gap-2", children: [
|
|
2443
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2444
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2499
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6UEVHQTJ_js.Button, { size: "sm", plain: true, onClick: handleClose, children: t("cancel") }),
|
|
2500
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk6UEVHQTJ_js.Button, { size: "sm", gradient: true, onClick: handleSubmit, children: [
|
|
2445
2501
|
/* @__PURE__ */ jsxRuntime.jsx(outline.PlayIcon, { className: "h-3.5 w-3.5", "data-slot": "icon" }),
|
|
2446
2502
|
t("run")
|
|
2447
2503
|
] })
|
|
@@ -2474,8 +2530,8 @@ function PreviewPanel({ open, onClose, workflowId, loadRuns }) {
|
|
|
2474
2530
|
const [isLoadingRuns, setIsLoadingRuns] = react.useState(false);
|
|
2475
2531
|
const [selectedRun, setSelectedRun] = react.useState(null);
|
|
2476
2532
|
const [selectedNode, setSelectedNode] = react.useState(null);
|
|
2477
|
-
const isRunning =
|
|
2478
|
-
const nodeResults =
|
|
2533
|
+
const isRunning = chunkEY3UIPM2_js.useWorkflowStore((state) => state.isRunning);
|
|
2534
|
+
const nodeResults = chunkEY3UIPM2_js.useWorkflowStore((state) => state.nodeResults);
|
|
2479
2535
|
const refreshRuns = react.useCallback(async () => {
|
|
2480
2536
|
setIsLoadingRuns(true);
|
|
2481
2537
|
try {
|
|
@@ -2631,7 +2687,7 @@ var AutoSaveWorkspace = react.memo(function AutoSaveWorkspace2({
|
|
|
2631
2687
|
onAutoSaveGraph(graph);
|
|
2632
2688
|
}, [onAutoSaveGraph, onGraphSnapshot]);
|
|
2633
2689
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2634
|
-
|
|
2690
|
+
chunkEY3UIPM2_js.Workspace,
|
|
2635
2691
|
{
|
|
2636
2692
|
...workspaceProps,
|
|
2637
2693
|
onGraphChange: handleGraphChange
|
|
@@ -2639,7 +2695,7 @@ var AutoSaveWorkspace = react.memo(function AutoSaveWorkspace2({
|
|
|
2639
2695
|
);
|
|
2640
2696
|
});
|
|
2641
2697
|
function DynamicIslandConfirm2(props) {
|
|
2642
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2698
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6UEVHQTJ_js.DynamicIslandConfirm, { ...props });
|
|
2643
2699
|
}
|
|
2644
2700
|
var JSON_PREVIEW_LINE_LIMIT = 50;
|
|
2645
2701
|
function DslExportModal({ open, onClose, workflow, graph }) {
|
|
@@ -2693,7 +2749,7 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2693
2749
|
}, [jsonString, workflow.name, workflow.version]);
|
|
2694
2750
|
if (!open) return null;
|
|
2695
2751
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2696
|
-
|
|
2752
|
+
chunk6UEVHQTJ_js.GlassFormModal,
|
|
2697
2753
|
{
|
|
2698
2754
|
open,
|
|
2699
2755
|
onClose,
|
|
@@ -2736,7 +2792,7 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2736
2792
|
] }),
|
|
2737
2793
|
/* @__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: [
|
|
2738
2794
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2739
|
-
|
|
2795
|
+
chunk6UEVHQTJ_js.Button,
|
|
2740
2796
|
{
|
|
2741
2797
|
type: "button",
|
|
2742
2798
|
onClick: handleCopyToClipboard,
|
|
@@ -2753,7 +2809,7 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2753
2809
|
}
|
|
2754
2810
|
),
|
|
2755
2811
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2756
|
-
|
|
2812
|
+
chunk6UEVHQTJ_js.Button,
|
|
2757
2813
|
{
|
|
2758
2814
|
type: "button",
|
|
2759
2815
|
onClick: handleDownloadJson,
|
|
@@ -2912,7 +2968,7 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
2912
2968
|
}, []);
|
|
2913
2969
|
if (!open) return null;
|
|
2914
2970
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2915
|
-
|
|
2971
|
+
chunk6UEVHQTJ_js.GlassFormModal,
|
|
2916
2972
|
{
|
|
2917
2973
|
open,
|
|
2918
2974
|
onClose,
|
|
@@ -2953,7 +3009,7 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
2953
3009
|
) : /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": "import-validation-result", children: [
|
|
2954
3010
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4 flex items-center justify-between", children: [
|
|
2955
3011
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: fileName }),
|
|
2956
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3012
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6UEVHQTJ_js.Button, { type: "button", plain: true, size: "sm", onClick: handleReset, children: translations("chooseAnother") })
|
|
2957
3013
|
] }),
|
|
2958
3014
|
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: [
|
|
2959
3015
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -2981,9 +3037,9 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
2981
3037
|
] })
|
|
2982
3038
|
] }) }),
|
|
2983
3039
|
/* @__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: [
|
|
2984
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3040
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6UEVHQTJ_js.Button, { type: "button", onClick: onClose, outline: true, size: "sm", "data-testid": "import-cancel-button", children: translations("cancel") }),
|
|
2985
3041
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2986
|
-
|
|
3042
|
+
chunk6UEVHQTJ_js.Button,
|
|
2987
3043
|
{
|
|
2988
3044
|
type: "button",
|
|
2989
3045
|
onClick: handleImport,
|
|
@@ -3004,14 +3060,14 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
3004
3060
|
}
|
|
3005
3061
|
|
|
3006
3062
|
// src/astrlabe/store/selectors.ts
|
|
3007
|
-
var useCanUndo = () =>
|
|
3008
|
-
var useCanRedo = () =>
|
|
3009
|
-
var useHasCopied = () =>
|
|
3010
|
-
var useContextMenu = () =>
|
|
3011
|
-
var useEditingNodeId = () =>
|
|
3012
|
-
var useSelectedNodeCount = () =>
|
|
3013
|
-
var useIsRunning = () =>
|
|
3014
|
-
var useNodeResults = () =>
|
|
3063
|
+
var useCanUndo = () => chunkEY3UIPM2_js.useWorkflowStore((state) => state.past.length > 0);
|
|
3064
|
+
var useCanRedo = () => chunkEY3UIPM2_js.useWorkflowStore((state) => state.future.length > 0);
|
|
3065
|
+
var useHasCopied = () => chunkEY3UIPM2_js.useWorkflowStore((state) => state.clipboard !== null);
|
|
3066
|
+
var useContextMenu = () => chunkEY3UIPM2_js.useWorkflowStore((state) => state.contextMenu);
|
|
3067
|
+
var useEditingNodeId = () => chunkEY3UIPM2_js.useWorkflowStore((state) => state.editingNodeId);
|
|
3068
|
+
var useSelectedNodeCount = () => chunkEY3UIPM2_js.useWorkflowStore((state) => state.nodes.filter((node) => node.selected).length);
|
|
3069
|
+
var useIsRunning = () => chunkEY3UIPM2_js.useWorkflowStore((state) => state.isRunning);
|
|
3070
|
+
var useNodeResults = () => chunkEY3UIPM2_js.useWorkflowStore((state) => state.nodeResults);
|
|
3015
3071
|
var DEFAULT_MAX_HISTORY = 50;
|
|
3016
3072
|
function useUndoRedo(nodes, edges, setNodes, setEdges, maxHistory = DEFAULT_MAX_HISTORY) {
|
|
3017
3073
|
const pastRef = react.useRef([]);
|
|
@@ -3299,239 +3355,239 @@ Object.defineProperty(exports, "validateWorkflowGraph", {
|
|
|
3299
3355
|
});
|
|
3300
3356
|
Object.defineProperty(exports, "AgentFlowNode", {
|
|
3301
3357
|
enumerable: true,
|
|
3302
|
-
get: function () { return
|
|
3358
|
+
get: function () { return chunkEY3UIPM2_js.AgentFlowNode; }
|
|
3303
3359
|
});
|
|
3304
3360
|
Object.defineProperty(exports, "AgentToolFlowNode", {
|
|
3305
3361
|
enumerable: true,
|
|
3306
|
-
get: function () { return
|
|
3362
|
+
get: function () { return chunkEY3UIPM2_js.AgentToolFlowNode; }
|
|
3307
3363
|
});
|
|
3308
3364
|
Object.defineProperty(exports, "AnswerFlowNode", {
|
|
3309
3365
|
enumerable: true,
|
|
3310
|
-
get: function () { return
|
|
3366
|
+
get: function () { return chunkEY3UIPM2_js.AnswerFlowNode; }
|
|
3311
3367
|
});
|
|
3312
3368
|
Object.defineProperty(exports, "AnthropicIcon", {
|
|
3313
3369
|
enumerable: true,
|
|
3314
|
-
get: function () { return
|
|
3370
|
+
get: function () { return chunkEY3UIPM2_js.AnthropicIcon; }
|
|
3315
3371
|
});
|
|
3316
3372
|
Object.defineProperty(exports, "CodeFlowNode", {
|
|
3317
3373
|
enumerable: true,
|
|
3318
|
-
get: function () { return
|
|
3374
|
+
get: function () { return chunkEY3UIPM2_js.CodeFlowNode; }
|
|
3319
3375
|
});
|
|
3320
3376
|
Object.defineProperty(exports, "CrewAIIcon", {
|
|
3321
3377
|
enumerable: true,
|
|
3322
|
-
get: function () { return
|
|
3378
|
+
get: function () { return chunkEY3UIPM2_js.CrewAIIcon; }
|
|
3323
3379
|
});
|
|
3324
3380
|
Object.defineProperty(exports, "DocumentExtractorFlowNode", {
|
|
3325
3381
|
enumerable: true,
|
|
3326
|
-
get: function () { return
|
|
3382
|
+
get: function () { return chunkEY3UIPM2_js.DocumentExtractorFlowNode; }
|
|
3327
3383
|
});
|
|
3328
3384
|
Object.defineProperty(exports, "EndFlowNode", {
|
|
3329
3385
|
enumerable: true,
|
|
3330
|
-
get: function () { return
|
|
3386
|
+
get: function () { return chunkEY3UIPM2_js.EndFlowNode; }
|
|
3331
3387
|
});
|
|
3332
3388
|
Object.defineProperty(exports, "EntityFlowNode", {
|
|
3333
3389
|
enumerable: true,
|
|
3334
|
-
get: function () { return
|
|
3390
|
+
get: function () { return chunkEY3UIPM2_js.EntityFlowNode; }
|
|
3335
3391
|
});
|
|
3336
3392
|
Object.defineProperty(exports, "FRAMEWORK_META", {
|
|
3337
3393
|
enumerable: true,
|
|
3338
|
-
get: function () { return
|
|
3394
|
+
get: function () { return chunkEY3UIPM2_js.FRAMEWORK_META; }
|
|
3339
3395
|
});
|
|
3340
3396
|
Object.defineProperty(exports, "GoogleADKIcon", {
|
|
3341
3397
|
enumerable: true,
|
|
3342
|
-
get: function () { return
|
|
3398
|
+
get: function () { return chunkEY3UIPM2_js.GoogleADKIcon; }
|
|
3343
3399
|
});
|
|
3344
3400
|
Object.defineProperty(exports, "GroupFlowNode", {
|
|
3345
3401
|
enumerable: true,
|
|
3346
|
-
get: function () { return
|
|
3402
|
+
get: function () { return chunkEY3UIPM2_js.GroupFlowNode; }
|
|
3347
3403
|
});
|
|
3348
3404
|
Object.defineProperty(exports, "HttpRequestFlowNode", {
|
|
3349
3405
|
enumerable: true,
|
|
3350
|
-
get: function () { return
|
|
3406
|
+
get: function () { return chunkEY3UIPM2_js.HttpRequestFlowNode; }
|
|
3351
3407
|
});
|
|
3352
3408
|
Object.defineProperty(exports, "IfElseFlowNode", {
|
|
3353
3409
|
enumerable: true,
|
|
3354
|
-
get: function () { return
|
|
3410
|
+
get: function () { return chunkEY3UIPM2_js.IfElseFlowNode; }
|
|
3355
3411
|
});
|
|
3356
3412
|
Object.defineProperty(exports, "IterationFlowNode", {
|
|
3357
3413
|
enumerable: true,
|
|
3358
|
-
get: function () { return
|
|
3414
|
+
get: function () { return chunkEY3UIPM2_js.IterationFlowNode; }
|
|
3359
3415
|
});
|
|
3360
3416
|
Object.defineProperty(exports, "IterationStartFlowNode", {
|
|
3361
3417
|
enumerable: true,
|
|
3362
|
-
get: function () { return
|
|
3418
|
+
get: function () { return chunkEY3UIPM2_js.IterationStartFlowNode; }
|
|
3363
3419
|
});
|
|
3364
3420
|
Object.defineProperty(exports, "KnowledgeBaseFlowNode", {
|
|
3365
3421
|
enumerable: true,
|
|
3366
|
-
get: function () { return
|
|
3422
|
+
get: function () { return chunkEY3UIPM2_js.KnowledgeBaseFlowNode; }
|
|
3367
3423
|
});
|
|
3368
3424
|
Object.defineProperty(exports, "LOGIC_ICON_MAP", {
|
|
3369
3425
|
enumerable: true,
|
|
3370
|
-
get: function () { return
|
|
3426
|
+
get: function () { return chunkEY3UIPM2_js.LOGIC_ICON_MAP; }
|
|
3371
3427
|
});
|
|
3372
3428
|
Object.defineProperty(exports, "LOGIC_NODE_BADGE_COLORS", {
|
|
3373
3429
|
enumerable: true,
|
|
3374
|
-
get: function () { return
|
|
3430
|
+
get: function () { return chunkEY3UIPM2_js.LOGIC_NODE_BADGE_COLORS; }
|
|
3375
3431
|
});
|
|
3376
3432
|
Object.defineProperty(exports, "LOGIC_NODE_GRADIENTS", {
|
|
3377
3433
|
enumerable: true,
|
|
3378
|
-
get: function () { return
|
|
3434
|
+
get: function () { return chunkEY3UIPM2_js.LOGIC_NODE_GRADIENTS; }
|
|
3379
3435
|
});
|
|
3380
3436
|
Object.defineProperty(exports, "LOGIC_NODE_HANDLE_COLORS", {
|
|
3381
3437
|
enumerable: true,
|
|
3382
|
-
get: function () { return
|
|
3438
|
+
get: function () { return chunkEY3UIPM2_js.LOGIC_NODE_HANDLE_COLORS; }
|
|
3383
3439
|
});
|
|
3384
3440
|
Object.defineProperty(exports, "LangChainIcon", {
|
|
3385
3441
|
enumerable: true,
|
|
3386
|
-
get: function () { return
|
|
3442
|
+
get: function () { return chunkEY3UIPM2_js.LangChainIcon; }
|
|
3387
3443
|
});
|
|
3388
3444
|
Object.defineProperty(exports, "ListOperatorFlowNode", {
|
|
3389
3445
|
enumerable: true,
|
|
3390
|
-
get: function () { return
|
|
3446
|
+
get: function () { return chunkEY3UIPM2_js.ListOperatorFlowNode; }
|
|
3391
3447
|
});
|
|
3392
3448
|
Object.defineProperty(exports, "LogicNodeModal", {
|
|
3393
3449
|
enumerable: true,
|
|
3394
|
-
get: function () { return
|
|
3450
|
+
get: function () { return chunkEY3UIPM2_js.LogicNodeModal; }
|
|
3395
3451
|
});
|
|
3396
3452
|
Object.defineProperty(exports, "MINIMAP_NODE_COLORS", {
|
|
3397
3453
|
enumerable: true,
|
|
3398
|
-
get: function () { return
|
|
3454
|
+
get: function () { return chunkEY3UIPM2_js.MINIMAP_NODE_COLORS; }
|
|
3399
3455
|
});
|
|
3400
3456
|
Object.defineProperty(exports, "ModelProviderFlowNode", {
|
|
3401
3457
|
enumerable: true,
|
|
3402
|
-
get: function () { return
|
|
3458
|
+
get: function () { return chunkEY3UIPM2_js.ModelProviderFlowNode; }
|
|
3403
3459
|
});
|
|
3404
3460
|
Object.defineProperty(exports, "NODE_EXECUTION_ACCENT_COLORS", {
|
|
3405
3461
|
enumerable: true,
|
|
3406
|
-
get: function () { return
|
|
3462
|
+
get: function () { return chunkEY3UIPM2_js.NODE_EXECUTION_ACCENT_COLORS; }
|
|
3407
3463
|
});
|
|
3408
3464
|
Object.defineProperty(exports, "NodeCard", {
|
|
3409
3465
|
enumerable: true,
|
|
3410
|
-
get: function () { return
|
|
3466
|
+
get: function () { return chunkEY3UIPM2_js.NodeCard; }
|
|
3411
3467
|
});
|
|
3412
3468
|
Object.defineProperty(exports, "NodeContextMenu", {
|
|
3413
3469
|
enumerable: true,
|
|
3414
|
-
get: function () { return
|
|
3470
|
+
get: function () { return chunkEY3UIPM2_js.NodeContextMenu; }
|
|
3415
3471
|
});
|
|
3416
3472
|
Object.defineProperty(exports, "NoteFlowNode", {
|
|
3417
3473
|
enumerable: true,
|
|
3418
|
-
get: function () { return
|
|
3474
|
+
get: function () { return chunkEY3UIPM2_js.NoteFlowNode; }
|
|
3419
3475
|
});
|
|
3420
3476
|
Object.defineProperty(exports, "OpenAIIcon", {
|
|
3421
3477
|
enumerable: true,
|
|
3422
|
-
get: function () { return
|
|
3478
|
+
get: function () { return chunkEY3UIPM2_js.OpenAIIcon; }
|
|
3423
3479
|
});
|
|
3424
3480
|
Object.defineProperty(exports, "PanelContextMenu", {
|
|
3425
3481
|
enumerable: true,
|
|
3426
|
-
get: function () { return
|
|
3482
|
+
get: function () { return chunkEY3UIPM2_js.PanelContextMenu; }
|
|
3427
3483
|
});
|
|
3428
3484
|
Object.defineProperty(exports, "ParameterExtractorFlowNode", {
|
|
3429
3485
|
enumerable: true,
|
|
3430
|
-
get: function () { return
|
|
3486
|
+
get: function () { return chunkEY3UIPM2_js.ParameterExtractorFlowNode; }
|
|
3431
3487
|
});
|
|
3432
3488
|
Object.defineProperty(exports, "QuestionClassifierFlowNode", {
|
|
3433
3489
|
enumerable: true,
|
|
3434
|
-
get: function () { return
|
|
3490
|
+
get: function () { return chunkEY3UIPM2_js.QuestionClassifierFlowNode; }
|
|
3435
3491
|
});
|
|
3436
3492
|
Object.defineProperty(exports, "RuleFlowNode", {
|
|
3437
3493
|
enumerable: true,
|
|
3438
|
-
get: function () { return
|
|
3494
|
+
get: function () { return chunkEY3UIPM2_js.RuleFlowNode; }
|
|
3439
3495
|
});
|
|
3440
3496
|
Object.defineProperty(exports, "SelectionContextMenu", {
|
|
3441
3497
|
enumerable: true,
|
|
3442
|
-
get: function () { return
|
|
3498
|
+
get: function () { return chunkEY3UIPM2_js.SelectionContextMenu; }
|
|
3443
3499
|
});
|
|
3444
3500
|
Object.defineProperty(exports, "StartFlowNode", {
|
|
3445
3501
|
enumerable: true,
|
|
3446
|
-
get: function () { return
|
|
3502
|
+
get: function () { return chunkEY3UIPM2_js.StartFlowNode; }
|
|
3447
3503
|
});
|
|
3448
3504
|
Object.defineProperty(exports, "StrandsIcon", {
|
|
3449
3505
|
enumerable: true,
|
|
3450
|
-
get: function () { return
|
|
3506
|
+
get: function () { return chunkEY3UIPM2_js.StrandsIcon; }
|
|
3451
3507
|
});
|
|
3452
3508
|
Object.defineProperty(exports, "TemplateTransformFlowNode", {
|
|
3453
3509
|
enumerable: true,
|
|
3454
|
-
get: function () { return
|
|
3510
|
+
get: function () { return chunkEY3UIPM2_js.TemplateTransformFlowNode; }
|
|
3455
3511
|
});
|
|
3456
3512
|
Object.defineProperty(exports, "ToolFlowNode", {
|
|
3457
3513
|
enumerable: true,
|
|
3458
|
-
get: function () { return
|
|
3514
|
+
get: function () { return chunkEY3UIPM2_js.ToolFlowNode; }
|
|
3459
3515
|
});
|
|
3460
3516
|
Object.defineProperty(exports, "VariableAggregatorFlowNode", {
|
|
3461
3517
|
enumerable: true,
|
|
3462
|
-
get: function () { return
|
|
3518
|
+
get: function () { return chunkEY3UIPM2_js.VariableAggregatorFlowNode; }
|
|
3463
3519
|
});
|
|
3464
3520
|
Object.defineProperty(exports, "VariableAssignerFlowNode", {
|
|
3465
3521
|
enumerable: true,
|
|
3466
|
-
get: function () { return
|
|
3522
|
+
get: function () { return chunkEY3UIPM2_js.VariableAssignerFlowNode; }
|
|
3467
3523
|
});
|
|
3468
3524
|
Object.defineProperty(exports, "WorkflowBuilderProvider", {
|
|
3469
3525
|
enumerable: true,
|
|
3470
|
-
get: function () { return
|
|
3526
|
+
get: function () { return chunkEY3UIPM2_js.WorkflowBuilderProvider; }
|
|
3471
3527
|
});
|
|
3472
3528
|
Object.defineProperty(exports, "Workspace", {
|
|
3473
3529
|
enumerable: true,
|
|
3474
|
-
get: function () { return
|
|
3530
|
+
get: function () { return chunkEY3UIPM2_js.Workspace; }
|
|
3475
3531
|
});
|
|
3476
3532
|
Object.defineProperty(exports, "getCompatibleModels", {
|
|
3477
3533
|
enumerable: true,
|
|
3478
|
-
get: function () { return
|
|
3534
|
+
get: function () { return chunkEY3UIPM2_js.getCompatibleModels; }
|
|
3479
3535
|
});
|
|
3480
3536
|
Object.defineProperty(exports, "getDefaultFrameworkForModel", {
|
|
3481
3537
|
enumerable: true,
|
|
3482
|
-
get: function () { return
|
|
3538
|
+
get: function () { return chunkEY3UIPM2_js.getDefaultFrameworkForModel; }
|
|
3483
3539
|
});
|
|
3484
3540
|
Object.defineProperty(exports, "getEntityBadgeColor", {
|
|
3485
3541
|
enumerable: true,
|
|
3486
|
-
get: function () { return
|
|
3542
|
+
get: function () { return chunkEY3UIPM2_js.getEntityBadgeColor; }
|
|
3487
3543
|
});
|
|
3488
3544
|
Object.defineProperty(exports, "getEntityGradient", {
|
|
3489
3545
|
enumerable: true,
|
|
3490
|
-
get: function () { return
|
|
3546
|
+
get: function () { return chunkEY3UIPM2_js.getEntityGradient; }
|
|
3491
3547
|
});
|
|
3492
3548
|
Object.defineProperty(exports, "getEntityHandleColor", {
|
|
3493
3549
|
enumerable: true,
|
|
3494
|
-
get: function () { return
|
|
3550
|
+
get: function () { return chunkEY3UIPM2_js.getEntityHandleColor; }
|
|
3495
3551
|
});
|
|
3496
3552
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
3497
3553
|
enumerable: true,
|
|
3498
|
-
get: function () { return
|
|
3554
|
+
get: function () { return chunkEY3UIPM2_js.getEntityIcon; }
|
|
3499
3555
|
});
|
|
3500
3556
|
Object.defineProperty(exports, "getEntityMinimapColor", {
|
|
3501
3557
|
enumerable: true,
|
|
3502
|
-
get: function () { return
|
|
3558
|
+
get: function () { return chunkEY3UIPM2_js.getEntityMinimapColor; }
|
|
3503
3559
|
});
|
|
3504
3560
|
Object.defineProperty(exports, "getFrameworkMeta", {
|
|
3505
3561
|
enumerable: true,
|
|
3506
|
-
get: function () { return
|
|
3562
|
+
get: function () { return chunkEY3UIPM2_js.getFrameworkMeta; }
|
|
3507
3563
|
});
|
|
3508
3564
|
Object.defineProperty(exports, "getNodeExecutionAccent", {
|
|
3509
3565
|
enumerable: true,
|
|
3510
|
-
get: function () { return
|
|
3566
|
+
get: function () { return chunkEY3UIPM2_js.getNodeExecutionAccent; }
|
|
3511
3567
|
});
|
|
3512
3568
|
Object.defineProperty(exports, "getNodeExecutionAccentRgb", {
|
|
3513
3569
|
enumerable: true,
|
|
3514
|
-
get: function () { return
|
|
3570
|
+
get: function () { return chunkEY3UIPM2_js.getNodeExecutionAccentRgb; }
|
|
3515
3571
|
});
|
|
3516
3572
|
Object.defineProperty(exports, "isModelCompatibleWithFramework", {
|
|
3517
3573
|
enumerable: true,
|
|
3518
|
-
get: function () { return
|
|
3574
|
+
get: function () { return chunkEY3UIPM2_js.isModelCompatibleWithFramework; }
|
|
3519
3575
|
});
|
|
3520
3576
|
Object.defineProperty(exports, "useModalStore", {
|
|
3521
3577
|
enumerable: true,
|
|
3522
|
-
get: function () { return
|
|
3578
|
+
get: function () { return chunkEY3UIPM2_js.useModalStore; }
|
|
3523
3579
|
});
|
|
3524
3580
|
Object.defineProperty(exports, "useWorkflowBuilderClient", {
|
|
3525
3581
|
enumerable: true,
|
|
3526
|
-
get: function () { return
|
|
3582
|
+
get: function () { return chunkEY3UIPM2_js.useWorkflowBuilderClient; }
|
|
3527
3583
|
});
|
|
3528
3584
|
Object.defineProperty(exports, "useWorkflowBuilderClientOptional", {
|
|
3529
3585
|
enumerable: true,
|
|
3530
|
-
get: function () { return
|
|
3586
|
+
get: function () { return chunkEY3UIPM2_js.useWorkflowBuilderClientOptional; }
|
|
3531
3587
|
});
|
|
3532
3588
|
Object.defineProperty(exports, "useWorkflowStore", {
|
|
3533
3589
|
enumerable: true,
|
|
3534
|
-
get: function () { return
|
|
3590
|
+
get: function () { return chunkEY3UIPM2_js.useWorkflowStore; }
|
|
3535
3591
|
});
|
|
3536
3592
|
Object.defineProperty(exports, "GraphNodeBadge", {
|
|
3537
3593
|
enumerable: true,
|