@_mustachio/ai-review-agent 1.0.1 → 1.0.2

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/index.js CHANGED
@@ -26129,8 +26129,8 @@ function runReview(prompt, id, { log = console.log } = {}) {
26129
26129
  let stdout;
26130
26130
  try {
26131
26131
  stdout = execSync(
26132
- `cat "${tmpFile}" | opencode run --format json --title "PR Review #${id}"`,
26133
- { encoding: 'utf-8', maxBuffer: 50 * 1024 * 1024, stdio: ['pipe', 'pipe', 'pipe'] }
26132
+ `opencode run --format json --title "PR Review #${id}" "$(cat "${tmpFile}")"`,
26133
+ { encoding: 'utf-8', maxBuffer: 50 * 1024 * 1024, stdio: ['pipe', 'pipe', 'pipe'], shell: '/bin/bash' }
26134
26134
  );
26135
26135
  } catch (execErr) {
26136
26136
  stderr = execErr.stderr || '';