@yemi33/minions 0.1.617 → 0.1.619
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 +10 -0
- package/dashboard.js +5 -1
- package/engine/cleanup.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.619 (2026-04-08)
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
- engine stuck in stopped state after dashboard restart (closes #564) (#573)
|
|
7
|
+
|
|
8
|
+
## 0.1.618 (2026-04-08)
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
- also check for claude.exe in Windows tasklist before killing
|
|
12
|
+
|
|
3
13
|
## 0.1.617 (2026-04-08)
|
|
4
14
|
|
|
5
15
|
### Fixes
|
package/dashboard.js
CHANGED
|
@@ -907,7 +907,11 @@ function cleanDispatchEntries(matchFn) {
|
|
|
907
907
|
|
|
908
908
|
function spawnEngine() {
|
|
909
909
|
const controlPath = path.join(ENGINE_DIR, 'control.json');
|
|
910
|
-
|
|
910
|
+
// Don't pre-write 'stopped' — let the new engine process own its state transition.
|
|
911
|
+
// The engine start code already handles state:'running' with a dead PID gracefully.
|
|
912
|
+
// Only set restarted_at + clear stale pid so dashboard shows the restart timestamp.
|
|
913
|
+
const control = safeJson(controlPath) || {};
|
|
914
|
+
safeWrite(controlPath, { ...control, pid: null, restarted_at: new Date().toISOString() });
|
|
911
915
|
const { spawn: cpSpawn } = require('child_process');
|
|
912
916
|
const childEnv = { ...process.env };
|
|
913
917
|
for (const key of Object.keys(childEnv)) {
|
package/engine/cleanup.js
CHANGED
|
@@ -72,7 +72,8 @@ function _killProcessInWorktree(dir, activeProcesses, activeIds) {
|
|
|
72
72
|
try {
|
|
73
73
|
if (process.platform === 'win32') {
|
|
74
74
|
const taskInfo = exec(`tasklist /FI "PID eq ${pid}" /NH`, { encoding: 'utf8', timeout: 3000, windowsHide: true });
|
|
75
|
-
|
|
75
|
+
const taskLower = taskInfo.toLowerCase();
|
|
76
|
+
if (!taskLower.includes('node') && !taskLower.includes('claude')) continue;
|
|
76
77
|
exec(`taskkill /F /PID ${pid}`, { stdio: 'pipe', timeout: 5000, windowsHide: true });
|
|
77
78
|
} else {
|
|
78
79
|
// Verify it's a node process before killing (prevent recycled PID kill)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.619",
|
|
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"
|