claude-code-openai 0.1.24 → 0.1.25

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.
Files changed (2) hide show
  1. package/dist/cli.js +10 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -204660,7 +204660,7 @@ var init_metadata = __esm(() => {
204660
204660
  isClaudeAiAuth: isClaudeAISubscriber(),
204661
204661
  version: "2.1.88-rebuild",
204662
204662
  versionBase: getVersionBase(),
204663
- buildTime: "2026-04-01T20:45:10.833Z",
204663
+ buildTime: "2026-04-01T20:51:35.901Z",
204664
204664
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
204665
204665
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
204666
204666
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -257005,6 +257005,9 @@ function modelSupportsEffort(model) {
257005
257005
  if (isEnvTruthy(process.env.CLAUDE_CODE_ALWAYS_ENABLE_EFFORT)) {
257006
257006
  return true;
257007
257007
  }
257008
+ if (getAPIProvider() === "openai") {
257009
+ return /^(gpt-5|o[1-9]|o3)/.test(m2) || m2.includes("opus") || m2.includes("sonnet");
257010
+ }
257008
257011
  const supported3P = get3PModelCapabilityOverride(model, "effort");
257009
257012
  if (supported3P !== undefined) {
257010
257013
  return supported3P;
@@ -257165,6 +257168,9 @@ function getDefaultEffortForModel(model) {
257165
257168
  return "medium";
257166
257169
  }
257167
257170
  }
257171
+ if (getAPIProvider() === "openai" && modelSupportsEffort(model)) {
257172
+ return "medium";
257173
+ }
257168
257174
  if (isUltrathinkEnabled() && modelSupportsEffort(model)) {
257169
257175
  return "medium";
257170
257176
  }
@@ -592949,7 +592955,7 @@ function getAnthropicEnvMetadata() {
592949
592955
  function getBuildAgeMinutes() {
592950
592956
  if (false)
592951
592957
  ;
592952
- const buildTime = new Date("2026-04-01T20:45:10.833Z").getTime();
592958
+ const buildTime = new Date("2026-04-01T20:51:35.901Z").getTime();
592953
592959
  if (isNaN(buildTime))
592954
592960
  return;
592955
592961
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -679546,7 +679552,7 @@ var init_bridge_kick = __esm(() => {
679546
679552
  var call56 = async () => {
679547
679553
  return {
679548
679554
  type: "text",
679549
- value: `${"2.1.88-rebuild"} (built ${"2026-04-01T20:45:10.833Z"})`
679555
+ value: `${"2.1.88-rebuild"} (built ${"2026-04-01T20:51:35.901Z"})`
679550
679556
  };
679551
679557
  }, version6, version_default;
679552
679558
  var init_version = __esm(() => {
@@ -777557,4 +777563,4 @@ async function main2() {
777557
777563
  }
777558
777564
  main2();
777559
777565
 
777560
- //# debugId=1236D03F415513E764756E2164756E21
777566
+ //# debugId=A145FBC6A6A1A92F64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-openai",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "Claude Code CLI with OpenAI GPT-5.4 backend support",
5
5
  "type": "module",
6
6
  "bin": {