@mushi-mushi/cli 0.43.0 → 0.43.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.
@@ -32,10 +32,10 @@ import {
32
32
  saveConfig,
33
33
  savedSdkKeyFor,
34
34
  trySaveKeyToKeychain
35
- } from "./chunk-LHSWFJOB.js";
35
+ } from "./chunk-EHLZL2M2.js";
36
36
  import {
37
37
  MUSHI_CLI_VERSION
38
- } from "./chunk-WJ7ZTOF7.js";
38
+ } from "./chunk-AGWQYT6I.js";
39
39
  import {
40
40
  FRAMEWORKS,
41
41
  detectFramework,
@@ -2194,7 +2194,7 @@ async function maybeOfferConnect(credentials, options, _consoleBase) {
2194
2194
  if (p.isCancel(answer) || !answer) return;
2195
2195
  const endpoint = resolveCloudEndpoint(options.endpoint);
2196
2196
  try {
2197
- const { runConnect } = await import("./connect-HSL2EUEV.js");
2197
+ const { runConnect } = await import("./connect-MKDJTERU.js");
2198
2198
  const saved = loadConfig();
2199
2199
  const result = await runConnect(
2200
2200
  {
@@ -0,0 +1,8 @@
1
+ // src/version.ts
2
+ var MUSHI_CLI_VERSION = true ? "0.43.1" : "0.0.0-dev";
3
+ var MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.33.1";
4
+
5
+ export {
6
+ MUSHI_CLI_VERSION,
7
+ MUSHI_MCP_PIN_SPEC
8
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MUSHI_CLI_VERSION
3
- } from "./chunk-WJ7ZTOF7.js";
3
+ } from "./chunk-AGWQYT6I.js";
4
4
  import {
5
5
  assertEndpoint,
6
6
  normalizeEndpoint,
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/version.ts
4
+ var MUSHI_CLI_VERSION = true ? "0.43.1" : "0.0.0-dev";
5
+ var MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.33.1";
6
+
7
+ export {
8
+ MUSHI_CLI_VERSION,
9
+ MUSHI_MCP_PIN_SPEC
10
+ };
@@ -9,10 +9,10 @@ import {
9
9
  requireUuid,
10
10
  saveConfig,
11
11
  savedSdkKeyFor
12
- } from "./chunk-UZQZU5OP.js";
12
+ } from "./chunk-QI2A4PGK.js";
13
13
  import {
14
14
  MUSHI_MCP_PIN_SPEC
15
- } from "./chunk-JQQACG3P.js";
15
+ } from "./chunk-FUXYHTWF.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-JQQACG3P.js";
4
+ } from "./chunk-FUXYHTWF.js";
5
5
  import {
6
6
  CLOUD_API_ENDPOINT,
7
7
  normalizeEndpoint,
@@ -8,10 +8,10 @@ import {
8
8
  requireConfig,
9
9
  requireUuid,
10
10
  tryLoadWorkerKey
11
- } from "./chunk-UZQZU5OP.js";
11
+ } from "./chunk-QI2A4PGK.js";
12
12
  import {
13
13
  MUSHI_CLI_VERSION
14
- } from "./chunk-JQQACG3P.js";
14
+ } from "./chunk-FUXYHTWF.js";
15
15
 
16
16
  // src/worker/daemon.ts
17
17
  import { existsSync as existsSync6, readFileSync as readFileSync5 } from "fs";
@@ -2019,7 +2019,7 @@ function registerWorkCommands(program) {
2019
2019
  if (opts.repoDir || opts.report || opts.followups || opts.recheck || opts.collapseBacklog) {
2020
2020
  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");
2021
2021
  }
2022
- const { runDaemon: runDaemon2 } = await import("./daemon-ZQ6WYRLD.js");
2022
+ const { runDaemon: runDaemon2 } = await import("./daemon-SA3MBHOQ.js");
2023
2023
  await runDaemon2({ configPath: opts.workerConfig, ...opts.agent !== void 0 ? { agent } : {}, ...opts.anyRepo ? { anyRepo: true } : {} });
2024
2024
  return;
2025
2025
  }
@@ -6,10 +6,10 @@ import {
6
6
  saveConfig,
7
7
  savedSdkKeyFor,
8
8
  waitForIngestReady
9
- } from "./chunk-LHSWFJOB.js";
9
+ } from "./chunk-EHLZL2M2.js";
10
10
  import {
11
11
  MUSHI_MCP_PIN_SPEC
12
- } from "./chunk-WJ7ZTOF7.js";
12
+ } from "./chunk-AGWQYT6I.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-25P6NAME.js";
5
+ } from "./chunk-GNGVUQL3.js";
6
6
  import "./chunk-CG5KPP4S.js";
7
- import "./chunk-UZQZU5OP.js";
8
- import "./chunk-JQQACG3P.js";
7
+ import "./chunk-QI2A4PGK.js";
8
+ import "./chunk-FUXYHTWF.js";
9
9
  import "./chunk-X6SC4JKO.js";
10
10
  export {
11
11
  resolveSdkEnvKey,
@@ -12,9 +12,9 @@ import {
12
12
  runDaemon,
13
13
  stopHint,
14
14
  workerHostId
15
- } from "./chunk-AEXZYEUS.js";
16
- import "./chunk-UZQZU5OP.js";
17
- import "./chunk-JQQACG3P.js";
15
+ } from "./chunk-WGMJHJAK.js";
16
+ import "./chunk-QI2A4PGK.js";
17
+ import "./chunk-FUXYHTWF.js";
18
18
  import "./chunk-X6SC4JKO.js";
19
19
  export {
20
20
  assertWorkerKey,
package/dist/detect.d.ts CHANGED
@@ -43,4 +43,5 @@ declare function detectPackageManager(cwd: string): PackageManager;
43
43
  declare function installCommand(pm: PackageManager, packages: string[]): string;
44
44
  declare function envVarsToWrite(apiKey: string, projectId: string, framework: Framework, endpoint?: string): string;
45
45
 
46
- export { FRAMEWORKS, FRAMEWORK_IDS, type Framework, type FrameworkId, type PackageJson, type PackageManager, detectFramework, detectPackageManager, envVarsToWrite, installCommand, isFrameworkId, isLauncherOnly, isMushiSdkPackage, readPackageJson };
46
+ export { FRAMEWORKS, FRAMEWORK_IDS, detectFramework, detectPackageManager, envVarsToWrite, installCommand, isFrameworkId, isLauncherOnly, isMushiSdkPackage, readPackageJson };
47
+ export type { Framework, FrameworkId, PackageJson, PackageManager };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- export { }
2
+ export { };
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  sanitizeEndpoint,
29
29
  sanitizeProjectId,
30
30
  writeMcpServerEntry
31
- } from "./chunk-25P6NAME.js";
31
+ } from "./chunk-GNGVUQL3.js";
32
32
  import {
33
33
  FRAMEWORKS,
34
34
  FRAMEWORK_IDS,
@@ -59,7 +59,7 @@ import {
59
59
  registerUxCommands,
60
60
  registerWorkCommands,
61
61
  validateWorkerConfig
62
- } from "./chunk-AEXZYEUS.js";
62
+ } from "./chunk-WGMJHJAK.js";
63
63
  import {
64
64
  CONFIG_PATH,
65
65
  MushiCliError,
@@ -99,11 +99,11 @@ import {
99
99
  tryLoadKeyFromKeychain,
100
100
  trySaveKeyToKeychain,
101
101
  trySaveWorkerKey
102
- } from "./chunk-UZQZU5OP.js";
102
+ } from "./chunk-QI2A4PGK.js";
103
103
  import {
104
104
  MUSHI_CLI_VERSION,
105
105
  MUSHI_MCP_PIN_SPEC
106
- } from "./chunk-JQQACG3P.js";
106
+ } from "./chunk-FUXYHTWF.js";
107
107
  import {
108
108
  CLOUD_API_ENDPOINT,
109
109
  CLOUD_MCP_OAUTH_URL,
@@ -1639,7 +1639,7 @@ async function checkOnboardingStatus(config, _consoleBase, cwd, doFetch = global
1639
1639
  }
1640
1640
  async function checkVersionDrift(cwd, doFetch) {
1641
1641
  const checks = [];
1642
- const { MUSHI_CLI_VERSION: MUSHI_CLI_VERSION2 } = await import("./version-JUEQJNGV.js");
1642
+ const { MUSHI_CLI_VERSION: MUSHI_CLI_VERSION2 } = await import("./version-YXVLZLBR.js");
1643
1643
  if (MUSHI_CLI_VERSION2 === "0.0.0-dev") return checks;
1644
1644
  const parse2 = (v) => {
1645
1645
  const m = v.replace(/^[~^]/, "").match(/^(\d+)\.(\d+)\.(\d+)/);
@@ -2665,7 +2665,7 @@ async function maybeOfferConnect(credentials, options, _consoleBase) {
2665
2665
  if (p.isCancel(answer) || !answer) return;
2666
2666
  const endpoint = resolveCloudEndpoint(options.endpoint);
2667
2667
  try {
2668
- const { runConnect: runConnect2 } = await import("./connect-OPWVFSNG.js");
2668
+ const { runConnect: runConnect2 } = await import("./connect-NUUPZ5ER.js");
2669
2669
  const saved = loadConfig();
2670
2670
  const result = await runConnect2(
2671
2671
  {
package/dist/init.d.ts CHANGED
@@ -352,4 +352,5 @@ interface DryRunInput {
352
352
  */
353
353
  declare function planInitDryRun(input: DryRunInput): string[];
354
354
 
355
- export { CLI_FRESHNESS_SOURCE, type DryRunInput, type FreshnessSource, type InitOptions, type SavedCredentialsResolution, type SnippetOutcome, type SnippetPlan, type WizardCredentials, type WizardMintDeps, type WizardMintResult, type WizardMintTarget, applySnippetPlan, freshnessHint, isEnvFileCoveredByGitignore, mintWizardKeys, needsEditorKey, planCliConfigUpdate, planInitDryRun, planSnippetInjection, resolveSavedCredentials, runInit, sampleBugSnippet, sanitizeSecret, snippetTarget };
355
+ export { CLI_FRESHNESS_SOURCE, applySnippetPlan, freshnessHint, isEnvFileCoveredByGitignore, mintWizardKeys, needsEditorKey, planCliConfigUpdate, planInitDryRun, planSnippetInjection, resolveSavedCredentials, runInit, sampleBugSnippet, sanitizeSecret, snippetTarget };
356
+ export type { DryRunInput, FreshnessSource, InitOptions, SavedCredentialsResolution, SnippetOutcome, SnippetPlan, WizardCredentials, WizardMintDeps, WizardMintResult, WizardMintTarget };
package/dist/init.js CHANGED
@@ -13,10 +13,10 @@ import {
13
13
  sampleBugSnippet,
14
14
  sanitizeSecret,
15
15
  snippetTarget
16
- } from "./chunk-AKUYV2CR.js";
16
+ } from "./chunk-5N33DJUL.js";
17
17
  import "./chunk-LFP3NPZT.js";
18
- import "./chunk-LHSWFJOB.js";
19
- import "./chunk-WJ7ZTOF7.js";
18
+ import "./chunk-EHLZL2M2.js";
19
+ import "./chunk-AGWQYT6I.js";
20
20
  import "./chunk-AWASJDQI.js";
21
21
  import "./chunk-X64CFG54.js";
22
22
  export {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  MUSHI_CLI_VERSION,
4
4
  MUSHI_MCP_PIN_SPEC
5
- } from "./chunk-JQQACG3P.js";
5
+ } from "./chunk-FUXYHTWF.js";
6
6
  export {
7
7
  MUSHI_CLI_VERSION,
8
8
  MUSHI_MCP_PIN_SPEC
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.33.0";
17
+ declare const MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.33.1";
18
18
 
19
19
  export { MUSHI_CLI_VERSION, 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-WJ7ZTOF7.js";
4
+ } from "./chunk-AGWQYT6I.js";
5
5
  export {
6
6
  MUSHI_CLI_VERSION,
7
7
  MUSHI_MCP_PIN_SPEC
@@ -78,4 +78,5 @@ declare function parseArgs(argv: readonly string[]): ParsedArgs;
78
78
  */
79
79
  declare function assertNodeVersion(binName: string): void;
80
80
 
81
- export { FLAGS_HELP, MIN_NODE_MAJOR, type ParsedArgs, UNKNOWN_COMMAND_EXIT, WIZARD_PROBE_ENV, assertNodeVersion, isUnknownTopLevelCommand, newAppHint, parseArgs };
81
+ export { FLAGS_HELP, MIN_NODE_MAJOR, UNKNOWN_COMMAND_EXIT, WIZARD_PROBE_ENV, assertNodeVersion, isUnknownTopLevelCommand, newAppHint, parseArgs };
82
+ export type { ParsedArgs };
@@ -35,4 +35,5 @@ declare function wizardUpgradeCommand(bin: string): string;
35
35
  /** Run a bin's argv (`process.argv.slice(2)`), printing failures and exiting 1. */
36
36
  declare function runWizardBin(argv: readonly string[], opts: WizardBinOptions): Promise<void>;
37
37
 
38
- export { type WizardBinOptions, runWizardBin, wizardUpgradeCommand };
38
+ export { runWizardBin, wizardUpgradeCommand };
39
+ export type { WizardBinOptions };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runInit
3
- } from "./chunk-AKUYV2CR.js";
3
+ } from "./chunk-5N33DJUL.js";
4
4
  import {
5
5
  FLAGS_HELP,
6
6
  UNKNOWN_COMMAND_EXIT,
@@ -11,8 +11,8 @@ import {
11
11
  scaffoldTemplate
12
12
  } from "./chunk-4JF7C3MY.js";
13
13
  import "./chunk-LFP3NPZT.js";
14
- import "./chunk-LHSWFJOB.js";
15
- import "./chunk-WJ7ZTOF7.js";
14
+ import "./chunk-EHLZL2M2.js";
15
+ import "./chunk-AGWQYT6I.js";
16
16
  import "./chunk-AWASJDQI.js";
17
17
  import "./chunk-X64CFG54.js";
18
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mushi-mushi/cli",
3
- "version": "0.43.0",
3
+ "version": "0.43.1",
4
4
  "license": "MIT",
5
5
  "description": "Mushi Mushi CLI: SDK setup, MCP wiring, triage. One place to improve AI-built apps: fix bugs, smooth user journeys and clean up the code.",
6
6
  "bin": {
@@ -11,14 +11,14 @@
11
11
  "commander": "^14.0.2"
12
12
  },
13
13
  "optionalDependencies": {
14
- "@napi-rs/keyring": "^1.1.5"
14
+ "@napi-rs/keyring": "^2.1.2"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/node": "^22.20.0",
18
18
  "eslint": "^10.6.0",
19
- "tsup": "^8.5.1",
19
+ "tsup": "^9.0.0",
20
20
  "typescript": "^6.0.3",
21
- "vitest": "^4.1.9",
21
+ "vitest": "^5.1.1",
22
22
  "@mushi-mushi/eslint-config": "0.0.0"
23
23
  },
24
24
  "author": "Kenji Sakuramoto <kensaurus@gmail.com> (https://github.com/kensaurus)",
@@ -10,11 +10,11 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "mushi-mushi": "^1.35.0",
13
- "svelte": "^5.0.0"
13
+ "svelte": "^5.46.4"
14
14
  },
15
15
  "devDependencies": {
16
- "@sveltejs/vite-plugin-svelte": "^6.0.0",
17
- "typescript": "^5.9.0",
18
- "vite": "^7.0.0"
16
+ "@sveltejs/vite-plugin-svelte": "^7.3.1",
17
+ "typescript": "^6.0.3",
18
+ "vite": "^8.0.0"
19
19
  }
20
20
  }
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@vitejs/plugin-vue": "^6.0.0",
17
- "typescript": "^5.9.0",
18
- "vite": "^7.0.0"
17
+ "typescript": "^6.0.3",
18
+ "vite": "^8.0.0"
19
19
  }
20
20
  }
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/version.ts
4
- var MUSHI_CLI_VERSION = true ? "0.43.0" : "0.0.0-dev";
5
- var MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.33.0";
6
-
7
- export {
8
- MUSHI_CLI_VERSION,
9
- MUSHI_MCP_PIN_SPEC
10
- };
@@ -1,8 +0,0 @@
1
- // src/version.ts
2
- var MUSHI_CLI_VERSION = true ? "0.43.0" : "0.0.0-dev";
3
- var MUSHI_MCP_PIN_SPEC = "@mushi-mushi/mcp@0.33.0";
4
-
5
- export {
6
- MUSHI_CLI_VERSION,
7
- MUSHI_MCP_PIN_SPEC
8
- };