claude-code-openai 0.1.22 → 0.1.23
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 +5 -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-01T20:
|
|
204663
|
+
buildTime: "2026-04-01T20:40:14.446Z",
|
|
204664
204664
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
204665
204665
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
204666
204666
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -592949,7 +592949,7 @@ function getAnthropicEnvMetadata() {
|
|
|
592949
592949
|
function getBuildAgeMinutes() {
|
|
592950
592950
|
if (false)
|
|
592951
592951
|
;
|
|
592952
|
-
const buildTime = new Date("2026-04-01T20:
|
|
592952
|
+
const buildTime = new Date("2026-04-01T20:40:14.446Z").getTime();
|
|
592953
592953
|
if (isNaN(buildTime))
|
|
592954
592954
|
return;
|
|
592955
592955
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -595238,7 +595238,7 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
|
|
|
595238
595238
|
const openaiModel = resolveOpenAIModel(options.model);
|
|
595239
595239
|
const instructions = convertSystemPrompt(systemPrompt.filter(Boolean).map((text2) => ({ type: "text", text: text2 })));
|
|
595240
595240
|
const oaiTools = convertToolSchemas(tools);
|
|
595241
|
-
if (!oaiTools.some((t2) => t2.type === "web_search_preview")) {
|
|
595241
|
+
if (!client3.isOAuthChatgpt && !oaiTools.some((t2) => t2.type === "web_search_preview")) {
|
|
595242
595242
|
oaiTools.push({ type: "web_search_preview", search_context_size: "medium" });
|
|
595243
595243
|
}
|
|
595244
595244
|
const toolChoice = convertToolChoice(options.toolChoice);
|
|
@@ -679541,7 +679541,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
679541
679541
|
var call56 = async () => {
|
|
679542
679542
|
return {
|
|
679543
679543
|
type: "text",
|
|
679544
|
-
value: `${"2.1.88-rebuild"} (built ${"2026-04-01T20:
|
|
679544
|
+
value: `${"2.1.88-rebuild"} (built ${"2026-04-01T20:40:14.446Z"})`
|
|
679545
679545
|
};
|
|
679546
679546
|
}, version6, version_default;
|
|
679547
679547
|
var init_version = __esm(() => {
|
|
@@ -777552,4 +777552,4 @@ async function main2() {
|
|
|
777552
777552
|
}
|
|
777553
777553
|
main2();
|
|
777554
777554
|
|
|
777555
|
-
//# debugId=
|
|
777555
|
+
//# debugId=C114B13EE9049E7F64756E2164756E21
|