@yawlabs/mcp 1.1.2 → 1.1.4
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
|
@@ -54,6 +54,10 @@ The filter applied to an upstream's `instructions` before the model sees them no
|
|
|
54
54
|
|
|
55
55
|
Comment and doc corrections across the tree -- moved or rewritten JSDoc, stale claims about CI, callers and exports, README's runtime detection and meta-tool table, CONTRIBUTING's checklists, the `--help` text for doctor, compliance (88 tests on 2025-11-25, 103 on 2026-07-28) and `YAW_MCP_SIDECAR_REFRESH`, and the import usage's 0600 claim, now qualified as macOS/Linux -- change no behaviour.
|
|
56
56
|
|
|
57
|
+
**Changed -- the oam floor moves to 0.19.1**
|
|
58
|
+
|
|
59
|
+
`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.
|
|
60
|
+
|
|
57
61
|
## 1.1.1 -- the fix printed for a build-tree oam survives oam 0.19.0's installer, and names `OAM_BIN` when `OAM_BIN` chose the binary
|
|
58
62
|
|
|
59
63
|
**Fixed -- the build-tree oam fix advice survives oam 0.19.0's installer refusal, and names `OAM_BIN` when `OAM_BIN` chose the binary**
|
|
@@ -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.
|
|
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-
|
|
5773
|
+
const { detectRunningInstallPrefix: detectRunningInstallPrefix2 } = await import("./auto-upgrade-G4IYAEJ2.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-
|
|
5779
|
+
const { acquireUpgradeLock: acquireUpgradeLock2 } = await import("./auto-upgrade-G4IYAEJ2.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-
|
|
5783
|
+
const { UPGRADE_LOCK_NAME: UPGRADE_LOCK_NAME2 } = await import("./auto-upgrade-G4IYAEJ2.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-
|
|
5846
|
+
const { quoteArgForDisplay: quoteArgForDisplay2, quoteShellArgIfNeeded: quoteShellArgIfNeeded2 } = await import("./auto-upgrade-G4IYAEJ2.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.
|
|
5978
|
+
return true ? "1.1.4" : "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.
|
|
6270
|
+
const current = deps.currentVersion ?? (true ? "1.1.4" : "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-
|
|
130
|
+
} from "./chunk-D4KFZAZH.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.4" : "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.4" : "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.4" : "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.4" : "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.4" : "dev"}
|
|
25765
25765
|
`);
|
|
25766
25766
|
process.exitCode = 0;
|
|
25767
25767
|
} else if (subcommand !== void 0 && !subcommand.startsWith("-")) {
|
package/package.json
CHANGED