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 CHANGED
@@ -3797,16 +3797,10 @@ function cmdMcpServer() {
3797
3797
  print(" [ERR] mcp-server.js not found");
3798
3798
  process.exit(1);
3799
3799
  }
3800
- // Forward to the MCP server script, passing remaining args + --project
3801
- const args = ["--project", process.cwd(), ...process.argv.slice(3)];
3802
- const { execFileSync } = require("child_process");
3803
- try {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sticky-note-cli",
3
- "version": "3.1.21",
3
+ "version": "3.1.22",
4
4
  "description": "Human-to-human handoff for AI coding assistants. Git-backed shared memory for Claude Code and Copilot CLI.",
5
5
  "license": "MIT",
6
6
  "bin": {