hevy-mcp 1.26.1 → 1.26.3
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/README.md +7 -2
- package/dist/cli.mjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{src-_FHG1OUO.mjs → src-DPSN6IBO.mjs} +312 -140
- package/dist/src-DPSN6IBO.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/src-_FHG1OUO.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -40,14 +40,14 @@ Pick the workflow that fits your setup:
|
|
|
40
40
|
|
|
41
41
|
| Scenario | Command | Requirements |
|
|
42
42
|
| :-------------------- | :------------------------------------------------------------------------------------------ | :------------------------- |
|
|
43
|
-
| **One-off stdio run** | `HEVY_API_KEY=sk_live... npx -y hevy-mcp` or `HEVY_API_KEY=sk_live... bunx hevy-mcp@latest` | Node.js ≥
|
|
43
|
+
| **One-off stdio run** | `HEVY_API_KEY=sk_live... npx -y hevy-mcp` or `HEVY_API_KEY=sk_live... bunx hevy-mcp@latest` | Node.js ≥ 24, Hevy API key |
|
|
44
44
|
| **Local development** | `npm install && npm run build && npm start` | `.env` with `HEVY_API_KEY` |
|
|
45
45
|
|
|
46
46
|
---
|
|
47
47
|
|
|
48
48
|
## 🛠️ Prerequisites
|
|
49
49
|
|
|
50
|
-
- **Node.js**:
|
|
50
|
+
- **Node.js**: v24 or higher (strongly recommended to use the exact version pinned in `.nvmrc`).
|
|
51
51
|
- **npm**: v10 or higher.
|
|
52
52
|
- **Bun** (optional): If you want to launch with `bunx`.
|
|
53
53
|
- **Hevy API key**: Required for all operations (available with Hevy PRO).
|
|
@@ -175,9 +175,14 @@ Supply your Hevy API key via the `HEVY_API_KEY` environment variable (in
|
|
|
175
175
|
> `hevy-api-key=...`) are still accepted for backward compatibility, but are
|
|
176
176
|
> deprecated and insecure. Use `HEVY_API_KEY` instead.
|
|
177
177
|
|
|
178
|
+
Set `HEVY_MCP_API_TIMEOUT` to override the default 30-second Hevy API request
|
|
179
|
+
timeout. Its value is in milliseconds.
|
|
180
|
+
|
|
178
181
|
```env
|
|
179
182
|
# Example .env
|
|
180
183
|
HEVY_API_KEY=your_hevy_api_key_here
|
|
184
|
+
# Optional: customize Hevy API request timeout (milliseconds)
|
|
185
|
+
HEVY_MCP_API_TIMEOUT=30000
|
|
181
186
|
```
|
|
182
187
|
|
|
183
188
|
### 🧠 Exercise Template Cache Behavior
|
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@1.26.
|
|
7
|
+
e.SENTRY_RELEASE = { id: "hevy-mcp@1.26.3" };
|
|
8
8
|
var n = new e.Error().stack;
|
|
9
9
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "03cf150f-6466-4ca3-9cf1-e423cc0e3cd2", e._sentryDebugIdIdentifier = "sentry-dbid-03cf150f-6466-4ca3-9cf1-e423cc0e3cd2");
|
|
10
10
|
} catch (e) {}
|
|
11
11
|
})();
|
|
12
|
-
import { r as runServer } from "./src-
|
|
12
|
+
import { r as runServer } from "./src-DPSN6IBO.mjs";
|
|
13
13
|
//#region src/cli.ts
|
|
14
14
|
runServer().catch((error) => {
|
|
15
15
|
console.error("Fatal error in main():", error);
|
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@1.26.
|
|
7
|
+
e.SENTRY_RELEASE = { id: "hevy-mcp@1.26.3" };
|
|
8
8
|
var n = new e.Error().stack;
|
|
9
9
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5b077b94-9ef8-4f24-a0b0-8dcfbf491be1", e._sentryDebugIdIdentifier = "sentry-dbid-5b077b94-9ef8-4f24-a0b0-8dcfbf491be1");
|
|
10
10
|
} catch (e) {}
|
|
11
11
|
})();
|
|
12
|
-
import { n as createServer, r as runServer, t as configSchema } from "./src-
|
|
12
|
+
import { n as createServer, r as runServer, t as configSchema } from "./src-DPSN6IBO.mjs";
|
|
13
13
|
export { configSchema, createServer, createServer as default, runServer };
|