@simonyea/holysheep-cli 1.7.68 → 1.7.69

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.68",
3
+ "version": "1.7.69",
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",
@@ -763,6 +763,9 @@ module.exports = {
763
763
  },
764
764
 
765
765
  reset() {
766
+ // 先停进程再删配置,避免残留进程指向已删除的配置导致 timeout
767
+ stopBridge()
768
+ try { runOpenClaw(['gateway', 'stop'], { preferNpx: detectRuntime().via === 'npx' }) } catch {}
766
769
  try { fs.unlinkSync(CONFIG_FILE) } catch {}
767
770
  try { fs.unlinkSync(BRIDGE_CONFIG_FILE) } catch {}
768
771
  },