@mushi-mushi/cli 0.26.0 → 0.27.0
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/CONTRIBUTING.md +10 -2
- package/README.md +25 -0
- package/SECURITY.md +73 -1
- package/dist/chunk-3RG5ZIWI.js +10 -0
- package/dist/{chunk-VIHWH3IG.js → chunk-7JZUKNN5.js} +210 -11
- package/dist/chunk-LFZ5ZIBI.js +8 -0
- package/dist/chunk-MXD5UNMP.js +10 -0
- package/dist/chunk-PDX44BCA.js +11 -0
- package/dist/{chunk-L3LUPBFG.js → chunk-TZL3F3GT.js} +242 -8
- package/dist/{connect-HCWJ6NXP.js → connect-FAXWVFG2.js} +13 -108
- package/dist/{connect-PKWAK4GL.js → connect-QHVFH77E.js} +3 -2
- package/dist/detect.js +1 -0
- package/dist/{endpoint-DGS73AVM.js → endpoint-TEBF4IH6.js} +1 -0
- package/dist/index.js +3883 -3401
- package/dist/init.d.ts +2 -0
- package/dist/init.js +841 -10
- package/dist/{snippet-inject-NDAPEL2T.js → snippet-inject-7ABYE57O.js} +2 -0
- package/dist/{snippet-inject-LPRWTQDE.js → snippet-inject-CCXILWYZ.js} +1 -0
- package/dist/version-F3ZOPM5F.js +10 -0
- package/dist/version.d.ts +9 -1
- package/dist/version.js +6 -3
- package/dist/wizard-args.d.ts +1 -0
- package/dist/wizard-args.js +6 -0
- package/package.json +4 -1
- package/dist/chunk-MCVRTQAI.js +0 -6
- package/dist/chunk-TYVJU4AH.js +0 -8
- package/dist/version-4JARRCFG.js +0 -7
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.20.0";
|
|
10
18
|
|
|
11
|
-
export { MUSHI_CLI_VERSION };
|
|
19
|
+
export { MUSHI_CLI_VERSION, MUSHI_MCP_PIN_SPEC };
|
package/dist/version.js
CHANGED
package/dist/wizard-args.d.ts
CHANGED
package/dist/wizard-args.js
CHANGED
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
FRAMEWORK_IDS,
|
|
3
3
|
isFrameworkId
|
|
4
4
|
} from "./chunk-AIZRI665.js";
|
|
5
|
+
import "./chunk-3RG5ZIWI.js";
|
|
5
6
|
|
|
6
7
|
// src/wizard-args.ts
|
|
7
8
|
var MIN_NODE_MAJOR = 20;
|
|
@@ -11,6 +12,7 @@ var FLAGS_HELP = `Flags (forwarded to the wizard):
|
|
|
11
12
|
--framework <id> force a framework (${FRAMEWORK_IDS.join(", ")})
|
|
12
13
|
--skip-install print the install command instead of running it
|
|
13
14
|
--skip-test-report don't offer to send a test report at the end
|
|
15
|
+
--audit health-check an existing install (doctor checks) instead of re-running the wizard
|
|
14
16
|
--cwd <path> run in a different directory
|
|
15
17
|
--endpoint <url> override the Mushi API endpoint (self-hosted)
|
|
16
18
|
-y, --yes accept the detected framework without prompting
|
|
@@ -46,6 +48,10 @@ function parseArgs(argv) {
|
|
|
46
48
|
out.skipTestReport = true;
|
|
47
49
|
continue;
|
|
48
50
|
}
|
|
51
|
+
if (a === "--audit") {
|
|
52
|
+
out.audit = true;
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
49
55
|
if (a === "--project-id") {
|
|
50
56
|
out.projectId = args[++i];
|
|
51
57
|
continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mushi-mushi/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
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": {
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
"@clack/prompts": "^1.5.1",
|
|
11
11
|
"commander": "^15.0.0"
|
|
12
12
|
},
|
|
13
|
+
"optionalDependencies": {
|
|
14
|
+
"@napi-rs/keyring": "^1.1.5"
|
|
15
|
+
},
|
|
13
16
|
"devDependencies": {
|
|
14
17
|
"@types/node": "^22.20.0",
|
|
15
18
|
"eslint": "^10.6.0",
|
package/dist/chunk-MCVRTQAI.js
DELETED
package/dist/chunk-TYVJU4AH.js
DELETED