Skip to main content

Known Claude Code Cache Issue

Claude Code has a known issue where /plugin update does not refresh cached plugin files.
After running /plugin update, you may still see the old version of typemux-cc running because Claude Code serves the plugin from cache instead of the newly downloaded 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
You likely have a cached plugin that needs manual clearing.

Manual Cache Clearing Steps

1

Remove cached plugin files

This removes the cached version that Claude Code is serving.
2

Reinstall the plugin

This downloads fresh plugin files from the marketplace.
3

Restart Claude Code

Completely quit and restart Claude Code (not just reload window).
Bookmark this page for quick reference next time you update typemux-cc.

Verifying Update Succeeded

After reinstalling and restarting, verify the new version is active:

1. Check Plugin Directory

Check the timestamp — it should match when you ran the reinstall command.

2. Check Binary Version

If the plugin includes version info in logs:
Restart Claude Code, open a Python file, and check logs:

3. Test New Features

If the update added new features, test them:
Restart Claude Code and verify it works.

Reinstalling After Update (Full Procedure)

If you want to be thorough, follow this complete reinstall procedure:
1

Check current version

Note the timestamp of existing files.
2

Update via Claude Code

Wait for the command to complete.
3

Clear the cache

4

Reinstall

5

Verify fresh files

Timestamp should be newer than before.
6

Restart Claude Code

Quit Claude Code completely and restart.

When to Manually Clear Cache

You should manually clear cache in these situations:
Recommended: Manually clear cache after every /plugin update to ensure you’re running the latest version.
If release notes mention a bug fix but you still see the bug:
  1. Clear cache
  2. Reinstall
  3. Test again
If the bug persists after a fresh install, it may not be fixed yet or you may have a different issue.
If you manually edited files in ~/.claude/plugins/cache/typemux-cc-marketplace/ for testing:Always reinstall afterward:
Manual edits to cached plugin files are for debugging only. They will be lost on next update.
If typemux-cc behaves strangely after an update:
  1. Clear cache and reinstall (as shown above)
  2. Enable trace logging:
  3. Restart Claude Code
  4. 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:
  1. Confirm cache is clear:
    Timestamp should be recent.
  2. Capture logs:
  3. Include in report:
    • Output of ls -lh ~/.claude/plugins/cache/typemux-cc-marketplace/
    • Steps you followed to update
    • Log file
    • Expected vs actual behavior