opencode-anthropic-fix 0.0.44 → 0.0.45

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
@@ -4886,17 +4886,18 @@ process.once("beforeExit", _beforeExitHandler);
4886
4886
  // Request building helpers (extracted from original fetch interceptor)
4887
4887
  // ---------------------------------------------------------------------------
4888
4888
 
4889
- const FALLBACK_CLAUDE_CLI_VERSION = "2.1.90";
4889
+ const FALLBACK_CLAUDE_CLI_VERSION = "2.1.91";
4890
4890
  const CLAUDE_CODE_NPM_LATEST_URL = "https://registry.npmjs.org/@anthropic-ai/claude-code/latest";
4891
- const CLAUDE_CODE_BUILD_TIME = "2026-04-01T22:53:10Z";
4891
+ const CLAUDE_CODE_BUILD_TIME = "2026-04-02T21:58:41Z";
4892
4892
 
4893
- // The @anthropic-ai/sdk version bundled with Claude Code v2.1.90.
4893
+ // The @anthropic-ai/sdk version bundled with Claude Code v2.1.91.
4894
4894
  // This is distinct from the CLI version and goes in X-Stainless-Package-Version.
4895
- // Verified by extracting VERSION="0.208.0" from the bundled cli.js of all versions .80-.90.
4895
+ // Verified by extracting VERSION="0.208.0" from the bundled cli.js of all versions .80-.91.
4896
4896
  const ANTHROPIC_SDK_VERSION = "0.208.0";
4897
4897
 
4898
4898
  // Map of CLI version → bundled SDK version (update when CLI version changes)
4899
4899
  const CLI_TO_SDK_VERSION = new Map([
4900
+ ["2.1.91", "0.208.0"],
4900
4901
  ["2.1.90", "0.208.0"],
4901
4902
  ["2.1.89", "0.208.0"],
4902
4903
  ["2.1.88", "0.208.0"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-anthropic-fix",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "main": "./index.mjs",
6
6
  "files": [