@locusai/cli 0.22.5 → 0.22.6

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.
Files changed (2) hide show
  1. package/bin/locus.js +3 -3
  2. package/package.json +2 -2
package/bin/locus.js CHANGED
@@ -13511,10 +13511,10 @@ function detectPackageManager2(projectRoot) {
13511
13511
  }
13512
13512
  return "npm";
13513
13513
  }
13514
- function getInstallCommand(pm) {
13514
+ function getInstallCommand(pm, noSymlinks) {
13515
13515
  switch (pm) {
13516
13516
  case "bun":
13517
- return ["bun", "install"];
13517
+ return noSymlinks ? ["bun", "install", "--backend=copyfile"] : ["bun", "install"];
13518
13518
  case "yarn":
13519
13519
  return ["yarn", "install"];
13520
13520
  case "pnpm":
@@ -13532,7 +13532,7 @@ async function runSandboxSetup(sandboxName, projectRoot, containerWorkdir) {
13532
13532
  if (pm !== "npm") {
13533
13533
  await ensurePackageManagerInSandbox(sandboxName, pm);
13534
13534
  }
13535
- const installCmd = getInstallCommand(pm);
13535
+ const installCmd = getInstallCommand(pm, !!containerWorkdir);
13536
13536
  process.stderr.write(`
13537
13537
  Installing dependencies (${bold2(installCmd.join(" "))}) in sandbox ${dim2(sandboxName)}...
13538
13538
  `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locusai/cli",
3
- "version": "0.22.5",
3
+ "version": "0.22.6",
4
4
  "description": "GitHub-native AI engineering assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -36,7 +36,7 @@
36
36
  "license": "MIT",
37
37
  "dependencies": {},
38
38
  "devDependencies": {
39
- "@locusai/sdk": "^0.22.5",
39
+ "@locusai/sdk": "^0.22.6",
40
40
  "@types/bun": "latest",
41
41
  "typescript": "^5.8.3"
42
42
  },