mcpill 1.11.0 → 1.12.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.12.0
4
+
5
+ - Fix: `runValidate` used `console.log` for the `✓ Valid:` summary line, writing plain text to stdout and breaking stdio MCP transport (clients tried to parse it as JSON-RPC and crashed). Output is now sent to `process.stderr.write` instead.
6
+ - Bumped `mcpster` dep to `^0.3.2`, which carries the same fix in its `setup.js`
7
+
3
8
  ## 1.11.0
4
9
 
5
10
  - `trigger: UserPromptSubmit` is a valid hook trigger in `PILL.md` `## Hook:` sections and `.mcpill/server/hooks/*.md` files
package/dist/cli.js CHANGED
@@ -1232,7 +1232,8 @@ async function validateOne(mcpillDir) {
1232
1232
  }
1233
1233
  process.exit(1);
1234
1234
  }
1235
- console.log(`\u2713 Valid: ${toolCount} tools, ${promptCount} prompts, ${resourceCount} resources`);
1235
+ process.stderr.write(`\u2713 Valid: ${toolCount} tools, ${promptCount} prompts, ${resourceCount} resources
1236
+ `);
1236
1237
  }
1237
1238
  async function runValidate(baseDir) {
1238
1239
  const mcpillDir = path6.join(baseDir, ".mcpill");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcpill",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "type": "module",
5
5
  "description": "CLI for building, validating, and publishing MCP servers using the pill format.",
6
6
  "homepage": "https://mcpill.ruco.dev",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "mcpill-runtime": "^0.1.2",
30
- "mcpster": "^0.3.0",
30
+ "mcpster": "^0.3.2",
31
31
  "commander": "^12"
32
32
  },
33
33
  "devDependencies": {