@yawlabs/mcp 1.0.19 → 1.0.20
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
|
@@ -181,6 +181,17 @@ The dry run said nothing about the originals, so the one step of an import that
|
|
|
181
181
|
|
|
182
182
|
`npm run verify:oam-floor` hosted a stdio `@modelcontextprotocol/sdk` server on oam v0.17.0 through `oam run` on 2026-09-25 -- initialize, tools/list and tools/call all completed -- and raised `MIN_OAM_VERSION` to it; the floor was 0.16.4. A machine whose oam is older hosts its node/npx sidecars on node instead, and logs a warning naming both versions, `oam self-update` as the fix, and that yaw-mcp needs a restart afterwards.
|
|
183
183
|
|
|
184
|
+
**Changed -- the oam floor moves to 0.18.0**
|
|
185
|
+
|
|
186
|
+
`npm run verify:oam-floor` hosted a stdio `@modelcontextprotocol/sdk` server on oam v0.18.0 through `oam run` on 2026-10-05 -- initialize, tools/list and tools/call all completed -- and raised `MIN_OAM_VERSION` to it; the floor was 0.17.0. A machine whose oam is older hosts its node/npx sidecars on node instead, and logs a warning naming both versions, `oam self-update` as the fix, and that yaw-mcp needs a restart afterwards.
|
|
187
|
+
|
|
188
|
+
Unlike the moves before it, this one carries oam changes that alter what yaw-mcp gets on oam, per oam's 0.18.0 changelog:
|
|
189
|
+
|
|
190
|
+
- **The vault passphrase strip holds for a broker that itself runs on oam.** From 0.18.0 an explicit `env` on a spawn is the child's whole environment, as under node. Earlier oam laid those pairs over the environment it started with, so a broker launched as `oam run --no-check .../dist/index.js` with `YAW_MCP_VAULT_PASSPHRASE` in its client env block passed the passphrase to every child it started -- sidecars and the self-upgrade and daily sidecar-refresh package-manager runs -- despite the strip. A broker on node was never affected. The floor does not reach an existing broker entry: `install` writes an oam entry only for an oam at or above the floor, but an entry written earlier names its oam binary and is not re-checked at launch, and `heal` rewrites only a broken entry. If your broker runs on oam, run `--version` on the oam binary your client's yaw-mcp entry names (it may not be the `oam` on your PATH), run `self-update` with that binary if it is below 0.18.0, then restart the client.
|
|
191
|
+
- **`@playwright/mcp --isolated` is hostable on oam.** oam 0.18.0 added `net` over a Windows named pipe or a Unix-domain socket (oam #219), the dial every browser tool makes in that mode, so the `"runtime": "node"` escape `src/oam-spawn.ts` named for it is no longer needed. This repo has not re-measured it; oam's release matrix covers it with a `--isolated` row.
|
|
192
|
+
- **`OAM_MAX_HEAP_MB=0` or a non-numeric value no longer removes the heap cap** (oam #223). oam keeps its default cap and warns once on stderr, so a hosted child that then exhausts its heap dies with `error[OAM-RT-OOM]` and gets yaw-mcp's heap-cap hint, where before it died in a raw V8 crash the hint could not recognise.
|
|
193
|
+
- **Two node behaviours yaw-mcp relies on now hold on oam.** oam's `undici` shim ignored `headersTimeout` and `bodyTimeout` before 0.18.0 (oam #218), so the 30 s caps in the uv bootstrap were inert there, and `fs.promises.copyFile` ignored `COPYFILE_EXCL`, so `secrets reset` run on oam could overwrite an earlier vault backup instead of picking a new name.
|
|
194
|
+
|
|
184
195
|
## 1.0.15 -- the missing-credential prompt catches more servers and says what is true, and `yaw-mcp secrets --json` keeps stderr to one JSON object per line
|
|
185
196
|
|
|
186
197
|
Published 2026-09-24, the same day as 1.0.13. This section was prepared under a 1.0.14 heading and published as 1.0.15: there is no 1.0.14 on npm and no `v1.0.14` tag. Sixteen entries below, from a full pass over the secrets and missing-credential code (#173). The credential prompt recognises more of the ways a server says a key is missing, no longer asks for a key bundles.json already sets, drops a value the server rejects, and its refusals say what the next activate will do. `yaw-mcp secrets --json` keeps stderr to one JSON object per line, and its prose refusals name their action. Six of the changes alter behaviour for an existing setup that opts into nothing, and none sits behind a switch: `secrets list --json` and `secrets audit --json` print one line; an inherited value of a name ending in `_PATH`, `_FILE`, `_DIR`, `_HOST`, `_PORT`, `_PREFIX` or `_SIZE` is no longer masked in a child's stderr tail or prompted for; more stderr phrasings bring up the credential prompt; a non-empty bundles.json value wins over a typed one; a vault with an array `entries` or scrypt-invalid kdf parameters is refused at load; and a Tab pasted at the `secrets set` value prompt is kept.
|
|
@@ -4008,7 +4008,7 @@ function npxSpec(args) {
|
|
|
4008
4008
|
const spec = args[idx];
|
|
4009
4009
|
return spec.startsWith("-") ? null : spec;
|
|
4010
4010
|
}
|
|
4011
|
-
var MIN_OAM_VERSION = "0.
|
|
4011
|
+
var MIN_OAM_VERSION = "0.18.0";
|
|
4012
4012
|
var OAM_INSTALL_SH = "curl -fsSL https://oamjs.org/install.sh | sh";
|
|
4013
4013
|
var OAM_INSTALL_PS1 = "irm https://oamjs.org/install.ps1 | iex";
|
|
4014
4014
|
function oamInstallCommand(os) {
|
|
@@ -4990,17 +4990,17 @@ async function oamFloorLines(probe) {
|
|
|
4990
4990
|
}
|
|
4991
4991
|
async function defaultRunningPrefix(argvPath) {
|
|
4992
4992
|
if (isTestSandbox()) return null;
|
|
4993
|
-
const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-
|
|
4993
|
+
const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-2WRN36F2.js");
|
|
4994
4994
|
return detectRunningInstallPrefix2(argvPath);
|
|
4995
4995
|
}
|
|
4996
4996
|
async function defaultAcquireLock(prefixDir) {
|
|
4997
4997
|
if (isTestSandbox()) return () => {
|
|
4998
4998
|
};
|
|
4999
|
-
const { acquireUpgradeLock: acquireUpgradeLock2 } = await import("./auto-upgrade-
|
|
4999
|
+
const { acquireUpgradeLock: acquireUpgradeLock2 } = await import("./auto-upgrade-2WRN36F2.js");
|
|
5000
5000
|
return acquireUpgradeLock2(prefixDir);
|
|
5001
5001
|
}
|
|
5002
5002
|
async function upgradeLockPath(prefixDir) {
|
|
5003
|
-
const { UPGRADE_LOCK_NAME: UPGRADE_LOCK_NAME2 } = await import("./auto-upgrade-
|
|
5003
|
+
const { UPGRADE_LOCK_NAME: UPGRADE_LOCK_NAME2 } = await import("./auto-upgrade-2WRN36F2.js");
|
|
5004
5004
|
return join10(prefixDir, UPGRADE_LOCK_NAME2);
|
|
5005
5005
|
}
|
|
5006
5006
|
async function defaultSpawn(cmd, args, cwd) {
|
|
@@ -5062,7 +5062,7 @@ async function runUpgrade(opts = {}) {
|
|
|
5062
5062
|
if (method === "global-npm") {
|
|
5063
5063
|
rawPrefix = await (opts.runningPrefix ?? defaultRunningPrefix)(argvPath);
|
|
5064
5064
|
if (rawPrefix !== null) {
|
|
5065
|
-
const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-
|
|
5065
|
+
const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-2WRN36F2.js");
|
|
5066
5066
|
const spawnForm = quoteShellArgIfNeeded2(rawPrefix, opts.platform);
|
|
5067
5067
|
const displayForm = quoteArgForDisplay2(rawPrefix, opts.platform);
|
|
5068
5068
|
if (spawnForm !== null && displayForm !== null) {
|
|
@@ -5194,7 +5194,7 @@ async function runUpgrade(opts = {}) {
|
|
|
5194
5194
|
return { exitCode: 3, lines };
|
|
5195
5195
|
}
|
|
5196
5196
|
function readCurrentVersion() {
|
|
5197
|
-
return true ? "1.0.
|
|
5197
|
+
return true ? "1.0.20" : "dev";
|
|
5198
5198
|
}
|
|
5199
5199
|
|
|
5200
5200
|
// src/auto-upgrade.ts
|
|
@@ -5486,7 +5486,7 @@ function defaultSpawn2(cmd, args, onDone = () => {
|
|
|
5486
5486
|
}
|
|
5487
5487
|
async function maybeAutoUpgrade(deps = {}) {
|
|
5488
5488
|
if (isFeatureDisabled("YAW_MCP_AUTO_UPGRADE")) return;
|
|
5489
|
-
const current = deps.currentVersion ?? (true ? "1.0.
|
|
5489
|
+
const current = deps.currentVersion ?? (true ? "1.0.20" : "dev");
|
|
5490
5490
|
if (current === "dev") return;
|
|
5491
5491
|
const argvPath = deps.argvPath ?? process.argv[1];
|
|
5492
5492
|
let method = (deps.isSeaImpl ? await deps.isSeaImpl() : await detectSea()) ? "binary" : detectInstallMethod(argvPath, realpathSync3, ["unknown", "local-node-modules"]);
|
package/dist/index.js
CHANGED
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
unparseableConfigFix,
|
|
110
110
|
userConfigDir,
|
|
111
111
|
yawModeOverlay
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-JGEO2RRL.js";
|
|
113
113
|
|
|
114
114
|
// src/audit-cmd.ts
|
|
115
115
|
import { homedir as homedir6 } from "os";
|
|
@@ -3370,7 +3370,7 @@ async function connectToUpstreamOnce(config, onDisconnect, onListChanged, bridge
|
|
|
3370
3370
|
if (downstreamCaps?.sampling) capabilities.sampling = downstreamCaps.sampling;
|
|
3371
3371
|
if (downstreamCaps?.roots) capabilities.roots = {};
|
|
3372
3372
|
const client = new Client(
|
|
3373
|
-
{ name: "yaw-mcp", version: true ? "1.0.
|
|
3373
|
+
{ name: "yaw-mcp", version: true ? "1.0.20" : "dev" },
|
|
3374
3374
|
{ capabilities }
|
|
3375
3375
|
);
|
|
3376
3376
|
if (bridge && capabilities.elicitation) {
|
|
@@ -10905,7 +10905,7 @@ function foldBundleWarnings(warnings, probe) {
|
|
|
10905
10905
|
const prefix = `${probe.path}:`;
|
|
10906
10906
|
return warnings.filter((w) => !w.startsWith(prefix));
|
|
10907
10907
|
}
|
|
10908
|
-
var VERSION = true ? "1.0.
|
|
10908
|
+
var VERSION = true ? "1.0.20" : "dev";
|
|
10909
10909
|
var DOCTOR_USAGE = `Usage: yaw-mcp doctor [--json]
|
|
10910
10910
|
|
|
10911
10911
|
Print a diagnostic of your yaw-mcp setup.
|
|
@@ -19891,7 +19891,7 @@ var ConnectServer = class _ConnectServer {
|
|
|
19891
19891
|
static SHUTDOWN_DRAIN_MS = 2e3;
|
|
19892
19892
|
constructor() {
|
|
19893
19893
|
this.server = new Server(
|
|
19894
|
-
{ name: "yaw-mcp", version: true ? "1.0.
|
|
19894
|
+
{ name: "yaw-mcp", version: true ? "1.0.20" : "dev" },
|
|
19895
19895
|
{
|
|
19896
19896
|
capabilities: {
|
|
19897
19897
|
tools: { listChanged: true },
|
|
@@ -23767,7 +23767,7 @@ function registerShutdownTriggers(shutdown, targets) {
|
|
|
23767
23767
|
// src/status-cmd.ts
|
|
23768
23768
|
import { existsSync as existsSync10 } from "fs";
|
|
23769
23769
|
import { homedir as homedir23 } from "os";
|
|
23770
|
-
var VERSION2 = true ? "1.0.
|
|
23770
|
+
var VERSION2 = true ? "1.0.20" : "dev";
|
|
23771
23771
|
var STATUS_SCHEMA_VERSION = 1;
|
|
23772
23772
|
var STATUS_USAGE = `Usage: yaw-mcp status [--json]
|
|
23773
23773
|
|
|
@@ -24594,7 +24594,7 @@ if (subcommand === "compliance") {
|
|
|
24594
24594
|
`);
|
|
24595
24595
|
process.exitCode = 0;
|
|
24596
24596
|
} else if (subcommand === "--version" || subcommand === "-V") {
|
|
24597
|
-
process.stdout.write(`yaw-mcp ${true ? "1.0.
|
|
24597
|
+
process.stdout.write(`yaw-mcp ${true ? "1.0.20" : "dev"}
|
|
24598
24598
|
`);
|
|
24599
24599
|
process.exitCode = 0;
|
|
24600
24600
|
} else if (subcommand !== void 0 && !subcommand.startsWith("-")) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yawlabs/mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"mcpName": "io.github.YawLabs/mcp",
|
|
5
5
|
"description": "MCP gateway and orchestrator: one local install fronts every MCP server for Claude Code, Cursor, and VS Code, loading tools on demand.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|