Skip to content

v3.4.1 — Session-snapshot default-on + Windows autostart

Choose a tag to compare

@wolverin0 wolverin0 released this 08 May 23:29
· 548 commits to main since this release
aaa8e47

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-autostart

After 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