@mushi-mushi/cli 0.29.1 → 0.29.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 CHANGED
@@ -445,4 +445,4 @@ The CLI is also importable for tooling (used by `create-mushi-mushi`):
445
445
  MIT
446
446
 
447
447
  <!-- mushi-readme-stats-footer -->
448
- <sub>Monorepo scale (July 2026): 64 edge functions · 410 SQL migrations · 13 outbound plugins · 11 inbound adapters · 19 pipeline agents. Canonical counts: <a href="https://github.com/kensaurus/mushi-mushi/blob/master/docs/stats.md">docs/stats.md</a> · <code>pnpm docs-stats</code></sub>
448
+ <sub>Monorepo scale (July 2026): 64 edge functions · 413 SQL migrations · 13 outbound plugins · 11 inbound adapters · 19 pipeline agents. Canonical counts: <a href="https://github.com/kensaurus/mushi-mushi/blob/master/docs/stats.md">docs/stats.md</a> · <code>pnpm docs-stats</code></sub>
@@ -0,0 +1,8 @@
1
+ // src/version.ts
2
+ var MUSHI_CLI_VERSION = true ? "0.29.2" : "0.0.0-dev";
3
+ var MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.24.2";
4
+
5
+ export {
6
+ MUSHI_CLI_VERSION,
7
+ MUSHI_MCP_PIN_SPEC
8
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MUSHI_CLI_VERSION
3
- } from "./chunk-JE3STWB2.js";
3
+ } from "./chunk-4H5TRTM3.js";
4
4
  import {
5
5
  assertEndpoint,
6
6
  normalizeEndpoint
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  MUSHI_CLI_VERSION,
4
4
  MUSHI_MCP_PIN_SPEC
5
- } from "./chunk-HHOPCVNI.js";
5
+ } from "./chunk-MKUU3GHS.js";
6
6
  import {
7
7
  detectFramework,
8
8
  envVarsToWrite,
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/version.ts
4
+ var MUSHI_CLI_VERSION = true ? "0.29.2" : "0.0.0-dev";
5
+ var MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.24.2";
6
+
7
+ export {
8
+ MUSHI_CLI_VERSION,
9
+ MUSHI_MCP_PIN_SPEC
10
+ };
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  resolveSdkEnvKey,
4
4
  runConnect
5
- } from "./chunk-MDYYLRWB.js";
6
- import "./chunk-HHOPCVNI.js";
5
+ } from "./chunk-KZW4X6WB.js";
6
+ import "./chunk-MKUU3GHS.js";
7
7
  import "./chunk-KOBEOGNF.js";
8
8
  import "./chunk-LDPFTQLE.js";
9
9
  import "./chunk-PDX44BCA.js";
@@ -6,10 +6,10 @@ import {
6
6
  saveConfig,
7
7
  savedSdkKeyFor,
8
8
  waitForIngestReady
9
- } from "./chunk-KQ6POXZH.js";
9
+ } from "./chunk-HNLTFQ4N.js";
10
10
  import {
11
11
  MUSHI_MCP_PIN_SPEC
12
- } from "./chunk-JE3STWB2.js";
12
+ } from "./chunk-4H5TRTM3.js";
13
13
  import {
14
14
  detectFramework,
15
15
  envVarsToWrite,
package/dist/index.js CHANGED
@@ -53,11 +53,11 @@ import {
53
53
  setGlobalOutputFormat,
54
54
  trySaveKeyToKeychain,
55
55
  writeMcpServerEntry
56
- } from "./chunk-MDYYLRWB.js";
56
+ } from "./chunk-KZW4X6WB.js";
57
57
  import {
58
58
  MUSHI_CLI_VERSION,
59
59
  MUSHI_MCP_PIN_SPEC
60
- } from "./chunk-HHOPCVNI.js";
60
+ } from "./chunk-MKUU3GHS.js";
61
61
  import {
62
62
  FRAMEWORKS,
63
63
  detectFramework,
@@ -1512,7 +1512,7 @@ async function checkOnboardingStatus(config, _consoleBase, cwd, doFetch = global
1512
1512
  }
1513
1513
  async function checkVersionDrift(cwd, doFetch) {
1514
1514
  const checks = [];
1515
- const { MUSHI_CLI_VERSION: MUSHI_CLI_VERSION2 } = await import("./version-FYBMIU3T.js");
1515
+ const { MUSHI_CLI_VERSION: MUSHI_CLI_VERSION2 } = await import("./version-QRFWGGZY.js");
1516
1516
  if (MUSHI_CLI_VERSION2 === "0.0.0-dev") return checks;
1517
1517
  const parse2 = (v) => {
1518
1518
  const m = v.replace(/^[~^]/, "").match(/^(\d+)\.(\d+)\.(\d+)/);
@@ -2436,7 +2436,7 @@ async function maybeOfferConnect(credentials, options, _consoleBase) {
2436
2436
  if (p.isCancel(answer) || !answer) return;
2437
2437
  const endpoint = resolveCloudEndpoint(options.endpoint);
2438
2438
  try {
2439
- const { runConnect: runConnect2 } = await import("./connect-RIPZ4B5Y.js");
2439
+ const { runConnect: runConnect2 } = await import("./connect-NCBKOV6O.js");
2440
2440
  const saved = loadConfig();
2441
2441
  const result = await runConnect2(
2442
2442
  {
@@ -5383,7 +5383,7 @@ function registerKeysCommands(program2) {
5383
5383
  }
5384
5384
  );
5385
5385
  });
5386
- keys.command("add").description("Add a new API key to the pool").requiredOption("--provider <p>", "Provider: anthropic, openai, firecrawl, browserbase, cursor").option(
5386
+ keys.command("add").description("Add a new API key to the pool").requiredOption("--provider <p>", "Provider: anthropic, openai, firecrawl, browserbase, cursor, supabase").option(
5387
5387
  "--key <k>",
5388
5388
  "The API key value (prefer the MUSHI_BYOK_KEY env var to keep it out of shell history)"
5389
5389
  ).option("--label <l>", "Human-readable label").option("--priority <n>", "Priority (lower = higher priority)", "100").option("--base-url <url>", "Allow-listed OpenAI-compatible HTTPS base URL").action(
@@ -5847,7 +5847,7 @@ function registerAuditCommands(program2) {
5847
5847
  const audit = program2.command("audit").description("Run a full-stack health audit for the current project").option("--json", "Machine-readable JSON output").option("--project-id <id>", "Project ID to audit (defaults to MUSHI_PROJECT_ID from config)").addHelpText("after", `
5848
5848
  Description:
5849
5849
  Fans out to the Mushi backend to run a full-stack health audit:
5850
- \u2022 DB schema + Supabase advisors (requires Supabase PAT in API Keys)
5850
+ \u2022 DB schema + Supabase advisors (requires a linked Supabase project)
5851
5851
  \u2022 Recent backend error logs
5852
5852
  \u2022 Tables without RLS enabled
5853
5853
  \u2022 Gate results: API contract (G3), spec drift (G6), orphan endpoints (G7),
@@ -5856,8 +5856,9 @@ Description:
5856
5856
  Returns a human-readable summary with severity-ranked findings.
5857
5857
 
5858
5858
  Prerequisites:
5859
- 1. Add your Supabase PAT in Admin \u2192 Settings \u2192 API Keys
5860
- 2. Set supabase_project_ref in Admin \u2192 Settings \u2192 Project.
5859
+ 1. Set the Supabase project ref in Admin \u2192 Settings \u2192 General \u2192 Supabase project.
5860
+ 2. Add a scoped, read-only Supabase access token (one project; Database,
5861
+ Edge Functions, Advisors and Logs at Read) in Admin \u2192 Settings \u2192 AI keys \u2192 Supabase.
5861
5862
 
5862
5863
  Examples:
5863
5864
  mushi audit
package/dist/init.js CHANGED
@@ -25,10 +25,10 @@ import {
25
25
  saveConfig,
26
26
  savedSdkKeyFor,
27
27
  trySaveKeyToKeychain
28
- } from "./chunk-KQ6POXZH.js";
28
+ } from "./chunk-HNLTFQ4N.js";
29
29
  import {
30
30
  MUSHI_CLI_VERSION
31
- } from "./chunk-JE3STWB2.js";
31
+ } from "./chunk-4H5TRTM3.js";
32
32
  import {
33
33
  FRAMEWORKS,
34
34
  detectFramework,
@@ -2037,7 +2037,7 @@ async function maybeOfferConnect(credentials, options, _consoleBase) {
2037
2037
  if (p.isCancel(answer) || !answer) return;
2038
2038
  const endpoint = resolveCloudEndpoint(options.endpoint);
2039
2039
  try {
2040
- const { runConnect } = await import("./connect-35YLLMGD.js");
2040
+ const { runConnect } = await import("./connect-RIKV53NI.js");
2041
2041
  const saved = loadConfig();
2042
2042
  const result = await runConnect(
2043
2043
  {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  MUSHI_CLI_VERSION,
4
4
  MUSHI_MCP_PIN_SPEC
5
- } from "./chunk-HHOPCVNI.js";
5
+ } from "./chunk-MKUU3GHS.js";
6
6
  import "./chunk-PDX44BCA.js";
7
7
  export {
8
8
  MUSHI_CLI_VERSION,
package/dist/version.d.ts CHANGED
@@ -14,6 +14,6 @@ declare const MUSHI_CLI_VERSION: string;
14
14
  * setup refreshes the pin. Synced to packages/mcp/package.json by
15
15
  * `scripts/sync-mcp-pin.mjs` — never hand-edit the version.
16
16
  */
17
- declare const MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.24.1";
17
+ declare const MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.24.2";
18
18
 
19
19
  export { MUSHI_CLI_VERSION, MUSHI_MCP_PIN_SPEC };
package/dist/version.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  MUSHI_CLI_VERSION,
3
3
  MUSHI_MCP_PIN_SPEC
4
- } from "./chunk-JE3STWB2.js";
4
+ } from "./chunk-4H5TRTM3.js";
5
5
  import "./chunk-3RG5ZIWI.js";
6
6
  export {
7
7
  MUSHI_CLI_VERSION,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mushi-mushi/cli",
3
- "version": "0.29.1",
3
+ "version": "0.29.2",
4
4
  "license": "MIT",
5
5
  "description": "Mushi CLI: SDK setup, MCP wiring, bug triage. The bug mediator for AI-built apps: plain-English diagnosis + a ready fix, in your editor.",
6
6
  "bin": {
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/version.ts
4
- var MUSHI_CLI_VERSION = true ? "0.29.1" : "0.0.0-dev";
5
- var MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.24.1";
6
-
7
- export {
8
- MUSHI_CLI_VERSION,
9
- MUSHI_MCP_PIN_SPEC
10
- };
@@ -1,8 +0,0 @@
1
- // src/version.ts
2
- var MUSHI_CLI_VERSION = true ? "0.29.1" : "0.0.0-dev";
3
- var MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.24.1";
4
-
5
- export {
6
- MUSHI_CLI_VERSION,
7
- MUSHI_MCP_PIN_SPEC
8
- };