@yemi33/minions 0.1.342 → 0.1.344
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 +11 -7
- package/dashboard.js +1 -1
- package/engine/playbook.js +0 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.344 (2026-04-04)
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
- move Reset to Defaults button to settings modal header + fix getConfig error
|
|
7
|
+
|
|
8
|
+
## 0.1.343 (2026-04-04)
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
- remove duplicate selfRefVars declaration in playbook.js
|
|
12
|
+
|
|
3
13
|
## 0.1.342 (2026-04-04)
|
|
4
14
|
|
|
5
15
|
### Fixes
|
package/dashboard/js/settings.js
CHANGED
|
@@ -75,10 +75,7 @@ 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
|
-
'<
|
|
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>' +
|
|
78
|
+
'<span id="settings-status" style="font-size:11px;color:var(--muted)"></span>' +
|
|
82
79
|
'</div>';
|
|
83
80
|
|
|
84
81
|
document.getElementById('modal-title').textContent = 'Settings';
|
|
@@ -86,15 +83,22 @@ async function openSettings() {
|
|
|
86
83
|
// Add save button to modal header actions (next to copy/close)
|
|
87
84
|
const actions = document.querySelector('.modal-header-actions');
|
|
88
85
|
if (!actions) return;
|
|
89
|
-
|
|
90
|
-
|
|
86
|
+
if (!document.getElementById('modal-settings-reset')) {
|
|
87
|
+
const resetBtn = document.createElement('button');
|
|
88
|
+
resetBtn.id = 'modal-settings-reset';
|
|
89
|
+
resetBtn.className = 'modal-copy';
|
|
90
|
+
resetBtn.style.cssText = 'color:var(--red);border-color:var(--red)';
|
|
91
|
+
resetBtn.textContent = 'Reset';
|
|
92
|
+
resetBtn.onclick = resetSettingsToDefaults;
|
|
93
|
+
actions.insertBefore(resetBtn, actions.lastElementChild);
|
|
94
|
+
}
|
|
95
|
+
if (!document.getElementById('modal-settings-save')) {
|
|
91
96
|
const saveBtn = document.createElement('button');
|
|
92
97
|
saveBtn.id = 'modal-settings-save';
|
|
93
98
|
saveBtn.className = 'modal-copy';
|
|
94
99
|
saveBtn.style.cssText = 'color:var(--green);border-color:var(--green)';
|
|
95
100
|
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
101
|
saveBtn.onclick = saveSettings;
|
|
97
|
-
// Insert before the close button (last child)
|
|
98
102
|
actions.insertBefore(saveBtn, actions.lastElementChild);
|
|
99
103
|
}
|
|
100
104
|
document.getElementById('modal-body').innerHTML = html;
|
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/engine/playbook.js
CHANGED
|
@@ -293,14 +293,6 @@ function renderPlaybook(type, vars) {
|
|
|
293
293
|
log('warn', `Playbook "${type}": substituted values contain unresolved {{...}} patterns (potential self-reference): ${selfRefVars.join(', ')}`);
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
// Warn when a substituted value itself contains {{...}} patterns (potential self-reference)
|
|
297
|
-
const selfRefVars = Object.entries(allVars)
|
|
298
|
-
.filter(([, val]) => /\{\{\w+\}\}/.test(String(val)))
|
|
299
|
-
.map(([key]) => key);
|
|
300
|
-
if (selfRefVars.length > 0) {
|
|
301
|
-
log('warn', `Playbook "${type}": substituted values contain unresolved {{...}} patterns (potential self-reference): ${selfRefVars.join(', ')}`);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
296
|
// Warn on variables that resolved to empty string
|
|
305
297
|
const emptyVars = Object.entries(allVars)
|
|
306
298
|
.filter(([, val]) => String(val) === '')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.344",
|
|
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"
|