Skip to content

v1.2.0 - Live-detection tiers, auto-snapshot, bulletproof saves

Latest

Choose a tag to compare

@REMvisual REMvisual released this 13 Jul 21:59
· 1 commit to master since this release

Smarter detection, bulletproof saves, and unattended snapshots.

Detection got serious

Sessions are now tiered by certainty, not guessed from file timestamps:

  • [OPEN] — confirmed by a running process: uuid found in the claude.exe command line, in happy-coder logs, or by matching a bare tab's working directory (read from the process PEB) to its project's newest session file
  • [OPEN?] — an open tab exists, session inferred by recency
  • [F] — recent file activity only (may already be closed)
  • [BG] — running but not a terminal tab (remote/daemon sessions)

Plus better names: tabs restore with Claude Code's own live tab title (ai-title records), and your real Windows Terminal tab names (manual renames included) are read via UIAutomation and matched back to sessions.

Your snapshot can no longer be destroyed

  • Every save first rotates the previous workspace.json into ~/.claude/workspace-backups/ (newest 5 kept)
  • Writes are atomic (temp file + rename) — a crash mid-save can't truncate the snapshot
  • workspace-restore.bat --file <path> restores any snapshot, including a rotated backup

Run it unattended

  • workspace-snapshot.bat --auto — non-interactive save-all, built for Task Scheduler; if it fires after a reboot and finds nothing live, it exits without touching your existing snapshot
  • --auto --open-only — save only the tabs actually on screen
  • --out <file> — named/alternate snapshot files
  • README now includes a one-line schtasks recipe: hourly auto-snapshots mean a blackout costs you at most an hour of workspace state

Restore is defensive now

  • --dry-run prints the exact wt commands without opening anything
  • Everything is validated before a single window opens: session ids must be real UUIDs (blocks command injection via a tampered workspace.json), tab titles are sanitized, dead project folders fall back gracefully, deleted sessions are flagged [missing], and a missing claude on PATH warns once upfront
  • Each project group opens in its own window regardless of your Windows Terminal windowingBehavior setting (wt -w new)

Fixes

  • Install one-liners in the README, install.ps1, and install.sh pointed at a nonexistent main branch and 404'd — now master
  • Download badge linked to the wrong repository

Full Changelog: v1.1.0...v1.2.0