@yemi33/minions 0.1.484 → 0.1.485
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 -0
- package/dashboard/js/render-other.js +0 -3
- package/dashboard/layout.html +1 -1
- package/dashboard.js +2 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
// render-other.js — Projects, MCP servers, metrics, token usage renderers extracted from dashboard.html
|
|
2
2
|
|
|
3
3
|
function renderProjects(projects) {
|
|
4
|
-
const header = document.getElementById('header-projects');
|
|
5
4
|
const list = document.getElementById('projects-list');
|
|
6
5
|
if (!projects.length) {
|
|
7
|
-
header.textContent = 'No projects';
|
|
8
6
|
list.innerHTML = '<span style="color:var(--muted);font-style:italic">No projects linked.</span>' +
|
|
9
7
|
'<span onclick="addProject()" style="background:var(--surface2);border:1px solid var(--border);border-radius:4px;padding:3px 10px;color:var(--green);font-weight:500;cursor:pointer;border-style:dashed;margin-left:8px">+ Add Project</span>';
|
|
10
8
|
return;
|
|
11
9
|
}
|
|
12
|
-
header.textContent = projects.map(p => p.name).join(' + ');
|
|
13
10
|
list.innerHTML = projects.map(p =>
|
|
14
11
|
'<span title="' + escHtml(p.description || p.path || '') + '" style="background:var(--surface2);border:1px solid var(--border);border-radius:4px;padding:3px 10px;color:var(--blue);font-weight:500;cursor:help">' +
|
|
15
12
|
escHtml(p.name) +
|
package/dashboard/layout.html
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<body>
|
|
11
11
|
|
|
12
12
|
<header>
|
|
13
|
-
<h1>Minions Mission Control
|
|
13
|
+
<h1>Minions Mission Control</h1>
|
|
14
14
|
<div style="display:flex;align-items:center;gap:8px;">
|
|
15
15
|
<span class="engine-badge stopped" id="engine-badge">STOPPED</span>
|
|
16
16
|
<span id="version-banner" style="font-size:9px;color:var(--muted)"></span>
|
package/dashboard.js
CHANGED
|
@@ -31,12 +31,10 @@ const { getAgents, getAgentDetail, getPrdInfo, getWorkItems, getDispatchQueue,
|
|
|
31
31
|
const PORT = parseInt(process.env.PORT || process.argv[2]) || 7331;
|
|
32
32
|
let CONFIG = queries.getConfig();
|
|
33
33
|
let PROJECTS = _getProjects(CONFIG);
|
|
34
|
-
let projectNames = PROJECTS.map(p => p.name || 'Project').join(' + ');
|
|
35
34
|
|
|
36
35
|
function reloadConfig() {
|
|
37
36
|
CONFIG = queries.getConfig();
|
|
38
37
|
PROJECTS = _getProjects(CONFIG);
|
|
39
|
-
projectNames = PROJECTS.map(p => p.name || 'Project').join(' + ');
|
|
40
38
|
}
|
|
41
39
|
|
|
42
40
|
const PLANS_DIR = path.join(MINIONS_DIR, 'plans');
|
|
@@ -106,7 +104,7 @@ function buildDashboardHtml() {
|
|
|
106
104
|
}
|
|
107
105
|
|
|
108
106
|
let HTML_RAW = buildDashboardHtml();
|
|
109
|
-
let HTML = HTML_RAW
|
|
107
|
+
let HTML = HTML_RAW;
|
|
110
108
|
let HTML_GZ = zlib.gzipSync(HTML);
|
|
111
109
|
let HTML_ETAG = '"' + require('crypto').createHash('md5').update(HTML).digest('hex') + '"';
|
|
112
110
|
|
|
@@ -118,7 +116,7 @@ function rebuildDashboardHtml() {
|
|
|
118
116
|
const newRaw = buildDashboardHtml();
|
|
119
117
|
if (newRaw === HTML_RAW) return; // no changes
|
|
120
118
|
HTML_RAW = newRaw;
|
|
121
|
-
HTML = HTML_RAW
|
|
119
|
+
HTML = HTML_RAW;
|
|
122
120
|
HTML_GZ = zlib.gzipSync(HTML);
|
|
123
121
|
HTML_ETAG = '"' + require('crypto').createHash('md5').update(HTML).digest('hex') + '"';
|
|
124
122
|
console.log(' Dashboard hot-reloaded');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.485",
|
|
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"
|