Zee Zheng
8be581cbf8
fix(browser): allow inbound media uploads
...
Allow the browser upload tool to resolve OpenClaw-managed inbound media refs such as `media://inbound/<id>` and sandbox-relative `media/inbound/<id>` while preserving the existing upload-root path contract.
Keep upload-root files ahead of sandbox-relative inbound fallback, reject nested absolute inbound media files, and validate raw `media://` paths before URL normalization so traversal-shaped refs cannot resolve to direct media ids.
Verification:
- `OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs extensions/browser/src/browser/paths.test.ts --reporter=verbose`
- `OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs extensions/browser/src/browser/paths.test.ts --reporter=dot`
- `OPENCLAW_HEAVY_CHECK_LOCK_SCOPE=worktree node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.extensions.test.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/extensions-test.tsbuildinfo`
- `pnpm lint --threads=8`
- `.agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main`
- `git diff --check`
- GitHub PR checks on be08e6c8a8 : dependency-guard, check-lint, check-test-types, check-additional-extension-bundled, checks-fast-contracts-plugins-a, checks-fast-contracts-plugins-b all passed.
Fixes #83544 .
Co-authored-by: Zee Zheng <zheng.zuo0@gmail.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-30 23:49:07 +01:00
Peter Steinberger
7e04680e23
fix: parse browser top-level timeouts
2026-05-28 20:36:34 -04:00
Xu Xiang
d5cc0d53b7
fix(browser): honor image sanitization config for screenshots ( #84595 )
...
Summary:
- The branch threads `agents.defaults.imageMaxDimensionPx` into browser screenshot and labeled snapshot image results, adds regression coverage and a changelog entry, and includes small repair-pass type/lint cleanup.
- Reproducibility: yes. source-level reproduction is high confidence: current `main` calls `imageResultFromFil ... both browser image-returning paths, while the shared sanitizer falls back to `1200px` without an override.
Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(browser): honor image sanitization config for screenshots
- PR branch already contained follow-up commit before automerge: fix(clawsweeper): address review for automerge-openclaw-openclaw-8459…
Validation:
- ClawSweeper review passed for head c01fde7990 .
- Required merge gates passed before the squash merge.
Prepared head SHA: c01fde7990
Review: https://github.com/openclaw/openclaw/pull/84595#issuecomment-4499178477
Co-authored-by: Xu Xiang <xx205@outlook.com >
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com >
2026-05-20 20:09:32 +00:00
Peter Steinberger
4f4d108639
chore(lint): remove underscore-dangle allow list ( #83542 )
...
* chore(lint): reduce underscore-dangle exceptions
* chore(lint): reduce more underscore exceptions
* chore(lint): remove underscore-dangle allow list
* fix(lint): repair underscore cleanup regressions
* test(lint): track version define suppression
2026-05-18 14:56:06 +01:00
Peter Steinberger
7afac6015f
feat(browser): surface observed dialogs ( #83099 )
2026-05-18 00:05:29 +01:00
Vincent Koc
12b8db34ee
fix(browser): handle malformed node proxy payloads
2026-05-14 16:48:28 +08:00
Peter Steinberger
7f3f108521
refactor(config): migrate plugin config access
2026-04-27 12:35:58 +01:00
Peter Steinberger
209d50b52c
feat(browser): add coordinate click action
...
Co-authored-by: Daniel Lutts <daniellutts@10-19-94-204.dynapool.wireless.nyu.edu >
2026-04-25 07:31:33 +01:00
Peter Steinberger
ae5c657367
fix: clean up idle browser tabs
2026-04-25 03:08:24 +01:00
Peter Steinberger
2a0a76f876
fix(browser): extend existing-session manage timeouts
2026-04-25 02:50:36 +01:00
Peter Steinberger
3a7ee209c9
fix: harden browser screenshot timeouts
2026-04-25 02:32:29 +01:00
Peter Steinberger
30aa1f890a
feat(browser): expose doctor diagnostics to agents
...
Co-authored-by: Sean Coley <github@seancoley.me >
2026-04-25 01:15:31 +01:00
Peter Steinberger
1d4859dc53
feat(browser): add doctor and richer inspection helpers
2026-04-25 00:56:35 +01:00
Peter Steinberger
45e2a15e29
feat(browser): add stable tab handles and automation skill
2026-04-25 00:23:55 +01:00
Peter Steinberger
a437666a37
fix(browser): reject existing-session type timeouts
2026-04-24 08:29:25 +01:00
Peter Steinberger
aa21d4ea7e
fix(browser): clarify existing-session timeout limits
2026-04-24 08:27:12 +01:00
Peter Steinberger
999caf530b
perf: slim browser test imports
2026-04-23 23:09:39 +01:00
Mariano
8cb73844c8
browser: route existing-session user profile through browser nodes ( #68891 )
...
* browser: route user profile through browser nodes
* browser: align existing-session node docs
* browser: preserve host fallback on node discovery errors
* browser: preserve configured node pin errors
* browser: widen config mock in node pin test
2026-04-19 12:21:23 +02:00
Peter Steinberger
04c8026d03
chore: enable no-unnecessary-type-arguments
2026-04-10 20:14:49 +01:00
Peter Steinberger
4dbe8f9f66
refactor: dedupe browser string readers
2026-04-07 05:06:55 +01:00
Peter Steinberger
197510f693
refactor: add browser plugin runtime package
2026-03-26 22:20:39 +00:00