feat(claude): sync Claude Code plugin cache on install and update - #273
Merged
Conversation
Claude Code copies installed plugins into a versioned cache (~/.claude/plugins/cache/...) recorded in installed_plugins.json and loads from there, so refreshing the marketplace directory during `tracedecay upgrade`/`update-plugin` left running installs pinned to the stale cached version until the user manually ran `claude plugin update`. Install and update now drive Claude Code's own CLI (claude plugin install|update tracedecay@tracedecay) best-effort: temp-home installs (tests) skip it, and a missing or failing claude binary degrades to the existing restart hint. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This was referenced Jul 4, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #268 closing the last gap in automatic plugin updates:
claude plugin installcopies the bundle into a versioned cache (~/.claude/plugins/cache/tracedecay/tracedecay/<version>) tracked byinstalled_plugins.jsonv2, and Claude Code loads from that cache — so refreshing the marketplace directory duringtracedecay upgradeleft sessions on the stale cached version until a manualclaude plugin update.Install and update-plugin now invoke Claude Code's own CLI (
claude plugin install|update tracedecay@tracedecay) so the cache and registry follow Claude Code's contract instead of us writing its internal files. Best-effort by design: only runs against the real user home (temp-home test installs skip it), and a missing/failedclaudebinary degrades to the existing restart hint.With #268 + this,
tracedecay upgradeupdates the Claude plugin end to end automatically.🤖 Generated with Claude Code