@kaiord/mcp 4.4.0 → 4.5.1

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.
@@ -334,6 +334,11 @@ var resolveTextInput = async (inputFile, inputContent) => {
334
334
  if (inputFile) {
335
335
  return readFileAsText(inputFile);
336
336
  }
337
+ if (inputContent === void 0) {
338
+ throw new Error(
339
+ "input_content is required when input_file is not provided"
340
+ );
341
+ }
337
342
  return inputContent;
338
343
  };
339
344
 
package/dist/index.js CHANGED
@@ -329,6 +329,11 @@ var resolveTextInput = async (inputFile, inputContent) => {
329
329
  if (inputFile) {
330
330
  return readFileAsText(inputFile);
331
331
  }
332
+ if (inputContent === void 0) {
333
+ throw new Error(
334
+ "input_content is required when input_file is not provided"
335
+ );
336
+ }
332
337
  return inputContent;
333
338
  };
334
339
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaiord/mcp",
3
- "version": "4.4.0",
3
+ "version": "4.5.1",
4
4
  "description": "MCP server for Kaiord fitness data conversion (FIT, TCX, ZWO, GCN, KRD)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,11 +22,11 @@
22
22
  "dependencies": {
23
23
  "@modelcontextprotocol/sdk": "^1.26.0",
24
24
  "zod": "^4.0.0",
25
- "@kaiord/core": "^4.3.0",
25
+ "@kaiord/core": "^4.5.0",
26
26
  "@kaiord/fit": "^4.3.0",
27
- "@kaiord/zwo": "^4.3.0",
28
27
  "@kaiord/tcx": "^4.3.0",
29
- "@kaiord/garmin": "^4.3.0"
28
+ "@kaiord/zwo": "^4.3.0",
29
+ "@kaiord/garmin": "^4.5.1"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^24.0.0",