fix: use "./" as plugin source path (schema compliance)#29
Open
michaelpascoe-unbound wants to merge 1 commit intopatchorbit:mainfrom
Open
fix: use "./" as plugin source path (schema compliance)#29michaelpascoe-unbound wants to merge 1 commit intopatchorbit:mainfrom
michaelpascoe-unbound wants to merge 1 commit intopatchorbit:mainfrom
Conversation
Claude Code's plugin marketplace schema rejects "." as a relative source path; it must be "./" to parse as a valid relative directory reference. This one-character fix unblocks marketplace registration. Opened upstream as PR for patchorbit/domscribe.
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.
Summary
.claude-plugin/marketplace.jsoncurrently declares the plugin'ssourceas".". Claude Code's plugin marketplace schema rejects this as invalid; the relative-directory-reference form it expects is"./". The one-character fix here unblocks adding the marketplace viadirectorysources and (I suspect, haven't tested)githubsources too.Reproduction
When installing this marketplace locally (via
extraKnownMarketplaceswith adirectorysource pointing at a clone of this repo), Claude Code errors out on the"."source and won't register the plugin.Fix
Change
"source": "."→"source": "./"in.claude-plugin/marketplace.json. No other changes.Happy to rework if you prefer a different pattern — just wanted to flag the schema issue and propose the minimum-risk fix.