@yemi33/minions 0.1.652 → 0.1.653
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/CHANGELOG.md +5 -0
- package/engine/cleanup.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/cleanup.js
CHANGED
|
@@ -74,14 +74,14 @@ function _killProcessInWorktree(dir, activeProcesses, activeIds) {
|
|
|
74
74
|
const taskInfo = exec(`tasklist /FI "PID eq ${pid}" /NH`, { encoding: 'utf8', timeout: 3000, windowsHide: true });
|
|
75
75
|
const taskLower = taskInfo.toLowerCase();
|
|
76
76
|
if (!taskLower.includes('node') && !taskLower.includes('claude')) continue;
|
|
77
|
-
exec(`taskkill /F /PID ${pid}`, { stdio: 'pipe', timeout: 5000, windowsHide: true });
|
|
77
|
+
exec(`taskkill /F /T /PID ${pid}`, { stdio: 'pipe', timeout: 5000, windowsHide: true });
|
|
78
78
|
} else {
|
|
79
79
|
// Verify it's a node process before killing (prevent recycled PID kill)
|
|
80
80
|
try {
|
|
81
81
|
const psOut = exec(`ps -p ${pid} -o comm=`, { encoding: 'utf8', timeout: 3000 }).trim();
|
|
82
82
|
if (!psOut.includes('node') && !psOut.includes('claude')) continue;
|
|
83
83
|
} catch { continue; } // process dead or ps failed
|
|
84
|
-
process.kill(pid, 'SIGKILL');
|
|
84
|
+
try { process.kill(-pid, 'SIGKILL'); } catch { process.kill(pid, 'SIGKILL'); }
|
|
85
85
|
}
|
|
86
86
|
log('info', `Killed orphaned PID ${pid} (${f}) before worktree removal`);
|
|
87
87
|
} catch {} // process may already be dead
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.653",
|
|
4
4
|
"description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
|
|
5
5
|
"bin": {
|
|
6
6
|
"minions": "bin/minions.js"
|