@yemi33/minions 0.1.197 → 0.1.199
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 +2 -1
- package/minions.js +14 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/minions.js
CHANGED
|
@@ -284,9 +284,20 @@ function findGitRepos(rootDir, maxDepth = 3) {
|
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
async function scanAndAdd({ root, depth } = {}) {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
287
|
+
let scanRoot;
|
|
288
|
+
if (root) {
|
|
289
|
+
scanRoot = path.resolve(root);
|
|
290
|
+
} else {
|
|
291
|
+
const homeDir = process.env.USERPROFILE || process.env.HOME || '';
|
|
292
|
+
const answer = await ask('Where are your projects?', homeDir);
|
|
293
|
+
scanRoot = path.resolve(answer);
|
|
294
|
+
}
|
|
295
|
+
if (!fs.existsSync(scanRoot)) {
|
|
296
|
+
console.log(` Directory not found: ${scanRoot}\n`);
|
|
297
|
+
rl.close();
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
const maxDepth = depth !== undefined ? (parseInt(depth, 10) || 4) : 4;
|
|
290
301
|
|
|
291
302
|
console.log(`\n Scanning for git repos in: ${scanRoot}`);
|
|
292
303
|
console.log(` Max depth: ${maxDepth}\n`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.199",
|
|
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"
|