@yemi33/minions 0.1.1721 → 0.1.1723

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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1723 (2026-05-05)
4
+
5
+ ### Other
6
+ - Extend command center session TTL
7
+
8
+ ## 0.1.1722 (2026-05-05)
9
+
10
+ ### Other
11
+ - Improve schedule run now feedback
12
+
3
13
  ## 0.1.1721 (2026-05-05)
4
14
 
5
15
  ### 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:30:27.028Z"
5
5
  }
package/engine/shared.js CHANGED
@@ -836,7 +836,7 @@ const ENGINE_DEFAULTS = {
836
836
  maxDispatchPromptBytes: 1024 * 1024, // 1 MB — dispatch items with prompts larger than this sidecar to engine/contexts/ to prevent dispatch.json OOM (#1167)
837
837
  maxStateFileBytes: 100 * 1024 * 1024, // 100 MB — fail startup with a clear error when dispatch.json / cooldowns.json exceed this, rather than silently OOMing on JSON.parse (#1167)
838
838
  ccMaxTurns: 50, // max tool-use turns for CC/doc-chat before CLI stops
839
- ccSessionTtlMs: 2 * 60 * 60 * 1000, // 2hexpire stale resumed CC sessions to cap context growth
839
+ ccSessionTtlMs: 7 * 24 * 60 * 60 * 1000, // 7dkeep chats resumable after breaks, still bounded by turn cap
840
840
  docSessionTtlMs: 7 * 24 * 60 * 60 * 1000, // 7d — longer-lived doc sessions, still bounded
841
841
  maxLlmRawBytes: 256 * 1024, // keep only a bounded stdout tail from direct Claude calls
842
842
  maxLlmStderrBytes: 64 * 1024, // keep only a bounded stderr tail from direct Claude calls
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1721",
3
+ "version": "0.1.1723",
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"