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.
- package/dist/core/index.d.ts +92 -53
- package/dist/core/index.js +95 -63
- package/dist/core/index.js.map +1 -1
- package/dist/react/index.d.ts +307 -30
- package/dist/react/index.js +360 -115
- package/dist/react/index.js.map +1 -1
- package/dist/server/index.js +3 -1
- package/dist/server/index.js.map +1 -1
- package/dist/vite/index.d.ts +0 -13
- package/dist/vite/index.js +3 -1
- package/dist/vite/index.js.map +1 -1
- package/package.json +6 -3
package/dist/server/index.js
CHANGED
|
@@ -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: '
|
|
13472
|
+
method: '${HMR_RELOAD_NOTIFICATION}',
|
|
13471
13473
|
params: {}
|
|
13472
13474
|
}, '*');
|
|
13473
13475
|
}
|