@dcrays/dcgchat-test 0.3.6 → 0.3.7

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": "@dcrays/dcgchat-test",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "type": "module",
5
5
  "description": "OpenClaw channel plugin for 书灵墨宝 (WebSocket)",
6
6
  "main": "index.ts",
package/src/bot.ts CHANGED
@@ -424,7 +424,7 @@ export async function handleDcgchatMessage(msg: InboundMessage, accountId: strin
424
424
  }
425
425
  }
426
426
  }
427
- safeSendFinal('end')
427
+ // safeSendFinal('end')
428
428
  clearSentMediaKeys(msg.content.message_id)
429
429
 
430
430
  // Record session metadata
@@ -178,6 +178,8 @@ export function cronToolCall(event: { toolName: any; params: any; toolCallId: an
178
178
  newParams.command =
179
179
  params.command.replace('--json', '') + ` --session-key ${sk} --channel ${"dcgchat-test"} --to ${sk} --json`
180
180
  return { params: newParams }
181
+ } else {
182
+ return undefined
181
183
  }
182
184
  }
183
185