@mutagent/cli 0.2.182 → 0.2.183
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/bin/cli.js +7 -2
- package/package.json +2 -2
package/dist/bin/cli.js
CHANGED
|
@@ -22426,9 +22426,14 @@ test -f bun.lockb && echo "bun"
|
|
|
22426
22426
|
test -f pnpm-lock.yaml && echo "pnpm"
|
|
22427
22427
|
test -f yarn.lock && echo "yarn"
|
|
22428
22428
|
test -f package-lock.json && echo "npm"
|
|
22429
|
-
# Fallback:
|
|
22429
|
+
# Fallback: the first of bun, pnpm, yarn, npm whose \`<pm> --version\` exits 0
|
|
22430
22430
|
\`\`\`
|
|
22431
22431
|
If multiple lockfiles exist, prefer in order: \`bun > pnpm > yarn > npm\`.
|
|
22432
|
+
**A package manager counts only when \`<pm> --version\` runs** (exit 0), not when \`which\` finds it.
|
|
22433
|
+
A Homebrew Node whose dylib a later \`brew upgrade\` removed stays on PATH while every \`node\`/\`npm\`
|
|
22434
|
+
call aborts in dyld (exit 134). Skip a manager that fails its probe, and tell the user it looks
|
|
22435
|
+
broken (for a Homebrew Node: \`brew reinstall node\`). If none starts, offer only the manual guide,
|
|
22436
|
+
https://docs.mutagent.io/cli: never suggest or run an install command that cannot run.
|
|
22432
22437
|
If no lockfile and the user is in a non-JS project (e.g. Python, Go), ask which they prefer.
|
|
22433
22438
|
|
|
22434
22439
|
**2b. Ask the user via AskUserQuestion** (do NOT auto-install without consent):
|
|
@@ -44340,4 +44345,4 @@ if (process.env.CLI_VERSION) {
|
|
|
44340
44345
|
}
|
|
44341
44346
|
runCli(process.argv.slice(2), cliVersion);
|
|
44342
44347
|
|
|
44343
|
-
//# debugId=
|
|
44348
|
+
//# debugId=D510398DE28733D664756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mutagent/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.183",
|
|
4
4
|
"description": "Bun-native CLI for the MutagenT AI platform - auth, provider config, and lifecycle-tool installer for AI-native workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"bugs": {
|
|
95
95
|
"url": "https://docs.mutagent.io/support"
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "e5f0b40884f778af1a56f1284dbab302d89fcf52"
|
|
98
98
|
}
|