Fixes
- Aggressive cache heal:
pretooluse.mjshook now copies all new files directly into the registry's installPath directory (e.g.,0.7.0/), updates the version ininstalled_plugins.json, and deletes all stale version directories. This fixes the "stuck on old version" problem for all users. - In-place upgrade: Upgrade command updates files in the current directory instead of creating new version directories.
How it works
After /context-mode:upgrade, the upgrade updates the hook path to the new code. On the next tool use, the hook automatically:
- Copies new code into the old installPath directory
- Updates the version in the registry
- Deletes stale cache directories
One session restart after upgrade picks up the new version completely.
Upgrade
```
/context-mode:upgrade
```
Restart your Claude Code session after upgrade.