Repository navigation
v0.7.1
Windows fix. Claude Code runs commands through its PowerShell tool on Windows, and the install hook only watched Bash, so most commands an agent ran there were never checked.
- The plugin's PreToolUse hook now matches
Bash|PowerShelland vets PowerShell commands the same way. - PowerShell commands are read with PowerShell quoting (literal backslashes, backtick escape), so
& C:\tools\npx.cmd -y some-pkgis caught. The same applies insidepwsh -Command '…'. - API:
extractCommandTargetstakes an optionaldialect: 'posix' | 'powershell'.
Upgrading: plugin users, update the plugin in /plugin and start a new session. If you wired the hook into .claude/settings.json by hand, change its matcher to "Bash|PowerShell".
Full notes: https://fguerreir0.github.io/ghostimport/releases/#v0.7.1