feat:新增napcat断线后重连重新拉取历史消息的机制

This commit is contained in:
LoveLosita
2026-05-11 15:03:36 +08:00
parent 388f965d09
commit a566313c5f
9 changed files with 1154 additions and 8 deletions

View File

@@ -14,6 +14,7 @@ from ..services import (
NapCatActionService,
NapCatBanStateStore,
NapCatBanTracker,
NapCatHistoryRecoveryStore,
NapCatOfficialBotGuard,
NapCatQueryService,
)
@@ -29,6 +30,7 @@ class NapCatRuntimeBundle:
ban_tracker: NapCatBanTracker
chat_filter: NapCatChatFilter
heartbeat_monitor: NapCatHeartbeatMonitor
history_recovery_store: NapCatHistoryRecoveryStore
inbound_codec: NapCatInboundCodec
notice_codec: NapCatNoticeCodec
official_bot_guard: NapCatOfficialBotGuard