chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-08 19:43:41 +00:00
parent c06ad7c881
commit 537666149b
24 changed files with 848 additions and 876 deletions
+1 -3
View File
@@ -6,7 +6,6 @@ import { setTimeout as sleep } from "node:timers/promises"
import { createServer } from "http"
import { OpenAIWebSocketPool } from "./ws-pool"
const CLIENT_ID = "app_EMoamEEZ73f0CkXaXp7hrann"
const ISSUER = "https://auth.openai.com"
const CODEX_API_ENDPOINT = "https://chatgpt.com/backend-api/codex/responses"
@@ -314,8 +313,7 @@ async function startOAuthServer(): Promise<{ port: number; redirectUri: string }
function stopOAuthServer() {
if (oauthServer) {
oauthServer.close(() => {
})
oauthServer.close(() => {})
oauthServer = undefined
}
}
@@ -5,7 +5,6 @@ import { OpenAIWebSocket } from "./ws"
export const TITLE_HEADER = "x-opencode-title"
export interface CreateWebSocketFetchOptions {
httpFetch?: typeof globalThis.fetch
url?: string