@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.
@@ -8993,6 +8993,7 @@ function WorkflowCanvasInner({
8993
8993
  order: agent.order ?? 0,
8994
8994
  selected: selectedAgentId === savedNode.id,
8995
8995
  onSelect: () => {
8996
+ console.log("[Canvas] onSelect agent:", agent.name, agent.agentId);
8996
8997
  setSelectedAgentId(agent.agentId);
8997
8998
  openAgentDrawerAction(agent, models);
8998
8999
  },
@@ -10989,6 +10990,7 @@ function AgentDrawer({ onSaved }) {
10989
10990
  const agentData = useDrawerStore((s) => s.agentData);
10990
10991
  const closeDrawer = useDrawerStore((s) => s.closeDrawer);
10991
10992
  const open = activeDrawer === "agent";
10993
+ console.log("[AgentDrawer] activeDrawer:", activeDrawer, "agentData:", agentData?.agent?.name ?? "null");
10992
10994
  const agent = agentData?.agent ?? null;
10993
10995
  const models = agentData?.models ?? [];
10994
10996
  const isCreateMode = agentData?.isCreateMode ?? false;