mirror of https://github.com/openclaw/openclaw.git
* feat: implement DM history backfill for BlueBubbles - Add fetchBlueBubblesHistory function to fetch message history from API - Modify processMessage to fetch history for both groups and DMs - Use dmHistoryLimit for DMs and historyLimit for groups - Add InboundHistory field to finalizeInboundContext call Fixes #20296 * style: format with oxfmt * address review: in-memory history cache, resolveAccount try/catch, include is_from_me - Wrap resolveAccount in try/catch instead of unreachable guard (it throws) - Include is_from_me messages with 'me' sender label for full conversation context - Add in-memory rolling history map (chatHistories) matching other channel patterns - API backfill only on first message per chat, not every incoming message - Remove unused buildInboundHistoryFromEntries import * chore: remove unused buildInboundHistoryFromEntries helper Dead code flagged by Greptile — mapping is done inline in monitor-processing.ts. * BlueBubbles: harden DM history backfill state handling * BlueBubbles: add bounded exponential backoff and history payload guards * BlueBubbles: evict merged history keys * Update extensions/bluebubbles/src/monitor-processing.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --------- Co-authored-by: Ryan Mac Mini <ryanmacmini@ryans-mac-mini.tailf78f8b.ts.net> Co-authored-by: Vincent Koc <vincentkoc@ieee.org> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| account-resolve.ts | ||
| accounts.ts | ||
| actions.test.ts | ||
| actions.ts | ||
| attachments.test.ts | ||
| attachments.ts | ||
| channel.ts | ||
| chat.test.ts | ||
| chat.ts | ||
| config-schema.test.ts | ||
| config-schema.ts | ||
| history.ts | ||
| media-send.test.ts | ||
| media-send.ts | ||
| monitor-normalize.ts | ||
| monitor-processing.ts | ||
| monitor-reply-cache.ts | ||
| monitor-shared.ts | ||
| monitor.test.ts | ||
| monitor.ts | ||
| multipart.ts | ||
| onboarding.ts | ||
| probe.ts | ||
| reactions.test.ts | ||
| reactions.ts | ||
| request-url.ts | ||
| runtime.ts | ||
| send-helpers.ts | ||
| send.test.ts | ||
| send.ts | ||
| targets.test.ts | ||
| targets.ts | ||
| test-harness.ts | ||
| test-mocks.ts | ||
| types.ts | ||