You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
REPLArea: what it touches
ImprovementsKind: in v2.1.275,
ImprovementsSection of the release
What
A helper function used by the REPL (the interactive code-execution environment) sandbox no longer inspects input as JavaScript looking for require/import-style statements to block with a "sealed vm context" error. Instead, it treats the input as a file path: it expands $HOME or ~ prefixes, normalizes the path, and checks whether it falls under one of the configured workspace roots, returning true or false instead of throwing an error.
Why
This changes the sandbox's filtering from code-pattern detection to path-based scoping, which is a more direct way to decide whether a given path is inside allowed workspace boundaries.