@yawlabs/mcp 0.58.1 → 0.58.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 +13 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2754,7 +2754,7 @@ function selectFlakyNamespaces(entries, limit) {
|
|
|
2754
2754
|
}
|
|
2755
2755
|
|
|
2756
2756
|
// src/doctor-cmd.ts
|
|
2757
|
-
var VERSION = true ? "0.58.
|
|
2757
|
+
var VERSION = true ? "0.58.2" : "dev";
|
|
2758
2758
|
async function runDoctor(opts = {}) {
|
|
2759
2759
|
if (opts.json) return runDoctorJson(opts);
|
|
2760
2760
|
const lines = [];
|
|
@@ -3401,7 +3401,7 @@ function closestNames(query, candidates, limit) {
|
|
|
3401
3401
|
// src/login-cmd.ts
|
|
3402
3402
|
var LOGIN_USAGE = `Usage: yaw-mcp login --key <license-key>
|
|
3403
3403
|
|
|
3404
|
-
Sign in to your Yaw
|
|
3404
|
+
Sign in to your Yaw Team or Yaw MCP Pro account. Your license
|
|
3405
3405
|
key was emailed after purchase.
|
|
3406
3406
|
|
|
3407
3407
|
--key <license-key> Required. The license key from your purchase email.
|
|
@@ -3477,7 +3477,7 @@ async function runLogin(opts, io = {
|
|
|
3477
3477
|
// src/logout-cmd.ts
|
|
3478
3478
|
var LOGOUT_USAGE = `Usage: yaw-mcp logout
|
|
3479
3479
|
|
|
3480
|
-
Sign out of your Yaw
|
|
3480
|
+
Sign out of your Yaw Team or Yaw MCP Pro account. Clears the
|
|
3481
3481
|
local session cookie at ~/.yaw-mcp/team-session.json. Free mode
|
|
3482
3482
|
resumes on the next yaw-mcp invocation if no YAW_MCP_TOKEN is set.
|
|
3483
3483
|
|
|
@@ -3616,13 +3616,13 @@ async function showNagInterstitial(opts = {}) {
|
|
|
3616
3616
|
"| |",
|
|
3617
3617
|
"| You're using Yaw MCP free. |",
|
|
3618
3618
|
"| |",
|
|
3619
|
-
"| Pro ($
|
|
3619
|
+
"| Pro ($5/mo or $50/yr) adds: |",
|
|
3620
3620
|
"| * sync bundles + secrets across machines |",
|
|
3621
3621
|
"| * encrypted secret vault (never logged) |",
|
|
3622
3622
|
"| * 90-day analytics on AI tool usage |",
|
|
3623
3623
|
"| * `yaw-mcp stats` command |",
|
|
3624
3624
|
"| |",
|
|
3625
|
-
"| Yaw
|
|
3625
|
+
"| Yaw Team ($15/seat/mo or $150/seat/yr) adds: |",
|
|
3626
3626
|
"| * everything in Pro, per seat |",
|
|
3627
3627
|
"| * shared team bundles |",
|
|
3628
3628
|
"| * shared org secrets |",
|
|
@@ -4515,7 +4515,7 @@ Or re-run with --run to upgrade in place.`);
|
|
|
4515
4515
|
return { exitCode: 3, lines };
|
|
4516
4516
|
}
|
|
4517
4517
|
function readCurrentVersion() {
|
|
4518
|
-
return true ? "0.58.
|
|
4518
|
+
return true ? "0.58.2" : "dev";
|
|
4519
4519
|
}
|
|
4520
4520
|
|
|
4521
4521
|
// src/auto-upgrade.ts
|
|
@@ -4563,7 +4563,7 @@ function defaultSpawn2(cmd, args) {
|
|
|
4563
4563
|
async function maybeAutoUpgrade(deps = {}) {
|
|
4564
4564
|
const optOut = process.env.YAW_MCP_AUTO_UPGRADE;
|
|
4565
4565
|
if (optOut === "0" || optOut?.toLowerCase() === "false") return;
|
|
4566
|
-
const current = deps.currentVersion ?? (true ? "0.58.
|
|
4566
|
+
const current = deps.currentVersion ?? (true ? "0.58.2" : "dev");
|
|
4567
4567
|
if (current === "dev") return;
|
|
4568
4568
|
const method = detectInstallMethod(deps.argvPath ?? process.argv[1]);
|
|
4569
4569
|
const latest = await (deps.fetchLatestImpl ?? fetchLatestVersion2)();
|
|
@@ -6958,7 +6958,7 @@ function categorizeSpawnError(err) {
|
|
|
6958
6958
|
}
|
|
6959
6959
|
async function connectToUpstream(config, onDisconnect, onListChanged) {
|
|
6960
6960
|
const client = new Client(
|
|
6961
|
-
{ name: "yaw-mcp", version: true ? "0.58.
|
|
6961
|
+
{ name: "yaw-mcp", version: true ? "0.58.2" : "dev" },
|
|
6962
6962
|
{ capabilities: {} }
|
|
6963
6963
|
);
|
|
6964
6964
|
let transport;
|
|
@@ -7267,7 +7267,7 @@ var ConnectServer = class _ConnectServer {
|
|
|
7267
7267
|
this.apiUrl = apiUrl5;
|
|
7268
7268
|
this.token = token5;
|
|
7269
7269
|
this.server = new Server(
|
|
7270
|
-
{ name: "yaw-mcp", version: true ? "0.58.
|
|
7270
|
+
{ name: "yaw-mcp", version: true ? "0.58.2" : "dev" },
|
|
7271
7271
|
{
|
|
7272
7272
|
capabilities: {
|
|
7273
7273
|
tools: { listChanged: true },
|
|
@@ -9553,7 +9553,7 @@ import { homedir as homedir12 } from "os";
|
|
|
9553
9553
|
var STATS_USAGE = `Usage: yaw-mcp stats [--json] [--limit N] [--days N]
|
|
9554
9554
|
|
|
9555
9555
|
Print a digest of recent AI tool calls recorded against your Yaw MCP
|
|
9556
|
-
Pro or Yaw
|
|
9556
|
+
Pro or Yaw Team account.
|
|
9557
9557
|
|
|
9558
9558
|
--limit N Show the most recent N events (default 50, max 1000).
|
|
9559
9559
|
--days N Restrict to events from the last N days (default 7).
|
|
@@ -9667,7 +9667,7 @@ async function runStats(opts, io = {
|
|
|
9667
9667
|
const home = opts.home ?? homedir12();
|
|
9668
9668
|
const session = await getSession({ home, baseUrl: opts.baseUrl });
|
|
9669
9669
|
if (!session) {
|
|
9670
|
-
const msg = "Not signed in. Yaw MCP analytics requires a Pro or Yaw
|
|
9670
|
+
const msg = "Not signed in. Yaw MCP analytics requires a Pro or Yaw Team account.\n - Pro: $5/mo or $50/yr -- https://yaw.sh/mcp#pricing\n - Yaw Team: $15/seat/mo (includes Yaw Terminal team features)\nSign in with: yaw-mcp login --key <license-key>";
|
|
9671
9671
|
if (opts.json) io.err(`${JSON.stringify({ ok: false, error: "Not signed in.", upsell: msg })}
|
|
9672
9672
|
`);
|
|
9673
9673
|
else io.err(`yaw-mcp stats: ${msg}
|
|
@@ -9728,7 +9728,7 @@ import { dirname as dirname4, join as join11 } from "path";
|
|
|
9728
9728
|
var SYNC_USAGE = `Usage: yaw-mcp sync <push|pull|status> [--json]
|
|
9729
9729
|
|
|
9730
9730
|
Replicate ~/.yaw-mcp/bundles.json across machines via your Yaw
|
|
9731
|
-
|
|
9731
|
+
Team or Yaw MCP Pro account.
|
|
9732
9732
|
|
|
9733
9733
|
push Strip env values from the local bundles and upload the
|
|
9734
9734
|
schema to mcp_bundles. Env values stay machine-local.
|
|
@@ -10214,7 +10214,7 @@ if (subcommand === "compliance") {
|
|
|
10214
10214
|
`);
|
|
10215
10215
|
process.exit(0);
|
|
10216
10216
|
} else if (subcommand === "--version" || subcommand === "-V") {
|
|
10217
|
-
process.stdout.write(`yaw-mcp ${true ? "0.58.
|
|
10217
|
+
process.stdout.write(`yaw-mcp ${true ? "0.58.2" : "dev"}
|
|
10218
10218
|
`);
|
|
10219
10219
|
process.exit(0);
|
|
10220
10220
|
} else if (subcommand && !subcommand.startsWith("-")) {
|