@yawlabs/mcp 0.78.0 → 0.79.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/CHANGELOG.md
CHANGED
|
@@ -38,6 +38,10 @@ The new SECRET VAULT section listed every server whose configured env carried `$
|
|
|
38
38
|
|
|
39
39
|
`YAW_MCP_VAULT_PASSPHRASE` was absent from `yaw-mcp --help`'s environment table while the README pointed at that table for "the full list", and `doctor` said nothing about the vault at all. A user whose server refused to spawn had no surface connecting a `${secret:NAME}` in bundles.json to the variable that makes it work. The var is now in `--help`, and `doctor` reports the vault file, its entry NAMES, which servers reference which names, whether a passphrase is present, and any referenced name that is not stored -- mirrored into `--json` as `.vault`. Names and booleans only: no secret value, and no passphrase, appears in either surface, which is also why the passphrase stays out of `DOCTOR_ENV_VARS` (that block prints raw values). The section is informational and never moves the exit code -- an unset passphrase is the normal state for a terminal run, since it belongs in the env your MCP client spawns yaw-mcp with, which doctor cannot see.
|
|
40
40
|
|
|
41
|
+
**Added -- `secrets set` says where the passphrase has to live, once, when it creates the vault**
|
|
42
|
+
|
|
43
|
+
Storing a secret and using one happen in different processes. `secrets set` runs in the user's own shell, where the passphrase was just supplied; the `${secret:NAME}` substitution runs inside the yaw-mcp that the MCP CLIENT spawns, which has its own environment and cannot prompt for anything. Set the passphrase only in the shell that ran `set` and the result is a vault that works perfectly from the CLI and a server that refuses to start, with nothing on either surface connecting the two -- no SUCCESS path in the CLI mentioned `YAW_MCP_VAULT_PASSPHRASE` at all, so it was discoverable by reading the README, or by hitting the failure and reading the error. Creating the vault now prints a one-time note naming the variable and the environment it belongs in; the wording differs depending on whether it is already set in the current shell, because someone who has exported it needs to be told the client's process is a separate one, not told to set it again. It fires on vault CREATION only -- once per vault, never on the second or the hundredth `set` -- and always on stderr, so `--json` stdout stays a single parseable line and `get`'s cleartext is never polluted. It reports only WHETHER the variable is set, never its value, since CLI output gets pasted into bug reports.
|
|
44
|
+
|
|
41
45
|
## 0.77.0 -- the learning signal stops recording things it did not observe, the silent failures get loud, and the dead ends are retired
|
|
42
46
|
|
|
43
47
|
Seven commits of full-pass review work, taken through repeated adversarial rounds. The two user-visible contract changes are first; the rest are fixes.
|
|
@@ -235,7 +235,7 @@ async function oamFloorLines(probe) {
|
|
|
235
235
|
}
|
|
236
236
|
async function defaultRunningPrefix(argvPath) {
|
|
237
237
|
if (process.env.VITEST) return null;
|
|
238
|
-
const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-
|
|
238
|
+
const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-SKDL4ZCE.js");
|
|
239
239
|
return detectRunningInstallPrefix2(argvPath);
|
|
240
240
|
}
|
|
241
241
|
async function defaultSpawn(cmd, args, cwd) {
|
|
@@ -287,7 +287,7 @@ async function runUpgrade(opts = {}) {
|
|
|
287
287
|
if (method === "global-npm") {
|
|
288
288
|
const rawPrefix = await (opts.runningPrefix ?? defaultRunningPrefix)(argvPath);
|
|
289
289
|
if (rawPrefix !== null) {
|
|
290
|
-
const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-
|
|
290
|
+
const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-SKDL4ZCE.js");
|
|
291
291
|
const spawnForm = quoteShellArgIfNeeded2(rawPrefix);
|
|
292
292
|
const displayForm = quoteArgForDisplay2(rawPrefix);
|
|
293
293
|
if (spawnForm !== null && displayForm !== null) {
|
|
@@ -395,7 +395,7 @@ async function runUpgrade(opts = {}) {
|
|
|
395
395
|
return { exitCode: 3, lines };
|
|
396
396
|
}
|
|
397
397
|
function readCurrentVersion() {
|
|
398
|
-
return true ? "0.
|
|
398
|
+
return true ? "0.79.0" : "dev";
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
// src/auto-upgrade.ts
|
|
@@ -533,7 +533,7 @@ function defaultSpawn2(cmd, args, onDone = () => {
|
|
|
533
533
|
async function maybeAutoUpgrade(deps = {}) {
|
|
534
534
|
const optOut = process.env.YAW_MCP_AUTO_UPGRADE;
|
|
535
535
|
if (optOut === "0" || optOut?.toLowerCase() === "false") return;
|
|
536
|
-
const current = deps.currentVersion ?? (true ? "0.
|
|
536
|
+
const current = deps.currentVersion ?? (true ? "0.79.0" : "dev");
|
|
537
537
|
if (current === "dev") return;
|
|
538
538
|
const method = (deps.isSeaImpl ? await deps.isSeaImpl() : await detectSea()) ? "binary" : detectInstallMethod(deps.argvPath ?? process.argv[1]);
|
|
539
539
|
const latest = await (deps.fetchLatestImpl ?? fetchLatestVersion)();
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
parseUpgradeArgs,
|
|
51
51
|
refineInstallMethod,
|
|
52
52
|
runUpgrade
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-YS4SD3RS.js";
|
|
54
54
|
import {
|
|
55
55
|
log
|
|
56
56
|
} from "./chunk-3RRZQPA5.js";
|
|
@@ -2162,7 +2162,7 @@ async function connectToUpstreamOnce(config, onDisconnect, onListChanged, bridge
|
|
|
2162
2162
|
if (downstreamCaps?.sampling) capabilities.sampling = downstreamCaps.sampling;
|
|
2163
2163
|
if (downstreamCaps?.roots) capabilities.roots = {};
|
|
2164
2164
|
const client = new Client(
|
|
2165
|
-
{ name: "yaw-mcp", version: true ? "0.
|
|
2165
|
+
{ name: "yaw-mcp", version: true ? "0.79.0" : "dev" },
|
|
2166
2166
|
{ capabilities }
|
|
2167
2167
|
);
|
|
2168
2168
|
if (bridge && capabilities.elicitation) {
|
|
@@ -6642,7 +6642,7 @@ function foldBundleWarnings(warnings, probe) {
|
|
|
6642
6642
|
const prefix = `${probe.path}:`;
|
|
6643
6643
|
return warnings.filter((w) => !w.startsWith(prefix));
|
|
6644
6644
|
}
|
|
6645
|
-
var VERSION = true ? "0.
|
|
6645
|
+
var VERSION = true ? "0.79.0" : "dev";
|
|
6646
6646
|
var DOCTOR_USAGE = `Usage: yaw-mcp doctor [--json]
|
|
6647
6647
|
|
|
6648
6648
|
Print a diagnostic of your yaw-mcp setup.
|
|
@@ -12527,7 +12527,7 @@ var ConnectServer = class _ConnectServer {
|
|
|
12527
12527
|
static SHUTDOWN_DRAIN_MS = 2e3;
|
|
12528
12528
|
constructor() {
|
|
12529
12529
|
this.server = new Server(
|
|
12530
|
-
{ name: "yaw-mcp", version: true ? "0.
|
|
12530
|
+
{ name: "yaw-mcp", version: true ? "0.79.0" : "dev" },
|
|
12531
12531
|
{
|
|
12532
12532
|
capabilities: {
|
|
12533
12533
|
tools: { listChanged: true },
|
|
@@ -15198,7 +15198,7 @@ if (subcommand === "compliance") {
|
|
|
15198
15198
|
`);
|
|
15199
15199
|
process.exitCode = 0;
|
|
15200
15200
|
} else if (subcommand === "--version" || subcommand === "-V") {
|
|
15201
|
-
process.stdout.write(`yaw-mcp ${true ? "0.
|
|
15201
|
+
process.stdout.write(`yaw-mcp ${true ? "0.79.0" : "dev"}
|
|
15202
15202
|
`);
|
|
15203
15203
|
process.exitCode = 0;
|
|
15204
15204
|
} else if (subcommand && !subcommand.startsWith("-")) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yawlabs/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.79.0",
|
|
4
4
|
"mcpName": "io.github.YawLabs/mcp",
|
|
5
5
|
"description": "Yaw MCP -- one install, every MCP server, managed from yaw.sh/mcp. Runs entirely on your machine: no account, no sign-in.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|