@yemi33/minions 0.1.842 → 0.1.843

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,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.842 (2026-04-11)
3
+ ## 0.1.843 (2026-04-11)
4
4
 
5
5
  ### Features
6
6
  - optimistic UI updates for all dashboard actions
@@ -8,6 +8,7 @@
8
8
  - stale PRD shows Regenerate PRD + Resume as-is buttons
9
9
 
10
10
  ### Fixes
11
+ - steering resume failure no longer silently marked as SUCCESS
11
12
  - cli.js reads PID files from wrong directory on reattach
12
13
  - revert modal CSS changes from 227779d that broke plan modal layout
13
14
  - restore text selection → doc-chat flow + regression tests
package/engine.js CHANGED
@@ -808,8 +808,8 @@ async function spawnAgent(dispatchItem, config) {
808
808
  if (resumeCode !== 0) {
809
809
  log('warn', `Steering resume for ${agentId} exited with code ${resumeCode} | stderr: ${stderr.slice(-300).replace(/\n/g, ' ')}`);
810
810
  try { fs.appendFileSync(liveOutputPath, `\n[steering-failed] Resume exited with code ${resumeCode}. Your message was received but the agent could not continue the session.\n`); } catch {}
811
- activeProcesses.delete(id);
812
- completeDispatch(id, DISPATCH_RESULT.SUCCESS, 'Steering resume failed but original work completed', '', { processWorkItemFailure: false });
811
+ // Don't assume original work completed — run normal close handler to parse output and determine actual result
812
+ onAgentClose(resumeCode);
813
813
  return;
814
814
  }
815
815
  // Successful resume — run normal close handler
@@ -819,7 +819,7 @@ async function spawnAgent(dispatchItem, config) {
819
819
  log('warn', `Steering re-spawn error for ${agentId}: ${err.message}`);
820
820
  try { fs.appendFileSync(liveOutputPath, `\n[steering-failed] Spawn error: ${err.message}. Your message was received but the agent could not resume.\n`); } catch {}
821
821
  activeProcesses.delete(id);
822
- completeDispatch(id, DISPATCH_RESULT.SUCCESS, 'Steering re-spawn error but original work completed', '', { processWorkItemFailure: false });
822
+ completeDispatch(id, DISPATCH_RESULT.ERROR, `Steering re-spawn failed: ${err.message}`);
823
823
  });
824
824
 
825
825
  // Don't run completion hooks — agent is still working
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.842",
3
+ "version": "0.1.843",
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"