claude-code-openai 0.1.25 → 0.1.26
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 +12 -5
- 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-
|
|
204663
|
+
buildTime: "2026-04-01T21:04:34.601Z",
|
|
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-
|
|
592958
|
+
const buildTime = new Date("2026-04-01T21:04:34.601Z").getTime();
|
|
592959
592959
|
if (isNaN(buildTime))
|
|
592960
592960
|
return;
|
|
592961
592961
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -595254,7 +595254,14 @@ 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
|
-
|
|
595257
|
+
let reasoning = supportsReasoning ? convertThinkingConfig(thinkingConfig) : undefined;
|
|
595258
|
+
if (reasoning && options.effortValue) {
|
|
595259
|
+
const effortStr = typeof options.effortValue === "string" ? options.effortValue : "medium";
|
|
595260
|
+
const mapped = effortStr === "max" ? "high" : effortStr;
|
|
595261
|
+
if (["high", "medium", "low"].includes(mapped)) {
|
|
595262
|
+
reasoning = { ...reasoning, effort: mapped };
|
|
595263
|
+
}
|
|
595264
|
+
}
|
|
595258
595265
|
let input;
|
|
595259
595266
|
const usePreviousResponseId = !client3.isOAuthChatgpt && _lastResponseId != null;
|
|
595260
595267
|
if (usePreviousResponseId) {
|
|
@@ -679552,7 +679559,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
679552
679559
|
var call56 = async () => {
|
|
679553
679560
|
return {
|
|
679554
679561
|
type: "text",
|
|
679555
|
-
value: `${"2.1.88-rebuild"} (built ${"2026-04-
|
|
679562
|
+
value: `${"2.1.88-rebuild"} (built ${"2026-04-01T21:04:34.601Z"})`
|
|
679556
679563
|
};
|
|
679557
679564
|
}, version6, version_default;
|
|
679558
679565
|
var init_version = __esm(() => {
|
|
@@ -777563,4 +777570,4 @@ async function main2() {
|
|
|
777563
777570
|
}
|
|
777564
777571
|
main2();
|
|
777565
777572
|
|
|
777566
|
-
//# debugId=
|
|
777573
|
+
//# debugId=F97171E9D2513B5D64756E2164756E21
|