claude-issue-solver 1.44.2 → 1.44.3
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/utils/helpers.js +12 -1
- package/package.json +1 -1
package/dist/utils/helpers.js
CHANGED
|
@@ -100,7 +100,18 @@ function openInNewTerminal(script) {
|
|
|
100
100
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
101
101
|
});
|
|
102
102
|
if (result.status !== 0) {
|
|
103
|
-
|
|
103
|
+
const stderr = result.stderr?.toString() || '';
|
|
104
|
+
// Check for automation permission error
|
|
105
|
+
if (stderr.includes('-1743') || stderr.includes('Not authorised')) {
|
|
106
|
+
console.log('\n⚠️ macOS automation permission required!\n');
|
|
107
|
+
console.log('To fix this, go to:');
|
|
108
|
+
console.log(' System Settings → Privacy & Security → Automation\n');
|
|
109
|
+
console.log('Then enable "Terminal" for the app you\'re running this from.');
|
|
110
|
+
console.log('\nAfter granting permission, run the command again.\n');
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
console.log('Could not open new terminal. Run manually:');
|
|
114
|
+
}
|
|
104
115
|
console.log(script);
|
|
105
116
|
}
|
|
106
117
|
}
|