The VFSStructureGenerator.init() method tried to check if VFS was initialized
by calling stat('/'), which would throw if uninitialized. However, this
approach was unreliable. Changed to always call vfs.init() explicitly,
which is safe since vfs.init() is idempotent.
This fixes the critical bug where Excel imports completed successfully but
no VFS files were accessible afterwards. Users would see 'VFS not initialized'
errors when trying to query imported files.
Tested with 567-row Excel file - VFS now properly shows imported directory
structure with Characters/, Places/, Concepts/ subdirectories and metadata files.
|
||
|---|---|---|
| .. | ||
| index.ts | ||
| SmartCSVImporter.ts | ||
| SmartDOCXImporter.ts | ||
| SmartExcelImporter.ts | ||
| SmartImportOrchestrator.ts | ||
| SmartJSONImporter.ts | ||
| SmartMarkdownImporter.ts | ||
| SmartPDFImporter.ts | ||
| SmartYAMLImporter.ts | ||
| VFSStructureGenerator.ts | ||