@datatechsolutions/ui 2.7.115 → 2.7.116

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.
@@ -9023,6 +9023,7 @@ function WorkflowCanvasInner({
9023
9023
  order: agent.order ?? 0,
9024
9024
  selected: selectedAgentId === savedNode.id,
9025
9025
  onSelect: () => {
9026
+ console.log("[Canvas] onSelect agent:", agent.name, agent.agentId);
9026
9027
  setSelectedAgentId(agent.agentId);
9027
9028
  openAgentDrawerAction(agent, models);
9028
9029
  },
@@ -11019,6 +11020,7 @@ function AgentDrawer({ onSaved }) {
11019
11020
  const agentData = useDrawerStore((s) => s.agentData);
11020
11021
  const closeDrawer = useDrawerStore((s) => s.closeDrawer);
11021
11022
  const open = activeDrawer === "agent";
11023
+ console.log("[AgentDrawer] activeDrawer:", activeDrawer, "agentData:", agentData?.agent?.name ?? "null");
11022
11024
  const agent = agentData?.agent ?? null;
11023
11025
  const models = agentData?.models ?? [];
11024
11026
  const isCreateMode = agentData?.isCreateMode ?? false;