@yemi33/minions 0.1.52 → 0.1.53

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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.53 (2026-03-30)
4
+
5
+ ### Dashboard
6
+ - dashboard/js/render-plans.js
7
+
3
8
  ## 0.1.52 (2026-03-30)
4
9
 
5
10
  ### Dashboard
@@ -191,10 +191,12 @@ function renderPlans(plans) {
191
191
 
192
192
  let actions = '';
193
193
  if (needsAction) {
194
+ // Approve/Reject target the PRD .json file (not the .md plan) since the API parses it as JSON
195
+ const actionTarget = prdFile || p.file;
194
196
  actions = '<div class="plan-card-actions" onclick="event.stopPropagation()">' +
195
- '<button class="plan-btn approve" onclick="planApprove(\'' + escHtml(p.file) + '\')">Approve</button>' +
197
+ '<button class="plan-btn approve" onclick="planApprove(\'' + escHtml(actionTarget) + '\')">Approve</button>' +
196
198
  '<button class="plan-btn" style="color:var(--blue);border-color:var(--blue)" onclick="planDiscuss(\'' + escHtml(p.file) + '\')">Discuss &amp; Revise</button>' +
197
- '<button class="plan-btn reject" onclick="planReject(\'' + escHtml(p.file) + '\')">Reject</button>' +
199
+ '<button class="plan-btn reject" onclick="planReject(\'' + escHtml(actionTarget) + '\')">Reject</button>' +
198
200
  '</div>' +
199
201
  '<div id="revise-input-' + escHtml(p.file).replace(/\./g, '-') + '" style="display:none">' +
200
202
  '<textarea class="plan-feedback-input" placeholder="What should be changed? Be specific..." id="revise-feedback-' + escHtml(p.file).replace(/\./g, '-') + '"></textarea>' +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
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"