diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-03-27 14:01:28 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-03-27 14:01:28 +0000 |
| commit | 21023337fa8011568b2570a3bd49fffed842ce86 (patch) | |
| tree | 16fa450c7db09a0be9e68a14998ed1942eb9273d /packages | |
| parent | 6274b0677c1c65815c525b9b199f1ce5c6fb97fc (diff) | |
| download | opencode-21023337fa8011568b2570a3bd49fffed842ce86.tar.gz opencode-21023337fa8011568b2570a3bd49fffed842ce86.zip | |
chore: generate
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/opencode/test/cli/tui/theme-store.test.ts | 5 | ||||
| -rw-r--r-- | packages/sdk/js/src/v2/gen/types.gen.ts | 8 | ||||
| -rw-r--r-- | packages/sdk/openapi.json | 29 |
3 files changed, 31 insertions, 11 deletions
diff --git a/packages/opencode/test/cli/tui/theme-store.test.ts b/packages/opencode/test/cli/tui/theme-store.test.ts index 23dcfb71c..936e3e6f7 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 ce5a47f84..4d0b13539 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<string> } + /** + * 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 | [ @@ -1457,10 +1461,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 */ share?: "manual" | "auto" | "disabled" diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index 245df2ce1..007391177 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -10961,16 +10961,35 @@ } } }, + "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": { - "type": "string" + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "prefixItems": [ + { + "type": "string" + }, + { + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": {} + } + ] + } + ] } }, - "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" - }, "share": { "description": "Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing", "type": "string", |
