Repository navigation
UsageSwitch 2.2.2
The last items from the 2026-11 audit — a harder switch engine, tighter child-process handling, and a Cursor sign-in that refreshes itself.
Highlights
- Cursor refreshes itself. An expired Cursor sign-in used to wait for you to run
cursor-agent status; the app now runs it once on your behalf — a live browser session renews the stored token — and only reports expired when the session really is. - Switching survives more bad luck. An unreadable process list refuses a switch instead of guessing; an interrupted switch retries the quit and rolls back under the lock; a resumed rollback swaps back the right copy, not a stale one.
- Snapshots and backups can't be half-written. Interrupted-write debris is swept on recovery, generation numbering comes from the directories themselves, and a switch installs exactly the files the snapshot recorded — verified by checksum.
- Failed commits are reported. A commit that fails mid-finish and a failed launch now say how the rollback went instead of dropping the outcome.
- Codex removal is guarded. Deleting an account stops its helpers first and refuses entirely when the process list can't be read.
- Every child the app spawns is contained. Usage readers and
codex loginrun in their own process group, so stopping one ends the whole tree. A wedgedlaunchctlcall gives up after 10 s instead of hanging a switch. - Stricter files it will touch. Lock files can't be spoofed by planted FIFOs or foreign files, and an executable other software could overwrite is never run or shown as installed.
- Cleaner exits. Quitting the app ends every vendor command it started, and Antigravity's hidden terminal gets the same minimal environment as the other readers.
Assets
UsageSwitch-2.2.2.dmg and UsageSwitch-2.2.2.zip — Apple silicon + Intel, Developer ID signed, notarized and stapled.
SHA-256:
18bd4d950a75322feac045480ca1aac5a99c1025a2d8044bedca3973aaa9187e UsageSwitch-2.2.2.dmg
cd6adb41e5af6c13c8f5a678129cf4cdefe3b55ef95117c24acabd64a01bc7c3 UsageSwitch-2.2.2.zip
Full Changelog: https://github.com/deximple/usageswitch/blob/main/CHANGELOG.md