@yemi33/minions 0.1.1796 → 0.1.1797

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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1797 (2026-05-08)
4
+
5
+ ### Other
6
+ - Reap confirmed-dead restart dispatches immediately
7
+
3
8
  ## 0.1.1796 (2026-05-08)
4
9
 
5
10
  ### Other
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "runtime": "copilot",
3
3
  "models": null,
4
- "cachedAt": "2026-05-08T16:21:02.022Z"
4
+ "cachedAt": "2026-05-08T16:25:36.069Z"
5
5
  }
package/engine/timeout.js CHANGED
@@ -451,7 +451,8 @@ function checkTimeouts(config) {
451
451
  _logState = `logExists=true logSize=${lst.size} pidPresent=${pidPresent}`;
452
452
  } catch { /* ENOENT — keep default */ }
453
453
 
454
- if (!processAlive && silentMs > staleOrphanTimeout && (Date.now() > engineRestartGraceUntil || engineRestartGraceExempt?.has(item.id))) {
454
+ const confirmedDeadAtRestart = engineRestartGraceExempt?.has(item.id);
455
+ if (!processAlive && (confirmedDeadAtRestart || silentMs > staleOrphanTimeout) && (Date.now() > engineRestartGraceUntil || confirmedDeadAtRestart)) {
455
456
  // Last-resort PID check: lost tracked handle but OS process may still be alive.
456
457
  if (isOsPidAliveForDispatch(item.id)) {
457
458
  log('info', `Orphan check: ${item.agent} (${item.id}) silent ${silentSec}s but OS PID is alive — keeping [${_logState}]`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1796",
3
+ "version": "0.1.1797",
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"