diff options
Diffstat (limited to 'packages/sdk/js/src')
| -rw-r--r-- | packages/sdk/js/src/v2/gen/types.gen.ts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts index b1d05813c..6b5cfc818 100644 --- a/packages/sdk/js/src/v2/gen/types.gen.ts +++ b/packages/sdk/js/src/v2/gen/types.gen.ts @@ -1156,6 +1156,24 @@ export type KeybindsConfig = { */ export type LogLevel = "DEBUG" | "INFO" | "WARN" | "ERROR" +/** + * Server configuration for opencode serve and web commands + */ +export type ServerConfig = { + /** + * Port to listen on + */ + port?: number + /** + * Hostname to listen on + */ + hostname?: string + /** + * Enable mDNS service discovery + */ + mdns?: boolean +} + export type AgentConfig = { model?: string temperature?: number @@ -1416,6 +1434,7 @@ export type Config = { */ diff_style?: "auto" | "stacked" } + server?: ServerConfig /** * Command configuration, see https://opencode.ai/docs/commands */ |
