{
  "id": 4049974,
  "title": "Your agent didn't fail. You closed the lid",
  "url": "https://urgent.news/2026/08/28/your-agent-didnt-fail-you-closed-the-lid",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-28T22:33:41.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/dmitryganin/your-agent-didnt-fail-you-closed-the-lid-g8o"
  },
  "original_language": "en",
  "account": "SleepSwitch is a macOS menu bar toggle that prevents your Mac from sleeping, even when the lid is closed. It provides a quick and easy way to keep your Mac awake during long agent runs or other time-consuming tasks. Users can toggle the feature with one click, and the app handles both lid-close and display sleep with a separate battery guard feature to prevent overheating. The sleep management feature is particularly useful for agentic workflows, where long-running tasks can be interrupted by macOS power management issues. The installation process is straightforward, requiring only Command Line Tools and a simple installation script. The app also includes a battery guard feature that automatically turns off the sleep blocking when the battery level falls below a set threshold.",
  "summary": "SleepSwitch is a macOS menu bar toggle that stops your Mac from sleeping — lid closed included. One click, no password prompts, and a battery guard so you don't cook your laptop in a bag. You kick off a long agent run — Claude Code refactoring half a service, Codex grinding through a test suite, some pipeline that's going to take 40 minutes. You close the lid and walk away. You come back to a…",
  "key_points": [
    "SleepSwitch prevents Mac from sleeping even when lid closed",
    "One-click toggle for long agent runs",
    "Battery guard feature for overheating prevention"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}