mirror of
https://github.com/anthropic-experimental/sandbox-runtime.git
synced 2026-07-04 06:04:24 +08:00
- Token arms (cmd/powershell/pwsh) now match on the full string, not basename, so an absolute path to pwsh.exe falls through to the explicit throw instead of silently dropping the caller's path and degrading to a PATH lookup of bare 'pwsh.exe'. - Use path.win32.basename/isAbsolute explicitly so the parser is pure and platform-independent. - Move the parseWindowsBinShell test out of the describe.if(isWindows) block into its own all-platforms describe; add a case asserting an absolute pwsh path throws.