@yemi33/minions 0.1.855 → 0.1.856

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,9 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.855 (2026-04-11)
3
+ ## 0.1.856 (2026-04-11)
4
4
 
5
5
  ### Fixes
6
+ - pipeline modal now auto-updates on all action buttons
6
7
  - pipeline modal buttons stuck on loading state after success
7
8
 
8
9
  ## 0.1.854 (2026-04-11)
@@ -414,7 +414,7 @@ function openPipelineDetail(id) {
414
414
  var fresh = (d.pipelines || []).find(function(x) { return x.id === id; });
415
415
  if (fresh) {
416
416
  // Only re-render if data changed
417
- var newHash = JSON.stringify(fresh.runs || []);
417
+ var newHash = JSON.stringify({ runs: fresh.runs || [], enabled: fresh.enabled, _stoppedBy: fresh._stoppedBy, _stopReason: fresh._stopReason });
418
418
  if (newHash !== _pipelinePollHash) {
419
419
  _pipelinePollHash = newHash;
420
420
  _pipelinesData = _pipelinesData.map(function(x) { return x.id === id ? fresh : x; });
@@ -487,7 +487,7 @@ async function _togglePipelineEnabled(id, enabled, btn) {
487
487
  showToast('cmd-toast', enabled ? 'Pipeline enabled' : 'Pipeline disabled', true);
488
488
  try {
489
489
  var res = await fetch('/api/pipelines/update', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ id: id, enabled: enabled }) });
490
- if (res.ok) { refresh(); }
490
+ if (res.ok) { refresh(); await _refreshPipelineDetail(id); }
491
491
  else { showToast('cmd-toast', 'Failed to ' + (enabled ? 'enable' : 'disable') + ' pipeline', false); }
492
492
  } catch (e) { showToast('cmd-toast', 'Error: ' + e.message, false); }
493
493
  if (btn) { btn.textContent = enabled ? 'Disable' : 'Enable'; btn.style.pointerEvents = ''; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.855",
3
+ "version": "0.1.856",
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"