@yemi33/minions 0.1.609 → 0.1.610
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 +5 -0
- package/dashboard.js +18 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dashboard.js
CHANGED
|
@@ -176,7 +176,24 @@ function _countWorktrees() {
|
|
|
176
176
|
const root = p.localPath ? path.resolve(p.localPath) : null;
|
|
177
177
|
if (!root) continue;
|
|
178
178
|
const wtRoot = path.resolve(root, config.engine?.worktreeRoot || shared.ENGINE_DEFAULTS.worktreeRoot);
|
|
179
|
-
try {
|
|
179
|
+
try {
|
|
180
|
+
for (const dir of fs.readdirSync(wtRoot)) {
|
|
181
|
+
const dirPath = path.join(wtRoot, dir);
|
|
182
|
+
try { if (!fs.statSync(dirPath).isDirectory()) continue; } catch { continue; }
|
|
183
|
+
// A git worktree has a .git file (not directory) in its root
|
|
184
|
+
if (fs.existsSync(path.join(dirPath, '.git'))) {
|
|
185
|
+
count++;
|
|
186
|
+
} else {
|
|
187
|
+
// Parent directory — scan subdirs for nested worktrees
|
|
188
|
+
try {
|
|
189
|
+
for (const sub of fs.readdirSync(dirPath)) {
|
|
190
|
+
const subPath = path.join(dirPath, sub);
|
|
191
|
+
try { if (fs.statSync(subPath).isDirectory() && fs.existsSync(path.join(subPath, '.git'))) count++; } catch {}
|
|
192
|
+
}
|
|
193
|
+
} catch {}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
} catch {}
|
|
180
197
|
}
|
|
181
198
|
return count;
|
|
182
199
|
} catch { return 0; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.610",
|
|
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"
|