@yemi33/minions 0.1.837 → 0.1.838

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,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.837 (2026-04-11)
3
+ ## 0.1.838 (2026-04-11)
4
4
 
5
5
  ### Features
6
6
  - per-item Re-open button on done PRD items (deterministic fallback)
@@ -776,11 +776,17 @@ async function prdItemRequeue(workItemId, source, prdFile) {
776
776
  async function prdItemReopen(source, itemId) {
777
777
  if (!confirm('Re-open this item? It will be set to "updated" and the engine will re-dispatch it on the existing branch.')) return;
778
778
  try {
779
+ // Set item to "updated" + clear stale flag + approve so materializer picks it up
779
780
  const res = await fetch('/api/prd-items/update', {
780
781
  method: 'POST', headers: { 'Content-Type': 'application/json' },
781
782
  body: JSON.stringify({ source, itemId, status: 'updated' })
782
783
  });
783
784
  if (res.ok) {
785
+ // Also approve the plan (clears planStale so materializer runs)
786
+ await fetch('/api/plans/approve', {
787
+ method: 'POST', headers: { 'Content-Type': 'application/json' },
788
+ body: JSON.stringify({ file: source, skipRegen: true })
789
+ });
784
790
  showToast('cmd-toast', 'Item re-opened — will dispatch on next tick', true);
785
791
  refresh();
786
792
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.837",
3
+ "version": "0.1.838",
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"