chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-13 19:14:37 +00:00
parent 632f94fa68
commit 414c037b21
+2 -6
View File
@@ -843,9 +843,7 @@ export const RunCommand = effectCmd({
const headers = new Headers(request.headers) const headers = new Headers(request.headers)
const auth = ServerAuth.header() const auth = ServerAuth.header()
if (auth) headers.set("Authorization", auth) if (auth) headers.set("Authorization", auth)
return Server.Default().app.fetch( return Server.Default().app.fetch(new Request(request, { headers }))
new Request(request, { headers }),
)
}) as typeof globalThis.fetch }) as typeof globalThis.fetch
try { try {
@@ -883,9 +881,7 @@ export const RunCommand = effectCmd({
const headers = new Headers(request.headers) const headers = new Headers(request.headers)
const auth = ServerAuth.header() const auth = ServerAuth.header()
if (auth) headers.set("Authorization", auth) if (auth) headers.set("Authorization", auth)
return Server.Default().app.fetch( return Server.Default().app.fetch(new Request(request, { headers }))
new Request(request, { headers }),
)
}) as typeof globalThis.fetch }) as typeof globalThis.fetch
const sdk = createOpencodeClient({ const sdk = createOpencodeClient({
baseUrl: "http://opencode.internal", baseUrl: "http://opencode.internal",