summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/js
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2025-12-26 20:48:30 +0000
committerGitHub Action <[email protected]>2025-12-26 20:48:30 +0000
commitda394439a19e03e06491395a3e178cb47a9537c6 (patch)
tree098792280680a413a75b15aab4da7b17d00f84a4 /packages/sdk/js
parent390b0a79b395d6b44649c94087db2bbc8937a2f2 (diff)
downloadopencode-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.ts19
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
*/