@yemi33/minions 0.1.937 → 0.1.939
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 +1 -1
- package/dashboard.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dashboard.js
CHANGED
|
@@ -1491,13 +1491,13 @@ const server = http.createServer(async (req, res) => {
|
|
|
1491
1491
|
if (!Array.isArray(items)) items = [];
|
|
1492
1492
|
const existing = items.find(i =>
|
|
1493
1493
|
i.title === item.title &&
|
|
1494
|
-
(i.status === WI_STATUS.PENDING || i.status === WI_STATUS.DISPATCHED)
|
|
1494
|
+
(i.status === WI_STATUS.PENDING || i.status === WI_STATUS.DISPATCHED || i.status === WI_STATUS.QUEUED)
|
|
1495
1495
|
);
|
|
1496
1496
|
if (existing) { dupId = existing.id; return items; }
|
|
1497
1497
|
items.push(item);
|
|
1498
1498
|
return items;
|
|
1499
1499
|
});
|
|
1500
|
-
if (dupId) return jsonReply(res,
|
|
1500
|
+
if (dupId) return jsonReply(res, 200, { ok: true, id: dupId, duplicate: true });
|
|
1501
1501
|
return jsonReply(res, 200, { ok: true, id });
|
|
1502
1502
|
} catch (e) { return jsonReply(res, 400, { error: e.message }); }
|
|
1503
1503
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.939",
|
|
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"
|