Prevent sleep

Overview

The Prevent Sleep setting keeps your computer awake while Friday is actively processing tasks. This ensures long-running operations complete without interruption from system sleep or screen savers. The feature is enabled by default and automatically activates only during agent processing.

Quick Start

  1. Type /settings in Friday's chat interface
  2. Select "Prevent Sleep" from the settings menu
  3. Choose your preferred option:
    • Enable - Keep computer awake while agent is running
    • Disable - Allow normal sleep behavior
  4. Your preference is saved automatically

Usage

How It Works

When enabled, Friday uses the system's caffeinate utility to prevent sleep mode while processing your requests. The prevention is active only during agent operations—when Friday is idle, your computer's normal sleep settings apply.

When to Enable

Enable Prevent Sleep when you:

  • Run long-running code generation or refactoring tasks
  • Execute complex multi-file operations
  • Work with large codebases that require extended processing time
  • Want to ensure tasks complete without manual intervention

When to Disable

Disable Prevent Sleep when you:

  • Prefer to manually manage your system's power settings
  • Work on quick, short tasks that complete in seconds
  • Want your computer to sleep according to its normal schedule
  • Are concerned about power consumption