fix(marketplace): switch source from '.' to url-form (#37 Phase 4 verify caught the §1 weakest spot) #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/marketplace-source-url-form"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Phase 4 E2E install verify of internal#37 caught a real failure:
source: "."(relative-path form) is not supported in Claude Code 2.1.132. The url-form works.This was molecule-mcp-claude-channel#1's §1 weakest-spot prediction made true — and the fix is the one-line change Phase 4 forecast.
Phase 4 verify transcript
Round 1 (current main with
source: "."):Round 2 (this PR's url-form):
Verified on operator host
5.78.80.188in cleannode:20-bookwormcontainer.Change (1 file)
.claude-plugin/marketplace.json:Per Claude Code marketplace docs (plugin-marketplaces — "Plugin sources" section), source accepts three formats:
"./<path>") — for plugins inside the marketplace's own repo. Apparently version-gated; not yet supported in 2.1.132 stable.{"source": "github", "repo": "owner/repo"}) — GitHub-only.{"source": "url", "url": "https://..."}) — works with arbitrary git host (Gitea, GitLab, self-hosted, etc.). Use this for portability.URL form points back at the same repo — it's a self-reference but Claude Code resolves it correctly (clone happens once during marketplace add; install reads from the cached clone).
DoD
Pure-config PR. No tests / observation / migration / version bump. Same
version(0.4.0-gitea.1) since the plugin code itself didn't change — only the install-mechanism.Hostile self-review (3 weakest spots)
homepagefield already references the same URL; both move together. Accepted: same constraint that always applied to a single-source-of-truth URL.source: "."will work in a future Claude Code version. The agent's research suggested"."IS the canonical form per docs but isn't yet supported in 2.1.132. If Claude Code 2.2+ adds support, a contributor might want to revert to"."for cleanliness. Mitigation: the url-form ALWAYS works; even if"."is later supported, no urgency to change. Accepted: working > clean.Refs