chore: generate

This commit is contained in:
opencode-agent[bot]
2026-04-16 23:53:10 +00:00
parent 5d47ea0918
commit f9aa3d77cd
2 changed files with 2 additions and 9 deletions

View File

@@ -49,9 +49,7 @@ export const Remote = z
oauth: z oauth: z
.union([OAuth, z.literal(false)]) .union([OAuth, z.literal(false)])
.optional() .optional()
.describe( .describe("OAuth authentication configuration for the MCP server. Set to false to disable OAuth auto-detection."),
"OAuth authentication configuration for the MCP server. Set to false to disable OAuth auto-detection.",
),
timeout: z timeout: z
.number() .number()
.int() .int()

View File

@@ -103,12 +103,7 @@ const app = (upgrade: UpgradeWebSocket) =>
const log = Log.Default.clone().tag("service", "server-proxy") const log = Log.Default.clone().tag("service", "server-proxy")
export async function http( export async function http(url: string | URL, extra: HeadersInit | undefined, req: Request, workspaceID: WorkspaceID) {
url: string | URL,
extra: HeadersInit | undefined,
req: Request,
workspaceID: WorkspaceID,
) {
if (!Workspace.isSyncing(workspaceID)) { if (!Workspace.isSyncing(workspaceID)) {
return new Response(`broken sync connection for workspace: ${workspaceID}`, { return new Response(`broken sync connection for workspace: ${workspaceID}`, {
status: 503, status: 503,