@yawlabs/mcp 0.68.0 → 0.70.2
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 +8 -0
- package/dist/chunk-L5AGSAQ5.js +0 -0
- package/dist/index.js +9 -9
- package/dist/team-sync-7QRMSGUD.js +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@yawlabs/mcp` (formerly `@yawlabs/mcph`) are documented here. This project uses [semantic versioning](https://semver.org) and a script-gated release flow: `./release.sh <version>` runs lint + tests + build, bumps, tags, publishes to npm, and creates the GitHub release.
|
|
4
4
|
|
|
5
|
+
## 0.70.1 -- `yaw-mcp token` subcommand for trusted local apps
|
|
6
|
+
|
|
7
|
+
Adds a `token` subcommand that prints this machine's Yaw Team session token (the raw `yaw_team` cookie) on stdout, for a TRUSTED LOCAL app to present to a Yaw endpoint that verifies the same HMAC session -- e.g. Vew Meetings' `POST /api/meeting`. Makes NO network call: reads the session persisted by `login` and emits it only when still valid (exp-checked via `team-sync`'s `loadStoredState`), else exits 1 with nothing on stdout.
|
|
8
|
+
|
|
9
|
+
- **`team-sync`:** new `getSessionWithCookie()` reads + exp-validates the stored `{ cookie, session }` and returns it (or `null`); no network call.
|
|
10
|
+
- **Registered everywhere a subcommand must be:** `index.ts` dispatch + help, `KNOWN_SUBCOMMANDS`, and `SUBCOMMAND_SPEC` (the completion-coverage test enforces no drift). `--json` emits `{ ok, token, email, exp }`; plain prints the raw token (treat stdout as sensitive -- it's a bearer credential).
|
|
11
|
+
- **Completion spec dedup.** `SUBCOMMAND_SPEC` had a stale duplicate `token` entry from a prior WIP; removed so the spec stays one-entry-per-subcommand. Caught by `biome check` formatting the now-double entry, not by the coverage test -- the spec coverage test should arguably also assert uniqueness, file a follow-up.
|
|
12
|
+
|
|
5
13
|
## 0.63.2 -- release pipeline: publish npm from CI
|
|
6
14
|
|
|
7
15
|
No changes to the package runtime or CLI -- this release exists to exercise the
|
package/dist/chunk-L5AGSAQ5.js
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -640,8 +640,8 @@ var CURATED_BUNDLES = [
|
|
|
640
640
|
{
|
|
641
641
|
id: "data-ops",
|
|
642
642
|
name: "Data Ops",
|
|
643
|
-
description: "Postgres +
|
|
644
|
-
namespaces: ["postgres", "
|
|
643
|
+
description: "Postgres + AWS + Snowflake for pipeline debugging",
|
|
644
|
+
namespaces: ["postgres", "aws", "snowflake"],
|
|
645
645
|
category: "data"
|
|
646
646
|
},
|
|
647
647
|
{
|
|
@@ -2845,7 +2845,7 @@ ${USAGE}`);
|
|
|
2845
2845
|
}
|
|
2846
2846
|
if (!token5) {
|
|
2847
2847
|
log2(
|
|
2848
|
-
"yaw-mcp install: no token resolved -- configuring for local mode
|
|
2848
|
+
"yaw-mcp install: no token resolved -- configuring for local mode.\n Add servers by editing ~/.yaw-mcp/bundles.json, or re-run with --token mcp_pat_... to use a Yaw MCP account."
|
|
2849
2849
|
);
|
|
2850
2850
|
}
|
|
2851
2851
|
const newEntry = buildLaunchEntry({ os });
|
|
@@ -4241,7 +4241,7 @@ async function runUpgrade(opts = {}) {
|
|
|
4241
4241
|
return { exitCode: 3, lines };
|
|
4242
4242
|
}
|
|
4243
4243
|
function readCurrentVersion() {
|
|
4244
|
-
return true ? "0.
|
|
4244
|
+
return true ? "0.70.2" : "dev";
|
|
4245
4245
|
}
|
|
4246
4246
|
|
|
4247
4247
|
// src/usage-hints.ts
|
|
@@ -4303,7 +4303,7 @@ function selectFlakyNamespaces(entries, limit) {
|
|
|
4303
4303
|
}
|
|
4304
4304
|
|
|
4305
4305
|
// src/doctor-cmd.ts
|
|
4306
|
-
var VERSION = true ? "0.
|
|
4306
|
+
var VERSION = true ? "0.70.2" : "dev";
|
|
4307
4307
|
function isPersistenceDisabled(env) {
|
|
4308
4308
|
const raw = env.YAW_MCP_DISABLE_PERSISTENCE;
|
|
4309
4309
|
return raw !== void 0 && raw !== "" && (raw === "1" || raw.toLowerCase() === "true");
|
|
@@ -7166,7 +7166,7 @@ function defaultSpawn2(cmd, args) {
|
|
|
7166
7166
|
async function maybeAutoUpgrade(deps = {}) {
|
|
7167
7167
|
const optOut = process.env.YAW_MCP_AUTO_UPGRADE;
|
|
7168
7168
|
if (optOut === "0" || optOut?.toLowerCase() === "false") return;
|
|
7169
|
-
const current = deps.currentVersion ?? (true ? "0.
|
|
7169
|
+
const current = deps.currentVersion ?? (true ? "0.70.2" : "dev");
|
|
7170
7170
|
if (current === "dev") return;
|
|
7171
7171
|
const method = (deps.isSeaImpl ? await deps.isSeaImpl() : await detectSea()) ? "binary" : detectInstallMethod(deps.argvPath ?? process.argv[1]);
|
|
7172
7172
|
const latest = await (deps.fetchLatestImpl ?? fetchLatestVersion2)();
|
|
@@ -10075,7 +10075,7 @@ async function connectToUpstream(config, onDisconnect, onListChanged) {
|
|
|
10075
10075
|
}
|
|
10076
10076
|
async function connectToUpstreamOnce(config, onDisconnect, onListChanged, attempt, disableOamRewrite) {
|
|
10077
10077
|
const client = new Client(
|
|
10078
|
-
{ name: "yaw-mcp", version: true ? "0.
|
|
10078
|
+
{ name: "yaw-mcp", version: true ? "0.70.2" : "dev" },
|
|
10079
10079
|
{ capabilities: {} }
|
|
10080
10080
|
);
|
|
10081
10081
|
let transport;
|
|
@@ -10422,7 +10422,7 @@ var ConnectServer = class _ConnectServer {
|
|
|
10422
10422
|
this.apiUrl = apiUrl5;
|
|
10423
10423
|
this.token = token5;
|
|
10424
10424
|
this.server = new Server(
|
|
10425
|
-
{ name: "yaw-mcp", version: true ? "0.
|
|
10425
|
+
{ name: "yaw-mcp", version: true ? "0.70.2" : "dev" },
|
|
10426
10426
|
{
|
|
10427
10427
|
capabilities: {
|
|
10428
10428
|
tools: { listChanged: true },
|
|
@@ -14208,7 +14208,7 @@ if (subcommand === "compliance") {
|
|
|
14208
14208
|
`);
|
|
14209
14209
|
process.exit(0);
|
|
14210
14210
|
} else if (subcommand === "--version" || subcommand === "-V") {
|
|
14211
|
-
process.stdout.write(`yaw-mcp ${true ? "0.
|
|
14211
|
+
process.stdout.write(`yaw-mcp ${true ? "0.70.2" : "dev"}
|
|
14212
14212
|
`);
|
|
14213
14213
|
process.exit(0);
|
|
14214
14214
|
} else if (subcommand && !subcommand.startsWith("-")) {
|
|
File without changes
|
package/package.json
CHANGED