Skip to content

Cherry-pick 53a2e72fc+f81093285: feishu post video extraction + locale test fix#1481

Merged
alexey-pelykh merged 2 commits intomainfrom
cherry-pick/53a2e72fc+f81093285-feishu-post-video-locale
Mar 16, 2026
Merged

Cherry-pick 53a2e72fc+f81093285: feishu post video extraction + locale test fix#1481
alexey-pelykh merged 2 commits intomainfrom
cherry-pick/53a2e72fc+f81093285-feishu-post-video-locale

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Combined cherry-pick of two dependent upstream commits:

  1. openclaw/openclaw@53a2e72fc — feat(feishu): extract embedded video/media from post (rich text) messages (feat(feishu): extract embedded video/media from post (rich text) messages openclaw/openclaw#21786)
  2. openclaw/openclaw@f81093285 — Feishu: fix locale-wrapper post parser test (Feishu: fix locale-wrapper post parser test openclaw/openclaw#29576)

Picked together because f810932 fixes a test regression introduced by 53a2e72.

Part of #678.

Cherry-picked-from: 53a2e72, f810932

laopuhuluwa and others added 2 commits March 16, 2026 01:20
…ages (openclaw#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 <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
(cherry picked from commit 53a2e72)
@alexey-pelykh alexey-pelykh merged commit e62e4b5 into main Mar 16, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/53a2e72fc+f81093285-feishu-post-video-locale branch March 16, 2026 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants