@xtruder/opencode-claude-max-plugin 0.4.4 → 0.4.5
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/build/index.js +1 -1
- package/build/server.js +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -1643,7 +1643,7 @@ function resolveAuth(options) {
|
|
|
1643
1643
|
return { apiKey: process.env.ANTHROPIC_API_KEY, isOAuth: false };
|
|
1644
1644
|
}
|
|
1645
1645
|
const credentialsPath = typeof options.credentialsPath === "string" ? options.credentialsPath : undefined;
|
|
1646
|
-
const creds =
|
|
1646
|
+
const creds = readClaudeCredentials(credentialsPath);
|
|
1647
1647
|
if (creds) {
|
|
1648
1648
|
return { apiKey: null, authToken: creds.accessToken, isOAuth: true };
|
|
1649
1649
|
}
|
package/build/server.js
CHANGED
|
@@ -1643,7 +1643,7 @@ function resolveAuth(options) {
|
|
|
1643
1643
|
return { apiKey: process.env.ANTHROPIC_API_KEY, isOAuth: false };
|
|
1644
1644
|
}
|
|
1645
1645
|
const credentialsPath = typeof options.credentialsPath === "string" ? options.credentialsPath : undefined;
|
|
1646
|
-
const creds =
|
|
1646
|
+
const creds = readClaudeCredentials(credentialsPath);
|
|
1647
1647
|
if (creds) {
|
|
1648
1648
|
return { apiKey: null, authToken: creds.accessToken, isOAuth: true };
|
|
1649
1649
|
}
|
package/package.json
CHANGED