hevy-mcp 6.1.15 → 6.1.16
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.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1211](https://github.com/chrisdoc/hevy-mcp/pull/1211) [`06dd910`](https://github.com/chrisdoc/hevy-mcp/commit/06dd910bb53fb817289e00fb21cedcd081e86e58) Thanks [@HugeFanOfElon](https://github.com/HugeFanOfElon)! - Fix broken API settings link in README
|
|
8
|
+
|
|
3
9
|
## 6.1.15
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ Try asking:
|
|
|
67
67
|
|
|
68
68
|
### 1. Get your Hevy API key
|
|
69
69
|
|
|
70
|
-
Create an API key in [Hevy's API settings](https://
|
|
70
|
+
Create an API key in [Hevy's API settings](https://hevy.com/settings?developer), then
|
|
71
71
|
keep it somewhere secure. API access currently requires a Hevy PRO subscription.
|
|
72
72
|
|
|
73
73
|
### 2. Connect `hevy-mcp` to your client
|
|
@@ -610,7 +610,7 @@ metadata, and unnormalized endpoint paths remain prohibited.
|
|
|
610
610
|
session after confirming the `hevy` entry exists.
|
|
611
611
|
- **Hevy API returns 401:** the key is invalid, expired, revoked, or
|
|
612
612
|
misconfigured. Verify or create an active key at
|
|
613
|
-
[Hevy's API settings](https://
|
|
613
|
+
[Hevy's API settings](https://hevy.com/settings?developer), then restart the client.
|
|
614
614
|
- **Hosted authentication fails:** confirm the key belongs to a Hevy PRO
|
|
615
615
|
account and is sent as `Authorization: Bearer <HEVY_API_KEY>`.
|
|
616
616
|
- **Local authentication fails:** confirm the key is active and available to the
|
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-
|
|
11
|
+
import { i as handleFatalStartupError, r as getSafeStartupMessage, t as runServer } from "./runtime-CCLTCSSF.mjs";
|
|
12
12
|
//#region src/cli.ts
|
|
13
13
|
runServer().catch(async (error) => {
|
|
14
14
|
await handleFatalStartupError(error);
|
|
@@ -6911,7 +6911,7 @@ function readBuildGlobal(value) {
|
|
|
6911
6911
|
}
|
|
6912
6912
|
}
|
|
6913
6913
|
const buildName = readBuildGlobal(() => "hevy-mcp");
|
|
6914
|
-
const buildVersion = readBuildGlobal(() => "6.1.
|
|
6914
|
+
const buildVersion = readBuildGlobal(() => "6.1.16");
|
|
6915
6915
|
const SERVER_NAME = readBuildString(buildName, "hevy-mcp");
|
|
6916
6916
|
const SERVER_VERSION = readBuildString(buildVersion, "dev");
|
|
6917
6917
|
const SERVER_INSTRUCTIONS = [
|
|
@@ -7494,4 +7494,4 @@ function assertApiKey(apiKey) {
|
|
|
7494
7494
|
//#endregion
|
|
7495
7495
|
export { isHevyHttpError as _, SAFE_USER_HASH_PATTERN as a, mergeAbortSignals as c, createSafeErrorDiagnostic as d, bucketCount as f, metricEndpointIdentity as g, diagnosticEndpointIdentity as h, createHevyMcpServer as i, sanitizeDiagnosticText as l, SAFE_OBSERVATION_CODES as m, assertApiKey as n, USER_HASH_CONTEXT as o, createHevyClient as p, parseConfig as r, createExecutionProjection as s, MissingHevyApiKeyError as t, FEEDBACK_MAX_MESSAGE_LENGTH as u };
|
|
7496
7496
|
|
|
7497
|
-
//# sourceMappingURL=config-
|
|
7497
|
+
//# sourceMappingURL=config-BwRypG8X.mjs.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 { i as createHevyMcpServer, n as assertApiKey, p as createHevyClient } from "./config-
|
|
4
|
+
import { i as createHevyMcpServer, n as assertApiKey, p as createHevyClient } from "./config-BwRypG8X.mjs";
|
|
5
5
|
//#region src/index.ts
|
|
6
6
|
async function createNodeMcpServer({ apiKey, maxGetRetries, feedbackRecorder }, _transport = "stdio", lifecycleSignal) {
|
|
7
7
|
assertApiKey(apiKey);
|
|
@@ -20,7 +20,7 @@ async function createNodeMcpServer({ apiKey, maxGetRetries, feedbackRecorder },
|
|
|
20
20
|
* does not evaluate the runtime bootstrap; it is loaded only when invoked.
|
|
21
21
|
*/
|
|
22
22
|
async function runStdioServer() {
|
|
23
|
-
const { runStdioServer: run } = await import("./runtime-
|
|
23
|
+
const { runStdioServer: run } = await import("./runtime-CCLTCSSF.mjs").then((n) => n.n);
|
|
24
24
|
return run();
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
@@ -28,7 +28,7 @@ async function runStdioServer() {
|
|
|
28
28
|
* does not evaluate the runtime bootstrap; it is loaded only when invoked.
|
|
29
29
|
*/
|
|
30
30
|
async function runServer() {
|
|
31
|
-
const { runServer: run } = await import("./runtime-
|
|
31
|
+
const { runServer: run } = await import("./runtime-CCLTCSSF.mjs").then((n) => n.n);
|
|
32
32
|
return run();
|
|
33
33
|
}
|
|
34
34
|
//#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] = "
|
|
8
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a8719d65-1f22-4915-843a-f84c2633edc2", e._sentryDebugIdIdentifier = "sentry-dbid-a8719d65-1f22-4915-843a-f84c2633edc2");
|
|
9
9
|
} catch (e) {}
|
|
10
10
|
})();
|
|
11
|
-
import { _ as isHevyHttpError, a as SAFE_USER_HASH_PATTERN, c as mergeAbortSignals, d as createSafeErrorDiagnostic, f as bucketCount, g as metricEndpointIdentity, h as diagnosticEndpointIdentity, i as createHevyMcpServer, l as sanitizeDiagnosticText$1, m as SAFE_OBSERVATION_CODES, n as assertApiKey, o as USER_HASH_CONTEXT, p as createHevyClient, r as parseConfig, s as createExecutionProjection, t as MissingHevyApiKeyError, u as FEEDBACK_MAX_MESSAGE_LENGTH } from "./config-
|
|
11
|
+
import { _ as isHevyHttpError, a as SAFE_USER_HASH_PATTERN, c as mergeAbortSignals, d as createSafeErrorDiagnostic, f as bucketCount, g as metricEndpointIdentity, h as diagnosticEndpointIdentity, i as createHevyMcpServer, l as sanitizeDiagnosticText$1, m as SAFE_OBSERVATION_CODES, n as assertApiKey, o as USER_HASH_CONTEXT, p as createHevyClient, r as parseConfig, s as createExecutionProjection, t as MissingHevyApiKeyError, u as FEEDBACK_MAX_MESSAGE_LENGTH } from "./config-BwRypG8X.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";
|
|
@@ -385,7 +385,7 @@ function parseBuildString(value, fallback) {
|
|
|
385
385
|
return z.string().parse(value ?? fallback);
|
|
386
386
|
}
|
|
387
387
|
const name$1 = parseBuildString(readBuildGlobal(() => "hevy-mcp"), "hevy-mcp");
|
|
388
|
-
const version$1 = parseBuildString(readBuildGlobal(() => "6.1.
|
|
388
|
+
const version$1 = parseBuildString(readBuildGlobal(() => "6.1.16"), "dev");
|
|
389
389
|
const telemetryEnabled = process.env.HEVY_MCP_TELEMETRY !== "0";
|
|
390
390
|
const collectorToken = z.string().safeParse(readBuildGlobal(() => "NH9vOela-HYreQxAbJa68cjEmORoEKM57EvneUDVcOo")).data ?? process.env.OTEL_COLLECTOR_TOKEN ?? "";
|
|
391
391
|
const COLLECTOR_ENDPOINT = "https://otel.chrisdoc.dev/v1";
|
|
@@ -3009,4 +3009,4 @@ async function runServer() {
|
|
|
3009
3009
|
//#endregion
|
|
3010
3010
|
export { handleFatalStartupError as i, runtime_exports as n, getSafeStartupMessage as r, runServer as t };
|
|
3011
3011
|
|
|
3012
|
-
//# sourceMappingURL=runtime-
|
|
3012
|
+
//# sourceMappingURL=runtime-CCLTCSSF.mjs.map
|
package/package.json
CHANGED
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.
|
|
10
|
+
"version": "6.1.16",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "hevy-mcp",
|
|
15
|
-
"version": "6.1.
|
|
15
|
+
"version": "6.1.16",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
},
|