@datatechsolutions/ui 2.11.37 → 2.11.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astrlabe/index.js +108 -108
- package/dist/astrlabe/index.mjs +2 -2
- package/dist/astrlabe/workflow-canvas.js +2 -2
- package/dist/astrlabe/workflow-canvas.mjs +1 -1
- package/dist/{chunk-CQQKF7VT.mjs → chunk-4RCCAZMR.mjs} +9 -16
- package/dist/chunk-4RCCAZMR.mjs.map +1 -0
- package/dist/{chunk-NFJCB4BB.js → chunk-TE4XMF4F.js} +9 -16
- package/dist/chunk-TE4XMF4F.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-CQQKF7VT.mjs.map +0 -1
- package/dist/chunk-NFJCB4BB.js.map +0 -1
package/dist/astrlabe/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkTE4XMF4F_js = require('../chunk-TE4XMF4F.js');
|
|
5
5
|
var chunk2IOPJ5BM_js = require('../chunk-2IOPJ5BM.js');
|
|
6
6
|
require('../chunk-UZ3CMNUJ.js');
|
|
7
7
|
var chunkYXN2K77G_js = require('../chunk-YXN2K77G.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 = chunkTE4XMF4F_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(chunkTE4XMF4F_js.FRAMEWORK_META);
|
|
363
363
|
const hasProviderConstraints = connectedProviderTypes.length > 0;
|
|
364
|
-
const compatibleModels =
|
|
364
|
+
const compatibleModels = chunkTE4XMF4F_js.getCompatibleModels(models, selectedFramework);
|
|
365
365
|
const handleFrameworkChange = react.useCallback((newFramework) => {
|
|
366
366
|
setSelectedFramework(newFramework);
|
|
367
|
-
if (!
|
|
368
|
-
const compatible =
|
|
367
|
+
if (!chunkTE4XMF4F_js.isModelCompatibleWithFramework(selectedModelId, newFramework)) {
|
|
368
|
+
const compatible = chunkTE4XMF4F_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 = chunkTE4XMF4F_js.FRAMEWORK_META[key];
|
|
380
380
|
const isSelected = key === selectedFramework;
|
|
381
|
-
const compatCount =
|
|
382
|
-
const isCompatibleWithProviders = !hasProviderConstraints ||
|
|
381
|
+
const compatCount = chunkTE4XMF4F_js.getCompatibleModels(models, key).length;
|
|
382
|
+
const isCompatibleWithProviders = !hasProviderConstraints || chunkTE4XMF4F_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 = chunkTE4XMF4F_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 = chunkTE4XMF4F_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) => chunkTE4XMF4F_js.isModelCompatibleWithFramework(m.id, agentFramework)
|
|
604
604
|
);
|
|
605
605
|
const incompatibleModels = providerModels.models.filter(
|
|
606
|
-
(m) => !
|
|
606
|
+
(m) => !chunkTE4XMF4F_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 = chunkTE4XMF4F_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" }),
|
|
@@ -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 = chunkTE4XMF4F_js.useModalStore((s) => s.activeModal);
|
|
718
|
+
const agentData = chunkTE4XMF4F_js.useModalStore((s) => s.agentData);
|
|
719
|
+
const closeModal = chunkTE4XMF4F_js.useModalStore((s) => s.closeModal);
|
|
720
720
|
const open = activeModal === "agent";
|
|
721
721
|
const agent = agentData?.agent ?? null;
|
|
722
722
|
const models = agentData?.models ?? [];
|
|
@@ -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 = chunkTE4XMF4F_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 ?? chunkTE4XMF4F_js.CATEGORY_COLORS[categoryKey] ?? chunkTE4XMF4F_js.CATEGORY_COLORS.external;
|
|
976
|
+
const categoryPill = chunkTE4XMF4F_js.CATEGORY_PILL_COLORS[categoryKey] ?? chunkTE4XMF4F_js.CATEGORY_PILL_COLORS.external;
|
|
977
|
+
const IconComponent = chunkTE4XMF4F_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");
|
|
@@ -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 ? `${chunkTE4XMF4F_js.CATEGORY_PILL_COLORS[cat] ?? chunkTE4XMF4F_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
|
+
chunkTE4XMF4F_js.WorkflowCanvas,
|
|
1130
1130
|
{
|
|
1131
1131
|
initialGraph,
|
|
1132
1132
|
agents: [],
|
|
@@ -1184,9 +1184,9 @@ function WorkspaceModal({
|
|
|
1184
1184
|
}
|
|
1185
1185
|
function PipelineSettingsModal({ onSave }) {
|
|
1186
1186
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
1187
|
-
const activeModal =
|
|
1188
|
-
const data =
|
|
1189
|
-
const closeModal =
|
|
1187
|
+
const activeModal = chunkTE4XMF4F_js.useModalStore((s) => s.activeModal);
|
|
1188
|
+
const data = chunkTE4XMF4F_js.useModalStore((s) => s.pipelineSettingsData);
|
|
1189
|
+
const closeModal = chunkTE4XMF4F_js.useModalStore((s) => s.closeModal);
|
|
1190
1190
|
const open = activeModal === "pipeline-settings";
|
|
1191
1191
|
const [nameValue, setNameValue] = react.useState("");
|
|
1192
1192
|
const [descriptionValue, setDescriptionValue] = react.useState("");
|
|
@@ -1395,8 +1395,8 @@ function CollapsibleSection({ title, icon, colorClass, defaultOpen = true, count
|
|
|
1395
1395
|
] });
|
|
1396
1396
|
}
|
|
1397
1397
|
function LogicNodeItemCard({ item, translationFunction }) {
|
|
1398
|
-
const IconComponent =
|
|
1399
|
-
const gradient =
|
|
1398
|
+
const IconComponent = chunkTE4XMF4F_js.LOGIC_ICON_MAP[item.nodeType];
|
|
1399
|
+
const gradient = chunkTE4XMF4F_js.LOGIC_NODE_GRADIENTS[item.nodeType] ?? "from-gray-400 to-gray-500";
|
|
1400
1400
|
const defaultConfig = chunkPWBWP5FJ_js.createDefaultLogicNodeConfig(item.nodeType);
|
|
1401
1401
|
const configJson = defaultConfig ? JSON.stringify(defaultConfig) : void 0;
|
|
1402
1402
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1639,8 +1639,8 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1639
1639
|
limit: entity.defaultLimit
|
|
1640
1640
|
});
|
|
1641
1641
|
const dsLogo = getDatasourceLogo(entity.id);
|
|
1642
|
-
const EntityIcon =
|
|
1643
|
-
const entityGradient =
|
|
1642
|
+
const EntityIcon = chunkTE4XMF4F_js.getEntityIcon(entity.id);
|
|
1643
|
+
const entityGradient = chunkTE4XMF4F_js.getEntityGradient(entity.id);
|
|
1644
1644
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1645
1645
|
"div",
|
|
1646
1646
|
{
|
|
@@ -2037,9 +2037,9 @@ function formatDuration2(durationMs) {
|
|
|
2037
2037
|
}
|
|
2038
2038
|
function RunPanel({ open, onClose, onRun, onStop }) {
|
|
2039
2039
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.runPanel");
|
|
2040
|
-
const nodes =
|
|
2041
|
-
const isRunning =
|
|
2042
|
-
const nodeResults =
|
|
2040
|
+
const nodes = chunkTE4XMF4F_js.useWorkflowStore((state) => state.nodes);
|
|
2041
|
+
const isRunning = chunkTE4XMF4F_js.useWorkflowStore((state) => state.isRunning);
|
|
2042
|
+
const nodeResults = chunkTE4XMF4F_js.useWorkflowStore((state) => state.nodeResults);
|
|
2043
2043
|
const startNode = nodes.find((node) => node.type === "start");
|
|
2044
2044
|
const hasEndNode = nodes.some((node) => node.type === "end");
|
|
2045
2045
|
const hasValidStartConfig = Boolean(
|
|
@@ -2324,8 +2324,8 @@ function inferVariables(config, nodeType) {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
function VariableInspector({ open, onClose }) {
|
|
2326
2326
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.variableInspector");
|
|
2327
|
-
const nodes =
|
|
2328
|
-
const edges =
|
|
2327
|
+
const nodes = chunkTE4XMF4F_js.useWorkflowStore((state) => state.nodes);
|
|
2328
|
+
const edges = chunkTE4XMF4F_js.useWorkflowStore((state) => state.edges);
|
|
2329
2329
|
const [expandedNodes, setExpandedNodes] = react.useState(/* @__PURE__ */ new Set());
|
|
2330
2330
|
const toggleNodeExpansion = react.useCallback((nodeId) => {
|
|
2331
2331
|
setExpandedNodes((current) => {
|
|
@@ -2387,8 +2387,8 @@ function VariableInspector({ open, onClose }) {
|
|
|
2387
2387
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-gray-500 dark:text-gray-400", children: translations("noNodes") })
|
|
2388
2388
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "divide-y divide-gray-100 dark:divide-gray-800", children: nodeVariableEntries.map((entry) => {
|
|
2389
2389
|
const isExpanded = expandedNodes.has(entry.nodeId);
|
|
2390
|
-
const IconComponent =
|
|
2391
|
-
const gradient =
|
|
2390
|
+
const IconComponent = chunkTE4XMF4F_js.LOGIC_ICON_MAP[entry.nodeType];
|
|
2391
|
+
const gradient = chunkTE4XMF4F_js.LOGIC_NODE_GRADIENTS[entry.nodeType] ?? "from-gray-400 to-gray-500";
|
|
2392
2392
|
const inputVariables = entry.variables.filter((variable) => variable.direction === "input");
|
|
2393
2393
|
const outputVariables = entry.variables.filter((variable) => variable.direction === "output");
|
|
2394
2394
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": `variable-node-${entry.nodeId}`, children: [
|
|
@@ -2454,7 +2454,7 @@ function RunInputDialog({
|
|
|
2454
2454
|
onRun
|
|
2455
2455
|
}) {
|
|
2456
2456
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow.runInputDialog");
|
|
2457
|
-
const nodes =
|
|
2457
|
+
const nodes = chunkTE4XMF4F_js.useWorkflowStore((state) => state.nodes);
|
|
2458
2458
|
const [values, setValues] = react.useState({});
|
|
2459
2459
|
const inputVariableNames = react.useMemo(() => {
|
|
2460
2460
|
const storeStartNode = nodes.find((node) => node.type === "start");
|
|
@@ -2535,8 +2535,8 @@ function PreviewPanel({ open, onClose, workflowId, loadRuns }) {
|
|
|
2535
2535
|
const [isLoadingRuns, setIsLoadingRuns] = react.useState(false);
|
|
2536
2536
|
const [selectedRun, setSelectedRun] = react.useState(null);
|
|
2537
2537
|
const [selectedNode, setSelectedNode] = react.useState(null);
|
|
2538
|
-
const isRunning =
|
|
2539
|
-
const nodeResults =
|
|
2538
|
+
const isRunning = chunkTE4XMF4F_js.useWorkflowStore((state) => state.isRunning);
|
|
2539
|
+
const nodeResults = chunkTE4XMF4F_js.useWorkflowStore((state) => state.nodeResults);
|
|
2540
2540
|
const refreshRuns = react.useCallback(async () => {
|
|
2541
2541
|
setIsLoadingRuns(true);
|
|
2542
2542
|
try {
|
|
@@ -2692,7 +2692,7 @@ var AutoSaveWorkspace = react.memo(function AutoSaveWorkspace2({
|
|
|
2692
2692
|
onAutoSaveGraph(graph);
|
|
2693
2693
|
}, [onAutoSaveGraph, onGraphSnapshot]);
|
|
2694
2694
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2695
|
-
|
|
2695
|
+
chunkTE4XMF4F_js.Workspace,
|
|
2696
2696
|
{
|
|
2697
2697
|
...workspaceProps,
|
|
2698
2698
|
onGraphChange: handleGraphChange
|
|
@@ -3063,14 +3063,14 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
3063
3063
|
}
|
|
3064
3064
|
|
|
3065
3065
|
// src/astrlabe/store/selectors.ts
|
|
3066
|
-
var useCanUndo = () =>
|
|
3067
|
-
var useCanRedo = () =>
|
|
3068
|
-
var useHasCopied = () =>
|
|
3069
|
-
var useContextMenu = () =>
|
|
3070
|
-
var useEditingNodeId = () =>
|
|
3071
|
-
var useSelectedNodeCount = () =>
|
|
3072
|
-
var useIsRunning = () =>
|
|
3073
|
-
var useNodeResults = () =>
|
|
3066
|
+
var useCanUndo = () => chunkTE4XMF4F_js.useWorkflowStore((state) => state.past.length > 0);
|
|
3067
|
+
var useCanRedo = () => chunkTE4XMF4F_js.useWorkflowStore((state) => state.future.length > 0);
|
|
3068
|
+
var useHasCopied = () => chunkTE4XMF4F_js.useWorkflowStore((state) => state.clipboard !== null);
|
|
3069
|
+
var useContextMenu = () => chunkTE4XMF4F_js.useWorkflowStore((state) => state.contextMenu);
|
|
3070
|
+
var useEditingNodeId = () => chunkTE4XMF4F_js.useWorkflowStore((state) => state.editingNodeId);
|
|
3071
|
+
var useSelectedNodeCount = () => chunkTE4XMF4F_js.useWorkflowStore((state) => state.nodes.filter((node) => node.selected).length);
|
|
3072
|
+
var useIsRunning = () => chunkTE4XMF4F_js.useWorkflowStore((state) => state.isRunning);
|
|
3073
|
+
var useNodeResults = () => chunkTE4XMF4F_js.useWorkflowStore((state) => state.nodeResults);
|
|
3074
3074
|
var DEFAULT_MAX_HISTORY = 50;
|
|
3075
3075
|
function useUndoRedo(nodes, edges, setNodes, setEdges, maxHistory = DEFAULT_MAX_HISTORY) {
|
|
3076
3076
|
const pastRef = react.useRef([]);
|
|
@@ -3350,239 +3350,239 @@ function useHelpLines() {
|
|
|
3350
3350
|
|
|
3351
3351
|
Object.defineProperty(exports, "AgentFlowNode", {
|
|
3352
3352
|
enumerable: true,
|
|
3353
|
-
get: function () { return
|
|
3353
|
+
get: function () { return chunkTE4XMF4F_js.AgentFlowNode; }
|
|
3354
3354
|
});
|
|
3355
3355
|
Object.defineProperty(exports, "AgentToolFlowNode", {
|
|
3356
3356
|
enumerable: true,
|
|
3357
|
-
get: function () { return
|
|
3357
|
+
get: function () { return chunkTE4XMF4F_js.AgentToolFlowNode; }
|
|
3358
3358
|
});
|
|
3359
3359
|
Object.defineProperty(exports, "AnswerFlowNode", {
|
|
3360
3360
|
enumerable: true,
|
|
3361
|
-
get: function () { return
|
|
3361
|
+
get: function () { return chunkTE4XMF4F_js.AnswerFlowNode; }
|
|
3362
3362
|
});
|
|
3363
3363
|
Object.defineProperty(exports, "AnthropicIcon", {
|
|
3364
3364
|
enumerable: true,
|
|
3365
|
-
get: function () { return
|
|
3365
|
+
get: function () { return chunkTE4XMF4F_js.AnthropicIcon; }
|
|
3366
3366
|
});
|
|
3367
3367
|
Object.defineProperty(exports, "CodeFlowNode", {
|
|
3368
3368
|
enumerable: true,
|
|
3369
|
-
get: function () { return
|
|
3369
|
+
get: function () { return chunkTE4XMF4F_js.CodeFlowNode; }
|
|
3370
3370
|
});
|
|
3371
3371
|
Object.defineProperty(exports, "CrewAIIcon", {
|
|
3372
3372
|
enumerable: true,
|
|
3373
|
-
get: function () { return
|
|
3373
|
+
get: function () { return chunkTE4XMF4F_js.CrewAIIcon; }
|
|
3374
3374
|
});
|
|
3375
3375
|
Object.defineProperty(exports, "DocumentExtractorFlowNode", {
|
|
3376
3376
|
enumerable: true,
|
|
3377
|
-
get: function () { return
|
|
3377
|
+
get: function () { return chunkTE4XMF4F_js.DocumentExtractorFlowNode; }
|
|
3378
3378
|
});
|
|
3379
3379
|
Object.defineProperty(exports, "EndFlowNode", {
|
|
3380
3380
|
enumerable: true,
|
|
3381
|
-
get: function () { return
|
|
3381
|
+
get: function () { return chunkTE4XMF4F_js.EndFlowNode; }
|
|
3382
3382
|
});
|
|
3383
3383
|
Object.defineProperty(exports, "EntityFlowNode", {
|
|
3384
3384
|
enumerable: true,
|
|
3385
|
-
get: function () { return
|
|
3385
|
+
get: function () { return chunkTE4XMF4F_js.EntityFlowNode; }
|
|
3386
3386
|
});
|
|
3387
3387
|
Object.defineProperty(exports, "FRAMEWORK_META", {
|
|
3388
3388
|
enumerable: true,
|
|
3389
|
-
get: function () { return
|
|
3389
|
+
get: function () { return chunkTE4XMF4F_js.FRAMEWORK_META; }
|
|
3390
3390
|
});
|
|
3391
3391
|
Object.defineProperty(exports, "GoogleADKIcon", {
|
|
3392
3392
|
enumerable: true,
|
|
3393
|
-
get: function () { return
|
|
3393
|
+
get: function () { return chunkTE4XMF4F_js.GoogleADKIcon; }
|
|
3394
3394
|
});
|
|
3395
3395
|
Object.defineProperty(exports, "GroupFlowNode", {
|
|
3396
3396
|
enumerable: true,
|
|
3397
|
-
get: function () { return
|
|
3397
|
+
get: function () { return chunkTE4XMF4F_js.GroupFlowNode; }
|
|
3398
3398
|
});
|
|
3399
3399
|
Object.defineProperty(exports, "HttpRequestFlowNode", {
|
|
3400
3400
|
enumerable: true,
|
|
3401
|
-
get: function () { return
|
|
3401
|
+
get: function () { return chunkTE4XMF4F_js.HttpRequestFlowNode; }
|
|
3402
3402
|
});
|
|
3403
3403
|
Object.defineProperty(exports, "IfElseFlowNode", {
|
|
3404
3404
|
enumerable: true,
|
|
3405
|
-
get: function () { return
|
|
3405
|
+
get: function () { return chunkTE4XMF4F_js.IfElseFlowNode; }
|
|
3406
3406
|
});
|
|
3407
3407
|
Object.defineProperty(exports, "IterationFlowNode", {
|
|
3408
3408
|
enumerable: true,
|
|
3409
|
-
get: function () { return
|
|
3409
|
+
get: function () { return chunkTE4XMF4F_js.IterationFlowNode; }
|
|
3410
3410
|
});
|
|
3411
3411
|
Object.defineProperty(exports, "IterationStartFlowNode", {
|
|
3412
3412
|
enumerable: true,
|
|
3413
|
-
get: function () { return
|
|
3413
|
+
get: function () { return chunkTE4XMF4F_js.IterationStartFlowNode; }
|
|
3414
3414
|
});
|
|
3415
3415
|
Object.defineProperty(exports, "KnowledgeBaseFlowNode", {
|
|
3416
3416
|
enumerable: true,
|
|
3417
|
-
get: function () { return
|
|
3417
|
+
get: function () { return chunkTE4XMF4F_js.KnowledgeBaseFlowNode; }
|
|
3418
3418
|
});
|
|
3419
3419
|
Object.defineProperty(exports, "LOGIC_ICON_MAP", {
|
|
3420
3420
|
enumerable: true,
|
|
3421
|
-
get: function () { return
|
|
3421
|
+
get: function () { return chunkTE4XMF4F_js.LOGIC_ICON_MAP; }
|
|
3422
3422
|
});
|
|
3423
3423
|
Object.defineProperty(exports, "LOGIC_NODE_BADGE_COLORS", {
|
|
3424
3424
|
enumerable: true,
|
|
3425
|
-
get: function () { return
|
|
3425
|
+
get: function () { return chunkTE4XMF4F_js.LOGIC_NODE_BADGE_COLORS; }
|
|
3426
3426
|
});
|
|
3427
3427
|
Object.defineProperty(exports, "LOGIC_NODE_GRADIENTS", {
|
|
3428
3428
|
enumerable: true,
|
|
3429
|
-
get: function () { return
|
|
3429
|
+
get: function () { return chunkTE4XMF4F_js.LOGIC_NODE_GRADIENTS; }
|
|
3430
3430
|
});
|
|
3431
3431
|
Object.defineProperty(exports, "LOGIC_NODE_HANDLE_COLORS", {
|
|
3432
3432
|
enumerable: true,
|
|
3433
|
-
get: function () { return
|
|
3433
|
+
get: function () { return chunkTE4XMF4F_js.LOGIC_NODE_HANDLE_COLORS; }
|
|
3434
3434
|
});
|
|
3435
3435
|
Object.defineProperty(exports, "LangChainIcon", {
|
|
3436
3436
|
enumerable: true,
|
|
3437
|
-
get: function () { return
|
|
3437
|
+
get: function () { return chunkTE4XMF4F_js.LangChainIcon; }
|
|
3438
3438
|
});
|
|
3439
3439
|
Object.defineProperty(exports, "ListOperatorFlowNode", {
|
|
3440
3440
|
enumerable: true,
|
|
3441
|
-
get: function () { return
|
|
3441
|
+
get: function () { return chunkTE4XMF4F_js.ListOperatorFlowNode; }
|
|
3442
3442
|
});
|
|
3443
3443
|
Object.defineProperty(exports, "LogicNodeModal", {
|
|
3444
3444
|
enumerable: true,
|
|
3445
|
-
get: function () { return
|
|
3445
|
+
get: function () { return chunkTE4XMF4F_js.LogicNodeModal; }
|
|
3446
3446
|
});
|
|
3447
3447
|
Object.defineProperty(exports, "MINIMAP_NODE_COLORS", {
|
|
3448
3448
|
enumerable: true,
|
|
3449
|
-
get: function () { return
|
|
3449
|
+
get: function () { return chunkTE4XMF4F_js.MINIMAP_NODE_COLORS; }
|
|
3450
3450
|
});
|
|
3451
3451
|
Object.defineProperty(exports, "ModelProviderFlowNode", {
|
|
3452
3452
|
enumerable: true,
|
|
3453
|
-
get: function () { return
|
|
3453
|
+
get: function () { return chunkTE4XMF4F_js.ModelProviderFlowNode; }
|
|
3454
3454
|
});
|
|
3455
3455
|
Object.defineProperty(exports, "NODE_EXECUTION_ACCENT_COLORS", {
|
|
3456
3456
|
enumerable: true,
|
|
3457
|
-
get: function () { return
|
|
3457
|
+
get: function () { return chunkTE4XMF4F_js.NODE_EXECUTION_ACCENT_COLORS; }
|
|
3458
3458
|
});
|
|
3459
3459
|
Object.defineProperty(exports, "NodeCard", {
|
|
3460
3460
|
enumerable: true,
|
|
3461
|
-
get: function () { return
|
|
3461
|
+
get: function () { return chunkTE4XMF4F_js.NodeCard; }
|
|
3462
3462
|
});
|
|
3463
3463
|
Object.defineProperty(exports, "NodeContextMenu", {
|
|
3464
3464
|
enumerable: true,
|
|
3465
|
-
get: function () { return
|
|
3465
|
+
get: function () { return chunkTE4XMF4F_js.NodeContextMenu; }
|
|
3466
3466
|
});
|
|
3467
3467
|
Object.defineProperty(exports, "NoteFlowNode", {
|
|
3468
3468
|
enumerable: true,
|
|
3469
|
-
get: function () { return
|
|
3469
|
+
get: function () { return chunkTE4XMF4F_js.NoteFlowNode; }
|
|
3470
3470
|
});
|
|
3471
3471
|
Object.defineProperty(exports, "OpenAIIcon", {
|
|
3472
3472
|
enumerable: true,
|
|
3473
|
-
get: function () { return
|
|
3473
|
+
get: function () { return chunkTE4XMF4F_js.OpenAIIcon; }
|
|
3474
3474
|
});
|
|
3475
3475
|
Object.defineProperty(exports, "PanelContextMenu", {
|
|
3476
3476
|
enumerable: true,
|
|
3477
|
-
get: function () { return
|
|
3477
|
+
get: function () { return chunkTE4XMF4F_js.PanelContextMenu; }
|
|
3478
3478
|
});
|
|
3479
3479
|
Object.defineProperty(exports, "ParameterExtractorFlowNode", {
|
|
3480
3480
|
enumerable: true,
|
|
3481
|
-
get: function () { return
|
|
3481
|
+
get: function () { return chunkTE4XMF4F_js.ParameterExtractorFlowNode; }
|
|
3482
3482
|
});
|
|
3483
3483
|
Object.defineProperty(exports, "QuestionClassifierFlowNode", {
|
|
3484
3484
|
enumerable: true,
|
|
3485
|
-
get: function () { return
|
|
3485
|
+
get: function () { return chunkTE4XMF4F_js.QuestionClassifierFlowNode; }
|
|
3486
3486
|
});
|
|
3487
3487
|
Object.defineProperty(exports, "RuleFlowNode", {
|
|
3488
3488
|
enumerable: true,
|
|
3489
|
-
get: function () { return
|
|
3489
|
+
get: function () { return chunkTE4XMF4F_js.RuleFlowNode; }
|
|
3490
3490
|
});
|
|
3491
3491
|
Object.defineProperty(exports, "SelectionContextMenu", {
|
|
3492
3492
|
enumerable: true,
|
|
3493
|
-
get: function () { return
|
|
3493
|
+
get: function () { return chunkTE4XMF4F_js.SelectionContextMenu; }
|
|
3494
3494
|
});
|
|
3495
3495
|
Object.defineProperty(exports, "StartFlowNode", {
|
|
3496
3496
|
enumerable: true,
|
|
3497
|
-
get: function () { return
|
|
3497
|
+
get: function () { return chunkTE4XMF4F_js.StartFlowNode; }
|
|
3498
3498
|
});
|
|
3499
3499
|
Object.defineProperty(exports, "StrandsIcon", {
|
|
3500
3500
|
enumerable: true,
|
|
3501
|
-
get: function () { return
|
|
3501
|
+
get: function () { return chunkTE4XMF4F_js.StrandsIcon; }
|
|
3502
3502
|
});
|
|
3503
3503
|
Object.defineProperty(exports, "TemplateTransformFlowNode", {
|
|
3504
3504
|
enumerable: true,
|
|
3505
|
-
get: function () { return
|
|
3505
|
+
get: function () { return chunkTE4XMF4F_js.TemplateTransformFlowNode; }
|
|
3506
3506
|
});
|
|
3507
3507
|
Object.defineProperty(exports, "ToolFlowNode", {
|
|
3508
3508
|
enumerable: true,
|
|
3509
|
-
get: function () { return
|
|
3509
|
+
get: function () { return chunkTE4XMF4F_js.ToolFlowNode; }
|
|
3510
3510
|
});
|
|
3511
3511
|
Object.defineProperty(exports, "VariableAggregatorFlowNode", {
|
|
3512
3512
|
enumerable: true,
|
|
3513
|
-
get: function () { return
|
|
3513
|
+
get: function () { return chunkTE4XMF4F_js.VariableAggregatorFlowNode; }
|
|
3514
3514
|
});
|
|
3515
3515
|
Object.defineProperty(exports, "VariableAssignerFlowNode", {
|
|
3516
3516
|
enumerable: true,
|
|
3517
|
-
get: function () { return
|
|
3517
|
+
get: function () { return chunkTE4XMF4F_js.VariableAssignerFlowNode; }
|
|
3518
3518
|
});
|
|
3519
3519
|
Object.defineProperty(exports, "WorkflowBuilderProvider", {
|
|
3520
3520
|
enumerable: true,
|
|
3521
|
-
get: function () { return
|
|
3521
|
+
get: function () { return chunkTE4XMF4F_js.WorkflowBuilderProvider; }
|
|
3522
3522
|
});
|
|
3523
3523
|
Object.defineProperty(exports, "Workspace", {
|
|
3524
3524
|
enumerable: true,
|
|
3525
|
-
get: function () { return
|
|
3525
|
+
get: function () { return chunkTE4XMF4F_js.Workspace; }
|
|
3526
3526
|
});
|
|
3527
3527
|
Object.defineProperty(exports, "getCompatibleModels", {
|
|
3528
3528
|
enumerable: true,
|
|
3529
|
-
get: function () { return
|
|
3529
|
+
get: function () { return chunkTE4XMF4F_js.getCompatibleModels; }
|
|
3530
3530
|
});
|
|
3531
3531
|
Object.defineProperty(exports, "getDefaultFrameworkForModel", {
|
|
3532
3532
|
enumerable: true,
|
|
3533
|
-
get: function () { return
|
|
3533
|
+
get: function () { return chunkTE4XMF4F_js.getDefaultFrameworkForModel; }
|
|
3534
3534
|
});
|
|
3535
3535
|
Object.defineProperty(exports, "getEntityBadgeColor", {
|
|
3536
3536
|
enumerable: true,
|
|
3537
|
-
get: function () { return
|
|
3537
|
+
get: function () { return chunkTE4XMF4F_js.getEntityBadgeColor; }
|
|
3538
3538
|
});
|
|
3539
3539
|
Object.defineProperty(exports, "getEntityGradient", {
|
|
3540
3540
|
enumerable: true,
|
|
3541
|
-
get: function () { return
|
|
3541
|
+
get: function () { return chunkTE4XMF4F_js.getEntityGradient; }
|
|
3542
3542
|
});
|
|
3543
3543
|
Object.defineProperty(exports, "getEntityHandleColor", {
|
|
3544
3544
|
enumerable: true,
|
|
3545
|
-
get: function () { return
|
|
3545
|
+
get: function () { return chunkTE4XMF4F_js.getEntityHandleColor; }
|
|
3546
3546
|
});
|
|
3547
3547
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
3548
3548
|
enumerable: true,
|
|
3549
|
-
get: function () { return
|
|
3549
|
+
get: function () { return chunkTE4XMF4F_js.getEntityIcon; }
|
|
3550
3550
|
});
|
|
3551
3551
|
Object.defineProperty(exports, "getEntityMinimapColor", {
|
|
3552
3552
|
enumerable: true,
|
|
3553
|
-
get: function () { return
|
|
3553
|
+
get: function () { return chunkTE4XMF4F_js.getEntityMinimapColor; }
|
|
3554
3554
|
});
|
|
3555
3555
|
Object.defineProperty(exports, "getFrameworkMeta", {
|
|
3556
3556
|
enumerable: true,
|
|
3557
|
-
get: function () { return
|
|
3557
|
+
get: function () { return chunkTE4XMF4F_js.getFrameworkMeta; }
|
|
3558
3558
|
});
|
|
3559
3559
|
Object.defineProperty(exports, "getNodeExecutionAccent", {
|
|
3560
3560
|
enumerable: true,
|
|
3561
|
-
get: function () { return
|
|
3561
|
+
get: function () { return chunkTE4XMF4F_js.getNodeExecutionAccent; }
|
|
3562
3562
|
});
|
|
3563
3563
|
Object.defineProperty(exports, "getNodeExecutionAccentRgb", {
|
|
3564
3564
|
enumerable: true,
|
|
3565
|
-
get: function () { return
|
|
3565
|
+
get: function () { return chunkTE4XMF4F_js.getNodeExecutionAccentRgb; }
|
|
3566
3566
|
});
|
|
3567
3567
|
Object.defineProperty(exports, "isModelCompatibleWithFramework", {
|
|
3568
3568
|
enumerable: true,
|
|
3569
|
-
get: function () { return
|
|
3569
|
+
get: function () { return chunkTE4XMF4F_js.isModelCompatibleWithFramework; }
|
|
3570
3570
|
});
|
|
3571
3571
|
Object.defineProperty(exports, "useModalStore", {
|
|
3572
3572
|
enumerable: true,
|
|
3573
|
-
get: function () { return
|
|
3573
|
+
get: function () { return chunkTE4XMF4F_js.useModalStore; }
|
|
3574
3574
|
});
|
|
3575
3575
|
Object.defineProperty(exports, "useWorkflowBuilderClient", {
|
|
3576
3576
|
enumerable: true,
|
|
3577
|
-
get: function () { return
|
|
3577
|
+
get: function () { return chunkTE4XMF4F_js.useWorkflowBuilderClient; }
|
|
3578
3578
|
});
|
|
3579
3579
|
Object.defineProperty(exports, "useWorkflowBuilderClientOptional", {
|
|
3580
3580
|
enumerable: true,
|
|
3581
|
-
get: function () { return
|
|
3581
|
+
get: function () { return chunkTE4XMF4F_js.useWorkflowBuilderClientOptional; }
|
|
3582
3582
|
});
|
|
3583
3583
|
Object.defineProperty(exports, "useWorkflowStore", {
|
|
3584
3584
|
enumerable: true,
|
|
3585
|
-
get: function () { return
|
|
3585
|
+
get: function () { return chunkTE4XMF4F_js.useWorkflowStore; }
|
|
3586
3586
|
});
|
|
3587
3587
|
Object.defineProperty(exports, "GraphNodeBadge", {
|
|
3588
3588
|
enumerable: true,
|
package/dist/astrlabe/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Workspace, useModalStore, CATEGORY_COLORS, CATEGORY_PILL_COLORS, ICON_MAP, WorkflowCanvas, getEntityIcon, getEntityGradient, useWorkflowStore, LOGIC_ICON_MAP, LOGIC_NODE_GRADIENTS, getFrameworkMeta, getCompatibleModels, isModelCompatibleWithFramework, FRAMEWORK_META, isFrameworkCompatibleWithProviders } from '../chunk-
|
|
3
|
-
export { AgentFlowNode, AgentToolFlowNode, AnswerFlowNode, AnthropicIcon, CodeFlowNode, CrewAIIcon, DocumentExtractorFlowNode, EndFlowNode, EntityFlowNode, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, HttpRequestFlowNode, IfElseFlowNode, IterationFlowNode, IterationStartFlowNode, KnowledgeBaseFlowNode, LOGIC_ICON_MAP, LOGIC_NODE_BADGE_COLORS, LOGIC_NODE_GRADIENTS, LOGIC_NODE_HANDLE_COLORS, LangChainIcon, ListOperatorFlowNode, LogicNodeModal, MINIMAP_NODE_COLORS, ModelProviderFlowNode, NODE_EXECUTION_ACCENT_COLORS, NodeCard, NodeContextMenu, NoteFlowNode, OpenAIIcon, PanelContextMenu, ParameterExtractorFlowNode, QuestionClassifierFlowNode, RuleFlowNode, SelectionContextMenu, StartFlowNode, StrandsIcon, TemplateTransformFlowNode, ToolFlowNode, VariableAggregatorFlowNode, VariableAssignerFlowNode, WorkflowBuilderProvider, Workspace, getCompatibleModels, getDefaultFrameworkForModel, getEntityBadgeColor, getEntityGradient, getEntityHandleColor, getEntityIcon, getEntityMinimapColor, getFrameworkMeta, getNodeExecutionAccent, getNodeExecutionAccentRgb, isModelCompatibleWithFramework, useModalStore, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore } from '../chunk-
|
|
2
|
+
import { Workspace, useModalStore, CATEGORY_COLORS, CATEGORY_PILL_COLORS, ICON_MAP, WorkflowCanvas, getEntityIcon, getEntityGradient, useWorkflowStore, LOGIC_ICON_MAP, LOGIC_NODE_GRADIENTS, getFrameworkMeta, getCompatibleModels, isModelCompatibleWithFramework, FRAMEWORK_META, isFrameworkCompatibleWithProviders } from '../chunk-4RCCAZMR.mjs';
|
|
3
|
+
export { AgentFlowNode, AgentToolFlowNode, AnswerFlowNode, AnthropicIcon, CodeFlowNode, CrewAIIcon, DocumentExtractorFlowNode, EndFlowNode, EntityFlowNode, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, HttpRequestFlowNode, IfElseFlowNode, IterationFlowNode, IterationStartFlowNode, KnowledgeBaseFlowNode, LOGIC_ICON_MAP, LOGIC_NODE_BADGE_COLORS, LOGIC_NODE_GRADIENTS, LOGIC_NODE_HANDLE_COLORS, LangChainIcon, ListOperatorFlowNode, LogicNodeModal, MINIMAP_NODE_COLORS, ModelProviderFlowNode, NODE_EXECUTION_ACCENT_COLORS, NodeCard, NodeContextMenu, NoteFlowNode, OpenAIIcon, PanelContextMenu, ParameterExtractorFlowNode, QuestionClassifierFlowNode, RuleFlowNode, SelectionContextMenu, StartFlowNode, StrandsIcon, TemplateTransformFlowNode, ToolFlowNode, VariableAggregatorFlowNode, VariableAssignerFlowNode, WorkflowBuilderProvider, Workspace, getCompatibleModels, getDefaultFrameworkForModel, getEntityBadgeColor, getEntityGradient, getEntityHandleColor, getEntityIcon, getEntityMinimapColor, getFrameworkMeta, getNodeExecutionAccent, getNodeExecutionAccentRgb, isModelCompatibleWithFramework, useModalStore, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore } from '../chunk-4RCCAZMR.mjs';
|
|
4
4
|
import { GlassModal, Button, FormInput, FormTextarea, ToggleSwitch, Input, DynamicIslandConfirm } from '../chunk-MDD6H63O.mjs';
|
|
5
5
|
import '../chunk-D2JF6C3E.mjs';
|
|
6
6
|
import { useTranslations } from '../chunk-7VJ7CMMT.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkTE4XMF4F_js = require('../chunk-TE4XMF4F.js');
|
|
5
5
|
require('../chunk-2IOPJ5BM.js');
|
|
6
6
|
require('../chunk-UZ3CMNUJ.js');
|
|
7
7
|
require('../chunk-YXN2K77G.js');
|
|
@@ -13,7 +13,7 @@ require('../chunk-PWBWP5FJ.js');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "Workspace", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkTE4XMF4F_js.Workspace; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=workflow-canvas.js.map
|
|
19
19
|
//# sourceMappingURL=workflow-canvas.js.map
|
|
@@ -2897,21 +2897,14 @@ var DatasourceFlowNode = memo(function DatasourceFlowNode2({ id, data, selected
|
|
|
2897
2897
|
)
|
|
2898
2898
|
] }),
|
|
2899
2899
|
/* @__PURE__ */ jsxs(NodeCardMeta, { compact: isCompact, children: [
|
|
2900
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-
|
|
2900
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
2901
2901
|
config.dialect && /* @__PURE__ */ jsx(NodeCardBadge, { className: "inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-semibold bg-cyan-100 text-cyan-700 dark:bg-cyan-400/15 dark:text-cyan-400", children: config.dialect }),
|
|
2902
|
-
readOnly && /* @__PURE__ */ jsx(NodeCardBadge, { className: "inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-medium bg-slate-100 text-slate-600 dark:bg-slate-500/20 dark:text-slate-400", children: "
|
|
2903
|
-
|
|
2904
|
-
columnCount,
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
filterCount,
|
|
2909
|
-
" filters"
|
|
2910
|
-
] }),
|
|
2911
|
-
config.limit > 0 && /* @__PURE__ */ jsxs("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2912
|
-
"\u2264",
|
|
2913
|
-
config.limit
|
|
2914
|
-
] })
|
|
2902
|
+
readOnly && /* @__PURE__ */ jsx(NodeCardBadge, { className: "inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-medium bg-slate-100 text-slate-600 dark:bg-slate-500/20 dark:text-slate-400", children: "sample" }),
|
|
2903
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-gray-400 dark:text-gray-500", children: [
|
|
2904
|
+
columnCount > 0 ? `${columnCount} cols` : null,
|
|
2905
|
+
filterCount > 0 ? `${filterCount} filters` : null,
|
|
2906
|
+
config.limit > 0 ? `\u2264${config.limit}` : null
|
|
2907
|
+
].filter(Boolean).join(" \xB7 ") })
|
|
2915
2908
|
] }),
|
|
2916
2909
|
onRemoveFromCanvas && /* @__PURE__ */ jsx(
|
|
2917
2910
|
"span",
|
|
@@ -7630,5 +7623,5 @@ function Workspace({
|
|
|
7630
7623
|
}
|
|
7631
7624
|
|
|
7632
7625
|
export { AgentFlowNode, AgentToolFlowNode, AnswerFlowNode, AnthropicIcon, CATEGORY_COLORS, CATEGORY_PILL_COLORS, CodeFlowNode, CrewAIIcon, DocumentExtractorFlowNode, EndFlowNode, EntityFlowNode, FRAMEWORK_META, GoogleADKIcon, GroupFlowNode, HttpRequestFlowNode, ICON_MAP, IfElseFlowNode, IterationFlowNode, IterationStartFlowNode, KnowledgeBaseFlowNode, LOGIC_ICON_MAP, LOGIC_NODE_BADGE_COLORS, LOGIC_NODE_GRADIENTS, LOGIC_NODE_HANDLE_COLORS, LangChainIcon, ListOperatorFlowNode, LogicNodeModal, MINIMAP_NODE_COLORS, ModelProviderFlowNode, NODE_EXECUTION_ACCENT_COLORS, NodeCard, NodeContextMenu, NoteFlowNode, OpenAIIcon, PanelContextMenu, ParameterExtractorFlowNode, QuestionClassifierFlowNode, RuleFlowNode, SelectionContextMenu, StartFlowNode, StrandsIcon, TemplateTransformFlowNode, ToolFlowNode, VariableAggregatorFlowNode, VariableAssignerFlowNode, WorkflowBuilderProvider, WorkflowCanvas, Workspace, getCompatibleModels, getDefaultFrameworkForModel, getEntityBadgeColor, getEntityGradient, getEntityHandleColor, getEntityIcon, getEntityMinimapColor, getFrameworkMeta, getNodeExecutionAccent, getNodeExecutionAccentRgb, isFrameworkCompatibleWithProviders, isModelCompatibleWithFramework, useModalStore, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore };
|
|
7633
|
-
//# sourceMappingURL=chunk-
|
|
7634
|
-
//# sourceMappingURL=chunk-
|
|
7626
|
+
//# sourceMappingURL=chunk-4RCCAZMR.mjs.map
|
|
7627
|
+
//# sourceMappingURL=chunk-4RCCAZMR.mjs.map
|