ofw-mcp 2.27.0 → 2.27.2
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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +6 -4
- package/dist/bundle.js +882 -674
- package/dist/sync.js +42 -4
- package/dist/tools/_shared.js +1 -1
- package/dist/tools/draft-freshness.js +17 -5
- package/dist/tools/held-attachments.js +50 -0
- package/dist/tools/lifecycle.js +7 -4
- package/dist/tools/messages.js +126 -40
- package/dist/tools/uploads.js +37 -114
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/server.json +2 -2
- package/skills/ofw/SKILL.md +2 -2
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "OurFamilyWizard tools for Claude Code",
|
|
9
|
-
"version": "2.27.
|
|
9
|
+
"version": "2.27.2"
|
|
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.
|
|
17
|
+
"version": "2.27.2",
|
|
18
18
|
"author": {
|
|
19
19
|
"name": "Chris Chall"
|
|
20
20
|
},
|
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": "
|
|
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": "
|
|
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": "
|
|
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.
|
|
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, files are attached as they are (PRIVATE files attach fine), and new files are uploaded `PRIVATE` only after you approve the send, with the approval 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
|
|