@simonyea/holysheep-cli 1.7.102 → 1.7.104

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.102",
3
+ "version": "1.7.104",
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",
@@ -183,9 +183,8 @@ module.exports = {
183
183
  const settings = readSettings()
184
184
  if (!settings.env) settings.env = {}
185
185
  settings.env.ANTHROPIC_AUTH_TOKEN = apiKey
186
- // 写入 ANTHROPIC_BASE_URL VS Code 扩展也能用 holysheep 代理
187
- // hs claude 运行时会用本地代理地址覆盖此值
188
- settings.env.ANTHROPIC_BASE_URL = baseUrl || BASE_URL_ANTHROPIC
186
+ // ANTHROPIC_BASE_URL 不写入 settings.json,由 hs claude 运行时通过 env 动态注入
187
+ delete settings.env.ANTHROPIC_BASE_URL
189
188
  settings.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC = '1'
190
189
  settings.env.HOLYSHEEP_CLAUDE_LAUNCHER = 'hs'
191
190
  if (primaryModel) settings.model = primaryModel