@chrischall/hellofresh-mcp 0.5.0 → 0.5.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.
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "metadata": {
7
7
  "description": "HelloFresh (US) tools for Claude Code",
8
- "version": "0.5.0"
8
+ "version": "0.5.1"
9
9
  },
10
10
  "plugins": [
11
11
  {
@@ -13,7 +13,7 @@
13
13
  "displayName": "HelloFresh",
14
14
  "source": "./",
15
15
  "description": "Unofficial HelloFresh (US) tools for Claude — subscription, weekly deliveries, menus, meal picks, skips and box sizes via MCP",
16
- "version": "0.5.0",
16
+ "version": "0.5.1",
17
17
  "author": {
18
18
  "name": "Chris Chall"
19
19
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hellofresh",
3
3
  "displayName": "HelloFresh",
4
- "version": "0.5.0",
4
+ "version": "0.5.1",
5
5
  "description": "Unofficial HelloFresh (US) tools for Claude — subscription, weekly deliveries, menus, meal picks, skips and box sizes via MCP",
6
6
  "author": {
7
7
  "name": "Chris Chall"
package/dist/bundle.js CHANGED
@@ -76223,9 +76223,9 @@ function registerSupportTools(server, deps2) {
76223
76223
  warning: `The support chat did not confirm the message (${messageOf(err)}), so it may have been delivered. Check with hf_support_read before sending it again; do not repeat it blindly.`
76224
76224
  });
76225
76225
  }
76226
- if (got.events) c.events = got.events;
76227
76226
  let at = -1;
76228
- for (let i = c.events.length - 1; i >= 0; i--) {
76227
+ if (got.events) c.events = got.events;
76228
+ for (let i = got.events ? c.events.length - 1 : -1; i >= before; i--) {
76229
76229
  if (c.events[i].from === "user" && c.events[i].text?.trim() === text.trim()) {
76230
76230
  at = i;
76231
76231
  break;
@@ -76975,7 +76975,7 @@ function createSessionCache(env = process.env) {
76975
76975
  }
76976
76976
 
76977
76977
  // src/version.ts
76978
- var VERSION = "0.5.0";
76978
+ var VERSION = "0.5.1";
76979
76979
 
76980
76980
  // src/index.ts
76981
76981
  var bridge = createHelloFreshBridge({ port: readWsPort(), version: VERSION });
@@ -222,11 +222,12 @@ export function registerSupportTools(server, deps) {
222
222
  'Check with hf_support_read before sending it again; do not repeat it blindly.',
223
223
  });
224
224
  }
225
+ // The message is verified only by a NEW user line holding it in the transcript HelloFresh sent
226
+ // back: an earlier copy (a repeated "yes") or a turn with no transcript proves nothing.
227
+ let at = -1;
225
228
  if (got.events)
226
229
  c.events = got.events;
227
- // The message is verified when the transcript HelloFresh sent back holds it as the user's.
228
- let at = -1;
229
- for (let i = c.events.length - 1; i >= 0; i--) {
230
+ for (let i = got.events ? c.events.length - 1 : -1; i >= before; i--) {
230
231
  if (c.events[i].from === 'user' && c.events[i].text?.trim() === text.trim()) {
231
232
  at = i;
232
233
  break;
package/dist/version.js CHANGED
@@ -2,4 +2,4 @@
2
2
  // literal below on release; every manifest that carries a version is listed in
3
3
  // release-please-config.json's extra-files and kept in lockstep by
4
4
  // tests/version-sync.test.ts. Keep the release marker on the export line only.
5
- export const VERSION = '0.5.0'; // x-release-please-version
5
+ export const VERSION = '0.5.1'; // x-release-please-version
package/manifest.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "manifest_version": "0.3",
4
4
  "name": "hellofresh-mcp",
5
5
  "display_name": "HelloFresh",
6
- "version": "0.5.0",
6
+ "version": "0.5.1",
7
7
  "description": "Unofficial HelloFresh (US) tools for Claude — subscription, weekly deliveries, menus, meal picks, skips and box sizes via your signed-in browser",
8
8
  "author": {
9
9
  "name": "Chris Chall",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrischall/hellofresh-mcp",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "license": "MIT",
5
5
  "mcpName": "io.github.chrischall/hellofresh-mcp",
6
6
  "description": "Unofficial HelloFresh (US) MCP server for Claude — subscription, weekly deliveries, menus, meal picks, skips and box sizes — developed and maintained by AI (Claude Code)",
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/chrischall/hellofresh-mcp",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.5.0",
9
+ "version": "0.5.1",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@chrischall/hellofresh-mcp",
14
- "version": "0.5.0",
14
+ "version": "0.5.1",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },