Repository navigation
Extract text from 103 file types in File Search (#1381) - #1401
Merged
Merged
Conversation
helpcodeai
enabled auto-merge (squash)
November 1, 2026 16:42
helpcodeai
force-pushed
the
feat/file-search-more-formats
branch
from
November 1, 2026 16:51
d4a9dc5 to
f607607
Compare
2 tasks done
Adds configuration and source-code text files (with a binary sniff, so a .ts video is not indexed as noise), Office macro/template/show variants, OpenDocument templates, .xlsb (pyxlsb), SVG, ASCII DXF, EPUB, XPS/OXPS, iWork files through their PDF preview, and .mbox mailboxes. Every new ZIP format goes through the bomb guard and every XML part through defusedxml; DWG and binary DXF report unsupported with a hint. Refs #1379
The backend extension list, the wizard's type filters (new Drawings and Code groups) and the docs follow the extractor's /formats. The extractor image tag moves to :2 so deploys rebuild it. Refs #1379
helpcodeai
force-pushed
the
feat/file-search-more-formats
branch
from
November 1, 2026 18:27
f607607 to
dc071a0
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The owner asked that File Search read almost every file type that has extractable text. The extractor goes from 23 to 103 extensions; the image grows by 0.19 MB.
ee/ authorization: the owner explicitly authorized changes under
deploy/ee/file-extractor/(andpackages/backend/src/ee/file-search/) for File Search; nothing else underee/is touched.Changes
.docm .dotx .dotm .xltx .xltm .xlsb .pptm .ppsx .ppsm .potx .potm, OpenDocument templates.ott .ots .otp..xlsbusespyxlsb1.0.10: pure Python, LGPLv3+, dates come out as serials..epub: chapters in reading order; DRM-protected books are reported as encrypted..xps/.oxps: one item per page..pages .numbers .key: text of the embedded PDF preview, if there is one..svg: text, title and description only, with a safe XML parser..dxf: ASCII only; TEXT, MTEXT, ATTRIB and dimension text..mbox: one item per message, attachments listed by name..yaml .yml .toml .ini .cfg .conf .properties .sql .tex .bib .srt .vtt .ics .vcf .kml .gpxand common source code. Decoded like.txt; binary content is refused.file-search.types.tsmatches the extractor's/formatsexactly, enforced by a new spec.:1→:2, so deploys rebuild it.docs/connectors/file-search.md,llms-full.txt..dwg(no free reader; the message suggests DXF) and the native iWork format.Cloud and self-hosted alike.
Type
Testing
deploy/ee/file-extractor.venv/bin/python -m pytest -q -rsdeploy/ee/file-extractor./test.sh(host + read-only no-network container + HTTP checks)docker build -t amcp-file-extractor:formats deploy/ee/file-extractorpackages/backendnpx tsc --noEmit -p tsconfig.jsonpackages/backendnpx jest src/file-search src/ee/file-search --maxWorkers=4packages/frontendnpx tsc --noEmit -p tsconfig.jsonnode scripts/generate-llms-txt.mjs --checkNew tests in
tests/test_more_formats.pycover XXE attempts in SVG, EPUB and XPS, and an entity bomb in KML/GPX.Related Issues
Relates to #1381, #1379.