Skip to main content
Version: 0.20.0

Type Alias: PluginSource

type PluginSource =
| string
| {
ref?: string;
repo: string;
sha?: string;
source: "github";
}
| {
ref?: string;
sha?: string;
source: "url";
url: string;
}
| {
path: string;
ref?: string;
sha?: string;
source: "git-subdir";
url: string;
}
| {
[field: string]: unknown;
source: string;
};

Defined in: core/marketplaces.ts:22

Where a marketplace's plugin comes from, as marketplace.json says (Claude Code's forms).