claude-code-openai 0.1.26 → 0.1.27
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.
- package/dist/cli.js +11 -11
- 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-01T21:
|
|
204663
|
+
buildTime: "2026-04-01T21:06:14.024Z",
|
|
204664
204664
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
204665
204665
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
204666
204666
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -592955,7 +592955,7 @@ function getAnthropicEnvMetadata() {
|
|
|
592955
592955
|
function getBuildAgeMinutes() {
|
|
592956
592956
|
if (false)
|
|
592957
592957
|
;
|
|
592958
|
-
const buildTime = new Date("2026-04-01T21:
|
|
592958
|
+
const buildTime = new Date("2026-04-01T21:06:14.024Z").getTime();
|
|
592959
592959
|
if (isNaN(buildTime))
|
|
592960
592960
|
return;
|
|
592961
592961
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -595254,13 +595254,12 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
|
|
|
595254
595254
|
}
|
|
595255
595255
|
const toolChoice = convertToolChoice(options.toolChoice);
|
|
595256
595256
|
const supportsReasoning = /^(gpt-5|o[1-9]|o3)/.test(openaiModel);
|
|
595257
|
-
let reasoning =
|
|
595258
|
-
if (
|
|
595259
|
-
const
|
|
595260
|
-
const
|
|
595261
|
-
|
|
595262
|
-
|
|
595263
|
-
}
|
|
595257
|
+
let reasoning = undefined;
|
|
595258
|
+
if (supportsReasoning && thinkingConfig.type !== "disabled") {
|
|
595259
|
+
const resolved = resolveAppliedEffort(options.model, options.effortValue);
|
|
595260
|
+
const level = resolved ? convertEffortValueToLevel(resolved) : "medium";
|
|
595261
|
+
const effort = level === "max" ? "high" : level;
|
|
595262
|
+
reasoning = { effort, summary: "auto" };
|
|
595264
595263
|
}
|
|
595265
595264
|
let input;
|
|
595266
595265
|
const usePreviousResponseId = !client3.isOAuthChatgpt && _lastResponseId != null;
|
|
@@ -595840,6 +595839,7 @@ var init_openai_query = __esm(() => {
|
|
|
595840
595839
|
init_debug();
|
|
595841
595840
|
init_client5();
|
|
595842
595841
|
init_openai_adapter();
|
|
595842
|
+
init_effort();
|
|
595843
595843
|
OPENAI_MODEL_MAP = {
|
|
595844
595844
|
"claude-opus-4-6-20260401": "gpt-5.4",
|
|
595845
595845
|
"claude-opus-4-5-20250918": "gpt-5.4",
|
|
@@ -679559,7 +679559,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
679559
679559
|
var call56 = async () => {
|
|
679560
679560
|
return {
|
|
679561
679561
|
type: "text",
|
|
679562
|
-
value: `${"2.1.88-rebuild"} (built ${"2026-04-01T21:
|
|
679562
|
+
value: `${"2.1.88-rebuild"} (built ${"2026-04-01T21:06:14.024Z"})`
|
|
679563
679563
|
};
|
|
679564
679564
|
}, version6, version_default;
|
|
679565
679565
|
var init_version = __esm(() => {
|
|
@@ -777570,4 +777570,4 @@ async function main2() {
|
|
|
777570
777570
|
}
|
|
777571
777571
|
main2();
|
|
777572
777572
|
|
|
777573
|
-
//# debugId=
|
|
777573
|
+
//# debugId=40696CE4C1EEC09764756E2164756E21
|