From dedf4be1b677284f1215de59fb8f7ab90e9646c8 Mon Sep 17 00:00:00 2001 From: Tianren Dong Date: Wed, 13 May 2026 02:11:03 -0400 Subject: pi-chrome 0.12.1: fix 07/13/21/27/28 anti-automation regressions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 07 pointer-properties: pass force: 0.5 on every CDP mousePressed so PointerEvent.pressure reports 0.5 for trusted clicks (was 0, inconsistent with real mouse behaviour). - 13 focus-order: after a CDP-driven click on a focusable target, re-focus with focusVisible: false so :focus-visible matches pointer focus semantics (CDP press leaves :focus-visible=true otherwise). - 21 keyboard-modifiers: chrome.debugger.attach occasionally rejects with 'Cannot access a chrome-extension:// URL of different extension' immediately after navigation. attachDebugger now waits 180ms, verifies the tab URL isn't privileged, and retries once. - 27 scroll-momentum + 28 intersection-visibility: replace gentle ~1.25%/step linear taper with a ramp-up (~15%) + geometric decay (~12% drop/step). Sizes n adaptively so peak event stays ≲22px so small visibility targets get low-ratio IO samples while a clear momentum tail remains for decay-pattern detectors. - trustedDrag mousePressed also gets force: 0.5 (consistency). --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index e4e4016..3242c7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pi-chrome", - "version": "0.12.0", + "version": "0.12.1", "description": "Drive your existing logged-in Chrome from Pi — no re-login, no throwaway profile, watch the agent work in real time (or toggle quiet background mode).", "keywords": [ "pi-package", -- cgit v1.2.3