@yemi33/minions 0.1.1721 → 0.1.1722

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.1722 (2026-05-05)
4
+
5
+ ### Other
6
+ - Improve schedule run now feedback
7
+
3
8
  ## 0.1.1721 (2026-05-05)
4
9
 
5
10
  ### Fixes
@@ -547,7 +547,15 @@ async function toggleScheduleEnabled(id, enabled) {
547
547
  }
548
548
 
549
549
  async function runScheduleNow(id, btn) {
550
- if (btn) { btn.textContent = 'Running...'; btn.style.pointerEvents = 'none'; btn.style.opacity = '0.6'; }
550
+ if (btn && btn.disabled) return;
551
+ if (btn) {
552
+ btn.dataset.origText = btn.textContent;
553
+ btn.disabled = true;
554
+ btn.setAttribute('aria-busy', 'true');
555
+ btn.textContent = 'Running...';
556
+ btn.style.pointerEvents = 'none';
557
+ btn.style.opacity = '0.6';
558
+ }
551
559
  try {
552
560
  const res = await fetch('/api/schedules/run-now', {
553
561
  method: 'POST', headers: { 'Content-Type': 'application/json' },
@@ -562,8 +570,16 @@ async function runScheduleNow(id, btn) {
562
570
  }
563
571
  } catch (e) {
564
572
  showToast('cmd-toast', 'Run error: ' + e.message, false);
573
+ } finally {
574
+ if (btn) {
575
+ btn.disabled = false;
576
+ btn.removeAttribute('aria-busy');
577
+ btn.textContent = btn.dataset.origText || 'Run now';
578
+ delete btn.dataset.origText;
579
+ btn.style.pointerEvents = '';
580
+ btn.style.opacity = '';
581
+ }
565
582
  }
566
- if (btn) { btn.textContent = 'Run now'; btn.style.pointerEvents = ''; btn.style.opacity = ''; }
567
583
  }
568
584
 
569
585
  async function deleteSchedule(id) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "runtime": "copilot",
3
3
  "models": null,
4
- "cachedAt": "2026-05-05T00:49:43.073Z"
4
+ "cachedAt": "2026-05-05T07:20:48.344Z"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1721",
3
+ "version": "0.1.1722",
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"