hevy-mcp 6.2.0 → 6.2.1
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 +6 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +2 -2
- package/dist/{config-BtJyjCQL.mjs → config-BEwLTEKj.mjs} +3 -3
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +3 -3
- package/dist/{runtime-WWo2HgNw.mjs → runtime-Cwzv-ByQ.mjs} +4 -4
- package/package.json +16 -16
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# hevy-mcp
|
|
2
2
|
|
|
3
|
+
## 6.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1249](https://github.com/chrisdoc/hevy-mcp/pull/1249) [`678c74f`](https://github.com/chrisdoc/hevy-mcp/commit/678c74fe90dec03716ee1d76b5b93566008e750d) Thanks [@chrisdoc](https://github.com/chrisdoc)! - Upgrade workspace dependencies across Effect, zod, OpenTelemetry, Sentry, the MCP SDK, kubb codegen, Cloudflare tooling, and the vitest 5 test stack. The client regenerates unchanged in shape, with kubb 5.10 emitting tighter response unions and an indexed QUERY method entry; worker span fallbacks implement the new `spanContext` member required by current workers types.
|
|
8
|
+
|
|
3
9
|
## 6.2.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/cli.d.mts
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -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] = "bb98ed09-cded-4182-9865-048ab7ff99e8", e._sentryDebugIdIdentifier = "sentry-dbid-bb98ed09-cded-4182-9865-048ab7ff99e8");
|
|
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-Cwzv-ByQ.mjs";
|
|
12
12
|
//#region src/cli.ts
|
|
13
13
|
runServer().catch(async (error) => {
|
|
14
14
|
await handleFatalStartupError(error);
|
|
@@ -964,7 +964,7 @@ async function resolveRequest({ config, requestConfig }) {
|
|
|
964
964
|
headers,
|
|
965
965
|
body,
|
|
966
966
|
signal: requestConfig.signal,
|
|
967
|
-
credentials: requestConfig.credentials,
|
|
967
|
+
credentials: requestConfig.credentials ?? config.credentials,
|
|
968
968
|
options,
|
|
969
969
|
responseType: requestConfig.responseType
|
|
970
970
|
}
|
|
@@ -6933,7 +6933,7 @@ function readBuildGlobal(value) {
|
|
|
6933
6933
|
}
|
|
6934
6934
|
}
|
|
6935
6935
|
const buildName = readBuildGlobal(() => "hevy-mcp");
|
|
6936
|
-
const buildVersion = readBuildGlobal(() => "6.2.
|
|
6936
|
+
const buildVersion = readBuildGlobal(() => "6.2.1");
|
|
6937
6937
|
const SERVER_NAME = readBuildString(buildName, "hevy-mcp");
|
|
6938
6938
|
const SERVER_VERSION = readBuildString(buildVersion, "dev");
|
|
6939
6939
|
/**
|
|
@@ -7535,4 +7535,4 @@ function assertApiKey(apiKey) {
|
|
|
7535
7535
|
//#endregion
|
|
7536
7536
|
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 };
|
|
7537
7537
|
|
|
7538
|
-
//# sourceMappingURL=config-
|
|
7538
|
+
//# sourceMappingURL=config-BEwLTEKj.mjs.map
|
package/dist/index.d.mts
CHANGED
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-BEwLTEKj.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-Cwzv-ByQ.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-Cwzv-ByQ.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] = "c27f568e-425c-4f14-92dd-fcad0fc6d003", e._sentryDebugIdIdentifier = "sentry-dbid-c27f568e-425c-4f14-92dd-fcad0fc6d003");
|
|
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-BEwLTEKj.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";
|
|
@@ -389,7 +389,7 @@ function parseBuildString(value, fallback) {
|
|
|
389
389
|
return z.string().parse(value ?? fallback);
|
|
390
390
|
}
|
|
391
391
|
const name$1 = parseBuildString(readBuildGlobal(() => "hevy-mcp"), "hevy-mcp");
|
|
392
|
-
const version$1 = parseBuildString(readBuildGlobal(() => "6.2.
|
|
392
|
+
const version$1 = parseBuildString(readBuildGlobal(() => "6.2.1"), "dev");
|
|
393
393
|
const collectorToken = z.string().safeParse(readBuildGlobal(() => "NH9vOela-HYreQxAbJa68cjEmORoEKM57EvneUDVcOo")).data ?? process.env.OTEL_COLLECTOR_TOKEN ?? "";
|
|
394
394
|
const COLLECTOR_ENDPOINT = "https://otel.chrisdoc.dev/v1";
|
|
395
395
|
const DEFAULT_SENTRY_DSN = "https://ce696d8333b507acbf5203eb877bce0f@o4508975499575296.ingest.de.sentry.io/4509049671647312";
|
|
@@ -3013,4 +3013,4 @@ async function runServer() {
|
|
|
3013
3013
|
//#endregion
|
|
3014
3014
|
export { handleFatalStartupError as i, runtime_exports as n, getSafeStartupMessage as r, runServer as t };
|
|
3015
3015
|
|
|
3016
|
-
//# sourceMappingURL=runtime-
|
|
3016
|
+
//# sourceMappingURL=runtime-Cwzv-ByQ.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hevy-mcp",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.1",
|
|
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": {
|
|
@@ -28,28 +28,28 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@effect/opentelemetry": "4.0.
|
|
31
|
+
"@effect/opentelemetry": "4.0.5",
|
|
32
32
|
"@modelcontextprotocol/node": "2.1.1",
|
|
33
33
|
"@modelcontextprotocol/server": "2.3.1",
|
|
34
34
|
"@opentelemetry/api": "^1.9.1",
|
|
35
|
-
"@opentelemetry/exporter-metrics-otlp-http": "^0.
|
|
36
|
-
"@opentelemetry/exporter-trace-otlp-http": "^0.
|
|
37
|
-
"@opentelemetry/resources": "^2.
|
|
38
|
-
"@opentelemetry/sdk-metrics": "^2.
|
|
39
|
-
"@opentelemetry/sdk-trace-base": "^2.
|
|
40
|
-
"@opentelemetry/sdk-trace-node": "^2.
|
|
41
|
-
"@sentry/node": "^11.
|
|
42
|
-
"effect": "^4.0.
|
|
35
|
+
"@opentelemetry/exporter-metrics-otlp-http": "^0.223.0",
|
|
36
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.223.0",
|
|
37
|
+
"@opentelemetry/resources": "^2.12.0",
|
|
38
|
+
"@opentelemetry/sdk-metrics": "^2.12.0",
|
|
39
|
+
"@opentelemetry/sdk-trace-base": "^2.12.0",
|
|
40
|
+
"@opentelemetry/sdk-trace-node": "^2.12.0",
|
|
41
|
+
"@sentry/node": "^11.8.0",
|
|
42
|
+
"effect": "^4.0.5",
|
|
43
43
|
"semver": "^7.8.5",
|
|
44
|
-
"zod": "^4.6.
|
|
44
|
+
"zod": "^4.6.7"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@hevy-mcp/core": "0.2.
|
|
48
|
-
"@hevy-mcp/hevy-client": "0.2.
|
|
49
|
-
"@sentry/core": "^11.
|
|
50
|
-
"@types/node": "^26.6.
|
|
47
|
+
"@hevy-mcp/core": "0.2.22",
|
|
48
|
+
"@hevy-mcp/hevy-client": "0.2.15",
|
|
49
|
+
"@sentry/core": "^11.8.0",
|
|
50
|
+
"@types/node": "^26.6.5",
|
|
51
51
|
"cross-env": "^10.1.0",
|
|
52
|
-
"tsdown": "^0.23.
|
|
52
|
+
"tsdown": "^0.23.1",
|
|
53
53
|
"typescript": "^7.0.2"
|
|
54
54
|
},
|
|
55
55
|
"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.2.
|
|
10
|
+
"version": "6.2.1",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "hevy-mcp",
|
|
15
|
-
"version": "6.2.
|
|
15
|
+
"version": "6.2.1",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
},
|