dsh-qqbot-muu 0.1.15 → 0.1.21

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.
Files changed (171) hide show
  1. package/CHANGELOG.md +168 -85
  2. package/client/qqbot-settings.js +13401 -12024
  3. package/config/modules.json +212 -0
  4. package/dist/channel-tools.js +21 -10
  5. package/dist/config.d.ts +14 -0
  6. package/dist/config.js +573 -449
  7. package/dist/features/contextless-store.js +247 -247
  8. package/dist/features/contextless-trim.js +455 -34
  9. package/dist/features/four-source.js +338 -336
  10. package/dist/features/group-join-request.js +289 -287
  11. package/dist/features/local-models.js +1494 -0
  12. package/dist/features/rotate-summarizer.js +438 -0
  13. package/dist/features/scenario-detect.js +321 -0
  14. package/dist/features/scheduler.js +8 -1
  15. package/dist/features/session-rotate.js +499 -0
  16. package/dist/features/session-title.js +199 -0
  17. package/dist/features/style-layer.js +501 -0
  18. package/dist/features/thinking-log.js +71 -69
  19. package/dist/gateway/bootstrap.js +1704 -1388
  20. package/dist/gateway/data-root.js +77 -3
  21. package/dist/gateway/middleware-setup.js +6 -3
  22. package/dist/index.js +4 -2
  23. package/dist/model/settings-reader.js +193 -102
  24. package/dist/session/session-manager.js +1730 -1587
  25. package/dist/shared/paths.js +128 -0
  26. package/dist/shared/settings-io.js +79 -0
  27. package/dist/transport/inbound.js +20 -1
  28. package/dist/transport/outbound.js +56 -4
  29. package/docs/RELEASE_CHECKLIST.md +24 -2
  30. package/dshqqbot/.qqbot-extensions/hooks/interview-panel.mjs +41 -1
  31. package/dshqqbot/.qqbot-extensions/inbound/00-vision.mjs +111 -0
  32. package/dshqqbot/.qqbot-extensions/inbound/aa-memory-recall.mjs +802 -689
  33. package/dshqqbot/.qqbot-extensions/inbound/ac-image-see.mjs +1 -1
  34. package/dshqqbot/.qqbot-extensions/inbound/az-feedback.mjs +113 -115
  35. package/dshqqbot/.qqbot-extensions/inbound/local-answer.mjs +689 -568
  36. package/dshqqbot/.qqbot-extensions/lib/.pet-form.json +1 -1
  37. package/dshqqbot/.qqbot-extensions/lib/draw-core.mjs +238 -7
  38. package/dshqqbot/.qqbot-extensions/lib/local-llm.mjs +455 -394
  39. package/dshqqbot/.qqbot-extensions/lib/memory-agent.mjs +930 -928
  40. package/dshqqbot/.qqbot-extensions/lib/memory-core.mjs +537 -537
  41. package/dshqqbot/.qqbot-extensions/lib/memory-db.mjs +2476 -2245
  42. package/dshqqbot/.qqbot-extensions/lib/memory-hippo.mjs +18 -0
  43. package/dshqqbot/.qqbot-extensions/lib/memory.mjs +191 -186
  44. package/dshqqbot/.qqbot-extensions/lib/plugin-dir.mjs +14 -4
  45. package/dshqqbot/.qqbot-extensions/lib/scope-util.mjs +84 -0
  46. package/dshqqbot/.qqbot-extensions/lib/vision.mjs +1 -1
  47. package/dshqqbot/.qqbot-extensions/outbound/aa-sanitize.mjs +158 -154
  48. package/dshqqbot/.qqbot-extensions/outbound/ac-media-fix.mjs +5 -1
  49. package/dshqqbot/.qqbot-extensions/outbound/memory-agent.mjs +121 -130
  50. package/dshqqbot/.qqbot-extensions/outbound/split-reply.mjs +18 -2
  51. package/dshqqbot/.qqbot-extensions/outbound/turn-memory.mjs +92 -101
  52. package/dshqqbot/.qqbot-extensions/tools/draw.mjs +22 -1
  53. package/dshqqbot/.qqbot-extensions/tools/memory.mjs +178 -120
  54. package/dshqqbot/.qqbot-extensions/tools/pet_card.mjs +3 -2
  55. package/dshqqbot/.qqbot-extensions/tools/storyboard.mjs +3 -1
  56. package/dshqqbot/.qqbot-extensions/vendor/abogus/test-abogus.mjs +128 -126
  57. package/package.json +119 -111
  58. package/scripts/__pycache__/fan-mode.cpython-311.pyc +0 -0
  59. package/scripts/__pycache__/memory-audit.cpython-311.pyc +0 -0
  60. package/scripts/__pycache__/qq-ip-sync.cpython-311.pyc +0 -0
  61. package/scripts/__pycache__/qq-whitelist.cpython-311.pyc +0 -0
  62. package/scripts/_add_maintenance_cfg.py +20 -0
  63. package/scripts/_bench_keeplease.sh +10 -0
  64. package/scripts/_dbg_purge.py +15 -0
  65. package/scripts/_elev.sh +6 -0
  66. package/scripts/_fix_all_admin.cmd +16 -0
  67. package/scripts/_livecheck-image.mjs +33 -0
  68. package/scripts/_livecheck-llm.mjs +34 -0
  69. package/scripts/_livecheck-tts.mjs +37 -0
  70. package/scripts/_patch_curve.py +88 -0
  71. package/scripts/_patch_fan_thermal.py +24 -0
  72. package/scripts/_tag_tmp.py +13 -0
  73. package/scripts/adb-broker-client.mjs +87 -0
  74. package/scripts/adb-broker.mjs +205 -0
  75. package/scripts/ai-mode.cmd +6 -0
  76. package/scripts/ai-mode.py +387 -0
  77. package/scripts/ai-toolkit.py +607 -0
  78. package/scripts/apply-fan-gpu45.py +51 -0
  79. package/scripts/bench-fans.py +515 -0
  80. package/scripts/bench-load-direct.py +63 -0
  81. package/scripts/boot-tasks-hidden.vbs +20 -0
  82. package/scripts/boot-tasks.cmd +277 -0
  83. package/scripts/chat-archive/__pycache__/build-sft-v4.cpython-311.pyc +0 -0
  84. package/scripts/chat-archive/__pycache__/build-sft.cpython-311.pyc +0 -0
  85. package/scripts/chat-archive/build-sft-v4.py +566 -0
  86. package/scripts/chat-archive/build-sft.py +390 -0
  87. package/scripts/chat-archive/eval-sft.py +155 -0
  88. package/scripts/chat-archive/extract-memory.py +143 -0
  89. package/scripts/chat-archive/inventory.py +182 -0
  90. package/scripts/chat-archive/merge-sft.py +114 -0
  91. package/scripts/chat-archive/qce-pull.py +217 -0
  92. package/scripts/chat-archive/qqheader.py +110 -0
  93. package/scripts/chat-archive/qqkey2.py +113 -0
  94. package/scripts/chat-archive/qqprobe.py +153 -0
  95. package/scripts/chat-archive/screen-collect.py +163 -0
  96. package/scripts/chat-archive/sqlcipher_probe.py +444 -0
  97. package/scripts/comfy_gen.py +209 -0
  98. package/scripts/compose-video.py +168 -0
  99. package/scripts/dl_models.py +45 -0
  100. package/scripts/draw-now.cmd +18 -0
  101. package/scripts/dsh-instance-guard.mjs +20 -2
  102. package/scripts/elev-extra.cmd +25 -0
  103. package/scripts/episode.py +529 -0
  104. package/scripts/fan-curve.py +218 -0
  105. package/scripts/fan-guard.cmd +8 -0
  106. package/scripts/fan-mode.py +380 -0
  107. package/scripts/fan_manual_safe.py +33 -0
  108. package/scripts/fan_restore_manual.py +46 -0
  109. package/scripts/fc_curves.py +359 -0
  110. package/scripts/fix-fan-and-timers.cmd +39 -0
  111. package/scripts/fix_admin_all.py +94 -0
  112. package/scripts/flows.mjs +224 -0
  113. package/scripts/gateway.cmd +126 -0
  114. package/scripts/gen-image.py +420 -0
  115. package/scripts/gen-video.py +186 -0
  116. package/scripts/git-askpass.cmd +2 -2
  117. package/scripts/gpu-mode.py +195 -0
  118. package/scripts/hw-profile.py +175 -0
  119. package/scripts/install-schedule.cmd +37 -0
  120. package/scripts/install-watch.cmd +29 -0
  121. package/scripts/matte-cutout.py +106 -0
  122. package/scripts/media-enhance.py +402 -0
  123. package/scripts/memory-audit.py +581 -0
  124. package/scripts/migrate-scope.mjs +140 -139
  125. package/scripts/model-registry.py +519 -0
  126. package/scripts/openid-audit.mjs +219 -0
  127. package/scripts/pull-gguf.py +127 -0
  128. package/scripts/purge-standby.py +151 -0
  129. package/scripts/qq-connect-login.py +133 -0
  130. package/scripts/qq-ip-sync-hidden.vbs +5 -0
  131. package/scripts/qq-ip-sync.py +300 -0
  132. package/scripts/qq-login-once.cmd +20 -0
  133. package/scripts/qq-login-qr.py +72 -0
  134. package/scripts/qq-whitelist-fix.cmd +27 -0
  135. package/scripts/qq-whitelist-login.cmd +26 -0
  136. package/scripts/qq-whitelist.cmd +12 -0
  137. package/scripts/qq-whitelist.py +1452 -0
  138. package/scripts/quality-compare.py +134 -0
  139. package/scripts/release-all.mjs +636 -430
  140. package/scripts/release-check.mjs +244 -226
  141. package/scripts/resume-coder.cmd +38 -0
  142. package/scripts/secure-room/index.html +334 -0
  143. package/scripts/secure-room/server.py +582 -0
  144. package/scripts/security-check.mjs +164 -0
  145. package/scripts/selftest-local-llm.mjs +20 -0
  146. package/scripts/selftest-local-models.mjs +754 -0
  147. package/scripts/selftest-rotate-style.mjs +308 -0
  148. package/scripts/shutdown-s5-optional.cmd +21 -0
  149. package/scripts/sleep-2325.cmd +75 -0
  150. package/scripts/start-comfyui.cmd +5 -0
  151. package/scripts/start-strata.cmd +17 -0
  152. package/scripts/start-strata.vbs +11 -0
  153. package/scripts/start-watch-hidden.vbs +3 -0
  154. package/scripts/stickers/auto-tag.mjs +161 -0
  155. package/scripts/storage.mjs +236 -0
  156. package/scripts/sync-plugin-copies.mjs +98 -23
  157. package/scripts/tests/test-qq-whitelist.py +192 -0
  158. package/scripts/train/__pycache__/train-lora.cpython-311.pyc +0 -0
  159. package/scripts/train/gguf-quantize.py +92 -0
  160. package/scripts/train/gguf-to-hf.py +112 -0
  161. package/scripts/train/merge-lora.py +51 -0
  162. package/scripts/train/probe-mirrors.sh +12 -0
  163. package/scripts/train/probe-mirrors2.sh +20 -0
  164. package/scripts/train/setup-wsl.sh +23 -0
  165. package/scripts/train/setup-wsl2.sh +25 -0
  166. package/scripts/train/setup-wsl3.sh +22 -0
  167. package/scripts/train/setup-wsl4.sh +22 -0
  168. package/scripts/train/train-lora.py +319 -0
  169. package/scripts/vram-free.py +104 -0
  170. package/scripts/wechat-full-pull.mjs +1 -1
  171. package/settings-host.js +1047 -12
@@ -18,7 +18,7 @@ import { describeImage, imageRefsOf } from '../lib/vision.mjs';
18
18
 
19
19
  export const name = 'ac-image-see';
20
20
 
21
- const FALLBACK = { enabled: true, model: 'qwen2.5vl:3b', maxPerMin: 3, timeoutMs: 90000 };
21
+ const FALLBACK = { enabled: true, model: 'qwen3-vl:8b', maxPerMin: 3, timeoutMs: 90000 };
22
22
  // 只有“图片”占位才提示没看清;表情包由入站归一成一句人话,不需要看图
23
23
  const IMG_PLACEHOLDER_RE = /(对方发来一张图片|\[图片\]|\[image\])/i;
24
24
 
@@ -1,115 +1,113 @@
1
- import { existsSync as __existsSync } from 'node:fs'
2
- const __repoRoot = (() => {
3
- let cached = ''
4
- const norm = (p) => String(p || '').split(String.fromCharCode(92)).join('/')
5
- return () => {
6
- if (cached) return cached
7
- const cands = []
8
- const env = String(process.env.QQBOT_ROOT || process.env.QQBOT_REPO_ROOT || '').trim()
9
- if (env) cands.push(norm(env))
10
- try {
11
- let here = decodeURIComponent(new URL('.', import.meta.url).pathname)
12
- if (here[0] === '/' && here[2] === ':') here = here.slice(1)
13
- here = norm(here).replace(/\/+$/, '')
14
- let d = here
15
- for (let i = 0; i < 6; i += 1) {
16
- if (!d) break
17
- cands.push(d)
18
- const k = d.lastIndexOf('/')
19
- d = k > 0 ? d.slice(0, k) : ''
20
- }
21
- } catch { /* noop */ }
22
- try { cands.push(norm(process.cwd())) } catch { /* noop */ }
23
- for (const c of cands) {
24
- try {
25
- if (c && (__existsSync(c + '/qqbot-mod/muu-shared.mjs') || __existsSync(c + '/dshqqbot'))) { cached = c; return cached }
26
- } catch { /* noop */ }
27
- }
28
- cached = norm(cands.find(Boolean) || '.')
29
- return cached
30
- }
31
- })()
32
- /**
33
- * az-feedback.mjs — 把“用户对刚才回复的真实评价”收进记忆,喂给自我反思
34
- *
35
- * 背景(2026-11-07):runSelfReflection 只吃 insight/growth,等于只吃自己总结的
36
- * 正面/中性心得,用户说“你刚才太凶了 / 别反问”这类真实反馈根本没进闭环。
37
- *
38
- * 这里只做一件事:识别**直接指向她**的负反馈,连同她上一条回复一起记为
39
- * kind='insight', subj='feedback'(GLOBAL_SCOPE)。每天一次的本地反思会优先读它。
40
- *
41
- * 安全契约:
42
- * · 严格正则 + 长度上限,宁漏不误记;
43
- * · 同 scope 10 分钟最多记一条,避免刷屏式重复;
44
- * · 任何异常只记日志并 next(),不影响聊天。
45
- */
46
- import {
47
- cleanChatText, getChatState, loadConfig, queryChat, remember, setChatState,
48
- } from '../lib/memory.mjs';
49
- import { GLOBAL_SCOPE } from '../lib/profile-core.mjs';
50
-
51
- export const name = 'az-feedback';
52
-
53
- const FB_RE = [
54
- /(你|小蓝|肥鱼|鲸)[^\n]{0,14}(刚才|刚刚|上一条|上一句|这次|这话|说话|回复|接话|语气|态度)[^\n]{0,16}(凶|冲|敷衍|机械|说教|反讽|反问|抬杠|听不懂|不像人|过头|太冷|奇怪|差|不好|别扭|观感)/,
55
- /(别|不要|以后别)[^\n]{0,12}(反问|反讽|抬杠|说教|复述|总结|抢话|自作聪明|阴阳|阴阳怪气|冷嘲热讽|杠我)/,
56
- /(观感|听起来|看起来)[^\n]{0,10}(差|不好|怪|别扭|像客服|不像人)/,
57
- /(答非所问|没听懂|听不懂|你没理解|理解错|会错意|不是问你|我在说自己|别接我的)/,
58
- // 2026-11-07:分享/自嘲被反向嘲讽是最伤观感的一类,必须进反思
59
- /(我在分享|只是分享|我在吐槽|我在自嘲|我自嘲[^\n]{0,8}你还|你杠我|你阴阳我|你嘲讽我)/,
60
- /(别(?:再)?(?:拿我|开我)玩笑|别(?:再)?(?:嘲讽|阴阳|杠)我)/,
61
- ];
62
-
63
- function dataRootOf() {
64
- const env = String(process.env.QQBOT_MEMORY_DATA_ROOT || '').trim();
65
- if (env) return env;
66
- try {
67
- const cfg = loadConfig(__repoRoot() + "/dshqqbot");
68
- return (cfg && cfg.dataRoot) || __repoRoot() + "/dshqqbot";
69
- } catch {
70
- return __repoRoot() + "/dshqqbot";
71
- }
72
- }
73
-
74
- function scopeOf(ctx) {
75
- const m = ctx?.message || {};
76
- if (m.groupOpenid) return 'group:' + m.groupOpenid;
77
- if (m.senderId) return 'c2c:' + m.senderId;
78
- return '';
79
- }
80
-
81
- /** 纯函数:这条消息是不是在评价她刚才的回复 */
82
- export function isFeedback(text) {
83
- const s = String(text == null ? '' : text).trim();
84
- if (s.length < 3 || s.length > 120) return false;
85
- return FB_RE.some((re) => re.test(s));
86
- }
87
-
88
- export async function onInbound(ctx, next) {
89
- try {
90
- const m = ctx?.message || {};
91
- if (m.dir === 'out' || m.fromSelf === true) return next();
92
- const scope = scopeOf(ctx);
93
- if (!scope) return next();
94
- const root = dataRootOf();
95
- const text = cleanChatText(String(m.content ?? ctx?.text ?? '')).slice(0, 120);
96
- if (!isFeedback(text)) return next();
97
-
98
- const key = 'feedback:last:' + scope;
99
- const st = getChatState(root, key) || {};
100
- if (Date.now() - Number(st.ts || 0) < 10 * 60 * 1000) return next();
101
-
102
- const lastOut = (queryChat(root, scope, { limit: 1, dir: 'out' }) || [])
103
- .map((r) => cleanChatText(String(r?.text || '')))
104
- .find(Boolean) || '';
105
- const body = `用户反馈:${text}${lastOut ? `(我上一条:${lastOut.slice(0, 60)})` : ''}`;
106
- const r = await remember(root, GLOBAL_SCOPE, { text: body, kind: 'insight', subj: 'feedback' });
107
- if (r && r.ok) {
108
- setChatState(root, key, { ts: Date.now() });
109
- ctx?.logger?.info?.('[feedback] 已记录一条用户反馈');
110
- }
111
- } catch (e) {
112
- ctx?.logger?.debug?.(`[feedback] 失败(已忽略): ${e?.message || e}`);
113
- }
114
- return next();
115
- }
1
+ import { existsSync as __existsSync } from 'node:fs'
2
+ const __repoRoot = (() => {
3
+ let cached = ''
4
+ const norm = (p) => String(p || '').split(String.fromCharCode(92)).join('/')
5
+ return () => {
6
+ if (cached) return cached
7
+ const cands = []
8
+ const env = String(process.env.QQBOT_ROOT || process.env.QQBOT_REPO_ROOT || '').trim()
9
+ if (env) cands.push(norm(env))
10
+ try {
11
+ let here = decodeURIComponent(new URL('.', import.meta.url).pathname)
12
+ if (here[0] === '/' && here[2] === ':') here = here.slice(1)
13
+ here = norm(here).replace(/\/+$/, '')
14
+ let d = here
15
+ for (let i = 0; i < 6; i += 1) {
16
+ if (!d) break
17
+ cands.push(d)
18
+ const k = d.lastIndexOf('/')
19
+ d = k > 0 ? d.slice(0, k) : ''
20
+ }
21
+ } catch { /* noop */ }
22
+ try { cands.push(norm(process.cwd())) } catch { /* noop */ }
23
+ for (const c of cands) {
24
+ try {
25
+ if (c && (__existsSync(c + '/qqbot-mod/muu-shared.mjs') || __existsSync(c + '/dshqqbot'))) { cached = c; return cached }
26
+ } catch { /* noop */ }
27
+ }
28
+ cached = norm(cands.find(Boolean) || '.')
29
+ return cached
30
+ }
31
+ })()
32
+ /**
33
+ * az-feedback.mjs — 把“用户对刚才回复的真实评价”收进记忆,喂给自我反思
34
+ *
35
+ * 背景(2026-11-07):runSelfReflection 只吃 insight/growth,等于只吃自己总结的
36
+ * 正面/中性心得,用户说“你刚才太凶了 / 别反问”这类真实反馈根本没进闭环。
37
+ *
38
+ * 这里只做一件事:识别**直接指向她**的负反馈,连同她上一条回复一起记为
39
+ * kind='insight', subj='feedback'(GLOBAL_SCOPE)。每天一次的本地反思会优先读它。
40
+ *
41
+ * 安全契约:
42
+ * · 严格正则 + 长度上限,宁漏不误记;
43
+ * · 同 scope 10 分钟最多记一条,避免刷屏式重复;
44
+ * · 任何异常只记日志并 next(),不影响聊天。
45
+ */
46
+ import {
47
+ cleanChatText, getChatState, loadConfig, queryChat, remember, setChatState,
48
+ } from '../lib/memory.mjs';
49
+ import { GLOBAL_SCOPE } from '../lib/profile-core.mjs';
50
+ import { scopeOfMessage } from '../lib/scope-util.mjs';
51
+
52
+ export const name = 'az-feedback';
53
+
54
+ const FB_RE = [
55
+ /(你|小蓝|肥鱼|鲸)[^\n]{0,14}(刚才|刚刚|上一条|上一句|这次|这话|说话|回复|接话|语气|态度)[^\n]{0,16}(凶|冲|敷衍|机械|说教|反讽|反问|抬杠|听不懂|不像人|过头|太冷|奇怪|差|不好|别扭|观感)/,
56
+ /(别|不要|以后别)[^\n]{0,12}(反问|反讽|抬杠|说教|复述|总结|抢话|自作聪明|阴阳|阴阳怪气|冷嘲热讽|杠我)/,
57
+ /(观感|听起来|看起来)[^\n]{0,10}(差|不好|怪|别扭|像客服|不像人)/,
58
+ /(答非所问|没听懂|听不懂|你没理解|理解错|会错意|不是问你|我在说自己|别接我的)/,
59
+ // 2026-11-07:分享/自嘲被反向嘲讽是最伤观感的一类,必须进反思
60
+ /(我在分享|只是分享|我在吐槽|我在自嘲|我自嘲[^\n]{0,8}你还|你杠我|你阴阳我|你嘲讽我)/,
61
+ /(别(?:再)?(?:拿我|开我)玩笑|别(?:再)?(?:嘲讽|阴阳|杠)我)/,
62
+ ];
63
+
64
+ function dataRootOf() {
65
+ const env = String(process.env.QQBOT_MEMORY_DATA_ROOT || '').trim();
66
+ if (env) return env;
67
+ try {
68
+ const cfg = loadConfig(__repoRoot() + "/dshqqbot");
69
+ return (cfg && cfg.dataRoot) || __repoRoot() + "/dshqqbot";
70
+ } catch {
71
+ return __repoRoot() + "/dshqqbot";
72
+ }
73
+ }
74
+
75
+ function scopeOf(ctx) {
76
+ return scopeOfMessage(ctx?.message);
77
+ }
78
+
79
+ /** 纯函数:这条消息是不是在评价她刚才的回复 */
80
+ export function isFeedback(text) {
81
+ const s = String(text == null ? '' : text).trim();
82
+ if (s.length < 3 || s.length > 120) return false;
83
+ return FB_RE.some((re) => re.test(s));
84
+ }
85
+
86
+ export async function onInbound(ctx, next) {
87
+ try {
88
+ const m = ctx?.message || {};
89
+ if (m.dir === 'out' || m.fromSelf === true) return next();
90
+ const scope = scopeOf(ctx);
91
+ if (!scope) return next();
92
+ const root = dataRootOf();
93
+ const text = cleanChatText(String(m.content ?? ctx?.text ?? '')).slice(0, 120);
94
+ if (!isFeedback(text)) return next();
95
+
96
+ const key = 'feedback:last:' + scope;
97
+ const st = getChatState(root, key) || {};
98
+ if (Date.now() - Number(st.ts || 0) < 10 * 60 * 1000) return next();
99
+
100
+ const lastOut = (queryChat(root, scope, { limit: 1, dir: 'out' }) || [])
101
+ .map((r) => cleanChatText(String(r?.text || '')))
102
+ .find(Boolean) || '';
103
+ const body = `用户反馈:${text}${lastOut ? `(我上一条:${lastOut.slice(0, 60)})` : ''}`;
104
+ const r = await remember(root, GLOBAL_SCOPE, { text: body, kind: 'insight', subj: 'feedback' });
105
+ if (r && r.ok) {
106
+ setChatState(root, key, { ts: Date.now() });
107
+ ctx?.logger?.info?.('[feedback] 已记录一条用户反馈');
108
+ }
109
+ } catch (e) {
110
+ ctx?.logger?.debug?.(`[feedback] 失败(已忽略): ${e?.message || e}`);
111
+ }
112
+ return next();
113
+ }