diff options
| author | GitHub Action <[email protected]> | 2025-12-26 20:48:30 +0000 |
|---|---|---|
| committer | GitHub Action <[email protected]> | 2025-12-26 20:48:30 +0000 |
| commit | da394439a19e03e06491395a3e178cb47a9537c6 (patch) | |
| tree | 098792280680a413a75b15aab4da7b17d00f84a4 /packages/sdk/js | |
| parent | 390b0a79b395d6b44649c94087db2bbc8937a2f2 (diff) | |
| download | opencode-da394439a19e03e06491395a3e178cb47a9537c6.tar.gz opencode-da394439a19e03e06491395a3e178cb47a9537c6.zip | |
chore: generate
Diffstat (limited to 'packages/sdk/js')
| -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 */ |
