fix(providers): retire common ChatGPT Web provider

This commit is contained in:
diegosouzapw
2026-08-27 03:13:19 -03:00
committed by Markus Hartung
parent 825f8fe425
commit 9c5dd6760c
172 changed files with 3193 additions and 11318 deletions

View File

@@ -10,7 +10,7 @@
* even when it does run, silently no-ops on a rate-limited/failed GitHub API
* call instead of raising — so `node_modules/tls-client-node/bin/` can end
* up empty with no visible signal until the first live request throws
* TlsClientUnavailableError (chatgpt-web/claude-web/grok-web/lmarena/
* TlsClientUnavailableError (claude-web/grok-web/lmarena/
* perplexity-web all share this transport).
*
* This module:
@@ -123,7 +123,7 @@ export async function fixTlsClientNodeBinary({
"(GitHub API rate-limited or unreachable after retries)."
);
console.warn(
" chatgpt-web/claude-web/grok-web/lmarena/perplexity-web will raise a clear " +
" claude-web/grok-web/lmarena/perplexity-web will raise a clear " +
"TlsClientUnavailableError on first use until this is resolved."
);
console.warn(

View File

@@ -140,7 +140,7 @@ export const PACK_ARTIFACT_ROOT_ALLOWED_EXACT_PATHS: string[] = [
"scripts/build/postinstallSupport.mjs",
"scripts/build/colocateOptionals.mjs",
// #7802: imported by scripts/build/postinstall.mjs to repair tls-client-node's
// native binary (chatgpt-web/claude-web/grok-web/lmarena/perplexity-web transport).
// native binary (claude-web/grok-web/lmarena/perplexity-web transport).
"scripts/build/fixTlsClientNodeBinary.mjs",
// #8859: imported by scripts/build/postinstall.mjs to repair playwright-core's
// browser resolution on Termux/Android (no glibc, no bundled browsers).

View File

@@ -15,7 +15,7 @@
* Modules repaired:
* - better-sqlite3 (SQLite bindings)
* - wreq-js (TLS client for OAuth providers)
* - tls-client-node (TLS client for chatgpt-web/claude-web/grok-web/lmarena/perplexity-web)
* - tls-client-node (TLS client for claude-web/grok-web/lmarena/perplexity-web)
* - sql.js (WASM SQLite fallback runtime)
* - node-machine-id (local CLI machine-token server runtime)
*

View File

@@ -57,7 +57,7 @@ export const OPTIONAL_PACKS = [
name: "browser-runtime",
packVersion: 1,
description:
"Browser automation closure: Claude Turnstile solver and ChatGPT/Gemini web executors",
"Browser automation closure: Claude Turnstile solver and ChatGPT Web (Codex)/Gemini web executors",
packages: [{ name: "playwright" }, { name: "playwright-core" }],
},
];