@yemi33/minions 0.1.537 → 0.1.539

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,8 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.537 (2026-04-07)
3
+ ## 0.1.539 (2026-04-07)
4
+
5
+ ### Features
6
+ - pipeline modal auto-refreshes after Continue is clicked
7
+
8
+ ## 0.1.538 (2026-04-07)
4
9
 
5
10
  ### Fixes
11
+ - declare onAgentClose as async (closes #454) (#456)
6
12
  - handlePlansExecute dedup allows re-execute after completion
7
13
  - plan regenerate/execute always queues fresh plan-to-prd (#449)
8
14
 
@@ -294,7 +294,16 @@ async function _continuePipeline(id, stageId, btn) {
294
294
  if (res.ok) {
295
295
  showToast('cmd-toast', 'Stage continued — dispatching next tick', true);
296
296
  if (btn) { btn.textContent = '\u2713 Continued'; btn.style.color = 'var(--green)'; btn.style.borderColor = 'var(--green)'; btn.style.opacity = '1'; }
297
+ // Auto-refresh the modal to show pipeline progressing
297
298
  setTimeout(function() { openPipelineDetail(id); }, 2000);
299
+ var pollCount = 0;
300
+ var pollTimer = setInterval(function() {
301
+ pollCount++;
302
+ if (pollCount > 15 || !document.getElementById('modal')?.classList?.contains('open')) {
303
+ clearInterval(pollTimer); return;
304
+ }
305
+ openPipelineDetail(id);
306
+ }, 4000);
298
307
  } else {
299
308
  var d = await res.json().catch(function() { return {}; }); alert('Failed: ' + (d.error || 'unknown'));
300
309
  if (btn) { btn.textContent = 'Continue'; btn.style.pointerEvents = ''; btn.style.opacity = ''; }
package/engine.js CHANGED
@@ -562,7 +562,7 @@ async function spawnAgent(dispatchItem, config) {
562
562
  try { fs.appendFileSync(liveOutputPath, '[stderr] ' + chunk); } catch { /* optional */ }
563
563
  });
564
564
 
565
- function onAgentClose(code) {
565
+ async function onAgentClose(code) {
566
566
  if (heartbeatTimer) { clearInterval(heartbeatTimer); heartbeatTimer = null; }
567
567
  log('info', `Agent ${agentId} (${id}) exited with code ${code}`);
568
568
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.537",
3
+ "version": "0.1.539",
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"