Commit Graph
72 Commits
Author SHA1 Message Date
jxxghp 415335b215 refactor: unify message channel shutdown convergence 2026-08-24 14:08:06 +08:00
Aqr-K 4a5958c3c2 fix(modules): 默认服务配置改为尊重显式标记,不再按读取顺序取第一个 (#6431) 2026-08-24 08:03:28 +08:00
jxxghp 5128ae9e1e refactor: 推进后端分层架构治理 2026-08-18 00:29:14 +08:00
jxxghp 54f093a099 Merge remote-tracking branch 'origin/v3' into v3
# Conflicts:
#	app/api/endpoints/agent.py
#	app/api/endpoints/anthropic.py
#	app/api/endpoints/openai.py
#	app/chain/__init__.py
#	app/chain/message.py
#	app/chain/site.py
#	app/chain/subscribe.py
#	app/chain/transfer.py
#	app/modules/discord/__init__.py
#	app/modules/qqbot/__init__.py
#	app/modules/slack/__init__.py
#	app/modules/telegram/__init__.py
#	app/modules/wechat/__init__.py
#	app/runtime/extensions/module_manager.py
#	app/runtime/extensions/service_registry.py
#	tests/test_agent_interaction.py
#	tests/test_slash_command_interactions.py
#	tests/test_web_agent_stream.py
2026-08-16 19:44:43 +08:00
jxxghp 240a4dffe6 refactor(schemas): 统一 message/notification 命名边界,旧名收敛至兼容映射表
- notification 域:渠道能力(MessageChannel→NotificationChannel、ChannelCapability* 迁入 notification.py)
- message 域:消息收发(Notification→Message、NotificationType→MessageType、CommingMessage→IncomingMessage、NotificationHistoryItem→MessageHistoryItem、NotificationClear*→MessageClear*)
- Agent 工具契约:send_notification_message→send_message、notification_callback→message_callback
- 源码不保留旧名物理别名,旧导入经 app/runtime/compat/manifest.py SYMBOL_ALIASES 惰性解析
- API 路径与持久化键冻结不变,前端零改动
- 新增兼容守护测试与 docs/rules/07 命名边界规范
2026-08-16 19:32:20 +08:00
InfinityPacer 24671f8f18 refactor(runtime): lazily activate host modules (#6331) 2026-08-16 16:07:38 +08:00
jxxghp 369d7d6448 refactor: reorganize backend module boundaries 2026-08-14 19:53:33 +08:00
jxxghp 7b3444c366 refactor backend module architecture 2026-08-14 15:45:38 +08:00
jxxghp 05d15a04f5 feat(v3): add music automation workflow 2026-08-07 21:50:22 +08:00
InfinityPacer 893269f8c1 fix(modules): serialize configuration reload lifecycle (#6122) 2026-07-15 17:28:49 +08:00
jxxghp 1f49f9b454 fix: normalize downloader return paths
Fixes #5773
2026-05-15 18:15:42 +08:00
Kevin Tanandgemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> 99cab7c337 Update app/modules/__init__.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-08 17:21:33 +08:00
Kevin Tanandgemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> 81f7548579 Update app/modules/__init__.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-08 17:20:45 +08:00
stkevintan 6ebd50bebc update naming 2025-12-08 16:30:40 +08:00
stkevintan 378ba51f4d support path_mapping for downloader 2025-12-08 16:25:46 +08:00
Attente ca5ec8af0f feat(config): 优化配置变更事件处理机制 2025-11-27 23:17:34 +08:00
Attente 4f806db8b7 fix: 修复变更默认下载器不生效的问题
- 配置模块迁移到 `SettingsConfigDict` 以支持 Pydantic v2 的配置方式
- 在 `MediaInfo` 中新增 `release_dates` 字段,用于存储多地区发行日期信息
- 修改 `MetaVideo` 类中的 token 传递逻辑,以修复搜索站点资源序列化错误的问题
2025-11-11 10:44:45 +08:00
jxxghp 0fa49bb9c6 fix 消息定向发送时不检查消息类型匹配 2025-06-16 08:06:47 +08:00
jxxghp f8fbfdbba7 优化消息处理逻辑 2025-06-15 18:40:36 +08:00
jxxghp f8864ab053 fix reload 2025-06-11 07:11:50 +08:00
jxxghp 2f38b3040d fix:修复代码兼容性写法 2025-03-23 12:10:21 +08:00
Aqr-K 825fc35134 feat(modules): 增加子级 type 分类。
- 在 `types` 里,针对各个模块的类型进行子级分类。
- 为每个模块统一添加 `get_subtype` 方法,这样一来,能更精准快速地区分与调用子类的每个模块,又能获取 ModuleType 所规定的分类以及对应存在的子模块类型支持列表,从而有效解决当下调用时需繁琐遍历每个 module 以获取 get_name 或 _channel 的问题。
- 解决因消息渠道前端返回所保存的 type 与后端规定值不一致,而需要频繁调用 _channel 私有方法才能获取分类所可能产生的问题。
2024-12-03 14:57:19 +08:00
InfinityPacer 9cf7547a8c fix(downloader): ensure default downloader config fallback 2024-10-24 19:12:07 +08:00
InfinityPacer 9255c85a85 refactor(module): unify config retrieval logic 2024-10-20 18:56:52 +08:00
jxxghp 363f12ed5a refactor:Module加入执行优先顺序 2024-10-19 19:31:25 +08:00
jxxghp 0d139851af fix 按对象名称组织代码文件 2024-10-12 12:14:49 +08:00
jxxghp 603ab97665 add ModuleType Schema 2024-10-12 11:50:00 +08:00
InfinityPacer 0afdd9056a fix(module): use getters for _instances and _configs in subclasses 2024-10-06 14:38:17 +08:00
InfinityPacer 0593275a62 feat(module): add ServiceBaseHelper for service and instance 2024-09-29 23:46:41 +08:00
InfinityPacer 640a67fc3a fix(module): resolve infinite recursion in get_instance method 2024-09-27 04:12:22 +08:00
InfinityPacer 2ce3ddb75a refactor(module): simplify service instantiation with generics 2024-09-27 04:04:56 +08:00
InfinityPacer 5efcd6e6be refactor (module): improve the implementation of base classes 2024-09-26 19:44:35 +08:00
jxxghp 2486b9274c fix webhook_parser 2024-09-19 21:09:07 +08:00
jxxghp 53195457c7 fix module test 2024-09-12 15:13:58 +08:00
jxxghp a567a8644b add ModuleBases 2024-07-07 07:40:53 +08:00
jxxghp 1a0c4acf1c fix bug 2024-07-06 08:30:09 +08:00
jxxghp 965e40e630 fix message 2024-07-04 18:45:22 +08:00
jxxghp 15a7297099 fix messages 2024-07-02 13:50:41 +08:00
jxxghp 0f57b39345 fix webpush switch 2024-06-09 11:15:35 +08:00
jxxghp 43647e59a4 fix module name 2024-05-16 14:20:18 +08:00
jxxghp d112f49a69 feat:支持VoceChat 2024-03-06 15:54:40 +08:00
jxxghp 8cb061ff75 feat:模块健康检查 2024-03-06 13:23:51 +08:00
jxxghp 7f6beb2a78 feat SynologyChat 2023-09-22 15:40:23 +08:00
jxxghp 97a4d73e03 更新 __init__.py 2023-07-15 17:53:37 +08:00
jxxghp 6d2f4697b0 feat 多通知渠道支持 2023-07-14 13:05:58 +08:00
jxxghp 7248ce3105 fix module 2023-06-19 11:17:29 +08:00
jxxghp 9b03e44097 split api 2023-06-18 22:31:56 +08:00
jxxghp 104ae59e18 add apis 2023-06-18 15:59:38 +08:00
jxxghp acdec220f7 fix api 2023-06-17 17:34:18 +08:00
jxxghp 6a5e117f0b add 事件广播 2023-06-16 07:11:14 +08:00