@yemi33/minions 0.1.854 → 0.1.855

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.855 (2026-04-11)
4
+
5
+ ### Fixes
6
+ - pipeline modal buttons stuck on loading state after success
7
+
3
8
  ## 0.1.854 (2026-04-11)
4
9
 
5
10
  ### Features
@@ -449,7 +449,7 @@ async function _triggerPipeline(id, btn) {
449
449
  showToast('cmd-toast', 'Pipeline triggered', true);
450
450
  try {
451
451
  var res = await fetch('/api/pipelines/trigger', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ id: id }) });
452
- if (res.ok) { refresh(); await _refreshPipelineDetail(id); }
452
+ if (res.ok) { if (btn) { btn.textContent = 'Run Now'; btn.style.pointerEvents = ''; btn.style.opacity = ''; } refresh(); await _refreshPipelineDetail(id); }
453
453
  else { var d = await res.json().catch(function() { return {}; }); if (btn) { btn.textContent = 'Run Now'; btn.style.pointerEvents = ''; btn.style.opacity = ''; } showToast('cmd-toast', 'Failed: ' + (d.error || 'unknown'), false); }
454
454
  } catch (e) { if (btn) { btn.textContent = 'Run Now'; btn.style.pointerEvents = ''; btn.style.opacity = ''; } showToast('cmd-toast', 'Error: ' + e.message, false); }
455
455
  }
@@ -461,6 +461,7 @@ async function _abortPipeline(id, btn) {
461
461
  try {
462
462
  var res = await fetch('/api/pipelines/abort', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ id: id }) });
463
463
  if (res.ok) {
464
+ if (btn) { btn.textContent = 'Abort'; btn.style.pointerEvents = ''; btn.style.opacity = ''; }
464
465
  refresh();
465
466
  await _refreshPipelineDetail(id);
466
467
  } else { var d = await res.json().catch(function() { return {}; }); showToast('cmd-toast', 'Abort failed: ' + (d.error || 'unknown'), false); if (btn) { btn.textContent = 'Abort'; btn.style.pointerEvents = ''; btn.style.opacity = ''; } }
@@ -474,6 +475,7 @@ async function _retriggerPipeline(id, btn) {
474
475
  try {
475
476
  var res = await fetch('/api/pipelines/retrigger', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ id: id }) });
476
477
  if (res.ok) {
478
+ if (btn) { btn.textContent = 'Retrigger'; btn.style.pointerEvents = ''; btn.style.opacity = ''; }
477
479
  refresh();
478
480
  await _refreshPipelineDetail(id);
479
481
  } else { var d = await res.json().catch(function() { return {}; }); showToast('cmd-toast', 'Retrigger failed: ' + (d.error || 'unknown'), false); if (btn) { btn.textContent = 'Retrigger'; btn.style.pointerEvents = ''; btn.style.opacity = ''; } }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.854",
3
+ "version": "0.1.855",
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"