docs: fix agents field type in plugin manifest reference#23971
Open
clowerweb wants to merge 1 commit intoanthropics:mainfrom
Open
docs: fix agents field type in plugin manifest reference#23971clowerweb wants to merge 1 commit intoanthropics:mainfrom
clowerweb wants to merge 1 commit intoanthropics:mainfrom
Conversation
The `agents` field in plugin.json only accepts an array of strings, but the manifest reference documented it as "String or Array of strings" with a string example. Using the string form causes plugin installation to silently fail. Updated the type to "Array of strings", fixed the examples to use array syntax, and added a note warning against the string form. Fixes anthropics#21598 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Must be a regression - a string, without an array, works on my v2.1.19. The array also works. |
Author
Thanks for the feedback! The original issue reporter (#21598) found that string format caused silent installation failure when installing through the marketplace, though they didn't specify a version. It's possible string support worked in earlier versions and regressed. Either way, the array format works consistently across versions, so updating the docs to recommend that seems like the safer path. If string support is intentional and was accidentally broken, that's probably a separate bug fix in the core app. |
mrmrcode
approved these changes
Feb 10, 2026
|
The validation of either still fails |
This was referenced Mar 20, 2026
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
agentsfield type from "String or Array of strings" to "Array of strings" inmanifest-reference.md["./specialized-agents"]The
agentsfield inplugin.jsononly accepts an array of strings. Using the string form (e.g."./agents/") causes plugin installation to silently fail with no error surfaced to the user. Multiple community reports confirm only the array format works.Test plan
manifest-reference.mdshowsagentstype as "Array of strings"agentsexamples in the repo use array syntaxagentsFixes #21598
🤖 Generated with Claude Code