claude-issue-solver 1.42.0 → 1.42.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.
@@ -75,19 +75,27 @@ function openInNewTerminal(script) {
75
75
  const platform = os.platform();
76
76
  if (platform === 'darwin') {
77
77
  // macOS - try iTerm2 first, then Terminal
78
+ // Use /bin/bash explicitly to bypass interactive shell issues (e.g., oh-my-zsh update prompts)
79
+ // Send 'n' first to dismiss any oh-my-zsh update prompt, then run the script
80
+ const escapedScript = script.replace(/"/g, '\\"');
81
+ const bashCommand = `/bin/bash "${escapedScript}"`;
82
+ // For iTerm: send 'n' to dismiss any prompt, wait briefly, then run the command
78
83
  const iTermScript = `
79
84
  tell application "iTerm"
80
85
  activate
81
86
  set newWindow to (create window with default profile)
82
87
  tell current session of newWindow
83
- write text "${script.replace(/"/g, '\\"')}"
88
+ write text "n"
89
+ delay 0.3
90
+ write text "${bashCommand.replace(/"/g, '\\"')}"
84
91
  end tell
85
92
  end tell
86
93
  `;
94
+ // For Terminal: combine dismissing prompt and running command
87
95
  const terminalScript = `
88
96
  tell application "Terminal"
89
97
  activate
90
- do script "${script.replace(/"/g, '\\"')}"
98
+ do script "n; ${bashCommand.replace(/"/g, '\\"')}"
91
99
  end tell
92
100
  `;
93
101
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-issue-solver",
3
- "version": "1.42.0",
3
+ "version": "1.42.1",
4
4
  "description": "Automatically solve GitHub issues using Claude Code",
5
5
  "main": "dist/index.js",
6
6
  "bin": {