Expand description
Plugin bundle contract: the .claude-plugin/plugin.json manifest shape and
the well-formedness predicate every consumer shares.
A plugin bundle is the installable artifact a host (Claude Code / Cowork)
reads: a directory rooted on .claude-plugin/plugin.json plus the component
files it ships (skills/<n>/SKILL.md, agents/<n>.md, .mcp.json, …).
PluginManifest is that manifest; bundle_has_manifest is the single
definition of “is this directory a well-formed bundle?” so the gateway
serve path, the bridge sync, the CLI generator, and the marketplace export
never drift on the contract.
Structs§
Constants§
- PLUGIN_
MANIFEST_ DIRS - Manifest directory names accepted on a host, in preference order.
- PLUGIN_
MANIFEST_ FILE - PLUGIN_
MANIFEST_ RELPATH