macsync/@packages/inotes
Natalie d03b9e3046 fix(inotes): read Notes via in-process NSAppleScript so the TCC grant applies
osascript runs out-of-process, so TCC attributes the Apple event to osascript
rather than MacSync — every Notes read was denied even after the user granted
MacSync → Notes Automation (the script works fine from Terminal). Send the
event in-process via NSAppleScript on the main actor (tell-application events
need a live run loop for their reply); the grant is then honored and notes
sync. The read is infrequent (600s cycle) and brief enough for a menu agent.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 03:54:02 -04:00
..
Sources/INoteSync fix(inotes): read Notes via in-process NSAppleScript so the TCC grant applies 2026-06-30 03:54:02 -04:00
Tests/INoteSyncTests merge: restore plum-only additive files atop apricot baseline 2026-05-15 17:06:07 -07:00