@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 +10 -0
- package/dashboard/js/render-schedules.js +18 -2
- package/engine/copilot-models.json +1 -1
- package/engine/shared.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -547,7 +547,15 @@ async function toggleScheduleEnabled(id, enabled) {
|
|
|
547
547
|
}
|
|
548
548
|
|
|
549
549
|
async function runScheduleNow(id, btn) {
|
|
550
|
-
if (btn
|
|
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) {
|
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:
|
|
839
|
+
ccSessionTtlMs: 7 * 24 * 60 * 60 * 1000, // 7d — keep 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.
|
|
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"
|