theclawbay 0.3.66 → 0.3.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3240,7 +3240,7 @@ class SetupCommand extends base_command_1.BaseCommand {
3240
3240
  summaryNotes.add(authSeedResult.warning);
3241
3241
  if (authSeedResult &&
3242
3242
  ["seeded", "updated", "already_seeded"].includes(authSeedResult.action)) {
3243
- summaryNotes.add("Codex desktop clients were pinned to a local ChatGPT-compatible auth shim so current VS Code and Codex app builds keep the The Claw Bay model picker instead of falling back to OpenAI's default model catalog.");
3243
+ summaryNotes.add("Codex desktop clients were pinned to the local The Claw Bay API-key auth path while the desktop picker compatibility patches keep current VS Code and Codex app builds on the The Claw Bay model catalog.");
3244
3244
  }
3245
3245
  if (desktopModelPickerMigration?.action === "patched") {
3246
3246
  summaryNotes.add("Desktop model pickers were refreshed so current VS Code and Codex app builds stop labeling supported The Claw Bay models like GPT-5.5 as Custom.");
@@ -3357,14 +3357,14 @@ class SetupCommand extends base_command_1.BaseCommand {
3357
3357
  }
3358
3358
  if (authSeedResult?.action === "seeded") {
3359
3359
  this.log(authSeedResult.replacedExistingAuth
3360
- ? "- Codex login state: backed up the existing Codex auth and switched local desktop auth to the Claw Bay desktop compatibility mode."
3361
- : "- Codex login state: seeded local desktop auth in the Claw Bay desktop compatibility mode.");
3360
+ ? "- Codex login state: backed up the existing Codex auth and switched local desktop auth back to the Claw Bay API-key mode."
3361
+ : "- Codex login state: seeded local desktop auth in the Claw Bay API-key mode.");
3362
3362
  }
3363
3363
  else if (authSeedResult?.action === "updated") {
3364
- this.log("- Codex login state: refreshed the local The Claw Bay desktop compatibility auth seed.");
3364
+ this.log("- Codex login state: refreshed the local The Claw Bay API-key auth seed.");
3365
3365
  }
3366
3366
  else if (authSeedResult?.action === "already_seeded") {
3367
- this.log("- Codex login state: local desktop auth was already pinned to the Claw Bay desktop compatibility mode.");
3367
+ this.log("- Codex login state: local desktop auth was already pinned to the Claw Bay API-key mode.");
3368
3368
  }
3369
3369
  else if (authSeedResult?.warning) {
3370
3370
  this.log(`- Codex login state: ${authSeedResult.warning}`);
@@ -244,12 +244,13 @@ async function ensureCodexApiKeyAuth(params) {
244
244
  });
245
245
  }
246
246
  async function ensureCodexUsageLimitAuth(params) {
247
- return ensureCodexAuth({
248
- codexHome: params.codexHome,
249
- apiKey: params.apiKey,
250
- mode: "chatgpt-auth-tokens",
251
- replaceExistingAuth: params.replaceExistingAuth ?? false,
252
- });
247
+ // Current desktop Codex builds treat chatgptAuthTokens as real ChatGPT web
248
+ // auth and can trigger upstream plugin sync calls against chatgpt.com. With
249
+ // The Claw Bay, that can wedge the desktop startup path behind Cloudflare
250
+ // challenges and leave Codex / VS Code stuck on splash. Keep desktop auth on
251
+ // the local API-key path and rely on the managed config + picker patches for
252
+ // model catalog compatibility instead.
253
+ return ensureCodexApiKeyAuth(params);
253
254
  }
254
255
  async function cleanupSeededCodexAuth(params) {
255
256
  const authPath = node_path_1.default.join(params.codexHome, AUTH_FILE);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theclawbay",
3
- "version": "0.3.66",
3
+ "version": "0.3.67",
4
4
  "description": "CLI for connecting Codex, Continue, Cline, GSD, OpenClaw, OpenCode, Kilo, Roo Code, Aider, experimental Trae, and experimental Zo to The Claw Bay.",
5
5
  "license": "MIT",
6
6
  "repository": {