@datatechsolutions/ui 2.11.13 → 2.11.14

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.
@@ -5629,9 +5629,11 @@ function WorkflowCanvasInner({
5629
5629
  agent,
5630
5630
  order: agent.order ?? 0,
5631
5631
  selected: selectedAgentId === savedNode.id,
5632
+ agentTools: agentTools.map((at) => ({ id: at.agentToolId, name: at.name, category: at.category, enabled: at.enabled })),
5633
+ providerName: models.find((m) => m.id === agent.modelId)?.provider,
5632
5634
  onSelect: () => {
5633
5635
  setSelectedAgentId(agent.agentId);
5634
- openAgentModalAction(agent, models);
5636
+ openAgentModalAction(agent, models, false, agentTools);
5635
5637
  },
5636
5638
  onRemoveFromCanvas: handleRemoveNodeFromCanvas
5637
5639
  }
@@ -5982,7 +5984,7 @@ function WorkflowCanvasInner({
5982
5984
  const agent = targetNode.data?.agent;
5983
5985
  if (agent) {
5984
5986
  setSelectedAgentId(agent.agentId ?? agent.id ?? null);
5985
- openAgentModalAction(agent, models);
5987
+ openAgentModalAction(agent, models, false, agentTools);
5986
5988
  }
5987
5989
  } else if (targetNode.type === "tool") {
5988
5990
  const tool = targetNode.data?.tool;
@@ -6473,7 +6475,7 @@ function WorkflowCanvasInner({
6473
6475
  selected: false,
6474
6476
  onSelect: () => {
6475
6477
  setSelectedAgentId(agent.agentId);
6476
- openAgentModalAction(agent, models);
6478
+ openAgentModalAction(agent, models, false, agentTools);
6477
6479
  },
6478
6480
  onRemoveFromCanvas: handleRemoveNodeFromCanvas
6479
6481
  }
@@ -7094,5 +7096,5 @@ function Workspace({
7094
7096
  }
7095
7097
 
7096
7098
  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, 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, isModelCompatibleWithFramework, useModalStore, useWorkflowBuilderClient, useWorkflowBuilderClientOptional, useWorkflowStore };
7097
- //# sourceMappingURL=chunk-B64PWT4B.mjs.map
7098
- //# sourceMappingURL=chunk-B64PWT4B.mjs.map
7099
+ //# sourceMappingURL=chunk-OL7PEDJG.mjs.map
7100
+ //# sourceMappingURL=chunk-OL7PEDJG.mjs.map