@yawlabs/mcp 1.1.2 → 1.1.5

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
@@ -4,6 +4,20 @@ All notable changes to `@yawlabs/mcp` (formerly `@yawlabs/mcph`) are documented
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ **Added -- `release.sh` installs each build into every supported client and launches what it wrote**
8
+
9
+ `npm run verify:clients` (`scripts/verify-clients.mjs`) runs in step 2, after the build and before the bump, tag and push. Inside a throwaway home it installs the built `dist/` into all 12 client ids at every scope each accepts (20 on Windows). It re-parses every file install reports writing, and launches each distinct entry exactly as its client spawns it: `cmd /c npx` raw, a bare `npx` through the `.cmd` shim. Each launch must complete initialize, tools/list and a tools/call. Where the client's own CLI is on PATH, that CLI reads the sandbox one scope at a time: `claude mcp get` must report the scope under test as Connected, `gemini mcp list` must list the entry, and `codex mcp get --json` must parse it. The run ends with uninstall, and every entry must be gone. The entries stay `npx -y @yawlabs/mcp@latest`, byte for byte what users get. A 127.0.0.1 registry, which the sandbox `~/.npmrc` routes the `@yawlabs` scope to, serves `npm pack` of the checkout as a per-run prerelease that npmjs.org does not have, so a launch that ran anything else cannot pass. It takes 25-100 s. `SKIP_CLIENT_MATRIX=1` is the last-resort skip.
10
+
11
+ ## 1.1.4 -- the oam floor moves to 0.19.1
12
+
13
+ There is no 1.1.3: that version was never published.
14
+
15
+ **Changed -- the oam floor moves to 0.19.1**
16
+
17
+ `npm run verify:oam-floor` hosted a stdio `@modelcontextprotocol/server` server on oam v0.19.1 through `oam run` on 2026-10-21 -- both protocol eras, 2025-11-25 (initialize) and 2026-07-28 (server/discover), each through tools/list and tools/call -- and raised `MIN_OAM_VERSION` to it; the floor was 0.18.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.
18
+
19
+ ## 1.1.2 -- meta-tool hints name calls the model can make, find_tool, health and discover agree with the project profile, and an upstream's instructions and results are handled more strictly
20
+
7
21
  **Changed -- the npm and MCP registry descriptions are one sentence, and the retired "managed from yaw.sh/mcp" is gone**
8
22
 
9
23
  `package.json` and `server.json` now carry the same description: "MCP gateway: one local install fronts every MCP server for Claude Code, Cursor, and VS Code." The registry's copy no longer says the install is managed from yaw.sh/mcp, which stopped being true when the config went local-only.
@@ -11,7 +11,7 @@ import {
11
11
  recordAttemptAt,
12
12
  runsUnderNpmConfigPrefix,
13
13
  writeCheckMemo
14
- } from "./chunk-7LWN6O7Y.js";
14
+ } from "./chunk-63TFL5UK.js";
15
15
  export {
16
16
  UPGRADE_LOCK_NAME,
17
17
  acquireUpgradeLock,
@@ -4645,7 +4645,7 @@ function npxSpec(args) {
4645
4645
  const spec = args[idx];
4646
4646
  return spec.startsWith("-") ? null : spec;
4647
4647
  }
4648
- var MIN_OAM_VERSION = "0.18.0";
4648
+ var MIN_OAM_VERSION = "0.19.1";
4649
4649
  var OAM_INSTALL_SH = "curl -fsSL https://oamjs.org/install.sh | sh";
4650
4650
  var OAM_INSTALL_PS1 = "irm https://oamjs.org/install.ps1 | iex";
4651
4651
  function oamInstallCommand(os) {
@@ -5770,17 +5770,17 @@ async function oamFloorLines(probe) {
5770
5770
  }
5771
5771
  async function defaultRunningPrefix(argvPath) {
5772
5772
  if (isTestSandbox()) return null;
5773
- const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-XHSUUYUG.js");
5773
+ const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-H2NR6MO4.js");
5774
5774
  return detectRunningInstallPrefix2(argvPath);
5775
5775
  }
5776
5776
  async function defaultAcquireLock(prefixDir) {
5777
5777
  if (isTestSandbox()) return () => {
5778
5778
  };
5779
- const { acquireUpgradeLock: acquireUpgradeLock2 } = await import("./auto-upgrade-XHSUUYUG.js");
5779
+ const { acquireUpgradeLock: acquireUpgradeLock2 } = await import("./auto-upgrade-H2NR6MO4.js");
5780
5780
  return acquireUpgradeLock2(prefixDir);
5781
5781
  }
5782
5782
  async function upgradeLockPath(prefixDir) {
5783
- const { UPGRADE_LOCK_NAME: UPGRADE_LOCK_NAME2 } = await import("./auto-upgrade-XHSUUYUG.js");
5783
+ const { UPGRADE_LOCK_NAME: UPGRADE_LOCK_NAME2 } = await import("./auto-upgrade-H2NR6MO4.js");
5784
5784
  return join11(prefixDir, UPGRADE_LOCK_NAME2);
5785
5785
  }
5786
5786
  async function defaultSpawn(cmd, args, cwd) {
@@ -5843,7 +5843,7 @@ async function runUpgrade(opts = {}) {
5843
5843
  if (method === "global-npm") {
5844
5844
  rawPrefix = await (opts.runningPrefix ?? defaultRunningPrefix)(argvPath);
5845
5845
  if (rawPrefix !== null) {
5846
- const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-XHSUUYUG.js");
5846
+ const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-H2NR6MO4.js");
5847
5847
  const spawnForm = quoteShellArgIfNeeded2(rawPrefix, opts.platform);
5848
5848
  const displayForm = quoteArgForDisplay2(rawPrefix, opts.platform);
5849
5849
  if (spawnForm !== null && displayForm !== null) {
@@ -5975,7 +5975,7 @@ async function runUpgrade(opts = {}) {
5975
5975
  return { exitCode: 3, lines };
5976
5976
  }
5977
5977
  function readCurrentVersion() {
5978
- return true ? "1.1.2" : "dev";
5978
+ return true ? "1.1.5" : "dev";
5979
5979
  }
5980
5980
 
5981
5981
  // src/auto-upgrade.ts
@@ -6267,7 +6267,7 @@ function defaultSpawn2(cmd, args, onDone = () => {
6267
6267
  }
6268
6268
  async function maybeAutoUpgrade(deps = {}) {
6269
6269
  if (isFeatureDisabled("YAW_MCP_AUTO_UPGRADE")) return;
6270
- const current = deps.currentVersion ?? (true ? "1.1.2" : "dev");
6270
+ const current = deps.currentVersion ?? (true ? "1.1.5" : "dev");
6271
6271
  if (current === "dev") return;
6272
6272
  const argvPath = deps.argvPath ?? process.argv[1];
6273
6273
  let method = (deps.isSeaImpl ? await deps.isSeaImpl() : await detectSea()) ? "binary" : detectInstallMethod(argvPath, realpathSync3, ["unknown", "local-node-modules"]);
package/dist/index.js CHANGED
@@ -127,7 +127,7 @@ import {
127
127
  userConfigDir,
128
128
  withFileLock,
129
129
  yawModeOverlay
130
- } from "./chunk-7LWN6O7Y.js";
130
+ } from "./chunk-63TFL5UK.js";
131
131
 
132
132
  // src/audit-cmd.ts
133
133
  import { homedir as homedir6 } from "os";
@@ -3341,7 +3341,7 @@ async function connectToUpstreamOnce(config, onDisconnect, onListChanged, bridge
3341
3341
  if (downstreamCaps?.sampling) capabilities.sampling = downstreamCaps.sampling;
3342
3342
  if (downstreamCaps?.roots) capabilities.roots = {};
3343
3343
  const client = new Client(
3344
- { name: "yaw-mcp", version: true ? "1.1.2" : "dev" },
3344
+ { name: "yaw-mcp", version: true ? "1.1.5" : "dev" },
3345
3345
  { capabilities }
3346
3346
  );
3347
3347
  if (bridge && capabilities.elicitation) {
@@ -10757,7 +10757,7 @@ function foldBundleWarnings(warnings, probe) {
10757
10757
  const prefix = `${probe.path}:`;
10758
10758
  return warnings.filter((w) => !w.startsWith(prefix));
10759
10759
  }
10760
- var VERSION = true ? "1.1.2" : "dev";
10760
+ var VERSION = true ? "1.1.5" : "dev";
10761
10761
  var DOCTOR_USAGE = `Usage: yaw-mcp doctor [--json]
10762
10762
 
10763
10763
  Print a diagnostic of your yaw-mcp setup.
@@ -20400,7 +20400,7 @@ var ConnectServer = class _ConnectServer {
20400
20400
  * initialize handshake completes; see beginSession for why it waits. */
20401
20401
  buildServer(era, supportedProtocolVersions) {
20402
20402
  const s = new Server(
20403
- { name: "yaw-mcp", version: true ? "1.1.2" : "dev" },
20403
+ { name: "yaw-mcp", version: true ? "1.1.5" : "dev" },
20404
20404
  {
20405
20405
  capabilities: {
20406
20406
  tools: { listChanged: true },
@@ -24917,7 +24917,7 @@ function registerShutdownTriggers(shutdown, targets) {
24917
24917
  // src/status-cmd.ts
24918
24918
  import { existsSync as existsSync10 } from "fs";
24919
24919
  import { homedir as homedir23 } from "os";
24920
- var VERSION2 = true ? "1.1.2" : "dev";
24920
+ var VERSION2 = true ? "1.1.5" : "dev";
24921
24921
  var STATUS_SCHEMA_VERSION = 1;
24922
24922
  var STATUS_USAGE = `Usage: yaw-mcp status [--json]
24923
24923
 
@@ -25761,7 +25761,7 @@ if (subcommand === "compliance") {
25761
25761
  `);
25762
25762
  process.exitCode = 0;
25763
25763
  } else if (subcommand === "--version" || subcommand === "-V") {
25764
- process.stdout.write(`yaw-mcp ${true ? "1.1.2" : "dev"}
25764
+ process.stdout.write(`yaw-mcp ${true ? "1.1.5" : "dev"}
25765
25765
  `);
25766
25766
  process.exitCode = 0;
25767
25767
  } 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.1.2",
3
+ "version": "1.1.5",
4
4
  "mcpName": "io.github.YawLabs/mcp",
5
5
  "description": "MCP gateway: one local install fronts every MCP server for Claude Code, Cursor, and VS Code.",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -23,6 +23,7 @@
23
23
  "lint:fix": "node scripts/lint.mjs check --write src/ scripts/ tsup.config.ts vitest.config.ts tsconfig.json",
24
24
  "typecheck": "tsc --noEmit",
25
25
  "verify:oam-floor": "node scripts/verify-oam-floor.mjs",
26
+ "verify:clients": "node scripts/verify-clients.mjs",
26
27
  "test:dist": "npm run build && npm test",
27
28
  "preinstall": "node -e \"const major=Number(process.versions.node.split('.')[0]);if(major<20){console.error('@yawlabs/mcp requires Node 20 or newer; this is Node '+process.versions.node+'. Upgrade Node, then re-run the install.');process.exit(1);}\"",
28
29
  "prepublishOnly": "npm run build",