@mushi-mushi/cli 0.30.0 → 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/dist/{chunk-LCCMRMPN.js → chunk-AHDD44WU.js} +1 -1
- package/dist/{chunk-HIIZZEAH.js → chunk-AJ6TRLJX.js} +1 -1
- package/dist/chunk-P7JI5H57.js +8 -0
- package/dist/chunk-X67SYMCO.js +10 -0
- package/dist/{connect-M2YV6EKD.js → connect-4TSPUKYX.js} +2 -2
- package/dist/{connect-KWNFOEUX.js → connect-MJFNVD6I.js} +2 -2
- package/dist/index.js +13 -5
- package/dist/init.js +3 -3
- package/dist/{version-A2FOZS5T.js → version-5BNKTJFR.js} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-27FTLLR2.js +0 -10
- package/dist/chunk-WNKM6APL.js +0 -8
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
saveConfig,
|
|
7
7
|
savedSdkKeyFor,
|
|
8
8
|
waitForIngestReady
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AJ6TRLJX.js";
|
|
10
10
|
import {
|
|
11
11
|
MUSHI_MCP_PIN_SPEC
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P7JI5H57.js";
|
|
13
13
|
import {
|
|
14
14
|
detectFramework,
|
|
15
15
|
envVarsToWrite,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
resolveSdkEnvKey,
|
|
4
4
|
runConnect
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-AHDD44WU.js";
|
|
6
|
+
import "./chunk-X67SYMCO.js";
|
|
7
7
|
import "./chunk-KOBEOGNF.js";
|
|
8
8
|
import "./chunk-LDPFTQLE.js";
|
|
9
9
|
import "./chunk-PDX44BCA.js";
|
package/dist/index.js
CHANGED
|
@@ -53,11 +53,11 @@ import {
|
|
|
53
53
|
setGlobalOutputFormat,
|
|
54
54
|
trySaveKeyToKeychain,
|
|
55
55
|
writeMcpServerEntry
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-AHDD44WU.js";
|
|
57
57
|
import {
|
|
58
58
|
MUSHI_CLI_VERSION,
|
|
59
59
|
MUSHI_MCP_PIN_SPEC
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-X67SYMCO.js";
|
|
61
61
|
import {
|
|
62
62
|
FRAMEWORKS,
|
|
63
63
|
detectFramework,
|
|
@@ -1524,7 +1524,7 @@ async function checkOnboardingStatus(config, _consoleBase, cwd, doFetch = global
|
|
|
1524
1524
|
}
|
|
1525
1525
|
async function checkVersionDrift(cwd, doFetch) {
|
|
1526
1526
|
const checks = [];
|
|
1527
|
-
const { MUSHI_CLI_VERSION: MUSHI_CLI_VERSION2 } = await import("./version-
|
|
1527
|
+
const { MUSHI_CLI_VERSION: MUSHI_CLI_VERSION2 } = await import("./version-5BNKTJFR.js");
|
|
1528
1528
|
if (MUSHI_CLI_VERSION2 === "0.0.0-dev") return checks;
|
|
1529
1529
|
const parse2 = (v) => {
|
|
1530
1530
|
const m = v.replace(/^[~^]/, "").match(/^(\d+)\.(\d+)\.(\d+)/);
|
|
@@ -2448,7 +2448,7 @@ async function maybeOfferConnect(credentials, options, _consoleBase) {
|
|
|
2448
2448
|
if (p.isCancel(answer) || !answer) return;
|
|
2449
2449
|
const endpoint = resolveCloudEndpoint(options.endpoint);
|
|
2450
2450
|
try {
|
|
2451
|
-
const { runConnect: runConnect2 } = await import("./connect-
|
|
2451
|
+
const { runConnect: runConnect2 } = await import("./connect-MJFNVD6I.js");
|
|
2452
2452
|
const saved = loadConfig();
|
|
2453
2453
|
const result = await runConnect2(
|
|
2454
2454
|
{
|
|
@@ -2784,6 +2784,13 @@ Useful after 'mushi login' to confirm credentials are correct.`).action(async (o
|
|
|
2784
2784
|
console.log(` Project: ${d.project_name} (${d.project_id})`);
|
|
2785
2785
|
console.log(` Endpoint: ${config.endpoint}`);
|
|
2786
2786
|
console.log(` Reports: ${d.stats.total_reports} total \xB7 ${d.stats.open_reports} open`);
|
|
2787
|
+
if (d.scopes) {
|
|
2788
|
+
console.log(` Scopes: ${d.scopes.length > 0 ? d.scopes.join(", ") : "none"}`);
|
|
2789
|
+
if (!d.scopes.includes("mcp:read") && !d.scopes.includes("mcp:write")) {
|
|
2790
|
+
console.log(" \u26A0 This is an SDK key: it can send reports but not read them. The CLI and MCP need mcp:read.");
|
|
2791
|
+
console.log(" Mint one on the console MCP page, or run `mushi login`.");
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2787
2794
|
}
|
|
2788
2795
|
});
|
|
2789
2796
|
program2.command("ping").description("Check connectivity to the Mushi backend").option("--json", "Machine-readable JSON output").action(async (opts) => {
|
|
@@ -6096,7 +6103,8 @@ Description:
|
|
|
6096
6103
|
);
|
|
6097
6104
|
if (!result.ok) {
|
|
6098
6105
|
console.error(" Sync failed:", result.error);
|
|
6099
|
-
} else console.log(
|
|
6106
|
+
} else if (result.data?.status === "running") console.log(" Still running in the background; `mushi skills list` shows the result in a few minutes.");
|
|
6107
|
+
else console.log(` Done: ${result.data?.synced ?? 0} synced, ${result.data?.skipped ?? 0} skipped, ${result.data?.errors ?? 0} errors`);
|
|
6100
6108
|
}
|
|
6101
6109
|
console.log();
|
|
6102
6110
|
});
|
package/dist/init.js
CHANGED
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
saveConfig,
|
|
26
26
|
savedSdkKeyFor,
|
|
27
27
|
trySaveKeyToKeychain
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-AJ6TRLJX.js";
|
|
29
29
|
import {
|
|
30
30
|
MUSHI_CLI_VERSION
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-P7JI5H57.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-
|
|
2040
|
+
const { runConnect } = await import("./connect-4TSPUKYX.js");
|
|
2041
2041
|
const saved = loadConfig();
|
|
2042
2042
|
const result = await runConnect(
|
|
2043
2043
|
{
|
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.
|
|
17
|
+
declare const MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.24.5";
|
|
18
18
|
|
|
19
19
|
export { MUSHI_CLI_VERSION, MUSHI_MCP_PIN_SPEC };
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/dist/chunk-27FTLLR2.js
DELETED