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

View File

@@ -4,13 +4,13 @@ from typing import Any, Dict, List, Optional, Tuple, Union
from urllib.parse import quote, unquote
from app.domain.context import MediaInfo, Context
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.schemas import (
CommandRegisterEventData,
@@ -20,8 +20,8 @@ from app.schemas import (
Notification,
)
from app.schemas.types import ChainEventType, ModuleType
from app.foundation.http import RequestUtils
from app.foundation.structures import DictUtils
from app.adapters.network.http import RequestUtils
from app.foundation.collections import DictUtils
try:
from app.modules.discord.discord import Discord