@yemi33/minions 0.1.459 → 0.1.461

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,8 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.459 (2026-04-07)
3
+ ## 0.1.461 (2026-04-07)
4
4
 
5
5
  ### Fixes
6
+ - plan card click opens modal immediately with loading state
7
+ - remove non-functional Discuss & Revise button from plan cards
6
8
  - steering no longer causes pending/active flip
7
9
 
8
10
  ## 0.1.458 (2026-04-07)
@@ -211,15 +211,7 @@ function renderPlans(plans) {
211
211
  const actionTarget = prdFile || p.file;
212
212
  actions = '<div class="plan-card-actions" onclick="event.stopPropagation()">' +
213
213
  '<button class="plan-btn approve" onclick="planApprove(\'' + escHtml(actionTarget) + '\')">Approve</button>' +
214
- '<button class="plan-btn" style="color:var(--blue);border-color:var(--blue)" onclick="planDiscuss(\'' + escHtml(p.file) + '\')">Discuss &amp; Revise</button>' +
215
214
  '<button class="plan-btn reject" onclick="planReject(\'' + escHtml(actionTarget) + '\')">Reject</button>' +
216
- '</div>' +
217
- '<div id="revise-input-' + escHtml(p.file).replace(/\./g, '-') + '" style="display:none">' +
218
- '<textarea class="plan-feedback-input" placeholder="What should be changed? Be specific..." id="revise-feedback-' + escHtml(p.file).replace(/\./g, '-') + '"></textarea>' +
219
- '<div class="plan-card-actions" style="margin-top:4px">' +
220
- '<button class="plan-btn revise" onclick="planSubmitRevise(\'' + escHtml(p.file) + '\')">Submit Revision Request</button>' +
221
- '<button class="plan-btn" onclick="planHideRevise(\'' + escHtml(p.file) + '\')">Cancel</button>' +
222
- '</div>' +
223
215
  '</div>';
224
216
  } else if (isRevision) {
225
217
  actions = '<div class="plan-card-meta" style="margin-top:6px;color:var(--purple,#a855f7)">Revision in progress: ' + escHtml((p.revisionFeedback || '').slice(0, 100)) + '</div>';
@@ -484,6 +476,12 @@ async function planView(file) {
484
476
  _stopPlanPoll();
485
477
  try {
486
478
  const normalizedFile = normalizePlanFile(file);
479
+
480
+ // Show modal immediately with loading state
481
+ document.getElementById('modal-title').textContent = normalizedFile;
482
+ document.getElementById('modal-body').innerHTML = '<p style="color:var(--muted)">Loading...</p>';
483
+ document.getElementById('modal').classList.add('open');
484
+
487
485
  const planRes = await fetch('/api/plans/' + encodeURIComponent(normalizedFile));
488
486
  const lastMod = planRes.headers.get('Last-Modified');
489
487
  const resolvedPath = planRes.headers.get('X-Resolved-Path');
@@ -495,7 +493,6 @@ async function planView(file) {
495
493
  _modalFilePath = resolvedPath || ((normalizedFile.endsWith('.json') ? 'prd/' : 'plans/') + normalizedFile); showModalQa();
496
494
  const card = findCardForFile(_modalFilePath);
497
495
  if (card) clearNotifBadge(card);
498
- document.getElementById('modal').classList.add('open');
499
496
 
500
497
  // Live-poll while modal is open
501
498
  _planPollFile = normalizedFile;
@@ -633,6 +630,9 @@ async function planDiscuss(file) {
633
630
 
634
631
  async function planOpenInDocChat(file) {
635
632
  try {
633
+ document.getElementById('modal-title').textContent = file;
634
+ document.getElementById('modal-body').innerHTML = '<p style="color:var(--muted)">Loading...</p>';
635
+ document.getElementById('modal').classList.add('open');
636
636
  const normalizedFile = normalizePlanFile(file);
637
637
  const planRes = await fetch('/api/plans/' + encodeURIComponent(normalizedFile));
638
638
  const resolvedPath = planRes.headers.get('X-Resolved-Path');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.459",
3
+ "version": "0.1.461",
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"