ofw-mcp 2.27.0 → 2.27.1

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.
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "metadata": {
8
8
  "description": "OurFamilyWizard tools for Claude Code",
9
- "version": "2.27.0"
9
+ "version": "2.27.1"
10
10
  },
11
11
  "plugins": [
12
12
  {
@@ -14,7 +14,7 @@
14
14
  "displayName": "OurFamilyWizard",
15
15
  "source": "./",
16
16
  "description": "OurFamilyWizard co-parenting tools for Claude — messages, calendar, expenses, and journal via MCP",
17
- "version": "2.27.0",
17
+ "version": "2.27.1",
18
18
  "author": {
19
19
  "name": "Chris Chall"
20
20
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ofw",
3
3
  "displayName": "OurFamilyWizard",
4
- "version": "2.27.0",
4
+ "version": "2.27.1",
5
5
  "description": "OurFamilyWizard co-parenting tools for Claude — messages, calendar, expenses, and journal via MCP",
6
6
  "author": {
7
7
  "name": "Chris Chall"
package/README.md CHANGED
@@ -168,14 +168,14 @@ There are three ways to get a file to OurFamilyWizard, and which one works depen
168
168
 
169
169
  ```jsonc
170
170
  // 1. ofw_upload_attachment
171
- { "uploadSlots": [{ "filename": "Finn_Think_Sheet_2026-11-03.jpg" }] }
171
+ { "uploadSlots": [{ "filename": "Sam_Think_Sheet_2026-11-03.jpg" }] }
172
172
  // → { "blobKeys": ["uploads/…"], "slots": [{ "uploadUrl": "https://…", "mimeType": "image/jpeg",
173
173
  // "curl": "curl -sS --fail -X PUT -H 'Content-Type: image/jpeg' --data-binary @'<path to …>' '…'", "expiresAt": "…" }] }
174
174
 
175
175
  // 2. run the slot's curl with the real file path
176
176
 
177
177
  // 3. ofw_upload_attachment — or pass blobKeys straight to ofw_save_draft / ofw_send_message
178
- { "blobKeys": ["uploads/…"], "label": "Finn Think Sheet 11-3-26" }
178
+ { "blobKeys": ["uploads/…"], "label": "Sam Think Sheet 11-3-26" }
179
179
  // → { "uploaded": 1, "failed": 0, "fileIds": [12345], "results": [{ "ok": true, "fileId": 12345, "blobDeleted": true, … }] }
180
180
  ```
181
181
 
@@ -192,12 +192,14 @@ The PUT must send the slot's `Content-Type` (the URL is signed for it), and the
192
192
  **Local installs: `path`.** A file inside the upload directory (`OFW_UPLOAD_DIR`, default `~/Downloads/ofw-mcp`, created `0700` on first use). Paths outside it after resolving symlinks, hidden files, and files over 25 MiB are refused:
193
193
 
194
194
  ```jsonc
195
- { "path": "Finn_Think_Sheet_2026-11-03.jpg" }
195
+ { "path": "Sam_Think_Sheet_2026-11-03.jpg" }
196
196
  ```
197
197
 
198
198
  Every source has the same limits: up to 10 files per call, each non-empty and at most 25 MiB, with a bare filename. The MIME type comes from the extension unless you pass `mimeType`. Uploads are `PRIVATE` unless you pass `shareClass: "SHARED"`, which goes one file at a time and is confirmed first.
199
199
 
200
- To upload and attach in one step, give `ofw_save_draft` or `ofw_send_message` `inlineAttachments` (the same `{filename, contentBase64, mimeType?}` entries) or `blobKeys`. Every entry is validated before anything is uploaded. `ofw_send_message` uploads only after the send is approved, and its approval is bound to each file's SHA-256. Editing a draft (`ofw_save_draft` with `messageId`) keeps the draft's existing attachments unless you pass `myFileIDs`.
200
+ To upload and attach in one step, give `ofw_save_draft` or `ofw_send_message` `inlineAttachments` (the same `{filename, contentBase64, mimeType?}` entries) or `blobKeys`. Every entry is validated before anything is uploaded.
201
+
202
+ **Drafts don't hold attachments on OurFamilyWizard.** OFW drops files from a saved draft, and its own web app only attaches them when the message is sent. So `ofw_save_draft` *holds* a draft's files on this server: they show under `attachments.held`, are kept across edits (`removeFileIDs` drops one), change the draft's `revision`, and are attached when you send the draft with `ofw_send_message(draftId)`. You won't see them on the draft in the OFW web app. On send, every attachment goes out `SHARED`, as the web app does it. New files are uploaded `SHARED`, and files known to be `PRIVATE` are re-shared as `SHARED`, both only after you approve the send; the approval is bound to each new file's SHA-256. The response then checks the sent message and reports any file OFW left off.
201
203
 
202
204
  On a hosted connector, `ofw_download_attachment` with `inline:false` (or `link:true`) returns a private download link that expires after `linkMinutes` (default 60), instead of a path on the server's disk. Inline images over 10 MiB fall back to a link too.
203
205