apple-notes-mcp 2.9.24 → 2.9.25
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 +26 -16
- package/build/index.js +749 -549
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -261,8 +261,10 @@ Two optional booleans describe a write's outcome when it is known.
|
|
|
261
261
|
id before any retry, and never retry blindly. `committed: true` means the write
|
|
262
262
|
took effect even though its verification failed; `committed: false` means
|
|
263
263
|
nothing was written (for example a `revision_conflict`). An absent flag means
|
|
264
|
-
unknown.
|
|
265
|
-
|
|
264
|
+
unknown. An argument that fails the input schema is rejected before the tool
|
|
265
|
+
runs, with `code: "validation_error"` and `committed: false`. The exception is
|
|
266
|
+
a Notes UUID or numeric key that could not be resolved to an id: it carries
|
|
267
|
+
`not_found`, or `full_disk_access_missing` when the database is unreadable.
|
|
266
268
|
|
|
267
269
|
### Note Operations
|
|
268
270
|
|
|
@@ -2104,9 +2106,12 @@ same verification as [`add-attachment`](#add-attachment).
|
|
|
2104
2106
|
```
|
|
2105
2107
|
|
|
2106
2108
|
**Returns:** the new note's `id` with `noteCreated: true` and the
|
|
2107
|
-
`add-attachment` result. If the attachment step fails after the note exists
|
|
2108
|
-
the error names the new note's id: attach to it
|
|
2109
|
-
calling this tool again, which would create a
|
|
2109
|
+
`add-attachment` result. If the attachment step fails after the note exists but
|
|
2110
|
+
before the file is inserted, the error names the new note's id: attach to it
|
|
2111
|
+
with `add-attachment` instead of calling this tool again, which would create a
|
|
2112
|
+
second note. If insertion started and could not be verified, the error is
|
|
2113
|
+
`code: "verification_failed"` with `indeterminate: true`: the file may already
|
|
2114
|
+
be in the note, so read it with `list-attachments` before attaching again.
|
|
2110
2115
|
|
|
2111
2116
|
---
|
|
2112
2117
|
|
|
@@ -2419,11 +2424,13 @@ and currently available, with a specific reason for each unavailable operation.
|
|
|
2419
2424
|
It also reports `runtimeOS` (`platform`, `macOSVersion` from `sw_vers`,
|
|
2420
2425
|
`darwinRelease`) and a `features` matrix, one entry per feature group:
|
|
2421
2426
|
`applescriptCore`, `fullDiskAccessReads`, `shortcutsBridges`,
|
|
2422
|
-
`backgroundOperationsBridge`, `nativeTagsBridge`, `markdownNoteBridge`,
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
+
`backgroundOperationsBridge`, `nativeTagsBridge`, `markdownNoteBridge`,
|
|
2428
|
+
`paragraphLinks` and `audioTranscription` (both database reads that need Full
|
|
2429
|
+
Disk Access), and the placeholders `checklistToggle` and `smartFolders`
|
|
2430
|
+
(creating or editing smart folders), which need a native *write* helper this
|
|
2431
|
+
server does not ship (requirement `native_write_helper`). The opt-in private
|
|
2432
|
+
helper below is read-only, so enabling it does not change them: they stay
|
|
2433
|
+
`not_implemented`.
|
|
2427
2434
|
Each entry carries `available`, `osSupported`, `minimumMacOSVersion`,
|
|
2428
2435
|
`requirements`, `missing`, `unverified`, `tools`, and a machine-readable
|
|
2429
2436
|
`reason` that is `null` when available and otherwise the first that applies:
|
|
@@ -2503,12 +2510,15 @@ the note's last checklist items in the requested order.
|
|
|
2503
2510
|
}
|
|
2504
2511
|
```
|
|
2505
2512
|
|
|
2506
|
-
**Returns:** `items
|
|
2507
|
-
`orderVerified` and the new `contentHash`. The first uncertain
|
|
2508
|
-
call without a retry and returns `ok: false` with `landed` (the
|
|
2509
|
-
`stoppedAt` (the item's index, text, `outcome` of
|
|
2510
|
-
`"uncertain"`, and the error), and `notAttempted`.
|
|
2511
|
-
|
|
2513
|
+
**Returns:** `items` (also as `landed`), each with its `index`, native `id` and
|
|
2514
|
+
`text`, plus `orderVerified` and the new `contentHash`. The first uncertain
|
|
2515
|
+
result stops the call without a retry and returns `ok: false` with `landed` (the
|
|
2516
|
+
verified items), `stoppedAt` (the item's index, text, `outcome` of
|
|
2517
|
+
`"not-written"` or `"uncertain"`, and the error), and `notAttempted`. Every
|
|
2518
|
+
`ok: false` result is an error result (`isError: true`) with a `code`; after an
|
|
2519
|
+
uncertain stop it has `indeterminate: true` and no `contentHash`, since the note
|
|
2520
|
+
may have changed. Read the note before retrying, and retry only the items that
|
|
2521
|
+
are not present.
|
|
2512
2522
|
|
|
2513
2523
|
#### `create-table`
|
|
2514
2524
|
|