claude-code-openai 0.1.17 → 0.1.18

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 +6 -6
  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:02:48.011Z",
204663
+ buildTime: "2026-04-01T20:05:39.830Z",
204664
204664
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
204665
204665
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
204666
204666
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -592946,7 +592946,7 @@ function getAnthropicEnvMetadata() {
592946
592946
  function getBuildAgeMinutes() {
592947
592947
  if (false)
592948
592948
  ;
592949
- const buildTime = new Date("2026-04-01T20:02:48.011Z").getTime();
592949
+ const buildTime = new Date("2026-04-01T20:05:39.830Z").getTime();
592950
592950
  if (isNaN(buildTime))
592951
592951
  return;
592952
592952
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -595241,7 +595241,7 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
595241
595241
  const supportsReasoning = /^(gpt-5|o[1-9]|o3)/.test(openaiModel);
595242
595242
  const reasoning = supportsReasoning ? convertThinkingConfig(thinkingConfig) : undefined;
595243
595243
  let input;
595244
- const usePreviousResponseId = _lastResponseId != null;
595244
+ const usePreviousResponseId = !client3.isOAuthChatgpt && _lastResponseId != null;
595245
595245
  if (usePreviousResponseId) {
595246
595246
  let lastAssistantIdx = -1;
595247
595247
  for (let i4 = messages.length - 1;i4 >= 0; i4--) {
@@ -595265,10 +595265,10 @@ async function* queryModelOpenAI(messages, systemPrompt, thinkingConfig, tools,
595265
595265
  tool_choice: hasFunctionTools ? toolChoice : undefined,
595266
595266
  parallel_tool_calls: hasFunctionTools ? false : undefined,
595267
595267
  stream: true,
595268
- previous_response_id: usePreviousResponseId ? _lastResponseId : undefined,
595269
595268
  ...client3.isOAuthChatgpt ? {
595270
595269
  store: false
595271
595270
  } : {
595271
+ previous_response_id: usePreviousResponseId ? _lastResponseId : undefined,
595272
595272
  max_output_tokens: maxOutputTokens,
595273
595273
  temperature: options.temperatureOverride ?? 1,
595274
595274
  reasoning,
@@ -679525,7 +679525,7 @@ var init_bridge_kick = __esm(() => {
679525
679525
  var call56 = async () => {
679526
679526
  return {
679527
679527
  type: "text",
679528
- value: `${"2.1.88-rebuild"} (built ${"2026-04-01T20:02:48.011Z"})`
679528
+ value: `${"2.1.88-rebuild"} (built ${"2026-04-01T20:05:39.830Z"})`
679529
679529
  };
679530
679530
  }, version6, version_default;
679531
679531
  var init_version = __esm(() => {
@@ -777536,4 +777536,4 @@ async function main2() {
777536
777536
  }
777537
777537
  main2();
777538
777538
 
777539
- //# debugId=F579BE2E065F285E64756E2164756E21
777539
+ //# debugId=3878C1B925538A1564756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-openai",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Claude Code CLI with OpenAI GPT-5.4 backend support",
5
5
  "type": "module",
6
6
  "bin": {