@simonyea/holysheep-cli 1.7.98 → 1.7.99
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.
|
|
3
|
+
"version": "1.7.99",
|
|
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",
|
|
@@ -41,10 +41,12 @@ process.on('message', (msg) => {
|
|
|
41
41
|
process.send({ type: 'progress', message: '已写入环境变量到 shell 配置' })
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
//
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
// 清理冲突环境变量(env-config 工具本身就是写环境变量的,不清理)
|
|
45
|
+
if (msg.toolId !== 'env-config') {
|
|
46
|
+
try {
|
|
47
|
+
removeEnvFromShell(['ANTHROPIC_API_KEY', 'ANTHROPIC_BASE_URL', 'OPENAI_API_KEY', 'OPENAI_BASE_URL'])
|
|
48
|
+
} catch {}
|
|
49
|
+
}
|
|
48
50
|
|
|
49
51
|
process.send({
|
|
50
52
|
type: 'result',
|