feat(attachments): allow Office documents as outbound attachments
Bots had to zip .pptx decks because the outbound allowlist only covered images, audio/video, pdf, zip and plain-text files. Add docx/xlsx/pptx (checked for the ZIP local-file-header signature) and legacy doc/xls/ppt (checked for the OLE2 compound-file signature). The 8MB cap and the allowed-directory rules are unchanged. Prompt format lists are updated so agents stop zipping these files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@ MEDIA:/absolute/path/preview.mp4
|
||||
- `MEDIA:` lines are hidden from the visible message and uploaded as native Discord attachments
|
||||
- Use absolute local paths only, and do not repeat the same path elsewhere in the visible text
|
||||
- Do not rely on generic markdown links or plain file paths for attachments
|
||||
- Supported formats include PNG, JPEG, GIF, WebP, BMP, MP4, MOV, WebM, MP3, WAV, OGG, M4A, FLAC, PDF, ZIP, TXT, Markdown, CSV, and JSON. SVG is not accepted.
|
||||
- Supported formats include PNG, JPEG, GIF, WebP, BMP, MP4, MOV, WebM, MP3, WAV, OGG, M4A, FLAC, PDF, ZIP, DOCX, XLSX, PPTX, DOC, XLS, PPT, TXT, Markdown, CSV, and JSON. SVG is not accepted.
|
||||
- The channel harness validates and uploads attachments from these media directives
|
||||
|
||||
## CI monitoring (watch_ci)
|
||||
|
||||
Reference in New Issue
Block a user