brainy/src/vfs
David Snelling 9f649ff396 fix(vfs): correct createdAt access in initializeRoot()
- v4.5.3: Fix root selection when multiple roots exist
- brain.find() returns Result[] which has entity.createdAt, not top-level createdAt
- Changed from (a as any).createdAt to a.entity?.createdAt
- Ensures oldest root is selected (most likely to have VFS files)
- Fixes Workshop team bug where VFS files exist but readdir('/') returns empty

Related: v4.5.2 tried to fix field name but accessed wrong object level
2025-10-27 08:02:01 -07:00
..
importers feat: implement complete VFS with Knowledge Layer integration 2025-09-24 17:31:48 -07:00
semantic fix: wire up includeVFS parameter to ALL VFS-related APIs (6 critical bugs) 2025-10-24 12:04:13 -07:00
streams feat: implement complete VFS with Knowledge Layer integration 2025-09-24 17:31:48 -07:00
FSCompat.ts feat: implement complete VFS with Knowledge Layer integration 2025-09-24 17:31:48 -07:00
index.ts feat: add neural extraction APIs with NounType taxonomy 2025-09-29 13:51:47 -07:00
PathResolver.ts fix(vfs): correct root entity selection when duplicates exist 2025-10-24 17:07:45 -07:00
TreeUtils.ts fix: handle symlink type in TreeNode creation 2025-09-26 10:19:37 -07:00
types.ts fix: VFS where clause field names + isVFS flag 2025-10-24 11:12:27 -07:00
VirtualFileSystem.ts fix(vfs): correct createdAt access in initializeRoot() 2025-10-27 08:02:01 -07:00