Skip to content

Dispatch inbound WeChat image and video media - #18

Open
octo-patch wants to merge 1 commit into
freestylefly:masterfrom
octo-patch:octo/20260812-input-capability-recvrFHC6Qp4sx
Open

Dispatch inbound WeChat image and video media#18
octo-patch wants to merge 1 commit into
freestylefly:masterfrom
octo-patch:octo/20260812-input-capability-recvrFHC6Qp4sx

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: The WeChat callback recognizes image and video messages, but the handler discards them before agent dispatch.

  • Forward supported image and video URLs into the inbound agent context with matching MIME metadata.
  • Preserve callback content types and continue rejecting unsupported or unsafe media references.
  • Add focused coverage for callback normalization and inbound media context construction.

Checks:

  • ./node_modules/.bin/tsx --test test/bot-media.test.ts

AI disclosure: This pull request was prepared with Codex assistance for code changes and tests. A human maintainer must review and understand the patch before merge.

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.

1 participant