Use string form for repository field in plugin.json#2
Open
bryan-anthropic wants to merge 1 commit into
Open
Conversation
The Claude plugin schema (validated by `claude plugin validate`) requires
the `repository` field to be a string URL, not an npm-style `{type, url}`
object. Submitting this plugin to a marketplace using the validate-plugins
GitHub Action fails today with:
repository: Invalid input: expected string, received object
Switching to the string form resolves validation and matches the form
used by other SAP plugins (e.g. cap-js/mcp-server, SAP/open-ux-tools).
|
|
bryan-anthropic
added a commit
to anthropics/claude-plugins-official
that referenced
this pull request
May 8, 2026
150+ SAP HANA database tools for AI assistants. Pinned at 160ae47e. Held: this PR is on hold pending an upstream plugin.json fix in SAP-samples/hana-cli-claude-plugin#2 (the upstream repo uses the npm-style {type, url} form for `repository`; Claude's plugin schema requires the string form). Once that lands, bump the SHA pin here to the merge commit and re-run CI. Other SAP namespace work that was previously bundled in this PR has been split into: - #1777 add sap-fiori-mcp-server - #1778 add sap-cds-mcp + author block on cds-mcp - #1779 align SAP author blocks on sap-mdk-server, ui5, ui5-typescript-conversion
Author
|
Friendly ping on this PR — happy to discuss any concerns or iterate on the change if there's something I can adjust. The string form for Let me know if there's anything I can do to help move this forward. |
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.
The Claude plugin schema (validated by
claude plugin validate) requires therepositoryfield to be a string URL, not an npm-style{type, url}object.When this plugin is referenced from a marketplace and the validate-plugins GitHub Action runs against it, validation fails with:
Change
This matches the form used by other SAP plugins published to Claude Code marketplaces (e.g.
cap-js/mcp-server,SAP/open-ux-toolspackages).No other changes —
name,description,author,homepage,license,keywords, and the actual git repository URL all remain identical.