fix(gemini): make Windows hooks and agent tools valid

This commit is contained in:
Tom Boucher
2026-05-10 17:39:06 -04:00
committed by GitHub
parent ab84538712
commit 19295f5ab6
6 changed files with 145 additions and 19 deletions

View File

@@ -0,0 +1,6 @@
---
type: Fixed
pr: 3368
---
**Gemini install output is valid on Windows PowerShell** - managed hook commands now use PowerShell's call operator when invoking quoted Node runners on Windows, and reinstall rewrites existing managed hooks without double-prefixing them. Gemini agent conversion also drops Claude-only `AskUserQuestion` / `ask_user` tool metadata and rewrites body references to runtime-neutral prompt wording. Fixes #3362.