@llmist/cli 9.5.3 → 9.5.4

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/cli.js CHANGED
@@ -79,7 +79,7 @@ import { Command, InvalidArgumentError as InvalidArgumentError2 } from "commande
79
79
  // package.json
80
80
  var package_default = {
81
81
  name: "@llmist/cli",
82
- version: "9.5.3",
82
+ version: "9.5.4",
83
83
  description: "CLI for llmist - run LLM agents from the command line",
84
84
  type: "module",
85
85
  main: "dist/cli.js",
@@ -1052,7 +1052,7 @@ async function installNpmPackage(spec, cacheDir) {
1052
1052
  };
1053
1053
  fs5.writeFileSync(path4.join(cacheDir, "package.json"), JSON.stringify(packageJson, null, 2));
1054
1054
  const packageSpec = spec.version ? `${spec.package}@${spec.version}` : spec.package;
1055
- const installCmd = `npm install "${packageSpec}"`;
1055
+ const installCmd = `npm install --foreground-scripts "${packageSpec}"`;
1056
1056
  try {
1057
1057
  execSync(installCmd, {
1058
1058
  stdio: "inherit",
@@ -1085,7 +1085,7 @@ async function installGitPackage(spec, cacheDir) {
1085
1085
  }
1086
1086
  if (fs5.existsSync(path4.join(cacheDir, "package.json"))) {
1087
1087
  const pm = getPackageManager();
1088
- const installCmd = pm === "bun" ? "bun install" : "npm install";
1088
+ const installCmd = pm === "bun" ? "bun install" : "npm install --foreground-scripts";
1089
1089
  const runCmd = pm === "bun" ? "bun run" : "npm run";
1090
1090
  try {
1091
1091
  execSync(installCmd, { cwd: cacheDir, stdio: "inherit" });