openclaw/extensions/feishu
laopuhuluwa 53a2e72fcb
feat(feishu): extract embedded video/media from post (rich text) messages (#21786)
* feat(feishu): extract embedded video/media from post (rich text) messages

Previously, parsePostContent() only extracted embedded images (img tags)
from rich text posts, ignoring embedded video/audio (media tags). Users
sending post messages with embedded videos would not have the media
downloaded or forwarded to the agent.

Changes:
- Extend parsePostContent() to also collect media tags with file_key
- Return new mediaKeys array alongside existing imageKeys
- Update resolveFeishuMediaList() to download embedded media files
  from post messages using the messageResource API
- Add appropriate logging for embedded media discovery and download

* Feishu: keep embedded post media payloads type-safe

* Feishu: format post parser after media tag extraction

---------

Co-authored-by: laopuhuluwa <laopuhuluwa@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
2026-02-27 23:39:24 -06:00
..
skills feat(feishu): support Docx table create/write + image/file upload actions in feishu_doc (#20304) 2026-02-27 18:00:56 -06:00
src feat(feishu): extract embedded video/media from post (rich text) messages (#21786) 2026-02-27 23:39:24 -06:00
index.ts fix: route feishu doc tools by agent account context (#27338) (thanks @AaronL725) 2026-02-26 12:00:45 +00:00
openclaw.plugin.json
package.json fix(feishu): pass proxy agent to WSClient for proxy environments (#26397) 2026-02-27 23:15:11 -06:00