Skip to content

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

chore: fix gofmt alignment and remove unused ensureStealthBundle call

Marioc674b4d35a71
diff --git a/internal/bridge/runtime/init.go b/internal/bridge/runtime/init.go
index d2f0a6e3..68b0d0ba 100644
--- a/internal/bridge/runtime/init.go
+++ b/internal/bridge/runtime/init.go
@@ -72,8 +72,6 @@ func initChromeFromExistingCDP(cfg *config.RuntimeConfig, bundle *stealth.Bundle
wsURL := strings.TrimSpace(cfg.CDPAttachURL)
slog.Info("attaching to existing Chrome via CDP", "cdpUrl", wsURL)
- bundle = ensureStealthBundle(cfg, bundle)
-
remoteAllocCtx, remoteAllocCancel := chromedp.NewRemoteAllocator(context.Background(), wsURL)
browserCtx, browserCancel := chromedp.NewContext(remoteAllocCtx)
diff --git a/internal/config/config_types.go b/internal/config/config_types.go
index d18ebd85..04082c46 100644
--- a/internal/config/config_types.go
+++ b/internal/config/config_types.go
@@ -46,22 +46,22 @@ type RuntimeConfig struct {
TrustLoopbackProxy bool // when true, navigation responses with a loopback RemoteIPAddress (e.g. system HTTP/SOCKS proxy on 127.0.0.1) are not blocked; default false
// Browser/instance settings
- Headless bool
- HeadlessSet bool // true when explicitly set via config or flag
- NoRestore bool
- ProfileDir string
- ProfilesBaseDir string
- DefaultProfile string
- ChromeVersion string
- Timezone string
- BlockImages bool
- BlockMedia bool
- BlockAds bool
- MaxTabs int
- MaxParallelTabs int // 0 = auto-detect from runtime.NumCPU
- ChromeBinary string
- ChromeDebugPort int
- ChromeExtraFlags string
+ Headless bool
+ HeadlessSet bool // true when explicitly set via config or flag
+ NoRestore bool
+ ProfileDir string
+ ProfilesBaseDir string
+ DefaultProfile string
+ ChromeVersion string
+ Timezone string
+ BlockImages bool
+ BlockMedia bool
+ BlockAds bool
+ MaxTabs int
+ MaxParallelTabs int // 0 = auto-detect from runtime.NumCPU
+ ChromeBinary string
+ ChromeDebugPort int
+ ChromeExtraFlags string
// CDPAttachURL: when set, the bridge skips launching its own Chrome and
// connects to an already-running Chrome whose browser-level CDP
// WebSocket URL is provided here (e.g.