claude-issue-solver 1.2.0 → 1.3.0
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 +16 -2
- package/package.json +1 -1
package/dist/commands/solve.js
CHANGED
|
@@ -122,6 +122,10 @@ Instructions:
|
|
|
122
122
|
const runnerScript = path.join(worktreePath, '.claude-runner.sh');
|
|
123
123
|
const runnerContent = `#!/bin/bash
|
|
124
124
|
cd "${worktreePath}"
|
|
125
|
+
|
|
126
|
+
# Set terminal title
|
|
127
|
+
echo -ne "\\033]0;Issue #${issueNumber}: ${issue.title.replace(/"/g, '\\"').slice(0, 50)}\\007"
|
|
128
|
+
|
|
125
129
|
echo "🤖 Claude Code - Issue #${issueNumber}: ${issue.title}"
|
|
126
130
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
127
131
|
echo ""
|
|
@@ -164,14 +168,24 @@ $COMMIT_LIST
|
|
|
164
168
|
|
|
165
169
|
if [ -n "$PR_URL" ]; then
|
|
166
170
|
echo ""
|
|
167
|
-
echo "
|
|
171
|
+
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
172
|
+
echo "✅ PR CREATED!"
|
|
173
|
+
echo ""
|
|
174
|
+
echo " $PR_URL"
|
|
175
|
+
echo ""
|
|
176
|
+
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
168
177
|
echo ""
|
|
178
|
+
# Update terminal title with PR info
|
|
179
|
+
PR_NUM=$(echo "$PR_URL" | grep -oE '[0-9]+$')
|
|
180
|
+
echo -ne "\\033]0;Issue #${issueNumber} → PR #\$PR_NUM\\007"
|
|
169
181
|
fi
|
|
170
182
|
else
|
|
171
183
|
# PR exists, just push new commits
|
|
172
184
|
git push origin "${branchName}" 2>/dev/null
|
|
173
185
|
echo ""
|
|
174
|
-
echo "
|
|
186
|
+
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
187
|
+
echo "📤 Pushed new commits to PR #$EXISTING_PR"
|
|
188
|
+
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
175
189
|
echo ""
|
|
176
190
|
fi
|
|
177
191
|
fi
|