hevy-mcp 1.14.4 → 1.15.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/dist/cli.js +21 -5
- package/dist/cli.js.map +1 -1
- package/dist/index.js +21 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -11,7 +11,7 @@ import { z as z6 } from "zod";
|
|
|
11
11
|
|
|
12
12
|
// package.json
|
|
13
13
|
var name = "hevy-mcp";
|
|
14
|
-
var version = "1.14.
|
|
14
|
+
var version = "1.14.4";
|
|
15
15
|
|
|
16
16
|
// src/tools/folders.ts
|
|
17
17
|
import { z } from "zod";
|
|
@@ -351,7 +351,11 @@ function registerRoutineTools(server, hevyClient) {
|
|
|
351
351
|
distanceMeters: z2.coerce.number().int().optional(),
|
|
352
352
|
duration: z2.coerce.number().int().optional(),
|
|
353
353
|
durationSeconds: z2.coerce.number().int().optional(),
|
|
354
|
-
customMetric: z2.coerce.number().optional()
|
|
354
|
+
customMetric: z2.coerce.number().optional(),
|
|
355
|
+
repRange: z2.object({
|
|
356
|
+
start: z2.coerce.number().int().optional(),
|
|
357
|
+
end: z2.coerce.number().int().optional()
|
|
358
|
+
}).optional()
|
|
355
359
|
})
|
|
356
360
|
)
|
|
357
361
|
})
|
|
@@ -386,7 +390,11 @@ function registerRoutineTools(server, hevyClient) {
|
|
|
386
390
|
reps: set.reps ?? null,
|
|
387
391
|
distance_meters: set.distance ?? set.distanceMeters ?? null,
|
|
388
392
|
duration_seconds: set.duration ?? set.durationSeconds ?? null,
|
|
389
|
-
custom_metric: set.customMetric ?? null
|
|
393
|
+
custom_metric: set.customMetric ?? null,
|
|
394
|
+
rep_range: set.repRange ? {
|
|
395
|
+
start: set.repRange.start ?? null,
|
|
396
|
+
end: set.repRange.end ?? null
|
|
397
|
+
} : null
|
|
390
398
|
})
|
|
391
399
|
)
|
|
392
400
|
})
|
|
@@ -425,7 +433,11 @@ function registerRoutineTools(server, hevyClient) {
|
|
|
425
433
|
distanceMeters: z2.coerce.number().int().optional(),
|
|
426
434
|
duration: z2.coerce.number().int().optional(),
|
|
427
435
|
durationSeconds: z2.coerce.number().int().optional(),
|
|
428
|
-
customMetric: z2.coerce.number().optional()
|
|
436
|
+
customMetric: z2.coerce.number().optional(),
|
|
437
|
+
repRange: z2.object({
|
|
438
|
+
start: z2.coerce.number().int().optional(),
|
|
439
|
+
end: z2.coerce.number().int().optional()
|
|
440
|
+
}).optional()
|
|
429
441
|
})
|
|
430
442
|
)
|
|
431
443
|
})
|
|
@@ -459,7 +471,11 @@ function registerRoutineTools(server, hevyClient) {
|
|
|
459
471
|
reps: set.reps ?? null,
|
|
460
472
|
distance_meters: set.distance ?? set.distanceMeters ?? null,
|
|
461
473
|
duration_seconds: set.duration ?? set.durationSeconds ?? null,
|
|
462
|
-
custom_metric: set.customMetric ?? null
|
|
474
|
+
custom_metric: set.customMetric ?? null,
|
|
475
|
+
rep_range: set.repRange ? {
|
|
476
|
+
start: set.repRange.start ?? null,
|
|
477
|
+
end: set.repRange.end ?? null
|
|
478
|
+
} : null
|
|
463
479
|
})
|
|
464
480
|
)
|
|
465
481
|
})
|