()
| 15 | const WORKERD_VERSION = "1.20260708.1"; |
| 16 | |
| 17 | const resolveQuickJsWasmPath = (): string => { |
| 18 | const req = createRequire(join(repoRoot, "packages/kernel/runtime-quickjs/package.json")); |
| 19 | const quickJsPkg = req.resolve("quickjs-emscripten/package.json"); |
| 20 | const wasmPath = resolve( |
| 21 | dirname(quickJsPkg), |
| 22 | "../@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm", |
| 23 | ); |
| 24 | if (!existsSync(wasmPath)) throw new Error(`QuickJS WASM not found at ${wasmPath}`); |
| 25 | return wasmPath; |
| 26 | }; |
| 27 | |
| 28 | // --------------------------------------------------------------------------- |
| 29 | // MCP-Apps shell (mcp-app.html) |
no test coverage detected