- inbound: wecom file/video frames download+decrypt into InboundMessage.files
- session: store non-image attachments under media_in/, reference path in prompt
- outbound: workspace sentinel diffs agent cwd after each turn; new files emit
media events; wecom uploads via 3-step aibot upload protocol (init/chunk/finish)
- >20MB or unsupported channels fall back to text with the server path