+ {Object.entries(typeStats).map(([stepName, typeCounts]) => (
+
+
+
{stepName}
+
+ {Object.entries(typeCounts).map(([type, count]) => (
+
+ {type}
+ {count}
+
+ ))}
+
+ ))}
+
+ );
+}
diff --git a/packages/hub/src/app/ai/analytics/step-errors/page.tsx b/packages/hub/src/app/ai/analytics/step-errors/page.tsx
new file mode 100644
index 0000000000..0ede8f95de
--- /dev/null
+++ b/packages/hub/src/app/ai/analytics/step-errors/page.tsx
@@ -0,0 +1,20 @@
+import { getStepErrors } from "@/server/ai/analytics";
+
+import { StepErrorList } from "../StepErrorList";
+
+export default async function () {
+ const errors = await getStepErrors();
+
+ const stats: Record