@locusai/cli 0.21.3 → 0.21.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.
Files changed (2) hide show
  1. package/bin/locus.js +2 -2
  2. package/package.json +1 -1
package/bin/locus.js CHANGED
@@ -10705,7 +10705,7 @@ var exports_review = {};
10705
10705
  __export(exports_review, {
10706
10706
  reviewCommand: () => reviewCommand
10707
10707
  });
10708
- import { execSync as execSync15 } from "node:child_process";
10708
+ import { execFileSync as execFileSync2, execSync as execSync15 } from "node:child_process";
10709
10709
  import { existsSync as existsSync21, readFileSync as readFileSync14 } from "node:fs";
10710
10710
  import { join as join21 } from "node:path";
10711
10711
  function printHelp2() {
@@ -10857,7 +10857,7 @@ ${output.slice(0, 60000)}
10857
10857
 
10858
10858
  ---
10859
10859
  _Reviewed by Locus AI (${config.ai.provider}/${flags.model ?? config.ai.model})_`;
10860
- execSync15(`gh pr comment ${pr.number} --body ${JSON.stringify(reviewBody)}`, { cwd: projectRoot, encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] });
10860
+ execFileSync2("gh", ["pr", "comment", String(pr.number), "--body", reviewBody], { cwd: projectRoot, encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] });
10861
10861
  process.stderr.write(` ${green("✓")} Review posted ${dim(`(${timer.formatted()})`)}
10862
10862
  `);
10863
10863
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locusai/cli",
3
- "version": "0.21.3",
3
+ "version": "0.21.4",
4
4
  "description": "GitHub-native AI engineering assistant",
5
5
  "type": "module",
6
6
  "bin": {