Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T05:53:03Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-01-07 05:53:03 +00:00
1 parent a55c2da14d
commit 9aab27d4e8
1 file changed
+6 -3
@@ -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;
}