@yemi33/minions 0.1.706 → 0.1.708

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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.708 (2026-04-09)
4
+
5
+ ### Fixes
6
+ - defer doc-chat scroll after display transition, update stale tests
7
+
8
+ ### Other
9
+ - simplify: remove unused isActive, isPaused variables from plan modal
10
+
3
11
  ## 0.1.706 (2026-04-09)
4
12
 
5
13
  ### Other
@@ -99,6 +99,11 @@ function _initQaSession() {
99
99
  }
100
100
  if (prior.filePath) _modalFilePath = prior.filePath;
101
101
  _showThreadWrap();
102
+ // Defer scroll — container just transitioned from display:none, layout not yet computed
103
+ requestAnimationFrame(function() {
104
+ var thread = document.getElementById('modal-qa-thread');
105
+ if (thread) thread.scrollTop = thread.scrollHeight;
106
+ });
102
107
  } else {
103
108
  _qaHistory = [];
104
109
  document.getElementById('modal-qa-thread').innerHTML = '';
@@ -434,9 +434,6 @@ function _renderPlanModal(normalizedFile, raw, lastMod) {
434
434
  const isMdPlan = normalizedFile.endsWith('.md');
435
435
  let planStatus = '';
436
436
  try { if (normalizedFile.endsWith('.json')) planStatus = JSON.parse(raw).status || ''; } catch {}
437
- const isActive = planStatus === 'approved' || planStatus === 'active';
438
- const isPaused = planStatus === 'awaiting-approval' || planStatus === 'paused';
439
- const wi = window._lastWorkItems || [];
440
437
  // Modal buttons mirror card logic — derive effectiveStatus the same way
441
438
  const allPlans = window._lastStatus?.plans || [];
442
439
  const cardPlan = allPlans.find(p => p.file === normalizedFile || p.sourcePlan === normalizedFile || (p.file?.endsWith('.json') && p.file === normalizedFile));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.706",
3
+ "version": "0.1.708",
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"