feat: 添加测试用例并优化代码结构

refactor(permission_manager): 调整初始化顺序和逻辑
fix(admin_manager): 修复初始化逻辑和目录创建问题
feat(ws): 优化Bot实例初始化条件
feat(message): 增强MessageSegment功能并添加测试
feat(events): 支持字符串格式的消息解析
test: 添加核心功能测试用例
refactor(plugin_manager): 改进插件路径处理
style: 清理无用导入和代码
chore: 更新依赖项
This commit is contained in:
2026-01-09 00:20:30 +08:00
parent 5d07a84283
commit 77348113e3
18 changed files with 754 additions and 73 deletions

View File

@@ -11,7 +11,6 @@ pipreqs==0.4.13
redis==5.0.7
requests==2.32.5
soupsieve==2.8.1
toml==0.10.2
typing==3.7.4.3
typing_extensions==4.15.0
urllib3==2.6.2
@@ -25,6 +24,7 @@ docker
pytest
pytest-asyncio
pytest-mock
pytest-cov
httpx==0.27.0
# Dev Dependencies