Skip to content

v0.3.2

Choose a tag to compare

@GeiserX GeiserX released this 28 Apr 08:14
· 32 commits to main since this release
6527e21

Fixes

  • Prevent duplicate MFA notifications: Added atomic cross-process lock so only one auto-login runs system-wide, regardless of how many CC sessions are open
  • Cross-platform sleep: Replaced execSync("sleep 3") with Atomics.wait (works on all platforms without shell dependency)
  • STS fallback in wait loop: Sessions waiting for another's auto-login now also check via STS when expirationField metadata is unavailable
  • Lock directory creation: Ensure ~/.config/cc-aws-keepalive/ exists before attempting lock acquisition

Tests

  • 46 unit tests (11 new), 98.76% statement coverage via c8
  • Tests cover lock acquisition, stale lock cleanup, lock contention, release, and sleepSync timing
  • Added loadConfig validation branch coverage (unknown keys, type coercion, warnings)