theclawbay 0.3.72 → 0.3.73

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.
@@ -85,7 +85,7 @@ const SHELL_START = "# theclawbay-shell-managed:start";
85
85
  const SHELL_END = "# theclawbay-shell-managed:end";
86
86
  const OPENCLAW_PROVIDER_ID = DEFAULT_PROVIDER_ID;
87
87
  const HISTORY_PROVIDER_NEUTRALIZE_SOURCES = new Set(["openai", "theclawbay-wan", DEFAULT_PROVIDER_ID]);
88
- const HISTORY_PROVIDER_DB_MIGRATE_SOURCES = ["openai", "theclawbay-wan"];
88
+ const HISTORY_PROVIDER_DB_MIGRATE_SOURCES = ["openai", DEFAULT_PROVIDER_ID, "theclawbay-wan"];
89
89
  const SETUP_CLIENT_IDS = ["codex", "claude", "continue", "cline", "gsd", "openclaw", "opencode", "kilo", "roo", "trae", "aider", "zo"];
90
90
  const LEGACY_THECLAWBAY_OPENAI_PROXY_SUFFIX = "/api/codex-auth/v1/proxy/v1";
91
91
  const CANONICAL_THECLAWBAY_OPENAI_PROXY_SUFFIX = "/v1";
@@ -1527,12 +1527,22 @@ async function writeCodexConfig(params) {
1527
1527
  let next = await restoreManagedCodexFeatureFlags(existing);
1528
1528
  next = removeManagedBlock(next, MANAGED_START, MANAGED_END);
1529
1529
  next = removeProviderTable(next, DEFAULT_PROVIDER_ID);
1530
- next = upsertFirstKeyLine(next, "model_provider", `"${OPENAI_PROVIDER_ID}"`);
1530
+ next = upsertFirstKeyLine(next, "model_provider", `"${DEFAULT_PROVIDER_ID}"`);
1531
1531
  next = upsertFirstKeyLine(next, "model", `"${params.model}"`);
1532
1532
  next = upsertFirstKeyLine(next, "openai_base_url", `"${nativeCodexBaseUrl}"`);
1533
1533
  next = removeTopLevelKeyLineIf(next, "chatgpt_base_url", isTheClawBayChatgptBaseUrl);
1534
1534
  const managedBlock = appendManagedBlock("", [
1535
1535
  MANAGED_START,
1536
+ `[plugins."computer-use@openai-bundled"]`,
1537
+ "enabled = true",
1538
+ "",
1539
+ `[model_providers.${DEFAULT_PROVIDER_ID}]`,
1540
+ 'name = "The Claw Bay (OpenAI compatible)"',
1541
+ `base_url = "${nativeCodexBaseUrl}"`,
1542
+ 'wire_api = "responses"',
1543
+ "requires_openai_auth = false",
1544
+ "supports_websockets = false",
1545
+ `experimental_bearer_token = "${params.apiKey}"`,
1536
1546
  MANAGED_END,
1537
1547
  ]);
1538
1548
  next = appendManagedBlock(next, managedBlock.trimEnd().split("\n"));
@@ -2451,6 +2461,10 @@ function buildOpenCodeModelConfig(model) {
2451
2461
  input: ["text", "image"],
2452
2462
  output: ["text"],
2453
2463
  },
2464
+ options: {
2465
+ include: ["reasoning.encrypted_content"],
2466
+ store: false,
2467
+ },
2454
2468
  limit: {
2455
2469
  context: modelContextLimit(model.id),
2456
2470
  output: modelOutputLimit(model.id),
@@ -3089,7 +3103,7 @@ class SetupCommand extends base_command_1.BaseCommand {
3089
3103
  if (migrateCodexConversations) {
3090
3104
  stateDbMigration = await (0, codex_history_migration_1.migrateStateDbProviders)({
3091
3105
  codexHome: paths_1.codexDir,
3092
- targetProvider: OPENAI_PROVIDER_ID,
3106
+ targetProvider: DEFAULT_PROVIDER_ID,
3093
3107
  sourceProviders: HISTORY_PROVIDER_DB_MIGRATE_SOURCES,
3094
3108
  });
3095
3109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theclawbay",
3
- "version": "0.3.72",
3
+ "version": "0.3.73",
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": {