hevy-mcp 6.1.11 → 6.1.12

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # hevy-mcp
2
2
 
3
+ ## 6.1.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1155](https://github.com/chrisdoc/hevy-mcp/pull/1155) [`bc2fb86`](https://github.com/chrisdoc/hevy-mcp/commit/bc2fb86ecc1b2a1b24df9a570c494ef09f006fc2) Thanks [@chrisdoc](https://github.com/chrisdoc)! - Manual dependency upgrade (Dependabot is blocked on pnpm 12): zod 4.5.4 to 4.6.5, effect 4.0.0-rc.112 to 4.0.0-rc.115, wrangler 4.128.0 to 4.131.2, plus dev-dependency updates. Adapt Worker tracing doubles to the new @cloudflare/workers-types Span API.
8
+
3
9
  ## 6.1.11
4
10
 
5
11
  ### Patch Changes
package/dist/cli.d.mts CHANGED
@@ -1,13 +1,12 @@
1
1
 
2
2
  //#region src/utils/startup-errors.d.ts
3
- declare function getSafeStartupMessage(error: Error | string): string | undefined;
3
+ export declare function getSafeStartupMessage(error: Error | string): string | undefined;
4
4
  type StartupErrorLogger = (message: string, ...optionalParams: readonly unknown[]) => void;
5
5
  interface FatalStartupErrorOptions {
6
6
  readonly log?: StartupErrorLogger;
7
7
  readonly exit?: (code: number) => void;
8
8
  readonly flush?: () => Promise<void>;
9
9
  }
10
- declare function handleFatalStartupError(error: Error | string, options?: FatalStartupErrorOptions): Promise<void>;
10
+ export declare function handleFatalStartupError(error: Error | string, options?: FatalStartupErrorOptions): Promise<void>;
11
11
  //#endregion
12
- export { getSafeStartupMessage, handleFatalStartupError };
13
12
  //# sourceMappingURL=cli.d.mts.map
package/dist/cli.mjs CHANGED
@@ -8,7 +8,7 @@
8
8
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d637b259-c547-4286-9669-7b858825b504", e._sentryDebugIdIdentifier = "sentry-dbid-d637b259-c547-4286-9669-7b858825b504");
9
9
  } catch (e) {}
10
10
  })();
11
- import { i as handleFatalStartupError, r as getSafeStartupMessage, t as runServer } from "./runtime-DiD3XGz3.mjs";
11
+ import { i as handleFatalStartupError, r as getSafeStartupMessage, t as runServer } from "./runtime-CigeFRdX.mjs";
12
12
  //#region src/cli.ts
13
13
  runServer().catch(async (error) => {
14
14
  await handleFatalStartupError(error);
@@ -6624,7 +6624,7 @@ function readBuildGlobal(value) {
6624
6624
  }
6625
6625
  }
6626
6626
  const buildName = readBuildGlobal(() => "hevy-mcp");
6627
- const buildVersion = readBuildGlobal(() => "6.1.11");
6627
+ const buildVersion = readBuildGlobal(() => "6.1.12");
6628
6628
  const SERVER_NAME = readBuildString(buildName, "hevy-mcp");
6629
6629
  const SERVER_VERSION = readBuildString(buildVersion, "dev");
6630
6630
  const SERVER_INSTRUCTIONS = [
@@ -7192,4 +7192,4 @@ function assertApiKey(apiKey) {
7192
7192
  //#endregion
7193
7193
  export { SAFE_USER_HASH_PATTERN as a, mergeAbortSignals as c, createHevyClient as d, SAFE_OBSERVATION_CODES as f, isHevyHttpError as h, createHevyMcpServer as i, createSafeErrorDiagnostic as l, metricEndpointIdentity as m, assertApiKey as n, USER_HASH_CONTEXT as o, diagnosticEndpointIdentity as p, parseConfig as r, createExecutionProjection as s, MissingHevyApiKeyError as t, bucketCount as u };
7194
7194
 
7195
- //# sourceMappingURL=config-ZtcORN2Y.mjs.map
7195
+ //# sourceMappingURL=config-C53fgLWf.mjs.map
package/dist/index.d.mts CHANGED
@@ -17,19 +17,18 @@ interface NodeLifecycleHandle {
17
17
  * telemetry, or connect a transport. The embedding application owns those
18
18
  * concerns and the transport lifecycle.
19
19
  */
20
- declare function createNodeMcpServer({ apiKey }: {
20
+ export declare function createNodeMcpServer({ apiKey }: {
21
21
  apiKey: string;
22
22
  }, _transport?: NodeTransport, lifecycleSignal?: AbortSignal): Promise<import("@modelcontextprotocol/server").McpServer>;
23
23
  /**
24
24
  * Compatibility wrapper for the executable runtime. Importing this module
25
25
  * does not evaluate the runtime bootstrap; it is loaded only when invoked.
26
26
  */
27
- declare function runStdioServer(): Promise<NodeLifecycleHandle | undefined>;
27
+ export declare function runStdioServer(): Promise<NodeLifecycleHandle | undefined>;
28
28
  /**
29
29
  * Compatibility wrapper for the executable runtime. Importing this module
30
30
  * does not evaluate the runtime bootstrap; it is loaded only when invoked.
31
31
  */
32
- declare function runServer(): Promise<NodeLifecycleHandle | undefined>;
32
+ export declare function runServer(): Promise<NodeLifecycleHandle | undefined>;
33
33
  //#endregion
34
- export { createNodeMcpServer, runServer, runStdioServer };
35
34
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  // Generated with tsdown
3
3
  // https://tsdown.dev
4
- import { d as createHevyClient, i as createHevyMcpServer, n as assertApiKey } from "./config-ZtcORN2Y.mjs";
4
+ import { d as createHevyClient, i as createHevyMcpServer, n as assertApiKey } from "./config-C53fgLWf.mjs";
5
5
  //#region src/index.ts
6
6
  /**
7
7
  * Create an unconnected MCP server for embedding in a Node application.
@@ -26,7 +26,7 @@ async function createNodeMcpServer({ apiKey }, _transport = "stdio", lifecycleSi
26
26
  * does not evaluate the runtime bootstrap; it is loaded only when invoked.
27
27
  */
28
28
  async function runStdioServer() {
29
- const { runStdioServer: run } = await import("./runtime-DiD3XGz3.mjs").then((n) => n.n);
29
+ const { runStdioServer: run } = await import("./runtime-CigeFRdX.mjs").then((n) => n.n);
30
30
  return run();
31
31
  }
32
32
  /**
@@ -34,7 +34,7 @@ async function runStdioServer() {
34
34
  * does not evaluate the runtime bootstrap; it is loaded only when invoked.
35
35
  */
36
36
  async function runServer() {
37
- const { runServer: run } = await import("./runtime-DiD3XGz3.mjs").then((n) => n.n);
37
+ const { runServer: run } = await import("./runtime-CigeFRdX.mjs").then((n) => n.n);
38
38
  return run();
39
39
  }
40
40
  //#endregion
@@ -5,10 +5,10 @@
5
5
  try {
6
6
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {};
7
7
  var n = new e.Error().stack;
8
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "823c46c0-aaa9-4be1-a0a2-b866e21884c1", e._sentryDebugIdIdentifier = "sentry-dbid-823c46c0-aaa9-4be1-a0a2-b866e21884c1");
8
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "53720420-351c-4adc-9558-c7e27da54159", e._sentryDebugIdIdentifier = "sentry-dbid-53720420-351c-4adc-9558-c7e27da54159");
9
9
  } catch (e) {}
10
10
  })();
11
- import { a as SAFE_USER_HASH_PATTERN, c as mergeAbortSignals, d as createHevyClient, f as SAFE_OBSERVATION_CODES, h as isHevyHttpError, i as createHevyMcpServer, l as createSafeErrorDiagnostic, m as metricEndpointIdentity, n as assertApiKey, o as USER_HASH_CONTEXT, p as diagnosticEndpointIdentity, r as parseConfig, s as createExecutionProjection, t as MissingHevyApiKeyError, u as bucketCount } from "./config-ZtcORN2Y.mjs";
11
+ import { a as SAFE_USER_HASH_PATTERN, c as mergeAbortSignals, d as createHevyClient, f as SAFE_OBSERVATION_CODES, h as isHevyHttpError, i as createHevyMcpServer, l as createSafeErrorDiagnostic, m as metricEndpointIdentity, n as assertApiKey, o as USER_HASH_CONTEXT, p as diagnosticEndpointIdentity, r as parseConfig, s as createExecutionProjection, t as MissingHevyApiKeyError, u as bucketCount } from "./config-C53fgLWf.mjs";
12
12
  import { ZodError, z } from "zod";
13
13
  import { Data, Duration, Effect, Exit, Fiber, Layer, Scope, Semaphore } from "effect";
14
14
  import { deserializeMessage } from "@modelcontextprotocol/server";
@@ -410,7 +410,7 @@ function parseBuildString(value, fallback) {
410
410
  return z.string().parse(value ?? fallback);
411
411
  }
412
412
  const name$1 = parseBuildString(readBuildGlobal(() => "hevy-mcp"), "hevy-mcp");
413
- const version$1 = parseBuildString(readBuildGlobal(() => "6.1.11"), "dev");
413
+ const version$1 = parseBuildString(readBuildGlobal(() => "6.1.12"), "dev");
414
414
  const telemetryEnabled = process.env.HEVY_MCP_TELEMETRY !== "0";
415
415
  const collectorToken = z.string().safeParse(readBuildGlobal(() => "NH9vOela-HYreQxAbJa68cjEmORoEKM57EvneUDVcOo")).data ?? process.env.OTEL_COLLECTOR_TOKEN ?? "";
416
416
  const COLLECTOR_ENDPOINT = "https://otel.chrisdoc.dev/v1";
@@ -2958,4 +2958,4 @@ async function runServer() {
2958
2958
  //#endregion
2959
2959
  export { handleFatalStartupError as i, runtime_exports as n, getSafeStartupMessage as r, runServer as t };
2960
2960
 
2961
- //# sourceMappingURL=runtime-DiD3XGz3.mjs.map
2961
+ //# sourceMappingURL=runtime-CigeFRdX.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-mcp",
3
- "version": "6.1.11",
3
+ "version": "6.1.12",
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": {
@@ -37,18 +37,18 @@
37
37
  "@opentelemetry/sdk-metrics": "^2.11.0",
38
38
  "@opentelemetry/sdk-trace-base": "^2.11.0",
39
39
  "@opentelemetry/sdk-trace-node": "^2.11.0",
40
- "@sentry/node": "^10.73.0",
41
- "effect": "^4.0.0-rc.112",
40
+ "@sentry/node": "^10.74.0",
41
+ "effect": "^4.0.0-rc.115",
42
42
  "semver": "^7.8.5",
43
- "zod": "^4.5.4"
43
+ "zod": "^4.6.5"
44
44
  },
45
45
  "devDependencies": {
46
- "@hevy-mcp/core": "0.2.10",
47
- "@hevy-mcp/hevy-client": "0.2.7",
48
- "@sentry/core": "^10.73.0",
49
- "@types/node": "^26.4.1",
46
+ "@hevy-mcp/core": "0.2.11",
47
+ "@hevy-mcp/hevy-client": "0.2.8",
48
+ "@sentry/core": "^10.74.0",
49
+ "@types/node": "^26.5.1",
50
50
  "cross-env": "^10.1.0",
51
- "tsdown": "^0.22.14",
51
+ "tsdown": "^0.23.0",
52
52
  "typescript": "^7.0.2"
53
53
  },
54
54
  "engines": {
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": "6.1.11",
10
+ "version": "6.1.12",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "hevy-mcp",
15
- "version": "6.1.11",
15
+ "version": "6.1.12",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },