Files
orca/src
Neil 5216a8008f fix(agent-hooks): stop Antigravity's Windows hook from spawning PowerShell per event (#15117)
Antigravity was the last agent posting hook status through Windows PowerShell
5.1. Every hook event — roughly one every 2-6s during an active session — paid a
~300ms interpreter cold start, which is what made the console the agent
allocates for each hook long enough to see as continuous flashing.

Move the Windows POST to the shared curl.exe builder every other agent already
uses. curl finishes in ~10ms and, unlike PowerShell, does not recode the UTF-8
payload through the console code page.

Because the curl line percent-expands values, the script also needs
`setlocal DisableDelayedExpansion` (#9358/#9941) so a `!` in a pane key or
worktree path is not eaten as a delayed reference.
2026-08-19 12:54:28 -07:00
..