@dcrays/dcgchat-test 0.2.31 → 0.2.32

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/bot.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcrays/dcgchat-test",
3
- "version": "0.2.31",
3
+ "version": "0.2.32",
4
4
  "type": "module",
5
5
  "description": "OpenClaw channel plugin for 书灵墨宝 (WebSocket)",
6
6
  "main": "index.ts",
package/src/bot.ts CHANGED
@@ -247,7 +247,9 @@ export async function handleDcgchatMessage(msg: InboundMessage, accountId: strin
247
247
  onError: (err: unknown, info: { kind: string }) => {
248
248
  dcgLogger(`${info.kind} reply failed: ${String(err)}`, 'error')
249
249
  },
250
- onIdle: () => {}
250
+ onIdle: () => {
251
+ sendFinal(msgCtx)
252
+ }
251
253
  })
252
254
 
253
255
  let wasAborted = false