SXP-Simon
ae38febca2
fix(pdf): 删除 PDF 模块和相关的功能
2026-04-07 22:17:09 +08:00
SXP-Simon
05836f64f2
fix: 定时任务超时问题优化
...
Fixes #141
定时分析任务间隔启动,放宽超时配置限制
2026-04-01 21:14:00 +08:00
SXP-Simon
c185f700ae
fix(logger): 注入 TraceID
2026-03-12 18:15:23 +08:00
SXP-Simon
b4abee55d4
fix: 修复 TraceContext 兼容性与服务返回结果缺失导致的崩溃问题
...
【链路追踪系统】
- 在 TraceContext 中补全 generate()、set() 和 get() 兼容性接口,确保旧代码无缝迁移。
- 重新实现 TraceLogFilter 日志过滤器,恢复日志流中的 TraceID 显示。
- 统一全插件 import 路径至 src/shared/trace_context.py,并删除冗余的旧文件。
【应用服务层】
- 修复 KeyError: 'group_id':在 execute_daily_analysis 和 execute_incremental_final_report 的返回结果中补全 group_id 和 platform_id。
- 完善 execute_incremental_analysis 的返回字段,保持 API 返回格式的一致性。
【基础设施与工具】
- 在 AutoScheduler 中增加对适配器获取失败的防御性检查。
- 修复 uto_scheduler.py 和 dispatcher.py 中的静态类型检查报错。
2026-03-12 14:51:59 +08:00
SXP-Simon
f70c37473c
fix: 加固 PDFInstaller 组件,支持任务追踪与类型安全检查
...
- 增加任务注册表支持,使后台安装任务可被插件生命周期管理
- 使用 getattr 安全访问 ConfigManager 属性,消除 Pylance 静态检查报错
- 移除未使用的 ThreadPoolExecutor 引用
- 优化安装过程中的状态日志输出
2026-03-11 23:11:32 +08:00
SXP-Simon
a9c3d2595c
fix: 提升系统韧性组件,改用单调时钟并支持动态限流重配置
...
- 将 CircuitBreaker 计时器改为 time.monotonic(),规避系统时钟回滚风险
- 允许 GlobalRateLimiter 在运行时根据配置动态调整信号量并发数
- 增加限流器配置变更时的日志记录
2026-03-11 23:11:13 +08:00
SXP-Simon
de3c189d4f
feat: 增强图片上传能力并完成核心架构类型重构
...
- 重构: 优化主类命名逻辑,提升多平台架构的可读性与通用性。
- 功能: 新增分析报告同步上传至群文件和群相册的功能,支持自动化文件管理与清理。
- 类型: 全面修正静态类型错误,确保各分析器模块与基类接口签名严格对齐。
- 优化: 改进内部类成员标注,解决可选参数与类型推断在透传过程中的不匹配问题。
- 稳健性: 完善网络请求超时处理、临时资源管理以及可选依赖项的动态加载逻辑。
- 配置: 扩展配置管理项,支持自定义上传开关、目标目录以及 PDF 渲染参数。
2026-02-21 19:30:51 +08:00
SXP-Simon
dd69a68b0f
fix(code-review): 参考建议修改
2026-02-20 23:40:20 +08:00
SXP-Simon
e1ad6c9fc9
fix: 正确的导入各重构模块
2026-02-09 13:08:23 +08:00
SXP-Simon
2005f0633f
refactor(DDD): 整理架构
2026-02-09 12:47:43 +08:00
SXP-Simon
0b096351d5
fix(docs): 完善注释
2026-02-09 02:14:43 +08:00
SXP-Simon
80d74577e7
fix(pre-commit): style
2026-02-09 01:39:13 +08:00
SXP-Simon
e73fd99e26
feat(logger)
2026-02-08 23:28:56 +08:00
SXP-Simon
efe1c10a24
fix: 删除弃用 bot_qq_id 逻辑,定时分析器兼容多平台
2026-02-08 22:23:05 +08:00
SXP-Simon
62a91a914a
refactor: integrate PlatformAdapterFactory into BotManager
...
- BotManager now creates PlatformAdapter alongside bot instances
- Added get_adapter(), has_adapter(), can_analyze() methods for DDD access
- Added _detect_platform_name() for automatic platform detection
- Fixed incorrect relative imports in message_handler.py and helpers.py
- Updated get_status_info() to include adapter information
2026-02-08 14:22:48 +08:00
SXP-Simon
4477c8b862
style: apply ruff linting and pyupgrade fixes
2026-02-07 23:58:41 +08:00
SXP-Simon
22dc0bf59f
feat: add trace context and resilience utilities for LLM calls
2026-02-07 23:48:34 +08:00
SXP-Simon
2438ab5b98
fix(pdf): 迁移为 playwright
2026-01-20 20:26:20 +08:00
SXP-Simon
7450d76178
fix(pre-commit): code quality
2026-01-16 23:59:45 +08:00
SXP-Simon
eeb9461c2f
fix(PDFInstaller): 字体处理和友好提示
2026-01-16 21:06:43 +08:00
SXP-Simon
b1c889343c
fix(PDFInstaller): linux 环境下的安装 PDF 命令修复
2026-01-16 20:30:58 +08:00
SXP-Simon
9a09e56f13
fix: 性能优化,CPU 密集型计算(统计和分析)已卸载到各线程池,避免阻塞事件循环
...
feat: 存储路径规范化:PDF 报告现在存储在 data/plugin_data/astrbot_plugin_qq_group_daily_analysis/reports
2026-01-07 00:28:35 +08:00
Helian Nuits
03c35f49d0
Fix(bot manager): _get_platform_id_for_group 是一个异步方法(async def),但在 main.py 中调用时忘记加 await ( #54 )
...
* fix(bot-manager): 正确处理实例获取
* fix(import); AiocqhttpAdapter 导入
* fix: 通过 meta 实现 aiocqhttp 判断
* fix(_get_platform_id_for_group): _get_platform_id_for_group 是一个异步方法(async def),但在 main.py 中调用时忘记加 await 了,导致它返回了一个协程对象而不是字符串 ID
* fix(pre-commit)
2025-11-25 23:37:13 +08:00
SXP-Simon
14377b278a
pre-commit
2025-11-21 21:09:05 +08:00
SXP-Simon
64ac6c429b
fix(多适配器支持): 处理 Bot 实例与平台 ID
2025-11-18 14:38:52 +08:00
SXP-Simon
acca39a162
fix(typo): bot_qq_id 更新配置说明
2025-11-18 00:17:04 +08:00
SXP-Simon
eb16f78b15
feat(multi-qq-platforms): 尝试适配多个适配器实例,支持填入多个QQ bot账号 ( #42 )
2025-11-18 00:17:04 +08:00
xiaoxi68
3802e63b9a
Ruff:收敛异常处理并清理未使用导入/变量
2025-11-09 20:33:14 +08:00
xiaoxi68
4f509ae5f9
ruff
2025-11-09 20:28:51 +08:00
SXP-Simon
284389b5d2
[fix] user_title 获取逻辑
2025-11-04 20:35:26 +08:00
SXP-Simon
accd0d85a8
[feat] 优化分析器执行情况,异步网络请求
2025-11-02 17:39:51 +08:00
SXP-Simon
3f0e83bcbc
[v2.9.0] PDF 安装过程不阻塞主线程
2025-11-02 15:39:38 +08:00
SXP-Simon
7d53db9f5c
[fix] 尝试解决 PDF 安装过程中存在阻塞主线程导致 bot 卡死的情况
2025-11-02 15:25:10 +08:00
SXP-Simon
6a51e0da73
[fix] 删除无效方法
2025-10-10 19:23:04 +08:00
SXP-Simon
c696d24920
[debug] pdf 安装
2025-10-10 18:52:15 +08:00
SXP-Simon
4c75a85518
[debug] 调试 pyppeteer 启动 chromium
2025-10-10 17:12:50 +08:00
SXP-Simon
73bc93853e
[fix] (pdf_utils) 恢复消失的历史版本存在的 PDF 安装 chromium 方法
2025-10-10 16:37:39 +08:00
SXP-Simon
af27768e50
[fix] 兼容 linux 的 pdf 生成情况
2025-10-09 20:31:30 +08:00
SXP-Simon
de12e8253a
[fix] (LLM 提供商) 传递 unified_msg_origin 以获取正确的 LLM 提供商
2025-09-16 12:08:56 +08:00
SXP-Simon
53a21f7642
[fix] (bot-instance) 尝试采用手动配置QQ号的方式,用于定时自动分析
2025-09-15 22:05:52 +08:00
回归天空
84c663df44
[v1.7.0] (解耦化) 优化项目结构,修复部分提示内容
2025-09-02 23:30:37 +08:00