@datatechsolutions/ui 2.11.16 → 2.11.17
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 +102 -102
- 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-4B47R7VI.mjs → chunk-57OBMWRA.mjs} +14 -14
- package/dist/chunk-57OBMWRA.mjs.map +1 -0
- package/dist/{chunk-2JK7GQYA.js → chunk-PNN6KWXQ.js} +14 -14
- package/dist/chunk-PNN6KWXQ.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-2JK7GQYA.js.map +0 -1
- package/dist/chunk-4B47R7VI.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 chunkPNN6KWXQ_js = require('../chunk-PNN6KWXQ.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 = chunkPNN6KWXQ_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(chunkPNN6KWXQ_js.FRAMEWORK_META);
|
|
379
|
+
const compatibleModels = chunkPNN6KWXQ_js.getCompatibleModels(models, selectedFramework);
|
|
380
380
|
const handleFrameworkChange = react.useCallback((newFramework) => {
|
|
381
381
|
setSelectedFramework(newFramework);
|
|
382
|
-
if (!
|
|
383
|
-
const compatible =
|
|
382
|
+
if (!chunkPNN6KWXQ_js.isModelCompatibleWithFramework(selectedModelId, newFramework)) {
|
|
383
|
+
const compatible = chunkPNN6KWXQ_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 = chunkPNN6KWXQ_js.FRAMEWORK_META[key];
|
|
395
395
|
const isSelected = key === selectedFramework;
|
|
396
|
-
const compatCount =
|
|
396
|
+
const compatCount = chunkPNN6KWXQ_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 = chunkPNN6KWXQ_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 = chunkPNN6KWXQ_js.useWorkflowStore((state) => state.nodeResults);
|
|
524
524
|
const agentResult = react.useMemo(() => {
|
|
525
525
|
return nodeResults[agentId] ?? null;
|
|
526
526
|
}, [nodeResults, agentId]);
|
|
@@ -634,7 +634,7 @@ function ToolsTab({ agentTools, enabledToolIds, onToggle, agentFramework, t }) {
|
|
|
634
634
|
] }),
|
|
635
635
|
tool.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-[10px] text-gray-400 dark:text-gray-500", children: tool.description }),
|
|
636
636
|
tool.compatibleFrameworks && tool.compatibleFrameworks.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1 flex flex-wrap gap-0.5", children: tool.compatibleFrameworks.map((framework) => {
|
|
637
|
-
const meta =
|
|
637
|
+
const meta = chunkPNN6KWXQ_js.getFrameworkMeta(framework);
|
|
638
638
|
const isCurrentFw = framework === agentFramework;
|
|
639
639
|
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: [
|
|
640
640
|
/* @__PURE__ */ jsxRuntime.jsx(meta.IconComponent, { className: "h-2.5 w-2.5" }),
|
|
@@ -652,9 +652,9 @@ function ToolsTab({ agentTools, enabledToolIds, onToggle, agentFramework, t }) {
|
|
|
652
652
|
}
|
|
653
653
|
function AgentModal({ onSaved }) {
|
|
654
654
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
655
|
-
const activeModal =
|
|
656
|
-
const agentData =
|
|
657
|
-
const closeModal =
|
|
655
|
+
const activeModal = chunkPNN6KWXQ_js.useModalStore((s) => s.activeModal);
|
|
656
|
+
const agentData = chunkPNN6KWXQ_js.useModalStore((s) => s.agentData);
|
|
657
|
+
const closeModal = chunkPNN6KWXQ_js.useModalStore((s) => s.closeModal);
|
|
658
658
|
const open = activeModal === "agent";
|
|
659
659
|
const agent = agentData?.agent ?? null;
|
|
660
660
|
const models = agentData?.models ?? [];
|
|
@@ -874,7 +874,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
874
874
|
const markDirty = useSubworkflowStore((s) => s.markDirty);
|
|
875
875
|
const markSaved = useSubworkflowStore((s) => s.markSaved);
|
|
876
876
|
const closeModal = useSubworkflowStore((s) => s.closeModal);
|
|
877
|
-
const agentBehind =
|
|
877
|
+
const agentBehind = chunkPNN6KWXQ_js.useModalStore((s) => s.activeModal === "agent" ? s.agentData?.agent?.name : null);
|
|
878
878
|
const isCreateMode = !tool?.toolId;
|
|
879
879
|
const initialGraph = react.useMemo(() => {
|
|
880
880
|
const config = tool?.config;
|
|
@@ -903,9 +903,9 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
903
903
|
}, [tool, onSaved, name, category, description, timeoutMs, latestGraphRef, markSaved]);
|
|
904
904
|
if (!tool) return null;
|
|
905
905
|
const categoryKey = category ?? "external";
|
|
906
|
-
const gradient = tool.color ??
|
|
907
|
-
const categoryPill =
|
|
908
|
-
const IconComponent =
|
|
906
|
+
const gradient = tool.color ?? chunkPNN6KWXQ_js.CATEGORY_COLORS[categoryKey] ?? chunkPNN6KWXQ_js.CATEGORY_COLORS.external;
|
|
907
|
+
const categoryPill = chunkPNN6KWXQ_js.CATEGORY_PILL_COLORS[categoryKey] ?? chunkPNN6KWXQ_js.CATEGORY_PILL_COLORS.external;
|
|
908
|
+
const IconComponent = chunkPNN6KWXQ_js.ICON_MAP[tool.icon ?? ""] ?? outline.ArrowPathRoundedSquareIcon;
|
|
909
909
|
const graph = latestGraphRef.current;
|
|
910
910
|
const startNode = graph.nodes.find((n) => n.type === "start");
|
|
911
911
|
const endNode = graph.nodes.find((n) => n.type === "end");
|
|
@@ -970,7 +970,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
970
970
|
{
|
|
971
971
|
type: "button",
|
|
972
972
|
onClick: () => setCategory(cat),
|
|
973
|
-
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${
|
|
973
|
+
className: `rounded-full px-2 py-1 text-[9px] font-semibold transition-all ${cat === category ? `${chunkPNN6KWXQ_js.CATEGORY_PILL_COLORS[cat] ?? chunkPNN6KWXQ_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"}`,
|
|
974
974
|
children: cat
|
|
975
975
|
},
|
|
976
976
|
cat
|
|
@@ -1057,7 +1057,7 @@ function SubworkflowModal({ onSaved, onMaximize }) {
|
|
|
1057
1057
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-auto" })
|
|
1058
1058
|
] }),
|
|
1059
1059
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1060
|
-
|
|
1060
|
+
chunkPNN6KWXQ_js.WorkflowCanvas,
|
|
1061
1061
|
{
|
|
1062
1062
|
initialGraph,
|
|
1063
1063
|
agents: [],
|
|
@@ -1115,9 +1115,9 @@ function WorkspaceModal({
|
|
|
1115
1115
|
}
|
|
1116
1116
|
function PipelineSettingsModal({ onSave }) {
|
|
1117
1117
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow");
|
|
1118
|
-
const activeModal =
|
|
1119
|
-
const data =
|
|
1120
|
-
const closeModal =
|
|
1118
|
+
const activeModal = chunkPNN6KWXQ_js.useModalStore((s) => s.activeModal);
|
|
1119
|
+
const data = chunkPNN6KWXQ_js.useModalStore((s) => s.pipelineSettingsData);
|
|
1120
|
+
const closeModal = chunkPNN6KWXQ_js.useModalStore((s) => s.closeModal);
|
|
1121
1121
|
const open = activeModal === "pipeline-settings";
|
|
1122
1122
|
const [nameValue, setNameValue] = react.useState("");
|
|
1123
1123
|
const [descriptionValue, setDescriptionValue] = react.useState("");
|
|
@@ -1326,8 +1326,8 @@ function CollapsibleSection({ title, icon, colorClass, defaultOpen = true, count
|
|
|
1326
1326
|
] });
|
|
1327
1327
|
}
|
|
1328
1328
|
function LogicNodeItemCard({ item, translationFunction }) {
|
|
1329
|
-
const IconComponent =
|
|
1330
|
-
const gradient =
|
|
1329
|
+
const IconComponent = chunkPNN6KWXQ_js.LOGIC_ICON_MAP[item.nodeType];
|
|
1330
|
+
const gradient = chunkPNN6KWXQ_js.LOGIC_NODE_GRADIENTS[item.nodeType] ?? "from-gray-400 to-gray-500";
|
|
1331
1331
|
const defaultConfig = chunkPWBWP5FJ_js.createDefaultLogicNodeConfig(item.nodeType);
|
|
1332
1332
|
const configJson = defaultConfig ? JSON.stringify(defaultConfig) : void 0;
|
|
1333
1333
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1548,8 +1548,8 @@ function NodePalette({ agents, tools, agentTools = [], rules, entities = [], mod
|
|
|
1548
1548
|
limit: entity.defaultLimit
|
|
1549
1549
|
});
|
|
1550
1550
|
const dsLogo = getDatasourceLogo(entity.id);
|
|
1551
|
-
const EntityIcon =
|
|
1552
|
-
const entityGradient =
|
|
1551
|
+
const EntityIcon = chunkPNN6KWXQ_js.getEntityIcon(entity.id);
|
|
1552
|
+
const entityGradient = chunkPNN6KWXQ_js.getEntityGradient(entity.id);
|
|
1553
1553
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1554
1554
|
"div",
|
|
1555
1555
|
{
|
|
@@ -1931,9 +1931,9 @@ function formatDuration2(durationMs) {
|
|
|
1931
1931
|
}
|
|
1932
1932
|
function RunPanel({ open, onClose, onRun, onStop }) {
|
|
1933
1933
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.runPanel");
|
|
1934
|
-
const nodes =
|
|
1935
|
-
const isRunning =
|
|
1936
|
-
const nodeResults =
|
|
1934
|
+
const nodes = chunkPNN6KWXQ_js.useWorkflowStore((state) => state.nodes);
|
|
1935
|
+
const isRunning = chunkPNN6KWXQ_js.useWorkflowStore((state) => state.isRunning);
|
|
1936
|
+
const nodeResults = chunkPNN6KWXQ_js.useWorkflowStore((state) => state.nodeResults);
|
|
1937
1937
|
const startNode = nodes.find((node) => node.type === "start");
|
|
1938
1938
|
const hasEndNode = nodes.some((node) => node.type === "end");
|
|
1939
1939
|
const hasValidStartConfig = Boolean(
|
|
@@ -2218,8 +2218,8 @@ function inferVariables(config, nodeType) {
|
|
|
2218
2218
|
}
|
|
2219
2219
|
function VariableInspector({ open, onClose }) {
|
|
2220
2220
|
const translations = chunkYXN2K77G_js.useTranslations("agents.workflow.variableInspector");
|
|
2221
|
-
const nodes =
|
|
2222
|
-
const edges =
|
|
2221
|
+
const nodes = chunkPNN6KWXQ_js.useWorkflowStore((state) => state.nodes);
|
|
2222
|
+
const edges = chunkPNN6KWXQ_js.useWorkflowStore((state) => state.edges);
|
|
2223
2223
|
const [expandedNodes, setExpandedNodes] = react.useState(/* @__PURE__ */ new Set());
|
|
2224
2224
|
const toggleNodeExpansion = react.useCallback((nodeId) => {
|
|
2225
2225
|
setExpandedNodes((current) => {
|
|
@@ -2281,8 +2281,8 @@ function VariableInspector({ open, onClose }) {
|
|
|
2281
2281
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-2 text-sm text-gray-500 dark:text-gray-400", children: translations("noNodes") })
|
|
2282
2282
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "divide-y divide-gray-100 dark:divide-gray-800", children: nodeVariableEntries.map((entry) => {
|
|
2283
2283
|
const isExpanded = expandedNodes.has(entry.nodeId);
|
|
2284
|
-
const IconComponent =
|
|
2285
|
-
const gradient =
|
|
2284
|
+
const IconComponent = chunkPNN6KWXQ_js.LOGIC_ICON_MAP[entry.nodeType];
|
|
2285
|
+
const gradient = chunkPNN6KWXQ_js.LOGIC_NODE_GRADIENTS[entry.nodeType] ?? "from-gray-400 to-gray-500";
|
|
2286
2286
|
const inputVariables = entry.variables.filter((variable) => variable.direction === "input");
|
|
2287
2287
|
const outputVariables = entry.variables.filter((variable) => variable.direction === "output");
|
|
2288
2288
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": `variable-node-${entry.nodeId}`, children: [
|
|
@@ -2348,7 +2348,7 @@ function RunInputDialog({
|
|
|
2348
2348
|
onRun
|
|
2349
2349
|
}) {
|
|
2350
2350
|
const t = chunkYXN2K77G_js.useTranslations("agents.workflow.runInputDialog");
|
|
2351
|
-
const nodes =
|
|
2351
|
+
const nodes = chunkPNN6KWXQ_js.useWorkflowStore((state) => state.nodes);
|
|
2352
2352
|
const [values, setValues] = react.useState({});
|
|
2353
2353
|
const inputVariableNames = react.useMemo(() => {
|
|
2354
2354
|
const storeStartNode = nodes.find((node) => node.type === "start");
|
|
@@ -2430,8 +2430,8 @@ function PreviewPanel({ open, onClose, workflowId, loadRuns }) {
|
|
|
2430
2430
|
const [isLoadingRuns, setIsLoadingRuns] = react.useState(false);
|
|
2431
2431
|
const [selectedRun, setSelectedRun] = react.useState(null);
|
|
2432
2432
|
const [selectedNode, setSelectedNode] = react.useState(null);
|
|
2433
|
-
const isRunning =
|
|
2434
|
-
const nodeResults =
|
|
2433
|
+
const isRunning = chunkPNN6KWXQ_js.useWorkflowStore((state) => state.isRunning);
|
|
2434
|
+
const nodeResults = chunkPNN6KWXQ_js.useWorkflowStore((state) => state.nodeResults);
|
|
2435
2435
|
const refreshRuns = react.useCallback(async () => {
|
|
2436
2436
|
setIsLoadingRuns(true);
|
|
2437
2437
|
try {
|
|
@@ -2587,7 +2587,7 @@ var AutoSaveWorkspace = react.memo(function AutoSaveWorkspace2({
|
|
|
2587
2587
|
onAutoSaveGraph(graph);
|
|
2588
2588
|
}, [onAutoSaveGraph, onGraphSnapshot]);
|
|
2589
2589
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2590
|
-
|
|
2590
|
+
chunkPNN6KWXQ_js.Workspace,
|
|
2591
2591
|
{
|
|
2592
2592
|
...workspaceProps,
|
|
2593
2593
|
onGraphChange: handleGraphChange
|
|
@@ -2960,14 +2960,14 @@ function DslImportModal({ open, onClose, onImport }) {
|
|
|
2960
2960
|
}
|
|
2961
2961
|
|
|
2962
2962
|
// src/astrlabe/store/selectors.ts
|
|
2963
|
-
var useCanUndo = () =>
|
|
2964
|
-
var useCanRedo = () =>
|
|
2965
|
-
var useHasCopied = () =>
|
|
2966
|
-
var useContextMenu = () =>
|
|
2967
|
-
var useEditingNodeId = () =>
|
|
2968
|
-
var useSelectedNodeCount = () =>
|
|
2969
|
-
var useIsRunning = () =>
|
|
2970
|
-
var useNodeResults = () =>
|
|
2963
|
+
var useCanUndo = () => chunkPNN6KWXQ_js.useWorkflowStore((state) => state.past.length > 0);
|
|
2964
|
+
var useCanRedo = () => chunkPNN6KWXQ_js.useWorkflowStore((state) => state.future.length > 0);
|
|
2965
|
+
var useHasCopied = () => chunkPNN6KWXQ_js.useWorkflowStore((state) => state.clipboard !== null);
|
|
2966
|
+
var useContextMenu = () => chunkPNN6KWXQ_js.useWorkflowStore((state) => state.contextMenu);
|
|
2967
|
+
var useEditingNodeId = () => chunkPNN6KWXQ_js.useWorkflowStore((state) => state.editingNodeId);
|
|
2968
|
+
var useSelectedNodeCount = () => chunkPNN6KWXQ_js.useWorkflowStore((state) => state.nodes.filter((node) => node.selected).length);
|
|
2969
|
+
var useIsRunning = () => chunkPNN6KWXQ_js.useWorkflowStore((state) => state.isRunning);
|
|
2970
|
+
var useNodeResults = () => chunkPNN6KWXQ_js.useWorkflowStore((state) => state.nodeResults);
|
|
2971
2971
|
var DEFAULT_MAX_HISTORY = 50;
|
|
2972
2972
|
function useUndoRedo(nodes, edges, setNodes, setEdges, maxHistory = DEFAULT_MAX_HISTORY) {
|
|
2973
2973
|
const pastRef = react.useRef([]);
|
|
@@ -3255,227 +3255,227 @@ Object.defineProperty(exports, "validateWorkflowGraph", {
|
|
|
3255
3255
|
});
|
|
3256
3256
|
Object.defineProperty(exports, "AgentFlowNode", {
|
|
3257
3257
|
enumerable: true,
|
|
3258
|
-
get: function () { return
|
|
3258
|
+
get: function () { return chunkPNN6KWXQ_js.AgentFlowNode; }
|
|
3259
3259
|
});
|
|
3260
3260
|
Object.defineProperty(exports, "AgentToolFlowNode", {
|
|
3261
3261
|
enumerable: true,
|
|
3262
|
-
get: function () { return
|
|
3262
|
+
get: function () { return chunkPNN6KWXQ_js.AgentToolFlowNode; }
|
|
3263
3263
|
});
|
|
3264
3264
|
Object.defineProperty(exports, "AnswerFlowNode", {
|
|
3265
3265
|
enumerable: true,
|
|
3266
|
-
get: function () { return
|
|
3266
|
+
get: function () { return chunkPNN6KWXQ_js.AnswerFlowNode; }
|
|
3267
3267
|
});
|
|
3268
3268
|
Object.defineProperty(exports, "AnthropicIcon", {
|
|
3269
3269
|
enumerable: true,
|
|
3270
|
-
get: function () { return
|
|
3270
|
+
get: function () { return chunkPNN6KWXQ_js.AnthropicIcon; }
|
|
3271
3271
|
});
|
|
3272
3272
|
Object.defineProperty(exports, "CodeFlowNode", {
|
|
3273
3273
|
enumerable: true,
|
|
3274
|
-
get: function () { return
|
|
3274
|
+
get: function () { return chunkPNN6KWXQ_js.CodeFlowNode; }
|
|
3275
3275
|
});
|
|
3276
3276
|
Object.defineProperty(exports, "CrewAIIcon", {
|
|
3277
3277
|
enumerable: true,
|
|
3278
|
-
get: function () { return
|
|
3278
|
+
get: function () { return chunkPNN6KWXQ_js.CrewAIIcon; }
|
|
3279
3279
|
});
|
|
3280
3280
|
Object.defineProperty(exports, "DocumentExtractorFlowNode", {
|
|
3281
3281
|
enumerable: true,
|
|
3282
|
-
get: function () { return
|
|
3282
|
+
get: function () { return chunkPNN6KWXQ_js.DocumentExtractorFlowNode; }
|
|
3283
3283
|
});
|
|
3284
3284
|
Object.defineProperty(exports, "EndFlowNode", {
|
|
3285
3285
|
enumerable: true,
|
|
3286
|
-
get: function () { return
|
|
3286
|
+
get: function () { return chunkPNN6KWXQ_js.EndFlowNode; }
|
|
3287
3287
|
});
|
|
3288
3288
|
Object.defineProperty(exports, "EntityFlowNode", {
|
|
3289
3289
|
enumerable: true,
|
|
3290
|
-
get: function () { return
|
|
3290
|
+
get: function () { return chunkPNN6KWXQ_js.EntityFlowNode; }
|
|
3291
3291
|
});
|
|
3292
3292
|
Object.defineProperty(exports, "FRAMEWORK_META", {
|
|
3293
3293
|
enumerable: true,
|
|
3294
|
-
get: function () { return
|
|
3294
|
+
get: function () { return chunkPNN6KWXQ_js.FRAMEWORK_META; }
|
|
3295
3295
|
});
|
|
3296
3296
|
Object.defineProperty(exports, "GoogleADKIcon", {
|
|
3297
3297
|
enumerable: true,
|
|
3298
|
-
get: function () { return
|
|
3298
|
+
get: function () { return chunkPNN6KWXQ_js.GoogleADKIcon; }
|
|
3299
3299
|
});
|
|
3300
3300
|
Object.defineProperty(exports, "GroupFlowNode", {
|
|
3301
3301
|
enumerable: true,
|
|
3302
|
-
get: function () { return
|
|
3302
|
+
get: function () { return chunkPNN6KWXQ_js.GroupFlowNode; }
|
|
3303
3303
|
});
|
|
3304
3304
|
Object.defineProperty(exports, "HttpRequestFlowNode", {
|
|
3305
3305
|
enumerable: true,
|
|
3306
|
-
get: function () { return
|
|
3306
|
+
get: function () { return chunkPNN6KWXQ_js.HttpRequestFlowNode; }
|
|
3307
3307
|
});
|
|
3308
3308
|
Object.defineProperty(exports, "IfElseFlowNode", {
|
|
3309
3309
|
enumerable: true,
|
|
3310
|
-
get: function () { return
|
|
3310
|
+
get: function () { return chunkPNN6KWXQ_js.IfElseFlowNode; }
|
|
3311
3311
|
});
|
|
3312
3312
|
Object.defineProperty(exports, "IterationFlowNode", {
|
|
3313
3313
|
enumerable: true,
|
|
3314
|
-
get: function () { return
|
|
3314
|
+
get: function () { return chunkPNN6KWXQ_js.IterationFlowNode; }
|
|
3315
3315
|
});
|
|
3316
3316
|
Object.defineProperty(exports, "IterationStartFlowNode", {
|
|
3317
3317
|
enumerable: true,
|
|
3318
|
-
get: function () { return
|
|
3318
|
+
get: function () { return chunkPNN6KWXQ_js.IterationStartFlowNode; }
|
|
3319
3319
|
});
|
|
3320
3320
|
Object.defineProperty(exports, "KnowledgeBaseFlowNode", {
|
|
3321
3321
|
enumerable: true,
|
|
3322
|
-
get: function () { return
|
|
3322
|
+
get: function () { return chunkPNN6KWXQ_js.KnowledgeBaseFlowNode; }
|
|
3323
3323
|
});
|
|
3324
3324
|
Object.defineProperty(exports, "LOGIC_ICON_MAP", {
|
|
3325
3325
|
enumerable: true,
|
|
3326
|
-
get: function () { return
|
|
3326
|
+
get: function () { return chunkPNN6KWXQ_js.LOGIC_ICON_MAP; }
|
|
3327
3327
|
});
|
|
3328
3328
|
Object.defineProperty(exports, "LOGIC_NODE_BADGE_COLORS", {
|
|
3329
3329
|
enumerable: true,
|
|
3330
|
-
get: function () { return
|
|
3330
|
+
get: function () { return chunkPNN6KWXQ_js.LOGIC_NODE_BADGE_COLORS; }
|
|
3331
3331
|
});
|
|
3332
3332
|
Object.defineProperty(exports, "LOGIC_NODE_GRADIENTS", {
|
|
3333
3333
|
enumerable: true,
|
|
3334
|
-
get: function () { return
|
|
3334
|
+
get: function () { return chunkPNN6KWXQ_js.LOGIC_NODE_GRADIENTS; }
|
|
3335
3335
|
});
|
|
3336
3336
|
Object.defineProperty(exports, "LOGIC_NODE_HANDLE_COLORS", {
|
|
3337
3337
|
enumerable: true,
|
|
3338
|
-
get: function () { return
|
|
3338
|
+
get: function () { return chunkPNN6KWXQ_js.LOGIC_NODE_HANDLE_COLORS; }
|
|
3339
3339
|
});
|
|
3340
3340
|
Object.defineProperty(exports, "LangChainIcon", {
|
|
3341
3341
|
enumerable: true,
|
|
3342
|
-
get: function () { return
|
|
3342
|
+
get: function () { return chunkPNN6KWXQ_js.LangChainIcon; }
|
|
3343
3343
|
});
|
|
3344
3344
|
Object.defineProperty(exports, "ListOperatorFlowNode", {
|
|
3345
3345
|
enumerable: true,
|
|
3346
|
-
get: function () { return
|
|
3346
|
+
get: function () { return chunkPNN6KWXQ_js.ListOperatorFlowNode; }
|
|
3347
3347
|
});
|
|
3348
3348
|
Object.defineProperty(exports, "LogicNodeModal", {
|
|
3349
3349
|
enumerable: true,
|
|
3350
|
-
get: function () { return
|
|
3350
|
+
get: function () { return chunkPNN6KWXQ_js.LogicNodeModal; }
|
|
3351
3351
|
});
|
|
3352
3352
|
Object.defineProperty(exports, "MINIMAP_NODE_COLORS", {
|
|
3353
3353
|
enumerable: true,
|
|
3354
|
-
get: function () { return
|
|
3354
|
+
get: function () { return chunkPNN6KWXQ_js.MINIMAP_NODE_COLORS; }
|
|
3355
3355
|
});
|
|
3356
3356
|
Object.defineProperty(exports, "ModelProviderFlowNode", {
|
|
3357
3357
|
enumerable: true,
|
|
3358
|
-
get: function () { return
|
|
3358
|
+
get: function () { return chunkPNN6KWXQ_js.ModelProviderFlowNode; }
|
|
3359
3359
|
});
|
|
3360
3360
|
Object.defineProperty(exports, "NodeCard", {
|
|
3361
3361
|
enumerable: true,
|
|
3362
|
-
get: function () { return
|
|
3362
|
+
get: function () { return chunkPNN6KWXQ_js.NodeCard; }
|
|
3363
3363
|
});
|
|
3364
3364
|
Object.defineProperty(exports, "NodeContextMenu", {
|
|
3365
3365
|
enumerable: true,
|
|
3366
|
-
get: function () { return
|
|
3366
|
+
get: function () { return chunkPNN6KWXQ_js.NodeContextMenu; }
|
|
3367
3367
|
});
|
|
3368
3368
|
Object.defineProperty(exports, "NoteFlowNode", {
|
|
3369
3369
|
enumerable: true,
|
|
3370
|
-
get: function () { return
|
|
3370
|
+
get: function () { return chunkPNN6KWXQ_js.NoteFlowNode; }
|
|
3371
3371
|
});
|
|
3372
3372
|
Object.defineProperty(exports, "OpenAIIcon", {
|
|
3373
3373
|
enumerable: true,
|
|
3374
|
-
get: function () { return
|
|
3374
|
+
get: function () { return chunkPNN6KWXQ_js.OpenAIIcon; }
|
|
3375
3375
|
});
|
|
3376
3376
|
Object.defineProperty(exports, "PanelContextMenu", {
|
|
3377
3377
|
enumerable: true,
|
|
3378
|
-
get: function () { return
|
|
3378
|
+
get: function () { return chunkPNN6KWXQ_js.PanelContextMenu; }
|
|
3379
3379
|
});
|
|
3380
3380
|
Object.defineProperty(exports, "ParameterExtractorFlowNode", {
|
|
3381
3381
|
enumerable: true,
|
|
3382
|
-
get: function () { return
|
|
3382
|
+
get: function () { return chunkPNN6KWXQ_js.ParameterExtractorFlowNode; }
|
|
3383
3383
|
});
|
|
3384
3384
|
Object.defineProperty(exports, "QuestionClassifierFlowNode", {
|
|
3385
3385
|
enumerable: true,
|
|
3386
|
-
get: function () { return
|
|
3386
|
+
get: function () { return chunkPNN6KWXQ_js.QuestionClassifierFlowNode; }
|
|
3387
3387
|
});
|
|
3388
3388
|
Object.defineProperty(exports, "RuleFlowNode", {
|
|
3389
3389
|
enumerable: true,
|
|
3390
|
-
get: function () { return
|
|
3390
|
+
get: function () { return chunkPNN6KWXQ_js.RuleFlowNode; }
|
|
3391
3391
|
});
|
|
3392
3392
|
Object.defineProperty(exports, "SelectionContextMenu", {
|
|
3393
3393
|
enumerable: true,
|
|
3394
|
-
get: function () { return
|
|
3394
|
+
get: function () { return chunkPNN6KWXQ_js.SelectionContextMenu; }
|
|
3395
3395
|
});
|
|
3396
3396
|
Object.defineProperty(exports, "StartFlowNode", {
|
|
3397
3397
|
enumerable: true,
|
|
3398
|
-
get: function () { return
|
|
3398
|
+
get: function () { return chunkPNN6KWXQ_js.StartFlowNode; }
|
|
3399
3399
|
});
|
|
3400
3400
|
Object.defineProperty(exports, "StrandsIcon", {
|
|
3401
3401
|
enumerable: true,
|
|
3402
|
-
get: function () { return
|
|
3402
|
+
get: function () { return chunkPNN6KWXQ_js.StrandsIcon; }
|
|
3403
3403
|
});
|
|
3404
3404
|
Object.defineProperty(exports, "TemplateTransformFlowNode", {
|
|
3405
3405
|
enumerable: true,
|
|
3406
|
-
get: function () { return
|
|
3406
|
+
get: function () { return chunkPNN6KWXQ_js.TemplateTransformFlowNode; }
|
|
3407
3407
|
});
|
|
3408
3408
|
Object.defineProperty(exports, "ToolFlowNode", {
|
|
3409
3409
|
enumerable: true,
|
|
3410
|
-
get: function () { return
|
|
3410
|
+
get: function () { return chunkPNN6KWXQ_js.ToolFlowNode; }
|
|
3411
3411
|
});
|
|
3412
3412
|
Object.defineProperty(exports, "VariableAggregatorFlowNode", {
|
|
3413
3413
|
enumerable: true,
|
|
3414
|
-
get: function () { return
|
|
3414
|
+
get: function () { return chunkPNN6KWXQ_js.VariableAggregatorFlowNode; }
|
|
3415
3415
|
});
|
|
3416
3416
|
Object.defineProperty(exports, "VariableAssignerFlowNode", {
|
|
3417
3417
|
enumerable: true,
|
|
3418
|
-
get: function () { return
|
|
3418
|
+
get: function () { return chunkPNN6KWXQ_js.VariableAssignerFlowNode; }
|
|
3419
3419
|
});
|
|
3420
3420
|
Object.defineProperty(exports, "WorkflowBuilderProvider", {
|
|
3421
3421
|
enumerable: true,
|
|
3422
|
-
get: function () { return
|
|
3422
|
+
get: function () { return chunkPNN6KWXQ_js.WorkflowBuilderProvider; }
|
|
3423
3423
|
});
|
|
3424
3424
|
Object.defineProperty(exports, "Workspace", {
|
|
3425
3425
|
enumerable: true,
|
|
3426
|
-
get: function () { return
|
|
3426
|
+
get: function () { return chunkPNN6KWXQ_js.Workspace; }
|
|
3427
3427
|
});
|
|
3428
3428
|
Object.defineProperty(exports, "getCompatibleModels", {
|
|
3429
3429
|
enumerable: true,
|
|
3430
|
-
get: function () { return
|
|
3430
|
+
get: function () { return chunkPNN6KWXQ_js.getCompatibleModels; }
|
|
3431
3431
|
});
|
|
3432
3432
|
Object.defineProperty(exports, "getDefaultFrameworkForModel", {
|
|
3433
3433
|
enumerable: true,
|
|
3434
|
-
get: function () { return
|
|
3434
|
+
get: function () { return chunkPNN6KWXQ_js.getDefaultFrameworkForModel; }
|
|
3435
3435
|
});
|
|
3436
3436
|
Object.defineProperty(exports, "getEntityBadgeColor", {
|
|
3437
3437
|
enumerable: true,
|
|
3438
|
-
get: function () { return
|
|
3438
|
+
get: function () { return chunkPNN6KWXQ_js.getEntityBadgeColor; }
|
|
3439
3439
|
});
|
|
3440
3440
|
Object.defineProperty(exports, "getEntityGradient", {
|
|
3441
3441
|
enumerable: true,
|
|
3442
|
-
get: function () { return
|
|
3442
|
+
get: function () { return chunkPNN6KWXQ_js.getEntityGradient; }
|
|
3443
3443
|
});
|
|
3444
3444
|
Object.defineProperty(exports, "getEntityHandleColor", {
|
|
3445
3445
|
enumerable: true,
|
|
3446
|
-
get: function () { return
|
|
3446
|
+
get: function () { return chunkPNN6KWXQ_js.getEntityHandleColor; }
|
|
3447
3447
|
});
|
|
3448
3448
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
3449
3449
|
enumerable: true,
|
|
3450
|
-
get: function () { return
|
|
3450
|
+
get: function () { return chunkPNN6KWXQ_js.getEntityIcon; }
|
|
3451
3451
|
});
|
|
3452
3452
|
Object.defineProperty(exports, "getEntityMinimapColor", {
|
|
3453
3453
|
enumerable: true,
|
|
3454
|
-
get: function () { return
|
|
3454
|
+
get: function () { return chunkPNN6KWXQ_js.getEntityMinimapColor; }
|
|
3455
3455
|
});
|
|
3456
3456
|
Object.defineProperty(exports, "getFrameworkMeta", {
|
|
3457
3457
|
enumerable: true,
|
|
3458
|
-
get: function () { return
|
|
3458
|
+
get: function () { return chunkPNN6KWXQ_js.getFrameworkMeta; }
|
|
3459
3459
|
});
|
|
3460
3460
|
Object.defineProperty(exports, "isModelCompatibleWithFramework", {
|
|
3461
3461
|
enumerable: true,
|
|
3462
|
-
get: function () { return
|
|
3462
|
+
get: function () { return chunkPNN6KWXQ_js.isModelCompatibleWithFramework; }
|
|
3463
3463
|
});
|
|
3464
3464
|
Object.defineProperty(exports, "useModalStore", {
|
|
3465
3465
|
enumerable: true,
|
|
3466
|
-
get: function () { return
|
|
3466
|
+
get: function () { return chunkPNN6KWXQ_js.useModalStore; }
|
|
3467
3467
|
});
|
|
3468
3468
|
Object.defineProperty(exports, "useWorkflowBuilderClient", {
|
|
3469
3469
|
enumerable: true,
|
|
3470
|
-
get: function () { return
|
|
3470
|
+
get: function () { return chunkPNN6KWXQ_js.useWorkflowBuilderClient; }
|
|
3471
3471
|
});
|
|
3472
3472
|
Object.defineProperty(exports, "useWorkflowBuilderClientOptional", {
|
|
3473
3473
|
enumerable: true,
|
|
3474
|
-
get: function () { return
|
|
3474
|
+
get: function () { return chunkPNN6KWXQ_js.useWorkflowBuilderClientOptional; }
|
|
3475
3475
|
});
|
|
3476
3476
|
Object.defineProperty(exports, "useWorkflowStore", {
|
|
3477
3477
|
enumerable: true,
|
|
3478
|
-
get: function () { return
|
|
3478
|
+
get: function () { return chunkPNN6KWXQ_js.useWorkflowStore; }
|
|
3479
3479
|
});
|
|
3480
3480
|
Object.defineProperty(exports, "GraphNodeBadge", {
|
|
3481
3481
|
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, ModelProviderFlowNode, 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-57OBMWRA.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, ModelProviderFlowNode, 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-57OBMWRA.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 chunkPNN6KWXQ_js = require('../chunk-PNN6KWXQ.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 chunkPNN6KWXQ_js.Workspace; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=workflow-canvas.js.map
|
|
19
19
|
//# sourceMappingURL=workflow-canvas.js.map
|