openclaw/src
Muhammed Mukhthar CM 02a4de0029 feat(browser): use persistent Playwright connections for remote profile tab operations
For remote CDP profiles (e.g., Browserless), tab operations now use Playwright's
persistent connection instead of stateless HTTP requests. This ensures tabs
persist across operations rather than being terminated after each request.

Changes:
- pw-session.ts: Add listPagesViaPlaywright, createPageViaPlaywright, and
  closePageByTargetIdViaPlaywright functions using the cached Playwright connection
- pw-ai.ts: Export new functions for dynamic import
- server-context.ts: For remote profiles (!cdpIsLoopback), use Playwright-based
  tab operations; local profiles continue using HTTP endpoints
- server-context.ts: Fix ensureTabAvailable to not require wsUrl for remote
  profiles since Playwright accesses pages directly

This is a follow-up to #895 which added authentication support for remote CDP
profiles. The original PR description mentioned switching to persistent Playwright
connections for tab operations, but only the auth changes were merged.
2026-01-17 00:42:53 +00:00
..
agents fix: honor message tool channel for tool dedupe (#1053) 2026-01-17 00:23:51 +00:00
auto-reply Merge pull request #1054 from tyler6204/fix/imsg-remote-attachments 2026-01-17 00:37:21 +00:00
browser feat(browser): use persistent Playwright connections for remote profile tab operations 2026-01-17 00:42:53 +00:00
canvas-host chore: run format and fix sandbox browser timeouts 2026-01-16 09:18:58 +00:00
channels fix(channels): include linked field in WhatsApp describeAccount 2026-01-16 23:59:04 +00:00
cli feat: unify directory across channels 2026-01-16 22:40:36 +00:00
commands docs: clarify model key format 2026-01-17 00:15:37 +00:00
config Merge pull request #1054 from tyler6204/fix/imsg-remote-attachments 2026-01-17 00:37:21 +00:00
cron fix: start fresh cron sessions each run 2026-01-16 21:27:56 +00:00
daemon chore: run format and fix sandbox browser timeouts 2026-01-16 09:18:58 +00:00
discord fix: scope history injection to pending-only 2026-01-16 23:52:42 +00:00
docs chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
gateway chore: oxfmt 2026-01-16 22:33:47 +00:00
hooks chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
imessage Merge pull request #1054 from tyler6204/fix/imsg-remote-attachments 2026-01-17 00:37:21 +00:00
infra fix: stabilize transport-ready test timing 2026-01-16 23:03:12 +00:00
logging Logging: tolerate EIO console writes 2026-01-15 03:20:48 +00:00
macos chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
markdown test: add command arg parsing coverage (#936) (thanks @thewilloftheshadow) 2026-01-15 09:38:21 +00:00
media chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
memory fix: make node-llama-cpp optional 2026-01-15 18:37:02 +00:00
pairing fix(zalo): fix pairing channel detection and webhook payload format 2026-01-16 10:43:14 +07:00
plugins chore: run format and fix sandbox browser timeouts 2026-01-16 09:18:58 +00:00
process chore: prep 2026.1.14 npm release 2026-01-15 07:47:18 +00:00
providers chore: purge DS_Store files 2026-01-15 22:59:16 +00:00
routing feat: add session.identityLinks for cross-platform DM session linking (#1033) 2026-01-16 14:23:22 -06:00
security test: expand gateway auth probe coverage 2026-01-16 19:16:03 +00:00
sessions chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
signal fix: scope history injection to pending-only 2026-01-16 23:52:42 +00:00
slack fix: scope history injection to pending-only 2026-01-16 23:52:42 +00:00
telegram fix: scope history injection to pending-only 2026-01-16 23:52:42 +00:00
terminal chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
tui fix: align ZAI thinking toggles 2026-01-16 22:26:43 +00:00
types chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
utils feat!: move msteams to plugin 2026-01-16 02:59:43 +00:00
web fix: scope history injection to pending-only 2026-01-16 23:52:42 +00:00
whatsapp Format: apply oxfmt fixes 2026-01-15 01:27:16 +00:00
wizard fix: unify daemon service label resolution with env 2026-01-15 22:10:27 +00:00
channel-web.barrel.test.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
channel-web.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
docker-setup.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
entry.ts chore(cli): set process title 2026-01-16 01:33:28 +00:00
globals.test.ts chore: format to 2-space and bump changelog 2025-11-26 00:53:53 +01:00
globals.ts feat: refresh CLI output styling and progress 2026-01-08 05:20:39 +01:00
index.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
index.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
logger.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
logger.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
logging.ts refactor(src): split oversized modules 2026-01-14 01:17:56 +00:00
polls.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
polls.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
postinstall-patcher.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
runtime.ts chore: format to 2-space and bump changelog 2025-11-26 00:53:53 +01:00
utils.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
utils.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
version.ts chore: rename project to clawdbot 2026-01-04 14:38:51 +00:00