@wisewandtools/mcp-server 2.0.14 → 2.0.15

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/index.js CHANGED
@@ -1,12 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  var __defProp = Object.defineProperty;
3
3
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
4
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
5
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
6
- }) : x)(function(x) {
7
- if (typeof require !== "undefined") return require.apply(this, arguments);
8
- throw Error('Dynamic require of "' + x + '" is not supported');
9
- });
10
4
 
11
5
  // src/index.ts
12
6
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
@@ -6269,6 +6263,7 @@ var WisewandMCPServer = class {
6269
6263
  };
6270
6264
 
6271
6265
  // src/utils/shutdown.ts
6266
+ import * as readline from "readline";
6272
6267
  function gracefulShutdown(server) {
6273
6268
  let isShuttingDown = false;
6274
6269
  const shutdown = /* @__PURE__ */ __name(async (signal) => {
@@ -6297,7 +6292,6 @@ function gracefulShutdown(server) {
6297
6292
  process.on("SIGINT", () => shutdown("SIGINT"));
6298
6293
  process.on("SIGHUP", () => shutdown("SIGHUP"));
6299
6294
  if (process.platform === "win32") {
6300
- const readline = __require("readline");
6301
6295
  const rl = readline.createInterface({
6302
6296
  input: process.stdin,
6303
6297
  output: process.stdout