chore: generate
This commit is contained in:
parent
3f3c0f370b
commit
fbe676d1da
2 changed files with 43 additions and 0 deletions
|
|
@ -1154,6 +1154,24 @@ export type KeybindsConfig = {
|
||||||
tips_toggle?: string
|
tips_toggle?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 = {
|
export type AgentConfig = {
|
||||||
model?: string
|
model?: string
|
||||||
temperature?: number
|
temperature?: number
|
||||||
|
|
@ -1413,6 +1431,7 @@ export type Config = {
|
||||||
*/
|
*/
|
||||||
diff_style?: "auto" | "stacked"
|
diff_style?: "auto" | "stacked"
|
||||||
}
|
}
|
||||||
|
server?: ServerConfig
|
||||||
/**
|
/**
|
||||||
* Command configuration, see https://opencode.ai/docs/commands
|
* Command configuration, see https://opencode.ai/docs/commands
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -7697,6 +7697,27 @@
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
"ServerConfig": {
|
||||||
|
"description": "Server configuration for opencode serve and web commands",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"port": {
|
||||||
|
"description": "Port to listen on",
|
||||||
|
"type": "integer",
|
||||||
|
"exclusiveMinimum": 0,
|
||||||
|
"maximum": 9007199254740991
|
||||||
|
},
|
||||||
|
"hostname": {
|
||||||
|
"description": "Hostname to listen on",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"mdns": {
|
||||||
|
"description": "Enable mDNS service discovery",
|
||||||
|
"type": "boolean"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
"AgentConfig": {
|
"AgentConfig": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -8180,6 +8201,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"server": {
|
||||||
|
"$ref": "#/components/schemas/ServerConfig"
|
||||||
|
},
|
||||||
"command": {
|
"command": {
|
||||||
"description": "Command configuration, see https://opencode.ai/docs/commands",
|
"description": "Command configuration, see https://opencode.ai/docs/commands",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue