@soulcraft/brainy 4.10.1 → 4.10.2
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.
|
@@ -29,16 +29,10 @@ export class VFSStructureGenerator {
|
|
|
29
29
|
async init() {
|
|
30
30
|
// Get brain's cached VFS instance (creates if doesn't exist)
|
|
31
31
|
this.vfs = this.brain.vfs();
|
|
32
|
-
//
|
|
33
|
-
//
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
await this.vfs.stat('/');
|
|
37
|
-
}
|
|
38
|
-
catch (error) {
|
|
39
|
-
// Not initialized, initialize now
|
|
40
|
-
await this.vfs.init();
|
|
41
|
-
}
|
|
32
|
+
// CRITICAL FIX (v4.10.2): Always call vfs.init() explicitly
|
|
33
|
+
// The previous code tried to check if initialized via stat('/') but this was unreliable
|
|
34
|
+
// vfs.init() is idempotent, so calling it multiple times is safe
|
|
35
|
+
await this.vfs.init();
|
|
42
36
|
}
|
|
43
37
|
/**
|
|
44
38
|
* Generate VFS structure from import result
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soulcraft/brainy",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.2",
|
|
4
4
|
"description": "Universal Knowledge Protocol™ - World's first Triple Intelligence database unifying vector, graph, and document search in one API. 31 nouns × 40 verbs for infinite expressiveness.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|