Add marketplace feed entries command (#96158)

Merged via squash.

Prepared head SHA: 1289a25156
Co-authored-by: giodl73-repo <235387111+giodl73-repo@users.noreply.github.com>
Co-authored-by: giodl73-repo <235387111+giodl73-repo@users.noreply.github.com>
Reviewed-by: @giodl73-repo
This commit is contained in:
Gio Della-Libera
2026-06-28 14:11:29 -07:00
committed by GitHub
parent d1d0176acc
commit 9bb004359e
5 changed files with 362 additions and 1 deletions

View File

@@ -26,6 +26,13 @@ export type PluginMarketplaceListOptions = {
json?: boolean;
};
export type PluginMarketplaceEntriesOptions = {
feedProfile?: string;
feedUrl?: string;
json?: boolean;
offline?: boolean;
};
export type PluginMarketplaceRefreshOptions = {
expectedSha256?: string;
feedProfile?: string;
@@ -283,6 +290,18 @@ export function registerPluginsCli(program: Command) {
.command("marketplace")
.description("Inspect Claude-compatible plugin marketplaces");
marketplace
.command("entries")
.description("List entries from the configured OpenClaw marketplace feed")
.option("--feed-profile <name>", "Configured marketplace feed profile to list")
.option("--feed-url <url>", "Explicit hosted marketplace feed URL")
.option("--offline", "Read the latest accepted snapshot without fetching the feed", false)
.option("--json", "Print JSON")
.action(async (opts: PluginMarketplaceEntriesOptions) => {
const { runPluginMarketplaceEntriesCommand } = await loadPluginsRuntime();
await runPluginMarketplaceEntriesCommand(opts);
});
marketplace
.command("refresh")
.description("Refresh the configured OpenClaw marketplace feed snapshot")