@etavioxy/wocingflow-mcp-server 0.0.3 → 0.0.5-fix.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.
|
@@ -3,6 +3,7 @@ const fs = require("node:fs");
|
|
|
3
3
|
const path = require("node:path");
|
|
4
4
|
const net = require("node:net");
|
|
5
5
|
const { spawn } = require("node:child_process");
|
|
6
|
+
const packageMeta = require("../package.json");
|
|
6
7
|
|
|
7
8
|
function sleep(ms) {
|
|
8
9
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -163,6 +164,8 @@ async function main() {
|
|
|
163
164
|
if (serviceDataDir) {
|
|
164
165
|
backendEnv.WF_SERVICE_DATA_DIR = serviceDataDir;
|
|
165
166
|
}
|
|
167
|
+
backendEnv.WF_MCP_NPM_PACKAGE = packageMeta.name || "@etavioxy/wocingflow-mcp-server";
|
|
168
|
+
backendEnv.WF_MCP_NPM_VERSION = packageMeta.version || "";
|
|
166
169
|
|
|
167
170
|
const backend = spawnBackend(
|
|
168
171
|
launch.command,
|
package/package.json
CHANGED
package/vendor/mcp_server.exe
CHANGED
|
Binary file
|