feat(wrapped): 新增年度总结接口与卡片 #1(赛博作息表)

- 新增 /api/wrapped/annual(year/account/refresh),统计在 worker thread 中执行

- 实现卡片#1:按 周×小时 聚合消息量,默认过滤 biz_message*.db

- 增加 _wrapped/cache JSON 缓存(global_<year>_upto_1.json),refresh 支持强制重算
This commit is contained in:
2977094657
2026-01-30 16:26:04 +08:00
parent 950fb4c7b4
commit 519e9e9299
7 changed files with 314 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
"""WeChat Wrapped (年度总结) backend modules.
This package is intentionally split into small modules so we can implement
ideas incrementally (按点子编号依次实现), avoiding a single giant file.
"""