The diff shows WindowsBinShell changed from a discriminated union (kind: 'cmd'|'powershell'|'pwsh'|'bash'+path) to a simple two-field object {exe: string, args: readonly string[]}. This is reflected in the type definition (lines 145–149), parseWindowsBinShell refactored to return the new shape (lines 160–234), wrapCommandWithSandboxWindows simplified from a switch on sh.kind to argv.push(sh.exe, ...sh.args, p.command) (lines 1359–1360), and all tests updated to expect {exe, args} structure. The
src/index.ts, src/sandbox/sandbox-manager.ts, src/sandbox/windows-sandbox-utils.ts, test/sandbox/winsrt.test.ts
fns: wrapWithSandbox, wrapWithSandboxArgv, ISandboxManager, WindowsSandboxUserStatus, WindowsSandboxParams, wrapCommandWithSandboxWindows, describe, describe.if