What
Plugins can now be sourced from a subdirectory within a larger repository (monorepo support).
Details
- Uses sparse checkout (
--filter=tree:0) to minimize bandwidth for monorepo plugins - Only the specified subdirectory is materialized; the rest of the repo is not downloaded
- Requires git version 2.25 or later for cone mode support
- Falls back to unshallow fetch if sparse-checkout fails
Evidence
git-subdir support (search for "git-subdir", "Subdirectory within the repo containing the plugin")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Added plugin source type git-subdir to point to a subdirectory within a git repo