@mushi-mushi/mcp 0.32.2 → 0.33.1
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 +2 -2
- package/dist/branding.d.ts +8 -5
- package/dist/branding.js +3 -1
- package/dist/catalog.d.ts +2 -1
- package/dist/catalog.js +1 -1
- package/dist/{chunk-MVP3BKZ2.js → chunk-UPSIGKYM.js} +89 -4
- package/dist/{chunk-PHTWQKFE.js → chunk-XRH7NB34.js} +12 -0
- package/dist/{chunk-FJRPC4VR.js → chunk-XSTWBVLT.js} +15 -1
- package/dist/clients.d.ts +3 -2
- package/dist/clients.js +3 -3
- package/dist/feature-groups.d.ts +2 -1
- package/dist/feature-groups.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +520 -11
- package/dist/server.d.ts +2 -1
- package/dist/server.js +386 -3
- package/package.json +6 -6
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.
|
|
34
|
+
"args": ["-y", "@mushi-mushi/mcp@0.33.1"],
|
|
35
35
|
"env": {
|
|
36
36
|
"MUSHI_API_KEY": "mushi_xxxxxxxxxxxxxxxxxxxx",
|
|
37
37
|
"MUSHI_PROJECT_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
@@ -61,7 +61,7 @@ Claude Desktop does not expand `${VAR}` references in this file; Cursor and VS C
|
|
|
61
61
|
| `diagnose_setup` | Explains a broken install and the one next step |
|
|
62
62
|
| `search_mushi_docs` | Answers setup and API questions from the docs |
|
|
63
63
|
|
|
64
|
-
The full catalog has
|
|
64
|
+
The full catalog has 145 tools, plus 8 resources (`project://dashboard`, `project://stats`, …) and 4 prompts (`summarize_report_for_fix`, `triage_next_steps`, …). Every tool carries read-only and destructive hints, so your editor can ask before it changes anything. Full list: [MCP tool reference](https://kensaur.us/mushi-mushi/docs/sdks/mcp-tools).
|
|
65
65
|
|
|
66
66
|
**Tool groups.** New installs get a lean default: `triage`, `fixes`, `inventory`, `setup`, `docs`. Turn on more with `MUSHI_FEATURES=triage,qa,codebase` (stdio) or `?features=…` on the hosted URL, or everything with `all`. Groups: `qa`, `skills`, `codebase`, `rewards`, `admin`, `audit`, `usage`. For a chat tool such as Lovable, or an editor that caps how many tools it loads, `vibe` gives about a dozen tools for the core loop. Add `?read_only=1` to the hosted URL to hide every write tool.
|
|
67
67
|
|
package/dist/branding.d.ts
CHANGED
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
* Cursor often shows the favicon of the HTTP URL host (e.g. supabase.co) when
|
|
6
6
|
* server icons are absent. Always emit `icons` + recommend stdio or our icon URL.
|
|
7
7
|
*/
|
|
8
|
+
/** Default MUSHI_PUBLIC_ORIGIN: the public Mushi site's origin (scheme + host, no path). */
|
|
9
|
+
declare const DEFAULT_PUBLIC_ORIGIN = "https://kensaur.us";
|
|
8
10
|
/** Public marketing site — also hosts favicon.svg for the docs app. */
|
|
9
|
-
declare const MUSHI_WEBSITE_URL
|
|
11
|
+
declare const MUSHI_WEBSITE_URL: string;
|
|
10
12
|
/**
|
|
11
13
|
* 512×512 stamp mark — safe PNG on CDN (Cursor requires png/jpeg reliably).
|
|
12
14
|
* Served from the docs app's `public/integrations/`, which CloudFront exposes
|
|
@@ -14,9 +16,9 @@ declare const MUSHI_WEBSITE_URL = "https://kensaur.us/mushi-mushi";
|
|
|
14
16
|
* `/mushi-mushi/integrations/...` form this used until 2026-09-22 was a 404 —
|
|
15
17
|
* which is what every MCP client asking for our icon received.
|
|
16
18
|
*/
|
|
17
|
-
declare const MUSHI_ICON_PNG_URL
|
|
19
|
+
declare const MUSHI_ICON_PNG_URL: string;
|
|
18
20
|
/** SVG favicon from the docs app (scalable; some clients sanitize SVG). */
|
|
19
|
-
declare const MUSHI_ICON_SVG_URL
|
|
21
|
+
declare const MUSHI_ICON_SVG_URL: string;
|
|
20
22
|
/** Hosted MCP icon route — same origin as the MCP endpoint when proxied. */
|
|
21
23
|
declare function mcpIconUrl(mcpBaseUrl: string): string;
|
|
22
24
|
interface McpIconDescriptor {
|
|
@@ -30,8 +32,9 @@ declare const MUSHI_SERVER_METADATA: {
|
|
|
30
32
|
readonly name: "mushi-mushi";
|
|
31
33
|
readonly title: "Mushi Mushi";
|
|
32
34
|
readonly description: "User-felt bug triage, fix dispatch, QA stories, and inventory spec traceability for AI coding agents.";
|
|
33
|
-
readonly websiteUrl:
|
|
35
|
+
readonly websiteUrl: string;
|
|
34
36
|
readonly icons: McpIconDescriptor[];
|
|
35
37
|
};
|
|
36
38
|
|
|
37
|
-
export { MUSHI_ICON_PNG_URL, MUSHI_ICON_SVG_URL, MUSHI_SERVER_ICONS, MUSHI_SERVER_METADATA, MUSHI_WEBSITE_URL,
|
|
39
|
+
export { DEFAULT_PUBLIC_ORIGIN, MUSHI_ICON_PNG_URL, MUSHI_ICON_SVG_URL, MUSHI_SERVER_ICONS, MUSHI_SERVER_METADATA, MUSHI_WEBSITE_URL, mcpIconUrl };
|
|
40
|
+
export type { McpIconDescriptor };
|
package/dist/branding.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
+
DEFAULT_PUBLIC_ORIGIN,
|
|
2
3
|
MUSHI_ICON_PNG_URL,
|
|
3
4
|
MUSHI_ICON_SVG_URL,
|
|
4
5
|
MUSHI_SERVER_ICONS,
|
|
5
6
|
MUSHI_SERVER_METADATA,
|
|
6
7
|
MUSHI_WEBSITE_URL,
|
|
7
8
|
mcpIconUrl
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XSTWBVLT.js";
|
|
9
10
|
export {
|
|
11
|
+
DEFAULT_PUBLIC_ORIGIN,
|
|
10
12
|
MUSHI_ICON_PNG_URL,
|
|
11
13
|
MUSHI_ICON_SVG_URL,
|
|
12
14
|
MUSHI_SERVER_ICONS,
|
package/dist/catalog.d.ts
CHANGED
|
@@ -116,4 +116,5 @@ declare function routeUseMushiIntent(intent: string, isAvailable: (tool: string)
|
|
|
116
116
|
declare const MUSHI_SERVER_INSTRUCTIONS: string;
|
|
117
117
|
declare const CODEBASE_TOOL_CATALOG: ToolSpec[];
|
|
118
118
|
|
|
119
|
-
export { ALL_SCOPES, CODEBASE_TOOL_CATALOG, MUSHI_SERVER_INSTRUCTIONS,
|
|
119
|
+
export { ALL_SCOPES, CODEBASE_TOOL_CATALOG, MUSHI_SERVER_INSTRUCTIONS, PROMPT_CATALOG, RESOURCE_CATALOG, TDD_TOOL_CATALOG, TOOL_CATALOG, USE_MUSHI_INTENTS, routeUseMushiIntent };
|
|
120
|
+
export type { McpScope, PromptSpec, ResourceSpec, ToolHints, ToolSpec, UseMushiIntent, UseMushiRoute };
|
package/dist/catalog.js
CHANGED
|
@@ -215,6 +215,31 @@ var TOOL_CATALOG = [
|
|
|
215
215
|
hints: { readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
|
216
216
|
useCase: "Ask to raise the Play rollout to 20%, for a person to approve."
|
|
217
217
|
},
|
|
218
|
+
{
|
|
219
|
+
name: "get_security_proof",
|
|
220
|
+
title: "Security proof of a release",
|
|
221
|
+
description: "Return the Security proof of one release (releaseId), one commit (commitSha) or, with neither, the newest commit the scans saw: per lane (dependencies = OSV-Scanner, secrets = Gitleaks, ai_review = claude-code-security-review, dast = ZAP baseline + Nuclei, weekly) its state passed | findings | error | skipped | off | unknown | stale, the counts by severity, the run it used and its findings (title, severity, location, report id, deduped_by). The scanners run in the app's own CI (mushi-security.yml) and post their results; Mushi never runs them. state is proven (dependencies and secrets green for the commit, nothing failing elsewhere), attention, incomplete (a required lane has no result for the commit; a lane that never ran is not a pass) or not_pinned (the release names no commit). Optional projectId. Returns { state, headline, commitSha, lanes, findings, release }. Read-only.",
|
|
222
|
+
scope: "mcp:read",
|
|
223
|
+
hints: { readOnly: true, idempotent: true, openWorld: true },
|
|
224
|
+
returnsUntrusted: true,
|
|
225
|
+
useCase: "Did the scans come back green for the commit this release ships?"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
name: "export_release_kit",
|
|
229
|
+
title: "Export a release kit",
|
|
230
|
+
description: "Export the release kit of one release (releaseId) for a product-video tool: signs every ready asset (before/after screenshots copied from the UX baselines, Playwright clips, device recordings) for 24 hours, writes manifest.json beside them in lazycow's release-kit format (schema lazycow.release-kit, version 1: app, release, brand, screens with before/after, recordings, changelog; every asset with its own signed URL, bytes and sha256) and returns { kitUrl, expiresAt, preset, manifest }, where preset is lazycow's name (appstore-iphone | play-promo | social-9x16 | social-1x1). Pass both to lazycow's make_product_video({ kitUrl, preset }); the rendered file comes back as a product_video asset of the kit. Mushi never renders video. Mushi's own fields (per-asset store checks, the preset's output spec, the release's Security proof headline) are under manifest.mushi. An empty kit is 422 KIT_EMPTY. Optional projectId. Write: it writes the manifest and mints signed URLs.",
|
|
231
|
+
scope: "mcp:write",
|
|
232
|
+
hints: { readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
|
233
|
+
useCase: "Hand this release's screenshots and clips to lazycow for a product video."
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: "request_store_media_upload",
|
|
237
|
+
title: "Ask to upload store media (needs approval)",
|
|
238
|
+
description: `Ask to put release-kit media on a store: action upload_screenshots (App Store, displayType such as APP_IPHONE_67), upload_app_preview (App Store, previewType such as IPHONE_67; 15\u201330 s, H.264 or ProRes 422 HQ, at most 30 fps), upload_listing_images (Google Play, imageType such as phoneScreenshots or featureGraphic) or set_promo_video (Google Play, a YouTube URL). Give releaseId, connectorId (an App Store Connect or Google Play connector bound to the app), locale and assetIds from the kit. Mushi checks each asset against the store's spec first (422 SPEC_CHECK_FAILED with the reason) and stores the exact payload, every asset pinned by its SHA-256. This only creates a request: nothing is uploaded until a team owner or admin approves it in the console and runs it there. Confirm with the user first. Returns { actionId, payloadSha256, payload, status: "pending_approval" }. Write.`,
|
|
239
|
+
scope: "mcp:write",
|
|
240
|
+
hints: { readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
|
241
|
+
useCase: "Ask to put the new screenshots on the App Store, for a person to approve."
|
|
242
|
+
},
|
|
218
243
|
{
|
|
219
244
|
name: "get_store_status",
|
|
220
245
|
title: "Store review status",
|
|
@@ -286,6 +311,41 @@ var TOOL_CATALOG = [
|
|
|
286
311
|
returnsUntrusted: true,
|
|
287
312
|
useCase: "Which files are too big to change safely, and is the bundle growing?"
|
|
288
313
|
},
|
|
314
|
+
{
|
|
315
|
+
name: "get_timeline",
|
|
316
|
+
title: "The app release by release",
|
|
317
|
+
description: "Return how one app got better, release by release (Plan 025, ADR 0072), without screenshots: rail ('releases' when the app has release rows, else 'runs': each UX or scorecard run is a stop), points oldest first [{ id, kind (release | unreleased | run), at, label, title, status, version, runs (run ids), cost_usd (what the runs' AI calls cost; null = not recorded), judged (verdicts that were a model call), cached (verdicts reused because the page had not changed), score (the newest scorecard mean, 1-10), improved_screens, reports_closed, reports [{ id, title }], baselines (screens pinned to it) }], surfaces [{ key, label, path, latest_score, first_score, frames (pinned shots) }], month (the last 30 days: releases, reports_closed, top_reports, screens_improved, runs, cost_usd, judged, cached, movers [{ key, label, from, to }]) and settings { keep_releases }. Optional projectId (defaults to the configured project). Read-only, no model call. Use get_surface_history with a surface key for that screen's screenshots, scores and kept changes; get_ux_run with a run id for one run.",
|
|
318
|
+
scope: "mcp:read",
|
|
319
|
+
hints: { readOnly: true, idempotent: true, openWorld: true },
|
|
320
|
+
returnsUntrusted: true,
|
|
321
|
+
useCase: "Is my app getting better, and what did each release fix and cost?"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
name: "get_surface_history",
|
|
325
|
+
title: "One screen's history",
|
|
326
|
+
description: "Return one screen's history across releases (ADR 0072): surface { key, label, path }, frames oldest first [{ id, viewport (desktop | mobile), version, release_id, run_id, score, penalty, cost_usd, pinned (kept forever), created_at, url (signed for one hour) }], scores across scorecard runs [{ at, run, score, cached (reused, no model call), cost_usd }] and the changes the UX loop kept on it [{ at, run, shipped (its PR merged), what, commit_sha }]. Required surfaceKey (a key from get_timeline's surfaces); optional projectId. Read-only, no model call. Use to show a before and after of a screen, or to check whether a fix changed what users see.",
|
|
327
|
+
scope: "mcp:read",
|
|
328
|
+
hints: { readOnly: true, idempotent: true, openWorld: true },
|
|
329
|
+
returnsUntrusted: true,
|
|
330
|
+
useCase: "Show me how the checkout screen changed over the last releases."
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
name: "get_ux_run",
|
|
334
|
+
title: "One UX run",
|
|
335
|
+
description: "Return one UX run (ADR 0020/0067) by its local run id (from get_timeline's points[].runs, or the CLI): run { status, phase, agent, model, judge_model, branch, pr_url, counts, cost_usd, cost { judged, cached, unpriced }, started_at, finished_at, error }, surfaces (each screen with status, problem scores before and after, the review's verdict, and signed screenshot URLs valid for one hour) and iterations (each attempt with outcome, reason, commit and files). Required runId; optional projectId. Read-only. Use to see what a run changed and what it cost; get_timeline for the history across runs.",
|
|
336
|
+
scope: "mcp:read",
|
|
337
|
+
hints: { readOnly: true, idempotent: true, openWorld: true },
|
|
338
|
+
returnsUntrusted: true,
|
|
339
|
+
useCase: "What did the last UX run change, and what did it cost?"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
name: "start_ux_run",
|
|
343
|
+
title: "How to start a UX run",
|
|
344
|
+
description: "Return how to start a UX run for one app, without starting one (ADR 0017/0020/0072): a cloud run spends the repo's Actions minutes and Cursor credits, so only a person in the console starts it. Returns { started: false, why, console_path (the UX runs page, where Run in the cloud is one click), commands { scorecard, loop } (run on your own machine with your own keys; --sync mirrors the run to the console), next }. Optional kind (scorecard | loop, default scorecard) and projectId. No change is made and no model is called. After the run, read it with get_ux_run or get_timeline.",
|
|
345
|
+
scope: "mcp:read",
|
|
346
|
+
hints: { readOnly: true, idempotent: true, openWorld: false },
|
|
347
|
+
useCase: "Run a UX check on my app."
|
|
348
|
+
},
|
|
289
349
|
{
|
|
290
350
|
name: "get_ci_overview",
|
|
291
351
|
title: "CI runners and why fixes wait",
|
|
@@ -329,7 +389,7 @@ var TOOL_CATALOG = [
|
|
|
329
389
|
scope: "mcp:write",
|
|
330
390
|
hints: { readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
|
331
391
|
returnsUntrusted: true,
|
|
332
|
-
useCase: "Ask to run
|
|
392
|
+
useCase: "Ask to run my-app's PR jobs on my self-hosted runner instead of paid GitHub minutes, for a person to approve."
|
|
333
393
|
},
|
|
334
394
|
{
|
|
335
395
|
name: "open_ci_cost_fix",
|
|
@@ -338,7 +398,7 @@ var TOOL_CATALOG = [
|
|
|
338
398
|
scope: "mcp:write",
|
|
339
399
|
hints: { readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
|
340
400
|
returnsUntrusted: true,
|
|
341
|
-
useCase: "Stop
|
|
401
|
+
useCase: "Stop my-app's CI from running on draft agent PRs: open the skip-drafts fix for ci.yml as a draft PR to review."
|
|
342
402
|
},
|
|
343
403
|
{
|
|
344
404
|
name: "preview_ci_cost_fix_rollout",
|
|
@@ -365,7 +425,7 @@ var TOOL_CATALOG = [
|
|
|
365
425
|
scope: "mcp:read",
|
|
366
426
|
hints: { readOnly: true, idempotent: true, openWorld: true },
|
|
367
427
|
returnsUntrusted: true,
|
|
368
|
-
useCase: "Did the CI fix PR for
|
|
428
|
+
useCase: "Did the CI fix PR for my-app open, which fixes were refused, and what did it save after the merge?"
|
|
369
429
|
},
|
|
370
430
|
{
|
|
371
431
|
name: "explain_finding",
|
|
@@ -474,7 +534,7 @@ var TOOL_CATALOG = [
|
|
|
474
534
|
description: "Declare whether one domain renews automatically at its registrar: autoRenew true, false, or null for not known. The domain id comes from get_accounts_register; only a domain one of the caller's apps uses can be changed (404 otherwise). It records what you declare and checks nothing at the registrar; false opens the registrar_autorenew_off rule. Team owners and admins only; needs an account-level key. Returns { id }. Write.",
|
|
475
535
|
scope: "mcp:write",
|
|
476
536
|
hints: { readOnly: false, destructive: false, idempotent: true, openWorld: true },
|
|
477
|
-
useCase: "Mark
|
|
537
|
+
useCase: "Mark example.com as renewing automatically."
|
|
478
538
|
},
|
|
479
539
|
{
|
|
480
540
|
name: "get_spend_ledger",
|
|
@@ -829,6 +889,31 @@ var TOOL_CATALOG = [
|
|
|
829
889
|
scope: "mcp:write",
|
|
830
890
|
hints: { readOnly: false, destructive: false, idempotent: true, openWorld: true },
|
|
831
891
|
useCase: "Record one in ten visitors for the next day so I can see where people get stuck."
|
|
892
|
+
},
|
|
893
|
+
// ── Native UX captures and personas (Plan 025 P2/P3, ADR 0073) ──────
|
|
894
|
+
{
|
|
895
|
+
name: "upload_ux_captures",
|
|
896
|
+
title: "Upload app screenshots to the UX scorecard",
|
|
897
|
+
description: 'Open a UX scorecard run for screens another driver captured (a Maestro flow, adb screencap, the iOS simulator, an SDK debug build or a browser), so each screen is scored on the same written rubric as a web page (ADR 0073). platform is ios | android | flutter | react_native | capacitor | web | other; optional device ("Pixel 8 (API 35)"), source (maestro | adb | simctl | sdk | playwright | other), app (a name), viewport ("390x844"), maxCostUsd (0.05\u201320, caps the scoring budget the run reserves) and projectId. pages is 1 to 60 of { facts, shots }: facts are the scorecard page facts { key, path (starts with /), label, title, headings, text, controls, settleMs (null), axe (null), overflowX, consoleErrors, cls, viewport { width, height } } and shots is ["settled"] or ["early", "settled"]. Returns { runId, reservedUsd, uploads: [{ page, name, signedUrl }], next }: PUT each PNG (Content-Type image/png, at most 8 MB) to its signedUrl, then score each page with POST next.score { facts, shots: [name] }, group with POST next.group, and close the run with PUT next.finish. On the stdio server, dir instead reads <dir>/pages/<screen>/settled.png (plus early.png, facts.json, an Android window.xml or a Maestro hierarchy.json) and does the uploads itself; score=true also scores, groups and closes the run. Refused with 402 when the AI budget cannot cover the run. Viewers cannot upload. Write: it stores screenshots and a run; nothing in the app or repo changes.',
|
|
898
|
+
scope: "mcp:write",
|
|
899
|
+
hints: { readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
|
900
|
+
useCase: "Score my Android app\u2019s onboarding screens like the web pages."
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
name: "list_personas",
|
|
904
|
+
title: "List the app\u2019s personas",
|
|
905
|
+
description: "Return the user profiles a first-time user test or a PDCA critic can play for one project (ADR 0073): each persona { id, name, goal, locale, device (desktop | mobile | tablet), expertise (new | casual | power), accessibility (screen_reader, low_vision, keyboard_only, reduced_motion, color_blind, motor, plain_language), patienceSteps (the step cap), costCapUsd (the most one test may spend on Mushi Mushi's AI calls), brief (the words the visitor model reads), runs (its last 12 tests: status, ttfv_seconds, reached, steps) }, plus presets, the test-account setting { mode: off | mushi | hook } and the AI budget { monthlyUsd, spentUsd, heldUsd }. Optional projectId. Read-only.",
|
|
906
|
+
scope: "mcp:read",
|
|
907
|
+
hints: { readOnly: true, idempotent: true, openWorld: true },
|
|
908
|
+
useCase: "Which personas can test my app, and how did each do last time?"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
name: "start_fresh_eyes",
|
|
912
|
+
title: "Start a first-time user test",
|
|
913
|
+
description: `Queue a first-time user test (fresh eyes, ADR 0053) for the user's own local worker: an AI that has never seen the app tries one goal from its start page while Mushi Mushi times every step and notes where it got stuck. Optional personaId (from list_personas: the visitor's device, language, needs and step cap), url (default: the app's known address), goal (default: the persona's goal, else the last one, else "sign up and start using the app"), sessions (1\u20135, default 3), successText (words on screen that mean the goal was reached), dryRun (true: look around only, file nothing; false, the default, files what stops the visitor as reports) and projectId. It never signs up with test accounts: only an owner or admin can grant those, from the console. Answers 409 NO_WORKER with the one thing to do when no computer of the user's can run it, 402 when the AI budget cannot cover the run, 404 PERSONA_NOT_FOUND. Returns { runId, status: "queued", runner, personaId, reservedUsd }. Write: it queues a run that may file reports. The result shows on the console's First-time user test page.`,
|
|
914
|
+
scope: "mcp:write",
|
|
915
|
+
hints: { readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
|
916
|
+
useCase: "Have a Japanese phone user try to sign up and tell me where they get stuck."
|
|
832
917
|
}
|
|
833
918
|
];
|
|
834
919
|
var RESOURCE_CATALOG = [
|
|
@@ -72,6 +72,10 @@ var TOOL_FEATURE_MAP = {
|
|
|
72
72
|
propose_recipe_change: "inventory",
|
|
73
73
|
propose_portfolio_change: "inventory",
|
|
74
74
|
request_connector_action: "inventory",
|
|
75
|
+
// Plan 025 P4-P6 (ADR 0074): a release's Security proof, its kit, store media requests.
|
|
76
|
+
get_security_proof: "inventory",
|
|
77
|
+
export_release_kit: "inventory",
|
|
78
|
+
request_store_media_upload: "inventory",
|
|
75
79
|
get_store_status: "inventory",
|
|
76
80
|
get_design_deviance: "inventory",
|
|
77
81
|
// Run-now triggers + the by-id finding explanation
|
|
@@ -155,6 +159,10 @@ var TOOL_FEATURE_MAP = {
|
|
|
155
159
|
list_qa_story_runs: "qa",
|
|
156
160
|
get_qa_story_run: "qa",
|
|
157
161
|
test_notification_channel: "qa",
|
|
162
|
+
// Native UX captures and personas (ADR 0073)
|
|
163
|
+
upload_ux_captures: "qa",
|
|
164
|
+
list_personas: "qa",
|
|
165
|
+
start_fresh_eyes: "qa",
|
|
158
166
|
// skills
|
|
159
167
|
list_skills: "skills",
|
|
160
168
|
get_skill: "skills",
|
|
@@ -171,6 +179,10 @@ var TOOL_FEATURE_MAP = {
|
|
|
171
179
|
run_fullstack_audit: "audit",
|
|
172
180
|
get_backend_health: "audit",
|
|
173
181
|
get_code_health: "audit",
|
|
182
|
+
get_timeline: "audit",
|
|
183
|
+
get_surface_history: "audit",
|
|
184
|
+
get_ux_run: "audit",
|
|
185
|
+
start_ux_run: "audit",
|
|
174
186
|
// codebase understand
|
|
175
187
|
ask_codebase: "codebase",
|
|
176
188
|
get_file_summary: "codebase",
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
// src/branding.ts
|
|
2
|
-
var
|
|
2
|
+
var DEFAULT_PUBLIC_ORIGIN = "https://kensaur.us";
|
|
3
|
+
function publicOrigin() {
|
|
4
|
+
const raw = typeof process !== "undefined" ? process.env.MUSHI_PUBLIC_ORIGIN : void 0;
|
|
5
|
+
const v = raw?.trim();
|
|
6
|
+
if (v) {
|
|
7
|
+
try {
|
|
8
|
+
const u = new URL(v);
|
|
9
|
+
if (u.protocol === "https:" || u.protocol === "http:") return u.origin;
|
|
10
|
+
} catch {
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return DEFAULT_PUBLIC_ORIGIN;
|
|
14
|
+
}
|
|
15
|
+
var MUSHI_WEBSITE_URL = `${publicOrigin()}/mushi-mushi`;
|
|
3
16
|
var MUSHI_ICON_PNG_URL = `${MUSHI_WEBSITE_URL}/docs/integrations/mushi-mark-512.png`;
|
|
4
17
|
var MUSHI_ICON_SVG_URL = `${MUSHI_WEBSITE_URL}/favicon.svg`;
|
|
5
18
|
function mcpIconUrl(mcpBaseUrl) {
|
|
@@ -21,6 +34,7 @@ var MUSHI_SERVER_METADATA = {
|
|
|
21
34
|
};
|
|
22
35
|
|
|
23
36
|
export {
|
|
37
|
+
DEFAULT_PUBLIC_ORIGIN,
|
|
24
38
|
MUSHI_WEBSITE_URL,
|
|
25
39
|
MUSHI_ICON_PNG_URL,
|
|
26
40
|
MUSHI_ICON_SVG_URL,
|
package/dist/clients.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ import { FeatureGroup } from './feature-groups.js';
|
|
|
54
54
|
* editor launch. Synced to package.json by `scripts/sync-mcp-pin.mjs` — never
|
|
55
55
|
* hand-edit the version.
|
|
56
56
|
*/
|
|
57
|
-
declare const MCP_PIN_SPEC = "@mushi-mushi/mcp@0.
|
|
57
|
+
declare const MCP_PIN_SPEC = "@mushi-mushi/mcp@0.33.1";
|
|
58
58
|
interface StdioConfig {
|
|
59
59
|
command: string;
|
|
60
60
|
args: string[];
|
|
@@ -169,4 +169,5 @@ declare function buildOAuthInstall(id: McpOAuthClientId, input: McpOAuthInstallI
|
|
|
169
169
|
/** Look up a client by id — throws if not found. */
|
|
170
170
|
declare function getMcpClient(id: McpClientId): McpClientDef;
|
|
171
171
|
|
|
172
|
-
export { LOVABLE_MCP_URL, MCP_CLIENTS, MCP_OAUTH_CLIENT_IDS, MCP_OAUTH_SERVER_NAME, MCP_PIN_SPEC,
|
|
172
|
+
export { LOVABLE_MCP_URL, MCP_CLIENTS, MCP_OAUTH_CLIENT_IDS, MCP_OAUTH_SERVER_NAME, MCP_PIN_SPEC, buildOAuthInstall, buildHttpConfigObj as buildRawHttpConfig, buildStdioConfigObj as buildRawStdioConfig, getMcpClient, projectServerName };
|
|
173
|
+
export type { McpBuildInput, McpBuildResult, McpClientDef, McpClientId, McpInstallMethod, McpOAuthClientId, McpOAuthInstallInput };
|
package/dist/clients.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MUSHI_ICON_PNG_URL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XSTWBVLT.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_FEATURE_GROUPS,
|
|
6
6
|
appendFeaturesToUrl,
|
|
7
7
|
featuresQueryString
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XRH7NB34.js";
|
|
9
9
|
|
|
10
10
|
// src/clients.ts
|
|
11
|
-
var MCP_PIN_SPEC = "@mushi-mushi/mcp@0.
|
|
11
|
+
var MCP_PIN_SPEC = "@mushi-mushi/mcp@0.33.1";
|
|
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/feature-groups.d.ts
CHANGED
|
@@ -44,4 +44,5 @@ declare function toolMatchesFeatures(toolName: string, filter: FeatureFilter): b
|
|
|
44
44
|
declare function featuresQueryString(groups: readonly FeatureGroup[]): string;
|
|
45
45
|
declare function appendFeaturesToUrl(baseUrl: string, groups: readonly FeatureGroup[]): string;
|
|
46
46
|
|
|
47
|
-
export { ALL_FEATURE_GROUPS, DEFAULT_FEATURE_GROUPS, DEPRECATED_TOOL_ALIASES, FEATURE_GROUPS,
|
|
47
|
+
export { ALL_FEATURE_GROUPS, DEFAULT_FEATURE_GROUPS, DEPRECATED_TOOL_ALIASES, FEATURE_GROUPS, PRESET_TOOLS, TOOL_FEATURE_MAP, appendFeaturesToUrl, featuresQueryString, parseFeaturesCsv, parseFeaturesParam, toolMatchesFeatures };
|
|
48
|
+
export type { FeatureFilter, FeatureGroup };
|
package/dist/feature-groups.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export {
|
|
2
|
+
export { };
|