5 Commits
Author SHA1 Message Date
晚晴 e031cd4108 perf(common): reduce log snapshot and file-only allocation overhead (#656)
Refs #651
2026-11-06 21:51:46 +08:00
晚晴 33bebb4446 perf(common): reduce retained memory in logs and TTL caches (#652) 2026-11-04 22:29:39 +08:00
晚晴 1b74747251 fix(core): allow account reopening after a failed close (#545)
Allow an account to reconnect after a previous shutdown reports an error, while preserving error reporting.

Add regression tests for failed and pending shutdown tasks.
2026-10-18 23:31:26 +08:00
晚晴andzhngzhu 39d1f40583 docs: point action reference at the published docs site (#540)
docs/onebot-actions.md is referenced twice but does not exist in the repository, so both "动作参考" links in the README resolve to 404s. The OneBot action reference is published on the docs site, kept in sync from collectActionDocs() via the sync-docs-catalog workflow, so link there instead. Also add a deploy row pointing at the Docker/Windows guide, which the README had no entry for.

Co-authored-by: zhngzhu <215231231+zhngzhu@users.noreply.github.com>
2026-10-18 18:54:56 +08:00
8e24995fc3 feat(core): add process facts to ordered account notifications (#539)
* feat(core): carry hook process status in notifications

`offline` alone cannot tell an external supervisor whether the QQ session dropped (log back in) or the process is gone (restart the client). Resolve the hook process behind a UIN at notify time and expose `status`, `pid` and `error` as template variables; a failing lookup degrades to empty values so delivery is never blocked.

The default webhook/email templates gain a process-status line; existing channels keep their stored template untouched.

* fix(core): preserve notification lifecycle ordering and simplify state

---------

Co-authored-by: zhngzhu <215231231+zhngzhu@users.noreply.github.com>
Co-authored-by: 手瓜一十雪 <nanaeonn@outlook.com>
2026-10-18 11:13:58 +08:00