@yemi33/minions 0.1.543 → 0.1.544
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/shared.js +2 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/shared.js
CHANGED
|
@@ -600,7 +600,7 @@ function projectRoot(project) {
|
|
|
600
600
|
function projectStateDir(project) {
|
|
601
601
|
const name = project.name || path.basename(project.localPath);
|
|
602
602
|
const dir = path.join(MINIONS_DIR, 'projects', name);
|
|
603
|
-
if (!
|
|
603
|
+
if (!fs.existsSync(dir)) fs.mkdirSync(dir, { recursive: true });
|
|
604
604
|
return dir;
|
|
605
605
|
}
|
|
606
606
|
|
|
@@ -705,7 +705,6 @@ function getPrLinks() {
|
|
|
705
705
|
// Primary source: derive from all projects/*/pull-requests.json prdItems
|
|
706
706
|
const projectsDir = path.join(MINIONS_DIR, 'projects');
|
|
707
707
|
try {
|
|
708
|
-
const fs = require('fs');
|
|
709
708
|
for (const d of fs.readdirSync(projectsDir, { withFileTypes: true })) {
|
|
710
709
|
if (!d.isDirectory()) continue;
|
|
711
710
|
try {
|
|
@@ -721,7 +720,7 @@ function getPrLinks() {
|
|
|
721
720
|
} catch { /* projects dir missing */ }
|
|
722
721
|
// Fallback: static pr-links.json for entries not covered above
|
|
723
722
|
try {
|
|
724
|
-
const static_ = JSON.parse(
|
|
723
|
+
const static_ = JSON.parse(fs.readFileSync(PR_LINKS_PATH, 'utf8'));
|
|
725
724
|
for (const [k, v] of Object.entries(static_)) {
|
|
726
725
|
if (!links[k]) links[k] = v;
|
|
727
726
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.544",
|
|
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"
|