High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix(ci): format dashboard chart and openapi handler
Djain912f63e17f384c6
diff --git a/dashboard/src/components/molecules/TabsChart.tsx b/dashboard/src/components/molecules/TabsChart.tsxindex 71e0ea48..ef94d0e9 100644--- a/dashboard/src/components/molecules/TabsChart.tsx+++ b/dashboard/src/components/molecules/TabsChart.tsx@@ -106,7 +106,7 @@ function GlassTooltip({return (<div- key={String(entry.dataKey)}+ key={String(entry.dataKey)}style={{display: "flex",alignItems: "center",@@ -268,9 +268,9 @@ export default function TabsChart({return vals;}, [mergedData, instances, instanceColors]);- const tooltipContent = ((props: TooltipContentProps<number, string>) => (- <GlassTooltip {...props} instances={instances} />- )) as any;+ const tooltipContent = ((props: TooltipContentProps<number, string>) => (+ <GlassTooltip {...props} instances={instances} />+ )) as any;if (mergedData.length < 2) {return (diff --git a/internal/handlers/openapi.go b/internal/handlers/openapi.goindex c9f77378..5ca3d873 100644--- a/internal/handlers/openapi.go+++ b/internal/handlers/openapi.go@@ -41,9 +41,9 @@ func (h *Handlers) HandleOpenAPI(w http.ResponseWriter, _ *http.Request) {},"x-pinchtab-security": security,"paths": map[string]any{- "/health": map[string]any{"get": map[string]any{"summary": "Health"}},- "/browser/restart": map[string]any{"post": map[string]any{"summary": "Soft restart the browser process without restarting the bridge"}},- "/tabs": map[string]any{"get": map[string]any{"summary": "List tabs"}},+ "/health": map[string]any{"get": map[string]any{"summary": "Health"}},+ "/browser/restart": map[string]any{"post": map[string]any{"summary": "Soft restart the browser process without restarting the bridge"}},+ "/tabs": map[string]any{"get": map[string]any{"summary": "List tabs"}},"/tabs/{id}/handoff": map[string]any{"post": map[string]any{"summary": "Pause tab automation for human handoff"}, "get": map[string]any{"summary": "Get tab handoff status"}},"/tabs/{id}/resume": map[string]any{"post": map[string]any{"summary": "Resume tab automation after handoff"}},"/metrics": map[string]any{"get": map[string]any{"summary": "Runtime metrics"}},