mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-11 21:57:14 +03:00
Accept and discard in live variant mode are now handled by a deterministic script (live-accept.mjs) that runs inside the poller before returning to the agent. The browser updates the DOM instantly on click (fire-and-forget) so the user is never blocked waiting for LLM-driven file cleanup. Key changes: - New live-accept.mjs: deterministic accept/discard file operations - Poller auto-runs accept script for accept/discard events (_acceptResult) - Browser handleAccept() now commits DOM change instantly, no SAVING state - CSS+HTML colocated in one write (style tag inside variant wrapper) - SSE heartbeat every 30s prevents silent connection drops - Poll timeout increased from 2min to 10min - EventSource onopen resets retry counter for reliable reconnection - Server --background flag for clean single-command startup Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>