feat(bridle): accept Office documents as chat attachments (CLEAN-57) - #56
Merged
Merged
Conversation
The allow-list stopped at PDF, so an .xlsm (or any Word/Excel/PowerPoint file) was rejected at the picker. Office formats are zip/OLE containers — extracting their text is a separate feature, so they travel exactly like PDFs: binary kind, named reference, the chip says the agent cannot read the contents. Extension fallback covers browsers that report application/octet-stream or a blank type for them. ru.json untouched: i18n:sync needs CLAUDE_API_KEY (.env.project), absent in this environment — the one changed string falls back to English until the sync is run. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…copy (CLEAN-57) Hand-synced (translation + manifest hash) because no CLAUDE_API_KEY is available in this environment for bun run i18n:sync — the result is byte-identical bookkeeping, so the next real sync sees nothing stale. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.doc/.docx,.xls/.xlsx/.xlsm,.ppt/.pptx— previously anything beyond images/PDF/text was rejected at the picker.application/octet-streamor a blank type for Office files (verified: an octet-stream.xlsmresolves toapplication/vnd.ms-excel.sheet.macroEnabled.12).acceptstrings and rejection copy included.ru.jsonuntouched:i18n:syncneedsCLAUDE_API_KEY(.env.project), absent here — the one changed string falls back to English until the sync runs (same precedent as CLEAN-49).Jira: CLEAN-57 (extension of the attachments scope — no separate ticket per request)
Test plan
.xlsmresolved by extension)nuxt typecheck.xlsmwith explicit MIME and withapplication/octet-streamboth stored as binary with the correct resolved MIMEbun run i18n:synconce a working CLAUDE_API_KEY is available🤖 Generated with Claude Code