conductor-remote 1.36.5 → 1.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -367,6 +367,14 @@ arming takes over from any other, including one you left running in a terminal.
367
367
  politeness: two windows would each capture the *other's* already-flipped values and
368
368
  "restore" those on the way out, leaving a Mac that can never sleep again.
369
369
 
370
+ Ending the window — "Let it sleep", or the timer running out — actually *sleeps* a
371
+ lid-closed Mac rather than just re-allowing sleep. Clamshell sleep is an event macOS fires
372
+ when the lid closes, and the lid closed while sleep was disabled, so restoring
373
+ `disablesleep 0` on its own leaves the Mac sitting awake under a shut lid indefinitely.
374
+ The relay checks the lid (`AppleClamshellState`) and runs `pmset sleepnow` — no root
375
+ needed — a beat after answering, so the phone gets its confirmation before the Mac drops
376
+ off the network. An open lid just gets sleep re-enabled, exactly as before.
377
+
370
378
  The same section carries a **fallback network**: pick a Wi-Fi network the Mac already knows
371
379
  (your phone's hotspot), and if the Mac loses its link entirely the funnel watchdog joins it
372
380
  and re-registers Funnel, whose ingress a change of public endpoint invalidates anyway. It