fix(windows): add windowless agent-libw for scheduled sync
agent-lib.exe is a console program, so Windows opens a terminal window on every scheduled run. Ship agent-libw.exe, the same program built with -H=windowsgui, in the Windows zip for use in the task action. Start the PowerShell toast without a window, since agent-libw has no console to inherit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5e7d693699
commit
e41ffa6a14
5 files changed
+32
-1
No files matched your search
@@ -300,6 +300,7 @@ flag that drives the non-zero exit code — suitable for headless drift checks.
|
||||
| `status` exits 1 | Local modifications block repository updates (or occupy names the repo needs). See `status` output for the item list. |
|
||||
| Sync fails with clone/fetch error | Work repository unreachable, or token expired. Previous local state remains intact; fix config/network and re-run. |
|
||||
| No toast on Windows | Toasts need an interactive user session — the scheduled task must run as the logged-in user, not SYSTEM. |
|
||||
| Terminal window flashes on scheduled sync (Windows) | The task runs the console program `agent-lib.exe`. Point it at `agent-libw.exe sync` from the same zip: same commands, no window, no output. |
|
||||
|
||||
## Development
|
||||
|
||||
|
||||
Reference in new issue
Block a user