Skip to content

Transfer: add background job execution, runtime progress sink, LLM de…#18

Open
DeepThinkingZhouLiu wants to merge 2 commits intomainfrom
lz/dev
Open

Transfer: add background job execution, runtime progress sink, LLM de…#18
DeepThinkingZhouLiu wants to merge 2 commits intomainfrom
lz/dev

Conversation

@DeepThinkingZhouLiu
Copy link
Copy Markdown
Contributor

…bug logging, and frontend job polling monitor

…bug logging, and frontend job polling monitor
Dennis-Huangm added a commit to Dennis-Huangm/OpenPrism that referenced this pull request Mar 10, 2026
Adopt the main-file discovery portion of PR OpenDCAI#18 by exposing template entrypoints, honoring manifest mainFile across project and transfer flows, and persisting main-file selection so ACL-style templates resolve to the correct root file.
Dennis-Huangm added a commit to Dennis-Huangm/OpenPrism that referenced this pull request Mar 10, 2026
Adopt the MinerU robustness portion of PR OpenDCAI#18 by fixing markdown/main-file selection, protecting transfer fetches with bounded timeouts and safer URL handling, and making copied assets and progress reporting deterministic for PDF-to-LaTeX transfers.
@DeepThinkingZhouLiu
Copy link
Copy Markdown
Contributor Author

This PR stabilizes the MinerU-based template transfer flow and removes a few misleading failure/success paths.

Summary:

  • disable the unfinished layout-check flow instead of auto-resuming with empty screenshots
  • validate MinerU startup/upload inputs earlier (missing token, non-PDF upload)
  • fix TeX \input / \include resolution so nested relative paths are resolved from the current file directory
  • reorder the MinerU pipeline to copy assets before LLM transfer
  • normalize copied MinerU image paths and rewrite Markdown image references to the final target filenames
  • update the transfer UI so it no longer implies VLM layout review is active

Validation:

  • frontend build passed with npm run build
  • backend module import checks passed
  • verified nested \input resolution with a targeted script
  • verified duplicate-image rename + Markdown rewrite with a targeted script
  • ran a real MinerU parsing flow with a valid MinerU token
  • ran a full real transfer flow with a real OpenAI-compatible endpoint and confirmed the generated project compiled successfully

Known limitation:

  • layout quality is still not fully solved; the flow now prioritizes correctness and honest status reporting over unfinished VLM-based layout validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant