diegosouzapw/OmniRoute · error
Plugin '${name}' not found in marketplace
Error message
Plugin '${name}' not found in marketplace What it means
Error "Plugin '${name}' not found in marketplace" thrown in diegosouzapw/OmniRoute.
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)
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.