@yawlabs/mcp 0.66.0 → 0.66.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.
- package/dist/index.js +9 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -241,6 +241,7 @@ function validateEntry2(entry, warnings) {
|
|
|
241
241
|
) : void 0;
|
|
242
242
|
const url = typeof e.url === "string" ? e.url : void 0;
|
|
243
243
|
const description = typeof e.description === "string" ? e.description : void 0;
|
|
244
|
+
const runtime = e.runtime === "oam" || e.runtime === "node" ? e.runtime : void 0;
|
|
244
245
|
const isActive = e.isActive !== false;
|
|
245
246
|
const id = typeof e.id === "string" && e.id.length > 0 ? e.id : `local-${namespace}`;
|
|
246
247
|
return {
|
|
@@ -254,7 +255,8 @@ function validateEntry2(entry, warnings) {
|
|
|
254
255
|
env,
|
|
255
256
|
url,
|
|
256
257
|
isActive,
|
|
257
|
-
description
|
|
258
|
+
description,
|
|
259
|
+
runtime
|
|
258
260
|
};
|
|
259
261
|
}
|
|
260
262
|
async function readBundlesAt(path5, warnings) {
|
|
@@ -4004,7 +4006,7 @@ async function runUpgrade(opts = {}) {
|
|
|
4004
4006
|
return { exitCode: 3, lines };
|
|
4005
4007
|
}
|
|
4006
4008
|
function readCurrentVersion() {
|
|
4007
|
-
return true ? "0.66.
|
|
4009
|
+
return true ? "0.66.2" : "dev";
|
|
4008
4010
|
}
|
|
4009
4011
|
|
|
4010
4012
|
// src/usage-hints.ts
|
|
@@ -4066,7 +4068,7 @@ function selectFlakyNamespaces(entries, limit) {
|
|
|
4066
4068
|
}
|
|
4067
4069
|
|
|
4068
4070
|
// src/doctor-cmd.ts
|
|
4069
|
-
var VERSION = true ? "0.66.
|
|
4071
|
+
var VERSION = true ? "0.66.2" : "dev";
|
|
4070
4072
|
function isPersistenceDisabled(env) {
|
|
4071
4073
|
const raw = env.YAW_MCP_DISABLE_PERSISTENCE;
|
|
4072
4074
|
return raw !== void 0 && raw !== "" && (raw === "1" || raw.toLowerCase() === "true");
|
|
@@ -6874,7 +6876,7 @@ function defaultSpawn2(cmd, args) {
|
|
|
6874
6876
|
async function maybeAutoUpgrade(deps = {}) {
|
|
6875
6877
|
const optOut = process.env.YAW_MCP_AUTO_UPGRADE;
|
|
6876
6878
|
if (optOut === "0" || optOut?.toLowerCase() === "false") return;
|
|
6877
|
-
const current = deps.currentVersion ?? (true ? "0.66.
|
|
6879
|
+
const current = deps.currentVersion ?? (true ? "0.66.2" : "dev");
|
|
6878
6880
|
if (current === "dev") return;
|
|
6879
6881
|
const method = (deps.isSeaImpl ? await deps.isSeaImpl() : await detectSea()) ? "binary" : detectInstallMethod(deps.argvPath ?? process.argv[1]);
|
|
6880
6882
|
const latest = await (deps.fetchLatestImpl ?? fetchLatestVersion2)();
|
|
@@ -9822,7 +9824,7 @@ function categorizeSpawnError(err) {
|
|
|
9822
9824
|
}
|
|
9823
9825
|
async function connectToUpstream(config, onDisconnect, onListChanged) {
|
|
9824
9826
|
const client = new Client(
|
|
9825
|
-
{ name: "yaw-mcp", version: true ? "0.66.
|
|
9827
|
+
{ name: "yaw-mcp", version: true ? "0.66.2" : "dev" },
|
|
9826
9828
|
{ capabilities: {} }
|
|
9827
9829
|
);
|
|
9828
9830
|
let transport;
|
|
@@ -10157,7 +10159,7 @@ var ConnectServer = class _ConnectServer {
|
|
|
10157
10159
|
this.apiUrl = apiUrl5;
|
|
10158
10160
|
this.token = token5;
|
|
10159
10161
|
this.server = new Server(
|
|
10160
|
-
{ name: "yaw-mcp", version: true ? "0.66.
|
|
10162
|
+
{ name: "yaw-mcp", version: true ? "0.66.2" : "dev" },
|
|
10161
10163
|
{
|
|
10162
10164
|
capabilities: {
|
|
10163
10165
|
tools: { listChanged: true },
|
|
@@ -13845,7 +13847,7 @@ if (subcommand === "compliance") {
|
|
|
13845
13847
|
`);
|
|
13846
13848
|
process.exit(0);
|
|
13847
13849
|
} else if (subcommand === "--version" || subcommand === "-V") {
|
|
13848
|
-
process.stdout.write(`yaw-mcp ${true ? "0.66.
|
|
13850
|
+
process.stdout.write(`yaw-mcp ${true ? "0.66.2" : "dev"}
|
|
13849
13851
|
`);
|
|
13850
13852
|
process.exit(0);
|
|
13851
13853
|
} else if (subcommand && !subcommand.startsWith("-")) {
|
package/package.json
CHANGED