[DOCS] Managed marketplace docs are missing `pathPattern` and `git-subdir` source coverage

Resolved 💬 2 comments Opened Mar 4, 2026 by coygeek Closed Mar 7, 2026

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:

  1. pathPattern for strictKnownMarketplaces allowlists (regex matching on file/directory marketplace sources).
  2. New plugin source type git-subdir for 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:

  1. pathPattern field definition, matching semantics, and examples.
  2. git-subdir source type schema and examples.
  3. Compatibility notes versus existing hostPattern/git forms.
  4. 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 pathPattern to strictKnownMarketplaces for regex-matching file/directory marketplace sources alongside hostPattern restrictions.
  • Added plugin source type git-subdir to point to a subdirectory within a git repo.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗