Patch release hardening the headless auth refresh and account switching.
Added
NOTEBOOKLM_DISABLE_HEADLESS_REFRESH=1disables the automatic Layer-3 self-heal andnlm auth refresh, for Google Workspace accounts whose session is revoked server-side when the saved browser profile is relaunched (#330).
Fixed
- Headless refresh now picks a free port instead of a hardcoded 9223, so a foreign process already holding that port can't make Chrome bind elsewhere while the tool probes the wrong CDP listener (#330).
nlm login --clearnow always clears and re-authenticates instead of returning early when the saved session still validates, so switching accounts actually wipes the profile (#330).
Thanks to @cr4shOverr1de for the detailed report in #330.