navigate(agent ? agentUrl(agent) : `/agents/${node.id}`)}
+ onClickCapture={(e) => {
+ if (!suppressNextCardClick.current) return;
+ suppressNextCardClick.current = false;
+ e.preventDefault();
+ e.stopPropagation();
+ }}
+ >
+
+ {/* Agent icon + status dot */}
+
-
-
- {/* Name + role + adapter type */}
-
-
- {node.name}
-
-
- {agent?.title ?? roleLabel(node.role)}
-
- {agent && (
-
- {getAdapterLabel(agent.adapterType)}
+ {/* Name + role + adapter type */}
+
+
+ {node.name}
- )}
- {agent && agent.capabilities && (
-
- {agent.capabilities}
+
+ {agent?.title ?? roleLabel(node.role)}
- )}
+ {agent && (
+
+ {getAdapterLabel(agent.adapterType)}
+
+ )}
+ {agent && agent.capabilities && (
+
+ {agent.capabilities}
+
+ )}
+