@datatechsolutions/ui 2.11.6 → 2.11.7
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 +99 -99
- 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-TM2UUOQO.mjs → chunk-76MHUX4T.mjs} +205 -298
- package/dist/chunk-76MHUX4T.mjs.map +1 -0
- package/dist/{chunk-E7GVGD4Z.js → chunk-TKLALDY4.js} +204 -297
- package/dist/chunk-TKLALDY4.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-E7GVGD4Z.js.map +0 -1
- package/dist/chunk-TM2UUOQO.mjs.map +0 -1
package/dist/astrlabe/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
require('../chunk-55H6WZQP.js');
|
|
5
5
|
var chunk3GE3MBUZ_js = require('../chunk-3GE3MBUZ.js');
|
|
6
|
-
var
|
|
6
|
+
var chunkTKLALDY4_js = require('../chunk-TKLALDY4.js');
|
|
7
7
|
var chunk4XID6LOC_js = require('../chunk-4XID6LOC.js');
|
|
8
8
|
require('../chunk-S7KHTUHA.js');
|
|
9
9
|
require('../chunk-UZ3CMNUJ.js');
|
|
@@ -83,7 +83,7 @@ function OutputCard({ label, value }) {
|
|
|
83
83
|
function AgentProfileHeader({ agent, models, t, selectedModelId, setSelectedModelId, selectedFramework, temperature, setTemperature, elo, setElo, onChanged }) {
|
|
84
84
|
const modelName = models.find((model) => model.id === selectedModelId)?.name ?? selectedModelId ?? "\u2014";
|
|
85
85
|
const avatarUrl = agent.avatar;
|
|
86
|
-
const frameworkMeta =
|
|
86
|
+
const frameworkMeta = chunkTKLALDY4_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" },
|
|
@@ -375,12 +375,12 @@ function ConfigTab({ agent, models, t, selectedModelId, setSelectedModelId, sele
|
|
|
375
375
|
const isPrecise = temperature <= 0.3;
|
|
376
376
|
const isBalanced = temperature > 0.3 && temperature <= 0.7;
|
|
377
377
|
const isCreative = temperature > 0.7;
|
|
378
|
-
const frameworkKeys = Object.keys(
|
|
379
|
-
const compatibleModels =
|
|
378
|
+
const frameworkKeys = Object.keys(chunkTKLALDY4_js.FRAMEWORK_META);
|
|
379
|
+
const compatibleModels = chunkTKLALDY4_js.getCompatibleModels(models, selectedFramework);
|
|
380
380
|
const handleFrameworkChange = react.useCallback((newFramework) => {
|
|
381
381
|
setSelectedFramework(newFramework);
|
|
382
|
-
if (!
|
|
383
|
-
const compatible =
|
|
382
|
+
if (!chunkTKLALDY4_js.isModelCompatibleWithFramework(selectedModelId, newFramework)) {
|
|
383
|
+
const compatible = chunkTKLALDY4_js.getCompatibleModels(models, newFramework);
|
|
384
384
|
if (compatible.length > 0) {
|
|
385
385
|
setSelectedModelId(compatible[0].id);
|
|
386
386
|
}
|
|
@@ -391,9 +391,9 @@ function ConfigTab({ agent, models, t, selectedModelId, setSelectedModelId, sele
|
|
|
391
391
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
392
392
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "mb-2 block text-xs font-medium text-gray-500 dark:text-gray-400", children: t("agentDrawer.framework") }),
|
|
393
393
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1.5", children: frameworkKeys.map((key) => {
|
|
394
|
-
const meta =
|
|
394
|
+
const meta = chunkTKLALDY4_js.FRAMEWORK_META[key];
|
|
395
395
|
const isSelected = key === selectedFramework;
|
|
396
|
-
const compatCount =
|
|
396
|
+
const compatCount = chunkTKLALDY4_js.getCompatibleModels(models, key).length;
|
|
397
397
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
398
398
|
"button",
|
|
399
399
|
{
|
|
@@ -423,7 +423,7 @@ function ConfigTab({ agent, models, t, selectedModelId, setSelectedModelId, sele
|
|
|
423
423
|
] }),
|
|
424
424
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-2", children: models.map((model) => {
|
|
425
425
|
const isSelected = model.id === selectedModelId;
|
|
426
|
-
const isCompatible =
|
|
426
|
+
const isCompatible = chunkTKLALDY4_js.isModelCompatibleWithFramework(model.id, selectedFramework);
|
|
427
427
|
const { IconComponent, color, providerLabel } = getModelIcon(model.id);
|
|
428
428
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
429
429
|
"button",
|
|
@@ -520,7 +520,7 @@ function ConfigTab({ agent, models, t, selectedModelId, setSelectedModelId, sele
|
|
|
520
520
|
] });
|
|
521
521
|
}
|
|
522
522
|
function ResultsTab({ agentId, t }) {
|
|
523
|
-
const nodeResults =
|
|
523
|
+
const nodeResults = chunkTKLALDY4_js.useWorkflowStore((state) => state.nodeResults);
|
|
524
524
|
const agentResult = react.useMemo(() => {
|
|
525
525
|
return nodeResults[agentId] ?? null;
|
|
526
526
|
}, [nodeResults, agentId]);
|
|
@@ -549,9 +549,9 @@ function ResultsTab({ agentId, t }) {
|
|
|
549
549
|
}
|
|
550
550
|
function AgentModal({ onSaved }) {
|
|
551
551
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
552
|
-
const activeModal =
|
|
553
|
-
const agentData =
|
|
554
|
-
const closeModal =
|
|
552
|
+
const activeModal = chunkTKLALDY4_js.useModalStore((s) => s.activeModal);
|
|
553
|
+
const agentData = chunkTKLALDY4_js.useModalStore((s) => s.agentData);
|
|
554
|
+
const closeModal = chunkTKLALDY4_js.useModalStore((s) => s.closeModal);
|
|
555
555
|
const open = activeModal === "agent";
|
|
556
556
|
const agent = agentData?.agent ?? null;
|
|
557
557
|
const models = agentData?.models ?? [];
|
|
@@ -771,9 +771,9 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
771
771
|
}, [tool, onSaved, name, category, description, timeoutMs, latestGraphRef, markSaved]);
|
|
772
772
|
if (!tool) return null;
|
|
773
773
|
const categoryKey = category ?? "external";
|
|
774
|
-
const gradient = tool.color ??
|
|
775
|
-
const categoryPill =
|
|
776
|
-
const IconComponent =
|
|
774
|
+
const gradient = tool.color ?? chunkTKLALDY4_js.CATEGORY_COLORS[categoryKey] ?? chunkTKLALDY4_js.CATEGORY_COLORS.external;
|
|
775
|
+
const categoryPill = chunkTKLALDY4_js.CATEGORY_PILL_COLORS[categoryKey] ?? chunkTKLALDY4_js.CATEGORY_PILL_COLORS.external;
|
|
776
|
+
const IconComponent = chunkTKLALDY4_js.ICON_MAP[tool.icon ?? ""] ?? outline.ArrowPathRoundedSquareIcon;
|
|
777
777
|
const graph = latestGraphRef.current;
|
|
778
778
|
const startNode = graph.nodes.find((n) => n.type === "start");
|
|
779
779
|
const endNode = graph.nodes.find((n) => n.type === "end");
|
|
@@ -837,7 +837,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
837
837
|
{
|
|
838
838
|
type: "button",
|
|
839
839
|
onClick: () => setCategory(cat),
|
|
840
|
-
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${
|
|
840
|
+
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${chunkTKLALDY4_js.CATEGORY_PILL_COLORS[cat] ?? chunkTKLALDY4_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"}`,
|
|
841
841
|
children: cat
|
|
842
842
|
},
|
|
843
843
|
cat
|
|
@@ -924,7 +924,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
924
924
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto" })
|
|
925
925
|
] }),
|
|
926
926
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
927
|
-
|
|
927
|
+
chunkTKLALDY4_js.WorkflowCanvas,
|
|
928
928
|
{
|
|
929
929
|
initialGraph,
|
|
930
930
|
agents: [],
|
|
@@ -976,9 +976,9 @@ function WorkspaceModal({
|
|
|
976
976
|
}
|
|
977
977
|
function PipelineSettingsModal({ onSave }) {
|
|
978
978
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
979
|
-
const activeModal =
|
|
980
|
-
const data =
|
|
981
|
-
const closeModal =
|
|
979
|
+
const activeModal = chunkTKLALDY4_js.useModalStore((s) => s.activeModal);
|
|
980
|
+
const data = chunkTKLALDY4_js.useModalStore((s) => s.pipelineSettingsData);
|
|
981
|
+
const closeModal = chunkTKLALDY4_js.useModalStore((s) => s.closeModal);
|
|
982
982
|
const open = activeModal === "pipeline-settings";
|
|
983
983
|
const [nameValue, setNameValue] = react.useState("");
|
|
984
984
|
const [descriptionValue, setDescriptionValue] = react.useState("");
|
|
@@ -1161,8 +1161,8 @@ function CollapsibleSection({ title, icon, colorClass, defaultOpen = true, count
|
|
|
1161
1161
|
] });
|
|
1162
1162
|
}
|
|
1163
1163
|
function LogicNodeItemCard({ item, translationFunction }) {
|
|
1164
|
-
const IconComponent =
|
|
1165
|
-
const gradient =
|
|
1164
|
+
const IconComponent = chunkTKLALDY4_js.LOGIC_ICON_MAP[item.nodeType];
|
|
1165
|
+
const gradient = chunkTKLALDY4_js.LOGIC_NODE_GRADIENTS[item.nodeType] ?? "from-gray-400 to-gray-500";
|
|
1166
1166
|
const defaultConfig = chunkPWBWP5FJ_js.createDefaultLogicNodeConfig(item.nodeType);
|
|
1167
1167
|
const configJson = defaultConfig ? JSON.stringify(defaultConfig) : void 0;
|
|
1168
1168
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1402,8 +1402,8 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], onC
|
|
|
1402
1402
|
outputVariable: `${entity.label.replace(/\s+/g, "")}Data`,
|
|
1403
1403
|
limit: entity.defaultLimit
|
|
1404
1404
|
});
|
|
1405
|
-
const EntityIcon =
|
|
1406
|
-
const entityGradient =
|
|
1405
|
+
const EntityIcon = chunkTKLALDY4_js.getEntityIcon(entity.id);
|
|
1406
|
+
const entityGradient = chunkTKLALDY4_js.getEntityGradient(entity.id);
|
|
1407
1407
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1408
1408
|
"div",
|
|
1409
1409
|
{
|
|
@@ -1742,9 +1742,9 @@ function formatDuration2(durationMs) {
|
|
|
1742
1742
|
}
|
|
1743
1743
|
function RunPanel({ open, onClose, onRun, onStop }) {
|
|
1744
1744
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.runPanel");
|
|
1745
|
-
const nodes =
|
|
1746
|
-
const isRunning =
|
|
1747
|
-
const nodeResults =
|
|
1745
|
+
const nodes = chunkTKLALDY4_js.useWorkflowStore((state) => state.nodes);
|
|
1746
|
+
const isRunning = chunkTKLALDY4_js.useWorkflowStore((state) => state.isRunning);
|
|
1747
|
+
const nodeResults = chunkTKLALDY4_js.useWorkflowStore((state) => state.nodeResults);
|
|
1748
1748
|
const startNode = nodes.find((node) => node.type === "start");
|
|
1749
1749
|
const hasEndNode = nodes.some((node) => node.type === "end");
|
|
1750
1750
|
const hasValidStartConfig = Boolean(
|
|
@@ -2029,8 +2029,8 @@ function inferVariables(config, nodeType) {
|
|
|
2029
2029
|
}
|
|
2030
2030
|
function VariableInspector({ open, onClose }) {
|
|
2031
2031
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.variableInspector");
|
|
2032
|
-
const nodes =
|
|
2033
|
-
const edges =
|
|
2032
|
+
const nodes = chunkTKLALDY4_js.useWorkflowStore((state) => state.nodes);
|
|
2033
|
+
const edges = chunkTKLALDY4_js.useWorkflowStore((state) => state.edges);
|
|
2034
2034
|
const [expandedNodes, setExpandedNodes] = react.useState(/* @__PURE__ */ new Set());
|
|
2035
2035
|
const toggleNodeExpansion = react.useCallback((nodeId) => {
|
|
2036
2036
|
setExpandedNodes((current) => {
|
|
@@ -2092,8 +2092,8 @@ function VariableInspector({ open, onClose }) {
|
|
|
2092
2092
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-gray-500 dark:text-gray-400", children: translations("noNodes") })
|
|
2093
2093
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "divide-y divide-gray-100 dark:divide-gray-800", children: nodeVariableEntries.map((entry) => {
|
|
2094
2094
|
const isExpanded = expandedNodes.has(entry.nodeId);
|
|
2095
|
-
const IconComponent =
|
|
2096
|
-
const gradient =
|
|
2095
|
+
const IconComponent = chunkTKLALDY4_js.LOGIC_ICON_MAP[entry.nodeType];
|
|
2096
|
+
const gradient = chunkTKLALDY4_js.LOGIC_NODE_GRADIENTS[entry.nodeType] ?? "from-gray-400 to-gray-500";
|
|
2097
2097
|
const inputVariables = entry.variables.filter((variable) => variable.direction === "input");
|
|
2098
2098
|
const outputVariables = entry.variables.filter((variable) => variable.direction === "output");
|
|
2099
2099
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": `variable-node-${entry.nodeId}`, children: [
|
|
@@ -2159,7 +2159,7 @@ function RunInputDialog({
|
|
|
2159
2159
|
onRun
|
|
2160
2160
|
}) {
|
|
2161
2161
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow.runInputDialog");
|
|
2162
|
-
const nodes =
|
|
2162
|
+
const nodes = chunkTKLALDY4_js.useWorkflowStore((state) => state.nodes);
|
|
2163
2163
|
const [values, setValues] = react.useState({});
|
|
2164
2164
|
const inputVariableNames = react.useMemo(() => {
|
|
2165
2165
|
const storeStartNode = nodes.find((node) => node.type === "start");
|
|
@@ -2241,8 +2241,8 @@ function PreviewPanel({ open, onClose, workflowId, loadRuns }) {
|
|
|
2241
2241
|
const [isLoadingRuns, setIsLoadingRuns] = react.useState(false);
|
|
2242
2242
|
const [selectedRun, setSelectedRun] = react.useState(null);
|
|
2243
2243
|
const [selectedNode, setSelectedNode] = react.useState(null);
|
|
2244
|
-
const isRunning =
|
|
2245
|
-
const nodeResults =
|
|
2244
|
+
const isRunning = chunkTKLALDY4_js.useWorkflowStore((state) => state.isRunning);
|
|
2245
|
+
const nodeResults = chunkTKLALDY4_js.useWorkflowStore((state) => state.nodeResults);
|
|
2246
2246
|
const refreshRuns = react.useCallback(async () => {
|
|
2247
2247
|
setIsLoadingRuns(true);
|
|
2248
2248
|
try {
|
|
@@ -2398,7 +2398,7 @@ var AutoSaveWorkspace = react.memo(function AutoSaveWorkspace2({
|
|
|
2398
2398
|
onAutoSaveGraph(graph);
|
|
2399
2399
|
}, [onAutoSaveGraph, onGraphSnapshot]);
|
|
2400
2400
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2401
|
-
|
|
2401
|
+
chunkTKLALDY4_js.Workspace,
|
|
2402
2402
|
{
|
|
2403
2403
|
...workspaceProps,
|
|
2404
2404
|
onGraphChange: handleGraphChange
|
|
@@ -2768,14 +2768,14 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
2768
2768
|
}
|
|
2769
2769
|
|
|
2770
2770
|
// src/astrlabe/store/selectors.ts
|
|
2771
|
-
var useCanUndo = () =>
|
|
2772
|
-
var useCanRedo = () =>
|
|
2773
|
-
var useHasCopied = () =>
|
|
2774
|
-
var useContextMenu = () =>
|
|
2775
|
-
var useEditingNodeId = () =>
|
|
2776
|
-
var useSelectedNodeCount = () =>
|
|
2777
|
-
var useIsRunning = () =>
|
|
2778
|
-
var useNodeResults = () =>
|
|
2771
|
+
var useCanUndo = () => chunkTKLALDY4_js.useWorkflowStore((state) => state.past.length > 0);
|
|
2772
|
+
var useCanRedo = () => chunkTKLALDY4_js.useWorkflowStore((state) => state.future.length > 0);
|
|
2773
|
+
var useHasCopied = () => chunkTKLALDY4_js.useWorkflowStore((state) => state.clipboard !== null);
|
|
2774
|
+
var useContextMenu = () => chunkTKLALDY4_js.useWorkflowStore((state) => state.contextMenu);
|
|
2775
|
+
var useEditingNodeId = () => chunkTKLALDY4_js.useWorkflowStore((state) => state.editingNodeId);
|
|
2776
|
+
var useSelectedNodeCount = () => chunkTKLALDY4_js.useWorkflowStore((state) => state.nodes.filter((node) => node.selected).length);
|
|
2777
|
+
var useIsRunning = () => chunkTKLALDY4_js.useWorkflowStore((state) => state.isRunning);
|
|
2778
|
+
var useNodeResults = () => chunkTKLALDY4_js.useWorkflowStore((state) => state.nodeResults);
|
|
2779
2779
|
var DEFAULT_MAX_HISTORY = 50;
|
|
2780
2780
|
function useUndoRedo(nodes, edges, setNodes, setEdges, maxHistory = DEFAULT_MAX_HISTORY) {
|
|
2781
2781
|
const pastRef = react.useRef([]);
|
|
@@ -3063,223 +3063,223 @@ Object.defineProperty(exports, "validateWorkflowGraph", {
|
|
|
3063
3063
|
});
|
|
3064
3064
|
Object.defineProperty(exports, "AgentFlowNode", {
|
|
3065
3065
|
enumerable: true,
|
|
3066
|
-
get: function () { return
|
|
3066
|
+
get: function () { return chunkTKLALDY4_js.AgentFlowNode; }
|
|
3067
3067
|
});
|
|
3068
3068
|
Object.defineProperty(exports, "AgentToolFlowNode", {
|
|
3069
3069
|
enumerable: true,
|
|
3070
|
-
get: function () { return
|
|
3070
|
+
get: function () { return chunkTKLALDY4_js.AgentToolFlowNode; }
|
|
3071
3071
|
});
|
|
3072
3072
|
Object.defineProperty(exports, "AnswerFlowNode", {
|
|
3073
3073
|
enumerable: true,
|
|
3074
|
-
get: function () { return
|
|
3074
|
+
get: function () { return chunkTKLALDY4_js.AnswerFlowNode; }
|
|
3075
3075
|
});
|
|
3076
3076
|
Object.defineProperty(exports, "AnthropicIcon", {
|
|
3077
3077
|
enumerable: true,
|
|
3078
|
-
get: function () { return
|
|
3078
|
+
get: function () { return chunkTKLALDY4_js.AnthropicIcon; }
|
|
3079
3079
|
});
|
|
3080
3080
|
Object.defineProperty(exports, "CodeFlowNode", {
|
|
3081
3081
|
enumerable: true,
|
|
3082
|
-
get: function () { return
|
|
3082
|
+
get: function () { return chunkTKLALDY4_js.CodeFlowNode; }
|
|
3083
3083
|
});
|
|
3084
3084
|
Object.defineProperty(exports, "CrewAIIcon", {
|
|
3085
3085
|
enumerable: true,
|
|
3086
|
-
get: function () { return
|
|
3086
|
+
get: function () { return chunkTKLALDY4_js.CrewAIIcon; }
|
|
3087
3087
|
});
|
|
3088
3088
|
Object.defineProperty(exports, "DocumentExtractorFlowNode", {
|
|
3089
3089
|
enumerable: true,
|
|
3090
|
-
get: function () { return
|
|
3090
|
+
get: function () { return chunkTKLALDY4_js.DocumentExtractorFlowNode; }
|
|
3091
3091
|
});
|
|
3092
3092
|
Object.defineProperty(exports, "EndFlowNode", {
|
|
3093
3093
|
enumerable: true,
|
|
3094
|
-
get: function () { return
|
|
3094
|
+
get: function () { return chunkTKLALDY4_js.EndFlowNode; }
|
|
3095
3095
|
});
|
|
3096
3096
|
Object.defineProperty(exports, "EntityFlowNode", {
|
|
3097
3097
|
enumerable: true,
|
|
3098
|
-
get: function () { return
|
|
3098
|
+
get: function () { return chunkTKLALDY4_js.EntityFlowNode; }
|
|
3099
3099
|
});
|
|
3100
3100
|
Object.defineProperty(exports, "FRAMEWORK_META", {
|
|
3101
3101
|
enumerable: true,
|
|
3102
|
-
get: function () { return
|
|
3102
|
+
get: function () { return chunkTKLALDY4_js.FRAMEWORK_META; }
|
|
3103
3103
|
});
|
|
3104
3104
|
Object.defineProperty(exports, "GoogleADKIcon", {
|
|
3105
3105
|
enumerable: true,
|
|
3106
|
-
get: function () { return
|
|
3106
|
+
get: function () { return chunkTKLALDY4_js.GoogleADKIcon; }
|
|
3107
3107
|
});
|
|
3108
3108
|
Object.defineProperty(exports, "GroupFlowNode", {
|
|
3109
3109
|
enumerable: true,
|
|
3110
|
-
get: function () { return
|
|
3110
|
+
get: function () { return chunkTKLALDY4_js.GroupFlowNode; }
|
|
3111
3111
|
});
|
|
3112
3112
|
Object.defineProperty(exports, "HttpRequestFlowNode", {
|
|
3113
3113
|
enumerable: true,
|
|
3114
|
-
get: function () { return
|
|
3114
|
+
get: function () { return chunkTKLALDY4_js.HttpRequestFlowNode; }
|
|
3115
3115
|
});
|
|
3116
3116
|
Object.defineProperty(exports, "IfElseFlowNode", {
|
|
3117
3117
|
enumerable: true,
|
|
3118
|
-
get: function () { return
|
|
3118
|
+
get: function () { return chunkTKLALDY4_js.IfElseFlowNode; }
|
|
3119
3119
|
});
|
|
3120
3120
|
Object.defineProperty(exports, "IterationFlowNode", {
|
|
3121
3121
|
enumerable: true,
|
|
3122
|
-
get: function () { return
|
|
3122
|
+
get: function () { return chunkTKLALDY4_js.IterationFlowNode; }
|
|
3123
3123
|
});
|
|
3124
3124
|
Object.defineProperty(exports, "IterationStartFlowNode", {
|
|
3125
3125
|
enumerable: true,
|
|
3126
|
-
get: function () { return
|
|
3126
|
+
get: function () { return chunkTKLALDY4_js.IterationStartFlowNode; }
|
|
3127
3127
|
});
|
|
3128
3128
|
Object.defineProperty(exports, "KnowledgeBaseFlowNode", {
|
|
3129
3129
|
enumerable: true,
|
|
3130
|
-
get: function () { return
|
|
3130
|
+
get: function () { return chunkTKLALDY4_js.KnowledgeBaseFlowNode; }
|
|
3131
3131
|
});
|
|
3132
3132
|
Object.defineProperty(exports, "LOGIC_ICON_MAP", {
|
|
3133
3133
|
enumerable: true,
|
|
3134
|
-
get: function () { return
|
|
3134
|
+
get: function () { return chunkTKLALDY4_js.LOGIC_ICON_MAP; }
|
|
3135
3135
|
});
|
|
3136
3136
|
Object.defineProperty(exports, "LOGIC_NODE_BADGE_COLORS", {
|
|
3137
3137
|
enumerable: true,
|
|
3138
|
-
get: function () { return
|
|
3138
|
+
get: function () { return chunkTKLALDY4_js.LOGIC_NODE_BADGE_COLORS; }
|
|
3139
3139
|
});
|
|
3140
3140
|
Object.defineProperty(exports, "LOGIC_NODE_GRADIENTS", {
|
|
3141
3141
|
enumerable: true,
|
|
3142
|
-
get: function () { return
|
|
3142
|
+
get: function () { return chunkTKLALDY4_js.LOGIC_NODE_GRADIENTS; }
|
|
3143
3143
|
});
|
|
3144
3144
|
Object.defineProperty(exports, "LOGIC_NODE_HANDLE_COLORS", {
|
|
3145
3145
|
enumerable: true,
|
|
3146
|
-
get: function () { return
|
|
3146
|
+
get: function () { return chunkTKLALDY4_js.LOGIC_NODE_HANDLE_COLORS; }
|
|
3147
3147
|
});
|
|
3148
3148
|
Object.defineProperty(exports, "LangChainIcon", {
|
|
3149
3149
|
enumerable: true,
|
|
3150
|
-
get: function () { return
|
|
3150
|
+
get: function () { return chunkTKLALDY4_js.LangChainIcon; }
|
|
3151
3151
|
});
|
|
3152
3152
|
Object.defineProperty(exports, "ListOperatorFlowNode", {
|
|
3153
3153
|
enumerable: true,
|
|
3154
|
-
get: function () { return
|
|
3154
|
+
get: function () { return chunkTKLALDY4_js.ListOperatorFlowNode; }
|
|
3155
3155
|
});
|
|
3156
3156
|
Object.defineProperty(exports, "LogicNodeModal", {
|
|
3157
3157
|
enumerable: true,
|
|
3158
|
-
get: function () { return
|
|
3158
|
+
get: function () { return chunkTKLALDY4_js.LogicNodeModal; }
|
|
3159
3159
|
});
|
|
3160
3160
|
Object.defineProperty(exports, "MINIMAP_NODE_COLORS", {
|
|
3161
3161
|
enumerable: true,
|
|
3162
|
-
get: function () { return
|
|
3162
|
+
get: function () { return chunkTKLALDY4_js.MINIMAP_NODE_COLORS; }
|
|
3163
3163
|
});
|
|
3164
3164
|
Object.defineProperty(exports, "NodeCard", {
|
|
3165
3165
|
enumerable: true,
|
|
3166
|
-
get: function () { return
|
|
3166
|
+
get: function () { return chunkTKLALDY4_js.NodeCard; }
|
|
3167
3167
|
});
|
|
3168
3168
|
Object.defineProperty(exports, "NodeContextMenu", {
|
|
3169
3169
|
enumerable: true,
|
|
3170
|
-
get: function () { return
|
|
3170
|
+
get: function () { return chunkTKLALDY4_js.NodeContextMenu; }
|
|
3171
3171
|
});
|
|
3172
3172
|
Object.defineProperty(exports, "NoteFlowNode", {
|
|
3173
3173
|
enumerable: true,
|
|
3174
|
-
get: function () { return
|
|
3174
|
+
get: function () { return chunkTKLALDY4_js.NoteFlowNode; }
|
|
3175
3175
|
});
|
|
3176
3176
|
Object.defineProperty(exports, "OpenAIIcon", {
|
|
3177
3177
|
enumerable: true,
|
|
3178
|
-
get: function () { return
|
|
3178
|
+
get: function () { return chunkTKLALDY4_js.OpenAIIcon; }
|
|
3179
3179
|
});
|
|
3180
3180
|
Object.defineProperty(exports, "PanelContextMenu", {
|
|
3181
3181
|
enumerable: true,
|
|
3182
|
-
get: function () { return
|
|
3182
|
+
get: function () { return chunkTKLALDY4_js.PanelContextMenu; }
|
|
3183
3183
|
});
|
|
3184
3184
|
Object.defineProperty(exports, "ParameterExtractorFlowNode", {
|
|
3185
3185
|
enumerable: true,
|
|
3186
|
-
get: function () { return
|
|
3186
|
+
get: function () { return chunkTKLALDY4_js.ParameterExtractorFlowNode; }
|
|
3187
3187
|
});
|
|
3188
3188
|
Object.defineProperty(exports, "QuestionClassifierFlowNode", {
|
|
3189
3189
|
enumerable: true,
|
|
3190
|
-
get: function () { return
|
|
3190
|
+
get: function () { return chunkTKLALDY4_js.QuestionClassifierFlowNode; }
|
|
3191
3191
|
});
|
|
3192
3192
|
Object.defineProperty(exports, "RuleFlowNode", {
|
|
3193
3193
|
enumerable: true,
|
|
3194
|
-
get: function () { return
|
|
3194
|
+
get: function () { return chunkTKLALDY4_js.RuleFlowNode; }
|
|
3195
3195
|
});
|
|
3196
3196
|
Object.defineProperty(exports, "SelectionContextMenu", {
|
|
3197
3197
|
enumerable: true,
|
|
3198
|
-
get: function () { return
|
|
3198
|
+
get: function () { return chunkTKLALDY4_js.SelectionContextMenu; }
|
|
3199
3199
|
});
|
|
3200
3200
|
Object.defineProperty(exports, "StartFlowNode", {
|
|
3201
3201
|
enumerable: true,
|
|
3202
|
-
get: function () { return
|
|
3202
|
+
get: function () { return chunkTKLALDY4_js.StartFlowNode; }
|
|
3203
3203
|
});
|
|
3204
3204
|
Object.defineProperty(exports, "StrandsIcon", {
|
|
3205
3205
|
enumerable: true,
|
|
3206
|
-
get: function () { return
|
|
3206
|
+
get: function () { return chunkTKLALDY4_js.StrandsIcon; }
|
|
3207
3207
|
});
|
|
3208
3208
|
Object.defineProperty(exports, "TemplateTransformFlowNode", {
|
|
3209
3209
|
enumerable: true,
|
|
3210
|
-
get: function () { return
|
|
3210
|
+
get: function () { return chunkTKLALDY4_js.TemplateTransformFlowNode; }
|
|
3211
3211
|
});
|
|
3212
3212
|
Object.defineProperty(exports, "ToolFlowNode", {
|
|
3213
3213
|
enumerable: true,
|
|
3214
|
-
get: function () { return
|
|
3214
|
+
get: function () { return chunkTKLALDY4_js.ToolFlowNode; }
|
|
3215
3215
|
});
|
|
3216
3216
|
Object.defineProperty(exports, "VariableAggregatorFlowNode", {
|
|
3217
3217
|
enumerable: true,
|
|
3218
|
-
get: function () { return
|
|
3218
|
+
get: function () { return chunkTKLALDY4_js.VariableAggregatorFlowNode; }
|
|
3219
3219
|
});
|
|
3220
3220
|
Object.defineProperty(exports, "VariableAssignerFlowNode", {
|
|
3221
3221
|
enumerable: true,
|
|
3222
|
-
get: function () { return
|
|
3222
|
+
get: function () { return chunkTKLALDY4_js.VariableAssignerFlowNode; }
|
|
3223
3223
|
});
|
|
3224
3224
|
Object.defineProperty(exports, "WorkflowBuilderProvider", {
|
|
3225
3225
|
enumerable: true,
|
|
3226
|
-
get: function () { return
|
|
3226
|
+
get: function () { return chunkTKLALDY4_js.WorkflowBuilderProvider; }
|
|
3227
3227
|
});
|
|
3228
3228
|
Object.defineProperty(exports, "Workspace", {
|
|
3229
3229
|
enumerable: true,
|
|
3230
|
-
get: function () { return
|
|
3230
|
+
get: function () { return chunkTKLALDY4_js.Workspace; }
|
|
3231
3231
|
});
|
|
3232
3232
|
Object.defineProperty(exports, "getCompatibleModels", {
|
|
3233
3233
|
enumerable: true,
|
|
3234
|
-
get: function () { return
|
|
3234
|
+
get: function () { return chunkTKLALDY4_js.getCompatibleModels; }
|
|
3235
3235
|
});
|
|
3236
3236
|
Object.defineProperty(exports, "getDefaultFrameworkForModel", {
|
|
3237
3237
|
enumerable: true,
|
|
3238
|
-
get: function () { return
|
|
3238
|
+
get: function () { return chunkTKLALDY4_js.getDefaultFrameworkForModel; }
|
|
3239
3239
|
});
|
|
3240
3240
|
Object.defineProperty(exports, "getEntityBadgeColor", {
|
|
3241
3241
|
enumerable: true,
|
|
3242
|
-
get: function () { return
|
|
3242
|
+
get: function () { return chunkTKLALDY4_js.getEntityBadgeColor; }
|
|
3243
3243
|
});
|
|
3244
3244
|
Object.defineProperty(exports, "getEntityGradient", {
|
|
3245
3245
|
enumerable: true,
|
|
3246
|
-
get: function () { return
|
|
3246
|
+
get: function () { return chunkTKLALDY4_js.getEntityGradient; }
|
|
3247
3247
|
});
|
|
3248
3248
|
Object.defineProperty(exports, "getEntityHandleColor", {
|
|
3249
3249
|
enumerable: true,
|
|
3250
|
-
get: function () { return
|
|
3250
|
+
get: function () { return chunkTKLALDY4_js.getEntityHandleColor; }
|
|
3251
3251
|
});
|
|
3252
3252
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
3253
3253
|
enumerable: true,
|
|
3254
|
-
get: function () { return
|
|
3254
|
+
get: function () { return chunkTKLALDY4_js.getEntityIcon; }
|
|
3255
3255
|
});
|
|
3256
3256
|
Object.defineProperty(exports, "getEntityMinimapColor", {
|
|
3257
3257
|
enumerable: true,
|
|
3258
|
-
get: function () { return
|
|
3258
|
+
get: function () { return chunkTKLALDY4_js.getEntityMinimapColor; }
|
|
3259
3259
|
});
|
|
3260
3260
|
Object.defineProperty(exports, "getFrameworkMeta", {
|
|
3261
3261
|
enumerable: true,
|
|
3262
|
-
get: function () { return
|
|
3262
|
+
get: function () { return chunkTKLALDY4_js.getFrameworkMeta; }
|
|
3263
3263
|
});
|
|
3264
3264
|
Object.defineProperty(exports, "isModelCompatibleWithFramework", {
|
|
3265
3265
|
enumerable: true,
|
|
3266
|
-
get: function () { return
|
|
3266
|
+
get: function () { return chunkTKLALDY4_js.isModelCompatibleWithFramework; }
|
|
3267
3267
|
});
|
|
3268
3268
|
Object.defineProperty(exports, "useModalStore", {
|
|
3269
3269
|
enumerable: true,
|
|
3270
|
-
get: function () { return
|
|
3270
|
+
get: function () { return chunkTKLALDY4_js.useModalStore; }
|
|
3271
3271
|
});
|
|
3272
3272
|
Object.defineProperty(exports, "useWorkflowBuilderClient", {
|
|
3273
3273
|
enumerable: true,
|
|
3274
|
-
get: function () { return
|
|
3274
|
+
get: function () { return chunkTKLALDY4_js.useWorkflowBuilderClient; }
|
|
3275
3275
|
});
|
|
3276
3276
|
Object.defineProperty(exports, "useWorkflowBuilderClientOptional", {
|
|
3277
3277
|
enumerable: true,
|
|
3278
|
-
get: function () { return
|
|
3278
|
+
get: function () { return chunkTKLALDY4_js.useWorkflowBuilderClientOptional; }
|
|
3279
3279
|
});
|
|
3280
3280
|
Object.defineProperty(exports, "useWorkflowStore", {
|
|
3281
3281
|
enumerable: true,
|
|
3282
|
-
get: function () { return
|
|
3282
|
+
get: function () { return chunkTKLALDY4_js.useWorkflowStore; }
|
|
3283
3283
|
});
|
|
3284
3284
|
Object.defineProperty(exports, "GraphNodeBadge", {
|
|
3285
3285
|
enumerable: true,
|
package/dist/astrlabe/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import '../chunk-JB6RNAD2.mjs';
|
|
3
3
|
export { topologicalSortAgents, validateWorkflowGraph } from '../chunk-BLNXRUC4.mjs';
|
|
4
|
-
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 } from '../chunk-
|
|
5
|
-
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, 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, isModelCompatibleWithFramework, useModalStore, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore } from '../chunk-
|
|
4
|
+
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 } from '../chunk-76MHUX4T.mjs';
|
|
5
|
+
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, 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, isModelCompatibleWithFramework, useModalStore, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore } from '../chunk-76MHUX4T.mjs';
|
|
6
6
|
import { GlassModalShell, Button, FormInput, FormTextarea, GlassFormModal, Input, DynamicIslandConfirm } from '../chunk-46ZM5VJJ.mjs';
|
|
7
7
|
import '../chunk-QWG2FMUN.mjs';
|
|
8
8
|
import '../chunk-D2JF6C3E.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkTKLALDY4_js = require('../chunk-TKLALDY4.js');
|
|
5
5
|
require('../chunk-4XID6LOC.js');
|
|
6
6
|
require('../chunk-S7KHTUHA.js');
|
|
7
7
|
require('../chunk-UZ3CMNUJ.js');
|
|
@@ -13,7 +13,7 @@ require('../chunk-YXN2K77G.js');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "Workspace", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkTKLALDY4_js.Workspace; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=workflow-canvas.js.map
|
|
19
19
|
//# sourceMappingURL=workflow-canvas.js.map
|