@yemi33/minions 0.1.820 → 0.1.821
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 +21 -0
- package/package.json +1 -1
- package/prompts/cc-system.md +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.821 (2026-04-11)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
|
+
- add resume-plan CC action for diff-aware plan updates
|
|
6
7
|
- verify workflow handles shared-branch plans and existing E2E PRs
|
|
7
8
|
- doc-chat drag-to-resize, queued message UX, insertAdjacentHTML
|
|
8
9
|
- re-open done work items when PRD item set to updated/missing
|
|
@@ -760,6 +760,27 @@ async function ccExecuteAction(action, targetTabId) {
|
|
|
760
760
|
status.style.color = 'var(--green)';
|
|
761
761
|
break;
|
|
762
762
|
}
|
|
763
|
+
case 'resume-plan': {
|
|
764
|
+
// Update PRD items first (set modified→updated, new→missing), then approve
|
|
765
|
+
if (action.updates && action.updates.length > 0) {
|
|
766
|
+
for (var ui = 0; ui < action.updates.length; ui++) {
|
|
767
|
+
var u = action.updates[ui];
|
|
768
|
+
await _ccFetch('/api/prd-items/update', { source: action.file, itemId: u.id, status: u.status, name: u.name, description: u.description });
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
if (action.newItems && action.newItems.length > 0) {
|
|
772
|
+
for (var ni = 0; ni < action.newItems.length; ni++) {
|
|
773
|
+
var n = action.newItems[ni];
|
|
774
|
+
await _ccFetch('/api/prd-items', { source: action.file, id: n.id, name: n.name, description: n.description, priority: n.priority, estimated_complexity: n.complexity });
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
await _ccFetch('/api/plans/approve', { file: action.file });
|
|
778
|
+
var resumeCount = (action.updates || []).length + (action.newItems || []).length;
|
|
779
|
+
status.innerHTML = '✓ Resumed plan: <strong>' + escHtml(action.file) + '</strong>' + (resumeCount > 0 ? ' (' + resumeCount + ' item(s) updated)' : '');
|
|
780
|
+
status.style.color = 'var(--green)';
|
|
781
|
+
wakeEngine();
|
|
782
|
+
break;
|
|
783
|
+
}
|
|
763
784
|
case 'edit-prd-item': {
|
|
764
785
|
await _ccFetch('/api/prd-items/update', { source: action.source, itemId: action.itemId, name: action.name, description: action.description, priority: action.priority, estimated_complexity: action.complexity });
|
|
765
786
|
status.innerHTML = '✓ Updated PRD item: <strong>' + escHtml(action.itemId) + '</strong>';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.821",
|
|
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"
|
package/prompts/cc-system.md
CHANGED
|
@@ -63,6 +63,12 @@ Core action types:
|
|
|
63
63
|
|
|
64
64
|
Additional actions (all take `id` or `file` as primary key):
|
|
65
65
|
- Plan lifecycle: pause-plan, approve-plan, reject-plan, archive-plan, unarchive-plan, execute-plan, regenerate-plan, trigger-verify
|
|
66
|
+
- **resume-plan**: Resume a completed/paused plan with PRD updates. Updates existing items and adds new ones, then approves.
|
|
67
|
+
`{"type": "resume-plan", "file": "prd-file.json", "updates": [{"id": "P-xxx", "status": "updated", "description": "new desc"}], "newItems": [{"id": "P-yyy", "name": "New feature", "description": "...", "priority": "high", "complexity": "medium"}]}`
|
|
68
|
+
- Set `status: "updated"` on done items whose requirements changed (engine re-opens the work item on existing branch)
|
|
69
|
+
- Set `status: "missing"` on done items that need full re-implementation
|
|
70
|
+
- `newItems` are added as new PRD items with `status: "missing"`
|
|
71
|
+
- After all updates, the plan is approved and the engine materializes on next tick
|
|
66
72
|
- PRD items: edit-prd-item (source, itemId, name, description, priority, complexity), remove-prd-item (source, itemId)
|
|
67
73
|
- Work items: delete-work-item (id, source)
|
|
68
74
|
- Schedules: schedule (id, title, cron, workType, project, agent, description, priority, enabled), delete-schedule (id)
|