@yemi33/minions 0.1.215 → 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 +13 -0
- package/engine/preflight.js +7 -13
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/preflight.js
CHANGED
|
@@ -101,14 +101,7 @@ function runPreflight(opts = {}) {
|
|
|
101
101
|
allOk = false;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
//
|
|
105
|
-
const hasApiKey = !!process.env.ANTHROPIC_API_KEY;
|
|
106
|
-
if (hasApiKey) {
|
|
107
|
-
results.push({ name: 'Anthropic auth', ok: true, message: 'ANTHROPIC_API_KEY set' });
|
|
108
|
-
} else {
|
|
109
|
-
// Not fatal — user may have Claude Max subscription
|
|
110
|
-
results.push({ name: 'Anthropic auth', ok: 'warn', message: 'ANTHROPIC_API_KEY not set — agents need an API key or Claude Max subscription' });
|
|
111
|
-
}
|
|
104
|
+
// Auth is handled by Claude Code itself (API key, Claude Max, etc.) — no check needed here.
|
|
112
105
|
|
|
113
106
|
return { passed: allOk, results };
|
|
114
107
|
}
|
|
@@ -229,12 +222,13 @@ function doctor(minionsHome) {
|
|
|
229
222
|
|
|
230
223
|
// Check playbooks
|
|
231
224
|
const playbooksDir = path.join(minionsHome, 'playbooks');
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
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` });
|
|
236
230
|
} else {
|
|
237
|
-
runtimeResults.push({ name: 'Playbooks', ok: false, message:
|
|
231
|
+
runtimeResults.push({ name: 'Playbooks', ok: false, message: 'no playbooks found in playbooks/ — run: minions init --force' });
|
|
238
232
|
}
|
|
239
233
|
|
|
240
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"
|