File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,7 +155,6 @@ Agent 在内部自动处理所有 `opencli browser` 命令——你只需用自
155155
156156| 变量 | 默认值 | 说明 |
157157| ------| --------| ------|
158- | ` OPENCLI_DAEMON_PORT ` | ` 19825 ` | daemon-extension 通信端口 |
159158| ` OPENCLI_WINDOW ` | 命令默认值 | 设为 ` foreground ` 或 ` background ` 来覆盖 Browser Bridge 窗口位置。浏览器型命令也支持 ` --window <foreground\|background> ` |
160159| ` OPENCLI_BROWSER_CONNECT_TIMEOUT ` | ` 45 ` | 浏览器连接超时(秒) |
161160| ` OPENCLI_BROWSER_COMMAND_TIMEOUT ` | ` 60 ` | 单个浏览器命令超时(秒) |
@@ -164,6 +163,8 @@ Agent 在内部自动处理所有 `opencli browser` 命令——你只需用自
164163| ` OPENCLI_VERBOSE ` | ` false ` | 启用详细日志(` -v ` 也可以) |
165164| ` DEBUG_SNAPSHOT ` | — | 设为 ` 1 ` 输出 DOM 快照调试信息 |
166165
166+ Browser Bridge daemon 与扩展的通信端口固定为 ` localhost:19825 ` ,不再支持通过 ` OPENCLI_DAEMON_PORT ` 配置自定义端口。
167+
167168` opencli browser * ` 必须紧跟一个 ` <session> ` 位置参数,默认使用前台窗口,并保留该 session 的 tab lease,直到你手动执行 ` opencli browser <session> close ` 或等空闲超时。浏览器型 adapter 默认使用后台 adapter 窗口并在命令结束后释放一次性 tab lease;如果需要调试最终页面,可以传 ` --window foreground --keep-tab true ` 。
168169
169170## 内置命令
You can’t perform that action at this time.
0 commit comments