diff options
| author | Tianren Dong <tianrendong.dtr@gmail.com> | 2026-05-13 02:11:03 -0400 |
|---|---|---|
| committer | Tianren Dong <tianrendong.dtr@gmail.com> | 2026-05-13 02:11:03 -0400 |
| commit | dedf4be1b677284f1215de59fb8f7ab90e9646c8 (patch) | |
| tree | e935e6b4e72dfcea768e5982f859d8c316d84eee /package.json | |
| parent | eb15e9fbc1463bb8d377ab588a3ef99a16777700 (diff) | |
pi-chrome 0.12.1: fix 07/13/21/27/28 anti-automation regressions
- 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).
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
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", |
