@simonyea/holysheep-cli 1.7.102 → 1.7.103
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/commands/claude.js +2 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simonyea/holysheep-cli",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.103",
|
|
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/commands/claude.js
CHANGED
|
@@ -60,13 +60,8 @@ async function runClaude(args = []) {
|
|
|
60
60
|
|
|
61
61
|
ensureClaudeProxyConfig(apiKey)
|
|
62
62
|
|
|
63
|
-
//
|
|
64
|
-
//
|
|
65
|
-
const settings = claudeCodeTool.readSettings()
|
|
66
|
-
if (settings.env?.ANTHROPIC_BASE_URL) {
|
|
67
|
-
delete settings.env.ANTHROPIC_BASE_URL
|
|
68
|
-
claudeCodeTool.writeSettings(settings)
|
|
69
|
-
}
|
|
63
|
+
// settings.json 中的 ANTHROPIC_BASE_URL 保留给 VS Code 扩展使用
|
|
64
|
+
// hs claude 通过进程级 env 变量覆盖(第 87 行),不影响 settings.json
|
|
70
65
|
|
|
71
66
|
const { server, port, sessionId } = await startProcessProxy({})
|
|
72
67
|
const proxyUrl = getLocalProxyUrl(port)
|