@keyban/cli 0.4.3 → 0.4.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/index.mjs CHANGED
@@ -156491,9 +156491,8 @@ ${url2}
156491
156491
  }
156492
156492
  function register(client) {
156493
156493
  const args = ["-y", "--package=install-mcp", "install-mcp", SERVER, "--name", "agent-wallet", "--client", client, "--yes"];
156494
- const run = spawnSync2("npx", args, {
156495
- stdio: ["ignore", 2, 2]
156496
- });
156494
+ const stdio = ["ignore", 2, 2];
156495
+ const run = process.platform === "win32" ? spawnSync2(["npx", ...args.map((arg) => `"${arg}"`)].join(" "), { shell: true, stdio }) : spawnSync2("npx", args, { stdio });
156497
156496
  if (run.status !== 0) throw new Error(`install-mcp exited ${run.status ?? run.signal}: the MCP server is not registered.`);
156498
156497
  }
156499
156498
  function setupCommand() {
@@ -156525,7 +156524,7 @@ function setupCommand() {
156525
156524
  }
156526
156525
 
156527
156526
  // src/index.ts
156528
- var VERSION5 = true ? "0.4.3" : "0.0.0";
156527
+ var VERSION5 = true ? "0.4.4" : "0.0.0";
156529
156528
  if (process.argv[2] !== "mcp" && !process.env.MCP_LOG_LEVEL) logger.setMinLevel("error");
156530
156529
  function typedArgv(argv) {
156531
156530
  if (argv[2] !== "__complete") return argv;