@mate_tsaava/pr-review 1.0.0 → 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.
@@ -80,6 +80,10 @@ export class ClaudeAdapter {
80
80
  role: "user",
81
81
  content: userPrompt,
82
82
  },
83
+ {
84
+ role: "assistant",
85
+ content: "{",
86
+ },
83
87
  ],
84
88
  });
85
89
  if (this.verbose) {
@@ -99,7 +103,8 @@ export class ClaudeAdapter {
99
103
  console.log(content.text);
100
104
  console.log("=".repeat(80) + "\n");
101
105
  }
102
- return this.parseResponse(content.text);
106
+ // Prepend "{" since we used prefill
107
+ return this.parseResponse("{" + content.text);
103
108
  }
104
109
  catch (error) {
105
110
  lastError = error instanceof Error ? error : new Error(String(error));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mate_tsaava/pr-review",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "AI-powered code review CLI for Azure DevOps pull requests",
5
5
  "type": "module",
6
6
  "bin": {