open-azdo 0.1.6 → 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: {
@@ -28715,6 +28716,9 @@ var buildReviewPrompt = exports_Effect.fn("reviewPrompt.buildReviewPrompt")(func
28715
28716
  }),
28716
28717
  "Only report issues grounded in the provided diff and file excerpts.",
28717
28718
  "If a concern does not map cleanly to a changed line, leave it out of findings and put it in unmappedNotes.",
28719
+ "Use a lively review tone with emojis throughout the human-readable text fields.",
28720
+ "Include emojis in summary, finding titles, finding bodies, and unmapped notes; prefer multiple relevant emojis instead of a single token.",
28721
+ "Keep the JSON schema unchanged and keep every string concise, professional, and readable.",
28718
28722
  customPrompt ? `Additional repository prompt:
28719
28723
  ${customPrompt}` : "",
28720
28724
  "Pull request context:",
@@ -30001,4 +30005,4 @@ var main = async (argv, env) => await exports_Effect.runPromise(runCliWithExitHa
30001
30005
  // bin/open-azdo.ts
30002
30006
  process.exitCode = await main(process.argv.slice(2), process.env);
30003
30007
 
30004
- //# debugId=D1E0CFCA8A85885F64756E2164756E21
30008
+ //# debugId=F154723678519BE164756E2164756E21