@yemi33/minions 0.1.391 → 0.1.393
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 +5 -1
- package/dashboard/js/refresh.js +1 -0
- package/dashboard/js/render-dispatch.js +14 -3
- package/dashboard/layout.html +1 -0
- package/dashboard/styles.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.393 (2026-04-06)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
|
+
- show version info at bottom of sidebar navigation
|
|
6
7
|
- track dashboard version — detect stale dashboard code separately
|
|
7
8
|
- Replace magic strings in pipeline.js with STAGE_TYPE/PIPELINE_STATUS/MEETING_STATUS constants (#244)
|
|
8
9
|
- Fix spawn-agent.js direct proc.kill() — use cross-platform helpers (#243)
|
|
9
10
|
|
|
11
|
+
### Fixes
|
|
12
|
+
- show 'minions update' as primary upgrade command in version banner
|
|
13
|
+
|
|
10
14
|
## 0.1.388 (2026-04-06)
|
|
11
15
|
|
|
12
16
|
### Fixes
|
package/dashboard/js/refresh.js
CHANGED
|
@@ -58,6 +58,7 @@ function _processStatusUpdate(data) {
|
|
|
58
58
|
renderArchiveButtons(data.archivedPrds || []);
|
|
59
59
|
renderEngineStatus(data.engine);
|
|
60
60
|
renderVersionBanner(data.version);
|
|
61
|
+
renderSidebarVersion(data.version);
|
|
61
62
|
renderDispatch(data.dispatch);
|
|
62
63
|
window._lastDispatch = data.dispatch;
|
|
63
64
|
window._lastWorkItems = data.workItems || [];
|
|
@@ -233,8 +233,8 @@ function renderVersionBanner(version) {
|
|
|
233
233
|
el.title = 'The dashboard process is running older code. Run: minions restart';
|
|
234
234
|
} else if (version.updateAvailable) {
|
|
235
235
|
el.style.cssText = 'font-size:9px;padding:2px 8px;background:rgba(63,185,80,0.1);border:1px solid rgba(63,185,80,0.3);border-radius:4px;color:var(--green);cursor:help';
|
|
236
|
-
el.textContent = 'v' + v + commitLabel + ' — v' + version.latest + ' available. Run: npm update -g @yemi33/minions';
|
|
237
|
-
el.title = 'A newer version is available on npm';
|
|
236
|
+
el.textContent = 'v' + v + commitLabel + ' — v' + version.latest + ' available. Run: minions update or npm update -g @yemi33/minions';
|
|
237
|
+
el.title = 'A newer version is available on npm. Run minions update to upgrade and restart.';
|
|
238
238
|
} else {
|
|
239
239
|
el.style.cssText = 'font-size:9px;color:var(--muted)';
|
|
240
240
|
el.textContent = 'v' + v + commitLabel;
|
|
@@ -242,4 +242,15 @@ function renderVersionBanner(version) {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
|
|
245
|
+
function renderSidebarVersion(version) {
|
|
246
|
+
const el = document.getElementById('sidebar-version');
|
|
247
|
+
if (!el || !version) return;
|
|
248
|
+
const v = version.dashboardRunning || version.disk || '';
|
|
249
|
+
if (!v) return;
|
|
250
|
+
const parts = ['v' + v];
|
|
251
|
+
if (version.stale) parts.push('<span style="color:var(--yellow)">\u26A0 stale</span>');
|
|
252
|
+
else if (version.updateAvailable) parts.push('<span style="color:var(--green)">update available</span>');
|
|
253
|
+
el.innerHTML = parts.join(' ');
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
window.MinionsDispatch = { renderEngineStatus, renderEngineAlert, renderVersionBanner, renderSidebarVersion, renderDispatch, renderEngineLog, shortTime, showErrorDetails };
|
package/dashboard/layout.html
CHANGED
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
<a class="sidebar-link" data-page="pipelines" href="/pipelines">Pipelines</a>
|
|
73
73
|
<a class="sidebar-link" data-page="meetings" href="/meetings">Meetings</a>
|
|
74
74
|
<a class="sidebar-link" data-page="engine" href="/engine">Engine</a>
|
|
75
|
+
<div id="sidebar-version" style="margin-top:auto;padding:8px 12px;font-size:9px;color:var(--muted);border-top:1px solid var(--border)"></div>
|
|
75
76
|
</nav>
|
|
76
77
|
<div class="page-content" id="page-content"><!-- __PAGES__ --></div>
|
|
77
78
|
</div>
|
package/dashboard/styles.css
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
/* Sidebar navigation */
|
|
44
44
|
.page-layout { display: flex; height: calc(100vh - 44px); overflow: hidden; }
|
|
45
|
-
.sidebar { width: 150px; min-width: 150px; background: var(--surface); border-right: 1px solid var(--border); padding: var(--space-4) 0; overflow-y: auto; position: sticky; top: 0; }
|
|
45
|
+
.sidebar { width: 150px; min-width: 150px; background: var(--surface); border-right: 1px solid var(--border); padding: var(--space-4) 0; overflow-y: auto; position: sticky; top: 0; display: flex; flex-direction: column; }
|
|
46
46
|
.sidebar-link { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; color: var(--muted); text-decoration: none; font-size: var(--text-sm); border-left: 3px solid transparent; transition: all var(--transition-fast); cursor: pointer; position: relative; }
|
|
47
47
|
.sidebar-link .notif-badge.done { top: 50%; right: 6px; transform: translateY(-50%); width: 6px; height: 6px; }
|
|
48
48
|
.sidebar-link:hover { color: var(--text); background: var(--surface2); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.393",
|
|
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"
|