@mushi-mushi/cli 0.26.0 → 0.26.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.
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ MUSHI_CLI_VERSION,
4
+ MUSHI_MCP_PIN_SPEC
5
+ } from "./chunk-6XYPFV23.js";
6
+ export {
7
+ MUSHI_CLI_VERSION,
8
+ MUSHI_MCP_PIN_SPEC
9
+ };
package/dist/version.d.ts CHANGED
@@ -7,5 +7,13 @@
7
7
  * `tsc --noEmit` happy during development.
8
8
  */
9
9
  declare const MUSHI_CLI_VERSION: string;
10
+ /**
11
+ * Pinned npm spec for the MCP server written into persistent IDE configs
12
+ * (mcp.json, Zed settings). Pinning avoids the supply-chain and cold-start
13
+ * costs of `@latest` on every editor launch; `mushi upgrade` / re-running
14
+ * setup refreshes the pin. Synced to packages/mcp/package.json by
15
+ * `scripts/sync-mcp-pin.mjs` — never hand-edit the version.
16
+ */
17
+ declare const MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.19.0";
10
18
 
11
- export { MUSHI_CLI_VERSION };
19
+ export { MUSHI_CLI_VERSION, MUSHI_MCP_PIN_SPEC };
package/dist/version.js CHANGED
@@ -1,6 +1,8 @@
1
1
  import {
2
- MUSHI_CLI_VERSION
3
- } from "./chunk-MCVRTQAI.js";
2
+ MUSHI_CLI_VERSION,
3
+ MUSHI_MCP_PIN_SPEC
4
+ } from "./chunk-PCTMFRKN.js";
4
5
  export {
5
- MUSHI_CLI_VERSION
6
+ MUSHI_CLI_VERSION,
7
+ MUSHI_MCP_PIN_SPEC
6
8
  };
@@ -22,6 +22,7 @@ interface ParsedArgs {
22
22
  yes?: boolean;
23
23
  cwd?: string;
24
24
  endpoint?: string;
25
+ audit?: boolean;
25
26
  }
26
27
  /**
27
28
  * The flags block shared by both shims' help text. Ends with the Node
@@ -11,6 +11,7 @@ var FLAGS_HELP = `Flags (forwarded to the wizard):
11
11
  --framework <id> force a framework (${FRAMEWORK_IDS.join(", ")})
12
12
  --skip-install print the install command instead of running it
13
13
  --skip-test-report don't offer to send a test report at the end
14
+ --audit health-check an existing install (doctor checks) instead of re-running the wizard
14
15
  --cwd <path> run in a different directory
15
16
  --endpoint <url> override the Mushi API endpoint (self-hosted)
16
17
  -y, --yes accept the detected framework without prompting
@@ -46,6 +47,10 @@ function parseArgs(argv) {
46
47
  out.skipTestReport = true;
47
48
  continue;
48
49
  }
50
+ if (a === "--audit") {
51
+ out.audit = true;
52
+ continue;
53
+ }
49
54
  if (a === "--project-id") {
50
55
  out.projectId = args[++i];
51
56
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mushi-mushi/cli",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "license": "MIT",
5
5
  "description": "CLI for Mushi Mushi — `mushi init` wizard installs the right SDK for your framework, plus report triage and pipeline health commands",
6
6
  "bin": {
@@ -1,6 +0,0 @@
1
- // src/version.ts
2
- var MUSHI_CLI_VERSION = true ? "0.26.0" : "0.0.0-dev";
3
-
4
- export {
5
- MUSHI_CLI_VERSION
6
- };
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/version.ts
4
- var MUSHI_CLI_VERSION = true ? "0.26.0" : "0.0.0-dev";
5
-
6
- export {
7
- MUSHI_CLI_VERSION
8
- };
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- MUSHI_CLI_VERSION
4
- } from "./chunk-TYVJU4AH.js";
5
- export {
6
- MUSHI_CLI_VERSION
7
- };