summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-17 21:08:00 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-17 21:08:00 +0000
commit89e8994fd15c4ac1235930a07e0b6e37254df22b (patch)
tree14823a6e135f7c1ddd6be028c25df8430cb74f17
parent5980b0a5eeb8f7a8dc31433f86e458dbe3358269 (diff)
downloadopencode-89e8994fd15c4ac1235930a07e0b6e37254df22b.tar.gz
opencode-89e8994fd15c4ac1235930a07e0b6e37254df22b.zip
chore: generate
-rw-r--r--packages/opencode/src/config/plugin.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/opencode/src/config/plugin.ts b/packages/opencode/src/config/plugin.ts
index ebc3e2230..4277c1cd6 100644
--- a/packages/opencode/src/config/plugin.ts
+++ b/packages/opencode/src/config/plugin.ts
@@ -11,10 +11,9 @@ export type Options = Schema.Schema.Type<typeof Options>
// Spec is the user-config value: either just a plugin identifier, or the identifier plus inline options.
// It answers "what should we load?" but says nothing about where that value came from.
-export const Spec = Schema.Union([
- Schema.String,
- Schema.mutable(Schema.Tuple([Schema.String, Options])),
-]).pipe(withStatics((s) => ({ zod: zod(s) })))
+export const Spec = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options]))]).pipe(
+ withStatics((s) => ({ zod: zod(s) })),
+)
export type Spec = Schema.Schema.Type<typeof Spec>
export type Scope = "global" | "local"