Skip to content

Agent Awake v0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 14:04

Agent Awake v0.1.0

Agent Awake is a lightweight, pure-Rust native Windows x64 utility for precise AI Agent anti-sleep arbitration and quota-recovery auto-resume, supporting OpenAI Codex and Google Antigravity.

Windows SmartScreen Notice: This initial open-source release is unsigned. Windows SmartScreen may display "Windows protected your PC" on first launch; verify the SHA256SUMS.txt checksum below, then click More info → Run anyway if you trust the build (or build from source with cargo build --release).

Highlights

  • Precise Windows Power Arbitration: Uses native PowerCreateRequest / PowerSetRequest(PowerRequestSystemRequired) / PowerClearRequest to prevent automatic system sleep only while Codex or Antigravity tasks are actively running, while allowing the display to turn off, Windows lock screen, and manual sleep.
  • OpenAI Codex Support:
    • Official ~/.codex/hooks.json integration (safe backup, merge, repair, and clean uninstall).
    • Incremental ~/.codex/sessions/**/*.jsonl rollout monitoring for reasoning, tool calls, remote SSH commands, cancellation (turn_aborted), and quota exhaustion (usage_limit_exceeded).
  • Google Antigravity Support:
    • Native ~/.gemini/config/hooks.json integration under a dedicated agent-awake key (without blocking PreToolUse).
    • Read-only conversation_summaries.db + -wal monitoring via Windows built-in winsqlite3.dll, cross-checked against live process creation-time fingerprints.
    • Optional lightweight stdio MCP server (agent-awake mcp).
  • Quota-Exhaustion Auto-Resume & Wake Scheduler:
    • Mode A (Energy-Saving, default): Releases the wake lock during quota cooldown and schedules a per-user Windows Task Scheduler <WakeToRun>true</WakeToRun> task under \AgentAwake\.
    • Mode B (Reliable Resume, opt-in): Keeps the system awake during quota cooldown while allowing the display to turn off.
    • Official headless resume for Codex (codex exec resume --skip-git-repo-check) and Antigravity CLI (agy --conversation <id> --print), plus honest ManualOnly notifications for Antigravity Desktop sessions (no UI click simulation).
  • Modern Native Windows 11 UI & System Tray:
    • Pure Rust Win32 + DWM + GDI+ Fluent interface with dark/light mode, deep status Hero Card, pastel frosted-glass Agent cards, Toggle Switch, custom multi-resolution icon, 4-state system tray, and --legacy-ui fallback.

Quick Install (Windows x64 Portable)

  1. Download Agent-Awake-v0.1.0-windows-x64-portable.zip and SHA256SUMS.txt from the assets below.
  2. Verify the SHA-256 checksum in PowerShell:
    Get-FileHash .\Agent-Awake-v0.1.0-windows-x64-portable.zip -Algorithm SHA256
  3. Extract the archive and either run agent-awake-app.exe directly (portable mode) or run install-windows.ps1 to install into %LOCALAPPDATA%\Programs\AgentAwake\.

Upstream Credits

Built by integrating and extending ideas from two MIT-licensed open-source projects:

Full attribution and third-party crate notices are included in LICENSE and THIRD_PARTY_NOTICES.md.

SHA-256 Checksums

e10ab2b5e65fc5fa3484a876b4b7719e7cacfb36756c4fd10b5f0cc146f90680  Agent-Awake-v0.1.0-windows-x64-portable.zip
744f4d1be246a15bbb0ab78726648443bac3aaf70d8b7de845c83eca3632861e  agent-awake-app.exe
59c290e4d8c73de8ce26a53907d57952d8274aecfe1a59c8c6e61e52ad56b244  agent-awake.exe