claude-issue-solver 1.39.0 → 1.39.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 +9 -0
- package/package.json +1 -1
package/dist/commands/solve.js
CHANGED
|
@@ -142,6 +142,15 @@ echo " Fetch it in main repo: git fetch origin ${branchName}"
|
|
|
142
142
|
echo ""
|
|
143
143
|
echo "Terminal will close in 3 seconds..."
|
|
144
144
|
sleep 3
|
|
145
|
+
|
|
146
|
+
# Close the terminal window (macOS)
|
|
147
|
+
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
148
|
+
if [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then
|
|
149
|
+
osascript -e 'tell application "iTerm" to close (current window)' &
|
|
150
|
+
else
|
|
151
|
+
osascript -e 'tell application "Terminal" to close (first window whose selected tab contains (frontmost tab))' &
|
|
152
|
+
fi
|
|
153
|
+
fi
|
|
145
154
|
exit 0
|
|
146
155
|
`;
|
|
147
156
|
const interactiveEnding = `
|