apple-tools-mcp 2.0.1 → 2.0.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/README.md +54 -13
- package/bin/apple-tools-indexer.js +15 -0
- package/bin/apple-tools-mcp.js +7 -0
- package/index.js +26 -7
- package/indexer.js +4 -1
- package/lib/appleScript.js +90 -26
- package/lib/calendarWrite.js +39 -0
- package/lib/contactsWrite.js +191 -4
- package/lib/mailWrite.js +296 -26
- package/lib/messagesWrite.js +6 -2
- package/lib/permissions.js +360 -0
- package/lib/processMode.js +50 -2
- package/lib/shell.js +27 -0
- package/lib/writeRouting.js +76 -6
- package/lib/writeTools.js +9 -6
- package/package.json +7 -3
- package/scripts/postinstall.js +32 -0
- package/scripts/smoke-writes.js +4 -1
package/scripts/smoke-writes.js
CHANGED
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
* A hang or timeout is TCC / Automation denied, not "Mail.app missing".
|
|
9
9
|
* - Messages account/service lookup (Automation → Messages.app). Nothing
|
|
10
10
|
* is sent. A deny fails --apply the same way Mail does.
|
|
11
|
-
* - Contacts CRUD (AddressBook class, via Contacts.app)
|
|
11
|
+
* - Contacts CRUD (AddressBook class, via Contacts.app). The write path
|
|
12
|
+
* launches Contacts.app before CRUD; keep Contacts, Mail, and Messages
|
|
13
|
+
* running on the host. Calendar does not need to stay open (EventKit).
|
|
12
14
|
* - Calendar CRUD (calendars class, via Calendar.app)
|
|
13
15
|
*
|
|
14
16
|
* Mail, Messages, Contacts, and Calendar must all pass on the Node host —
|
|
@@ -336,6 +338,7 @@ async function main() {
|
|
|
336
338
|
}
|
|
337
339
|
|
|
338
340
|
console.log("\n--- Contacts CRUD (Contacts.app / AddressBook privacy class) ---");
|
|
341
|
+
console.log(" Keep Contacts, Mail, and Messages running for write reliability. Calendar does not need to stay open (EventKit).");
|
|
339
342
|
const created = step("contacts_add", await run("contacts_add", {
|
|
340
343
|
first_name: "ATM Smoke",
|
|
341
344
|
last_name: `Test ${stamp}`,
|