{"record":{"id":"92643c50e1083540","repo":"diegosouzapw/OmniRoute","slug":"openai-tunnel-client-has-no-pinned-build-for-pla","errorCode":null,"errorMessage":"openai/tunnel-client has no pinned build for ${platform}/${arch}","messagePattern":"openai/tunnel-client has no pinned build for (.+?)/(.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"open-sse/executors/chatgpt-web-codex/tunnelClient.ts","lineNumber":69,"sourceCode":"  startedAt: string;\n};\n\nfunction sha256(bytes: Uint8Array): string {\n  return createHash(\"sha256\").update(bytes).digest(\"hex\");\n}\n\nexport function tunnelPlatformAsset(platform = process.platform, arch = process.arch): string {\n  const os =\n    platform === \"darwin\"\n      ? \"darwin\"\n      : platform === \"linux\"\n        ? \"linux\"\n        : platform === \"win32\"\n          ? \"windows\"\n          : null;\n  const cpu = arch === \"arm64\" ? \"arm64\" : arch === \"x64\" ? \"amd64\" : null;\n  if (!os || !cpu) {\n    throw new Error(`openai/tunnel-client has no pinned build for ${platform}/${arch}`);\n  }\n  return `tunnel-client-v${CHATGPT_WEB_CODEX_TUNNEL_VERSION}-${os}-${cpu}.zip`;\n}\n\nexport function parseTunnelChecksum(text: string, asset: string): string {\n  const entry = text\n    .split(/\\r?\\n/)\n    .map((line) => line.trim())\n    .find((line) => line.endsWith(asset));\n  const checksum = entry?.split(/\\s+/)[0]?.toLowerCase();\n  if (!checksum || !/^[a-f0-9]{64}$/.test(checksum)) {\n    throw new Error(`SHA256SUMS.txt has no valid entry for ${asset}`);\n  }\n  return checksum;\n}\n\nasync function download(url: string): Promise<Uint8Array> {\n  const response = await fetch(url, { redirect: \"follow\" });","sourceCodeStart":51,"sourceCodeEnd":87,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/open-sse/executors/chatgpt-web-codex/tunnelClient.ts#L51-L87","documentation":"Error \"openai/tunnel-client has no pinned build for ${platform}/${arch}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at open-sse/executors/chatgpt-web-codex/tunnelClient.ts:69 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}