hevy-mcp 5.0.1 → 5.0.2

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.mjs CHANGED
@@ -4,12 +4,12 @@
4
4
  (function() {
5
5
  try {
6
6
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {};
7
- e.SENTRY_RELEASE = { id: "hevy-mcp@5.0.1" };
7
+ e.SENTRY_RELEASE = { id: "hevy-mcp@5.0.2" };
8
8
  var n = new e.Error().stack;
9
9
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "625c4c9c-e20d-40b3-96b1-4e799ef130f3", e._sentryDebugIdIdentifier = "sentry-dbid-625c4c9c-e20d-40b3-96b1-4e799ef130f3");
10
10
  } catch (e) {}
11
11
  })();
12
- import { a as createSafeErrorDiagnostic, i as MissingHevyApiKeyError, n as runServer, o as flushTelemetry } from "./src-CYwTdxmb.mjs";
12
+ import { a as createSafeErrorDiagnostic, i as MissingHevyApiKeyError, n as runServer, o as flushTelemetry } from "./src-DBkGttYB.mjs";
13
13
  //#region src/cli.ts
14
14
  runServer().catch(async (error) => {
15
15
  if (error instanceof MissingHevyApiKeyError) console.error(error.message);
package/dist/index.mjs CHANGED
@@ -4,10 +4,10 @@
4
4
  (function() {
5
5
  try {
6
6
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {};
7
- e.SENTRY_RELEASE = { id: "hevy-mcp@5.0.1" };
7
+ e.SENTRY_RELEASE = { id: "hevy-mcp@5.0.2" };
8
8
  var n = new e.Error().stack;
9
9
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e9496b31-626b-4ad1-9416-47ba4ffd2995", e._sentryDebugIdIdentifier = "sentry-dbid-e9496b31-626b-4ad1-9416-47ba4ffd2995");
10
10
  } catch (e) {}
11
11
  })();
12
- import { n as runServer, r as runStdioServer, t as createNodeMcpServer } from "./src-CYwTdxmb.mjs";
12
+ import { n as runServer, r as runStdioServer, t as createNodeMcpServer } from "./src-DBkGttYB.mjs";
13
13
  export { createNodeMcpServer, runServer, runStdioServer };
@@ -4,9 +4,9 @@
4
4
  (function() {
5
5
  try {
6
6
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {};
7
- e.SENTRY_RELEASE = { id: "hevy-mcp@5.0.1" };
7
+ e.SENTRY_RELEASE = { id: "hevy-mcp@5.0.2" };
8
8
  var n = new e.Error().stack;
9
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "76d058b8-5237-455a-97f7-1cbb4cd31f52", e._sentryDebugIdIdentifier = "sentry-dbid-76d058b8-5237-455a-97f7-1cbb4cd31f52");
9
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f7cbf1da-83d1-4da1-bb18-1c590afb9b11", e._sentryDebugIdIdentifier = "sentry-dbid-f7cbf1da-83d1-4da1-bb18-1c590afb9b11");
10
10
  } catch (e) {}
11
11
  })();
12
12
  import { createHmac, randomUUID, timingSafeEqual } from "node:crypto";
@@ -80,11 +80,11 @@ function sanitizeSentryMcpSpan(span) {
80
80
  * OTel Collector → Honeycomb: performance traces, metrics
81
81
  */
82
82
  const name$1 = "hevy-mcp";
83
- const version$1 = "5.0.1";
83
+ const version$1 = "5.0.2";
84
84
  const telemetryEnabled = process.env.HEVY_MCP_TELEMETRY !== "0";
85
85
  const collectorToken = "NH9vOela-HYreQxAbJa68cjEmORoEKM57EvneUDVcOo";
86
86
  const COLLECTOR_ENDPOINT = "https://otel.chrisdoc.dev/v1";
87
- const sentryRelease = process.env.SENTRY_RELEASE ?? `hevy-mcp@5.0.1`;
87
+ const sentryRelease = process.env.SENTRY_RELEASE ?? `hevy-mcp@5.0.2`;
88
88
  const resource = resourceFromAttributes({
89
89
  "service.name": name$1,
90
90
  "service.version": version$1
@@ -1714,7 +1714,7 @@ const routineSchema = z$1.object({
1714
1714
  exercises: z$1.optional(z$1.array(z$1.object({
1715
1715
  index: z$1.optional(z$1.number().describe("Index indicating the order of the exercise in the routine.")),
1716
1716
  title: z$1.optional(z$1.string().describe("Title of the exercise")),
1717
- rest_seconds: z$1.optional(z$1.string().describe("The rest time in seconds between sets of the exercise")),
1717
+ rest_seconds: z$1.optional(z$1.int().describe("The rest time in seconds between sets of the exercise")),
1718
1718
  notes: z$1.optional(z$1.string().describe("Routine notes on the exercise")),
1719
1719
  exercise_template_id: z$1.optional(z$1.string().describe("The id of the exercise template. This can be used to fetch the exercise template.")),
1720
1720
  supersets_id: z$1.number().describe("The id of the superset that the exercise belongs to. A value of null indicates the exercise is not part of a superset.").nullish(),
@@ -1957,7 +1957,7 @@ const formattedRoutineExerciseSchema = z.object({
1957
1957
  exercise_template_id: z.string().optional(),
1958
1958
  notes: z.string().optional(),
1959
1959
  supersets_id: optionalNumber,
1960
- rest_seconds: z.string().optional(),
1960
+ rest_seconds: z.number().int().optional(),
1961
1961
  sets: z.array(formattedRoutineSetSchema).optional()
1962
1962
  });
1963
1963
  const formattedRoutineSchema = z.object({
@@ -2644,7 +2644,7 @@ function registerHevyResources(server, runtime) {
2644
2644
  //#endregion
2645
2645
  //#region ../core/src/server-metadata.ts
2646
2646
  const SERVER_NAME = "hevy-mcp";
2647
- const SERVER_VERSION = "5.0.1";
2647
+ const SERVER_VERSION = "5.0.2";
2648
2648
  const SERVER_INSTRUCTIONS = [
2649
2649
  "Hevy MCP connects clients to the authenticated user's Hevy workout-tracking data, including workouts, routines, exercise templates, routine folders, body measurements, and profile information. HEVY_API_KEY must contain a valid Hevy API key for local stdio use.",
2650
2650
  "Safety: all get-* and search-* tools are read-only. create-* and update-* tools mutate Hevy data. Creates are additive and non-idempotent, so repeating one can create duplicates. Updates can overwrite existing data. Delete operations are not available.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-mcp",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "private": false,
5
5
  "description": "A Model Context Protocol (MCP) server implementation that interfaces with the Hevy fitness tracking app and its API.",
6
6
  "repository": {
package/server.json CHANGED
@@ -7,12 +7,12 @@
7
7
  "url": "https://github.com/chrisdoc/hevy-mcp",
8
8
  "source": "github"
9
9
  },
10
- "version": "5.0.1",
10
+ "version": "5.0.2",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "hevy-mcp",
15
- "version": "5.0.1",
15
+ "version": "5.0.2",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },