Skip to main content

Module plugin_bundle

Module plugin_bundle 

Source
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§

ManifestAuthor
PluginManifest

Constants§

PLUGIN_MANIFEST_DIRS
Manifest directory names accepted on a host, in preference order.
PLUGIN_MANIFEST_FILE
PLUGIN_MANIFEST_RELPATH

Functions§

bundle_has_manifest