co-mono/packages/mom/src
Mario Zechner f02194296d feat(mom): backfill missed messages on startup using conversations.history API
- Add getLastTimestamp() to ChannelStore to read last ts from log.jsonl
- Add backfillChannel() to fetch up to 3 pages (3000 messages) per channel
- Add backfillAllChannels() called in start() before socket connection
- Include mom's own messages (as bot) and user messages, exclude other bots
- Process attachments from backfilled messages
- Add logging: logBackfillStart, logBackfillChannel, logBackfillComplete
- Warn if attachment missing name instead of failing

fixes #103
2025-12-03 22:05:13 +01:00
..
tools mom: Docker sandbox support with --sandbox=docker:container-name option 2025-11-26 01:06:00 +01:00
agent.ts fix(mom): include triggering message in context 2025-12-01 11:56:40 +01:00
log.ts feat(mom): backfill missed messages on startup using conversations.history API 2025-12-03 22:05:13 +01:00
main.ts mom: add working indicator and improve stop command 2025-11-26 20:49:02 +01:00
sandbox.ts mom: Docker sandbox support with --sandbox=docker:container-name option 2025-11-26 01:06:00 +01:00
slack.ts feat(mom): backfill missed messages on startup using conversations.history API 2025-12-03 22:05:13 +01:00
store.ts feat(mom): backfill missed messages on startup using conversations.history API 2025-12-03 22:05:13 +01:00