From ef6d5f25a0a91dfa20b0e0a403108b102334be21 Mon Sep 17 00:00:00 2001 From: Sebastian Herrlinger Date: Fri, 27 Mar 2026 00:47:37 +0100 Subject: [PATCH] skip compat check for non semver --- packages/opencode/src/plugin/shared.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/opencode/src/plugin/shared.ts b/packages/opencode/src/plugin/shared.ts index a8be2e67f4..0613ef1d2e 100644 --- a/packages/opencode/src/plugin/shared.ts +++ b/packages/opencode/src/plugin/shared.ts @@ -89,6 +89,7 @@ export async function resolvePathPluginTarget(spec: string) { } export async function checkPluginCompatibility(target: string, opencodeVersion: string) { + if (!semver.valid(opencodeVersion) || semver.eq(opencodeVersion, "0.0.0")) return const pkg = await readPluginPackage(target).catch(() => undefined) if (!pkg) return const engines = pkg.json.engines