gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Refresh hooks when refreshing extensions.

Open scidomino opened this issue 2 weeks ago • 4 comments

Summary

Refresh hooks when refreshing extensions

Details

Also:

  • removed unnecessary initialization protection from hooks. HookSystem.initialize() is only called from config.initialize() which already has protections against multiple calls.
  • removed .integration-test file that was accidentally merged in a previous PR.

Related Issues

Fixes #14531

How to Validate

Uninstall an extension with a hook and verify that it no longer gets called.

Pre-Merge Checklist

  • [ ] Updated relevant documentation and README (if needed)
  • [ ] Added/updated tests (if needed)
  • [ ] Noted breaking changes (if any)
  • [ ] Validated on required platforms/methods:
    • [ ] MacOS
      • [x] npm run
      • [ ] npx
      • [ ] Docker
      • [ ] Podman
      • [ ] Seatbelt
    • [ ] Windows
      • [ ] npm run
      • [ ] npx
      • [ ] Docker
    • [ ] Linux
      • [ ] npm run
      • [ ] npx
      • [ ] Docker

scidomino avatar Dec 10 '25 23:12 scidomino