Skip to content

feat(parse): replace Office conversion with anydoc + image rewrite - #3949

Open
JFPURE wants to merge 11 commits into
volcengine:mainfrom
JFPURE:feat/anydoc-office-converter
Open

feat(parse): replace Office conversion with anydoc + image rewrite#3949
JFPURE wants to merge 11 commits into
volcengine:mainfrom
JFPURE:feat/anydoc-office-converter

Conversation

@JFPURE

@JFPURE JFPURE commented Aug 12, 2026

Copy link
Copy Markdown

Description

Human Involvement

  • A human participated in the implementation or review loop
  • This PR was generated entirely by AI agents without human participation in the loop

Related Issue

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Changes Made

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

张剑锋 and others added 11 commits August 12, 2026 11:38
Co-authored-by: Cursor <cursoragent@cursor.com>
Register anydoc parser config with firecrawl-anydoc dependency and a small
attribute adapter for binding name normalization ahead of converter wiring.

Co-authored-by: Cursor <cursoragent@cursor.com>
Serialize anydoc documents to GFM while preserving embedded images through the existing storage media pipeline.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move inline-code backslash escaping out of the f-string expression for
Python 3.10/3.11 compatibility, and stop tracking the SDD task report
in the product tree.

Co-authored-by: Cursor <cursoragent@cursor.com>
Route Word and real OLE documents through the shared converter while preserving configurable legacy fallbacks and OOXML disguise handling.

Co-authored-by: Cursor <cursoragent@cursor.com>
Wire application parser settings into the default registry and prevent unsupported ODT/RTF files from reaching python-docx.
Route supported presentation and EPUB formats through the shared converter while preserving safe format-specific legacy fallbacks.

Co-authored-by: Cursor <cursoragent@cursor.com>
Route modern spreadsheet formats through anydoc with safe row truncation while preserving legacy process-pool conversion when anydoc is disabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
Forward directory parse settings through the anydoc path and make skipped row truncation observable.
Reflect the expanded Office and EPUB format coverage while keeping PDF behavior explicitly unchanged.
Resolve signatureless CSV conversion and preserve ingestion options across Office parsers while documenting and testing XLSB behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant