claude-issue-solver 1.28.0 → 1.28.1
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/commands/solve.js +4 -4
- package/package.json +1 -1
package/dist/commands/solve.js
CHANGED
|
@@ -142,9 +142,9 @@ echo "The terminal stays open for follow-up changes."
|
|
|
142
142
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
143
143
|
echo ""
|
|
144
144
|
|
|
145
|
-
${botToken ? `# Bot token for reviews
|
|
145
|
+
${botToken ? `# Bot token for reviews (only used during review, not PR creation)
|
|
146
146
|
export BOT_TOKEN="${botToken}"
|
|
147
|
-
|
|
147
|
+
# DO NOT set GH_TOKEN here - PR should be created as you, not the bot
|
|
148
148
|
` : ''}
|
|
149
149
|
|
|
150
150
|
# Function to create PR
|
|
@@ -213,7 +213,7 @@ get_pr_number() {
|
|
|
213
213
|
|
|
214
214
|
# Function to get PR review status
|
|
215
215
|
get_review_status() {
|
|
216
|
-
|
|
216
|
+
gh pr view "$1" --json reviewDecision --jq '.reviewDecision' 2>/dev/null
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
# Watch for new commits in background and create PR
|
|
@@ -337,7 +337,7 @@ Review the code and either approve or request changes."
|
|
|
337
337
|
echo ""
|
|
338
338
|
|
|
339
339
|
# Get the review comments
|
|
340
|
-
REVIEW_COMMENTS=$(
|
|
340
|
+
REVIEW_COMMENTS=$(gh pr view $PR_NUM --json reviews --jq '.reviews[-1].body' 2>/dev/null)
|
|
341
341
|
|
|
342
342
|
FIX_PROMPT="The code review requested changes. Please fix them:
|
|
343
343
|
|