From 15e8c193f08e00b47184250693e628591691730d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 18 Nov 2025 05:24:23 +0000 Subject: [PATCH] docs: note generate-cli stdio fix --- docs/windows.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/windows.md b/docs/windows.md index 7ba0029..be164a9 100755 --- a/docs/windows.md +++ b/docs/windows.md @@ -22,3 +22,4 @@ summary: What to do when pnpm/test flows fail on NTFS-backed worktrees. * `safeCopyFile` falls back to a manual read/write when DrvFs blocks `copyFile`, keeping Bun bundling stable on Windows. * These helpers only affect Windows/WSL behavior—Linux/macOS paths still perform real `chmod`/`copyFile`. * Regenerated CLIs (for example `node dist/cli.js generate-cli context7 --config config/mcporter.json --bundle /mnt/c/Temp/context7-cli.js --runtime node`) now complete successfully even when the bundle lives on `/mnt/c`, and the resulting executable runs with `node /mnt/c/Temp/context7-cli.js --help`. +* When running `mcporter generate-cli` with `--command ./relative-script.ts`, the CLI no longer tries to normalize the path into an HTTP URL—relative/bare commands are always treated as STDIO transports now, matching the PowerShell/WSL behavior you expect.