Trace parent_id links up to 5 levels deep when a user replies to a message, providing the full conversation chain as context for the agent. - Add fetchSingleMessage() to retrieve a single message with parent_id - Add fetchReplyChain() for iterative chain traversal with cycle detection - Add formatReplyChain() with backward-compatible single-message format - Refactor fetchQuotedMessage() as a thin wrapper - Show 'Bot' for app senders, 'User' for unresolved user names Co-authored-by: MeiShaoqing <meishaoqing@xiaomi.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>