@geekbeer/minion 2.68.2 → 2.68.3

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": "@geekbeer/minion",
3
- "version": "2.68.2",
3
+ "version": "2.68.3",
4
4
  "description": "AI Agent runtime for Minion - manages status and skill deployment on VPS",
5
5
  "main": "linux/server.js",
6
6
  "bin": {
@@ -68,9 +68,12 @@ async function commandRoutes(fastify) {
68
68
  const [cmd, args] = allowedCommand.spawnArgs
69
69
  spawnLog(`[${command}] spawn: ${cmd} ${JSON.stringify(args)}`)
70
70
  try {
71
+ // Capture PowerShell stderr to diagnose silent exit (code=0, 116ms)
72
+ const stderrPath = path.join(os.homedir(), '.minion', `${command}-stderr.log`)
73
+ const stderrFd = fs.openSync(stderrPath, 'w')
71
74
  const child = spawn(cmd, args, {
72
75
  detached: true,
73
- stdio: 'ignore',
76
+ stdio: ['ignore', 'ignore', stderrFd],
74
77
  windowsHide: true,
75
78
  })
76
79
  child.on('error', (err) => {