@yemi33/minions 0.1.216 → 0.1.217
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/engine/preflight.js +6 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/preflight.js
CHANGED
|
@@ -222,12 +222,13 @@ function doctor(minionsHome) {
|
|
|
222
222
|
|
|
223
223
|
// Check playbooks
|
|
224
224
|
const playbooksDir = path.join(minionsHome, 'playbooks');
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
// Discover all .md playbooks in the directory — don't hardcode
|
|
226
|
+
let playbooks = [];
|
|
227
|
+
try { playbooks = fs.readdirSync(playbooksDir).filter(f => f.endsWith('.md')); } catch { /* dir may not exist */ }
|
|
228
|
+
if (playbooks.length > 0) {
|
|
229
|
+
runtimeResults.push({ name: 'Playbooks', ok: true, message: `${playbooks.length} playbooks found` });
|
|
229
230
|
} else {
|
|
230
|
-
runtimeResults.push({ name: 'Playbooks', ok: false, message:
|
|
231
|
+
runtimeResults.push({ name: 'Playbooks', ok: false, message: 'no playbooks found in playbooks/ — run: minions init --force' });
|
|
231
232
|
}
|
|
232
233
|
|
|
233
234
|
// Check port 7331 availability (only if dashboard isn't running)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.217",
|
|
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"
|