@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.
Files changed (2) hide show
  1. package/lib/serve-mcp.js +3 -1
  2. 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
- rl.on("close", () => {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grainulation/wheat",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Research-driven development framework — structured claims, compiled evidence, deterministic output",
5
5
  "license": "MIT",
6
6
  "author": "grainulation contributors",