Replaces the fixed 5-second reconnect delay with an exponential backoff
(5s→10s→20s→40s→60s cap, +4s random jitter) so simultaneous browser
sessions don't thunder-herd the engine on restart.
- Backoff resets only after a stable 5-second connection, not on every
successful open, so rapid reconnect cycles don't mask the retry.
- Stale-timer bookkeeping added to the cleanup/unsubscribe path.
Also bundles two companion fixes discovered during the same session:
fix(scripts): BOM-safe JSON parsing in sync/watch-local-plugins (Fix)
PowerShell 5.1 emits a UTF-8 BOM that Node's JSON.parse rejects;
readJsonFile() strips U+FEFF before parsing, matching pnpm behavior.
docs(agents): add UTF-8 BOM troubleshooting entry (Fix)
Documents diagnosis, fix, and prevention for the BOM crash.
Co-Authored-By: Claude Opus 4.7 <[email protected]>