@mushi-mushi/mcp 0.30.1 → 0.30.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/README.md +1 -1
- package/dist/catalog.js +1 -1
- package/dist/{chunk-MQFZGJ72.js → chunk-CS7VPIFS.js} +1 -1
- package/dist/clients.d.ts +1 -1
- package/dist/clients.js +1 -1
- package/dist/index.js +12 -4
- package/dist/server.js +12 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Restart the editor and ask *"what's broken in prod?"*. For Cursor and Claude, `s
|
|
|
31
31
|
"mcpServers": {
|
|
32
32
|
"mushi-mushi": {
|
|
33
33
|
"command": "npx",
|
|
34
|
-
"args": ["-y", "@mushi-mushi/mcp@0.30.
|
|
34
|
+
"args": ["-y", "@mushi-mushi/mcp@0.30.2"],
|
|
35
35
|
"env": {
|
|
36
36
|
"MUSHI_API_KEY": "mushi_xxxxxxxxxxxxxxxxxxxx",
|
|
37
37
|
"MUSHI_PROJECT_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
package/dist/catalog.js
CHANGED
|
@@ -325,7 +325,7 @@ var TOOL_CATALOG = [
|
|
|
325
325
|
{
|
|
326
326
|
name: "request_ci_placement_change",
|
|
327
327
|
title: "Ask to change where CI runs (needs approval)",
|
|
328
|
-
description: `Ask to change where one repository's CI runs by setting or removing one repo Actions variable that its workflows read in runs-on (ADR 0037). Only LINUX_RUNNER
|
|
328
|
+
description: `Ask to change where one repository's CI runs by setting or removing one repo Actions variable that its workflows read in runs-on (ADR 0037). Only LINUX_RUNNER, RUNNER_<WORKFLOW> and CI_PROFILE may be changed; value is one runner label, or null to remove the variable so jobs use the workflow's fallback (usually GitHub-hosted). CI_PROFILE (economy, the default, or thorough) is offered only where a workflow reads vars.CI_PROFILE and moves no job. A move to GitHub-hosted can carry revertAfterHours (1\u2013168): Mushi switches it back when the time is up unless someone changed it. Mushi builds the change itself from a fresh preview: the jobs that move and the ones that stay (pinned to GitHub, main-branch and Dependabot runs), the target runners and their wait, the cost change, and the variable's current value, which the change must still match when it runs. Your organization's CI policy is checked now and again when it runs: no paid GitHub-hosted minutes on private repos when that rule is on, repos managed by an external controller are refused, standby runners are never a target. This only creates a request: a team owner or admin approves it in the console and runs it there within an hour; this tool can never approve or run it, and Mushi never changes runner labels or registrations. Confirm with the user first. Returns { id, status: "pending_approval", payloadSha256, preview }, or an error with the reason (VARIABLE_NOT_ALLOWED, POLICY_NO_PAID_HOSTED, EXTERNAL_CONTROLLER, POLICY_STANDBY_TARGET, VARIABLE_UNREADABLE, NO_CHANGE) and the preview. Write.`,
|
|
329
329
|
scope: "mcp:write",
|
|
330
330
|
hints: { readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
|
331
331
|
returnsUntrusted: true,
|
package/dist/clients.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ import { FeatureGroup } from './feature-groups.js';
|
|
|
49
49
|
* editor launch. Synced to package.json by `scripts/sync-mcp-pin.mjs` — never
|
|
50
50
|
* hand-edit the version.
|
|
51
51
|
*/
|
|
52
|
-
declare const MCP_PIN_SPEC = "@mushi-mushi/mcp@0.30.
|
|
52
|
+
declare const MCP_PIN_SPEC = "@mushi-mushi/mcp@0.30.2";
|
|
53
53
|
interface StdioConfig {
|
|
54
54
|
command: string;
|
|
55
55
|
args: string[];
|
package/dist/clients.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-YOLJIBQR.js";
|
|
9
9
|
|
|
10
10
|
// src/clients.ts
|
|
11
|
-
var MCP_PIN_SPEC = "@mushi-mushi/mcp@0.30.
|
|
11
|
+
var MCP_PIN_SPEC = "@mushi-mushi/mcp@0.30.2";
|
|
12
12
|
var PIN_SPEC_RE = /^@mushi-mushi\/mcp@\d+\.\d+\.\d+$/;
|
|
13
13
|
function pinOf(pinSpec) {
|
|
14
14
|
return pinSpec && PIN_SPEC_RE.test(pinSpec) ? pinSpec : MCP_PIN_SPEC;
|
package/dist/index.js
CHANGED
|
@@ -401,7 +401,7 @@ var TOOL_CATALOG = [
|
|
|
401
401
|
{
|
|
402
402
|
name: "request_ci_placement_change",
|
|
403
403
|
title: "Ask to change where CI runs (needs approval)",
|
|
404
|
-
description: `Ask to change where one repository's CI runs by setting or removing one repo Actions variable that its workflows read in runs-on (ADR 0037). Only LINUX_RUNNER
|
|
404
|
+
description: `Ask to change where one repository's CI runs by setting or removing one repo Actions variable that its workflows read in runs-on (ADR 0037). Only LINUX_RUNNER, RUNNER_<WORKFLOW> and CI_PROFILE may be changed; value is one runner label, or null to remove the variable so jobs use the workflow's fallback (usually GitHub-hosted). CI_PROFILE (economy, the default, or thorough) is offered only where a workflow reads vars.CI_PROFILE and moves no job. A move to GitHub-hosted can carry revertAfterHours (1\u2013168): Mushi switches it back when the time is up unless someone changed it. Mushi builds the change itself from a fresh preview: the jobs that move and the ones that stay (pinned to GitHub, main-branch and Dependabot runs), the target runners and their wait, the cost change, and the variable's current value, which the change must still match when it runs. Your organization's CI policy is checked now and again when it runs: no paid GitHub-hosted minutes on private repos when that rule is on, repos managed by an external controller are refused, standby runners are never a target. This only creates a request: a team owner or admin approves it in the console and runs it there within an hour; this tool can never approve or run it, and Mushi never changes runner labels or registrations. Confirm with the user first. Returns { id, status: "pending_approval", payloadSha256, preview }, or an error with the reason (VARIABLE_NOT_ALLOWED, POLICY_NO_PAID_HOSTED, EXTERNAL_CONTROLLER, POLICY_STANDBY_TARGET, VARIABLE_UNREADABLE, NO_CHANGE) and the preview. Write.`,
|
|
405
405
|
scope: "mcp:write",
|
|
406
406
|
hints: { readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
|
407
407
|
returnsUntrusted: true,
|
|
@@ -5233,14 +5233,22 @@ function createMushiServer(config) {
|
|
|
5233
5233
|
inputSchema: z.object({
|
|
5234
5234
|
projectId: z.string().optional().describe("Project UUID \u2014 defaults to the server-configured project"),
|
|
5235
5235
|
repo: z.string().regex(/^[A-Za-z0-9._-]+\/[A-Za-z0-9._-]+$/).describe("owner/repo, connected to the project"),
|
|
5236
|
-
variable: z.string().regex(/^(?:LINUX_RUNNER|RUNNER_[A-Z0-9_]{1,60})$/).describe("LINUX_RUNNER
|
|
5237
|
-
value: z.string().min(1).max(100).nullable().describe("One runner label, or null to remove the variable"),
|
|
5236
|
+
variable: z.string().regex(/^(?:LINUX_RUNNER|RUNNER_[A-Z0-9_]{1,60}|CI_PROFILE)$/).describe("LINUX_RUNNER, RUNNER_<WORKFLOW>, or CI_PROFILE (only where a workflow reads it)"),
|
|
5237
|
+
value: z.string().min(1).max(100).nullable().describe("One runner label (CI_PROFILE: economy or thorough), or null to remove the variable"),
|
|
5238
|
+
revertAfterHours: z.number().int().min(1).max(168).optional().describe("A move to GitHub-hosted runners switches back after this many hours"),
|
|
5238
5239
|
reason: z.string().max(500).optional().describe("Why, shown to the approver")
|
|
5239
5240
|
})
|
|
5240
5241
|
},
|
|
5241
5242
|
async (args) => {
|
|
5242
5243
|
const pid = await resolveProjectId(args.projectId);
|
|
5243
|
-
const body = {
|
|
5244
|
+
const body = {
|
|
5245
|
+
projectId: pid,
|
|
5246
|
+
repo: args.repo,
|
|
5247
|
+
variable: args.variable,
|
|
5248
|
+
value: args.value,
|
|
5249
|
+
...args.revertAfterHours ? { revertAfterHours: args.revertAfterHours } : {},
|
|
5250
|
+
...args.reason ? { reason: args.reason } : {}
|
|
5251
|
+
};
|
|
5244
5252
|
return jsonText(await apiCall("/v1/admin/ci/placement/requests", { method: "POST", body: JSON.stringify(body) }));
|
|
5245
5253
|
}
|
|
5246
5254
|
);
|
package/dist/server.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
TDD_TOOL_CATALOG,
|
|
5
5
|
TOOL_CATALOG,
|
|
6
6
|
routeUseMushiIntent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CS7VPIFS.js";
|
|
8
8
|
import {
|
|
9
9
|
MUSHI_SERVER_METADATA
|
|
10
10
|
} from "./chunk-FJRPC4VR.js";
|
|
@@ -3759,14 +3759,22 @@ function createMushiServer(config) {
|
|
|
3759
3759
|
inputSchema: z.object({
|
|
3760
3760
|
projectId: z.string().optional().describe("Project UUID \u2014 defaults to the server-configured project"),
|
|
3761
3761
|
repo: z.string().regex(/^[A-Za-z0-9._-]+\/[A-Za-z0-9._-]+$/).describe("owner/repo, connected to the project"),
|
|
3762
|
-
variable: z.string().regex(/^(?:LINUX_RUNNER|RUNNER_[A-Z0-9_]{1,60})$/).describe("LINUX_RUNNER
|
|
3763
|
-
value: z.string().min(1).max(100).nullable().describe("One runner label, or null to remove the variable"),
|
|
3762
|
+
variable: z.string().regex(/^(?:LINUX_RUNNER|RUNNER_[A-Z0-9_]{1,60}|CI_PROFILE)$/).describe("LINUX_RUNNER, RUNNER_<WORKFLOW>, or CI_PROFILE (only where a workflow reads it)"),
|
|
3763
|
+
value: z.string().min(1).max(100).nullable().describe("One runner label (CI_PROFILE: economy or thorough), or null to remove the variable"),
|
|
3764
|
+
revertAfterHours: z.number().int().min(1).max(168).optional().describe("A move to GitHub-hosted runners switches back after this many hours"),
|
|
3764
3765
|
reason: z.string().max(500).optional().describe("Why, shown to the approver")
|
|
3765
3766
|
})
|
|
3766
3767
|
},
|
|
3767
3768
|
async (args) => {
|
|
3768
3769
|
const pid = await resolveProjectId(args.projectId);
|
|
3769
|
-
const body = {
|
|
3770
|
+
const body = {
|
|
3771
|
+
projectId: pid,
|
|
3772
|
+
repo: args.repo,
|
|
3773
|
+
variable: args.variable,
|
|
3774
|
+
value: args.value,
|
|
3775
|
+
...args.revertAfterHours ? { revertAfterHours: args.revertAfterHours } : {},
|
|
3776
|
+
...args.reason ? { reason: args.reason } : {}
|
|
3777
|
+
};
|
|
3770
3778
|
return jsonText(await apiCall("/v1/admin/ci/placement/requests", { method: "POST", body: JSON.stringify(body) }));
|
|
3771
3779
|
}
|
|
3772
3780
|
);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mushi-mushi/mcp",
|
|
3
3
|
"mcpName": "io.github.kensaurus/mushi-mushi",
|
|
4
|
-
"version": "0.30.
|
|
4
|
+
"version": "0.30.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "MCP server for Cursor, Claude Code and Copilot. The bug mediator for AI-built apps: plain-English diagnosis + a ready fix, in your editor.",
|
|
7
7
|
"type": "module",
|