@yemi33/minions 0.1.115 → 0.1.116
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/command-center.js +11 -0
- package/dashboard.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -423,6 +423,17 @@ async function ccExecuteAction(action) {
|
|
|
423
423
|
wakeEngine();
|
|
424
424
|
break;
|
|
425
425
|
}
|
|
426
|
+
case 'set-config': {
|
|
427
|
+
const payload = { engine: { [action.setting]: action.value } };
|
|
428
|
+
const res = await fetch('/api/settings', {
|
|
429
|
+
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
430
|
+
body: JSON.stringify(payload)
|
|
431
|
+
});
|
|
432
|
+
if (!res.ok) { const d = await res.json().catch(() => ({})); throw new Error(d.error || 'Config update failed'); }
|
|
433
|
+
status.innerHTML = '✓ Set <strong>' + escHtml(action.setting) + '</strong> = ' + escHtml(String(action.value));
|
|
434
|
+
status.style.color = 'var(--green)';
|
|
435
|
+
break;
|
|
436
|
+
}
|
|
426
437
|
default:
|
|
427
438
|
status.innerHTML = '? Unknown action: ' + escHtml(action.type);
|
|
428
439
|
status.style.color = 'var(--muted)';
|
package/dashboard.js
CHANGED
|
@@ -379,6 +379,7 @@ Available action types:
|
|
|
379
379
|
- **schedule**: Create or update a scheduled task. Fields: id (unique slug), title, cron (3-field: minute hour dayOfWeek), workType (implement/test/explore/ask/review/fix), project (optional), agent (optional), description (optional), priority (optional), enabled (default true). Example cron: "0 9 2" = every Tuesday at 9am.
|
|
380
380
|
- **delete-schedule**: Delete a scheduled task. Fields: id.
|
|
381
381
|
- **create-meeting**: Start a team meeting. Fields: title (short meeting name), agenda (detailed text — what agents should investigate/debate, numbered items work best), agents (array of agent IDs), rounds (optional, default 3), project (optional).
|
|
382
|
+
- **set-config**: Update engine settings. Fields: setting (setting name), value (new value). Valid settings: autoApprovePlans (bool), autoDecompose (bool), allowTempAgents (bool), maxConcurrent (number), maxTurns (number). Example: { "type": "set-config", "setting": "autoApprovePlans", "value": true }
|
|
382
383
|
|
|
383
384
|
## Rules
|
|
384
385
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.116",
|
|
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"
|