/proc/4/root/var/lang/lib/node_modules/npm/node_modules/@npmcli/run-script/lib
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
const { stat } = require('node:fs/promises')const { resolve } = require('node:path') module.exports = async path => { try { const st = await stat(resolve(path, 'server.js')) return st.isFile() } catch (er) { return false }}