Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUv02a58c454980
diff --git a/v3/@claude-flow/cli/src/commands/doctor.ts b/v3/@claude-flow/cli/src/commands/doctor.ts
index a193b702ca..dfb3d1e6e1 100644
--- a/v3/@claude-flow/cli/src/commands/doctor.ts
+++ b/v3/@claude-flow/cli/src/commands/doctor.ts
@@ -255,6 +255,26 @@ async function checkVersionFreshness(): Promise<HealthCheck> {
join(process.cwd(), 'node_modules/@claude-flow/cli/package.json')
];
+ // Also search in npx cache directories (Linux/macOS)
+ const homeDir = process.env.HOME || process.env.USERPROFILE || '';
+ if (homeDir) {
+ // Check common npx cache locations
+ try {
+ const npxCacheDir = join(homeDir, '.npm', '_npx');
+ if (existsSync(npxCacheDir)) {
+ const cacheEntries = require('fs').readdirSync(npxCacheDir);
+ for (const entry of cacheEntries) {
+ const npxPkgPath = join(npxCacheDir, entry, 'node_modules', '@claude-flow', 'cli', 'package.json');
+ if (existsSync(npxPkgPath)) {
+ possiblePaths.push(npxPkgPath);
+ }
+ }
+ }
+ } catch {
+ // Ignore errors scanning npx cache
+ }
+ }
+
for (const pkgPath of possiblePaths) {
try {
if (existsSync(pkgPath)) {