@yemi33/minions 0.1.116 → 0.1.118

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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.118 (2026-04-01)
4
+
5
+ ### Playbooks
6
+ - plan-to-prd.md
7
+
8
+ ## 0.1.117 (2026-04-01)
9
+
10
+ ### Dashboard
11
+ - dashboard.js
12
+ - dashboard/js/refresh.js
13
+ - dashboard/pages/plans.html
14
+
3
15
  ## 0.1.116 (2026-04-01)
4
16
 
5
17
  ### Dashboard
@@ -46,6 +46,11 @@ function _processStatusUpdate(data) {
46
46
  cmdUpdateProjectList(data.projects || []);
47
47
  renderNotes(data.notes);
48
48
  renderPrd(data.prd, data.prdProgress);
49
+ // Auto-approve badge
50
+ const autoEl = document.getElementById('auto-approve-badge');
51
+ if (autoEl) autoEl.innerHTML = data.autoMode?.approvePlans
52
+ ? '<span style="font-size:9px;font-weight:600;padding:1px 6px;border-radius:3px;background:rgba(63,185,80,0.15);color:var(--green);border:1px solid rgba(63,185,80,0.3)">AUTO-APPROVE</span>'
53
+ : '';
49
54
  renderPrs(data.pullRequests || []);
50
55
  renderArchiveButtons(data.archivedPrds || []);
51
56
  renderEngineStatus(data.engine);
@@ -5,7 +5,7 @@
5
5
  <div id="plans-list"><p class="empty">No plans yet. Use /plan in the command center to create one.</p></div>
6
6
  </section>
7
7
  <section class="prd-panel" id="prd-section">
8
- <h2>PRD <span class="count" id="prd-progress-count">0%</span> <span id="prd-badge"></span> <span id="archive-btns"></span></h2>
8
+ <h2>PRD <span class="count" id="prd-progress-count">0%</span> <span id="prd-badge"></span> <span id="auto-approve-badge"></span> <span id="archive-btns"></span></h2>
9
9
  <div id="prd-content"><p class="prd-pending">No PRD found.</p></div>
10
10
  <div id="prd-progress-content" style="margin-top:12px"></div>
11
11
  </section>
package/dashboard.js CHANGED
@@ -239,6 +239,11 @@ function getStatus() {
239
239
  meetings: (() => { try { return require('./engine/meeting').getMeetings(); } catch { return []; } })(),
240
240
  pinned: (() => { try { return parsePinnedEntries(safeRead(path.join(MINIONS_DIR, 'pinned.md'))); } catch { return []; } })(),
241
241
  projects: PROJECTS.map(p => ({ name: p.name, path: p.localPath, description: p.description || '' })),
242
+ autoMode: {
243
+ approvePlans: !!CONFIG.engine?.autoApprovePlans,
244
+ decompose: CONFIG.engine?.autoDecompose !== false,
245
+ tempAgents: !!CONFIG.engine?.allowTempAgents,
246
+ },
242
247
  initialized: !!(CONFIG.agents && Object.keys(CONFIG.agents).length > 0),
243
248
  installId: safeRead(path.join(MINIONS_DIR, '.install-id')).trim() || null,
244
249
  timestamp: new Date().toISOString(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.116",
3
+ "version": "0.1.118",
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"
@@ -25,7 +25,7 @@ A user has provided a plan. Analyze it against the codebase and produce a struct
25
25
 
26
26
  Write the PRD to: `{{team_root}}/prd/{{project_name_lower}}-{{date}}.json`
27
27
 
28
- **If that file already exists**, append a counter: `{{project_name_lower}}-{{date}}-2.json`, `-3.json`, etc. Do NOT overwrite an existing PRD file — the engine tracks work items by filename.
28
+ **If that file already exists** (check BOTH `prd/` AND `prd/archive/`), append a counter: `{{project_name_lower}}-{{date}}-2.json`, `-3.json`, etc. Do NOT overwrite or reuse a filename from an archived PRD — the engine tracks work items by filename and will collide with old items.
29
29
 
30
30
  This file is NOT checked into the repo. The engine reads it on every tick and dispatches implementation work automatically.
31
31