Commit Graph

4 Commits

Author SHA1 Message Date
DeepSeek Harness Agent 55768cf0a7 native-fixes: Firefox BiDi + shared browser defects
Fixes verified live on Edge 157, Chrome for Testing 157 and Firefox 159.0.1
through the installed DSH plugin (Edge Kit Browser v3.6.1 base).

Firefox / WebDriver BiDi:
- type: BiDi has no {type:'text'} key action and input.insertText is unknown;
  type by one keyDown/keyUp pair per code point.
- Enter/Delete/PageUp/PageDown/Escape: named keys now win over their text form
  (Enter was sent as a '\r' character) and the WebDriver key table is fixed
  (Escape was NUMPAD1); pressKey always sends the matching keyUp.
- newTab: browsingContext.create ignores an inline URL; create then navigate.
- waitForLoad: poll document.readyState for BiDi so a missed load event no
  longer stalls newTab ~15s; also report loadEvent source.
- close/detach: end the Firefox BiDi session explicitly (a bare WebSocket
  close does not release it -> "Maximum number of active sessions").
- restart/dispose: close the browser through the protocol before dropping the
  socket (the spawn handle is only the Windows launcher, so killing it orphaned
  the browser); re-validate attach-only sessions and never leave a half session.
- proxy: Firefox -proxy-server takes host:port (strip the http:// scheme);
  v3.6.1 direct-traffic preferences are kept.
- relaunch: only the selected engine is taskkilled, and Firefox refuses
  relaunch instead of killing every Firefox window.

Shared (Edge/Chrome/Firefox):
- see: prioritize aria-label for accessible names.
- click {text}/type {into}: walk shadow roots of every element, not just the
  host shapes already matched (shadow-DOM buttons and inputs are found).
- click {index}: re-resolve the element captured by the last see and scroll it
  into view before clicking (a stale cached coordinate silently missed).
- press {key:'Space'}/named keys: case-normalized named keys and a real space
  character (CDP delivered event.key = "" for the named form).

Also includes the native-portability loader for schemastery (asar-aware),
the home-relative activation-probe path, and the close action that no longer
nulls its session before Browser.close (browser leak).
2026-11-08 21:11:47 +03:30
8ball 19b0246828 v3.6.1: no-v2ray launch pinning (strip proxy env, explicit --no-proxy-server / FF direct prefs), cross-platform browser discovery (Win/Linux/macOS incl. snap chromium), setup.mjs deploy self-check, README deploy docs 2026-11-08 20:52:45 +03:30
8ball 40f6737183 v3.6.0: proxy engine - auto-test/replace free proxies (echo ladder), local CONNECT-chain forwarder, browser exit verified live 2026-11-08 20:33:15 +03:30
8ball 4da855f5e1 Edge Kit Browser v3.5.6 - Firefox (WebDriver BiDi) + Chrome, video understanding, gameplay, native web seam 2026-11-08 19:48:48 +03:30