ofw-mcp 2.20.5 → 2.21.0
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 +11 -0
- package/dist/bundle.js +467 -71
- package/dist/cache/store.js +8 -2
- package/dist/read-days.js +127 -0
- package/dist/session-cache.js +2 -12
- package/dist/sync.js +44 -5
- package/dist/tools/messages.js +79 -7
- package/dist/version.js +1 -1
- package/mint.yaml +21 -0
- package/package.json +6 -2
- package/server.json +14 -2
- package/skills/ofw/SKILL.md +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "OurFamilyWizard tools for Claude Code",
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.21.0"
|
|
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.
|
|
17
|
+
"version": "2.21.0",
|
|
18
18
|
"author": {
|
|
19
19
|
"name": "Chris Chall"
|
|
20
20
|
},
|
package/README.md
CHANGED
|
@@ -287,6 +287,17 @@ By default nothing changes: reads behave exactly as they always have. Two contro
|
|
|
287
287
|
|
|
288
288
|
`OFW_FETCH_UNREAD_BODIES=true` flips `ofw_sync_messages` to fetch unread bodies by default (off unless set) — useful where read receipts are routine. It is capped by `OFW_ALLOW_MARK_READ`.
|
|
289
289
|
|
|
290
|
+
#### Message-reading days (`OFW_READ_DAYS` / `OFW_NO_READ_DAYS`)
|
|
291
|
+
|
|
292
|
+
If you may only read OFW messages on certain days, list them. On every other day you can still see **that** a message arrived — sender, date, subject — but bodies and attachments are withheld and nothing is marked read on OurFamilyWizard.
|
|
293
|
+
|
|
294
|
+
```env
|
|
295
|
+
OFW_READ_DAYS=mon,thu # allow list: read only on these days
|
|
296
|
+
OFW_NO_READ_DAYS=2026-12-24..2026-12-26 # deny list: never on these (wins over the allow list)
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
Tokens are weekday names (`mon`, `Monday`, …), dates (`2026-12-25`) or inclusive ranges (`2026-12-24..2026-12-31`), separated by commas or spaces, and "today" is decided in `DISPLAY_TZ`. Unset means every day is a reading day. A token that cannot be parsed fails closed (content withheld every day, warning on stderr). Like `OFW_ALLOW_MARK_READ`, no per-call argument can override it. Refusals come back as `READING_BLOCKED` with `nextReadableDay`. `ofw_sync_messages` downloads no message content on those days (only the list: sender, date, subject); the first sync on a reading day fills the bodies in, except for unread inbox messages, which still wait for you to open them. Drafts stay readable, and sending is not affected.
|
|
300
|
+
|
|
290
301
|
#### Calendar opt-in (`OFW_CALENDAR_WRITES`)
|
|
291
302
|
|
|
292
303
|
Calendar events sit between the two message tiers: they have no draft stage (a created event is immediately visible on the shared record), but unlike a sent message they are reversible — an event can be edited or deleted afterward. If you run in `drafts` mode but are comfortable with direct calendar writes, set `OFW_CALENDAR_WRITES=true` to additionally register `ofw_create_event`, `ofw_update_event`, and `ofw_delete_event`. The flag is redundant in `all` mode and never overrides `none`.
|