@yemi33/minions 0.1.1853 → 0.1.1854

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,16 +1,13 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.1853 (2026-05-10)
3
+ ## 0.1.1854 (2026-05-10)
4
4
 
5
- ### Features
6
- - generalize watches infra to support arbitrary target types (#2322)
7
- - use safeJsonArr in engine/watches.js loadWatches (footgun #2) (#2320)
5
+ ### Other
6
+ - ui(toast): float cmd-toast at top-level so showToast works on every page
7
+
8
+ ## 0.1.1852 (2026-05-10)
8
9
 
9
10
  ### Fixes
10
- - use safeJsonObj in engine/teams.js (footgun #2) (#2318)
11
- - use safeJsonArr in engine/github.js PR poller (#2317)
12
- - guard empty projects[] in cli.js dispatch helpers (#2316)
13
- - use safeJsonArr in engine/ado.js PR poller (#2315)
14
11
  - use DONE_STATUSES constant in getAgents lastAction (#2314)
15
12
 
16
13
  ## 0.1.1851 (2026-05-10)
@@ -13,6 +13,7 @@ function cmdUpdateProjectList(projects) {
13
13
 
14
14
  function showToast(id, msg, ok, durationMs) {
15
15
  const el = document.getElementById(id);
16
+ if (!el) { console.warn('[showToast] no element with id', id, '— message:', msg); return; }
16
17
  el.className = 'cmd-toast ' + (ok ? 'success' : 'error');
17
18
  if (msg.includes('<a ') || msg.includes('<strong>')) {
18
19
  el.innerHTML = msg;
@@ -80,6 +80,9 @@
80
80
  <div class="page-content" id="page-content"><!-- __PAGES__ --></div>
81
81
  </div>
82
82
 
83
+ <!-- Floating toast — lives outside .page divs so showToast() works on every page -->
84
+ <div class="cmd-toast" id="cmd-toast" role="status" aria-live="polite"></div>
85
+
83
86
  <!-- Agent Detail Panel -->
84
87
  <div class="detail-overlay" id="detail-overlay" onclick="closeDetail()"></div>
85
88
  <div class="detail-panel" id="detail-panel">
@@ -14,7 +14,6 @@
14
14
  <button class="cmd-history-btn" onclick="cmdShowHistory()">Past Commands</button>
15
15
  <button class="pr-pager-btn" style="font-size:9px;padding:2px 8px;color:var(--green);border-color:var(--green)" onclick="openQuickNoteModal()">+ Note</button>
16
16
  </div>
17
- <div class="cmd-toast" id="cmd-toast"></div>
18
17
  </section>
19
18
  <section>
20
19
  <h2>Minions Members <span style="font-size:10px;color:var(--border);font-weight:400;text-transform:none;letter-spacing:0">click for details</span></h2>
@@ -504,8 +504,11 @@
504
504
  .cmd-history-resubmit:hover { background: rgba(88,166,255,0.1); border-color: var(--blue); }
505
505
  .cmd-history-empty { color: var(--muted); font-size: var(--text-md); padding: var(--space-8) 0; text-align: center; }
506
506
  .cmd-toast {
507
- display: none; padding: var(--space-4) var(--space-7); border-radius: var(--radius-sm); font-size: var(--text-md);
508
- margin-top: var(--space-5); animation: fadeIn 0.3s;
507
+ display: none; position: fixed; top: 16px; right: 16px; z-index: 10000;
508
+ padding: var(--space-4) var(--space-7); border-radius: var(--radius-sm); font-size: var(--text-md);
509
+ box-shadow: 0 4px 12px rgba(0,0,0,0.25);
510
+ max-width: min(420px, calc(100vw - 32px)); pointer-events: auto;
511
+ animation: fadeIn 0.3s;
509
512
  }
510
513
  .cmd-toast.success { display: block; background: rgba(63,185,80,0.15); color: var(--green); border: 1px solid var(--green); }
511
514
  .cmd-toast.error { display: block; background: rgba(248,81,73,0.15); color: var(--red); border: 1px solid var(--red); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1853",
3
+ "version": "0.1.1854",
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"