@yawlabs/mcp 1.1.5 → 1.1.6
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,18 @@ All notable changes to `@yawlabs/mcp` (formerly `@yawlabs/mcph`) are documented
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 1.1.6 -- `install gemini-cli` says Gemini CLI starts no server in an untrusted folder, and the client matrix passes on macOS and Linux
|
|
8
|
+
|
|
9
|
+
**Changed -- `install gemini-cli` says Gemini CLI starts no server in an untrusted folder**
|
|
10
|
+
|
|
11
|
+
Gemini CLI 0.66 starts no MCP server, user-level ones included, in a folder the user has not trusted, and lists each one Disabled. Install succeeded and yaw-mcp simply never appeared there. The install note now says so, and names the fix: answer yes to Gemini's "Do you trust the files in this folder?" prompt. A non-interactive run never shows that prompt, so the note says to open gemini in the folder once and trust it there, and that the answer is kept for later runs.
|
|
12
|
+
|
|
13
|
+
**Fixed -- the client matrix reports a broken or refusing client CLI as what it is, and passes on macOS and Linux**
|
|
14
|
+
|
|
15
|
+
`npm run verify:clients` read each client CLI's output without its exit code, so a Mac whose codex launcher pointed at a native binary npm never unpacked failed the gate with a JSON syntax error. A CLI command that exits non-zero without the output its check reads now runs `<cli> --version`. When that fails too, the CLI on PATH cannot run, so the check is a skip that quotes its `Error:` line, like an absent CLI. Otherwise it is a FAIL with the real exit code. Gemini CLI 0.66 starts no MCP server, user-level ones included, in a folder the user has not trusted, and lists each one "Disabled", which the gate reported as a slow start. Each gemini check now records the trust a person gives, in the check's own `~/.gemini/trustedFolders.json`, never in the settings file install wrote. "Disconnected" stays a warning about gemini's 5 s list budget, and any other status is a FAIL. Verified on Windows (claude 2.1.314, gemini 0.32.1, codex 0.144.0), macOS 27.2 arm64 (gemini 0.30.0) and Ubuntu 24.04 aarch64 (claude 2.1.316, gemini 0.66.0, codex 0.166.0): all pass, with every installed CLI's check green.
|
|
16
|
+
|
|
17
|
+
## 1.1.5 -- `release.sh` verifies every supported client end to end
|
|
18
|
+
|
|
7
19
|
**Added -- `release.sh` installs each build into every supported client and launches what it wrote**
|
|
8
20
|
|
|
9
21
|
`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.
|
|
@@ -3440,7 +3440,22 @@ var TARGET_ROWS = [
|
|
|
3440
3440
|
label: "Gemini CLI",
|
|
3441
3441
|
config: { format: "jsonc", root: "mcpServers" },
|
|
3442
3442
|
availableOn: ["macos", "linux", "windows"],
|
|
3443
|
-
|
|
3443
|
+
// The folder-trust sentence was measured on Gemini CLI 0.66.0 (Linux,
|
|
3444
|
+
// 2026-10-31): in a folder not yet trusted, `gemini mcp list` showed a
|
|
3445
|
+
// working user-level server as "Disabled", with "MCP servers are
|
|
3446
|
+
// configured but disabled because this folder is untrusted. User-level
|
|
3447
|
+
// servers are also suppressed in untrusted folders", and the same entry
|
|
3448
|
+
// connected once the folder was trusted. The prompt it names is that
|
|
3449
|
+
// release's own string. That `mcp list` ran without a TTY and still
|
|
3450
|
+
// treated the folder as untrusted, so a scripted run has no prompt to
|
|
3451
|
+
// answer -- hence the trust-it-once-interactively sentence; the trust
|
|
3452
|
+
// lands in ~/.gemini/trustedFolders.json, which the same probe showed
|
|
3453
|
+
// later runs honour. 0.30 and 0.32 connected the same entry with no
|
|
3454
|
+
// trust recorded, but only from a non-TTY `mcp list`, which those
|
|
3455
|
+
// releases treat as headless and trusted -- their interactive behaviour
|
|
3456
|
+
// was not measured. So the note says "recent" rather than naming a
|
|
3457
|
+
// version range.
|
|
3458
|
+
notes: 'Gemini CLI merges ~/.gemini/settings.json with <project>/.gemini/settings.json, project winning. `mcpServers` is a top-level key, distinct from the sibling `mcp` object that holds discovery knobs. Recent Gemini CLI releases start no MCP server -- user-level ones included -- in a folder you have not trusted: answer yes to its "Do you trust the files in this folder?" prompt, or yaw-mcp shows as Disabled there. Non-interactive runs never ask, so open gemini in the folder once and trust it there; the answer is kept for later runs.',
|
|
3444
3459
|
scopes: [
|
|
3445
3460
|
{
|
|
3446
3461
|
scope: "user",
|
|
@@ -5770,17 +5785,17 @@ async function oamFloorLines(probe) {
|
|
|
5770
5785
|
}
|
|
5771
5786
|
async function defaultRunningPrefix(argvPath) {
|
|
5772
5787
|
if (isTestSandbox()) return null;
|
|
5773
|
-
const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-
|
|
5788
|
+
const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-MPJW56JO.js");
|
|
5774
5789
|
return detectRunningInstallPrefix2(argvPath);
|
|
5775
5790
|
}
|
|
5776
5791
|
async function defaultAcquireLock(prefixDir) {
|
|
5777
5792
|
if (isTestSandbox()) return () => {
|
|
5778
5793
|
};
|
|
5779
|
-
const { acquireUpgradeLock: acquireUpgradeLock2 } = await import("./auto-upgrade-
|
|
5794
|
+
const { acquireUpgradeLock: acquireUpgradeLock2 } = await import("./auto-upgrade-MPJW56JO.js");
|
|
5780
5795
|
return acquireUpgradeLock2(prefixDir);
|
|
5781
5796
|
}
|
|
5782
5797
|
async function upgradeLockPath(prefixDir) {
|
|
5783
|
-
const { UPGRADE_LOCK_NAME: UPGRADE_LOCK_NAME2 } = await import("./auto-upgrade-
|
|
5798
|
+
const { UPGRADE_LOCK_NAME: UPGRADE_LOCK_NAME2 } = await import("./auto-upgrade-MPJW56JO.js");
|
|
5784
5799
|
return join11(prefixDir, UPGRADE_LOCK_NAME2);
|
|
5785
5800
|
}
|
|
5786
5801
|
async function defaultSpawn(cmd, args, cwd) {
|
|
@@ -5843,7 +5858,7 @@ async function runUpgrade(opts = {}) {
|
|
|
5843
5858
|
if (method === "global-npm") {
|
|
5844
5859
|
rawPrefix = await (opts.runningPrefix ?? defaultRunningPrefix)(argvPath);
|
|
5845
5860
|
if (rawPrefix !== null) {
|
|
5846
|
-
const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-
|
|
5861
|
+
const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-MPJW56JO.js");
|
|
5847
5862
|
const spawnForm = quoteShellArgIfNeeded2(rawPrefix, opts.platform);
|
|
5848
5863
|
const displayForm = quoteArgForDisplay2(rawPrefix, opts.platform);
|
|
5849
5864
|
if (spawnForm !== null && displayForm !== null) {
|
|
@@ -5975,7 +5990,7 @@ async function runUpgrade(opts = {}) {
|
|
|
5975
5990
|
return { exitCode: 3, lines };
|
|
5976
5991
|
}
|
|
5977
5992
|
function readCurrentVersion() {
|
|
5978
|
-
return true ? "1.1.
|
|
5993
|
+
return true ? "1.1.6" : "dev";
|
|
5979
5994
|
}
|
|
5980
5995
|
|
|
5981
5996
|
// src/auto-upgrade.ts
|
|
@@ -6267,7 +6282,7 @@ function defaultSpawn2(cmd, args, onDone = () => {
|
|
|
6267
6282
|
}
|
|
6268
6283
|
async function maybeAutoUpgrade(deps = {}) {
|
|
6269
6284
|
if (isFeatureDisabled("YAW_MCP_AUTO_UPGRADE")) return;
|
|
6270
|
-
const current = deps.currentVersion ?? (true ? "1.1.
|
|
6285
|
+
const current = deps.currentVersion ?? (true ? "1.1.6" : "dev");
|
|
6271
6286
|
if (current === "dev") return;
|
|
6272
6287
|
const argvPath = deps.argvPath ?? process.argv[1];
|
|
6273
6288
|
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-
|
|
130
|
+
} from "./chunk-SZWFZ566.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.
|
|
3344
|
+
{ name: "yaw-mcp", version: true ? "1.1.6" : "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.
|
|
10760
|
+
var VERSION = true ? "1.1.6" : "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.
|
|
20403
|
+
{ name: "yaw-mcp", version: true ? "1.1.6" : "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.
|
|
24920
|
+
var VERSION2 = true ? "1.1.6" : "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.
|
|
25764
|
+
process.stdout.write(`yaw-mcp ${true ? "1.1.6" : "dev"}
|
|
25765
25765
|
`);
|
|
25766
25766
|
process.exitCode = 0;
|
|
25767
25767
|
} else if (subcommand !== void 0 && !subcommand.startsWith("-")) {
|
package/package.json
CHANGED