diff options
| author | Agando <roduccomm@gmail.com> | 2026-06-08 06:01:25 +0200 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-06-08 06:01:25 +0200 |
| commit | b9485bae5c2e62fa9c1b1c56d0f75be67cb47c37 (patch) | |
| tree | b565095aa14c0072ceb6ca675f0182c275cff0b2 /modules/core/module-neural-vfs.js | |
| parent | 0fa227601d51263b0eb787d53225de3f0b44cad1 (diff) | |
auto: 2026-06-08_06:00 changes
Diffstat (limited to 'modules/core/module-neural-vfs.js')
| -rw-r--r-- | modules/core/module-neural-vfs.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/module-neural-vfs.js b/modules/core/module-neural-vfs.js index 5c30718..e216656 100644 --- a/modules/core/module-neural-vfs.js +++ b/modules/core/module-neural-vfs.js @@ -445,8 +445,9 @@ class NeuralVFSModule { } _isSystemFile(path) { + const normalized = path.startsWith('/') ? path : '/' + path; const sysPrefixes = ['/.trash', '/.semantic_index', '/.memory_graph', '/_snapshots', '/_sessions', '/logs', '/memory', '/system', '/_mods', '/backups']; - return sysPrefixes.some(p => path.startsWith(p) || path.includes('/node_modules')); + return sysPrefixes.some(p => normalized.startsWith(p) || path.includes('/node_modules')); } _contentHash(str) { |