hevy-mcp 1.25.16 → 1.26.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 CHANGED
@@ -31,7 +31,6 @@ A Model Context Protocol (MCP) server implementation that interfaces with the [H
31
31
  - **Routine Management**: Access and manage workout routines.
32
32
  - **Exercise Templates**: Browse available exercise templates with in-memory caching.
33
33
  - **Folder Organization**: Manage routine folders.
34
- - **Webhook Subscriptions**: Create, view, and delete webhook subscriptions for workout events.
35
34
 
36
35
  ---
37
36
 
@@ -191,7 +190,6 @@ Docker-based workflows are retired. The provided `Dockerfile` now exits with a m
191
190
  | **Folders** | `get-routine-folders`, `get-routine-folder`, `create-routine-folder` |
192
191
  | **Body Measurements** | `get-body-measurements`, `get-body-measurement`, `create-body-measurement`, `update-body-measurement` |
193
192
  | **User** | `get-user-info` |
194
- | **Webhooks** | `get-webhook-subscription`, `create-webhook-subscription`, `delete-webhook-subscription` |
195
193
 
196
194
  ---
197
195
 
@@ -203,9 +201,19 @@ Docker-based workflows are retired. The provided `Dockerfile` now exits with a m
203
201
  - **Lint/Format**: `npm run check` (uses oxlint/oxfmt)
204
202
  - **Unit Tests**: `npx vitest run --exclude tests/integration/**`
205
203
  - **Full Test Suite**: `npm test` (requires `HEVY_API_KEY`)
204
+ - **Changeset Check**: `npm run check:changeset`
206
205
 
207
206
  For a detailed senior engineer guide, please refer to [AGENTS.md](./AGENTS.md).
208
207
 
208
+ ### Pull Request Checks
209
+
210
+ - **Conventional Commits**: CI lints commit messages on pull requests, so use
211
+ prefixes such as `feat:`, `fix:`, `docs:`, `ci:`, `chore:`, `refactor:`,
212
+ `test:`, or `style:`.
213
+ - **Changesets**: Contributor pull requests targeting `main` must include a
214
+ changeset. Dependabot PRs and automated `changeset-release/main` release PRs
215
+ are handled by automation and skip this check.
216
+
209
217
  ### API Client Generation
210
218
 
211
219
  The API client is automatically generated from the OpenAPI spec using [Kubb](https://kubb.dev/):
@@ -214,6 +222,43 @@ The API client is automatically generated from the OpenAPI spec using [Kubb](htt
214
222
  npm run build:client
215
223
  ```
216
224
 
225
+ ### Versioning & Releases
226
+
227
+ This project uses [Changesets](https://github.com/changesets/changesets) to
228
+ manage versioning, changelogs, releases, and pull request validation.
229
+
230
+ 1. **Routine Release Cadence**: Merge the automated
231
+ `changeset-release/main` (**"Version Packages"**) Pull Request on a regular
232
+ cadence (weekly is a good default) instead of ad-hoc frequent merges.
233
+ 2. **Urgent Release Exception**: Security fixes and high-impact,
234
+ user-facing bug fixes can be released immediately outside the routine
235
+ cadence.
236
+ 3. **Use Bump Changesets Only for User-Facing Runtime Changes**: If your
237
+ change is user-facing/runtime-visible, run:
238
+ ```bash
239
+ npx changeset
240
+ ```
241
+ Follow the prompts to choose `patch`, `minor`, or `major`, then write a
242
+ short summary. This creates a markdown file under `.changeset/`.
243
+ 4. **Use Empty Changesets for Internal-Only Work**: Docs, CI, test-only,
244
+ refactor, and chore changes should use an empty changeset:
245
+ ```bash
246
+ npx changeset --empty
247
+ ```
248
+ 5. **Validate Before Opening a PR**: Contributor pull requests targeting
249
+ `main` are checked for a changeset in CI. Dependabot PRs and automated
250
+ `changeset-release/main` release PRs are handled separately. You can run the
251
+ same validation locally with:
252
+ ```bash
253
+ npm run check:changeset
254
+ ```
255
+ 6. **Automated Releases**:
256
+ - Pushing changesets to `main` triggers a GitHub Action that automatically
257
+ creates or updates a **"Version Packages"** Pull Request.
258
+ - When this Pull Request is merged, the package is automatically built,
259
+ published to npm (via OIDC Trusted Publishing), and a GitHub Release is
260
+ created.
261
+
217
262
  ---
218
263
 
219
264
  ## 📄 License & Acknowledgements
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.25.16" };
7
+ e.SENTRY_RELEASE = { id: "hevy-mcp@1.26.0" };
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-Dg1vtBD3.mjs";
12
+ import { r as runServer } from "./src-Di7keTQA.mjs";
13
13
  //#region src/cli.ts
14
14
  runServer().catch((error) => {
15
15
  console.error("Fatal error in main():", error);
package/dist/index.d.mts CHANGED
@@ -17,5 +17,5 @@ declare function createServer({
17
17
  }): McpServer;
18
18
  declare function runServer(): Promise<void>;
19
19
  //#endregion
20
- export { configSchema, createServer as default, runServer };
20
+ export { configSchema, createServer, createServer as default, runServer };
21
21
  //# sourceMappingURL=index.d.mts.map
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.25.16" };
7
+ e.SENTRY_RELEASE = { id: "hevy-mcp@1.26.0" };
8
8
  var n = new e.Error().stack;
9
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a23492d3-dc93-45b6-9c01-6c2fef1c843d", e._sentryDebugIdIdentifier = "sentry-dbid-a23492d3-dc93-45b6-9c01-6c2fef1c843d");
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-Dg1vtBD3.mjs";
13
- export { configSchema, createServer as default, runServer };
12
+ import { n as createServer, r as runServer, t as configSchema } from "./src-Di7keTQA.mjs";
13
+ export { configSchema, createServer, createServer as default, runServer };