Skip to content

fix: use "./" as plugin source path (schema compliance)#29

Open
michaelpascoe-unbound wants to merge 1 commit intopatchorbit:mainfrom
TheUnboundCo:main
Open

fix: use "./" as plugin source path (schema compliance)#29
michaelpascoe-unbound wants to merge 1 commit intopatchorbit:mainfrom
TheUnboundCo:main

Conversation

@michaelpascoe-unbound
Copy link
Copy Markdown

Summary

.claude-plugin/marketplace.json currently declares the plugin's source as ".". 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 via directory sources and (I suspect, haven't tested) github sources too.

Reproduction

When installing this marketplace locally (via extraKnownMarketplaces with a directory source 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.

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.
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