@yawlabs/mcp 0.60.0 → 0.60.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.
- package/dist/index.js +7 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2848,6 +2848,7 @@ function detectInstallMethod(argvPath) {
|
|
|
2848
2848
|
if (/\/npm\/node_modules\/@yawlabs\/mcp\//.test(normalized)) return "global-npm";
|
|
2849
2849
|
if (/\/lib\/node_modules\/@yawlabs\/mcp\//.test(normalized)) return "global-npm";
|
|
2850
2850
|
if (/\/AppData\/Roaming\/npm\/node_modules\/@yawlabs\/mcp\//.test(normalized)) return "global-npm";
|
|
2851
|
+
if (/\/bin\/node_modules\/@yawlabs\/mcp\//.test(normalized)) return "global-npm";
|
|
2851
2852
|
if (/\/node_modules\/@yawlabs\/mcp\//.test(normalized)) return "local-node-modules";
|
|
2852
2853
|
if (/\/(yaw-mcp|mcph)\/(dist|src)\//.test(normalized)) return "dev-checkout";
|
|
2853
2854
|
return "unknown";
|
|
@@ -3025,7 +3026,7 @@ async function runUpgrade(opts = {}) {
|
|
|
3025
3026
|
return { exitCode: 3, lines };
|
|
3026
3027
|
}
|
|
3027
3028
|
function readCurrentVersion() {
|
|
3028
|
-
return true ? "0.60.
|
|
3029
|
+
return true ? "0.60.1" : "dev";
|
|
3029
3030
|
}
|
|
3030
3031
|
|
|
3031
3032
|
// src/usage-hints.ts
|
|
@@ -3087,7 +3088,7 @@ function selectFlakyNamespaces(entries, limit) {
|
|
|
3087
3088
|
}
|
|
3088
3089
|
|
|
3089
3090
|
// src/doctor-cmd.ts
|
|
3090
|
-
var VERSION = true ? "0.60.
|
|
3091
|
+
var VERSION = true ? "0.60.1" : "dev";
|
|
3091
3092
|
async function runDoctor(opts = {}) {
|
|
3092
3093
|
if (opts.json) return runDoctorJson(opts);
|
|
3093
3094
|
const lines = [];
|
|
@@ -5075,7 +5076,7 @@ function defaultSpawn2(cmd, args) {
|
|
|
5075
5076
|
async function maybeAutoUpgrade(deps = {}) {
|
|
5076
5077
|
const optOut = process.env.YAW_MCP_AUTO_UPGRADE;
|
|
5077
5078
|
if (optOut === "0" || optOut?.toLowerCase() === "false") return;
|
|
5078
|
-
const current = deps.currentVersion ?? (true ? "0.60.
|
|
5079
|
+
const current = deps.currentVersion ?? (true ? "0.60.1" : "dev");
|
|
5079
5080
|
if (current === "dev") return;
|
|
5080
5081
|
const method = detectInstallMethod(deps.argvPath ?? process.argv[1]);
|
|
5081
5082
|
const latest = await (deps.fetchLatestImpl ?? fetchLatestVersion2)();
|
|
@@ -7348,7 +7349,7 @@ function categorizeSpawnError(err) {
|
|
|
7348
7349
|
}
|
|
7349
7350
|
async function connectToUpstream(config, onDisconnect, onListChanged) {
|
|
7350
7351
|
const client = new Client(
|
|
7351
|
-
{ name: "yaw-mcp", version: true ? "0.60.
|
|
7352
|
+
{ name: "yaw-mcp", version: true ? "0.60.1" : "dev" },
|
|
7352
7353
|
{ capabilities: {} }
|
|
7353
7354
|
);
|
|
7354
7355
|
let transport;
|
|
@@ -7657,7 +7658,7 @@ var ConnectServer = class _ConnectServer {
|
|
|
7657
7658
|
this.apiUrl = apiUrl5;
|
|
7658
7659
|
this.token = token5;
|
|
7659
7660
|
this.server = new Server(
|
|
7660
|
-
{ name: "yaw-mcp", version: true ? "0.60.
|
|
7661
|
+
{ name: "yaw-mcp", version: true ? "0.60.1" : "dev" },
|
|
7661
7662
|
{
|
|
7662
7663
|
capabilities: {
|
|
7663
7664
|
tools: { listChanged: true },
|
|
@@ -10628,7 +10629,7 @@ if (subcommand === "compliance") {
|
|
|
10628
10629
|
`);
|
|
10629
10630
|
process.exit(0);
|
|
10630
10631
|
} else if (subcommand === "--version" || subcommand === "-V") {
|
|
10631
|
-
process.stdout.write(`yaw-mcp ${true ? "0.60.
|
|
10632
|
+
process.stdout.write(`yaw-mcp ${true ? "0.60.1" : "dev"}
|
|
10632
10633
|
`);
|
|
10633
10634
|
process.exit(0);
|
|
10634
10635
|
} else if (subcommand && !subcommand.startsWith("-")) {
|
package/package.json
CHANGED