Agent AwakeVersion 1.4.0 is the standard stable release. Install or update normally; no pre-release opt-in is required. It promotes the same runtime as 1.3.0, without changing your settings or enabling protection automatically. Click the ready coffee cup before a long run. Click the green cup when you are done. Agent Awake requests local system and screen activity while you explicitly
enable it. Use your normal Copilot, Claude, build, or other application;
no replacement chat, model account, or Windows limitation: the screen stays on while enabled. Use AC power. Explicit Sleep, lid closure, lock/battery/company policies can override requests. Green means a native request was acknowledged, not immunity from forced sleep. Automatic Copilot activity detection is not implemented in this release. The public name is Agent Awake. The original extension ID
Optional experimental mouse jiggleAgent Awake: Start Experimental Mouse Jiggle... remains an optional command in the stable release. It is Windows-only and remains unverified. The normal cup and native commands still use the original power-request route; there is no persistent mouse-jiggle setting and no automatic activation. For supervised testing, start with Off, run that explicit command, and read its per-session warning. Only choosing Start mouse jiggle starts the helper. Canceling, turning Off while the warning is open, or leaving an existing session active will not silently enable input. It uses the configured Duration (Hours), including 0/until-off. Clicking its active cup, expiry, window close/reload or helper failure stops the owned session.
This optional feature is a compatibility experiment, not a measured CPU/memory improvement or a verified sleep fix. A stable release channel does not certify the experimental mouse mode. Automated checks do not send live synthetic input; the Windows startup check precloses stdin before initialization, so the movement loop cannot run. The guard checker also executes the production pulse function and buffer allocation against a stub native class. It checks the paired mouse-only buffer, idle boundaries, held input, locked/changed desktop, canceled input, partial rejection and 32-bit tick wrap. These are control-flow and memory-layout checks, not evidence that a live Windows input event prevents sleep. The native
Use it in VS CodeRequirements: desktop VS Code 1.95 or newer. Manual power control needs no hooks, model account, API key, or subscription. Windows is the validated native-request target; macOS/Linux protection remains explicitly unverified.
The coffee click uses Duration (Hours), which defaults to 0 (no expiry).
Open Settings, search
What the cup looks like
These supplied UI illustrations are cropped to the control. They show its appearance, not evidence that the latest build passed an unattended sleep test. The tooltip and screen-reader label also announce the state; color alone is not the only indication. You can also run Agent Awake: Configure Duration (Hours) from the Command Palette. The setting applies to the next session only; changing it does not silently extend, shorten, or disable a session already running. The duration is an application setting, not a workspace-file override. For a one-off duration without changing the default, use Agent Awake: Choose Duration for a Timed Session: 30 minutes, 1, 2, 4, or 8 hours, or Until I turn it off. Live-forever mode has no expiry timer, but it never starts by itself or survives closing/reloading the window. Manual mode does not detect chat completion. Pressing Stop in a chat does not switch Agent Awake off. Click the green cup or use Agent Awake: Turn Off. Selecting Off never aborts or modifies Copilot work.
The tooltip explains Off, Manual, or Auto, confirmed protection,
owner count, and any deadline. Click to turn your configured session on or off.
Hover to see expiry date/time, or until you turn it off.
The screen-reader label
also announces On or Off; green follows the theme's success color. Opening another window
does not activate it. Closing/reloading the owning window clears its session.
There is no persistent always-on setting or editor-activity heuristic.
Old Auto - Copilot activity: unavailable in this previewSupported native hooks exist, but complete terminal/cancellation behavior and
window-instance routing have not been verified for the current Local or Copilot
Agent Host runtime. A Selecting Auto from Off shows Auto: Unavailable, with no power helper, monitoring timer, local IPC endpoint, or hook configuration changes. Attempting unavailable Auto while Manual is active preserves that hold and explains why. Choose Keep awake when you need reliable explicit ownership. The old What is protected
Free and entirely localThe extension is free and MIT-licensed. Manual controls read no chat content and need no sign-in, API key, model access, or subscription. There are no production runtime dependencies, listening servers, telemetry, or cloud calls. Your normal chat provider keeps its own account, consent, plan, and usage rules; this extension neither uses nor bypasses them. No personal transcripts, private chat storage, credentials, or provider logs are watched. Other chats are not modified. Only maintainers need publication credentials; local installation does not. Security and cleanup boundaries
The earlier optional-chat attachment issue was mitigated in its historical implementation; that route is now excluded from the shipped runtime entirely. Bounded review and passing tests do not prove all possible defects are absent. Lightweight and bounded
Sleep requests cannot override every OS policy, forced shutdown, or explicit sleep action. On Linux, a logind block inhibitor can also affect lid/power-button suspend. Linux permission/session behavior still needs native validation. Windows Modern Standby and the reported idle failureThe earlier system-only build acknowledged a request while this laptop still entered Modern Standby at its three-minute idle timeout. Checking acknowledgement bits was not sufficient proof of unattended protection. The corrected Windows route requests both system and display activity. The screen-on tradeoff is explicit: use AC power for dependable long runs. Windows battery policy, lid/power-button sleep, explicit Sleep, and company policies can still override requests. The extension does not bypass lock screens, simulate input, change registry/power-plan policy, or need admin rights. Green indicates an acknowledged live request, not immunity to forced OS actions. The native idle test below additionally checks actual Kernel-Power sleep/ Modern Standby events and the measured last-input interval beyond the existing idle policy. Input during the test makes it inconclusive, not a passed soak. Local testing and UAT
There is an opt-in controlled-editor hardware component check on Windows:
It launches a disposable VS Code profile, verifies the candidate's loaded version and actual cup command binding, and takes the hold only through its production coordinator. A separate read-only observer creates no inhibitor. It requires PowerShell 7, AC power, finite existing idle policies, and at least 240 seconds of genuine input inactivity. It never edits those policies. Successful completion also checks editor-close cleanup. This controlled editor is not the affected work window and is not native chat Auto or publication approval. The affected-window check uses observe-window-windows.ps1 with the actual window's own extension log and explicitly expected loaded version. Do not infer that version from the installed Extensions list. The observer records changes to the OS's last-input timestamp, not keyboard characters or mouse positions. Repeated timestamp changes can originate from automated activity as well as a person; their source is not inferred. Such activity keeps the result inconclusive. Do not disable unrelated software, inject input, or weaken the idle threshold to manufacture a pass. For a real unattended Windows test on AC power:
To allow a bounded wait for four minutes of genuine no-input time, use
The test must exceed the machine's current finite sleep/display idle timeouts. It makes no power-plan changes, injects no input, checks for sleep/Modern Standby events, and releases only its own helper afterward. It requires PowerShell 7 and Node, and is not a guarantee for battery or forced-sleep policy. Integration tests run the actual power-control commands in a separate VS Code
profile. They check native holds, Off, timed/no-expiry behavior, settings,
rapid transitions, truthful unavailable Auto, failures and editor shutdown.
No model is invoked. These are not evidence that native Copilot Auto or
the unattended laptop sleep problem has passed UAT.
Unit tests have a 5-second per-test deadline. Integration runs have an 8-minute
watchdog ( For a focused native regression, For Windows UAT, click the actual ready cup. Verify the green cup and confirmed Manual tooltip. Continue your normal prompt; click again when done and verify the neutral ready label returns with no owned helper. Check explicit timed expiry and the 0-hour no-expiry choice separately. Auto must remain clearly unavailable and must not silently stop an active Manual hold. Opening the editor without clicking the control must stay inactive. Installing an update does not replace the handler in an already-running window. If clicking a ready cup only shows the old scope message, that window is using the earlier build. Use Developer: Reload Window when its agent work is done. The extension's own log records the loaded version so this can be verified, rather than guessing from the installed Extensions list. Independent extensions, shared VS Code hostAgent Awake has no dependency on AI Credits Usage Tracker and never activates, refreshes, or restarts it. Their commands, settings, and owned helpers/workers are separate. Agent Awake's Off stops its own power ownership; it does not reload VS Code or another extension. Developer: Reload Window and Developer: Restart Extension Host are VS Code-wide lifecycle actions for that window. They restart the shared extension host and consequently reload other enabled extensions, including AI Credits. They are not a restart of Agent Awake alone. The same shared-host boundary means a host crash can affect both; independent features do not imply separate crash-isolated extension-host processes. For ordinary use, click the coffee control to turn it On or Off; no reload is needed. Reserve a window reload for loading an installed update, and do it when active agent work is safe to interrupt. Native macOS/Linux tests are still required before claiming validated support.
Linux OS verification uses Native Auto evidence gatesOfficial Local/Copilot hooks are legitimate integration routes; they are not universally unusable. Before Auto can be offered as working protection, its specific harness must prove request start, final end/cancellation, failure, blocked Stop/continuation, silent work, overlap, child ownership and routing to the correct local window. A repository path or optional session ID alone does not establish that routing. The Local Sources: Local hooks reference, Copilot hooks reference, VS Code extension hosts. Validation scope and version checksWindows native command/request and cleanup checks pass, including the actual cup's command binding, timed expiry, failure/retry, and editor exit. The genuine unattended hardware test remains inconclusive because input continued during the measured intervals. The stable-channel promotion preserves the working runtime reported by users; it does not claim that every device or OS policy can be overridden. Native Copilot Auto and macOS/Linux confirmation remain separately unverified. Local source, an installed VSIX, a loaded window and the Marketplace version are distinct. The stable channel is the default distribution channel, not a hardware-certification guarantee. After an update, reload a window only when its agent work is safe to interrupt, then use Agent Awake: Show Log to check the loaded version. Reload starts Off; click the cup to enable it again. CI tests are manually triggered. There is no automatic Marketplace release
workflow. The usage/why source is in this repository's Release channelsThe standard Marketplace channel receives stable versions such as 1.4.0. Previews are optional and use a separate pre-release flag, never required for normal installation. The existing extension ID is preserved across channels. Stable packages are built with License: MIT. Windows references: SetThreadExecutionState, power-request limits. |

