diff options
| author | GitHub Action <[email protected]> | 2025-12-26 17:09:31 +0000 |
|---|---|---|
| committer | GitHub Action <[email protected]> | 2025-12-26 17:09:31 +0000 |
| commit | 634559760a99669446f0d17319c6a725427fe8a7 (patch) | |
| tree | b03fadc021a9b7727a74931a8e2994499d9128ef | |
| parent | 155ba794cf974ed4473844c5611736178f1e5f7d (diff) | |
| download | opencode-634559760a99669446f0d17319c6a725427fe8a7.tar.gz opencode-634559760a99669446f0d17319c6a725427fe8a7.zip | |
chore: generate
| -rw-r--r-- | packages/sdk/js/src/v2/gen/types.gen.ts | 10 | ||||
| -rw-r--r-- | packages/sdk/openapi.json | 8 |
2 files changed, 14 insertions, 4 deletions
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts index 2fda3375e..6b5cfc818 100644 --- a/packages/sdk/js/src/v2/gen/types.gen.ts +++ b/packages/sdk/js/src/v2/gen/types.gen.ts @@ -1152,6 +1152,11 @@ export type KeybindsConfig = { } /** + * Log level + */ +export type LogLevel = "DEBUG" | "INFO" | "WARN" | "ERROR" + +/** * Server configuration for opencode serve and web commands */ export type ServerConfig = { @@ -1406,10 +1411,7 @@ export type Config = { */ theme?: string keybinds?: KeybindsConfig - /** - * Log level - */ - logLevel?: "DEBUG" | "INFO" | "WARN" | "ERROR" + logLevel?: LogLevel /** * TUI specific settings */ diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index dd20a93ec..2a2984854 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -7687,6 +7687,11 @@ }, "additionalProperties": false }, + "LogLevel": { + "description": "Log level", + "type": "string", + "enum": ["DEBUG", "INFO", "WARN", "ERROR"] + }, "ServerConfig": { "description": "Server configuration for opencode serve and web commands", "type": "object", @@ -8164,6 +8169,9 @@ "keybinds": { "$ref": "#/components/schemas/KeybindsConfig" }, + "logLevel": { + "$ref": "#/components/schemas/LogLevel" + }, "tui": { "description": "TUI specific settings", "type": "object", |
