@yawlabs/mcp 1.0.5 → 1.0.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
|
@@ -26,6 +26,10 @@ A `config.toml` that really does not parse is reported in TOML words by `doctor`
|
|
|
26
26
|
|
|
27
27
|
`add`'s "no client is wired" nudge stops for a user whose only wired client is Codex CLI. `try` without `--client` still does not pick a `config.toml`: a trial marker cannot yet clean one up, so auto-detect keeps to JSON-family files. `doctor --json`'s `clients[]` slots gain three additive fields: `syntax` (`"JSON"` or `"TOML"`), `entryUnspliceable` (`{ reason, fix }` for an `mcp` entry install will not edit, or `null`) and `containerUnspliceable` (the same shape for a container that cannot take the entry, or `null`). Every JSON-family slot carries `"JSON"` and two `null`s, so a reader that ignores unknown keys sees no other change; the text CLIENTS lines and the `install --list` rows for JSON and JSONC clients are byte-identical to 1.0.4's.
|
|
28
28
|
|
|
29
|
+
**Changed -- the oam floor moves to 0.16.1**
|
|
30
|
+
|
|
31
|
+
`MIN_OAM_VERSION` tracks the latest oam release as policy, and v0.16.1 is now current (published 2026-09-15); the floor was 0.15.2. 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. `release.sh` moved the floor and wrote this block; it did not re-run the oam hosting check that `src/oam-spawn.ts` describes.
|
|
32
|
+
|
|
29
33
|
## 1.0.2 -- `install --force` stops keeping the env it promised to overwrite, editing a client config stops rewriting the entry next to ours, and the install surfaces stop stating things that are not so
|
|
30
34
|
|
|
31
35
|
An audit of the install surface. Nothing in the install blocks changes how yaw-mcp brokers servers at runtime -- they are `yaw-mcp install` and the commands that share its config-writing code -- and the blocks after the `doctor` block are unrelated changes, each saying what it touches. The `--force` block is first, deliberately: it is the first of this section's script-visible changes, and the one whose difference is a credential that used to survive and no longer does. It is not the only one -- `install --all` now exits 2 where it exited 1 on a refusal-only run, `--force --repair` together now exits 2 instead of writing, and `install --list`'s STATUS column can now read `installed (other drive case)` for a Claude Code project whose entry an older version left under the other drive-letter spelling -- and each such change is called out in the block it belongs to.
|
|
@@ -3487,7 +3487,7 @@ function npxSpec(args) {
|
|
|
3487
3487
|
const spec = args[idx];
|
|
3488
3488
|
return spec.startsWith("-") ? null : spec;
|
|
3489
3489
|
}
|
|
3490
|
-
var MIN_OAM_VERSION = "0.
|
|
3490
|
+
var MIN_OAM_VERSION = "0.16.1";
|
|
3491
3491
|
var OAM_INSTALL_SH = "curl -fsSL https://oamjs.org/install.sh | sh";
|
|
3492
3492
|
var OAM_INSTALL_PS1 = "irm https://oamjs.org/install.ps1 | iex";
|
|
3493
3493
|
function oamInstallCommand(os) {
|
|
@@ -4415,7 +4415,7 @@ async function oamFloorLines(probe) {
|
|
|
4415
4415
|
}
|
|
4416
4416
|
async function defaultRunningPrefix(argvPath) {
|
|
4417
4417
|
if (process.env.VITEST) return null;
|
|
4418
|
-
const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-
|
|
4418
|
+
const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-RHEVUE4T.js");
|
|
4419
4419
|
return detectRunningInstallPrefix2(argvPath);
|
|
4420
4420
|
}
|
|
4421
4421
|
async function defaultSpawn(cmd, args, cwd) {
|
|
@@ -4476,7 +4476,7 @@ async function runUpgrade(opts = {}) {
|
|
|
4476
4476
|
if (method === "global-npm") {
|
|
4477
4477
|
const rawPrefix = await (opts.runningPrefix ?? defaultRunningPrefix)(argvPath);
|
|
4478
4478
|
if (rawPrefix !== null) {
|
|
4479
|
-
const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-
|
|
4479
|
+
const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-RHEVUE4T.js");
|
|
4480
4480
|
const spawnForm = quoteShellArgIfNeeded2(rawPrefix, opts.platform);
|
|
4481
4481
|
const displayForm = quoteArgForDisplay2(rawPrefix, opts.platform);
|
|
4482
4482
|
if (spawnForm !== null && displayForm !== null) {
|
|
@@ -4593,7 +4593,7 @@ async function runUpgrade(opts = {}) {
|
|
|
4593
4593
|
return { exitCode: 3, lines };
|
|
4594
4594
|
}
|
|
4595
4595
|
function readCurrentVersion() {
|
|
4596
|
-
return true ? "1.0.
|
|
4596
|
+
return true ? "1.0.6" : "dev";
|
|
4597
4597
|
}
|
|
4598
4598
|
|
|
4599
4599
|
// src/auto-upgrade.ts
|
|
@@ -4875,7 +4875,7 @@ function defaultSpawn2(cmd, args, onDone = () => {
|
|
|
4875
4875
|
async function maybeAutoUpgrade(deps = {}) {
|
|
4876
4876
|
const optOut = process.env.YAW_MCP_AUTO_UPGRADE;
|
|
4877
4877
|
if (optOut === "0" || optOut?.toLowerCase() === "false") return;
|
|
4878
|
-
const current = deps.currentVersion ?? (true ? "1.0.
|
|
4878
|
+
const current = deps.currentVersion ?? (true ? "1.0.6" : "dev");
|
|
4879
4879
|
if (current === "dev") return;
|
|
4880
4880
|
const argvPath = deps.argvPath ?? process.argv[1];
|
|
4881
4881
|
const method = (deps.isSeaImpl ? await deps.isSeaImpl() : await detectSea()) ? "binary" : detectInstallMethod(argvPath, realpathSync2, ["unknown", "local-node-modules"]);
|
package/dist/index.js
CHANGED
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
unparseableConfigFix,
|
|
94
94
|
userConfigDir,
|
|
95
95
|
yawModeOverlay
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-FP6ABRPZ.js";
|
|
97
97
|
|
|
98
98
|
// src/audit-cmd.ts
|
|
99
99
|
import { homedir as homedir6 } from "os";
|
|
@@ -3196,7 +3196,7 @@ async function connectToUpstreamOnce(config, onDisconnect, onListChanged, bridge
|
|
|
3196
3196
|
if (downstreamCaps?.sampling) capabilities.sampling = downstreamCaps.sampling;
|
|
3197
3197
|
if (downstreamCaps?.roots) capabilities.roots = {};
|
|
3198
3198
|
const client = new Client(
|
|
3199
|
-
{ name: "yaw-mcp", version: true ? "1.0.
|
|
3199
|
+
{ name: "yaw-mcp", version: true ? "1.0.6" : "dev" },
|
|
3200
3200
|
{ capabilities }
|
|
3201
3201
|
);
|
|
3202
3202
|
if (bridge && capabilities.elicitation) {
|
|
@@ -11031,7 +11031,7 @@ function foldBundleWarnings(warnings, probe) {
|
|
|
11031
11031
|
const prefix = `${probe.path}:`;
|
|
11032
11032
|
return warnings.filter((w) => !w.startsWith(prefix));
|
|
11033
11033
|
}
|
|
11034
|
-
var VERSION = true ? "1.0.
|
|
11034
|
+
var VERSION = true ? "1.0.6" : "dev";
|
|
11035
11035
|
var DOCTOR_USAGE = `Usage: yaw-mcp doctor [--json]
|
|
11036
11036
|
|
|
11037
11037
|
Print a diagnostic of your yaw-mcp setup.
|
|
@@ -17728,7 +17728,7 @@ var ConnectServer = class _ConnectServer {
|
|
|
17728
17728
|
static SHUTDOWN_DRAIN_MS = 2e3;
|
|
17729
17729
|
constructor() {
|
|
17730
17730
|
this.server = new Server(
|
|
17731
|
-
{ name: "yaw-mcp", version: true ? "1.0.
|
|
17731
|
+
{ name: "yaw-mcp", version: true ? "1.0.6" : "dev" },
|
|
17732
17732
|
{
|
|
17733
17733
|
capabilities: {
|
|
17734
17734
|
tools: { listChanged: true },
|
|
@@ -21131,7 +21131,7 @@ function registerShutdownTriggers(shutdown, targets) {
|
|
|
21131
21131
|
// src/status-cmd.ts
|
|
21132
21132
|
import { existsSync as existsSync10 } from "fs";
|
|
21133
21133
|
import { homedir as homedir23 } from "os";
|
|
21134
|
-
var VERSION2 = true ? "1.0.
|
|
21134
|
+
var VERSION2 = true ? "1.0.6" : "dev";
|
|
21135
21135
|
var STATUS_SCHEMA_VERSION = 1;
|
|
21136
21136
|
var STATUS_USAGE = `Usage: yaw-mcp status [--json]
|
|
21137
21137
|
|
|
@@ -21883,7 +21883,7 @@ if (subcommand === "compliance") {
|
|
|
21883
21883
|
`);
|
|
21884
21884
|
process.exitCode = 0;
|
|
21885
21885
|
} else if (subcommand === "--version" || subcommand === "-V") {
|
|
21886
|
-
process.stdout.write(`yaw-mcp ${true ? "1.0.
|
|
21886
|
+
process.stdout.write(`yaw-mcp ${true ? "1.0.6" : "dev"}
|
|
21887
21887
|
`);
|
|
21888
21888
|
process.exitCode = 0;
|
|
21889
21889
|
} 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.6",
|
|
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",
|