@simonyea/holysheep-cli 1.3.6 → 1.3.7

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.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "一键配置所有 AI 编程工具接入 HolySheep API — Claude Code / Codex / Gemini CLI / OpenCode / OpenClaw / Aider / Cursor",
5
5
  "keywords": [
6
6
  "claude",
@@ -136,13 +136,11 @@ module.exports = {
136
136
  */
137
137
  function _startGateway() {
138
138
  if (isWin) {
139
- // Windows: 弹出新 cmd 窗口运行 gateway(最可靠,进程真实存在)
140
- // 窗口标题设为 "OpenClaw Gateway" 方便用户识别
141
- spawnSync('cmd', ['/c', 'start', '"OpenClaw Gateway"', 'cmd', '/k', 'npx openclaw gateway --port 18789'], {
142
- shell: false,
139
+ // Windows: shell:true + start 弹出新窗口运行 gateway
140
+ spawnSync('cmd /c start cmd /k "npx openclaw gateway --port 18789"', [], {
141
+ shell: true,
143
142
  timeout: 5000,
144
143
  stdio: 'ignore',
145
- detached: true,
146
144
  })
147
145
  } else {
148
146
  const child = spawn('openclaw', ['gateway', '--port', '18789'], {