mimi-seed 0.7.0 → 0.9.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.
|
@@ -479,7 +479,8 @@ function resolveOnPath(bin) {
|
|
|
479
479
|
async function runMcpBin(bin, extraArgs = []) {
|
|
480
480
|
const local = resolveOnPath(bin);
|
|
481
481
|
const cmd = local ? bin : "npx";
|
|
482
|
-
const
|
|
482
|
+
const pkg = process.env.MIMI_SEED_FORCE_NPX ? `${MCP_PKG}@latest` : MCP_PKG;
|
|
483
|
+
const args = local ? extraArgs : ["-y", pkg, bin, ...extraArgs];
|
|
483
484
|
return new Promise((resolve) => {
|
|
484
485
|
const child = spawn(cmd, args, {
|
|
485
486
|
stdio: "inherit",
|
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
runMcpBin,
|
|
21
21
|
tryCredById,
|
|
22
22
|
writeConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BXN3EMF6.js";
|
|
24
24
|
import {
|
|
25
25
|
catalog,
|
|
26
26
|
isLang,
|
|
@@ -1072,7 +1072,7 @@ async function cmdAuth(args) {
|
|
|
1072
1072
|
if (sub === "facebook") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["facebook"]));
|
|
1073
1073
|
if (sub === "instagram") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["instagram"]));
|
|
1074
1074
|
if (sub === "ci") {
|
|
1075
|
-
const { cmdSetup: cmdSetup2 } = await import("./setup-
|
|
1075
|
+
const { cmdSetup: cmdSetup2 } = await import("./setup-3XTSGFEF.js");
|
|
1076
1076
|
await cmdSetup2(["--only", "github,gitlab", "--reconnect", "github,gitlab"]);
|
|
1077
1077
|
return;
|
|
1078
1078
|
}
|