Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

style: fix gofmt alignment

Bosch45d2d476b9b6
diff --git a/internal/api/types/types.go b/internal/api/types/types.go
index 0c6342d5..bf66e8cb 100644
--- a/internal/api/types/types.go
+++ b/internal/api/types/types.go
@@ -37,7 +37,7 @@ type Instance struct {
Status string `json:"status"` // starting/running/stopping/stopped/error
StartTime time.Time `json:"startTime"`
Error string `json:"error,omitempty"`
- Attached bool `json:"attached"` // True if attached to external Chrome
+ Attached bool `json:"attached"` // True if attached to external Chrome
CdpURL string `json:"cdpUrl,omitempty"` // CDP WebSocket URL (for attached instances)
}
diff --git a/internal/bridge/api.go b/internal/bridge/api.go
index 2b136732..f56ad64e 100644
--- a/internal/bridge/api.go
+++ b/internal/bridge/api.go
@@ -119,15 +119,15 @@ type AnalyticsReport struct {
}
type Instance struct {
- ID string `json:"id"` // Hash-based ID: inst_XXXXXXXX
- ProfileID string `json:"profileId"` // Hash-based profile ID: prof_XXXXXXXX
- ProfileName string `json:"profileName"` // Human-readable profile name (for display only)
- Port string `json:"port"` // Internal: instance port
- Headless bool `json:"headless"` // Mode: headless vs headed
- Status string `json:"status"` // Status: starting/running/stopping/stopped/error
- StartTime time.Time `json:"startTime"` // When instance was created
- Error string `json:"error,omitempty"` // Error message if status=error
- Attached bool `json:"attached"` // True if attached to external Chrome (not launched)
+ ID string `json:"id"` // Hash-based ID: inst_XXXXXXXX
+ ProfileID string `json:"profileId"` // Hash-based profile ID: prof_XXXXXXXX
+ ProfileName string `json:"profileName"` // Human-readable profile name (for display only)
+ Port string `json:"port"` // Internal: instance port
+ Headless bool `json:"headless"` // Mode: headless vs headed
+ Status string `json:"status"` // Status: starting/running/stopping/stopped/error
+ StartTime time.Time `json:"startTime"` // When instance was created
+ Error string `json:"error,omitempty"` // Error message if status=error
+ Attached bool `json:"attached"` // True if attached to external Chrome (not launched)
CdpURL string `json:"cdpUrl,omitempty"` // CDP WebSocket URL (for attached instances)
}