hevy-mcp 3.0.0 → 3.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/dist/cli.mjs CHANGED
@@ -4,15 +4,15 @@
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@3.0.0" };
7
+ e.SENTRY_RELEASE = { id: "hevy-mcp@3.2.1" };
8
8
  var n = new e.Error().stack;
9
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "03cf150f-6466-4ca3-9cf1-e423cc0e3cd2", e._sentryDebugIdIdentifier = "sentry-dbid-03cf150f-6466-4ca3-9cf1-e423cc0e3cd2");
9
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "47a79c69-c982-44cf-abda-d010f962b955", e._sentryDebugIdIdentifier = "sentry-dbid-47a79c69-c982-44cf-abda-d010f962b955");
10
10
  } catch (e) {}
11
11
  })();
12
- import { r as runServer } from "./src-BBzEvkOX.mjs";
12
+ import { i as createSafeErrorDiagnostic, r as runServer } from "./src-D1O3O9f2.mjs";
13
13
  //#region src/cli.ts
14
14
  runServer().catch((error) => {
15
- console.error("Fatal error in main():", error);
15
+ console.error("Fatal error in main()", createSafeErrorDiagnostic(error));
16
16
  process.exit(1);
17
17
  });
18
18
  //#endregion
package/dist/cli.mjs.map CHANGED
@@ -1 +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,UAAU,CAAC,CAAC,OAAO,UAAU;CACjC,QAAQ,MAAM,0BAA0B,KAAK;CAC7C,QAAQ,KAAK,CAAC;AACf,CAAC"}
1
+ {"version":3,"file":"cli.mjs","names":[],"sources":["../src/cli.ts"],"sourcesContent":["import { runServer } from \"./index.js\";\nimport { createSafeErrorDiagnostic } from \"./utils/safe-error-diagnostic.js\";\n\nvoid runServer().catch((error) => {\n\tconsole.error(\"Fatal error in main()\", createSafeErrorDiagnostic(error));\n\tprocess.exit(1);\n});\n"],"mappings":";;;;;;;;;;;;;AAGK,UAAU,CAAC,CAAC,OAAO,UAAU;CACjC,QAAQ,MAAM,yBAAyB,0BAA0B,KAAK,CAAC;CACvE,QAAQ,KAAK,CAAC;AACf,CAAC"}
package/dist/index.d.mts CHANGED
@@ -1,7 +1,5 @@
1
1
 
2
- import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
2
  import { z } from "zod";
4
-
5
3
  //#region src/index.d.ts
6
4
  declare const serverConfigSchema: z.ZodObject<{
7
5
  apiKey: z.ZodString;
@@ -10,11 +8,9 @@ declare const configSchema: z.ZodObject<{
10
8
  apiKey: z.ZodString;
11
9
  }, z.core.$strip>;
12
10
  type ServerConfig = z.infer<typeof serverConfigSchema>;
13
- declare function createServer({
14
- config
15
- }: {
11
+ declare function createServer({ config }: {
16
12
  config: ServerConfig;
17
- }): Promise<McpServer>;
13
+ }): Promise<import("@modelcontextprotocol/sdk/server/mcp").McpServer>;
18
14
  declare function runServer(): Promise<void>;
19
15
  //#endregion
20
16
  export { configSchema, createServer, createServer as default, runServer };
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@3.0.0" };
7
+ e.SENTRY_RELEASE = { id: "hevy-mcp@3.2.1" };
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-BBzEvkOX.mjs";
12
+ import { n as createServer, r as runServer, t as configSchema } from "./src-D1O3O9f2.mjs";
13
13
  export { configSchema, createServer, createServer as default, runServer };