Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.8 ·

macOS Sleep Prevention

Entry
JSON All of v2.1.8
EntryKind: in v2.1.8,
ChangesSection of the release
What

Claude Code now automatically prevents macOS from sleeping during long-running operations.

Usage: Automatic—no user action required.

Details
  • Uses macOS caffeinate -i command to prevent idle sleep
  • Active only during operations that need it (reference-counted)
  • Automatically restarts caffeinate every 4 minutes to maintain prevention during very long tasks
  • Properly cleans up on session exit
  • Only applies to macOS; no effect on other platforms
Evidence

OW9() at line 517291 (caffeinate, -i, -t, "Started caffeinate to prevent sleep")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.8 →

Feedback