v3.4.1 — Session-snapshot default-on + Windows autostart
v3.4.0 shipped session-snapshot as opt-in. Then wezterm crashed (upstream issue #7527, the very bug v3.4.0 was meant to mitigate against), and the user had no snapshot to restore from — because the env var was never set. Crash-recovery features should default ON.
What changes
- `src/dashboard-server.cjs` — session-snapshot watcher now arms automatically at `server.listen()`. Opt OUT with `WEZBRIDGE_SESSION_SNAPSHOT=0`.
- `scripts/install-autostart.cmd` (new) — drops a launcher into `%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\` so the dashboard daemon runs at every user-login. Idempotent. No admin required.
- `npm run install-autostart` alias for the above.
Combined effect
# One-time setup
npm run install-autostartAfter that, every future wezterm crash is auto-recoverable via `npm run restore-session`. No env var to remember, no daemon to start manually.
Tests
- 232/232 unit tests pass
Full diff: v3.4.0...v3.4.1