apple-notes-mcp 2.8.38 → 2.8.39

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.
Files changed (3) hide show
  1. package/README.md +9 -2
  2. package/build/index.js +479 -321
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -819,6 +819,12 @@ check of the note's original folder run in one AppleScript: if Notes.app accepts
819
819
  the delete but the note is still listed in that folder, the call reports that
820
820
  nothing was deleted instead of claiming success.
821
821
 
822
+ A note that is already in Recently Deleted is refused, because deleting it there
823
+ removes it permanently. The folder is read live from Notes.app in the same
824
+ AppleScript; the Recently Deleted folder is recognised by its database id (with
825
+ Full Disk Access) or by its English name. To remove such a note for good, do it
826
+ in Notes.app.
827
+
822
828
  **⚠️ Safety:** Irreversible from the agent's side — requires explicit user confirmation before calling. Prefer `search-notes` / `list-notes` first to confirm the exact id(s) being deleted.
823
829
 
824
830
  ---
@@ -1005,6 +1011,7 @@ Lists all notes, optionally filtered by folder, date, and limit.
1005
1011
  | `folder` | string | No | Filter to notes in this folder only (supports nested paths like `"Work/Clients"`) |
1006
1012
  | `modifiedSince` | string | No | ISO 8601 date string to filter notes modified on or after this date (e.g., `"2025-01-01"`) |
1007
1013
  | `limit` | number | No | Maximum number of notes to return |
1014
+ | `includeRecentlyDeleted` | boolean | No | Also list notes in Recently Deleted, each flagged `inRecentlyDeleted: true` (default `false`) |
1008
1015
 
1009
1016
  **Example - All notes:**
1010
1017
  ```json
@@ -1026,7 +1033,7 @@ Lists all notes, optionally filtered by folder, date, and limit.
1026
1033
  }
1027
1034
  ```
1028
1035
 
1029
- **Returns:** List of notes as `{title, id}` pairs — `notes: Array<{title, id}>`, plus `count`. The human-readable line is ` - <title> [id: <id>]`. With Full Disk Access each entry also carries `identifier`, `folderIdentifier`, and `accountIdentifier` (see [Identifier forms](#identifier-forms)).
1036
+ **Returns:** List of notes as `{title, id}` pairs — `notes: Array<{title, id}>`, plus `count`. The human-readable line is ` - <title> [id: <id>]`. Notes in Recently Deleted are left out by default and counted in `excludedRecentlyDeleted` (present only when nonzero); with `includeRecentlyDeleted: true` they are listed with `inRecentlyDeleted: true` and a `[RECENTLY DELETED]` marker. Notes.app's own listing includes them, so the Recently Deleted folder is recognised by its database id (with Full Disk Access) or by its English name. With Full Disk Access each entry also carries `identifier`, `folderIdentifier`, and `accountIdentifier` (see [Identifier forms](#identifier-forms)).
1030
1037
 
1031
1038
  Use the returned `id` for any follow-up read/update/move/delete rather than re-resolving the title: titles are not unique, and a by-title lookup resolves a duplicated title to the same one note every time, silently skipping the others.
1032
1039
 
@@ -1234,7 +1241,7 @@ Deletes multiple notes at once by ID.
1234
1241
  |-----------|------|----------|-------------|
1235
1242
  | `notes` | object[] | Yes | Array of `{id, expectedContentHash}` snapshots to delete (max 500 per request) |
1236
1243
 
1237
- **Returns:** Summary of successes and failures.
1244
+ **Returns:** Summary of successes and failures. A note already in Recently Deleted fails without being deleted, as in `delete-note`.
1238
1245
 
1239
1246
  **⚠️ Safety:** Irreversible — requires explicit user confirmation before calling. Prefer `search-notes` / `list-notes` first to confirm the exact ids being deleted.
1240
1247