refactor: reorganize backend module boundaries

This commit is contained in:
jxxghp
2026-08-14 19:53:33 +08:00
parent fe0b444ceb
commit 369d7d6448
584 changed files with 2423 additions and 2275 deletions
+4 -4
View File
@@ -6,13 +6,13 @@ from typing import Optional, Union, List, Tuple, Any, Dict
from urllib.parse import quote
from app.domain.context import Context, MediaInfo
from app.platform.events import eventmanager
from app.messaging.agent import (
from app.runtime.events import eventmanager
from app.application.messaging.agent import (
matches_channel_admin,
register_channel_admin_resolver,
resolve_config_principal_ids,
)
from app.platform.log import logger
from app.runtime.log import logger
from app.modules import _ModuleBase, _MessageBase
from app.modules.wechat.WXBizMsgCrypt3 import WXBizMsgCrypt
from app.modules.wechat.wechat import WeChat
@@ -20,7 +20,7 @@ from app.modules.wechat.wechatbot import WeChatBot
from app.schemas import MessageChannel, CommingMessage, Notification, CommandRegisterEventData
from app.schemas.types import ModuleType, ChainEventType
from app.foundation.dom import DomUtils
from app.foundation.structures import DictUtils
from app.foundation.collections import DictUtils
def _resolve_wechat_admin_ids(config: Optional[dict]) -> set[str]: