pokerdata-mcp 1.0.2 → 1.0.3

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.
@@ -72,5 +72,11 @@ rl.on("line", (line) => {
72
72
  queue = queue.then(() => forward(line));
73
73
  });
74
74
  rl.on("close", () => {
75
- queue.then(() => process.exit(0));
75
+ // Do not call process.exit here: when stdout is a pipe, writes are async
76
+ // and exiting would cut off any reply still buffered (e.g. a tools/list
77
+ // larger than 64 KB). Once the queue settles and stdout drains, the event
78
+ // loop empties and Node exits on its own with this code.
79
+ queue.then(() => {
80
+ process.exitCode = 0;
81
+ });
76
82
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pokerdata-mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "MCP server for GTO poker solver data: preflop ranges and postflop strategy for no-limit hold'em and pot-limit Omaha, from pokerdata.io.",
5
5
  "mcpName": "io.github.hft-studio/pokerdata",
6
6
  "bin": {