diff --git a/client/src/pages/DevCenter.tsx b/client/src/pages/DevCenter.tsx index 76f96e8..9d21833 100644 --- a/client/src/pages/DevCenter.tsx +++ b/client/src/pages/DevCenter.tsx @@ -584,8 +584,27 @@ function AgentFactoryTabs() { - {/* ---- TAB: DEPLOY ---- */} + {/* ---- TAB: DEPLOY / ORCHESTRATE CENTER ---- */} + {/* Stats */} +
+ {[ + { label: "Total de agentes", value: defs.length, icon: }, + { label: "Prontos p/ deploy", value: defs.filter(d => d.status === "ready").length, icon: }, + { label: "Implantados", value: defs.filter(d => d.status === "deployed").length, icon: }, + ].map(s => ( + + + {s.icon} +
+

{s.value}

+

{s.label}

+
+
+
+ ))} +
+
@@ -612,7 +631,7 @@ function AgentFactoryTabs() { ) : (
{defs.filter(d => d.status === "ready" || d.status === "deployed").map(def => ( -
+
{def.name} @@ -622,11 +641,22 @@ function AgentFactoryTabs() { v{def.version}
{def.description &&

{def.description}

} - {def.lastTaskId && ( -

Último artefato: Task #{def.lastTaskId}

- )} +

+ Atualizado {new Date(def.updatedAt).toLocaleString("pt-BR", { dateStyle: "short", timeStyle: "short" })} + {def.lastTaskId ? ` · Task #${def.lastTaskId}` : ""} +

+ {def.status === "deployed" && ( + + )} {def.status === "ready" && (