@simonyea/holysheep-cli 1.7.123 → 1.7.125
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/package.json +1 -1
- package/src/tools/codex.js +2 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simonyea/holysheep-cli",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.125",
|
|
4
4
|
"description": "Claude Code/Cursor/Cline API relay for China — ¥1=$1, WeChat/Alipay payment, no credit card, no VPN. One command setup for all AI coding tools.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openai-china",
|
package/src/tools/codex.js
CHANGED
|
@@ -167,11 +167,8 @@ function neutralizeAuthJson() {
|
|
|
167
167
|
|
|
168
168
|
const auth = JSON.parse(fs.readFileSync(AUTH_FILE, 'utf8'))
|
|
169
169
|
|
|
170
|
-
//
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
// 切换为 api-key 模式,清除 OAuth tokens
|
|
174
|
-
auth.auth_mode = 'api-key'
|
|
170
|
+
// 清除所有可能干扰 holysheep provider 的认证信息
|
|
171
|
+
auth.auth_mode = 'apikey'
|
|
175
172
|
auth.OPENAI_API_KEY = null
|
|
176
173
|
delete auth.tokens
|
|
177
174
|
|