refactor: unwrap PluginMeta namespace + self-reexport (#22945)

This commit is contained in:
Kit Langton
2026-04-17 00:02:05 +00:00
committed by GitHub
parent fb02744460
commit 974fa1b8b1
+2 -2
View File
@@ -8,7 +8,6 @@ import { Flock } from "@opencode-ai/shared/util/flock"
import { parsePluginSpecifier, pluginSource } from "./shared"
export namespace PluginMeta {
type Source = "file" | "npm"
export type Theme = {
@@ -185,4 +184,5 @@ export namespace PluginMeta {
const file = storePath()
return Flock.withLock(lock(file), async () => read(file))
}
}
export * as PluginMeta from "./meta"