open-azdo 0.1.7 → 0.1.8

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/open-azdo.js CHANGED
@@ -28484,7 +28484,8 @@ var buildOpenCodeConfig = (agentName) => ({
28484
28484
  }
28485
28485
  }
28486
28486
  });
28487
- var buildOpenCodeArgs = (config, prompt) => [
28487
+ var REVIEW_TRIGGER_MESSAGE = "Review the pull request using your configured instructions and return strict JSON only.";
28488
+ var buildOpenCodeArgs = (config) => [
28488
28489
  "run",
28489
28490
  "--format",
28490
28491
  "json",
@@ -28493,7 +28494,7 @@ var buildOpenCodeArgs = (config, prompt) => [
28493
28494
  "--model",
28494
28495
  config.model,
28495
28496
  ...config.opencodeVariant ? ["--variant", config.opencodeVariant] : [],
28496
- prompt
28497
+ REVIEW_TRIGGER_MESSAGE
28497
28498
  ];
28498
28499
  var extractFinalResponse = (output) => {
28499
28500
  const texts = [];
@@ -28609,7 +28610,7 @@ class OpenCodeService extends Service()("open-azdo/OpenCodeService") {
28609
28610
  const result3 = yield* runner.execute({
28610
28611
  operation: "OpenCodeService.run",
28611
28612
  command: "opencode",
28612
- args: buildOpenCodeArgs(config, prompt),
28613
+ args: buildOpenCodeArgs(config),
28613
28614
  cwd: config.workspace,
28614
28615
  timeoutMs: config.opencodeTimeoutMs,
28615
28616
  env: {
@@ -30004,4 +30005,4 @@ var main = async (argv, env) => await exports_Effect.runPromise(runCliWithExitHa
30004
30005
  // bin/open-azdo.ts
30005
30006
  process.exitCode = await main(process.argv.slice(2), process.env);
30006
30007
 
30007
- //# debugId=E410F5CE2DBEB62D64756E2164756E21
30008
+ //# debugId=F154723678519BE164756E2164756E21