@datatechsolutions/ui 2.11.25 → 2.11.26
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.d.mts +1 -1
- package/dist/astrlabe/index.d.ts +1 -1
- package/dist/astrlabe/index.js +143 -144
- package/dist/astrlabe/index.js.map +1 -1
- package/dist/astrlabe/index.mjs +21 -22
- 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-VREDPN7P.mjs → chunk-LCOSRCQA.mjs} +4 -4
- package/dist/{chunk-VREDPN7P.mjs.map → chunk-LCOSRCQA.mjs.map} +1 -1
- package/dist/{chunk-FHW6PJ4E.mjs → chunk-NS6EPZOO.mjs} +386 -337
- package/dist/chunk-NS6EPZOO.mjs.map +1 -0
- package/dist/{chunk-CJIOFLOY.js → chunk-TLZ3SAQW.js} +384 -339
- package/dist/chunk-TLZ3SAQW.js.map +1 -0
- package/dist/{chunk-H5MXN5NH.js → chunk-VIZ3MFLZ.js} +48 -48
- package/dist/chunk-VIZ3MFLZ.js.map +1 -0
- package/dist/dynamic-island-confirm-Bw24Ll2r.d.mts +114 -0
- package/dist/dynamic-island-confirm-Bw24Ll2r.d.ts +114 -0
- package/dist/index.d.mts +5 -147
- package/dist/index.d.ts +5 -147
- package/dist/index.js +709 -725
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-CJIOFLOY.js.map +0 -1
- package/dist/chunk-FHW6PJ4E.mjs.map +0 -1
- package/dist/chunk-H5MXN5NH.js.map +0 -1
- package/dist/dynamic-island-confirm-Cbxh-sta.d.mts +0 -52
- package/dist/dynamic-island-confirm-Cbxh-sta.d.ts +0 -52
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 chunkVIZ3MFLZ_js = require('../chunk-VIZ3MFLZ.js');
|
|
7
|
+
var chunkTLZ3SAQW_js = require('../chunk-TLZ3SAQW.js');
|
|
8
8
|
require('../chunk-S7KHTUHA.js');
|
|
9
9
|
require('../chunk-UZ3CMNUJ.js');
|
|
10
10
|
var chunkP4YYEM4B_js = require('../chunk-P4YYEM4B.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 = chunkVIZ3MFLZ_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(chunkVIZ3MFLZ_js.FRAMEWORK_META);
|
|
363
363
|
const hasProviderConstraints = connectedProviderTypes.length > 0;
|
|
364
|
-
const compatibleModels =
|
|
364
|
+
const compatibleModels = chunkVIZ3MFLZ_js.getCompatibleModels(models, selectedFramework);
|
|
365
365
|
const handleFrameworkChange = react.useCallback((newFramework) => {
|
|
366
366
|
setSelectedFramework(newFramework);
|
|
367
|
-
if (!
|
|
368
|
-
const compatible =
|
|
367
|
+
if (!chunkVIZ3MFLZ_js.isModelCompatibleWithFramework(selectedModelId, newFramework)) {
|
|
368
|
+
const compatible = chunkVIZ3MFLZ_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 = chunkVIZ3MFLZ_js.FRAMEWORK_META[key];
|
|
380
380
|
const isSelected = key === selectedFramework;
|
|
381
|
-
const compatCount =
|
|
382
|
-
const isCompatibleWithProviders = !hasProviderConstraints ||
|
|
381
|
+
const compatCount = chunkVIZ3MFLZ_js.getCompatibleModels(models, key).length;
|
|
382
|
+
const isCompatibleWithProviders = !hasProviderConstraints || chunkVIZ3MFLZ_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 = chunkVIZ3MFLZ_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 = chunkVIZ3MFLZ_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) => chunkVIZ3MFLZ_js.isModelCompatibleWithFramework(m.id, agentFramework)
|
|
604
604
|
);
|
|
605
605
|
const incompatibleModels = providerModels.models.filter(
|
|
606
|
-
(m) => !
|
|
606
|
+
(m) => !chunkVIZ3MFLZ_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 = chunkVIZ3MFLZ_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,7 +693,7 @@ function ToolsTab({ agentTools, enabledToolIds, onToggle, agentFramework, t }) {
|
|
|
693
693
|
event.stopPropagation();
|
|
694
694
|
},
|
|
695
695
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
696
|
-
|
|
696
|
+
chunkTLZ3SAQW_js.ToggleSwitch,
|
|
697
697
|
{
|
|
698
698
|
checked: isEnabled,
|
|
699
699
|
onChange: () => onToggle(tool.agentToolId),
|
|
@@ -713,9 +713,9 @@ function ToolsTab({ agentTools, enabledToolIds, onToggle, agentFramework, t }) {
|
|
|
713
713
|
}
|
|
714
714
|
function AgentModal({ onSaved }) {
|
|
715
715
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
716
|
-
const activeModal =
|
|
717
|
-
const agentData =
|
|
718
|
-
const closeModal =
|
|
716
|
+
const activeModal = chunkVIZ3MFLZ_js.useModalStore((s) => s.activeModal);
|
|
717
|
+
const agentData = chunkVIZ3MFLZ_js.useModalStore((s) => s.agentData);
|
|
718
|
+
const closeModal = chunkVIZ3MFLZ_js.useModalStore((s) => s.closeModal);
|
|
719
719
|
const open = activeModal === "agent";
|
|
720
720
|
const agent = agentData?.agent ?? null;
|
|
721
721
|
const models = agentData?.models ?? [];
|
|
@@ -790,7 +790,7 @@ function AgentModal({ onSaved }) {
|
|
|
790
790
|
)
|
|
791
791
|
] });
|
|
792
792
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
793
|
-
|
|
793
|
+
chunkTLZ3SAQW_js.GlassModal,
|
|
794
794
|
{
|
|
795
795
|
open,
|
|
796
796
|
onClose: handleClose,
|
|
@@ -799,16 +799,18 @@ function AgentModal({ onSaved }) {
|
|
|
799
799
|
gradient: "from-indigo-500 to-purple-600",
|
|
800
800
|
icon: /* @__PURE__ */ jsxRuntime.jsx(outline.CpuChipIcon, { className: "h-5 w-5 text-white" }),
|
|
801
801
|
label: isCreateMode ? t("agentDrawer.createAgent") : t("agentDrawer.editAgent"),
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
802
|
+
sidebar: {
|
|
803
|
+
sections,
|
|
804
|
+
activeSectionId: activeTab,
|
|
805
|
+
onSectionChange: (sectionId) => setActiveTab(sectionId),
|
|
806
|
+
identity: {
|
|
807
|
+
displayName: agent.name,
|
|
808
|
+
profileInitial: agent.name.charAt(0).toUpperCase(),
|
|
809
|
+
avatarUrl,
|
|
810
|
+
role: agent.role
|
|
811
|
+
},
|
|
812
|
+
footer: sidebarFooter
|
|
810
813
|
},
|
|
811
|
-
sidebarFooter,
|
|
812
814
|
children: [
|
|
813
815
|
activeTab === "profile" && /* @__PURE__ */ jsxRuntime.jsx(AgentProfileHeader, { agent, models, t, selectedModelId, setSelectedModelId, selectedFramework, temperature, setTemperature, elo, setElo, onChanged: markDirty }),
|
|
814
816
|
activeTab === "framework" && /* @__PURE__ */ jsxRuntime.jsx(ConfigTab, { models, t, selectedModelId, setSelectedModelId, selectedFramework, setSelectedFramework: (fw) => setSelectedFramework(fw), markDirty, connectedProviderTypes: availableModelProviders.map((p) => p.provider) }),
|
|
@@ -940,7 +942,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
940
942
|
const markDirty = useSubworkflowStore((s) => s.markDirty);
|
|
941
943
|
const markSaved = useSubworkflowStore((s) => s.markSaved);
|
|
942
944
|
const closeModal = useSubworkflowStore((s) => s.closeModal);
|
|
943
|
-
const agentBehind =
|
|
945
|
+
const agentBehind = chunkVIZ3MFLZ_js.useModalStore((s) => s.activeModal === "agent" ? s.agentData?.agent?.name : null);
|
|
944
946
|
const isCreateMode = !tool?.toolId;
|
|
945
947
|
const initialGraph = react.useMemo(() => {
|
|
946
948
|
const config = tool?.config;
|
|
@@ -969,9 +971,9 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
969
971
|
}, [tool, onSaved, name, category, description, timeoutMs, latestGraphRef, markSaved]);
|
|
970
972
|
if (!tool) return null;
|
|
971
973
|
const categoryKey = category ?? "external";
|
|
972
|
-
const gradient = tool.color ??
|
|
973
|
-
const categoryPill =
|
|
974
|
-
const IconComponent =
|
|
974
|
+
const gradient = tool.color ?? chunkVIZ3MFLZ_js.CATEGORY_COLORS[categoryKey] ?? chunkVIZ3MFLZ_js.CATEGORY_COLORS.external;
|
|
975
|
+
const categoryPill = chunkVIZ3MFLZ_js.CATEGORY_PILL_COLORS[categoryKey] ?? chunkVIZ3MFLZ_js.CATEGORY_PILL_COLORS.external;
|
|
976
|
+
const IconComponent = chunkVIZ3MFLZ_js.ICON_MAP[tool.icon ?? ""] ?? outline.ArrowPathRoundedSquareIcon;
|
|
975
977
|
const graph = latestGraphRef.current;
|
|
976
978
|
const startNode = graph.nodes.find((n) => n.type === "start");
|
|
977
979
|
const endNode = graph.nodes.find((n) => n.type === "end");
|
|
@@ -1004,7 +1006,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1004
1006
|
] })
|
|
1005
1007
|
] });
|
|
1006
1008
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1007
|
-
|
|
1009
|
+
chunkTLZ3SAQW_js.GlassModal,
|
|
1008
1010
|
{
|
|
1009
1011
|
open,
|
|
1010
1012
|
onClose: closeModal,
|
|
@@ -1036,7 +1038,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1036
1038
|
{
|
|
1037
1039
|
type: "button",
|
|
1038
1040
|
onClick: () => setCategory(cat),
|
|
1039
|
-
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${
|
|
1041
|
+
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${chunkVIZ3MFLZ_js.CATEGORY_PILL_COLORS[cat] ?? chunkVIZ3MFLZ_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"}`,
|
|
1040
1042
|
children: cat
|
|
1041
1043
|
},
|
|
1042
1044
|
cat
|
|
@@ -1123,7 +1125,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1123
1125
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto" })
|
|
1124
1126
|
] }),
|
|
1125
1127
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1126
|
-
|
|
1128
|
+
chunkVIZ3MFLZ_js.WorkflowCanvas,
|
|
1127
1129
|
{
|
|
1128
1130
|
initialGraph,
|
|
1129
1131
|
agents: [],
|
|
@@ -1160,7 +1162,7 @@ function WorkspaceModal({
|
|
|
1160
1162
|
}) {
|
|
1161
1163
|
const resolvedSize = LEGACY_WIDTH_MAP[maxWidth] ?? maxWidth;
|
|
1162
1164
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1163
|
-
|
|
1165
|
+
chunkTLZ3SAQW_js.GlassModal,
|
|
1164
1166
|
{
|
|
1165
1167
|
open,
|
|
1166
1168
|
onClose,
|
|
@@ -1181,9 +1183,9 @@ function WorkspaceModal({
|
|
|
1181
1183
|
}
|
|
1182
1184
|
function PipelineSettingsModal({ onSave }) {
|
|
1183
1185
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
1184
|
-
const activeModal =
|
|
1185
|
-
const data =
|
|
1186
|
-
const closeModal =
|
|
1186
|
+
const activeModal = chunkVIZ3MFLZ_js.useModalStore((s) => s.activeModal);
|
|
1187
|
+
const data = chunkVIZ3MFLZ_js.useModalStore((s) => s.pipelineSettingsData);
|
|
1188
|
+
const closeModal = chunkVIZ3MFLZ_js.useModalStore((s) => s.closeModal);
|
|
1187
1189
|
const open = activeModal === "pipeline-settings";
|
|
1188
1190
|
const [nameValue, setNameValue] = react.useState("");
|
|
1189
1191
|
const [descriptionValue, setDescriptionValue] = react.useState("");
|
|
@@ -1218,7 +1220,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1218
1220
|
}
|
|
1219
1221
|
),
|
|
1220
1222
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1221
|
-
|
|
1223
|
+
chunkTLZ3SAQW_js.Button,
|
|
1222
1224
|
{
|
|
1223
1225
|
type: "submit",
|
|
1224
1226
|
form: "pipeline-settings-form",
|
|
@@ -1233,7 +1235,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1233
1235
|
)
|
|
1234
1236
|
] });
|
|
1235
1237
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1236
|
-
|
|
1238
|
+
chunkTLZ3SAQW_js.GlassModal,
|
|
1237
1239
|
{
|
|
1238
1240
|
open,
|
|
1239
1241
|
onClose: closeModal,
|
|
@@ -1247,7 +1249,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1247
1249
|
onSubmit: handleSubmit,
|
|
1248
1250
|
children: /* @__PURE__ */ jsxRuntime.jsxs("form", { id: "pipeline-settings-form", onSubmit: handleSubmit, className: "space-y-6", children: [
|
|
1249
1251
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1250
|
-
|
|
1252
|
+
chunkTLZ3SAQW_js.FormInput,
|
|
1251
1253
|
{
|
|
1252
1254
|
label: t("pipelineName"),
|
|
1253
1255
|
value: nameValue,
|
|
@@ -1257,7 +1259,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1257
1259
|
}
|
|
1258
1260
|
),
|
|
1259
1261
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1260
|
-
|
|
1262
|
+
chunkTLZ3SAQW_js.FormTextarea,
|
|
1261
1263
|
{
|
|
1262
1264
|
label: t("pipelineDescription"),
|
|
1263
1265
|
value: descriptionValue,
|
|
@@ -1392,8 +1394,8 @@ function CollapsibleSection({ title, icon, colorClass, defaultOpen = true, count
|
|
|
1392
1394
|
] });
|
|
1393
1395
|
}
|
|
1394
1396
|
function LogicNodeItemCard({ item, translationFunction }) {
|
|
1395
|
-
const IconComponent =
|
|
1396
|
-
const gradient =
|
|
1397
|
+
const IconComponent = chunkVIZ3MFLZ_js.LOGIC_ICON_MAP[item.nodeType];
|
|
1398
|
+
const gradient = chunkVIZ3MFLZ_js.LOGIC_NODE_GRADIENTS[item.nodeType] ?? "from-gray-400 to-gray-500";
|
|
1397
1399
|
const defaultConfig = chunkPWBWP5FJ_js.createDefaultLogicNodeConfig(item.nodeType);
|
|
1398
1400
|
const configJson = defaultConfig ? JSON.stringify(defaultConfig) : void 0;
|
|
1399
1401
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1559,7 +1561,7 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1559
1561
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-[10px] text-gray-400 dark:text-gray-500", children: tool.category })
|
|
1560
1562
|
] }),
|
|
1561
1563
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1562
|
-
|
|
1564
|
+
chunkTLZ3SAQW_js.ToggleSwitch,
|
|
1563
1565
|
{
|
|
1564
1566
|
checked: Boolean(tool.enabled),
|
|
1565
1567
|
onChange: () => {
|
|
@@ -1599,7 +1601,7 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1599
1601
|
] })
|
|
1600
1602
|
] }),
|
|
1601
1603
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1602
|
-
|
|
1604
|
+
chunkTLZ3SAQW_js.ToggleSwitch,
|
|
1603
1605
|
{
|
|
1604
1606
|
checked: Boolean(rule.enabled),
|
|
1605
1607
|
onChange: () => {
|
|
@@ -1634,8 +1636,8 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1634
1636
|
limit: entity.defaultLimit
|
|
1635
1637
|
});
|
|
1636
1638
|
const dsLogo = getDatasourceLogo(entity.id);
|
|
1637
|
-
const EntityIcon =
|
|
1638
|
-
const entityGradient =
|
|
1639
|
+
const EntityIcon = chunkVIZ3MFLZ_js.getEntityIcon(entity.id);
|
|
1640
|
+
const entityGradient = chunkVIZ3MFLZ_js.getEntityGradient(entity.id);
|
|
1639
1641
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1640
1642
|
"div",
|
|
1641
1643
|
{
|
|
@@ -1655,7 +1657,7 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1655
1657
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
1656
1658
|
/* @__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
1659
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1658
|
-
|
|
1660
|
+
chunkTLZ3SAQW_js.ToggleSwitch,
|
|
1659
1661
|
{
|
|
1660
1662
|
checked: true,
|
|
1661
1663
|
onChange: () => {
|
|
@@ -2031,9 +2033,9 @@ function formatDuration2(durationMs) {
|
|
|
2031
2033
|
}
|
|
2032
2034
|
function RunPanel({ open, onClose, onRun, onStop }) {
|
|
2033
2035
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.runPanel");
|
|
2034
|
-
const nodes =
|
|
2035
|
-
const isRunning =
|
|
2036
|
-
const nodeResults =
|
|
2036
|
+
const nodes = chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.nodes);
|
|
2037
|
+
const isRunning = chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.isRunning);
|
|
2038
|
+
const nodeResults = chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.nodeResults);
|
|
2037
2039
|
const startNode = nodes.find((node) => node.type === "start");
|
|
2038
2040
|
const hasEndNode = nodes.some((node) => node.type === "end");
|
|
2039
2041
|
const hasValidStartConfig = Boolean(
|
|
@@ -2318,8 +2320,8 @@ function inferVariables(config, nodeType) {
|
|
|
2318
2320
|
}
|
|
2319
2321
|
function VariableInspector({ open, onClose }) {
|
|
2320
2322
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.variableInspector");
|
|
2321
|
-
const nodes =
|
|
2322
|
-
const edges =
|
|
2323
|
+
const nodes = chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.nodes);
|
|
2324
|
+
const edges = chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.edges);
|
|
2323
2325
|
const [expandedNodes, setExpandedNodes] = react.useState(/* @__PURE__ */ new Set());
|
|
2324
2326
|
const toggleNodeExpansion = react.useCallback((nodeId) => {
|
|
2325
2327
|
setExpandedNodes((current) => {
|
|
@@ -2381,8 +2383,8 @@ function VariableInspector({ open, onClose }) {
|
|
|
2381
2383
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-gray-500 dark:text-gray-400", children: translations("noNodes") })
|
|
2382
2384
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "divide-y divide-gray-100 dark:divide-gray-800", children: nodeVariableEntries.map((entry) => {
|
|
2383
2385
|
const isExpanded = expandedNodes.has(entry.nodeId);
|
|
2384
|
-
const IconComponent =
|
|
2385
|
-
const gradient =
|
|
2386
|
+
const IconComponent = chunkVIZ3MFLZ_js.LOGIC_ICON_MAP[entry.nodeType];
|
|
2387
|
+
const gradient = chunkVIZ3MFLZ_js.LOGIC_NODE_GRADIENTS[entry.nodeType] ?? "from-gray-400 to-gray-500";
|
|
2386
2388
|
const inputVariables = entry.variables.filter((variable) => variable.direction === "input");
|
|
2387
2389
|
const outputVariables = entry.variables.filter((variable) => variable.direction === "output");
|
|
2388
2390
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": `variable-node-${entry.nodeId}`, children: [
|
|
@@ -2448,7 +2450,7 @@ function RunInputDialog({
|
|
|
2448
2450
|
onRun
|
|
2449
2451
|
}) {
|
|
2450
2452
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow.runInputDialog");
|
|
2451
|
-
const nodes =
|
|
2453
|
+
const nodes = chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.nodes);
|
|
2452
2454
|
const [values, setValues] = react.useState({});
|
|
2453
2455
|
const inputVariableNames = react.useMemo(() => {
|
|
2454
2456
|
const storeStartNode = nodes.find((node) => node.type === "start");
|
|
@@ -2475,19 +2477,18 @@ function RunInputDialog({
|
|
|
2475
2477
|
}, [onClose]);
|
|
2476
2478
|
if (!open) return null;
|
|
2477
2479
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2478
|
-
|
|
2480
|
+
chunkTLZ3SAQW_js.GlassModal,
|
|
2479
2481
|
{
|
|
2480
2482
|
open,
|
|
2481
2483
|
onClose: handleClose,
|
|
2482
2484
|
title: t("title"),
|
|
2483
2485
|
subtitle: t("subtitle"),
|
|
2484
2486
|
maxWidth: "md",
|
|
2485
|
-
showFooter: false,
|
|
2486
2487
|
children: [
|
|
2487
2488
|
/* @__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: [
|
|
2488
2489
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "mb-1 block text-xs font-medium text-gray-700 dark:text-gray-300", children: variableName }),
|
|
2489
2490
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2490
|
-
|
|
2491
|
+
chunkTLZ3SAQW_js.Input,
|
|
2491
2492
|
{
|
|
2492
2493
|
value: values[variableName] ?? "",
|
|
2493
2494
|
onChange: (event) => handleValueChange(variableName, event.target.value),
|
|
@@ -2496,8 +2497,8 @@ function RunInputDialog({
|
|
|
2496
2497
|
)
|
|
2497
2498
|
] }, variableName)) }),
|
|
2498
2499
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4 flex items-center justify-end gap-2", children: [
|
|
2499
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2500
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2500
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTLZ3SAQW_js.Button, { size: "sm", plain: true, onClick: handleClose, children: t("cancel") }),
|
|
2501
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkTLZ3SAQW_js.Button, { size: "sm", gradient: true, onClick: handleSubmit, children: [
|
|
2501
2502
|
/* @__PURE__ */ jsxRuntime.jsx(outline.PlayIcon, { className: "h-3.5 w-3.5", "data-slot": "icon" }),
|
|
2502
2503
|
t("run")
|
|
2503
2504
|
] })
|
|
@@ -2530,8 +2531,8 @@ function PreviewPanel({ open, onClose, workflowId, loadRuns }) {
|
|
|
2530
2531
|
const [isLoadingRuns, setIsLoadingRuns] = react.useState(false);
|
|
2531
2532
|
const [selectedRun, setSelectedRun] = react.useState(null);
|
|
2532
2533
|
const [selectedNode, setSelectedNode] = react.useState(null);
|
|
2533
|
-
const isRunning =
|
|
2534
|
-
const nodeResults =
|
|
2534
|
+
const isRunning = chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.isRunning);
|
|
2535
|
+
const nodeResults = chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.nodeResults);
|
|
2535
2536
|
const refreshRuns = react.useCallback(async () => {
|
|
2536
2537
|
setIsLoadingRuns(true);
|
|
2537
2538
|
try {
|
|
@@ -2687,7 +2688,7 @@ var AutoSaveWorkspace = react.memo(function AutoSaveWorkspace2({
|
|
|
2687
2688
|
onAutoSaveGraph(graph);
|
|
2688
2689
|
}, [onAutoSaveGraph, onGraphSnapshot]);
|
|
2689
2690
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2690
|
-
|
|
2691
|
+
chunkVIZ3MFLZ_js.Workspace,
|
|
2691
2692
|
{
|
|
2692
2693
|
...workspaceProps,
|
|
2693
2694
|
onGraphChange: handleGraphChange
|
|
@@ -2695,7 +2696,7 @@ var AutoSaveWorkspace = react.memo(function AutoSaveWorkspace2({
|
|
|
2695
2696
|
);
|
|
2696
2697
|
});
|
|
2697
2698
|
function DynamicIslandConfirm2(props) {
|
|
2698
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2699
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkTLZ3SAQW_js.DynamicIslandConfirm, { ...props });
|
|
2699
2700
|
}
|
|
2700
2701
|
var JSON_PREVIEW_LINE_LIMIT = 50;
|
|
2701
2702
|
function DslExportModal({ open, onClose, workflow, graph }) {
|
|
@@ -2749,14 +2750,13 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2749
2750
|
}, [jsonString, workflow.name, workflow.version]);
|
|
2750
2751
|
if (!open) return null;
|
|
2751
2752
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2752
|
-
|
|
2753
|
+
chunkTLZ3SAQW_js.GlassModal,
|
|
2753
2754
|
{
|
|
2754
2755
|
open,
|
|
2755
2756
|
onClose,
|
|
2756
2757
|
title: translations("title"),
|
|
2757
2758
|
subtitle: translations("description"),
|
|
2758
2759
|
maxWidth: "2xl",
|
|
2759
|
-
showFooter: false,
|
|
2760
2760
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": "dsl-export-modal", children: [
|
|
2761
2761
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-gray-200 px-1 py-4 dark:border-gray-700", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-4 text-sm", children: [
|
|
2762
2762
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -2792,7 +2792,7 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2792
2792
|
] }),
|
|
2793
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: [
|
|
2794
2794
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2795
|
-
|
|
2795
|
+
chunkTLZ3SAQW_js.Button,
|
|
2796
2796
|
{
|
|
2797
2797
|
type: "button",
|
|
2798
2798
|
onClick: handleCopyToClipboard,
|
|
@@ -2809,7 +2809,7 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2809
2809
|
}
|
|
2810
2810
|
),
|
|
2811
2811
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2812
|
-
|
|
2812
|
+
chunkTLZ3SAQW_js.Button,
|
|
2813
2813
|
{
|
|
2814
2814
|
type: "button",
|
|
2815
2815
|
onClick: handleDownloadJson,
|
|
@@ -2968,14 +2968,13 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
2968
2968
|
}, []);
|
|
2969
2969
|
if (!open) return null;
|
|
2970
2970
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2971
|
-
|
|
2971
|
+
chunkTLZ3SAQW_js.GlassModal,
|
|
2972
2972
|
{
|
|
2973
2973
|
open,
|
|
2974
2974
|
onClose,
|
|
2975
2975
|
title: translations("title"),
|
|
2976
2976
|
subtitle: translations("description"),
|
|
2977
2977
|
maxWidth: "lg",
|
|
2978
|
-
showFooter: false,
|
|
2979
2978
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": "dsl-import-modal", children: [
|
|
2980
2979
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-1 py-2", children: !validationResult ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2981
2980
|
"div",
|
|
@@ -3009,7 +3008,7 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
3009
3008
|
) : /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": "import-validation-result", children: [
|
|
3010
3009
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4 flex items-center justify-between", children: [
|
|
3011
3010
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: fileName }),
|
|
3012
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3011
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTLZ3SAQW_js.Button, { type: "button", plain: true, size: "sm", onClick: handleReset, children: translations("chooseAnother") })
|
|
3013
3012
|
] }),
|
|
3014
3013
|
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: [
|
|
3015
3014
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -3037,9 +3036,9 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
3037
3036
|
] })
|
|
3038
3037
|
] }) }),
|
|
3039
3038
|
/* @__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: [
|
|
3040
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3039
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTLZ3SAQW_js.Button, { type: "button", onClick: onClose, outline: true, size: "sm", "data-testid": "import-cancel-button", children: translations("cancel") }),
|
|
3041
3040
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3042
|
-
|
|
3041
|
+
chunkTLZ3SAQW_js.Button,
|
|
3043
3042
|
{
|
|
3044
3043
|
type: "button",
|
|
3045
3044
|
onClick: handleImport,
|
|
@@ -3060,14 +3059,14 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
3060
3059
|
}
|
|
3061
3060
|
|
|
3062
3061
|
// src/astrlabe/store/selectors.ts
|
|
3063
|
-
var useCanUndo = () =>
|
|
3064
|
-
var useCanRedo = () =>
|
|
3065
|
-
var useHasCopied = () =>
|
|
3066
|
-
var useContextMenu = () =>
|
|
3067
|
-
var useEditingNodeId = () =>
|
|
3068
|
-
var useSelectedNodeCount = () =>
|
|
3069
|
-
var useIsRunning = () =>
|
|
3070
|
-
var useNodeResults = () =>
|
|
3062
|
+
var useCanUndo = () => chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.past.length > 0);
|
|
3063
|
+
var useCanRedo = () => chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.future.length > 0);
|
|
3064
|
+
var useHasCopied = () => chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.clipboard !== null);
|
|
3065
|
+
var useContextMenu = () => chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.contextMenu);
|
|
3066
|
+
var useEditingNodeId = () => chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.editingNodeId);
|
|
3067
|
+
var useSelectedNodeCount = () => chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.nodes.filter((node) => node.selected).length);
|
|
3068
|
+
var useIsRunning = () => chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.isRunning);
|
|
3069
|
+
var useNodeResults = () => chunkVIZ3MFLZ_js.useWorkflowStore((state) => state.nodeResults);
|
|
3071
3070
|
var DEFAULT_MAX_HISTORY = 50;
|
|
3072
3071
|
function useUndoRedo(nodes, edges, setNodes, setEdges, maxHistory = DEFAULT_MAX_HISTORY) {
|
|
3073
3072
|
const pastRef = react.useRef([]);
|
|
@@ -3355,239 +3354,239 @@ Object.defineProperty(exports, "validateWorkflowGraph", {
|
|
|
3355
3354
|
});
|
|
3356
3355
|
Object.defineProperty(exports, "AgentFlowNode", {
|
|
3357
3356
|
enumerable: true,
|
|
3358
|
-
get: function () { return
|
|
3357
|
+
get: function () { return chunkVIZ3MFLZ_js.AgentFlowNode; }
|
|
3359
3358
|
});
|
|
3360
3359
|
Object.defineProperty(exports, "AgentToolFlowNode", {
|
|
3361
3360
|
enumerable: true,
|
|
3362
|
-
get: function () { return
|
|
3361
|
+
get: function () { return chunkVIZ3MFLZ_js.AgentToolFlowNode; }
|
|
3363
3362
|
});
|
|
3364
3363
|
Object.defineProperty(exports, "AnswerFlowNode", {
|
|
3365
3364
|
enumerable: true,
|
|
3366
|
-
get: function () { return
|
|
3365
|
+
get: function () { return chunkVIZ3MFLZ_js.AnswerFlowNode; }
|
|
3367
3366
|
});
|
|
3368
3367
|
Object.defineProperty(exports, "AnthropicIcon", {
|
|
3369
3368
|
enumerable: true,
|
|
3370
|
-
get: function () { return
|
|
3369
|
+
get: function () { return chunkVIZ3MFLZ_js.AnthropicIcon; }
|
|
3371
3370
|
});
|
|
3372
3371
|
Object.defineProperty(exports, "CodeFlowNode", {
|
|
3373
3372
|
enumerable: true,
|
|
3374
|
-
get: function () { return
|
|
3373
|
+
get: function () { return chunkVIZ3MFLZ_js.CodeFlowNode; }
|
|
3375
3374
|
});
|
|
3376
3375
|
Object.defineProperty(exports, "CrewAIIcon", {
|
|
3377
3376
|
enumerable: true,
|
|
3378
|
-
get: function () { return
|
|
3377
|
+
get: function () { return chunkVIZ3MFLZ_js.CrewAIIcon; }
|
|
3379
3378
|
});
|
|
3380
3379
|
Object.defineProperty(exports, "DocumentExtractorFlowNode", {
|
|
3381
3380
|
enumerable: true,
|
|
3382
|
-
get: function () { return
|
|
3381
|
+
get: function () { return chunkVIZ3MFLZ_js.DocumentExtractorFlowNode; }
|
|
3383
3382
|
});
|
|
3384
3383
|
Object.defineProperty(exports, "EndFlowNode", {
|
|
3385
3384
|
enumerable: true,
|
|
3386
|
-
get: function () { return
|
|
3385
|
+
get: function () { return chunkVIZ3MFLZ_js.EndFlowNode; }
|
|
3387
3386
|
});
|
|
3388
3387
|
Object.defineProperty(exports, "EntityFlowNode", {
|
|
3389
3388
|
enumerable: true,
|
|
3390
|
-
get: function () { return
|
|
3389
|
+
get: function () { return chunkVIZ3MFLZ_js.EntityFlowNode; }
|
|
3391
3390
|
});
|
|
3392
3391
|
Object.defineProperty(exports, "FRAMEWORK_META", {
|
|
3393
3392
|
enumerable: true,
|
|
3394
|
-
get: function () { return
|
|
3393
|
+
get: function () { return chunkVIZ3MFLZ_js.FRAMEWORK_META; }
|
|
3395
3394
|
});
|
|
3396
3395
|
Object.defineProperty(exports, "GoogleADKIcon", {
|
|
3397
3396
|
enumerable: true,
|
|
3398
|
-
get: function () { return
|
|
3397
|
+
get: function () { return chunkVIZ3MFLZ_js.GoogleADKIcon; }
|
|
3399
3398
|
});
|
|
3400
3399
|
Object.defineProperty(exports, "GroupFlowNode", {
|
|
3401
3400
|
enumerable: true,
|
|
3402
|
-
get: function () { return
|
|
3401
|
+
get: function () { return chunkVIZ3MFLZ_js.GroupFlowNode; }
|
|
3403
3402
|
});
|
|
3404
3403
|
Object.defineProperty(exports, "HttpRequestFlowNode", {
|
|
3405
3404
|
enumerable: true,
|
|
3406
|
-
get: function () { return
|
|
3405
|
+
get: function () { return chunkVIZ3MFLZ_js.HttpRequestFlowNode; }
|
|
3407
3406
|
});
|
|
3408
3407
|
Object.defineProperty(exports, "IfElseFlowNode", {
|
|
3409
3408
|
enumerable: true,
|
|
3410
|
-
get: function () { return
|
|
3409
|
+
get: function () { return chunkVIZ3MFLZ_js.IfElseFlowNode; }
|
|
3411
3410
|
});
|
|
3412
3411
|
Object.defineProperty(exports, "IterationFlowNode", {
|
|
3413
3412
|
enumerable: true,
|
|
3414
|
-
get: function () { return
|
|
3413
|
+
get: function () { return chunkVIZ3MFLZ_js.IterationFlowNode; }
|
|
3415
3414
|
});
|
|
3416
3415
|
Object.defineProperty(exports, "IterationStartFlowNode", {
|
|
3417
3416
|
enumerable: true,
|
|
3418
|
-
get: function () { return
|
|
3417
|
+
get: function () { return chunkVIZ3MFLZ_js.IterationStartFlowNode; }
|
|
3419
3418
|
});
|
|
3420
3419
|
Object.defineProperty(exports, "KnowledgeBaseFlowNode", {
|
|
3421
3420
|
enumerable: true,
|
|
3422
|
-
get: function () { return
|
|
3421
|
+
get: function () { return chunkVIZ3MFLZ_js.KnowledgeBaseFlowNode; }
|
|
3423
3422
|
});
|
|
3424
3423
|
Object.defineProperty(exports, "LOGIC_ICON_MAP", {
|
|
3425
3424
|
enumerable: true,
|
|
3426
|
-
get: function () { return
|
|
3425
|
+
get: function () { return chunkVIZ3MFLZ_js.LOGIC_ICON_MAP; }
|
|
3427
3426
|
});
|
|
3428
3427
|
Object.defineProperty(exports, "LOGIC_NODE_BADGE_COLORS", {
|
|
3429
3428
|
enumerable: true,
|
|
3430
|
-
get: function () { return
|
|
3429
|
+
get: function () { return chunkVIZ3MFLZ_js.LOGIC_NODE_BADGE_COLORS; }
|
|
3431
3430
|
});
|
|
3432
3431
|
Object.defineProperty(exports, "LOGIC_NODE_GRADIENTS", {
|
|
3433
3432
|
enumerable: true,
|
|
3434
|
-
get: function () { return
|
|
3433
|
+
get: function () { return chunkVIZ3MFLZ_js.LOGIC_NODE_GRADIENTS; }
|
|
3435
3434
|
});
|
|
3436
3435
|
Object.defineProperty(exports, "LOGIC_NODE_HANDLE_COLORS", {
|
|
3437
3436
|
enumerable: true,
|
|
3438
|
-
get: function () { return
|
|
3437
|
+
get: function () { return chunkVIZ3MFLZ_js.LOGIC_NODE_HANDLE_COLORS; }
|
|
3439
3438
|
});
|
|
3440
3439
|
Object.defineProperty(exports, "LangChainIcon", {
|
|
3441
3440
|
enumerable: true,
|
|
3442
|
-
get: function () { return
|
|
3441
|
+
get: function () { return chunkVIZ3MFLZ_js.LangChainIcon; }
|
|
3443
3442
|
});
|
|
3444
3443
|
Object.defineProperty(exports, "ListOperatorFlowNode", {
|
|
3445
3444
|
enumerable: true,
|
|
3446
|
-
get: function () { return
|
|
3445
|
+
get: function () { return chunkVIZ3MFLZ_js.ListOperatorFlowNode; }
|
|
3447
3446
|
});
|
|
3448
3447
|
Object.defineProperty(exports, "LogicNodeModal", {
|
|
3449
3448
|
enumerable: true,
|
|
3450
|
-
get: function () { return
|
|
3449
|
+
get: function () { return chunkVIZ3MFLZ_js.LogicNodeModal; }
|
|
3451
3450
|
});
|
|
3452
3451
|
Object.defineProperty(exports, "MINIMAP_NODE_COLORS", {
|
|
3453
3452
|
enumerable: true,
|
|
3454
|
-
get: function () { return
|
|
3453
|
+
get: function () { return chunkVIZ3MFLZ_js.MINIMAP_NODE_COLORS; }
|
|
3455
3454
|
});
|
|
3456
3455
|
Object.defineProperty(exports, "ModelProviderFlowNode", {
|
|
3457
3456
|
enumerable: true,
|
|
3458
|
-
get: function () { return
|
|
3457
|
+
get: function () { return chunkVIZ3MFLZ_js.ModelProviderFlowNode; }
|
|
3459
3458
|
});
|
|
3460
3459
|
Object.defineProperty(exports, "NODE_EXECUTION_ACCENT_COLORS", {
|
|
3461
3460
|
enumerable: true,
|
|
3462
|
-
get: function () { return
|
|
3461
|
+
get: function () { return chunkVIZ3MFLZ_js.NODE_EXECUTION_ACCENT_COLORS; }
|
|
3463
3462
|
});
|
|
3464
3463
|
Object.defineProperty(exports, "NodeCard", {
|
|
3465
3464
|
enumerable: true,
|
|
3466
|
-
get: function () { return
|
|
3465
|
+
get: function () { return chunkVIZ3MFLZ_js.NodeCard; }
|
|
3467
3466
|
});
|
|
3468
3467
|
Object.defineProperty(exports, "NodeContextMenu", {
|
|
3469
3468
|
enumerable: true,
|
|
3470
|
-
get: function () { return
|
|
3469
|
+
get: function () { return chunkVIZ3MFLZ_js.NodeContextMenu; }
|
|
3471
3470
|
});
|
|
3472
3471
|
Object.defineProperty(exports, "NoteFlowNode", {
|
|
3473
3472
|
enumerable: true,
|
|
3474
|
-
get: function () { return
|
|
3473
|
+
get: function () { return chunkVIZ3MFLZ_js.NoteFlowNode; }
|
|
3475
3474
|
});
|
|
3476
3475
|
Object.defineProperty(exports, "OpenAIIcon", {
|
|
3477
3476
|
enumerable: true,
|
|
3478
|
-
get: function () { return
|
|
3477
|
+
get: function () { return chunkVIZ3MFLZ_js.OpenAIIcon; }
|
|
3479
3478
|
});
|
|
3480
3479
|
Object.defineProperty(exports, "PanelContextMenu", {
|
|
3481
3480
|
enumerable: true,
|
|
3482
|
-
get: function () { return
|
|
3481
|
+
get: function () { return chunkVIZ3MFLZ_js.PanelContextMenu; }
|
|
3483
3482
|
});
|
|
3484
3483
|
Object.defineProperty(exports, "ParameterExtractorFlowNode", {
|
|
3485
3484
|
enumerable: true,
|
|
3486
|
-
get: function () { return
|
|
3485
|
+
get: function () { return chunkVIZ3MFLZ_js.ParameterExtractorFlowNode; }
|
|
3487
3486
|
});
|
|
3488
3487
|
Object.defineProperty(exports, "QuestionClassifierFlowNode", {
|
|
3489
3488
|
enumerable: true,
|
|
3490
|
-
get: function () { return
|
|
3489
|
+
get: function () { return chunkVIZ3MFLZ_js.QuestionClassifierFlowNode; }
|
|
3491
3490
|
});
|
|
3492
3491
|
Object.defineProperty(exports, "RuleFlowNode", {
|
|
3493
3492
|
enumerable: true,
|
|
3494
|
-
get: function () { return
|
|
3493
|
+
get: function () { return chunkVIZ3MFLZ_js.RuleFlowNode; }
|
|
3495
3494
|
});
|
|
3496
3495
|
Object.defineProperty(exports, "SelectionContextMenu", {
|
|
3497
3496
|
enumerable: true,
|
|
3498
|
-
get: function () { return
|
|
3497
|
+
get: function () { return chunkVIZ3MFLZ_js.SelectionContextMenu; }
|
|
3499
3498
|
});
|
|
3500
3499
|
Object.defineProperty(exports, "StartFlowNode", {
|
|
3501
3500
|
enumerable: true,
|
|
3502
|
-
get: function () { return
|
|
3501
|
+
get: function () { return chunkVIZ3MFLZ_js.StartFlowNode; }
|
|
3503
3502
|
});
|
|
3504
3503
|
Object.defineProperty(exports, "StrandsIcon", {
|
|
3505
3504
|
enumerable: true,
|
|
3506
|
-
get: function () { return
|
|
3505
|
+
get: function () { return chunkVIZ3MFLZ_js.StrandsIcon; }
|
|
3507
3506
|
});
|
|
3508
3507
|
Object.defineProperty(exports, "TemplateTransformFlowNode", {
|
|
3509
3508
|
enumerable: true,
|
|
3510
|
-
get: function () { return
|
|
3509
|
+
get: function () { return chunkVIZ3MFLZ_js.TemplateTransformFlowNode; }
|
|
3511
3510
|
});
|
|
3512
3511
|
Object.defineProperty(exports, "ToolFlowNode", {
|
|
3513
3512
|
enumerable: true,
|
|
3514
|
-
get: function () { return
|
|
3513
|
+
get: function () { return chunkVIZ3MFLZ_js.ToolFlowNode; }
|
|
3515
3514
|
});
|
|
3516
3515
|
Object.defineProperty(exports, "VariableAggregatorFlowNode", {
|
|
3517
3516
|
enumerable: true,
|
|
3518
|
-
get: function () { return
|
|
3517
|
+
get: function () { return chunkVIZ3MFLZ_js.VariableAggregatorFlowNode; }
|
|
3519
3518
|
});
|
|
3520
3519
|
Object.defineProperty(exports, "VariableAssignerFlowNode", {
|
|
3521
3520
|
enumerable: true,
|
|
3522
|
-
get: function () { return
|
|
3521
|
+
get: function () { return chunkVIZ3MFLZ_js.VariableAssignerFlowNode; }
|
|
3523
3522
|
});
|
|
3524
3523
|
Object.defineProperty(exports, "WorkflowBuilderProvider", {
|
|
3525
3524
|
enumerable: true,
|
|
3526
|
-
get: function () { return
|
|
3525
|
+
get: function () { return chunkVIZ3MFLZ_js.WorkflowBuilderProvider; }
|
|
3527
3526
|
});
|
|
3528
3527
|
Object.defineProperty(exports, "Workspace", {
|
|
3529
3528
|
enumerable: true,
|
|
3530
|
-
get: function () { return
|
|
3529
|
+
get: function () { return chunkVIZ3MFLZ_js.Workspace; }
|
|
3531
3530
|
});
|
|
3532
3531
|
Object.defineProperty(exports, "getCompatibleModels", {
|
|
3533
3532
|
enumerable: true,
|
|
3534
|
-
get: function () { return
|
|
3533
|
+
get: function () { return chunkVIZ3MFLZ_js.getCompatibleModels; }
|
|
3535
3534
|
});
|
|
3536
3535
|
Object.defineProperty(exports, "getDefaultFrameworkForModel", {
|
|
3537
3536
|
enumerable: true,
|
|
3538
|
-
get: function () { return
|
|
3537
|
+
get: function () { return chunkVIZ3MFLZ_js.getDefaultFrameworkForModel; }
|
|
3539
3538
|
});
|
|
3540
3539
|
Object.defineProperty(exports, "getEntityBadgeColor", {
|
|
3541
3540
|
enumerable: true,
|
|
3542
|
-
get: function () { return
|
|
3541
|
+
get: function () { return chunkVIZ3MFLZ_js.getEntityBadgeColor; }
|
|
3543
3542
|
});
|
|
3544
3543
|
Object.defineProperty(exports, "getEntityGradient", {
|
|
3545
3544
|
enumerable: true,
|
|
3546
|
-
get: function () { return
|
|
3545
|
+
get: function () { return chunkVIZ3MFLZ_js.getEntityGradient; }
|
|
3547
3546
|
});
|
|
3548
3547
|
Object.defineProperty(exports, "getEntityHandleColor", {
|
|
3549
3548
|
enumerable: true,
|
|
3550
|
-
get: function () { return
|
|
3549
|
+
get: function () { return chunkVIZ3MFLZ_js.getEntityHandleColor; }
|
|
3551
3550
|
});
|
|
3552
3551
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
3553
3552
|
enumerable: true,
|
|
3554
|
-
get: function () { return
|
|
3553
|
+
get: function () { return chunkVIZ3MFLZ_js.getEntityIcon; }
|
|
3555
3554
|
});
|
|
3556
3555
|
Object.defineProperty(exports, "getEntityMinimapColor", {
|
|
3557
3556
|
enumerable: true,
|
|
3558
|
-
get: function () { return
|
|
3557
|
+
get: function () { return chunkVIZ3MFLZ_js.getEntityMinimapColor; }
|
|
3559
3558
|
});
|
|
3560
3559
|
Object.defineProperty(exports, "getFrameworkMeta", {
|
|
3561
3560
|
enumerable: true,
|
|
3562
|
-
get: function () { return
|
|
3561
|
+
get: function () { return chunkVIZ3MFLZ_js.getFrameworkMeta; }
|
|
3563
3562
|
});
|
|
3564
3563
|
Object.defineProperty(exports, "getNodeExecutionAccent", {
|
|
3565
3564
|
enumerable: true,
|
|
3566
|
-
get: function () { return
|
|
3565
|
+
get: function () { return chunkVIZ3MFLZ_js.getNodeExecutionAccent; }
|
|
3567
3566
|
});
|
|
3568
3567
|
Object.defineProperty(exports, "getNodeExecutionAccentRgb", {
|
|
3569
3568
|
enumerable: true,
|
|
3570
|
-
get: function () { return
|
|
3569
|
+
get: function () { return chunkVIZ3MFLZ_js.getNodeExecutionAccentRgb; }
|
|
3571
3570
|
});
|
|
3572
3571
|
Object.defineProperty(exports, "isModelCompatibleWithFramework", {
|
|
3573
3572
|
enumerable: true,
|
|
3574
|
-
get: function () { return
|
|
3573
|
+
get: function () { return chunkVIZ3MFLZ_js.isModelCompatibleWithFramework; }
|
|
3575
3574
|
});
|
|
3576
3575
|
Object.defineProperty(exports, "useModalStore", {
|
|
3577
3576
|
enumerable: true,
|
|
3578
|
-
get: function () { return
|
|
3577
|
+
get: function () { return chunkVIZ3MFLZ_js.useModalStore; }
|
|
3579
3578
|
});
|
|
3580
3579
|
Object.defineProperty(exports, "useWorkflowBuilderClient", {
|
|
3581
3580
|
enumerable: true,
|
|
3582
|
-
get: function () { return
|
|
3581
|
+
get: function () { return chunkVIZ3MFLZ_js.useWorkflowBuilderClient; }
|
|
3583
3582
|
});
|
|
3584
3583
|
Object.defineProperty(exports, "useWorkflowBuilderClientOptional", {
|
|
3585
3584
|
enumerable: true,
|
|
3586
|
-
get: function () { return
|
|
3585
|
+
get: function () { return chunkVIZ3MFLZ_js.useWorkflowBuilderClientOptional; }
|
|
3587
3586
|
});
|
|
3588
3587
|
Object.defineProperty(exports, "useWorkflowStore", {
|
|
3589
3588
|
enumerable: true,
|
|
3590
|
-
get: function () { return
|
|
3589
|
+
get: function () { return chunkVIZ3MFLZ_js.useWorkflowStore; }
|
|
3591
3590
|
});
|
|
3592
3591
|
Object.defineProperty(exports, "GraphNodeBadge", {
|
|
3593
3592
|
enumerable: true,
|