refactor(server): centralize server options

This commit is contained in:
Dax Raad 2026-07-20 20:32:54 -04:00
commit ace77a5cf7
4 changed files with 74 additions and 67 deletions

View file

@ -0,0 +1,10 @@
import type { Database } from "@opencode-ai/core/database/database"
import type { ModelsDev } from "@opencode-ai/core/models-dev"
export interface ServerOptions {
readonly hostname?: string
readonly port?: number
readonly password?: string
readonly database?: Database.Options
readonly models?: ModelsDev.Options
}