From 21023337fa8011568b2570a3bd49fffed842ce86 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Fri, 27 Mar 2026 14:01:28 +0000 Subject: [PATCH] chore: generate --- .../opencode/test/cli/tui/theme-store.test.ts | 5 +-- packages/sdk/js/src/v2/gen/types.gen.ts | 8 ++--- packages/sdk/openapi.json | 31 +++++++++++++++---- 3 files changed, 32 insertions(+), 12 deletions(-) diff --git a/packages/opencode/test/cli/tui/theme-store.test.ts b/packages/opencode/test/cli/tui/theme-store.test.ts index 23dcfb71cf..936e3e6f7c 100644 --- a/packages/opencode/test/cli/tui/theme-store.test.ts +++ b/packages/opencode/test/cli/tui/theme-store.test.ts @@ -1,7 +1,8 @@ import { expect, test } from "bun:test" -const { DEFAULT_THEMES, allThemes, addTheme, hasTheme, resolveTheme } = - await import("../../../src/cli/cmd/tui/context/theme") +const { DEFAULT_THEMES, allThemes, addTheme, hasTheme, resolveTheme } = await import( + "../../../src/cli/cmd/tui/context/theme" +) test("addTheme writes into module theme store", () => { const name = `plugin-theme-${Date.now()}` diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts index ce5a47f84b..4d0b13539f 100644 --- a/packages/sdk/js/src/v2/gen/types.gen.ts +++ b/packages/sdk/js/src/v2/gen/types.gen.ts @@ -1447,6 +1447,10 @@ export type Config = { watcher?: { ignore?: Array } + /** + * Enable or disable snapshot tracking. When false, filesystem snapshots are not recorded and undoing or reverting will not undo/redo file changes. Defaults to true. + */ + snapshot?: boolean plugin?: Array< | string | [ @@ -1456,10 +1460,6 @@ export type Config = { }, ] > - /** - * Enable or disable snapshot tracking. When false, filesystem snapshots are not recorded and undoing or reverting will not undo/redo file changes. Defaults to true. - */ - snapshot?: boolean /** * Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing */ diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index 245df2ce19..007391177b 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -10961,16 +10961,35 @@ } } }, - "plugin": { - "type": "array", - "items": { - "type": "string" - } - }, "snapshot": { "description": "Enable or disable snapshot tracking. When false, filesystem snapshots are not recorded and undoing or reverting will not undo/redo file changes. Defaults to true.", "type": "boolean" }, + "plugin": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "prefixItems": [ + { + "type": "string" + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + ] + } + }, "share": { "description": "Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing", "type": "string",