@yemi33/minions 0.1.343 → 0.1.345
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 +10 -0
- package/dashboard/js/settings.js +16 -7
- package/dashboard.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.345 (2026-04-04)
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
- move settings status message to header actions bar next to buttons
|
|
7
|
+
|
|
8
|
+
## 0.1.344 (2026-04-04)
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
- move Reset to Defaults button to settings modal header + fix getConfig error
|
|
12
|
+
|
|
3
13
|
## 0.1.343 (2026-04-04)
|
|
4
14
|
|
|
5
15
|
### Fixes
|
package/dashboard/js/settings.js
CHANGED
|
@@ -75,10 +75,6 @@ async function openSettings() {
|
|
|
75
75
|
'<h3 style="font-size:13px;color:var(--blue);margin-bottom:8px">Routing Table</h3>' +
|
|
76
76
|
'<textarea id="set-routing" rows="12" style="width:100%;padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:4px;color:var(--text);font-family:monospace;font-size:11px;resize:vertical">' + escHtml(data.routing || '') + '</textarea>' +
|
|
77
77
|
|
|
78
|
-
'<div style="display:flex;align-items:center;gap:12px;margin-top:12px">' +
|
|
79
|
-
'<button onclick="resetSettingsToDefaults()" style="font-size:11px;padding:4px 12px;background:var(--surface2);border:1px solid var(--border);border-radius:4px;color:var(--red);cursor:pointer">Reset to Defaults</button>' +
|
|
80
|
-
'<span id="settings-status" style="font-size:11px;color:var(--muted)"></span>' +
|
|
81
|
-
'</div>' +
|
|
82
78
|
'</div>';
|
|
83
79
|
|
|
84
80
|
document.getElementById('modal-title').textContent = 'Settings';
|
|
@@ -86,17 +82,30 @@ async function openSettings() {
|
|
|
86
82
|
// Add save button to modal header actions (next to copy/close)
|
|
87
83
|
const actions = document.querySelector('.modal-header-actions');
|
|
88
84
|
if (!actions) return;
|
|
89
|
-
|
|
90
|
-
|
|
85
|
+
if (!document.getElementById('modal-settings-reset')) {
|
|
86
|
+
const resetBtn = document.createElement('button');
|
|
87
|
+
resetBtn.id = 'modal-settings-reset';
|
|
88
|
+
resetBtn.className = 'modal-copy';
|
|
89
|
+
resetBtn.style.cssText = 'color:var(--red);border-color:var(--red)';
|
|
90
|
+
resetBtn.textContent = 'Reset';
|
|
91
|
+
resetBtn.onclick = resetSettingsToDefaults;
|
|
92
|
+
actions.insertBefore(resetBtn, actions.lastElementChild);
|
|
93
|
+
}
|
|
94
|
+
if (!document.getElementById('modal-settings-save')) {
|
|
91
95
|
const saveBtn = document.createElement('button');
|
|
92
96
|
saveBtn.id = 'modal-settings-save';
|
|
93
97
|
saveBtn.className = 'modal-copy';
|
|
94
98
|
saveBtn.style.cssText = 'color:var(--green);border-color:var(--green)';
|
|
95
99
|
saveBtn.innerHTML = '<svg width="12" height="12" viewBox="0 0 16 16" fill="currentColor"><path d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"/></svg> Save';
|
|
96
100
|
saveBtn.onclick = saveSettings;
|
|
97
|
-
// Insert before the close button (last child)
|
|
98
101
|
actions.insertBefore(saveBtn, actions.lastElementChild);
|
|
99
102
|
}
|
|
103
|
+
if (!document.getElementById('settings-status')) {
|
|
104
|
+
const status = document.createElement('span');
|
|
105
|
+
status.id = 'settings-status';
|
|
106
|
+
status.style.cssText = 'font-size:11px;color:var(--muted)';
|
|
107
|
+
actions.insertBefore(status, actions.lastElementChild);
|
|
108
|
+
}
|
|
100
109
|
document.getElementById('modal-body').innerHTML = html;
|
|
101
110
|
document.getElementById('modal-body').style.fontFamily = '';
|
|
102
111
|
document.getElementById('modal-body').style.whiteSpace = '';
|
package/dashboard.js
CHANGED
|
@@ -3286,7 +3286,7 @@ What would you like to discuss or change? When you're happy, say "approve" and I
|
|
|
3286
3286
|
|
|
3287
3287
|
async function handleSettingsReset(req, res) {
|
|
3288
3288
|
try {
|
|
3289
|
-
const config = getConfig();
|
|
3289
|
+
const config = queries.getConfig();
|
|
3290
3290
|
config.engine = { ...shared.ENGINE_DEFAULTS };
|
|
3291
3291
|
config.claude = { ...shared.DEFAULT_CLAUDE };
|
|
3292
3292
|
config.agents = { ...shared.DEFAULT_AGENTS };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.345",
|
|
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"
|