diegosouzapw/OmniRoute · error

Plugin ' ' not found in marketplace

Error message

Plugin '${name}' not found in marketplace

What it means

installMarketplacePlugin looked up the requested plugin name in the fetched marketplace listing (listMarketplacePlugins, seed fallback included) and found no entry with that exact name. Fires on a stale/typo'd plugin id, or when the marketplace index changed after the client last loaded it.

Solutions

  1. Check the exact plugin name in the marketplace listing
  2. Refresh the marketplace catalog if it may be stale
  3. Install from a local directory instead if the plugin is unpublished
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/lib/plugins/marketplace.ts:218 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/ab568f1aa26e160d. Report an issue: GitHub.

Appendix: source

Thrown at src/lib/plugins/marketplace.ts:218

  return plugins.find((p) => p.name === name);
}

/**
 * Check if marketplace is available.
 */
export function isMarketplaceAvailable(): boolean {
  return true; // Always available (falls back to seed)
}

/**
 * Install a plugin from the marketplace by name.
 * Downloads the plugin archive, verifies checksum if present, and installs via PluginManager.
 */
export async function installMarketplacePlugin(name: string): Promise<{ name: string; version: string }> {
  const plugins = await listMarketplacePlugins();
  const entry = plugins.find((p) => p.name === name);
  if (!entry) {
    throw new Error(`Plugin '${name}' not found in marketplace`);
  }

  // Create temp dir for download
  const tmpDir = await mkdtemp(join(tmpdir(), "plugin-mp-"));
  const tmpFile = join(tmpDir, "plugin.tar.gz");

  try {
    // Download the plugin archive
    const response = await safeOutboundFetch(entry.downloadUrl, { guard: "public-only" });
    if (!response.ok) {
      throw new Error(`Failed to download plugin '${name}': ${response.status}`);
    }
    const buffer = Buffer.from(await response.arrayBuffer());

    // Verify SHA-256 checksum if provided
    if (entry.checksum) {
      const actual = createHash("sha256").update(buffer).digest("hex");
      if (actual !== entry.checksum) {

View on GitHub (pinned to a179ffed5b)