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

rUv9aab27d4e868
diff --git a/v3/@claude-flow/cli/src/ruvector/ast-analyzer.ts b/v3/@claude-flow/cli/src/ruvector/ast-analyzer.ts
index aa966f5879..e411023d57 100644
--- a/v3/@claude-flow/cli/src/ruvector/ast-analyzer.ts
+++ b/v3/@claude-flow/cli/src/ruvector/ast-analyzer.ts
@@ -70,9 +70,12 @@ export class ASTAnalyzer {
async initialize(): Promise<void> {
try {
- const ruvector = await import('@ruvector/ast');
- this.ruvectorEngine = (ruvector as any).createASTAnalyzer?.(this.config);
- this.useNative = !!this.ruvectorEngine;
+ // @ruvector/ast is optional - gracefully fallback if not installed
+ const ruvector = await import('@ruvector/ast' as string).catch(() => null);
+ if (ruvector) {
+ this.ruvectorEngine = (ruvector as any).createASTAnalyzer?.(this.config);
+ this.useNative = !!this.ruvectorEngine;
+ }
} catch {
this.useNative = false;
}