@yemi33/minions 0.1.431 → 0.1.433

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,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.431 (2026-04-06)
3
+ ## 0.1.433 (2026-04-06)
4
4
 
5
5
  ### Features
6
6
  - version check interval on settings page
@@ -11,6 +11,8 @@
11
11
  - Convert remaining lifecycle.js safeWrite calls to mutateJsonFileLocked
12
12
 
13
13
  ### Fixes
14
+ - CC network error shows helpful message + New Session button
15
+ - clicking outside command center dismisses it
14
16
  - PR dedup prefers merged/abandoned over active regardless of order
15
17
  - extract skills from inbox notes, not just agent stdout
16
18
  - deduplicate PR entries during poll write-back
@@ -19,8 +19,10 @@ function ccAbort() {
19
19
  function toggleCommandCenter() {
20
20
  _ccOpen = !_ccOpen;
21
21
  const drawer = document.getElementById('cc-drawer');
22
+ const overlay = document.getElementById('cc-overlay');
22
23
  if (_ccOpen) ccApplySavedWidth();
23
24
  drawer.style.display = _ccOpen ? 'flex' : 'none';
25
+ if (overlay) overlay.style.display = _ccOpen ? 'block' : 'none';
24
26
  if (_ccOpen) {
25
27
  clearNotifBadge(document.getElementById('cc-toggle-btn'));
26
28
  document.getElementById('cc-input').focus();
@@ -318,8 +320,11 @@ async function _ccDoSend(message, skipUserMsg) {
318
320
  }
319
321
  } else {
320
322
  const retryId = 'cc-retry-' + Date.now();
323
+ const isNetworkError = e.message === 'Failed to fetch' || e.message.includes('NetworkError');
321
324
  ccAddMessage('assistant', '<span style="color:var(--red)">Error: ' + escHtml(e.message) + '</span>' +
322
- '<button id="' + retryId + '" onclick="ccRetryLast()" style="margin-top:6px;padding:4px 12px;background:var(--surface2);border:1px solid var(--border);border-radius:4px;color:var(--blue);cursor:pointer;font-size:11px">Retry</button>');
325
+ (isNetworkError ? '<div style="font-size:10px;color:var(--muted);margin-top:4px">Dashboard may have restarted. Try again or click New Session.</div>' : '') +
326
+ '<button id="' + retryId + '" onclick="ccRetryLast()" style="margin-top:6px;padding:4px 12px;background:var(--surface2);border:1px solid var(--border);border-radius:4px;color:var(--blue);cursor:pointer;font-size:11px">Retry</button>' +
327
+ ' <button onclick="ccNewSession()" style="margin-top:6px;padding:4px 12px;background:var(--surface2);border:1px solid var(--border);border-radius:4px;color:var(--muted);cursor:pointer;font-size:11px">New Session</button>');
323
328
  }
324
329
  } finally {
325
330
  _ccSending = false;
@@ -22,6 +22,7 @@
22
22
  <div class="engine-alert" id="engine-alert"></div>
23
23
 
24
24
  <!-- Command Center Drawer -->
25
+ <div id="cc-overlay" style="display:none;position:fixed;inset:0;background:rgba(0,0,0,0.4);z-index:340" onclick="toggleCommandCenter()"></div>
25
26
  <div id="cc-drawer" style="display:none;position:fixed;top:0;right:0;bottom:0;width:420px;background:var(--surface);border-left:1px solid var(--border);z-index:350;flex-direction:column;overscroll-behavior:contain">
26
27
  <div id="cc-resize-handle" class="cc-resize-handle"></div>
27
28
  <div style="padding:12px 16px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.431",
3
+ "version": "0.1.433",
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"