@grainulation/wheat 1.0.7 → 1.0.8
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/lib/serve-mcp.js +3 -1
- package/package.json +1 -1
package/lib/serve-mcp.js
CHANGED
|
@@ -829,7 +829,9 @@ function startServer(dir) {
|
|
|
829
829
|
}
|
|
830
830
|
});
|
|
831
831
|
|
|
832
|
-
|
|
832
|
+
// Keep the server alive — don't exit on stdin close.
|
|
833
|
+
// Claude Code's plugin transport may briefly close/reopen stdin.
|
|
834
|
+
process.stdin.on("end", () => {
|
|
833
835
|
process.exit(0);
|
|
834
836
|
});
|
|
835
837
|
|
package/package.json
CHANGED