Commit graph

13 commits

Author SHA1 Message Date
Natalie
242d7cd1a8 feat(send-queue): burst-friendly outbound send-rate cap (default 10/5min)
The /client/imessage/send-queue/pending endpoint released up to 50 queued
sends per poll, so an enqueued burst all fired at once. Add a configurable
release cap: the endpoint now returns at most (maxSends − sent-in-window)
queued items, so a burst queues and drips out at the configured rate.

- macsync.send_rate_config single-row table, default max_sends=10,
  window_seconds=300 (10 per 5 min).
- entities/send-queue repo: getSendRateConfig / setSendRateConfig /
  countSentWithin.
- Admin control: GET/PUT /admin/send-rate-limit (service-token auth) so the
  cap is adjustable at runtime (wired to MCP via quinn.api separately).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 15:35:18 -04:00
Natalie
cae15ae9f1 fix(@applications/@mac-sync): 🐛 update lan instead of local in all configs
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-10 03:12:06 -07:00
Natalie
42b9229a9f feat(@applications/@mac-sync): add async actor-based iMessage sender with timeout guard
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-22 01:56:05 -07:00
Natalie
b104ee1b12 fix(@mac-sync): 🐛 add debug flag for send-queue tracing
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-21 19:39:09 -07:00
Natalie
08c638532c feat(sync): add trace logging hooks
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-21 19:04:28 -07:00
Natalie
e5cad45ec3 feat(@applications/mac-sync): add timeout handling for osascript send
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-21 18:43:35 -07:00
Natalie
e3078ab5fd fix(shared): 🐛 update quinnApiURL doc clarity
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-15 23:03:42 -07:00
Natalie
0fa6c132ec docs(shared): 📝 update quinnApiURL documentation
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-15 21:55:31 -07:00
quinn
1295aec3e9 merge fixes: typecheck (attributedBody → base64 string), syncNow race coalescing, test alignment 2026-05-15 18:35:50 -07:00
quinn
cc1d40f7f6 merge batch 1: top-level metadata, shared, ical, imail 2026-05-15 18:02:04 -07:00
quinn
f4bd7e6829 merge: restore plum-only additive files atop apricot baseline 2026-05-15 17:06:07 -07:00
quinn
90443dad36 apricot baseline: contacts-sync-core + BlobSyncManager + embedding/search/sync-history 2026-05-15 17:05:39 -07:00
quinn
b8b63ac63d plum baseline: Phase 1/3/4/5 work (BaseSyncManager, SendQueue layer, ireminders, inotes) 2026-05-15 17:05:13 -07:00