Skip to content

refactor: use known_marketplaces.json for plugin discovery#3

Merged
scaryrawr merged 1 commit intomainfrom
feat/known-marketplaces
Jan 14, 2026
Merged

refactor: use known_marketplaces.json for plugin discovery#3
scaryrawr merged 1 commit intomainfrom
feat/known-marketplaces

Conversation

@scaryrawr
Copy link
Owner

Summary

Switches plugin discovery from installed_plugins.json to known_marketplaces.json, aligning with Claude Code's current plugin management approach.

Changes

  • src/scanner.ts:

    • Replace InstalledPluginsFile interface with KnownMarketplacesFile
    • Read marketplace install locations from ~/.claude/plugins/known_marketplaces.json
    • Simplify scanAllPlugins() to only use scanMarketplacePlugins()
    • Remove scanInstalledPlugins() function (no longer needed)
    • Remove readPluginDescription() helper (descriptions come from marketplace.json)
  • CLAUDE.md + README.md: Update documentation references

Breaking Change

Plugins are now discovered via known_marketplaces.json instead of installed_plugins.json. This aligns with how Claude Code currently manages plugin installations and marketplaces.

- Replace installed_plugins.json with known_marketplaces.json
- Read marketplace install locations from Claude's known_marketplaces config
- Simplify scanAllPlugins to only use marketplace scanning
- Remove scanInstalledPlugins (no longer needed)
- Update docs to reference known_marketplaces.json

BREAKING CHANGE: Plugins are now discovered via known_marketplaces.json
instead of installed_plugins.json. This aligns with Claude Code's
current plugin management approach.
@scaryrawr scaryrawr merged commit 356f87c into main Jan 14, 2026
1 check passed
@scaryrawr scaryrawr deleted the feat/known-marketplaces branch January 14, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant