hevy-mcp 1.17.2 → 1.18.0
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 +15 -0
- package/dist/cli.d.mts +2 -0
- package/dist/cli.mjs +14 -0
- package/dist/cli.mjs.map +1 -0
- package/dist/index.d.mts +54 -0
- package/dist/index.mjs +6 -0
- package/dist/src-BqxJlq7j.mjs +1440 -0
- package/dist/src-BqxJlq7j.mjs.map +1 -0
- package/package.json +10 -9
- package/dist/cli.d.ts +0 -2
- package/dist/cli.js +0 -1458
- package/dist/cli.js.map +0 -1
- package/dist/index.d.ts +0 -55
- package/dist/index.js +0 -1463
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -322,6 +322,21 @@ To set up the `HEVY_API_KEY` secret:
|
|
|
322
322
|
|
|
323
323
|
If the secret is not set, the integration tests will fail (by design).
|
|
324
324
|
|
|
325
|
+
To set up Sentry secrets for source map uploads during builds:
|
|
326
|
+
|
|
327
|
+
The build process uses Sentry's Rollup plugin to upload source maps. You need to configure three secrets:
|
|
328
|
+
|
|
329
|
+
1. Go to your GitHub repository
|
|
330
|
+
2. Click on "Settings" > "Secrets and variables" > "Actions"
|
|
331
|
+
3. Add the following secrets:
|
|
332
|
+
- `SENTRY_ORG`: Your Sentry organization slug
|
|
333
|
+
- `SENTRY_PROJECT`: Your Sentry project slug
|
|
334
|
+
- `SENTRY_AUTH_TOKEN`: A Sentry auth token with `project:releases` scope
|
|
335
|
+
|
|
336
|
+
You can create a Sentry auth token at: https://sentry.io/settings/account/api/auth-tokens/
|
|
337
|
+
|
|
338
|
+
If these secrets are not set, the build will still succeed, but source maps will not be uploaded to Sentry.
|
|
339
|
+
|
|
325
340
|
Note: GitHub does not provide secrets to pull requests from forks by default, so
|
|
326
341
|
fork PRs may fail CI unless a maintainer reruns the checks with `HEVY_API_KEY`
|
|
327
342
|
available.
|
package/dist/cli.d.mts
ADDED
package/dist/cli.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Generated with tsdown
|
|
3
|
+
// https://tsdown.dev
|
|
4
|
+
;{try{(function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9ef4c76e-b338-4801-a615-a81a1237a5a1",e._sentryDebugIdIdentifier="sentry-dbid-9ef4c76e-b338-4801-a615-a81a1237a5a1");})();}catch(e){}};!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"1.17.3"};}catch(e){}}();import { r as runServer } from "./src-BqxJlq7j.mjs";
|
|
5
|
+
|
|
6
|
+
//#region src/cli.ts
|
|
7
|
+
runServer().catch((error) => {
|
|
8
|
+
console.error("Fatal error in main():", error);
|
|
9
|
+
process.exit(1);
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { };
|
|
14
|
+
//# sourceMappingURL=cli.mjs.map
|
package/dist/cli.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.mjs","names":[],"sources":["../src/cli.ts"],"sourcesContent":["import { runServer } from \"./index.js\";\n\nvoid runServer().catch((error) => {\n\tconsole.error(\"Fatal error in main():\", error);\n\tprocess.exit(1);\n});\n"],"mappings":";;;;;;AAEK,SAAA,CAAA,CAAW,CAAC,KAAA,CAAA,CAAO,KAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA;AACjC,CAAA,OAAA,CAAQ,KAAA,CAAM,CAAA,KAAA,CAAA,KAAA,CAAA,EAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA0B,KAAA,CAAM,CAAA;AAC9C,CAAA,OAAA,CAAQ,IAAA,CAAK,CAAA,CAAE,CAAA;EACd,CAAA"}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import * as _modelcontextprotocol_sdk_server0 from "@modelcontextprotocol/sdk/server";
|
|
4
|
+
|
|
5
|
+
//#region src/index.d.ts
|
|
6
|
+
declare const serverConfigSchema: z.ZodObject<{
|
|
7
|
+
apiKey: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const configSchema: z.ZodObject<{
|
|
10
|
+
apiKey: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
type ServerConfig = z.infer<typeof serverConfigSchema>;
|
|
13
|
+
declare function createServer({
|
|
14
|
+
config
|
|
15
|
+
}: {
|
|
16
|
+
config: ServerConfig;
|
|
17
|
+
}): _modelcontextprotocol_sdk_server0.Server<{
|
|
18
|
+
method: string;
|
|
19
|
+
params?: {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
_meta?: {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
progressToken?: string | number | undefined;
|
|
24
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
25
|
+
taskId: string;
|
|
26
|
+
} | undefined;
|
|
27
|
+
} | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
method: string;
|
|
31
|
+
params?: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
_meta?: {
|
|
34
|
+
[x: string]: unknown;
|
|
35
|
+
progressToken?: string | number | undefined;
|
|
36
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
37
|
+
taskId: string;
|
|
38
|
+
} | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
_meta?: {
|
|
44
|
+
[x: string]: unknown;
|
|
45
|
+
progressToken?: string | number | undefined;
|
|
46
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
47
|
+
taskId: string;
|
|
48
|
+
} | undefined;
|
|
49
|
+
} | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
declare function runServer(): Promise<void>;
|
|
52
|
+
//#endregion
|
|
53
|
+
export { configSchema, createServer as default, runServer };
|
|
54
|
+
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Generated with tsdown
|
|
3
|
+
// https://tsdown.dev
|
|
4
|
+
;{try{(function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="01b7cfb0-69a4-415b-a2a3-f852ee1c15bc",e._sentryDebugIdIdentifier="sentry-dbid-01b7cfb0-69a4-415b-a2a3-f852ee1c15bc");})();}catch(e){}};!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"1.17.3"};}catch(e){}}();import { n as createServer, r as runServer, t as configSchema } from "./src-BqxJlq7j.mjs";
|
|
5
|
+
|
|
6
|
+
export { configSchema, createServer as default, runServer };
|