@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.
- package/dist/{chunk-AKUYV2CR.js → chunk-5N33DJUL.js} +3 -3
- package/dist/chunk-AGWQYT6I.js +8 -0
- package/dist/{chunk-LHSWFJOB.js → chunk-EHLZL2M2.js} +1 -1
- package/dist/chunk-FUXYHTWF.js +10 -0
- package/dist/{chunk-25P6NAME.js → chunk-GNGVUQL3.js} +2 -2
- package/dist/{chunk-UZQZU5OP.js → chunk-QI2A4PGK.js} +1 -1
- package/dist/{chunk-AEXZYEUS.js → chunk-WGMJHJAK.js} +3 -3
- package/dist/{connect-HSL2EUEV.js → connect-MKDJTERU.js} +2 -2
- package/dist/{connect-OPWVFSNG.js → connect-NUUPZ5ER.js} +3 -3
- package/dist/{daemon-ZQ6WYRLD.js → daemon-SA3MBHOQ.js} +3 -3
- package/dist/detect.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/init.d.ts +2 -1
- package/dist/init.js +3 -3
- package/dist/{version-JUEQJNGV.js → version-YXVLZLBR.js} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wizard-args.d.ts +2 -1
- package/dist/wizard-bin.d.ts +2 -1
- package/dist/wizard-bin.js +3 -3
- package/package.json +4 -4
- package/templates/svelte/package.json +4 -4
- package/templates/vue/package.json +2 -2
- package/dist/chunk-JQQACG3P.js +0 -10
- package/dist/chunk-WJ7ZTOF7.js +0 -8
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
saveConfig,
|
|
33
33
|
savedSdkKeyFor,
|
|
34
34
|
trySaveKeyToKeychain
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-EHLZL2M2.js";
|
|
36
36
|
import {
|
|
37
37
|
MUSHI_CLI_VERSION
|
|
38
|
-
} from "./chunk-
|
|
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-
|
|
2197
|
+
const { runConnect } = await import("./connect-MKDJTERU.js");
|
|
2198
2198
|
const saved = loadConfig();
|
|
2199
2199
|
const result = await runConnect(
|
|
2200
2200
|
{
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
requireUuid,
|
|
10
10
|
saveConfig,
|
|
11
11
|
savedSdkKeyFor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QI2A4PGK.js";
|
|
13
13
|
import {
|
|
14
14
|
MUSHI_MCP_PIN_SPEC
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FUXYHTWF.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-QI2A4PGK.js";
|
|
12
12
|
import {
|
|
13
13
|
MUSHI_CLI_VERSION
|
|
14
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
9
|
+
} from "./chunk-EHLZL2M2.js";
|
|
10
10
|
import {
|
|
11
11
|
MUSHI_MCP_PIN_SPEC
|
|
12
|
-
} from "./chunk-
|
|
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-
|
|
5
|
+
} from "./chunk-GNGVUQL3.js";
|
|
6
6
|
import "./chunk-CG5KPP4S.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
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-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
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,
|
|
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-
|
|
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-
|
|
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-
|
|
102
|
+
} from "./chunk-QI2A4PGK.js";
|
|
103
103
|
import {
|
|
104
104
|
MUSHI_CLI_VERSION,
|
|
105
105
|
MUSHI_MCP_PIN_SPEC
|
|
106
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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,
|
|
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-
|
|
16
|
+
} from "./chunk-5N33DJUL.js";
|
|
17
17
|
import "./chunk-LFP3NPZT.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
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 {
|
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.
|
|
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
package/dist/wizard-args.d.ts
CHANGED
|
@@ -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,
|
|
81
|
+
export { FLAGS_HELP, MIN_NODE_MAJOR, UNKNOWN_COMMAND_EXIT, WIZARD_PROBE_ENV, assertNodeVersion, isUnknownTopLevelCommand, newAppHint, parseArgs };
|
|
82
|
+
export type { ParsedArgs };
|
package/dist/wizard-bin.d.ts
CHANGED
|
@@ -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 {
|
|
38
|
+
export { runWizardBin, wizardUpgradeCommand };
|
|
39
|
+
export type { WizardBinOptions };
|
package/dist/wizard-bin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runInit
|
|
3
|
-
} from "./chunk-
|
|
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-
|
|
15
|
-
import "./chunk-
|
|
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.
|
|
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": "^
|
|
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": "^
|
|
19
|
+
"tsup": "^9.0.0",
|
|
20
20
|
"typescript": "^6.0.3",
|
|
21
|
-
"vitest": "^
|
|
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.
|
|
13
|
+
"svelte": "^5.46.4"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@sveltejs/vite-plugin-svelte": "^
|
|
17
|
-
"typescript": "^
|
|
18
|
-
"vite": "^
|
|
16
|
+
"@sveltejs/vite-plugin-svelte": "^7.3.1",
|
|
17
|
+
"typescript": "^6.0.3",
|
|
18
|
+
"vite": "^8.0.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/dist/chunk-JQQACG3P.js
DELETED