github sunnoy/openclaw-plugin-wecom v1.5.0

latest releases: v3.0.1, v3.0.0, v2.4.0...
one month ago

Changes

  • 媒体类型自动识别: 新增 resolveAgentMediaTypeFromFilename,根据文件扩展名自动判断上传类型为 imagefile,替换原先 Agent API 中硬编码的 "image" 类型,支持非图片文件通过私信正常投递
  • 流恢复增强: 新增 resolveRecoverableStream,通过 lastStreamByKey 在异步上下文丢失时兜底恢复 stream,自动清除 thinking... 占位符并向用户发送文件投递提示

Fixes

  • 外部 URL 下载失败时抛出明确错误(download media failed: <status>
  • fallback filename 从 image.png 修正为 file,避免误导文件名

Tests

  • 新增 tests/channel-plugin.media-type.test.js 覆盖媒体类型识别逻辑

Don't miss a new openclaw-plugin-wecom release

NewReleases is sending notifications on new releases.