[DOCS] Managed marketplace docs are missing `pathPattern` and `git-subdir` source coverage
Documentation Type
Incorrect/outdated documentation
Documentation Location
https://code.claude.com/docs/en/settings
Section/Topic
strictKnownMarketplaces source schema and plugin marketplace source type documentation.
Current Documentation
Current source type docs describe:
github,git,directory,hostPattern
And restrictions guidance says:
For hostPattern sources: the marketplace host is matched against the regex pattern
No pathPattern field or git-subdir source type is documented.
What's Wrong or Missing?
Changelog v2.1.64 introduces two source-schema capabilities:
pathPatternforstrictKnownMarketplacesallowlists (regex matching on file/directory marketplace sources).- New plugin source type
git-subdirfor subdirectory-scoped git repository sources.
Current docs still describe the older source schema and do not explain these new controls.
Suggested Improvement
Update settings and plugin marketplace references to include:
pathPatternfield definition, matching semantics, and examples.git-subdirsource type schema and examples.- Compatibility notes versus existing
hostPattern/gitforms. - Validation/error guidance for malformed regex and mismatched sources.
Impact
Medium - Makes feature difficult to understand
Additional Context
Affected Pages:
| Page | Line(s) | Context |
|------|---------|---------|
| https://code.claude.com/docs/en/settings | 536-541, 568-637 | Source type and allowlist schema documentation omits pathPattern and git-subdir |
| https://code.claude.com/docs/en/plugin-marketplaces | 567-584 | Restriction matching docs cover hostPattern only |
| https://code.claude.com/docs/en/plugins-reference | 1-220 | Plugin source schema reference lacks git-subdir |
| https://platform.claude.com/docs/en/agent-sdk/plugins | n/a | Agent SDK cross-reference |
Total scope: 4 pages affected
Source: Changelog v2.1.64
- Added
pathPatterntostrictKnownMarketplacesfor regex-matching file/directory marketplace sources alongsidehostPatternrestrictions. - Added plugin source type
git-subdirto point to a subdirectory within a git repo.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗