@yawlabs/mcph 0.48.6 → 0.50.0
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 +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1668,7 +1668,7 @@ function selectFlakyNamespaces(entries, limit) {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
|
|
1670
1670
|
// src/doctor-cmd.ts
|
|
1671
|
-
var VERSION = true ? "0.
|
|
1671
|
+
var VERSION = true ? "0.50.0" : "dev";
|
|
1672
1672
|
async function runDoctor(opts = {}) {
|
|
1673
1673
|
if (opts.json) return runDoctorJson(opts);
|
|
1674
1674
|
const lines = [];
|
|
@@ -3109,7 +3109,7 @@ Or re-run with --run to upgrade in place.`);
|
|
|
3109
3109
|
return { exitCode: 3, lines };
|
|
3110
3110
|
}
|
|
3111
3111
|
function readCurrentVersion() {
|
|
3112
|
-
return true ? "0.
|
|
3112
|
+
return true ? "0.50.0" : "dev";
|
|
3113
3113
|
}
|
|
3114
3114
|
|
|
3115
3115
|
// src/auto-upgrade.ts
|
|
@@ -3157,7 +3157,7 @@ function defaultSpawn2(cmd, args) {
|
|
|
3157
3157
|
async function maybeAutoUpgrade(deps = {}) {
|
|
3158
3158
|
const optOut = process.env.MCPH_AUTO_UPGRADE;
|
|
3159
3159
|
if (optOut === "0" || optOut?.toLowerCase() === "false") return;
|
|
3160
|
-
const current = deps.currentVersion ?? (true ? "0.
|
|
3160
|
+
const current = deps.currentVersion ?? (true ? "0.50.0" : "dev");
|
|
3161
3161
|
if (current === "dev") return;
|
|
3162
3162
|
const method = detectInstallMethod(deps.argvPath ?? process.argv[1]);
|
|
3163
3163
|
const latest = await (deps.fetchLatestImpl ?? fetchLatestVersion2)();
|
|
@@ -5301,7 +5301,7 @@ function categorizeSpawnError(err) {
|
|
|
5301
5301
|
}
|
|
5302
5302
|
async function connectToUpstream(config, onDisconnect, onListChanged) {
|
|
5303
5303
|
const client = new Client(
|
|
5304
|
-
{ name: "mcph", version: true ? "0.
|
|
5304
|
+
{ name: "mcph", version: true ? "0.50.0" : "dev" },
|
|
5305
5305
|
{ capabilities: {} }
|
|
5306
5306
|
);
|
|
5307
5307
|
let transport;
|
|
@@ -5609,7 +5609,7 @@ var ConnectServer = class _ConnectServer {
|
|
|
5609
5609
|
this.apiUrl = apiUrl6;
|
|
5610
5610
|
this.token = token6;
|
|
5611
5611
|
this.server = new Server(
|
|
5612
|
-
{ name: "mcph", version: true ? "0.
|
|
5612
|
+
{ name: "mcph", version: true ? "0.50.0" : "dev" },
|
|
5613
5613
|
{
|
|
5614
5614
|
capabilities: {
|
|
5615
5615
|
tools: { listChanged: true },
|
|
@@ -7998,7 +7998,7 @@ if (subcommand === "compliance") {
|
|
|
7998
7998
|
`);
|
|
7999
7999
|
process.exit(0);
|
|
8000
8000
|
} else if (subcommand === "--version" || subcommand === "-V") {
|
|
8001
|
-
process.stdout.write(`mcph ${true ? "0.
|
|
8001
|
+
process.stdout.write(`mcph ${true ? "0.50.0" : "dev"}
|
|
8002
8002
|
`);
|
|
8003
8003
|
process.exit(0);
|
|
8004
8004
|
} else if (subcommand && !subcommand.startsWith("-")) {
|
package/package.json
CHANGED