@trainheroic-unofficial/athlete-mcp 1.2.0 → 1.3.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.
Files changed (2) hide show
  1. package/dist/server.mjs +3 -1
  2. package/package.json +3 -3
package/dist/server.mjs CHANGED
@@ -1261,6 +1261,7 @@ function presentExerciseHistory(detail) {
1261
1261
  description: p.description ?? null,
1262
1262
  reps: p.reps ?? null,
1263
1263
  weight: p.weight ?? null,
1264
+ units: p.units ?? null,
1264
1265
  date: p.dateCompleted ?? null
1265
1266
  })),
1266
1267
  sessions: (detail.history ?? []).map((h) => ({
@@ -1295,6 +1296,7 @@ function historyInRange(presented, since, until) {
1295
1296
  sessions
1296
1297
  };
1297
1298
  }
1299
+ z.number().int().positive().max(36).optional();
1298
1300
  //#endregion
1299
1301
  //#region ../core/src/tools/athlete-training.ts
1300
1302
  /** Identity, profile, prefs, working maxes, leaderboard. */
@@ -1548,7 +1550,7 @@ function registerAthleteTrainingTools(server, ctx) {
1548
1550
  }
1549
1551
  //#endregion
1550
1552
  //#region package.json
1551
- var version = "1.2.0";
1553
+ var version = "1.3.0";
1552
1554
  //#endregion
1553
1555
  //#region src/server.ts
1554
1556
  async function main() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trainheroic-unofficial/athlete-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@modelcontextprotocol/sdk": "^1.29.0",
23
23
  "zod": "^4.4.3",
24
- "@trainheroic-unofficial/core": "1.2.0",
25
- "@trainheroic-unofficial/js": "1.2.0"
24
+ "@trainheroic-unofficial/core": "1.3.0",
25
+ "@trainheroic-unofficial/js": "1.3.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^26.0.0",