opencode-anthropic-fix 0.0.36 → 0.0.37

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/index.mjs +5 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3556,17 +3556,18 @@ process.once("beforeExit", () => {
3556
3556
  // Request building helpers (extracted from original fetch interceptor)
3557
3557
  // ---------------------------------------------------------------------------
3558
3558
 
3559
- const FALLBACK_CLAUDE_CLI_VERSION = "2.1.87";
3559
+ const FALLBACK_CLAUDE_CLI_VERSION = "2.1.88";
3560
3560
  const CLAUDE_CODE_NPM_LATEST_URL = "https://registry.npmjs.org/@anthropic-ai/claude-code/latest";
3561
- const CLAUDE_CODE_BUILD_TIME = "2026-03-29T02:16:58Z";
3561
+ const CLAUDE_CODE_BUILD_TIME = "2026-03-30T21:59:52Z";
3562
3562
 
3563
- // The @anthropic-ai/sdk version bundled with Claude Code v2.1.87.
3563
+ // The @anthropic-ai/sdk version bundled with Claude Code v2.1.88.
3564
3564
  // This is distinct from the CLI version and goes in X-Stainless-Package-Version.
3565
- // Verified by extracting VERSION="0.208.0" from the bundled cli.js of all versions .83-.87.
3565
+ // Verified by extracting VERSION="0.208.0" from the bundled cli.js of all versions .83-.88.
3566
3566
  const ANTHROPIC_SDK_VERSION = "0.208.0";
3567
3567
 
3568
3568
  // Map of CLI version → bundled SDK version (update when CLI version changes)
3569
3569
  const CLI_TO_SDK_VERSION = new Map([
3570
+ ["2.1.88", "0.208.0"],
3570
3571
  ["2.1.87", "0.208.0"],
3571
3572
  ["2.1.86", "0.208.0"],
3572
3573
  ["2.1.85", "0.208.0"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-anthropic-fix",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "main": "./index.mjs",
6
6
  "files": [