sticky-note-cli 3.1.21 → 3.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +4 -10
- package/package.json +1 -1
- package/sticky-server/.wrangler/state/v3/observability/miniflare-wobs-trace-store/a590acd76969f996ec6e4b599c3c09f58c283a76f2d61392b5d3046caf557602.sqlite-shm +0 -0
- package/sticky-server/.wrangler/state/v3/observability/miniflare-wobs-trace-store/a590acd76969f996ec6e4b599c3c09f58c283a76f2d61392b5d3046caf557602.sqlite-wal +0 -0
package/bin/cli.js
CHANGED
|
@@ -3797,16 +3797,10 @@ function cmdMcpServer() {
|
|
|
3797
3797
|
print(" [ERR] mcp-server.js not found");
|
|
3798
3798
|
process.exit(1);
|
|
3799
3799
|
}
|
|
3800
|
-
//
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
execFileSync(process.execPath, [mcpServerPath, ...args], {
|
|
3805
|
-
stdio: "inherit",
|
|
3806
|
-
});
|
|
3807
|
-
} catch (err) {
|
|
3808
|
-
if (err.status) process.exit(err.status);
|
|
3809
|
-
}
|
|
3800
|
+
// Run mcp-server.js in-process to avoid stdio pipe inheritance issues on Windows.
|
|
3801
|
+
// Inject --project <cwd> so the server knows which project to serve.
|
|
3802
|
+
process.argv = [process.argv[0], mcpServerPath, "--project", process.cwd(), ...process.argv.slice(3)];
|
|
3803
|
+
require(mcpServerPath);
|
|
3810
3804
|
}
|
|
3811
3805
|
|
|
3812
3806
|
// ──────────────────────────────────────────────
|
package/package.json
CHANGED
|
Binary file
|