@yemi33/minions 0.1.670 → 0.1.671
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 +4 -1
- package/engine/queries.js +23 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/queries.js
CHANGED
|
@@ -706,6 +706,29 @@ function getWorkItems(config) {
|
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
+
// Populate _artifacts for the work item detail modal
|
|
710
|
+
for (const item of allItems) {
|
|
711
|
+
const arts = {};
|
|
712
|
+
const agentId = item.dispatched_to || item.agent;
|
|
713
|
+
if (agentId) {
|
|
714
|
+
// Output log — find most recent matching dispatch output
|
|
715
|
+
const agentDir = path.join(MINIONS_DIR, 'agents', agentId);
|
|
716
|
+
try {
|
|
717
|
+
const files = safeReadDir(agentDir).filter(f => f.startsWith('output-') && f.includes(item.id?.slice(-8) || '___') && f.endsWith('.log'));
|
|
718
|
+
if (files.length > 0) arts.outputLog = agentId + '/' + files[files.length - 1];
|
|
719
|
+
} catch {}
|
|
720
|
+
// Inbox notes created by this agent for this task
|
|
721
|
+
try {
|
|
722
|
+
const inboxFiles = safeReadDir(INBOX_DIR).filter(f => f.includes(agentId) && (f.includes(item.id || '___') || f.includes(item.id?.slice(-8) || '___')));
|
|
723
|
+
if (inboxFiles.length > 0) arts.notes = inboxFiles;
|
|
724
|
+
} catch {}
|
|
725
|
+
}
|
|
726
|
+
if (item.branch) arts.branch = item.branch;
|
|
727
|
+
if (item.sourcePlan) arts.sourcePlan = item.sourcePlan;
|
|
728
|
+
if (item._pr) arts.pr = item._pr;
|
|
729
|
+
if (Object.keys(arts).length > 0) item._artifacts = arts;
|
|
730
|
+
}
|
|
731
|
+
|
|
709
732
|
const statusOrder = {
|
|
710
733
|
pending: 0,
|
|
711
734
|
queued: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.671",
|
|
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"
|