crukx-mcp 0.1.21 → 0.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.
Files changed (2) hide show
  1. package/dist/server.js +2 -1
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -58,7 +58,8 @@ async function request(path, init = {}) {
58
58
  ...init,
59
59
  signal: controller.signal,
60
60
  headers: {
61
- "Content-Type": "application/json",
61
+ // Only set Content-Type for requests that have a body
62
+ ...init.body ? { "Content-Type": "application/json" } : {},
62
63
  Authorization: `Bearer ${token}`,
63
64
  "X-Crukx-Source": "mcp",
64
65
  ...init.headers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crukx-mcp",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Crukx MCP server — reliability control plane for autonomous software engineering",
5
5
  "type": "module",
6
6
  "main": "./dist/server.js",