open-mcp-app 0.1.3 → 0.1.4

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.
@@ -13399,6 +13399,7 @@ import { createHash } from "crypto";
13399
13399
  import { spawnSync } from "child_process";
13400
13400
 
13401
13401
  // src/vite/hmr-client.ts
13402
+ var HMR_RELOAD_NOTIFICATION = "ui/notifications/hmr-reload";
13402
13403
  function generateHmrClientScript(port) {
13403
13404
  return `
13404
13405
  (function() {
@@ -13463,11 +13464,12 @@ function generateHmrClientScript(port) {
13463
13464
  };
13464
13465
  }
13465
13466
 
13467
+ // Note: Method name must match HMR_RELOAD_NOTIFICATION constant
13466
13468
  function notifyParent() {
13467
13469
  console.log('[Creature HMR] Sending hmr-reload to parent frame');
13468
13470
  window.parent.postMessage({
13469
13471
  jsonrpc: '2.0',
13470
- method: 'ui/notifications/hmr-reload',
13472
+ method: '${HMR_RELOAD_NOTIFICATION}',
13471
13473
  params: {}
13472
13474
  }, '*');
13473
13475
  }