Authentication and security
- Added optional TOTP two-factor authentication (
Settings > Advanced > Two-factor authentication) for self-hosted accounts, including 6-digit verification code input, single-use downloadable recovery codes, per-account lockout after repeated failed attempts, optionalMASTER_KEYencryption for TOTP secrets, and an operatorscripts/reset-2fa.jsrecovery script. - Serialized user-data persistence writes to prevent overlapping updates from overwriting newer changes.
Headful viewer latency and interactive optimizations
- Added
TCP_NODELAYand TCP Keep-Alive socket options on Websockify client and target connections, eliminating packet buffering lag. - Implemented client-side optimistic typing echo overlay, immediately displaying keystrokes at the cursor position to mask network latency during cloud sessions.
- Added client-side wheel delta accumulation with spring decay and optimistic scroll blitting for smooth, responsive scrolling over high-latency links.
- Hardened viewer auto-reconnection logic (up to 6 retries) with profile preservation, preventing connection drops during background status polling.
Cookie state resilience and session persistence
- Implemented multi-tier storage state saving fallback (
indexedDB: true→indexedDB: false→session.context.cookies()) to prevent state loss during browser context teardown. - Added in-memory cached state persistence across lifecycle events including
domcontentloadedand page closure. - Integrated Cookie State selection directly into the On Execution configuration modal and headful browser sessions.
Editor, canvas, and visual extraction
- Redesigned the "On Execution" card with an opaque theme surface background across light, dark, and Solarized themes, eliminating transparent dot-grid bleed-through, and refined card and settings cog hover styling.
- Removed decorative background tiles and borders from action icons, and removed the redundant "TRIGGER" badge on the execution block.
- Synchronized the in-canvas extraction script editor with the Task settings panel, providing unified layout, visual fields, repeating groups, and automatic script generation.
Dependencies
- Updated Fiptcha to v0.2.0, adding distorted-text CAPTCHA solving with Florence-2 OCR, lowering Florence-2 memory requirements to a 2 GB decimal floor (1907 MiB total / 512 MiB available) so all qualifying hosts use Florence-2 by default, and optimizing grid-solver performance with immediate tile clicking, dynamic 3x3 replacement detection, and automated rejection retry.
- Removed optional CloakBrowser engine support, using the Playwright stealth stack exclusively.