FMLS
b88eeddeed
feat(browser): add openclaw browser batch CLI subcommand (#111457)
* 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>
2026-07-24 11:33:45 +08:00
..
2026-07-21 20:28:43 -07:00
2026-07-21 20:28:43 -07:00
2026-07-20 23:30:37 -07:00
2026-07-05 00:32:47 -04:00
2026-07-19 07:03:47 -07:00
2026-07-19 11:04:48 -07:00
2026-07-24 11:33:45 +08:00
2026-07-19 07:35:45 -07:00
2026-07-05 00:32:47 -04:00
2026-07-19 07:35:45 -07:00
2026-07-21 20:28:43 -07:00
2026-07-11 16:22:58 -07:00
2026-05-05 17:38:21 +01:00
2026-07-19 01:07:28 -07:00
2026-05-07 18:55:08 -07:00
2026-07-10 05:30:23 +01:00
2026-07-19 05:33:00 -07:00
2026-07-05 00:32:47 -04:00
2026-07-16 16:47:19 -07:00
2026-07-05 00:32:47 -04:00
2026-07-21 20:28:43 -07:00
2026-07-05 00:32:47 -04:00
2026-07-21 20:28:43 -07:00
2026-07-21 20:28:43 -07:00
2026-07-21 20:28:43 -07:00
2026-07-12 21:04:43 -07:00
2026-07-05 00:32:47 -04:00
2026-07-21 13:58:16 -07:00
2026-07-05 00:32:47 -04:00
2026-07-21 20:28:43 -07:00
2026-07-21 20:28:43 -07:00
2026-07-19 11:04:48 -07:00
2026-07-11 06:30:57 -07:00
2026-07-16 05:05:21 -07:00
2026-07-21 20:28:43 -07:00
2026-07-21 20:28:43 -07:00
2026-07-19 11:04:48 -07:00
2026-07-21 20:28:43 -07:00
2026-07-21 20:28:43 -07:00
2026-07-05 00:32:47 -04:00
2026-07-11 06:30:57 -07:00
2026-07-21 20:28:43 -07:00
2026-07-05 00:32:47 -04:00
2026-07-05 00:32:47 -04:00
2026-07-18 03:50:50 +01:00
2026-07-10 22:29:37 -05:00
2026-07-18 17:00:14 -07:00
2026-07-05 00:32:47 -04:00
2026-07-14 18:31:51 +01:00
2026-07-20 11:56:03 -07:00
2026-07-14 18:31:51 +01:00
2026-07-23 17:45:02 -07:00
2026-07-23 17:45:02 -07:00
2026-07-21 20:28:43 -07:00
2026-07-18 17:00:14 -07:00
2026-07-21 20:28:43 -07:00
2026-07-23 06:26:31 -07:00
2026-07-05 00:32:47 -04:00
2026-07-23 16:13:08 -07:00
2026-07-05 00:32:47 -04:00
2026-07-17 14:46:37 +01:00
2026-07-11 14:50:37 -07:00
2026-07-21 20:28:43 -07:00
2026-07-21 20:28:43 -07:00
2026-07-18 03:28:29 +01:00
2026-07-19 11:04:48 -07:00