mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 14:21:34 +00:00
* feat(browser): add `openclaw browser batch` CLI subcommand Expose the existing `act:batch` runtime through a dedicated CLI subcommand so users and scripts can run nested act requests in one call without going through the agent tool. - `--actions <json>` for inline JSON, `--actions-file <path>` for file input, `--actions-file -` for stdin (1MB cap to bound a runaway pipe) - `--continue` sets `stopOnError=false`; default keeps the runtime fail-fast (stop on first error) behavior, matching the existing batch contract - `--target-id` forwards to the batch body - Outer request timeout uses `resolveBrowserActExecutionBudgetMs` so the batch budget covers nested actions - Docs (`docs/tools/browser-control.md` + bundled `browser-automation` skill) document the batch CLI, ref lifecycle, targetId conflict handling, and error summary format Co-authored-by: Cursor <cursoragent@cursor.com> * fix(browser): fail batch CLI on action errors * fix(browser): keep batch stdin reader private * docs(browser): refresh batch heading map * test(browser): assert batch JSON via runtime mock --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Mason Huang <masonxhuang@icloud.com> Co-authored-by: Mason Huang <masonxhuang@proton.me>