claude-code-openai 0.1.25 → 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 +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: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-
|
|
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,7 +595254,13 @@ 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 = 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" };
|
|
595263
|
+
}
|
|
595258
595264
|
let input;
|
|
595259
595265
|
const usePreviousResponseId = !client3.isOAuthChatgpt && _lastResponseId != null;
|
|
595260
595266
|
if (usePreviousResponseId) {
|
|
@@ -595833,6 +595839,7 @@ var init_openai_query = __esm(() => {
|
|
|
595833
595839
|
init_debug();
|
|
595834
595840
|
init_client5();
|
|
595835
595841
|
init_openai_adapter();
|
|
595842
|
+
init_effort();
|
|
595836
595843
|
OPENAI_MODEL_MAP = {
|
|
595837
595844
|
"claude-opus-4-6-20260401": "gpt-5.4",
|
|
595838
595845
|
"claude-opus-4-5-20250918": "gpt-5.4",
|
|
@@ -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:06:14.024Z"})`
|
|
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=40696CE4C1EEC09764756E2164756E21
|