opencode-anthropic-multi-account 0.2.121 → 0.2.123
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/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
CLAUDE_CODE_CONFIG_SCOPED_TOOL_NAMES,
|
|
2
3
|
applyClaudeCodeUpstreamBodyFields,
|
|
3
4
|
checkCCCompat,
|
|
4
5
|
clampEffortAfterRejection,
|
|
@@ -23,7 +24,7 @@ import {
|
|
|
23
24
|
selectClaudeCodeSystemPrompt,
|
|
24
25
|
stampClaudeCodeCch,
|
|
25
26
|
toClaudeCodeWireModelId
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YRSLKQQG.js";
|
|
27
28
|
import "./chunk-ITZJ5FTB.js";
|
|
28
29
|
import "./chunk-QTHKVNEI.js";
|
|
29
30
|
|
|
@@ -2877,7 +2878,10 @@ function collectReferencedToolNames(parsed) {
|
|
|
2877
2878
|
return [...names];
|
|
2878
2879
|
}
|
|
2879
2880
|
function buildClaudeToolNameSet(claudeToolNames) {
|
|
2880
|
-
return new Set(
|
|
2881
|
+
return /* @__PURE__ */ new Set([
|
|
2882
|
+
...claudeToolNames.filter((name) => typeof name === "string" && name.length > 0),
|
|
2883
|
+
...CLAUDE_CODE_CONFIG_SCOPED_TOOL_NAMES
|
|
2884
|
+
]);
|
|
2881
2885
|
}
|
|
2882
2886
|
function buildToolFlowLookup(parsed, claudeToolNames) {
|
|
2883
2887
|
const originalToOutgoing = /* @__PURE__ */ new Map();
|