@datatechsolutions/ui 2.11.55 → 2.11.57
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/contracts.d.mts +20 -3
- package/dist/astrlabe/contracts.d.ts +20 -3
- package/dist/astrlabe/index.js +145 -140
- package/dist/astrlabe/index.js.map +1 -1
- package/dist/astrlabe/index.mjs +13 -8
- package/dist/astrlabe/index.mjs.map +1 -1
- package/dist/astrlabe/utils.js +4 -4
- package/dist/astrlabe/utils.mjs +1 -1
- package/dist/astrlabe/workflow-canvas.js +4 -4
- package/dist/astrlabe/workflow-canvas.mjs +3 -3
- package/dist/{chunk-GWLWSE2C.mjs → chunk-7L2ASZLV.mjs} +543 -4
- package/dist/chunk-7L2ASZLV.mjs.map +1 -0
- package/dist/{chunk-PWBWP5FJ.js → chunk-C7BI5LQ6.js} +7 -2
- package/dist/chunk-C7BI5LQ6.js.map +1 -0
- package/dist/{chunk-PEBQWL6R.mjs → chunk-ESC5OVLF.mjs} +23 -5
- package/dist/chunk-ESC5OVLF.mjs.map +1 -0
- package/dist/{chunk-7LCEP4X5.js → chunk-G77XRUWZ.js} +79 -61
- package/dist/chunk-G77XRUWZ.js.map +1 -0
- package/dist/{chunk-5N6QYUAA.js → chunk-JGVH3R46.js} +542 -2
- package/dist/chunk-JGVH3R46.js.map +1 -0
- package/dist/{chunk-TLPPVL3W.mjs → chunk-WNCPAWLC.mjs} +7 -2
- package/dist/chunk-WNCPAWLC.mjs.map +1 -0
- package/dist/index.d.mts +18 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.js +720 -716
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
- package/dist/chunk-5N6QYUAA.js.map +0 -1
- package/dist/chunk-7LCEP4X5.js.map +0 -1
- package/dist/chunk-GWLWSE2C.mjs.map +0 -1
- package/dist/chunk-PEBQWL6R.mjs.map +0 -1
- package/dist/chunk-PWBWP5FJ.js.map +0 -1
- package/dist/chunk-TLPPVL3W.mjs.map +0 -1
package/dist/astrlabe/index.js
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
require('../chunk-55H6WZQP.js');
|
|
5
5
|
var chunk5UU3RQRB_js = require('../chunk-5UU3RQRB.js');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var chunkG77XRUWZ_js = require('../chunk-G77XRUWZ.js');
|
|
7
|
+
var chunkJGVH3R46_js = require('../chunk-JGVH3R46.js');
|
|
8
8
|
var chunkYXN2K77G_js = require('../chunk-YXN2K77G.js');
|
|
9
9
|
require('../chunk-S7KHTUHA.js');
|
|
10
10
|
require('../chunk-UZ3CMNUJ.js');
|
|
11
11
|
var chunkP4YYEM4B_js = require('../chunk-P4YYEM4B.js');
|
|
12
|
-
var
|
|
12
|
+
var chunkC7BI5LQ6_js = require('../chunk-C7BI5LQ6.js');
|
|
13
13
|
var react = require('react');
|
|
14
14
|
var outline = require('@heroicons/react/24/outline');
|
|
15
15
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -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 = chunkG77XRUWZ_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(chunkG77XRUWZ_js.FRAMEWORK_META);
|
|
363
363
|
const hasProviderConstraints = connectedProviderTypes.length > 0;
|
|
364
|
-
const compatibleModels =
|
|
364
|
+
const compatibleModels = chunkG77XRUWZ_js.getCompatibleModels(models, selectedFramework);
|
|
365
365
|
const handleFrameworkChange = react.useCallback((newFramework) => {
|
|
366
366
|
setSelectedFramework(newFramework);
|
|
367
|
-
if (!
|
|
368
|
-
const compatible =
|
|
367
|
+
if (!chunkG77XRUWZ_js.isModelCompatibleWithFramework(selectedModelId, newFramework)) {
|
|
368
|
+
const compatible = chunkG77XRUWZ_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 = chunkG77XRUWZ_js.FRAMEWORK_META[key];
|
|
380
380
|
const isSelected = key === selectedFramework;
|
|
381
|
-
const compatCount =
|
|
382
|
-
const isCompatibleWithProviders = !hasProviderConstraints ||
|
|
381
|
+
const compatCount = chunkG77XRUWZ_js.getCompatibleModels(models, key).length;
|
|
382
|
+
const isCompatibleWithProviders = !hasProviderConstraints || chunkG77XRUWZ_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 = chunkG77XRUWZ_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 = chunkG77XRUWZ_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) => chunkG77XRUWZ_js.isModelCompatibleWithFramework(m.id, agentFramework)
|
|
604
604
|
);
|
|
605
605
|
const incompatibleModels = providerModels.models.filter(
|
|
606
|
-
(m) => !
|
|
606
|
+
(m) => !chunkG77XRUWZ_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 = chunkG77XRUWZ_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
|
+
chunkJGVH3R46_js.ToggleSwitch,
|
|
697
697
|
{
|
|
698
698
|
checked: isEnabled,
|
|
699
699
|
onChange: () => onToggle(tool.agentToolId),
|
|
@@ -714,9 +714,9 @@ function ToolsTab({ agentTools, enabledToolIds, onToggle, agentFramework, t }) {
|
|
|
714
714
|
}
|
|
715
715
|
function AgentModal({ onSaved }) {
|
|
716
716
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
717
|
-
const activeModal =
|
|
718
|
-
const agentData =
|
|
719
|
-
const closeModal =
|
|
717
|
+
const activeModal = chunkG77XRUWZ_js.useModalStore((s) => s.activeModal);
|
|
718
|
+
const agentData = chunkG77XRUWZ_js.useModalStore((s) => s.agentData);
|
|
719
|
+
const closeModal = chunkG77XRUWZ_js.useModalStore((s) => s.closeModal);
|
|
720
720
|
const open = activeModal === "agent";
|
|
721
721
|
const agent = agentData?.agent ?? null;
|
|
722
722
|
const models = agentData?.models ?? [];
|
|
@@ -791,7 +791,7 @@ function AgentModal({ onSaved }) {
|
|
|
791
791
|
)
|
|
792
792
|
] });
|
|
793
793
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
794
|
-
|
|
794
|
+
chunkJGVH3R46_js.GlassModal,
|
|
795
795
|
{
|
|
796
796
|
open,
|
|
797
797
|
onClose: handleClose,
|
|
@@ -943,7 +943,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
943
943
|
const markDirty = useSubworkflowStore((s) => s.markDirty);
|
|
944
944
|
const markSaved = useSubworkflowStore((s) => s.markSaved);
|
|
945
945
|
const closeModal = useSubworkflowStore((s) => s.closeModal);
|
|
946
|
-
const agentBehind =
|
|
946
|
+
const agentBehind = chunkG77XRUWZ_js.useModalStore((s) => s.activeModal === "agent" ? s.agentData?.agent?.name : null);
|
|
947
947
|
const isCreateMode = !tool?.toolId;
|
|
948
948
|
const initialGraph = react.useMemo(() => {
|
|
949
949
|
const config = tool?.config;
|
|
@@ -972,9 +972,9 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
972
972
|
}, [tool, onSaved, name, category, description, timeoutMs, latestGraphRef, markSaved]);
|
|
973
973
|
if (!tool) return null;
|
|
974
974
|
const categoryKey = category ?? "external";
|
|
975
|
-
const gradient = tool.color ??
|
|
976
|
-
const categoryPill =
|
|
977
|
-
const IconComponent =
|
|
975
|
+
const gradient = tool.color ?? chunkG77XRUWZ_js.CATEGORY_COLORS[categoryKey] ?? chunkG77XRUWZ_js.CATEGORY_COLORS.external;
|
|
976
|
+
const categoryPill = chunkG77XRUWZ_js.CATEGORY_PILL_COLORS[categoryKey] ?? chunkG77XRUWZ_js.CATEGORY_PILL_COLORS.external;
|
|
977
|
+
const IconComponent = chunkG77XRUWZ_js.ICON_MAP[tool.icon ?? ""] ?? outline.ArrowPathRoundedSquareIcon;
|
|
978
978
|
const graph = latestGraphRef.current;
|
|
979
979
|
const startNode = graph.nodes.find((n) => n.type === "start");
|
|
980
980
|
const endNode = graph.nodes.find((n) => n.type === "end");
|
|
@@ -1007,7 +1007,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1007
1007
|
] })
|
|
1008
1008
|
] });
|
|
1009
1009
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1010
|
-
|
|
1010
|
+
chunkJGVH3R46_js.GlassModal,
|
|
1011
1011
|
{
|
|
1012
1012
|
open,
|
|
1013
1013
|
onClose: closeModal,
|
|
@@ -1039,7 +1039,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1039
1039
|
{
|
|
1040
1040
|
type: "button",
|
|
1041
1041
|
onClick: () => setCategory(cat),
|
|
1042
|
-
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${
|
|
1042
|
+
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${chunkG77XRUWZ_js.CATEGORY_PILL_COLORS[cat] ?? chunkG77XRUWZ_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"}`,
|
|
1043
1043
|
children: cat
|
|
1044
1044
|
},
|
|
1045
1045
|
cat
|
|
@@ -1126,7 +1126,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1126
1126
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto" })
|
|
1127
1127
|
] }),
|
|
1128
1128
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1129
|
-
|
|
1129
|
+
chunkG77XRUWZ_js.WorkflowCanvas,
|
|
1130
1130
|
{
|
|
1131
1131
|
initialGraph,
|
|
1132
1132
|
agents: [],
|
|
@@ -1142,9 +1142,9 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
function PipelineSettingsModal({ onSave }) {
|
|
1144
1144
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
1145
|
-
const activeModal =
|
|
1146
|
-
const data =
|
|
1147
|
-
const closeModal =
|
|
1145
|
+
const activeModal = chunkG77XRUWZ_js.useModalStore((s) => s.activeModal);
|
|
1146
|
+
const data = chunkG77XRUWZ_js.useModalStore((s) => s.pipelineSettingsData);
|
|
1147
|
+
const closeModal = chunkG77XRUWZ_js.useModalStore((s) => s.closeModal);
|
|
1148
1148
|
const open = activeModal === "pipeline-settings";
|
|
1149
1149
|
const [nameValue, setNameValue] = react.useState("");
|
|
1150
1150
|
const [descriptionValue, setDescriptionValue] = react.useState("");
|
|
@@ -1179,7 +1179,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1179
1179
|
}
|
|
1180
1180
|
),
|
|
1181
1181
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1182
|
-
|
|
1182
|
+
chunkJGVH3R46_js.Button,
|
|
1183
1183
|
{
|
|
1184
1184
|
type: "submit",
|
|
1185
1185
|
form: "pipeline-settings-form",
|
|
@@ -1194,7 +1194,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1194
1194
|
)
|
|
1195
1195
|
] });
|
|
1196
1196
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1197
|
-
|
|
1197
|
+
chunkJGVH3R46_js.GlassModal,
|
|
1198
1198
|
{
|
|
1199
1199
|
open,
|
|
1200
1200
|
onClose: closeModal,
|
|
@@ -1208,7 +1208,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1208
1208
|
onSubmit: handleSubmit,
|
|
1209
1209
|
children: /* @__PURE__ */ jsxRuntime.jsxs("form", { id: "pipeline-settings-form", onSubmit: handleSubmit, className: "space-y-6", children: [
|
|
1210
1210
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1211
|
-
|
|
1211
|
+
chunkJGVH3R46_js.FormInput,
|
|
1212
1212
|
{
|
|
1213
1213
|
label: t("pipelineName"),
|
|
1214
1214
|
value: nameValue,
|
|
@@ -1218,7 +1218,7 @@ function PipelineSettingsModal({ onSave }) {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
),
|
|
1220
1220
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1221
|
-
|
|
1221
|
+
chunkJGVH3R46_js.FormTextarea,
|
|
1222
1222
|
{
|
|
1223
1223
|
label: t("pipelineDescription"),
|
|
1224
1224
|
value: descriptionValue,
|
|
@@ -1299,13 +1299,16 @@ var LOGIC_NODE_ITEMS = [
|
|
|
1299
1299
|
{ nodeType: "question_classifier", nameKey: "questionClassifierNode", descriptionKey: "questionClassifierNodeDescription", subcategory: "ai_ml" },
|
|
1300
1300
|
{ nodeType: "parameter_extractor", nameKey: "parameterExtractorNode", descriptionKey: "parameterExtractorNodeDescription", subcategory: "ai_ml" },
|
|
1301
1301
|
// Annotation
|
|
1302
|
-
{ nodeType: "note", nameKey: "noteNode", descriptionKey: "noteNodeDescription", subcategory: "annotation" }
|
|
1302
|
+
{ nodeType: "note", nameKey: "noteNode", descriptionKey: "noteNodeDescription", subcategory: "annotation" },
|
|
1303
|
+
// Output
|
|
1304
|
+
{ nodeType: "dashboard_output", nameKey: "dashboardOutputNode", descriptionKey: "dashboardOutputNodeDescription", subcategory: "output" }
|
|
1303
1305
|
];
|
|
1304
1306
|
var SUBCATEGORY_LABELS = {
|
|
1305
1307
|
control_flow: "controlFlowSection",
|
|
1306
1308
|
data_processing: "dataProcessingSection",
|
|
1307
1309
|
ai_ml: "aiMlSection",
|
|
1308
|
-
annotation: "annotationSection"
|
|
1310
|
+
annotation: "annotationSection",
|
|
1311
|
+
output: "outputSection"
|
|
1309
1312
|
};
|
|
1310
1313
|
function SectionHeader({ icon, title, colorClass, count, onAdd, addLabel, isOpen, onToggle }) {
|
|
1311
1314
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between px-4 py-2.5", children: [
|
|
@@ -1363,9 +1366,9 @@ function CollapsibleSection({ title, icon, colorClass, defaultOpen = true, count
|
|
|
1363
1366
|
] });
|
|
1364
1367
|
}
|
|
1365
1368
|
function LogicNodeItemCard({ item, translationFunction }) {
|
|
1366
|
-
const IconComponent =
|
|
1367
|
-
const gradient =
|
|
1368
|
-
const defaultConfig =
|
|
1369
|
+
const IconComponent = chunkG77XRUWZ_js.LOGIC_ICON_MAP[item.nodeType];
|
|
1370
|
+
const gradient = chunkG77XRUWZ_js.LOGIC_NODE_GRADIENTS[item.nodeType] ?? "from-gray-400 to-gray-500";
|
|
1371
|
+
const defaultConfig = chunkC7BI5LQ6_js.createDefaultLogicNodeConfig(item.nodeType);
|
|
1369
1372
|
const configJson = defaultConfig ? JSON.stringify(defaultConfig) : void 0;
|
|
1370
1373
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1371
1374
|
"div",
|
|
@@ -1445,7 +1448,8 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1445
1448
|
control_flow: [],
|
|
1446
1449
|
data_processing: [],
|
|
1447
1450
|
ai_ml: [],
|
|
1448
|
-
annotation: []
|
|
1451
|
+
annotation: [],
|
|
1452
|
+
output: []
|
|
1449
1453
|
};
|
|
1450
1454
|
for (const item of filteredLogicItems) {
|
|
1451
1455
|
groups[item.subcategory].push(item);
|
|
@@ -1497,7 +1501,7 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1497
1501
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1498
1502
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-xs font-medium text-gray-900 dark:text-white", children: agent.name }),
|
|
1499
1503
|
(() => {
|
|
1500
|
-
const tier =
|
|
1504
|
+
const tier = chunkC7BI5LQ6_js.getAgentTier(Number(agent.elo ?? 0));
|
|
1501
1505
|
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: `shrink-0 rounded-full px-1.5 py-px text-[8px] font-bold ${tier.pillColor}`, children: t(`agentDrawer.tier${tier.key.charAt(0).toUpperCase()}${tier.key.slice(1)}`) });
|
|
1502
1506
|
})()
|
|
1503
1507
|
] }),
|
|
@@ -1530,7 +1534,7 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1530
1534
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-[10px] text-gray-400 dark:text-gray-500", children: tool.category })
|
|
1531
1535
|
] }),
|
|
1532
1536
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1533
|
-
|
|
1537
|
+
chunkJGVH3R46_js.ToggleSwitch,
|
|
1534
1538
|
{
|
|
1535
1539
|
checked: Boolean(tool.enabled),
|
|
1536
1540
|
onChange: () => {
|
|
@@ -1571,7 +1575,7 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1571
1575
|
] })
|
|
1572
1576
|
] }),
|
|
1573
1577
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1574
|
-
|
|
1578
|
+
chunkJGVH3R46_js.ToggleSwitch,
|
|
1575
1579
|
{
|
|
1576
1580
|
checked: Boolean(rule.enabled),
|
|
1577
1581
|
onChange: () => {
|
|
@@ -1607,8 +1611,8 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1607
1611
|
limit: entity.defaultLimit
|
|
1608
1612
|
});
|
|
1609
1613
|
const dsLogo = getDatasourceLogo(entity.id);
|
|
1610
|
-
const EntityIcon =
|
|
1611
|
-
const entityGradient =
|
|
1614
|
+
const EntityIcon = chunkG77XRUWZ_js.getEntityIcon(entity.id);
|
|
1615
|
+
const entityGradient = chunkG77XRUWZ_js.getEntityGradient(entity.id);
|
|
1612
1616
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1613
1617
|
"div",
|
|
1614
1618
|
{
|
|
@@ -1628,7 +1632,7 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1628
1632
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
1629
1633
|
/* @__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" }),
|
|
1630
1634
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1631
|
-
|
|
1635
|
+
chunkJGVH3R46_js.ToggleSwitch,
|
|
1632
1636
|
{
|
|
1633
1637
|
checked: true,
|
|
1634
1638
|
onChange: () => {
|
|
@@ -1701,6 +1705,7 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1701
1705
|
renderLogicSubcategory("control_flow", groupedLogicItems.control_flow, true),
|
|
1702
1706
|
renderLogicSubcategory("data_processing", groupedLogicItems.data_processing, false),
|
|
1703
1707
|
renderLogicSubcategory("ai_ml", groupedLogicItems.ai_ml, false),
|
|
1708
|
+
renderLogicSubcategory("output", groupedLogicItems.output, false),
|
|
1704
1709
|
renderLogicSubcategory("annotation", groupedLogicItems.annotation, false)
|
|
1705
1710
|
]
|
|
1706
1711
|
}
|
|
@@ -2005,9 +2010,9 @@ function formatDuration2(durationMs) {
|
|
|
2005
2010
|
}
|
|
2006
2011
|
function RunPanel({ open, onClose, onRun, onStop }) {
|
|
2007
2012
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.runPanel");
|
|
2008
|
-
const nodes =
|
|
2009
|
-
const isRunning =
|
|
2010
|
-
const nodeResults =
|
|
2013
|
+
const nodes = chunkG77XRUWZ_js.useWorkflowStore((state) => state.nodes);
|
|
2014
|
+
const isRunning = chunkG77XRUWZ_js.useWorkflowStore((state) => state.isRunning);
|
|
2015
|
+
const nodeResults = chunkG77XRUWZ_js.useWorkflowStore((state) => state.nodeResults);
|
|
2011
2016
|
const startNode = nodes.find((node) => node.type === "start");
|
|
2012
2017
|
const hasEndNode = nodes.some((node) => node.type === "end");
|
|
2013
2018
|
const hasValidStartConfig = Boolean(
|
|
@@ -2292,8 +2297,8 @@ function inferVariables(config, nodeType) {
|
|
|
2292
2297
|
}
|
|
2293
2298
|
function VariableInspector({ open, onClose }) {
|
|
2294
2299
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.variableInspector");
|
|
2295
|
-
const nodes =
|
|
2296
|
-
const edges =
|
|
2300
|
+
const nodes = chunkG77XRUWZ_js.useWorkflowStore((state) => state.nodes);
|
|
2301
|
+
const edges = chunkG77XRUWZ_js.useWorkflowStore((state) => state.edges);
|
|
2297
2302
|
const [expandedNodes, setExpandedNodes] = react.useState(/* @__PURE__ */ new Set());
|
|
2298
2303
|
const toggleNodeExpansion = react.useCallback((nodeId) => {
|
|
2299
2304
|
setExpandedNodes((current) => {
|
|
@@ -2355,8 +2360,8 @@ function VariableInspector({ open, onClose }) {
|
|
|
2355
2360
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-gray-500 dark:text-gray-400", children: translations("noNodes") })
|
|
2356
2361
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "divide-y divide-gray-100 dark:divide-gray-800", children: nodeVariableEntries.map((entry) => {
|
|
2357
2362
|
const isExpanded = expandedNodes.has(entry.nodeId);
|
|
2358
|
-
const IconComponent =
|
|
2359
|
-
const gradient =
|
|
2363
|
+
const IconComponent = chunkG77XRUWZ_js.LOGIC_ICON_MAP[entry.nodeType];
|
|
2364
|
+
const gradient = chunkG77XRUWZ_js.LOGIC_NODE_GRADIENTS[entry.nodeType] ?? "from-gray-400 to-gray-500";
|
|
2360
2365
|
const inputVariables = entry.variables.filter((variable) => variable.direction === "input");
|
|
2361
2366
|
const outputVariables = entry.variables.filter((variable) => variable.direction === "output");
|
|
2362
2367
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": `variable-node-${entry.nodeId}`, children: [
|
|
@@ -2422,7 +2427,7 @@ function RunInputDialog({
|
|
|
2422
2427
|
onRun
|
|
2423
2428
|
}) {
|
|
2424
2429
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow.runInputDialog");
|
|
2425
|
-
const nodes =
|
|
2430
|
+
const nodes = chunkG77XRUWZ_js.useWorkflowStore((state) => state.nodes);
|
|
2426
2431
|
const [values, setValues] = react.useState({});
|
|
2427
2432
|
const inputVariableNames = react.useMemo(() => {
|
|
2428
2433
|
const storeStartNode = nodes.find((node) => node.type === "start");
|
|
@@ -2449,7 +2454,7 @@ function RunInputDialog({
|
|
|
2449
2454
|
}, [onClose]);
|
|
2450
2455
|
if (!open) return null;
|
|
2451
2456
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2452
|
-
|
|
2457
|
+
chunkJGVH3R46_js.GlassModal,
|
|
2453
2458
|
{
|
|
2454
2459
|
open,
|
|
2455
2460
|
onClose: handleClose,
|
|
@@ -2460,7 +2465,7 @@ function RunInputDialog({
|
|
|
2460
2465
|
/* @__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: [
|
|
2461
2466
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "mb-1 block text-xs font-medium text-gray-700 dark:text-gray-300", children: variableName }),
|
|
2462
2467
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2463
|
-
|
|
2468
|
+
chunkJGVH3R46_js.Input,
|
|
2464
2469
|
{
|
|
2465
2470
|
value: values[variableName] ?? "",
|
|
2466
2471
|
onChange: (event) => handleValueChange(variableName, event.target.value),
|
|
@@ -2469,8 +2474,8 @@ function RunInputDialog({
|
|
|
2469
2474
|
)
|
|
2470
2475
|
] }, variableName)) }),
|
|
2471
2476
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4 flex items-center justify-end gap-2", children: [
|
|
2472
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2473
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2477
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJGVH3R46_js.Button, { size: "sm", plain: true, onClick: handleClose, children: t("cancel") }),
|
|
2478
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkJGVH3R46_js.Button, { size: "sm", gradient: true, onClick: handleSubmit, children: [
|
|
2474
2479
|
/* @__PURE__ */ jsxRuntime.jsx(outline.PlayIcon, { className: "h-3.5 w-3.5", "data-slot": "icon" }),
|
|
2475
2480
|
t("run")
|
|
2476
2481
|
] })
|
|
@@ -2503,8 +2508,8 @@ function PreviewPanel({ open, onClose, workflowId, loadRuns }) {
|
|
|
2503
2508
|
const [isLoadingRuns, setIsLoadingRuns] = react.useState(false);
|
|
2504
2509
|
const [selectedRun, setSelectedRun] = react.useState(null);
|
|
2505
2510
|
const [selectedNode, setSelectedNode] = react.useState(null);
|
|
2506
|
-
const isRunning =
|
|
2507
|
-
const nodeResults =
|
|
2511
|
+
const isRunning = chunkG77XRUWZ_js.useWorkflowStore((state) => state.isRunning);
|
|
2512
|
+
const nodeResults = chunkG77XRUWZ_js.useWorkflowStore((state) => state.nodeResults);
|
|
2508
2513
|
const refreshRuns = react.useCallback(async () => {
|
|
2509
2514
|
setIsLoadingRuns(true);
|
|
2510
2515
|
try {
|
|
@@ -2660,7 +2665,7 @@ var AutoSaveWorkspace = react.memo(function AutoSaveWorkspace2({
|
|
|
2660
2665
|
onAutoSaveGraph(graph);
|
|
2661
2666
|
}, [onAutoSaveGraph, onGraphSnapshot]);
|
|
2662
2667
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2663
|
-
|
|
2668
|
+
chunkG77XRUWZ_js.Workspace,
|
|
2664
2669
|
{
|
|
2665
2670
|
...workspaceProps,
|
|
2666
2671
|
onGraphChange: handleGraphChange
|
|
@@ -2668,7 +2673,7 @@ var AutoSaveWorkspace = react.memo(function AutoSaveWorkspace2({
|
|
|
2668
2673
|
);
|
|
2669
2674
|
});
|
|
2670
2675
|
function DynamicIslandConfirm2(props) {
|
|
2671
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2676
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkJGVH3R46_js.DynamicIslandConfirm, { ...props });
|
|
2672
2677
|
}
|
|
2673
2678
|
var JSON_PREVIEW_LINE_LIMIT = 50;
|
|
2674
2679
|
function DslExportModal({ open, onClose, workflow, graph }) {
|
|
@@ -2722,7 +2727,7 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2722
2727
|
}, [jsonString, workflow.name, workflow.version]);
|
|
2723
2728
|
if (!open) return null;
|
|
2724
2729
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2725
|
-
|
|
2730
|
+
chunkJGVH3R46_js.GlassModal,
|
|
2726
2731
|
{
|
|
2727
2732
|
open,
|
|
2728
2733
|
onClose,
|
|
@@ -2764,7 +2769,7 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2764
2769
|
] }),
|
|
2765
2770
|
/* @__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: [
|
|
2766
2771
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2767
|
-
|
|
2772
|
+
chunkJGVH3R46_js.Button,
|
|
2768
2773
|
{
|
|
2769
2774
|
type: "button",
|
|
2770
2775
|
onClick: handleCopyToClipboard,
|
|
@@ -2781,7 +2786,7 @@ function DslExportModal({ open, onClose, workflow, graph }) {
|
|
|
2781
2786
|
}
|
|
2782
2787
|
),
|
|
2783
2788
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2784
|
-
|
|
2789
|
+
chunkJGVH3R46_js.Button,
|
|
2785
2790
|
{
|
|
2786
2791
|
type: "button",
|
|
2787
2792
|
onClick: handleDownloadJson,
|
|
@@ -2940,7 +2945,7 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
2940
2945
|
}, []);
|
|
2941
2946
|
if (!open) return null;
|
|
2942
2947
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2943
|
-
|
|
2948
|
+
chunkJGVH3R46_js.GlassModal,
|
|
2944
2949
|
{
|
|
2945
2950
|
open,
|
|
2946
2951
|
onClose,
|
|
@@ -2980,7 +2985,7 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
2980
2985
|
) : /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": "import-validation-result", children: [
|
|
2981
2986
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4 flex items-center justify-between", children: [
|
|
2982
2987
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: fileName }),
|
|
2983
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2988
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJGVH3R46_js.Button, { type: "button", plain: true, size: "sm", onClick: handleReset, children: translations("chooseAnother") })
|
|
2984
2989
|
] }),
|
|
2985
2990
|
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: [
|
|
2986
2991
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -3008,9 +3013,9 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
3008
3013
|
] })
|
|
3009
3014
|
] }) }),
|
|
3010
3015
|
/* @__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: [
|
|
3011
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3016
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkJGVH3R46_js.Button, { type: "button", onClick: onClose, outline: true, size: "sm", "data-testid": "import-cancel-button", children: translations("cancel") }),
|
|
3012
3017
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3013
|
-
|
|
3018
|
+
chunkJGVH3R46_js.Button,
|
|
3014
3019
|
{
|
|
3015
3020
|
type: "button",
|
|
3016
3021
|
onClick: handleImport,
|
|
@@ -3031,14 +3036,14 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
3031
3036
|
}
|
|
3032
3037
|
|
|
3033
3038
|
// src/astrlabe/store/selectors.ts
|
|
3034
|
-
var useCanUndo = () =>
|
|
3035
|
-
var useCanRedo = () =>
|
|
3036
|
-
var useHasCopied = () =>
|
|
3037
|
-
var useContextMenu = () =>
|
|
3038
|
-
var useEditingNodeId = () =>
|
|
3039
|
-
var useSelectedNodeCount = () =>
|
|
3040
|
-
var useIsRunning = () =>
|
|
3041
|
-
var useNodeResults = () =>
|
|
3039
|
+
var useCanUndo = () => chunkG77XRUWZ_js.useWorkflowStore((state) => state.past.length > 0);
|
|
3040
|
+
var useCanRedo = () => chunkG77XRUWZ_js.useWorkflowStore((state) => state.future.length > 0);
|
|
3041
|
+
var useHasCopied = () => chunkG77XRUWZ_js.useWorkflowStore((state) => state.clipboard !== null);
|
|
3042
|
+
var useContextMenu = () => chunkG77XRUWZ_js.useWorkflowStore((state) => state.contextMenu);
|
|
3043
|
+
var useEditingNodeId = () => chunkG77XRUWZ_js.useWorkflowStore((state) => state.editingNodeId);
|
|
3044
|
+
var useSelectedNodeCount = () => chunkG77XRUWZ_js.useWorkflowStore((state) => state.nodes.filter((node) => node.selected).length);
|
|
3045
|
+
var useIsRunning = () => chunkG77XRUWZ_js.useWorkflowStore((state) => state.isRunning);
|
|
3046
|
+
var useNodeResults = () => chunkG77XRUWZ_js.useWorkflowStore((state) => state.nodeResults);
|
|
3042
3047
|
var DEFAULT_MAX_HISTORY = 50;
|
|
3043
3048
|
function useUndoRedo(nodes, edges, setNodes, setEdges, maxHistory = DEFAULT_MAX_HISTORY) {
|
|
3044
3049
|
const pastRef = react.useRef([]);
|
|
@@ -3334,239 +3339,239 @@ Object.defineProperty(exports, "validateWorkflowGraph", {
|
|
|
3334
3339
|
});
|
|
3335
3340
|
Object.defineProperty(exports, "AgentFlowNode", {
|
|
3336
3341
|
enumerable: true,
|
|
3337
|
-
get: function () { return
|
|
3342
|
+
get: function () { return chunkG77XRUWZ_js.AgentFlowNode; }
|
|
3338
3343
|
});
|
|
3339
3344
|
Object.defineProperty(exports, "AgentToolFlowNode", {
|
|
3340
3345
|
enumerable: true,
|
|
3341
|
-
get: function () { return
|
|
3346
|
+
get: function () { return chunkG77XRUWZ_js.AgentToolFlowNode; }
|
|
3342
3347
|
});
|
|
3343
3348
|
Object.defineProperty(exports, "AnswerFlowNode", {
|
|
3344
3349
|
enumerable: true,
|
|
3345
|
-
get: function () { return
|
|
3350
|
+
get: function () { return chunkG77XRUWZ_js.AnswerFlowNode; }
|
|
3346
3351
|
});
|
|
3347
3352
|
Object.defineProperty(exports, "AnthropicIcon", {
|
|
3348
3353
|
enumerable: true,
|
|
3349
|
-
get: function () { return
|
|
3354
|
+
get: function () { return chunkG77XRUWZ_js.AnthropicIcon; }
|
|
3350
3355
|
});
|
|
3351
3356
|
Object.defineProperty(exports, "CodeFlowNode", {
|
|
3352
3357
|
enumerable: true,
|
|
3353
|
-
get: function () { return
|
|
3358
|
+
get: function () { return chunkG77XRUWZ_js.CodeFlowNode; }
|
|
3354
3359
|
});
|
|
3355
3360
|
Object.defineProperty(exports, "CrewAIIcon", {
|
|
3356
3361
|
enumerable: true,
|
|
3357
|
-
get: function () { return
|
|
3362
|
+
get: function () { return chunkG77XRUWZ_js.CrewAIIcon; }
|
|
3358
3363
|
});
|
|
3359
3364
|
Object.defineProperty(exports, "DocumentExtractorFlowNode", {
|
|
3360
3365
|
enumerable: true,
|
|
3361
|
-
get: function () { return
|
|
3366
|
+
get: function () { return chunkG77XRUWZ_js.DocumentExtractorFlowNode; }
|
|
3362
3367
|
});
|
|
3363
3368
|
Object.defineProperty(exports, "EndFlowNode", {
|
|
3364
3369
|
enumerable: true,
|
|
3365
|
-
get: function () { return
|
|
3370
|
+
get: function () { return chunkG77XRUWZ_js.EndFlowNode; }
|
|
3366
3371
|
});
|
|
3367
3372
|
Object.defineProperty(exports, "EntityFlowNode", {
|
|
3368
3373
|
enumerable: true,
|
|
3369
|
-
get: function () { return
|
|
3374
|
+
get: function () { return chunkG77XRUWZ_js.EntityFlowNode; }
|
|
3370
3375
|
});
|
|
3371
3376
|
Object.defineProperty(exports, "FRAMEWORK_META", {
|
|
3372
3377
|
enumerable: true,
|
|
3373
|
-
get: function () { return
|
|
3378
|
+
get: function () { return chunkG77XRUWZ_js.FRAMEWORK_META; }
|
|
3374
3379
|
});
|
|
3375
3380
|
Object.defineProperty(exports, "GoogleADKIcon", {
|
|
3376
3381
|
enumerable: true,
|
|
3377
|
-
get: function () { return
|
|
3382
|
+
get: function () { return chunkG77XRUWZ_js.GoogleADKIcon; }
|
|
3378
3383
|
});
|
|
3379
3384
|
Object.defineProperty(exports, "GroupFlowNode", {
|
|
3380
3385
|
enumerable: true,
|
|
3381
|
-
get: function () { return
|
|
3386
|
+
get: function () { return chunkG77XRUWZ_js.GroupFlowNode; }
|
|
3382
3387
|
});
|
|
3383
3388
|
Object.defineProperty(exports, "HttpRequestFlowNode", {
|
|
3384
3389
|
enumerable: true,
|
|
3385
|
-
get: function () { return
|
|
3390
|
+
get: function () { return chunkG77XRUWZ_js.HttpRequestFlowNode; }
|
|
3386
3391
|
});
|
|
3387
3392
|
Object.defineProperty(exports, "IfElseFlowNode", {
|
|
3388
3393
|
enumerable: true,
|
|
3389
|
-
get: function () { return
|
|
3394
|
+
get: function () { return chunkG77XRUWZ_js.IfElseFlowNode; }
|
|
3390
3395
|
});
|
|
3391
3396
|
Object.defineProperty(exports, "IterationFlowNode", {
|
|
3392
3397
|
enumerable: true,
|
|
3393
|
-
get: function () { return
|
|
3398
|
+
get: function () { return chunkG77XRUWZ_js.IterationFlowNode; }
|
|
3394
3399
|
});
|
|
3395
3400
|
Object.defineProperty(exports, "IterationStartFlowNode", {
|
|
3396
3401
|
enumerable: true,
|
|
3397
|
-
get: function () { return
|
|
3402
|
+
get: function () { return chunkG77XRUWZ_js.IterationStartFlowNode; }
|
|
3398
3403
|
});
|
|
3399
3404
|
Object.defineProperty(exports, "KnowledgeBaseFlowNode", {
|
|
3400
3405
|
enumerable: true,
|
|
3401
|
-
get: function () { return
|
|
3406
|
+
get: function () { return chunkG77XRUWZ_js.KnowledgeBaseFlowNode; }
|
|
3402
3407
|
});
|
|
3403
3408
|
Object.defineProperty(exports, "LOGIC_ICON_MAP", {
|
|
3404
3409
|
enumerable: true,
|
|
3405
|
-
get: function () { return
|
|
3410
|
+
get: function () { return chunkG77XRUWZ_js.LOGIC_ICON_MAP; }
|
|
3406
3411
|
});
|
|
3407
3412
|
Object.defineProperty(exports, "LOGIC_NODE_BADGE_COLORS", {
|
|
3408
3413
|
enumerable: true,
|
|
3409
|
-
get: function () { return
|
|
3414
|
+
get: function () { return chunkG77XRUWZ_js.LOGIC_NODE_BADGE_COLORS; }
|
|
3410
3415
|
});
|
|
3411
3416
|
Object.defineProperty(exports, "LOGIC_NODE_GRADIENTS", {
|
|
3412
3417
|
enumerable: true,
|
|
3413
|
-
get: function () { return
|
|
3418
|
+
get: function () { return chunkG77XRUWZ_js.LOGIC_NODE_GRADIENTS; }
|
|
3414
3419
|
});
|
|
3415
3420
|
Object.defineProperty(exports, "LOGIC_NODE_HANDLE_COLORS", {
|
|
3416
3421
|
enumerable: true,
|
|
3417
|
-
get: function () { return
|
|
3422
|
+
get: function () { return chunkG77XRUWZ_js.LOGIC_NODE_HANDLE_COLORS; }
|
|
3418
3423
|
});
|
|
3419
3424
|
Object.defineProperty(exports, "LangChainIcon", {
|
|
3420
3425
|
enumerable: true,
|
|
3421
|
-
get: function () { return
|
|
3426
|
+
get: function () { return chunkG77XRUWZ_js.LangChainIcon; }
|
|
3422
3427
|
});
|
|
3423
3428
|
Object.defineProperty(exports, "ListOperatorFlowNode", {
|
|
3424
3429
|
enumerable: true,
|
|
3425
|
-
get: function () { return
|
|
3430
|
+
get: function () { return chunkG77XRUWZ_js.ListOperatorFlowNode; }
|
|
3426
3431
|
});
|
|
3427
3432
|
Object.defineProperty(exports, "LogicNodeModal", {
|
|
3428
3433
|
enumerable: true,
|
|
3429
|
-
get: function () { return
|
|
3434
|
+
get: function () { return chunkG77XRUWZ_js.LogicNodeModal; }
|
|
3430
3435
|
});
|
|
3431
3436
|
Object.defineProperty(exports, "MINIMAP_NODE_COLORS", {
|
|
3432
3437
|
enumerable: true,
|
|
3433
|
-
get: function () { return
|
|
3438
|
+
get: function () { return chunkG77XRUWZ_js.MINIMAP_NODE_COLORS; }
|
|
3434
3439
|
});
|
|
3435
3440
|
Object.defineProperty(exports, "ModelProviderFlowNode", {
|
|
3436
3441
|
enumerable: true,
|
|
3437
|
-
get: function () { return
|
|
3442
|
+
get: function () { return chunkG77XRUWZ_js.ModelProviderFlowNode; }
|
|
3438
3443
|
});
|
|
3439
3444
|
Object.defineProperty(exports, "NODE_EXECUTION_ACCENT_COLORS", {
|
|
3440
3445
|
enumerable: true,
|
|
3441
|
-
get: function () { return
|
|
3446
|
+
get: function () { return chunkG77XRUWZ_js.NODE_EXECUTION_ACCENT_COLORS; }
|
|
3442
3447
|
});
|
|
3443
3448
|
Object.defineProperty(exports, "NodeCard", {
|
|
3444
3449
|
enumerable: true,
|
|
3445
|
-
get: function () { return
|
|
3450
|
+
get: function () { return chunkG77XRUWZ_js.NodeCard; }
|
|
3446
3451
|
});
|
|
3447
3452
|
Object.defineProperty(exports, "NodeContextMenu", {
|
|
3448
3453
|
enumerable: true,
|
|
3449
|
-
get: function () { return
|
|
3454
|
+
get: function () { return chunkG77XRUWZ_js.NodeContextMenu; }
|
|
3450
3455
|
});
|
|
3451
3456
|
Object.defineProperty(exports, "NoteFlowNode", {
|
|
3452
3457
|
enumerable: true,
|
|
3453
|
-
get: function () { return
|
|
3458
|
+
get: function () { return chunkG77XRUWZ_js.NoteFlowNode; }
|
|
3454
3459
|
});
|
|
3455
3460
|
Object.defineProperty(exports, "OpenAIIcon", {
|
|
3456
3461
|
enumerable: true,
|
|
3457
|
-
get: function () { return
|
|
3462
|
+
get: function () { return chunkG77XRUWZ_js.OpenAIIcon; }
|
|
3458
3463
|
});
|
|
3459
3464
|
Object.defineProperty(exports, "PanelContextMenu", {
|
|
3460
3465
|
enumerable: true,
|
|
3461
|
-
get: function () { return
|
|
3466
|
+
get: function () { return chunkG77XRUWZ_js.PanelContextMenu; }
|
|
3462
3467
|
});
|
|
3463
3468
|
Object.defineProperty(exports, "ParameterExtractorFlowNode", {
|
|
3464
3469
|
enumerable: true,
|
|
3465
|
-
get: function () { return
|
|
3470
|
+
get: function () { return chunkG77XRUWZ_js.ParameterExtractorFlowNode; }
|
|
3466
3471
|
});
|
|
3467
3472
|
Object.defineProperty(exports, "QuestionClassifierFlowNode", {
|
|
3468
3473
|
enumerable: true,
|
|
3469
|
-
get: function () { return
|
|
3474
|
+
get: function () { return chunkG77XRUWZ_js.QuestionClassifierFlowNode; }
|
|
3470
3475
|
});
|
|
3471
3476
|
Object.defineProperty(exports, "RuleFlowNode", {
|
|
3472
3477
|
enumerable: true,
|
|
3473
|
-
get: function () { return
|
|
3478
|
+
get: function () { return chunkG77XRUWZ_js.RuleFlowNode; }
|
|
3474
3479
|
});
|
|
3475
3480
|
Object.defineProperty(exports, "SelectionContextMenu", {
|
|
3476
3481
|
enumerable: true,
|
|
3477
|
-
get: function () { return
|
|
3482
|
+
get: function () { return chunkG77XRUWZ_js.SelectionContextMenu; }
|
|
3478
3483
|
});
|
|
3479
3484
|
Object.defineProperty(exports, "StartFlowNode", {
|
|
3480
3485
|
enumerable: true,
|
|
3481
|
-
get: function () { return
|
|
3486
|
+
get: function () { return chunkG77XRUWZ_js.StartFlowNode; }
|
|
3482
3487
|
});
|
|
3483
3488
|
Object.defineProperty(exports, "StrandsIcon", {
|
|
3484
3489
|
enumerable: true,
|
|
3485
|
-
get: function () { return
|
|
3490
|
+
get: function () { return chunkG77XRUWZ_js.StrandsIcon; }
|
|
3486
3491
|
});
|
|
3487
3492
|
Object.defineProperty(exports, "TemplateTransformFlowNode", {
|
|
3488
3493
|
enumerable: true,
|
|
3489
|
-
get: function () { return
|
|
3494
|
+
get: function () { return chunkG77XRUWZ_js.TemplateTransformFlowNode; }
|
|
3490
3495
|
});
|
|
3491
3496
|
Object.defineProperty(exports, "ToolFlowNode", {
|
|
3492
3497
|
enumerable: true,
|
|
3493
|
-
get: function () { return
|
|
3498
|
+
get: function () { return chunkG77XRUWZ_js.ToolFlowNode; }
|
|
3494
3499
|
});
|
|
3495
3500
|
Object.defineProperty(exports, "VariableAggregatorFlowNode", {
|
|
3496
3501
|
enumerable: true,
|
|
3497
|
-
get: function () { return
|
|
3502
|
+
get: function () { return chunkG77XRUWZ_js.VariableAggregatorFlowNode; }
|
|
3498
3503
|
});
|
|
3499
3504
|
Object.defineProperty(exports, "VariableAssignerFlowNode", {
|
|
3500
3505
|
enumerable: true,
|
|
3501
|
-
get: function () { return
|
|
3506
|
+
get: function () { return chunkG77XRUWZ_js.VariableAssignerFlowNode; }
|
|
3502
3507
|
});
|
|
3503
3508
|
Object.defineProperty(exports, "WorkflowBuilderProvider", {
|
|
3504
3509
|
enumerable: true,
|
|
3505
|
-
get: function () { return
|
|
3510
|
+
get: function () { return chunkG77XRUWZ_js.WorkflowBuilderProvider; }
|
|
3506
3511
|
});
|
|
3507
3512
|
Object.defineProperty(exports, "Workspace", {
|
|
3508
3513
|
enumerable: true,
|
|
3509
|
-
get: function () { return
|
|
3514
|
+
get: function () { return chunkG77XRUWZ_js.Workspace; }
|
|
3510
3515
|
});
|
|
3511
3516
|
Object.defineProperty(exports, "getCompatibleModels", {
|
|
3512
3517
|
enumerable: true,
|
|
3513
|
-
get: function () { return
|
|
3518
|
+
get: function () { return chunkG77XRUWZ_js.getCompatibleModels; }
|
|
3514
3519
|
});
|
|
3515
3520
|
Object.defineProperty(exports, "getDefaultFrameworkForModel", {
|
|
3516
3521
|
enumerable: true,
|
|
3517
|
-
get: function () { return
|
|
3522
|
+
get: function () { return chunkG77XRUWZ_js.getDefaultFrameworkForModel; }
|
|
3518
3523
|
});
|
|
3519
3524
|
Object.defineProperty(exports, "getEntityBadgeColor", {
|
|
3520
3525
|
enumerable: true,
|
|
3521
|
-
get: function () { return
|
|
3526
|
+
get: function () { return chunkG77XRUWZ_js.getEntityBadgeColor; }
|
|
3522
3527
|
});
|
|
3523
3528
|
Object.defineProperty(exports, "getEntityGradient", {
|
|
3524
3529
|
enumerable: true,
|
|
3525
|
-
get: function () { return
|
|
3530
|
+
get: function () { return chunkG77XRUWZ_js.getEntityGradient; }
|
|
3526
3531
|
});
|
|
3527
3532
|
Object.defineProperty(exports, "getEntityHandleColor", {
|
|
3528
3533
|
enumerable: true,
|
|
3529
|
-
get: function () { return
|
|
3534
|
+
get: function () { return chunkG77XRUWZ_js.getEntityHandleColor; }
|
|
3530
3535
|
});
|
|
3531
3536
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
3532
3537
|
enumerable: true,
|
|
3533
|
-
get: function () { return
|
|
3538
|
+
get: function () { return chunkG77XRUWZ_js.getEntityIcon; }
|
|
3534
3539
|
});
|
|
3535
3540
|
Object.defineProperty(exports, "getEntityMinimapColor", {
|
|
3536
3541
|
enumerable: true,
|
|
3537
|
-
get: function () { return
|
|
3542
|
+
get: function () { return chunkG77XRUWZ_js.getEntityMinimapColor; }
|
|
3538
3543
|
});
|
|
3539
3544
|
Object.defineProperty(exports, "getFrameworkMeta", {
|
|
3540
3545
|
enumerable: true,
|
|
3541
|
-
get: function () { return
|
|
3546
|
+
get: function () { return chunkG77XRUWZ_js.getFrameworkMeta; }
|
|
3542
3547
|
});
|
|
3543
3548
|
Object.defineProperty(exports, "getNodeExecutionAccent", {
|
|
3544
3549
|
enumerable: true,
|
|
3545
|
-
get: function () { return
|
|
3550
|
+
get: function () { return chunkG77XRUWZ_js.getNodeExecutionAccent; }
|
|
3546
3551
|
});
|
|
3547
3552
|
Object.defineProperty(exports, "getNodeExecutionAccentRgb", {
|
|
3548
3553
|
enumerable: true,
|
|
3549
|
-
get: function () { return
|
|
3554
|
+
get: function () { return chunkG77XRUWZ_js.getNodeExecutionAccentRgb; }
|
|
3550
3555
|
});
|
|
3551
3556
|
Object.defineProperty(exports, "isModelCompatibleWithFramework", {
|
|
3552
3557
|
enumerable: true,
|
|
3553
|
-
get: function () { return
|
|
3558
|
+
get: function () { return chunkG77XRUWZ_js.isModelCompatibleWithFramework; }
|
|
3554
3559
|
});
|
|
3555
3560
|
Object.defineProperty(exports, "useModalStore", {
|
|
3556
3561
|
enumerable: true,
|
|
3557
|
-
get: function () { return
|
|
3562
|
+
get: function () { return chunkG77XRUWZ_js.useModalStore; }
|
|
3558
3563
|
});
|
|
3559
3564
|
Object.defineProperty(exports, "useWorkflowBuilderClient", {
|
|
3560
3565
|
enumerable: true,
|
|
3561
|
-
get: function () { return
|
|
3566
|
+
get: function () { return chunkG77XRUWZ_js.useWorkflowBuilderClient; }
|
|
3562
3567
|
});
|
|
3563
3568
|
Object.defineProperty(exports, "useWorkflowBuilderClientOptional", {
|
|
3564
3569
|
enumerable: true,
|
|
3565
|
-
get: function () { return
|
|
3570
|
+
get: function () { return chunkG77XRUWZ_js.useWorkflowBuilderClientOptional; }
|
|
3566
3571
|
});
|
|
3567
3572
|
Object.defineProperty(exports, "useWorkflowStore", {
|
|
3568
3573
|
enumerable: true,
|
|
3569
|
-
get: function () { return
|
|
3574
|
+
get: function () { return chunkG77XRUWZ_js.useWorkflowStore; }
|
|
3570
3575
|
});
|
|
3571
3576
|
Object.defineProperty(exports, "GraphNodeBadge", {
|
|
3572
3577
|
enumerable: true,
|
|
@@ -3586,15 +3591,15 @@ Object.defineProperty(exports, "GraphNodeMeta", {
|
|
|
3586
3591
|
});
|
|
3587
3592
|
Object.defineProperty(exports, "applyDagreLayout", {
|
|
3588
3593
|
enumerable: true,
|
|
3589
|
-
get: function () { return
|
|
3594
|
+
get: function () { return chunkC7BI5LQ6_js.applyDagreLayout; }
|
|
3590
3595
|
});
|
|
3591
3596
|
Object.defineProperty(exports, "createDefaultLogicNodeConfig", {
|
|
3592
3597
|
enumerable: true,
|
|
3593
|
-
get: function () { return
|
|
3598
|
+
get: function () { return chunkC7BI5LQ6_js.createDefaultLogicNodeConfig; }
|
|
3594
3599
|
});
|
|
3595
3600
|
Object.defineProperty(exports, "getAgentTier", {
|
|
3596
3601
|
enumerable: true,
|
|
3597
|
-
get: function () { return
|
|
3602
|
+
get: function () { return chunkC7BI5LQ6_js.getAgentTier; }
|
|
3598
3603
|
});
|
|
3599
3604
|
exports.AgentModal = AgentModal;
|
|
3600
3605
|
exports.AmazonNovaIcon = AmazonNovaIcon;
|