Integrate anydoc document ingestion - #6
Closed
edison7009 wants to merge 1 commit into
Closed
Conversation
Owner
Author
|
Closed as superseded by 769cdb7. TierNote now uses its own local document-reading implementation, removes the AnyDoc dependency and notice, and completes the TierNote identifier migration without adopting the AnyDoc integration. |
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.
What changed
anydoc0.1.9 structured Markdown conversion.Why
The previous reader stripped XML tags or performed a minimal PDF scan, losing tables, lists, links, notes, and other structure. It also rejected legacy and OpenDocument formats. anydoc provides a tested local parser with fixed resource limits and substantially broader format coverage without sending user files to a hosted service.
User impact
The Agent can read more document formats and receives cleaner, structure-preserving Markdown. Existing document generation behavior remains available and unchanged. Scanned or image-only PDFs still require OCR.
Validation
cargo clippy --manifest-path src-tauri/Cargo.toml --locked --all-targets -- -D warningscargo test --manifest-path src-tauri/Cargo.toml --locked --lib— 187 passednpm run typechecknpm run library:checkgit diff --check