hevy-mcp 2.0.0 → 3.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-mcp",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "description": "A Model Context Protocol (MCP) server implementation that interfaces with the Hevy fitness tracking app and its API.",
5
5
  "keywords": [
6
6
  "api",
@@ -37,9 +37,21 @@
37
37
  "scripts": {
38
38
  "inspect": "npm run build && npx @modelcontextprotocol/inspector@latest node --env-file .env dist/cli.mjs",
39
39
  "inspect:npm": "npx @modelcontextprotocol/inspector@latest npx hevy-mcp@latest",
40
- "test": "node --env-file .env node_modules/vitest/vitest.mjs --run",
40
+ "measure:tokens": "tsx scripts/measure-token-cost.ts",
41
+ "test": "npm run build && node --env-file-if-exists=.env node_modules/vitest/vitest.mjs --run",
42
+ "test:unit": "vitest run --exclude 'tests/integration/**' --exclude 'tests/performance/**'",
43
+ "test:mcp": "vitest run tests/integration/mocked",
44
+ "test:contract": "vitest run src/index.test.ts src/utils/output-schemas.test.ts tests/unit/server-manifest.test.ts",
45
+ "test:stdio": "vitest run src/utils/stdio-observability.test.ts src/utils/graceful-shutdown.test.ts src/utils/graceful-shutdown.child-process.test.ts",
46
+ "test:pack": "node tests/package/npm-pack-smoke.mjs",
47
+ "test:live": "node --env-file-if-exists=.env scripts/run-live-tests.mjs",
48
+ "test:nightly": "node --env-file-if-exists=.env tests/nightly/test_hevy_mcp.mjs",
49
+ "test:performance": "npm run build && vitest run tests/performance/performance.test.ts",
50
+ "test:coverage": "npm run test:unit -- --coverage --coverage.reportsDirectory=coverage/unit && npm run test:mcp -- --coverage --coverage.reportsDirectory=coverage/mocked",
51
+ "test:pr": "npm run test:unit && npm run test:mcp && npm run test:contract && npm run test:stdio && npm run test:pack",
41
52
  "openapi": "node ./scripts/openapi-spec.js",
42
53
  "build": "tsdown",
54
+ "build:standalone": "cross-env HEVY_MCP_BUILD_MODE=standalone tsdown",
43
55
  "build:client": "kubb generate",
44
56
  "prepack": "npm run check:server-manifest && npm run build",
45
57
  "start": "node --env-file .env dist/cli.mjs",
@@ -97,6 +109,7 @@
97
109
  "oxfmt": "^0.57.0",
98
110
  "oxlint": "^1.70.0",
99
111
  "oxlint-tsgolint": "^0.24.0",
112
+ "tiktoken": "^1.0.22",
100
113
  "tsdown": "^0.22.2",
101
114
  "tsx": "^4.22.4",
102
115
  "typescript": "^6.0.3",
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": "2.0.0",
10
+ "version": "3.0.0",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "hevy-mcp",
15
- "version": "2.0.0",
15
+ "version": "3.0.0",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },