opencode-anthropic-fix 0.1.2 → 0.1.3

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 +4 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -6133,9 +6133,10 @@ function buildAnthropicBetaHeader(
6133
6133
 
6134
6134
  // === ALWAYS-ON BETAS (Claude Code v2.1.90 base set) ===
6135
6135
  // These are ALWAYS included regardless of env vars or feature flags.
6136
- if (!haiku) {
6137
- betas.push(CLAUDE_CODE_BETA_FLAG); // "claude-code-20250219"
6138
- }
6136
+ // NOTE: Real Claude Code skips this beta for Haiku, but we include it
6137
+ // so that Haiku subagents (via model-router delegation) get full mimic
6138
+ // behavior from the Anthropic API.
6139
+ betas.push(CLAUDE_CODE_BETA_FLAG); // "claude-code-20250219"
6139
6140
 
6140
6141
  // Tool search: use provider-aware header.
6141
6142
  // 1P/Foundry u2192 advanced-tool-use-2025-11-20 (enables broader tool capabilities)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-anthropic-fix",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "main": "./index.mjs",
6
6
  "files": [