@mushi-mushi/cli 0.36.2 → 0.36.3
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-2JOEQQOU.js → chunk-2JOWTOXE.js} +2 -2
- package/dist/{chunk-H6HZNVVT.js → chunk-3FHZGMPD.js} +1 -1
- package/dist/{chunk-76LVDUR5.js → chunk-JBJ7FUHX.js} +1 -1
- package/dist/{chunk-OKT53MJ7.js → chunk-JNPK5SDL.js} +4 -4
- package/dist/{chunk-TN2IZOY7.js → chunk-K3R34SCH.js} +1 -1
- package/dist/{chunk-YYDQ3IYE.js → chunk-SHRMFU37.js} +1 -1
- package/dist/{connect-W4VHAQIQ.js → connect-E2XRKZXB.js} +2 -2
- package/dist/{connect-YZMEO7Y5.js → connect-K3C77CDC.js} +3 -3
- package/dist/{daemon-D3BEJ4ZR.js → daemon-USJROWQR.js} +3 -3
- package/dist/index.js +6 -6
- package/dist/init.js +3 -3
- package/dist/{version-TOLAY73N.js → version-GEKX4KET.js} +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
requireUuid,
|
|
10
10
|
saveConfig,
|
|
11
11
|
savedSdkKeyFor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3FHZGMPD.js";
|
|
13
13
|
import {
|
|
14
14
|
MUSHI_MCP_PIN_SPEC
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SHRMFU37.js";
|
|
16
16
|
import {
|
|
17
17
|
assertEndpoint,
|
|
18
18
|
normalizeEndpoint
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
requireConfig,
|
|
9
9
|
requireUuid,
|
|
10
10
|
tryLoadWorkerKey
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3FHZGMPD.js";
|
|
12
12
|
import {
|
|
13
13
|
MUSHI_CLI_VERSION
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SHRMFU37.js";
|
|
15
15
|
|
|
16
16
|
// src/worker/daemon.ts
|
|
17
17
|
import { existsSync as existsSync6, readFileSync as readFileSync5 } from "fs";
|
|
@@ -522,7 +522,7 @@ function hookFailureDetail(r, max = 900) {
|
|
|
522
522
|
const out = `hook steps failed: ${failed.join(", ")}. ${parts.join(" / ")}`.replace(/[ \t]+/g, " ");
|
|
523
523
|
return out.length > max ? `${out.slice(0, max)} [cut]` : out;
|
|
524
524
|
}
|
|
525
|
-
var INFRA_FAILURE = /\b(?:EACCES|EPERM|ENOSPC|ENOMEM|ECONNRESET|ECONNREFUSED|ETIMEDOUT|EAI_AGAIN|ENOTFOUND|E_NETWORK|E_AUTH_MISSING)\b|permission denied|could not resolve host|unable to access|connection (?:lost|reset|refused|timed out)|rate limit|index\.lock|cannot lock ref|unable to create .*\.lock|no space left|out of memory|cannot allocate memory|killed|signal 9|timed out|resource temporarily unavailable/i;
|
|
525
|
+
var INFRA_FAILURE = /\b(?:EACCES|EPERM|ENOSPC|ENOMEM|ECONNRESET|ECONNREFUSED|ETIMEDOUT|EAI_AGAIN|ENOTFOUND|E_NETWORK|E_AUTH_MISSING)\b|permission denied|could not resolve host|unable to access|connection (?:lost|reset|refused|timed out)|rate limit|index\.lock|cannot lock ref|unable to create .*\.lock|no space left|out of memory|cannot allocate memory|killed|signal 9|timed out|resource temporarily unavailable|segmentation fault|SIGSEGV|core dumped|exit (?:code|status) 139/i;
|
|
526
526
|
function classifyFailure(message, stage) {
|
|
527
527
|
if (stage === "prepare") return "infra";
|
|
528
528
|
return INFRA_FAILURE.test(message) ? "infra" : "code";
|
|
@@ -1169,7 +1169,7 @@ function registerWorkCommands(program) {
|
|
|
1169
1169
|
if (opts.repoDir || opts.report || opts.followups) {
|
|
1170
1170
|
throw new MushiCliError("E_INVALID_INPUT", "--daemon takes its lanes and clones from the worker config, not from --repo-dir, --report or --followups.", "mushi worker install");
|
|
1171
1171
|
}
|
|
1172
|
-
const { runDaemon: runDaemon2 } = await import("./daemon-
|
|
1172
|
+
const { runDaemon: runDaemon2 } = await import("./daemon-USJROWQR.js");
|
|
1173
1173
|
await runDaemon2({ configPath: opts.workerConfig, ...opts.agent !== void 0 ? { agent } : {}, ...opts.anyRepo ? { anyRepo: true } : {} });
|
|
1174
1174
|
return;
|
|
1175
1175
|
}
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
saveConfig,
|
|
7
7
|
savedSdkKeyFor,
|
|
8
8
|
waitForIngestReady
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-K3R34SCH.js";
|
|
10
10
|
import {
|
|
11
11
|
MUSHI_MCP_PIN_SPEC
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JBJ7FUHX.js";
|
|
13
13
|
import {
|
|
14
14
|
detectFramework,
|
|
15
15
|
envVarsToWrite,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
resolveSdkEnvKey,
|
|
4
4
|
runConnect
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2JOWTOXE.js";
|
|
6
6
|
import "./chunk-KOBEOGNF.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-3FHZGMPD.js";
|
|
8
|
+
import "./chunk-SHRMFU37.js";
|
|
9
9
|
import "./chunk-LGGE3LH7.js";
|
|
10
10
|
export {
|
|
11
11
|
resolveSdkEnvKey,
|
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
readWorkerKey,
|
|
11
11
|
runDaemon,
|
|
12
12
|
workerHostId
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-JNPK5SDL.js";
|
|
14
|
+
import "./chunk-3FHZGMPD.js";
|
|
15
|
+
import "./chunk-SHRMFU37.js";
|
|
16
16
|
import "./chunk-LGGE3LH7.js";
|
|
17
17
|
export {
|
|
18
18
|
assertWorkerKey,
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
sanitizeEndpoint,
|
|
23
23
|
sanitizeProjectId,
|
|
24
24
|
writeMcpServerEntry
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2JOWTOXE.js";
|
|
26
26
|
import {
|
|
27
27
|
FRAMEWORKS,
|
|
28
28
|
detectFramework,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
registerUxCommands,
|
|
51
51
|
registerWorkCommands,
|
|
52
52
|
validateWorkerConfig
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-JNPK5SDL.js";
|
|
54
54
|
import {
|
|
55
55
|
CONFIG_PATH,
|
|
56
56
|
MushiCliError,
|
|
@@ -89,11 +89,11 @@ import {
|
|
|
89
89
|
tryLoadKeyFromKeychain,
|
|
90
90
|
trySaveKeyToKeychain,
|
|
91
91
|
trySaveWorkerKey
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-3FHZGMPD.js";
|
|
93
93
|
import {
|
|
94
94
|
MUSHI_CLI_VERSION,
|
|
95
95
|
MUSHI_MCP_PIN_SPEC
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-SHRMFU37.js";
|
|
97
97
|
import {
|
|
98
98
|
CLOUD_API_ENDPOINT,
|
|
99
99
|
CLOUD_MCP_OAUTH_URL,
|
|
@@ -1609,7 +1609,7 @@ async function checkOnboardingStatus(config, _consoleBase, cwd, doFetch = global
|
|
|
1609
1609
|
}
|
|
1610
1610
|
async function checkVersionDrift(cwd, doFetch) {
|
|
1611
1611
|
const checks = [];
|
|
1612
|
-
const { MUSHI_CLI_VERSION: MUSHI_CLI_VERSION2 } = await import("./version-
|
|
1612
|
+
const { MUSHI_CLI_VERSION: MUSHI_CLI_VERSION2 } = await import("./version-GEKX4KET.js");
|
|
1613
1613
|
if (MUSHI_CLI_VERSION2 === "0.0.0-dev") return checks;
|
|
1614
1614
|
const parse2 = (v) => {
|
|
1615
1615
|
const m = v.replace(/^[~^]/, "").match(/^(\d+)\.(\d+)\.(\d+)/);
|
|
@@ -2582,7 +2582,7 @@ async function maybeOfferConnect(credentials, options, _consoleBase) {
|
|
|
2582
2582
|
if (p.isCancel(answer) || !answer) return;
|
|
2583
2583
|
const endpoint = resolveCloudEndpoint(options.endpoint);
|
|
2584
2584
|
try {
|
|
2585
|
-
const { runConnect: runConnect2 } = await import("./connect-
|
|
2585
|
+
const { runConnect: runConnect2 } = await import("./connect-K3C77CDC.js");
|
|
2586
2586
|
const saved = loadConfig();
|
|
2587
2587
|
const result = await runConnect2(
|
|
2588
2588
|
{
|
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-K3R34SCH.js";
|
|
29
29
|
import {
|
|
30
30
|
MUSHI_CLI_VERSION
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JBJ7FUHX.js";
|
|
32
32
|
import {
|
|
33
33
|
FRAMEWORKS,
|
|
34
34
|
detectFramework,
|
|
@@ -2127,7 +2127,7 @@ async function maybeOfferConnect(credentials, options, _consoleBase) {
|
|
|
2127
2127
|
if (p.isCancel(answer) || !answer) return;
|
|
2128
2128
|
const endpoint = resolveCloudEndpoint(options.endpoint);
|
|
2129
2129
|
try {
|
|
2130
|
-
const { runConnect } = await import("./connect-
|
|
2130
|
+
const { runConnect } = await import("./connect-E2XRKZXB.js");
|
|
2131
2131
|
const saved = loadConfig();
|
|
2132
2132
|
const result = await runConnect(
|
|
2133
2133
|
{
|
package/dist/version.js
CHANGED
package/package.json
CHANGED