@yemi33/minions 0.1.198 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.198 (2026-04-02)
3
+ ## 0.1.199 (2026-04-02)
4
4
 
5
5
  ### Engine
6
6
  - engine/ado.js
@@ -18,6 +18,7 @@
18
18
  - README.md
19
19
 
20
20
  ### Other
21
+ - minions.js
21
22
  - test/unit.test.js
22
23
 
23
24
  ## 0.1.189 (2026-04-02)
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
- const homeDir = process.env.USERPROFILE || process.env.HOME || '';
288
- const scanRoot = root ? path.resolve(root) : homeDir;
289
- const maxDepth = depth !== undefined ? (parseInt(depth, 10) || 3) : 3;
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.198",
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"