@yemi33/minions 0.1.376 → 0.1.378
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 +8 -0
- package/dashboard/js/render-prs.js +6 -0
- package/dashboard/js/render-work-items.js +6 -0
- package/engine.js +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.378 (2026-04-06)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
- Fix 3 crash bugs: fanAgentId, null dereferences, cleanDispatchEntries (#228)
|
|
7
|
+
|
|
8
|
+
### Fixes
|
|
9
|
+
- preserve horizontal scroll position on PR and work item tables
|
|
10
|
+
|
|
3
11
|
## 0.1.376 (2026-04-06)
|
|
4
12
|
|
|
5
13
|
### Features
|
|
@@ -64,7 +64,13 @@ function renderPrs(prs) {
|
|
|
64
64
|
'</div>';
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
const tableWrap = el.querySelector('.pr-table-wrap');
|
|
68
|
+
const savedScroll = tableWrap ? tableWrap.scrollLeft : 0;
|
|
67
69
|
el.innerHTML = prTableHtml(rows) + pager;
|
|
70
|
+
if (savedScroll) {
|
|
71
|
+
const newWrap = el.querySelector('.pr-table-wrap');
|
|
72
|
+
if (newWrap) newWrap.scrollLeft = savedScroll;
|
|
73
|
+
}
|
|
68
74
|
}
|
|
69
75
|
|
|
70
76
|
function prPrev() { if (prPage > 0) { prPage--; renderPrs(allPrs); } }
|
|
@@ -110,7 +110,13 @@ function renderWorkItems(items) {
|
|
|
110
110
|
'</div>';
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
const tableWrap = el.querySelector('.pr-table-wrap');
|
|
114
|
+
const savedScroll = tableWrap ? tableWrap.scrollLeft : 0;
|
|
113
115
|
el.innerHTML = html;
|
|
116
|
+
if (savedScroll) {
|
|
117
|
+
const newWrap = el.querySelector('.pr-table-wrap');
|
|
118
|
+
if (newWrap) newWrap.scrollLeft = savedScroll;
|
|
119
|
+
}
|
|
114
120
|
}
|
|
115
121
|
|
|
116
122
|
function editWorkItem(id, source) {
|
package/engine.js
CHANGED
|
@@ -911,8 +911,10 @@ function autoCleanPrdWorkItems(prdFile, config) {
|
|
|
911
911
|
const deletedSet = new Set(deletedIds);
|
|
912
912
|
mutateDispatch((dispatch) => {
|
|
913
913
|
const pred = d => deletedSet.has(d.meta?.item?.id) && d.meta?.item?.sourcePlan === prdFile;
|
|
914
|
-
|
|
915
|
-
|
|
914
|
+
for (const queue of ['pending', 'active', 'completed']) {
|
|
915
|
+
if (!Array.isArray(dispatch[queue])) continue;
|
|
916
|
+
dispatch[queue] = dispatch[queue].filter(d => !pred(d));
|
|
917
|
+
}
|
|
916
918
|
return dispatch;
|
|
917
919
|
});
|
|
918
920
|
log('info', `Plan sync: cleared ${deletedIds.length} pending/failed work items for ${prdFile}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.378",
|
|
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"
|