Known Claude Code Cache Issue
Claude Code has a known issue where/plugin update does not refresh cached plugin files.
Symptoms of Stale Cache
If you experience any of these after updating:- New features mentioned in release notes are not available
- Bug fixes don’t take effect
- Log messages show an old version number
- Behavior hasn’t changed despite update command succeeding
Manual Cache Clearing Steps
Verifying Update Succeeded
After reinstalling and restarting, verify the new version is active:1. Check Plugin Directory
2. Check Binary Version
If the plugin includes version info in logs:3. Test New Features
If the update added new features, test them:Reinstalling After Update (Full Procedure)
If you want to be thorough, follow this complete reinstall procedure:When to Manually Clear Cache
You should manually clear cache in these situations:After Every Update
After Every Update
Recommended: Manually clear cache after every
/plugin update to ensure you’re running the latest version.Bug Fixes Not Working
Bug Fixes Not Working
If release notes mention a bug fix but you still see the bug:
- Clear cache
- Reinstall
- Test again
After Manual Plugin File Edits
After Manual Plugin File Edits
If you manually edited files in
~/.claude/plugins/cache/typemux-cc-marketplace/ for testing:Always reinstall afterward:Unexplained Behavior After Update
Unexplained Behavior After Update
If typemux-cc behaves strangely after an update:
- Clear cache and reinstall (as shown above)
- Enable trace logging:
- Restart Claude Code
- Check logs for errors:
Alternative: Local Development Install
If you frequently encounter cache issues, consider using a local development install:With a local install, you control when to update by pulling from git and rebuilding. No cache surprises.
Update Checklist
Use this checklist every time you update typemux-cc:- Run
/plugin update typemux-cc@typemux-cc-marketplace - Remove cache:
rm -rf ~/.claude/plugins/cache/typemux-cc-marketplace/ - Reinstall:
/plugin install typemux-cc@typemux-cc-marketplace - Verify new timestamp:
ls -lh ~/.claude/plugins/cache/typemux-cc-marketplace/ - Restart Claude Code
- Open a Python file and verify type-checking works
- Check logs for any errors:
tail -50 /tmp/typemux-cc.log
Downgrading to Previous Version
If an update introduces a regression:Claude Code plugin system doesn’t support version pinning directly, but you can install from a specific git tag.
Reporting Update Issues
If you suspect a plugin update problem:-
Confirm cache is clear:
Timestamp should be recent.
-
Capture logs:
-
Include in report:
- Output of
ls -lh ~/.claude/plugins/cache/typemux-cc-marketplace/ - Steps you followed to update
- Log file
- Expected vs actual behavior
- Output of