@yawlabs/mcp 0.76.1 → 0.76.2
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.
|
@@ -224,7 +224,7 @@ async function oamFloorLines(probe) {
|
|
|
224
224
|
}
|
|
225
225
|
async function defaultRunningPrefix(argvPath) {
|
|
226
226
|
if (process.env.VITEST) return null;
|
|
227
|
-
const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-
|
|
227
|
+
const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-I7PUQHNN.js");
|
|
228
228
|
return detectRunningInstallPrefix2(argvPath);
|
|
229
229
|
}
|
|
230
230
|
async function defaultSpawn(cmd, args, cwd) {
|
|
@@ -276,7 +276,7 @@ async function runUpgrade(opts = {}) {
|
|
|
276
276
|
if (method === "global-npm") {
|
|
277
277
|
const rawPrefix = await (opts.runningPrefix ?? defaultRunningPrefix)(argvPath);
|
|
278
278
|
if (rawPrefix !== null) {
|
|
279
|
-
const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-
|
|
279
|
+
const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-I7PUQHNN.js");
|
|
280
280
|
const spawnForm = quoteShellArgIfNeeded2(rawPrefix);
|
|
281
281
|
const displayForm = quoteArgForDisplay2(rawPrefix);
|
|
282
282
|
if (spawnForm !== null && displayForm !== null) {
|
|
@@ -379,7 +379,7 @@ async function runUpgrade(opts = {}) {
|
|
|
379
379
|
return { exitCode: 3, lines };
|
|
380
380
|
}
|
|
381
381
|
function readCurrentVersion() {
|
|
382
|
-
return true ? "0.76.
|
|
382
|
+
return true ? "0.76.2" : "dev";
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
// src/auto-upgrade.ts
|
|
@@ -469,7 +469,7 @@ function defaultSpawn2(cmd, args) {
|
|
|
469
469
|
async function maybeAutoUpgrade(deps = {}) {
|
|
470
470
|
const optOut = process.env.YAW_MCP_AUTO_UPGRADE;
|
|
471
471
|
if (optOut === "0" || optOut?.toLowerCase() === "false") return;
|
|
472
|
-
const current = deps.currentVersion ?? (true ? "0.76.
|
|
472
|
+
const current = deps.currentVersion ?? (true ? "0.76.2" : "dev");
|
|
473
473
|
if (current === "dev") return;
|
|
474
474
|
const method = (deps.isSeaImpl ? await deps.isSeaImpl() : await detectSea()) ? "binary" : detectInstallMethod(deps.argvPath ?? process.argv[1]);
|
|
475
475
|
const latest = await (deps.fetchLatestImpl ?? fetchLatestVersion)();
|
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
parseUpgradeArgs,
|
|
49
49
|
refineInstallMethod,
|
|
50
50
|
runUpgrade
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-EPEOXHMM.js";
|
|
52
52
|
import {
|
|
53
53
|
log
|
|
54
54
|
} from "./chunk-C3AQHLOR.js";
|
|
@@ -4619,7 +4619,7 @@ function foldBundleWarnings(warnings, probe) {
|
|
|
4619
4619
|
const prefix = `${probe.path}:`;
|
|
4620
4620
|
return warnings.filter((w) => !w.startsWith(prefix));
|
|
4621
4621
|
}
|
|
4622
|
-
var VERSION = true ? "0.76.
|
|
4622
|
+
var VERSION = true ? "0.76.2" : "dev";
|
|
4623
4623
|
async function runDoctor(opts = {}) {
|
|
4624
4624
|
if (opts.json) return runDoctorJson(opts);
|
|
4625
4625
|
const lines = [];
|
|
@@ -10578,7 +10578,7 @@ async function connectToUpstreamOnce(config, onDisconnect, onListChanged, bridge
|
|
|
10578
10578
|
if (downstreamCaps?.sampling) capabilities.sampling = downstreamCaps.sampling;
|
|
10579
10579
|
if (downstreamCaps?.roots) capabilities.roots = {};
|
|
10580
10580
|
const client = new Client(
|
|
10581
|
-
{ name: "yaw-mcp", version: true ? "0.76.
|
|
10581
|
+
{ name: "yaw-mcp", version: true ? "0.76.2" : "dev" },
|
|
10582
10582
|
{ capabilities }
|
|
10583
10583
|
);
|
|
10584
10584
|
if (bridge && capabilities.elicitation) {
|
|
@@ -11220,7 +11220,7 @@ var ConnectServer = class _ConnectServer {
|
|
|
11220
11220
|
static SHUTDOWN_DRAIN_MS = 2e3;
|
|
11221
11221
|
constructor() {
|
|
11222
11222
|
this.server = new Server(
|
|
11223
|
-
{ name: "yaw-mcp", version: true ? "0.76.
|
|
11223
|
+
{ name: "yaw-mcp", version: true ? "0.76.2" : "dev" },
|
|
11224
11224
|
{
|
|
11225
11225
|
capabilities: {
|
|
11226
11226
|
tools: { listChanged: true },
|
|
@@ -13728,7 +13728,7 @@ if (subcommand === "compliance") {
|
|
|
13728
13728
|
`);
|
|
13729
13729
|
process.exitCode = 0;
|
|
13730
13730
|
} else if (subcommand === "--version" || subcommand === "-V") {
|
|
13731
|
-
process.stdout.write(`yaw-mcp ${true ? "0.76.
|
|
13731
|
+
process.stdout.write(`yaw-mcp ${true ? "0.76.2" : "dev"}
|
|
13732
13732
|
`);
|
|
13733
13733
|
process.exitCode = 0;
|
|
13734
13734
|
} else if (subcommand && !subcommand.startsWith("-")) {
|
package/package.json
CHANGED