Skip to content

Commit 70629fb

Browse files
authored
fix(bridge): unify active ensure and reconnect recovery
Unify Browser Bridge active daemon ensure and per-command pre-dispatch recovery, harden MV3 extension reconnect cadence, and increase connect timeout headroom for Chrome alarm wake floor.
1 parent ba2dcc0 commit 70629fb

18 files changed

Lines changed: 2785 additions & 2339 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ When the site you need is not yet covered, use the `opencli-adapter-author` skil
171171
|----------|---------|-------------|
172172
| `OPENCLI_PROFILE` || Browser Bridge profile alias/contextId to use when multiple Chrome profiles are connected |
173173
| `OPENCLI_WINDOW` | command default | Set to `foreground` or `background` to override Browser Bridge window placement. Browser-backed commands also accept `--window <foreground\|background>`. |
174-
| `OPENCLI_BROWSER_CONNECT_TIMEOUT` | `30` | Seconds to wait for browser connection |
174+
| `OPENCLI_BROWSER_CONNECT_TIMEOUT` | `45` | Seconds to wait for browser connection |
175175
| `OPENCLI_BROWSER_COMMAND_TIMEOUT` | `60` | Seconds to wait for a single browser command |
176176
| `OPENCLI_CDP_ENDPOINT` || Chrome DevTools Protocol endpoint for remote browser or Electron apps |
177177
| `OPENCLI_CDP_TARGET` || Filter CDP targets by URL substring (e.g. `detail.1688.com`) |

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Agent 在内部自动处理所有 `opencli browser` 命令——你只需用自
157157
|------|--------|------|
158158
| `OPENCLI_DAEMON_PORT` | `19825` | daemon-extension 通信端口 |
159159
| `OPENCLI_WINDOW` | 命令默认值 | 设为 `foreground``background` 来覆盖 Browser Bridge 窗口位置。浏览器型命令也支持 `--window <foreground\|background>` |
160-
| `OPENCLI_BROWSER_CONNECT_TIMEOUT` | `30` | 浏览器连接超时(秒) |
160+
| `OPENCLI_BROWSER_CONNECT_TIMEOUT` | `45` | 浏览器连接超时(秒) |
161161
| `OPENCLI_BROWSER_COMMAND_TIMEOUT` | `60` | 单个浏览器命令超时(秒) |
162162
| `OPENCLI_CDP_ENDPOINT` || Chrome DevTools Protocol 端点,用于远程浏览器或 Electron 应用 |
163163
| `OPENCLI_CDP_TARGET` || 按 URL 子串过滤 CDP target(如 `detail.1688.com`|

0 commit comments

Comments
 (0)