moflo 4.6.3 → 4.6.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "moflo",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.4",
|
|
4
4
|
"description": "MoFlo — AI agent orchestration for Claude Code. Forked from ruflo/claude-flow with patches applied to source, plus feature-level orchestration.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -131,30 +131,6 @@ async function checkMemoryDatabase() {
|
|
|
131
131
|
}
|
|
132
132
|
return { name: 'Memory Database', status: 'warn', message: 'Not initialized', fix: 'claude-flow memory configure --backend hybrid' };
|
|
133
133
|
}
|
|
134
|
-
// Check API keys
|
|
135
|
-
async function checkApiKeys() {
|
|
136
|
-
const keys = ['ANTHROPIC_API_KEY', 'CLAUDE_API_KEY', 'OPENAI_API_KEY'];
|
|
137
|
-
const found = [];
|
|
138
|
-
for (const key of keys) {
|
|
139
|
-
if (process.env[key]) {
|
|
140
|
-
found.push(key);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
// Detect Claude Code environment — API keys are managed internally
|
|
144
|
-
const inClaudeCode = !!(process.env.CLAUDE_CODE || process.env.CLAUDE_PROJECT_DIR || process.env.MCP_SESSION_ID);
|
|
145
|
-
if (found.includes('ANTHROPIC_API_KEY') || found.includes('CLAUDE_API_KEY')) {
|
|
146
|
-
return { name: 'API Keys', status: 'pass', message: `Found: ${found.join(', ')}` };
|
|
147
|
-
}
|
|
148
|
-
else if (inClaudeCode) {
|
|
149
|
-
return { name: 'API Keys', status: 'pass', message: 'Claude Code (managed internally)' };
|
|
150
|
-
}
|
|
151
|
-
else if (found.length > 0) {
|
|
152
|
-
return { name: 'API Keys', status: 'warn', message: `Found: ${found.join(', ')} (no Claude key)`, fix: 'export ANTHROPIC_API_KEY=your_key' };
|
|
153
|
-
}
|
|
154
|
-
else {
|
|
155
|
-
return { name: 'API Keys', status: 'warn', message: 'No API keys found', fix: 'export ANTHROPIC_API_KEY=your_key' };
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
134
|
// Check git (async with proper env inheritance)
|
|
159
135
|
async function checkGit() {
|
|
160
136
|
try {
|
|
@@ -491,7 +467,6 @@ export const doctorCommand = {
|
|
|
491
467
|
checkConfigFile,
|
|
492
468
|
checkDaemonStatus,
|
|
493
469
|
checkMemoryDatabase,
|
|
494
|
-
checkApiKeys,
|
|
495
470
|
checkMcpServers,
|
|
496
471
|
checkDiskSpace,
|
|
497
472
|
checkBuildTools,
|
|
@@ -506,7 +481,6 @@ export const doctorCommand = {
|
|
|
506
481
|
'config': checkConfigFile,
|
|
507
482
|
'daemon': checkDaemonStatus,
|
|
508
483
|
'memory': checkMemoryDatabase,
|
|
509
|
-
'api': checkApiKeys,
|
|
510
484
|
'git': checkGit,
|
|
511
485
|
'mcp': checkMcpServers,
|
|
512
486
|
'disk': checkDiskSpace,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moflo/cli",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MoFlo CLI — AI agent orchestration with specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
|
6
6
|
"main": "dist/src/index.js",
|