@yemi33/minions 0.1.185 → 0.1.186
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 +6 -0
- package/dashboard/js/settings.js +2 -1
- package/dashboard.js +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dashboard/js/settings.js
CHANGED
|
@@ -16,6 +16,7 @@ async function openSettings() {
|
|
|
16
16
|
'<td style="font-weight:600">' + escHtml(a.emoji || '') + ' ' + escHtml(a.name || id) + '</td>' +
|
|
17
17
|
'<td><input data-agent="' + escHtml(id) + '" data-field="role" value="' + escHtml(a.role || '') + '" style="width:100%;padding:4px 6px;background:var(--surface);border:1px solid var(--border);border-radius:4px;color:var(--text);font-size:11px"></td>' +
|
|
18
18
|
'<td><input data-agent="' + escHtml(id) + '" data-field="skills" value="' + escHtml((a.skills || []).join(', ')) + '" style="width:100%;padding:4px 6px;background:var(--surface);border:1px solid var(--border);border-radius:4px;color:var(--text);font-size:11px"></td>' +
|
|
19
|
+
'<td><input data-agent="' + escHtml(id) + '" data-field="monthlyBudgetUsd" value="' + escHtml(a.monthlyBudgetUsd != null ? String(a.monthlyBudgetUsd) : '') + '" placeholder="unlimited" style="width:70px;padding:4px 6px;background:var(--surface);border:1px solid var(--border);border-radius:4px;color:var(--text);font-size:11px;text-align:right"></td>' +
|
|
19
20
|
'</tr>';
|
|
20
21
|
}).join('');
|
|
21
22
|
|
|
@@ -56,7 +57,7 @@ async function openSettings() {
|
|
|
56
57
|
|
|
57
58
|
'<h3 style="font-size:13px;color:var(--blue);margin-bottom:8px">Agents</h3>' +
|
|
58
59
|
'<table style="width:100%;border-collapse:collapse;margin-bottom:16px;font-size:11px">' +
|
|
59
|
-
'<tr style="text-align:left;color:var(--muted)"><th style="padding:4px">Agent</th><th style="padding:4px">Role</th><th style="padding:4px">Skills</th></tr>' +
|
|
60
|
+
'<tr style="text-align:left;color:var(--muted)"><th style="padding:4px">Agent</th><th style="padding:4px">Role</th><th style="padding:4px">Skills</th><th style="padding:4px">Budget $/mo</th></tr>' +
|
|
60
61
|
agentRows +
|
|
61
62
|
'</table>' +
|
|
62
63
|
|
package/dashboard.js
CHANGED
|
@@ -2988,6 +2988,11 @@ What would you like to discuss or change? When you're happy, say "approve" and I
|
|
|
2988
2988
|
if (!config.agents[id]) continue;
|
|
2989
2989
|
if (updates.role !== undefined) config.agents[id].role = String(updates.role);
|
|
2990
2990
|
if (updates.skills !== undefined) config.agents[id].skills = Array.isArray(updates.skills) ? updates.skills : String(updates.skills).split(',').map(s => s.trim()).filter(Boolean);
|
|
2991
|
+
if (updates.monthlyBudgetUsd !== undefined) {
|
|
2992
|
+
const val = updates.monthlyBudgetUsd === '' || updates.monthlyBudgetUsd === null ? undefined : Number(updates.monthlyBudgetUsd);
|
|
2993
|
+
if (val === undefined || isNaN(val)) delete config.agents[id].monthlyBudgetUsd;
|
|
2994
|
+
else config.agents[id].monthlyBudgetUsd = Math.max(0, val);
|
|
2995
|
+
}
|
|
2991
2996
|
}
|
|
2992
2997
|
}
|
|
2993
2998
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.186",
|
|
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"
|