@dcrays/dcgchat-test 0.3.11 → 0.3.12

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 +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcrays/dcgchat-test",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "type": "module",
5
5
  "description": "OpenClaw channel plugin for 书灵墨宝 (WebSocket)",
6
6
  "main": "index.ts",
package/src/bot.ts CHANGED
@@ -302,6 +302,7 @@ export async function handleDcgchatMessage(msg: InboundMessage, accountId: strin
302
302
  })
303
303
  } else if (interruptCommand.includes(text?.trim())) {
304
304
  dcgLogger(`interrupt command: ${text}`)
305
+ safeSendFinal('abort')
305
306
  sendText('会话已终止', outboundCtx)
306
307
  sessionStreamSuppressed.add(effectiveSessionKey)
307
308
  const runId = activeRunIdBySessionKey.get(effectiveSessionKey)