claude-issue-solver 1.45.6 → 1.45.7
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 +3 -2
- package/package.json +1 -1
package/dist/commands/solve.js
CHANGED
|
@@ -119,7 +119,7 @@ Instructions:
|
|
|
119
119
|
2. Implement the necessary changes
|
|
120
120
|
3. Make sure to run tests if applicable
|
|
121
121
|
4. When done, commit your changes with a descriptive message that references the issue
|
|
122
|
-
5.
|
|
122
|
+
5. Do NOT create a PR - it will be created automatically when you commit`;
|
|
123
123
|
// Write prompt to a file to avoid shell escaping issues with backticks, <>, etc.
|
|
124
124
|
const promptFile = path.join(worktreePath, '.claude-prompt.txt');
|
|
125
125
|
fs.writeFileSync(promptFile, prompt);
|
|
@@ -274,8 +274,9 @@ claude --dangerously-skip-permissions "$(cat '${promptFile}')"
|
|
|
274
274
|
# Clean up prompt file
|
|
275
275
|
rm -f '${promptFile}'
|
|
276
276
|
|
|
277
|
-
# Kill the watcher
|
|
277
|
+
# Kill the watcher and wait for any in-flight create_pr to finish
|
|
278
278
|
kill $WATCHER_PID 2>/dev/null
|
|
279
|
+
wait $WATCHER_PID 2>/dev/null
|
|
279
280
|
|
|
280
281
|
# Final PR check after Claude exits
|
|
281
282
|
create_pr
|