fix(claude-plugin): resolve schema validation error in marketplace.json#71
Merged
Alan-TheGentleman merged 1 commit intoMar 13, 2026
Conversation
Updated the nested source key to fix the setup unmarshaling panic.
Contributor
Author
|
On a personal note: I was installing the tool for my personal Claude Code on my Fedora Linux machine and ran into this error. I couldn't resist digging into the repository to see what was going on. My only disappointment was finding out it was just a simple JSON schema fix—I was actually looking forward to poking around the Go codebase since I'm currently learning it! Thks for the awesome tool anyway ;;) |
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.
Fix invalid schema in
marketplace.jsonbreaking automated setup./.claude-plugin/marketplace.jsonThe Bug
When users run the automated setup command:
The CLI fails during the marketplace validation step with:
Root Cause
In
./.claude-plugin/marketplace.json, thesourceobject contained a redundant nested"source"key. The strict JSON unmarshaler in the Go CLI (or the Anthropic marketplace schema validation) fails to parse this nested structure — it expects either a flattened string or a different key identifier like"type".Changes Made
Note to maintainer
If the Anthropic schema requires a different specific key instead of
"type", please adjust during merge. The current nested"source"key is the one actively breaking the automated setup flow.Testing
Verified that correcting this JSON structure allows the
engram setup claude-codeunmarshaling process to pass without throwing theInvalid inputpanic.Credits to @alaslibress ;)