Commit graph

6 commits

Author SHA1 Message Date
Research Assistant
94f00e990a fix: sync paperforge.json version to 1.4.0; fix update.py missing GITHUB_REPO/GITHUB_ZIP imports; remove PaperForge.base generation (duplicates Literature Hub) 2026-04-27 21:25:00 +08:00
Research Assistant
93713be21e feat(UX-01): add auto_analyze_after_ocr config and OCR hook
- Add auto_analyze_after_ocr: false to paperforge.json (opt-in, default off)
- Insert hook in ocr.py after ocr_status=done to set analyze:true when
  config is enabled
- Wrapped in try/except so a single failure does not abort OCR batch
- Uses read_json (already imported) and re.sub (already imported)
- Regex pattern matches existing frontmatter convention
2026-04-27 17:57:33 +08:00
Research Assistant
881457dd92 Fix configurable Lite setup paths 2026-04-23 01:44:13 +08:00
Research Assistant
89374cb35f remove: all 科研读图指南 and Template references from project 2026-04-22 23:20:49 +08:00
Research Assistant
c607dd0441 rename: LiteraturePipeline -> PaperForge in all paths and references 2026-04-22 22:10:16 +08:00
Research Assistant
acec4a67eb feat: integrate update command into literature_pipeline.py
- Add 'update' subcommand to check and install updates from GitHub
- Support both git pull and zip download modes
- Auto-backup before update, auto-rollback on failure
- Protect user data (03_Resources/, 05_Bases/, .env, AGENTS.md)
- Add paperforge.json for version tracking
- Add standalone update.py as alternative entry point
- Fix 'all' worker to only run Lite workers
- Add missing imports (sys, tempfile, hashlib, subprocess, zipfile)
2026-04-22 19:03:49 +08:00