@simonyea/holysheep-cli 1.7.123 → 1.7.124

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonyea/holysheep-cli",
3
- "version": "1.7.123",
3
+ "version": "1.7.124",
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",
@@ -167,10 +167,7 @@ function neutralizeAuthJson() {
167
167
 
168
168
  const auth = JSON.parse(fs.readFileSync(AUTH_FILE, 'utf8'))
169
169
 
170
- // 只在 chatgpt 模式时处理
171
- if (auth.auth_mode !== 'chatgpt') return
172
-
173
- // 切换为 api-key 模式,清除 OAuth tokens
170
+ // 清除所有可能干扰 holysheep provider 的认证信息
174
171
  auth.auth_mode = 'api-key'
175
172
  auth.OPENAI_API_KEY = null
176
173
  delete auth.tokens