ofw-mcp 2.27.5 → 2.28.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.5"
9
+ "version": "2.28.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.5",
17
+ "version": "2.28.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.5",
4
+ "version": "2.28.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
@@ -382,14 +382,16 @@ By default nothing changes: reads behave exactly as they always have. Two contro
382
382
 
383
383
  #### Message-reading days (`OFW_READ_DAYS` / `OFW_NO_READ_DAYS`)
384
384
 
385
- 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.
385
+ If you may only open new OFW messages on certain days, list them. A no-read day protects exactly one thing: an **unread inbox message**, which would get a co-parent-visible "First Viewed" stamp the moment it is opened. On those days you still see **that** it arrived — sender, date, subject, unread — but its body and attachments are withheld and nothing that could mark it read is sent to OurFamilyWizard. Everything else stays fully readable: every sent message, every inbox message you have already read, and drafts.
386
386
 
387
387
  ```env
388
388
  OFW_READ_DAYS=mon,thu # allow list: read only on these days
389
389
  OFW_NO_READ_DAYS=2026-12-24..2026-12-26 # deny list: never on these (wins over the allow list)
390
390
  ```
391
391
 
392
- 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.
392
+ 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). Withholding is per message, not a blanket refusal: a withheld message carries `body: null, bodyWithheld: true, withheldReason: "UNREAD_ON_NO_READ_DAY"`, and `readingBlocked` (with `nextReadableDay`) appears only when something was actually withheld. `ofw_list_messages` `q` searches subject and body of sent and already-read messages, and only the subject of unread inbox ones (`bodySearchSkipped` says how many). `ofw_get_message` on an id not in the cache is refused as `READING_BLOCKED`, since fetching it could mark it read; sync first. `ofw_sync_messages` keeps syncing as usual — including bodies of sent and already-read messages — and only refuses `fetchUnreadBodies`. Sending is not affected.
393
+
394
+ If you explicitly ask to read anyway on a no-read day, `ofw_get_message`, `ofw_list_messages` and `ofw_sync_messages` take `overrideNoReadDay: true`, and the response says `readOverride: true`. It is only ever needed for an unread inbox message, and lifts only the day restriction: `OFW_ALLOW_MARK_READ=false` still refuses, unread inbox messages still go through `OFW_CONFIRM_MARK_READ`, and a sync still marks nothing read without `fetchUnreadBodies: true`. Attachments of unread messages stay withheld, and it has no effect on a reading day or on messages that need no override. Each use writes one `[ofw-mcp] AUDIT {"event":"no_read_day_override","timestamp":…,"tool":…,"messageIds":[…]}` line to stderr (`mcp-host logs` on a hosted deployment). `ofw_check_freshness` and `ofw_status` return no bodies, so they do not take it.
393
395
 
394
396
  #### Calendar opt-in (`OFW_CALENDAR_WRITES`)
395
397