apple-mail-mcp 2.17.9 → 2.17.10
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/README.md +7 -0
- package/build/index.js +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1901,6 +1901,13 @@ In a JSON string literal, `\\` — two characters — denotes **one** literal ba
|
|
|
1901
1901
|
- macOS needs automation permission
|
|
1902
1902
|
- Go to System Settings > Privacy & Security > Automation
|
|
1903
1903
|
- Ensure your terminal/Claude has permission to control Mail
|
|
1904
|
+
- **On a Mac that isn't set to US English**, macOS words this refusal in the system
|
|
1905
|
+
language — `Not authorised to send Apple events to Mail. (-1743)` on en-GB/en-AU/en-IE,
|
|
1906
|
+
and fully translated on fr/de/es. Before **v2.17.10** the server didn't recognise
|
|
1907
|
+
those spellings, so `health-check`/`doctor` reported `permissions: ok` and then blamed
|
|
1908
|
+
missing accounts (*"No Mail accounts found. Set up an account in Mail.app first."*).
|
|
1909
|
+
If you see that on a Mac whose Mail accounts are already configured, upgrade and
|
|
1910
|
+
re-run `doctor`.
|
|
1904
1911
|
|
|
1905
1912
|
### "Message not found"
|
|
1906
1913
|
- Message may have been deleted or moved
|
package/build/index.js
CHANGED
|
@@ -79222,7 +79222,7 @@ function sleep(ms) {
|
|
|
79222
79222
|
}
|
|
79223
79223
|
}
|
|
79224
79224
|
}
|
|
79225
|
-
var PERMISSION_DENIED_PATTERN = /not
|
|
79225
|
+
var PERMISSION_DENIED_PATTERN = /not author(?:i[sz])ed|not permitted|access.*denied|\(-1743\)/i;
|
|
79226
79226
|
var PERMISSION_DENIED_MESSAGE = "Permission denied. Grant automation access in System Settings > Privacy & Security > Automation.";
|
|
79227
79227
|
function isPermissionDenied(error2) {
|
|
79228
79228
|
if (!error2) return false;
|
|
@@ -79286,6 +79286,9 @@ function parseErrorMessage(errorOutput) {
|
|
|
79286
79286
|
if (executionError) {
|
|
79287
79287
|
coreError = executionError[1].trim();
|
|
79288
79288
|
}
|
|
79289
|
+
if (PERMISSION_DENIED_PATTERN.test(errorOutput)) {
|
|
79290
|
+
return PERMISSION_DENIED_MESSAGE;
|
|
79291
|
+
}
|
|
79289
79292
|
for (const { pattern, message } of ERROR_MAPPINGS) {
|
|
79290
79293
|
const match = coreError.match(pattern);
|
|
79291
79294
|
if (match) {
|
package/package.json
CHANGED