Merge branch 'dev' into sqlite2

This commit is contained in:
Dax 2026-02-02 23:36:00 -05:00 committed by GitHub
commit 949e69a9bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
133 changed files with 3411 additions and 1926 deletions

View file

@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/sdk",
"version": "1.1.48",
"version": "1.1.49",
"type": "module",
"license": "MIT",
"scripts": {

View file

@ -96,6 +96,7 @@ export type FileDiff = {
after: string
additions: number
deletions: number
status?: "added" | "deleted" | "modified"
}
export type UserMessage = {
@ -1338,6 +1339,10 @@ export type ServerConfig = {
* Enable mDNS service discovery
*/
mdns?: boolean
/**
* Custom domain name for mDNS service (default: opencode.local)
*/
mdnsDomain?: string
/**
* Additional domains to allow for CORS
*/

View file

@ -6087,6 +6087,10 @@
},
"deletions": {
"type": "number"
},
"status": {
"type": "string",
"enum": ["added", "deleted", "modified"]
}
},
"required": ["file", "before", "after", "additions", "deletions"]
@ -8933,6 +8937,10 @@
"description": "Enable mDNS service discovery",
"type": "boolean"
},
"mdnsDomain": {
"description": "Custom domain name for mDNS service (default: opencode.local)",
"type": "string"
},
"cors": {
"description": "Additional domains to allow for CORS",
"type": "array",