@cmach_socket/opencode-qq-bot 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmach_socket/opencode-qq-bot",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "OpenCode V2 plugin bridging a QQ group chat (NapCat via NapLink) to an OpenCode session.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "format": "prettier --write .",
35
35
  "format:check": "prettier --check .",
36
36
  "test": "vitest run",
37
- "audit:prod": "bun audit --production --audit-level=high --ignore=GHSA-25mm-r35j-6hgm --ignore=GHSA-mhqm-9wj8-w7r4 --ignore=GHSA-jmj2-9c5q-vw73 --ignore=GHSA-hqgx-p3r3-2cfg --ignore=GHSA-gvrf-jx37-rjv5 --ignore=GHSA-6wwr-g865-f46r --ignore=GHSA-4pf9-5fpx-xmr6 --ignore=GHSA-3wwj-8j6r-q339 --ignore=GHSA-98v3-7xjr-fg83",
37
+ "audit:prod": "bun audit --production --audit-level=high --ignore=GHSA-25mm-r35j-6hgm --ignore=GHSA-mhqm-9wj8-w7r4 --ignore=GHSA-jmj2-9c5q-vw73 --ignore=GHSA-hqgx-p3r3-2cfg --ignore=GHSA-gvrf-jx37-rjv5 --ignore=GHSA-6wwr-g865-f46r --ignore=GHSA-4pf9-5fpx-xmr6 --ignore=GHSA-3wwj-8j6r-q339 --ignore=GHSA-98v3-7xjr-fg83 --ignore=GHSA-wpwg-r92p-fjjh --ignore=GHSA-rgjp-p5j7-w36x --ignore=GHSA-qv2w-fc3h-pm27 --ignore=GHSA-mpg7-vg3p-wc3m --ignore=GHSA-ffhw-4r4q-5cwv --ignore=GHSA-7c32-79xj-j3jp --ignore=GHSA-72fp-85cc-g945",
38
38
  "web:build": "bun run --cwd web build",
39
39
  "web:dev": "bun run --cwd web dev",
40
40
  "web:check": "bun run --cwd web check",
package/src/cleanup.ts CHANGED
@@ -11,6 +11,8 @@ export const CleanupOrder = {
11
11
  keepAlive: 20,
12
12
  events: 30,
13
13
  panel: 35,
14
+ /** 撤销共享运行时:要早于会话管理器销毁,其它实例才不会用到死对象。 */
15
+ runtime: 38,
14
16
  manager: 40,
15
17
  persist: 50,
16
18
  souls: 60,