Commit Graph
517 Commits
Author SHA1 Message Date
jxxghp 02f0dd0b9a refactor(architecture): 修复模块依赖违规并强化架构守护
- 字幕编排上移 DownloadChain.download_site_subtitles,SubtitleModule 仅保留站点链接解析
- TransferChain.recommend_name 上移 TV episodes_info 获取,filemanager 模块不再导入 TmdbChain
- endpoint 穿透修复:WXBizMsgCrypt3 迁至 adapters/external/wechat_crypt.py;
  music/tmdb 缓存管理、listenbrainz 常量、TMDbException、WechatClawBot 辅助统一经 chain 包装
- RuleParser 与 builtin_rules 合并为 application/filter_rules.py;
  fsproxy/fsworker 迁至 adapters/system/
- chain/__init__.py 删除 qbittorrentapi/transmission_rpc 导入,消除后端协议类型泄漏
- 架构守护测试新增三项检查:模块间隔离、入口层穿透、下载器 SDK 泄漏
- 文档同步:05-architecture.md 记录 DB/Oper 聚合例外与迁移文件位置,AGENTS.md 更新所有权表
2026-08-16 04:59:17 +08:00
jxxghp dd38c16400 refactor(messaging): 拆分用户交互模块到 application/messaging 层
- 新增 application/messaging 交互层:router.py 统一会话优先级与回调分发,
  site/subscribe/skill/media/plugin 各交互状态与视图从 Chain 迁出
- MessageChain 改为通过 InteractionRouter 派发文本会话与按钮回调,
  新增结构化 callback_data 通道(兼容 CALLBACK: 文本前缀)
- Transfer 失败重试/AI 接管回调归入 TransferChain
- MediaInteractionChain 拆出为 app/chain/interaction.py(旧路径保留兼容别名)
- WebAgent Endpoint 去重,统一使用 agent.py 回调协议函数
- 删除 app/chain/skills.py(交互逻辑并入 SkillInteractionHandler)
- 同步更新架构文档与测试,全量 4476 通过
2026-08-15 16:36:39 +08:00
jxxghp 96118e73e7 refactor(string): split utilities by responsibility 2026-08-15 08:03:55 +08:00
Aqr-K 8a11214a43 refactor(db): 修复异步连接池无界增长,并完成 SQLAlchemy 2.0 迁移与分层归位 (#6320) 2026-08-15 06:58: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 87b1caf3ff fix(agent): grant channel owners admin access 2026-08-14 00:01:37 +08:00
jxxghp 73df2aa331 fix(agent): 工具权限拦截时补齐流式换行,渠道主ID默认管理员权限 2026-08-13 23:15:28 +08:00
InfinityPacer 402543f636 refactor(agent): align policy contracts with runtime (#6306) 2026-08-13 22:14:43 +08:00
InfinityPacer 57e7f86f38 feat(agent): record task run history (#6305) 2026-08-13 22:13:36 +08:00
InfinityPacer 3560918e12 fix(agent): bind runtime tasks to app lifespan (#6303) 2026-08-13 19:25:52 +08:00
InfinityPacer e014604b1c fix: 避免服务重启后重复执行 Agent 定时任务 (#6302) 2026-08-13 19:25:11 +08:00
InfinityPacer 8dc6774d47 fix(agent): preserve context during request compaction (#6300) 2026-08-13 17:58:31 +08:00
InfinityPacer 228de7bd67 fix(agent): compact oversized final model requests (#6299) 2026-08-13 17:26:13 +08:00
InfinityPacer 3aed078bbb fix(agent): bind channel admin identity (#6294) 2026-08-13 14:53:59 +08:00
InfinityPacer f979274c07 feat(agent): 增加最终模型请求预算观测 (#6290) 2026-08-13 13:52:30 +08:00
InfinityPacer ce3508730b fix(agent): 规范化模型窗口 Profile (#6289) 2026-08-13 13:51:22 +08:00
InfinityPacer f80562915d fix(agent): harden secret confirmation failures (#6287) 2026-08-13 10:55:02 +08:00
InfinityPacer 527ceff5d1 fix(agent): preserve context when summarization fails (#6286) 2026-08-13 10:07:56 +08:00
InfinityPacer 591a1d420d fix(agent): close secret confirmation delivery gaps (#6285) 2026-08-13 08:20:14 +08:00
InfinityPacer 4d11a38496 fix(agent): propagate task cancellation (#6284) 2026-08-13 08:12:00 +08:00
InfinityPacer a6e8ba8b57 feat(agent): 敏感设置读取增加宿主二次确认 (#6283)
* feat(agent): require confirmation for secret settings

* fix(agent): preserve history during secret confirmation
2026-08-13 08:10:32 +08:00
InfinityPacer 4ee7ee2589 feat(agent): 建立严格工具身份与调用契约 (#6280) 2026-08-13 04:07:59 +08:00
jxxghp baf8850d63 refactor(api): standardize responses and restore media config contracts 2026-08-12 23:15:13 +08:00
jxxghp ca32922a7f refactor(media): unify media identity and chain responsibilities 2026-08-12 18:31:09 +08:00
jxxghp 8bf2f601a6 refactor(media): unify source identity and music browsing 2026-08-12 12:56:40 +08:00
InfinityPacer 010899f369 feat(agent): add host policy foundation (#6273) 2026-08-12 10:48:14 +08:00
jxxghp 97dba2a8ae feat: unify media recognition and music lifecycle 2026-08-12 06:51:58 +08:00
InfinityPacer b018646f61 fix(agent): include core settings in AI agent group (#6272) 2026-08-12 00:13:53 +08:00
jxxghp 3f1b0cdb05 feat(music): 支持多源识别与元数据刮削 2026-08-11 23:34:00 +08:00
InfinityPacer 1197ece12b fix(agent): preserve episode lock on unchanged totals (#6271) 2026-08-11 23:17:21 +08:00
jxxghp 9221f6e74a fix(agent): 工具回调消息回填原会话ID,避免群聊@机器人时按钮等交互消息发到私聊 (#6267) 2026-08-11 19:48:43 +08:00
jxxghp 7597c21872 feat(music): 自动整理时媒体类型判别 2026-08-11 19:08:05 +08:00
jxxghp 75e56d8e9a feat(music): add audio quality workflow 2026-08-10 10:23:02 +08:00
jxxghp b3b376f2b1 feat(agent): complete music workflow support 2026-08-10 08:11:54 +08:00
jxxghp e6d7d57e6f fix(agent): 修正 OpenAI 兼容 API Key 提示 (#6243) 2026-08-09 16:15:14 +08:00
jxxghp c6bd396794 Improve agent file reading and structured LLM summaries 2026-08-07 13:31:39 +08:00
jxxghp 63e492be7c fix(agent): report only meaningful progress milestones 2026-08-07 11:27:36 +08:00
jxxghp b80642f56f fix(agent): decouple progress prompt from tool display 2026-08-07 07:17:27 +08:00
jxxghp 6d3161f3cb fix(agent): align progress updates with Codex cadence 2026-08-07 07:01:03 +08:00
jxxghp ea8d1f8d26 fix(agent): report progress during long tool runs 2026-08-07 06:57:07 +08:00
jxxghp a52e1fdc1c feat(agent): improve prompt cache hit rate 2026-08-06 23:34:29 +08:00
jxxghp 44db45ea28 feat(docker): include sshpass for remote shell access 2026-08-06 22:47:02 +08:00
jxxghp 83409c1439 feat(agent): expand tool output and search pagination 2026-08-06 22:36:05 +08:00
jxxghp cf6c73d85b fix(agent): persist streamed message order 2026-08-06 22:24:54 +08:00
jxxghp a23ac6c56d feat: 支持模型服务端联网搜索 2026-08-05 19:19:26 +08:00
jxxghp 93761fe7e4 优化 Agent 代码编辑工具 (#6218) 2026-08-01 09:02:05 +08:00
jxxghp 593139faac fix(agent): 移除插件源码写入限制 2026-07-31 22:40:50 +08:00
cyt-666 6c89f1eb4b fix: 修复 MCP 动态加载插件工具 (#6214) 2026-07-31 22:31:46 +08:00
jxxghp 33a97eb2c8 feat: 增加 MoviePilot 选项 (#6212) 2026-07-30 13:33:08 +08:00