Commit Graph
27 Commits
Author SHA1 Message Date
jxxghp e1230c0277 refactor: unify message ingress forwarding 2026-08-24 03:01:17 +08:00
jxxghp e274672a6a refactor: unify subscription deletion transactions 2026-08-24 02:38:18 +08:00
jxxghp e1509c4e0d refactor: reorganize startup persistence boundaries 2026-08-23 21:24:34 +08:00
InfinityPacer c6ffc309d4 fix(persistence): separate retryable rejection errors (#6423) 2026-08-23 20:10:59 +08:00
InfinityPacer 146f8649f6 fix(runtime): 隔离线程任务上下文 (#6420)
* fix(runtime): isolate thread task contexts

* test: use canonical message schema import
2026-08-23 20:10:23 +08:00
InfinityPacer 2b60f617cb refactor(application): remove unused sync service methods (#6417) 2026-08-23 18:17:24 +08:00
jxxghp 0459b6a662 Merge remote-tracking branch 'origin/v3' into v3
# Conflicts:
#	tests/fixtures/architecture/dependency-baseline.json
2026-08-23 14:57:03 +08:00
InfinityPacer d2b72f5729 fix(database): decouple worker errors from application 2026-08-23 14:26:42 +08:00
jxxghp f1e542bef0 refactor: govern background tasks and query ownership 2026-08-23 13:24:04 +08:00
InfinityPacer e0f70fa920 fix(agent): close chat lifecycle safely 2026-08-23 11:44:18 +08:00
InfinityPacer 1e2d0d3b07 fix(agent): bound chat shutdown cancellation 2026-08-23 11:44:18 +08:00
InfinityPacer 0ba4a7e5e3 fix(agent): close async chat persistence lifecycle 2026-08-23 11:44:18 +08:00
InfinityPacer 598c004efe fix(agent): bound session persistence admission 2026-08-23 11:43:07 +08:00
InfinityPacer 8d05c6d8bf fix(agent): serialize session persistence writes 2026-08-23 11:43:07 +08:00
InfinityPacer 9c4bead782 fix(agent): keep ORM results inside database worker 2026-08-23 11:43:07 +08:00
InfinityPacer f560c19d65 fix(agent): keep chat reads on native async path 2026-08-23 11:43:07 +08:00
InfinityPacer 21ce70fbfc refactor(agent): route chat persistence through database worker 2026-08-23 11:43:07 +08:00
jxxghp e602c23668 refactor: clear public entrypoint complexity debt 2026-08-22 23:28:30 +08:00
jxxghp b598b516d5 refactor: migrate high-risk write transactions 2026-08-21 20:46:57 +08:00
jxxghp f4a879b3de fix(rename): 剥离专辑名尾部年份,避免重命名目录重复年份 (#6355)
音频标签或下载目录常把发行年份写进专辑名(如 "欲望反光 (2018)"),
而音乐重命名模板会独立追加 ({{year}}),两者叠加生成 "欲望反光 (2018) (2018)"
这类重复年份目录,并把同一专辑拆到多个目录。

在模板上下文中统一剥离专辑名尾部的括号年份;仅当存在可独立渲染的
年份时才剥离,避免丢失只存在于专辑名中的年份信息。
2026-08-19 17:26:35 +08:00
jxxghp 8472bcff43 refactor: 收口 V3 分层架构与插件兼容边界 2026-08-18 13:22:02 +08:00
jxxghp 5128ae9e1e refactor: 推进后端分层架构治理 2026-08-18 00:29:14 +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
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