Cover Claude Code's plugin-directory v2 state (installs don't propagate)

Open Beginner friendly
#102 0 comments 0 reactions 0 assignees View on GitHub

@jrevillard is already working on this.

Since Oct 10, 2026.

  • #104 by @jrevillard — closed without merging
  • #109 by @jrevillard — open

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
75/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

The plugins category allowlist is defined in registry.rs; extend it with plugin-directory-bindings.json and plugin-directory-cache-v2.json so directory-style installs propagate between machines. Add a registry test covering the new entries, then run the test suite to confirm the manifest now includes the v2 state files.

Written by the indexing model from the issue text.

Description

Context

Recent Claude Code versions have a second plugin system: installs from the
built-in plugin directory (e.g. code-simplifier from
anthropic-plugin-directory) record their state in:

  • ~/.claude/plugins/plugin-directory-bindings.json
  • ~/.claude/plugins/plugin-directory-cache-v2.json
  • (plugin-catalog-cache.json for the catalog view)

Current behavior (v0.4.0)

The plugins category is an exact allowlist of
installed_plugins.json + known_marketplaces.json. Directory-style
installs rewrite neither, so they never propagate between machines —
a fresh machine shows none of them, and an install on one machine never
reaches the other (verified: install → sync → the two manifests are
byte-identical, tool correctly reports "no changes").

Classic marketplace installs/updates propagate fine, so the gap is only
the v2 files.

Ask

Extend the plugins category allowlist with plugin-directory-bindings.json
and plugin-directory-cache-v2.json (the raw plugin caches under
plugins/cache/** can stay machine-local, same as today).

One-line change in registry.rs + a registry test; PR incoming.

Dominant language
Rust
Stars
104
Forks
21
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from perfectra1n/claude-code-sync

All issues in perfectra1n/claude-code-sync

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.