@yawlabs/mcp 0.66.2 → 0.66.3

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4006,7 +4006,7 @@ async function runUpgrade(opts = {}) {
4006
4006
  return { exitCode: 3, lines };
4007
4007
  }
4008
4008
  function readCurrentVersion() {
4009
- return true ? "0.66.2" : "dev";
4009
+ return true ? "0.66.3" : "dev";
4010
4010
  }
4011
4011
 
4012
4012
  // src/usage-hints.ts
@@ -4068,7 +4068,7 @@ function selectFlakyNamespaces(entries, limit) {
4068
4068
  }
4069
4069
 
4070
4070
  // src/doctor-cmd.ts
4071
- var VERSION = true ? "0.66.2" : "dev";
4071
+ var VERSION = true ? "0.66.3" : "dev";
4072
4072
  function isPersistenceDisabled(env) {
4073
4073
  const raw = env.YAW_MCP_DISABLE_PERSISTENCE;
4074
4074
  return raw !== void 0 && raw !== "" && (raw === "1" || raw.toLowerCase() === "true");
@@ -6876,7 +6876,7 @@ function defaultSpawn2(cmd, args) {
6876
6876
  async function maybeAutoUpgrade(deps = {}) {
6877
6877
  const optOut = process.env.YAW_MCP_AUTO_UPGRADE;
6878
6878
  if (optOut === "0" || optOut?.toLowerCase() === "false") return;
6879
- const current = deps.currentVersion ?? (true ? "0.66.2" : "dev");
6879
+ const current = deps.currentVersion ?? (true ? "0.66.3" : "dev");
6880
6880
  if (current === "dev") return;
6881
6881
  const method = (deps.isSeaImpl ? await deps.isSeaImpl() : await detectSea()) ? "binary" : detectInstallMethod(deps.argvPath ?? process.argv[1]);
6882
6882
  const latest = await (deps.fetchLatestImpl ?? fetchLatestVersion2)();
@@ -9439,9 +9439,12 @@ function packageName(spec) {
9439
9439
  return at === -1 ? spec : spec.slice(0, at);
9440
9440
  }
9441
9441
  var oamBinCache;
9442
+ function winNormalize(p, platform = process.platform) {
9443
+ return platform === "win32" ? p.replace(/\//g, "\\") : p;
9444
+ }
9442
9445
  function oamBin() {
9443
9446
  if (oamBinCache !== void 0) return oamBinCache;
9444
- const bin = process.env.OAM_BIN || (process.platform === "win32" ? "oam.exe" : "oam");
9447
+ const bin = winNormalize(process.env.OAM_BIN || (process.platform === "win32" ? "oam.exe" : "oam"));
9445
9448
  try {
9446
9449
  execFileSync(bin, ["--version"], { stdio: "ignore" });
9447
9450
  oamBinCache = bin;
@@ -9824,7 +9827,7 @@ function categorizeSpawnError(err) {
9824
9827
  }
9825
9828
  async function connectToUpstream(config, onDisconnect, onListChanged) {
9826
9829
  const client = new Client(
9827
- { name: "yaw-mcp", version: true ? "0.66.2" : "dev" },
9830
+ { name: "yaw-mcp", version: true ? "0.66.3" : "dev" },
9828
9831
  { capabilities: {} }
9829
9832
  );
9830
9833
  let transport;
@@ -10159,7 +10162,7 @@ var ConnectServer = class _ConnectServer {
10159
10162
  this.apiUrl = apiUrl5;
10160
10163
  this.token = token5;
10161
10164
  this.server = new Server(
10162
- { name: "yaw-mcp", version: true ? "0.66.2" : "dev" },
10165
+ { name: "yaw-mcp", version: true ? "0.66.3" : "dev" },
10163
10166
  {
10164
10167
  capabilities: {
10165
10168
  tools: { listChanged: true },
@@ -13847,7 +13850,7 @@ if (subcommand === "compliance") {
13847
13850
  `);
13848
13851
  process.exit(0);
13849
13852
  } else if (subcommand === "--version" || subcommand === "-V") {
13850
- process.stdout.write(`yaw-mcp ${true ? "0.66.2" : "dev"}
13853
+ process.stdout.write(`yaw-mcp ${true ? "0.66.3" : "dev"}
13851
13854
  `);
13852
13855
  process.exit(0);
13853
13856
  } else if (subcommand && !subcommand.startsWith("-")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yawlabs/mcp",
3
- "version": "0.66.2",
3
+ "version": "0.66.3",
4
4
  "mcpName": "io.github.YawLabs/mcp",
5
5
  "description": "Yaw MCP -- MCP servers, managed. Free to run locally; Yaw Team adds cross-machine sync.",
6
6
  "license": "UNLICENSED",