@yemi33/minions 0.1.250 → 0.1.251
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 +2 -1
- package/dashboard/js/command-center.js +10 -0
- package/dashboard.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -279,6 +279,16 @@ async function ccExecuteAction(action) {
|
|
|
279
279
|
status.style.color = 'var(--green)';
|
|
280
280
|
break;
|
|
281
281
|
}
|
|
282
|
+
case 'pin': {
|
|
283
|
+
await fetch('/api/pinned', {
|
|
284
|
+
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
285
|
+
body: JSON.stringify({ title: action.title, content: action.content || action.description, level: action.level || '' })
|
|
286
|
+
});
|
|
287
|
+
status.innerHTML = '📌 Pinned: <strong>' + escHtml(action.title) + '</strong> — visible to all agents';
|
|
288
|
+
status.style.color = 'var(--green)';
|
|
289
|
+
refresh();
|
|
290
|
+
break;
|
|
291
|
+
}
|
|
282
292
|
case 'plan': {
|
|
283
293
|
await fetch('/api/plan', {
|
|
284
294
|
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
package/dashboard.js
CHANGED
|
@@ -378,7 +378,8 @@ If no actions are needed (just answering a question, or you handled it directly)
|
|
|
378
378
|
|
|
379
379
|
Available action types:
|
|
380
380
|
- **dispatch**: Create a work item for an agent. Fields: title, workType (ask/explore/fix/review/test/implement/verify), priority (low/medium/high), agents (array of IDs, optional), project, description. Use \`verify\` when the user wants to build PRs locally, merge branches together, start a dev server, and get a localhost URL to test.
|
|
381
|
-
- **note**: Save a note/decision. Fields: title, content
|
|
381
|
+
- **note**: Save a note/decision to the inbox. Fields: title, content
|
|
382
|
+
- **pin**: Pin critical context visible to ALL agents on every task. Use when the user says "remember", "pin", "always", "from now on". Fields: title, content, level (optional: "critical" or "warning")
|
|
382
383
|
- **plan**: Create a multi-step plan. Fields: title, description, project, branchStrategy (parallel/shared-branch)
|
|
383
384
|
- **cancel**: Cancel a running agent. Fields: agent (agent ID), reason
|
|
384
385
|
- **retry**: Retry failed work items. Fields: ids (array of work item IDs)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.251",
|
|
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"
|