@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.
@@ -9,10 +9,10 @@ import {
9
9
  requireUuid,
10
10
  saveConfig,
11
11
  savedSdkKeyFor
12
- } from "./chunk-H6HZNVVT.js";
12
+ } from "./chunk-3FHZGMPD.js";
13
13
  import {
14
14
  MUSHI_MCP_PIN_SPEC
15
- } from "./chunk-YYDQ3IYE.js";
15
+ } from "./chunk-SHRMFU37.js";
16
16
  import {
17
17
  assertEndpoint,
18
18
  normalizeEndpoint
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  MUSHI_CLI_VERSION
4
- } from "./chunk-YYDQ3IYE.js";
4
+ } from "./chunk-SHRMFU37.js";
5
5
  import {
6
6
  CLOUD_API_ENDPOINT,
7
7
  normalizeEndpoint
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var MUSHI_CLI_VERSION = true ? "0.36.2" : "0.0.0-dev";
2
+ var MUSHI_CLI_VERSION = true ? "0.36.3" : "0.0.0-dev";
3
3
  var MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.30.7";
4
4
 
5
5
  export {
@@ -8,10 +8,10 @@ import {
8
8
  requireConfig,
9
9
  requireUuid,
10
10
  tryLoadWorkerKey
11
- } from "./chunk-H6HZNVVT.js";
11
+ } from "./chunk-3FHZGMPD.js";
12
12
  import {
13
13
  MUSHI_CLI_VERSION
14
- } from "./chunk-YYDQ3IYE.js";
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-D3BEJ4ZR.js");
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
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MUSHI_CLI_VERSION
3
- } from "./chunk-76LVDUR5.js";
3
+ } from "./chunk-JBJ7FUHX.js";
4
4
  import {
5
5
  assertEndpoint,
6
6
  normalizeEndpoint
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/version.ts
4
- var MUSHI_CLI_VERSION = true ? "0.36.2" : "0.0.0-dev";
4
+ var MUSHI_CLI_VERSION = true ? "0.36.3" : "0.0.0-dev";
5
5
  var MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.30.7";
6
6
 
7
7
  export {
@@ -6,10 +6,10 @@ import {
6
6
  saveConfig,
7
7
  savedSdkKeyFor,
8
8
  waitForIngestReady
9
- } from "./chunk-TN2IZOY7.js";
9
+ } from "./chunk-K3R34SCH.js";
10
10
  import {
11
11
  MUSHI_MCP_PIN_SPEC
12
- } from "./chunk-76LVDUR5.js";
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-2JOEQQOU.js";
5
+ } from "./chunk-2JOWTOXE.js";
6
6
  import "./chunk-KOBEOGNF.js";
7
- import "./chunk-H6HZNVVT.js";
8
- import "./chunk-YYDQ3IYE.js";
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-OKT53MJ7.js";
14
- import "./chunk-H6HZNVVT.js";
15
- import "./chunk-YYDQ3IYE.js";
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-2JOEQQOU.js";
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-OKT53MJ7.js";
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-H6HZNVVT.js";
92
+ } from "./chunk-3FHZGMPD.js";
93
93
  import {
94
94
  MUSHI_CLI_VERSION,
95
95
  MUSHI_MCP_PIN_SPEC
96
- } from "./chunk-YYDQ3IYE.js";
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-TOLAY73N.js");
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-YZMEO7Y5.js");
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-TN2IZOY7.js";
28
+ } from "./chunk-K3R34SCH.js";
29
29
  import {
30
30
  MUSHI_CLI_VERSION
31
- } from "./chunk-76LVDUR5.js";
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-W4VHAQIQ.js");
2130
+ const { runConnect } = await import("./connect-E2XRKZXB.js");
2131
2131
  const saved = loadConfig();
2132
2132
  const result = await runConnect(
2133
2133
  {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  MUSHI_CLI_VERSION,
4
4
  MUSHI_MCP_PIN_SPEC
5
- } from "./chunk-YYDQ3IYE.js";
5
+ } from "./chunk-SHRMFU37.js";
6
6
  export {
7
7
  MUSHI_CLI_VERSION,
8
8
  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-76LVDUR5.js";
4
+ } from "./chunk-JBJ7FUHX.js";
5
5
  export {
6
6
  MUSHI_CLI_VERSION,
7
7
  MUSHI_MCP_PIN_SPEC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mushi-mushi/cli",
3
- "version": "0.36.2",
3
+ "version": "0.36.3",
4
4
  "license": "MIT",
5
5
  "description": "Mushi Mushi CLI: SDK setup, MCP wiring, triage. Bug fixing for AI-built apps: plain-English diagnosis + a ready fix, in your editor.",
6
6
  "bin": {