Research Assistant
ebc4fdeb00
chore: rename PaperForge Lite -> PaperForge across 27 files
2026-04-28 01:25:51 +08:00
Research Assistant
0505fd2fda
feat: add paperforge setup CLI command, one-click install script, sync __version__ to 1.4.0, detect local version from pip metadata
2026-04-27 21:34:03 +08:00
Research Assistant
67a52a898a
fix: VaultStep.__init__ missing step_id and checker in super() call
2026-04-27 19:49:36 +08:00
Research Assistant
498a9edfe5
feat(phase-12): extract worker modules from literature_pipeline.py
...
- Create paperforge/worker/ package with sync.py, ocr.py, repair.py,
status.py, deep_reading.py, update.py, base_views.py
- Update paperforge/commands/*.py to import from new worker modules
- Update paperforge/cli.py _import_worker_functions for new paths
- Update paperforge/config.py ld_deep_script resolution with fallback
- Update setup_wizard.py for new worker/skills paths
- Add function-level imports to break circular dependencies
2026-04-24 22:32:25 +08:00
Research Assistant
d04100db91
chore(09-command-unification): update setup wizard and worker for unified commands
...
- Update setup_wizard.py next-steps to use paperforge sync and paperforge ocr
- Replace /LD-deep with /pf-deep, /lp-* with /pf-* in setup wizard output
- Update literature_pipeline.py deep-reading output to use paperforge ocr and /pf-deep
2026-04-24 16:56:56 +08:00
Research Assistant
6052c823e6
Add run_repair() function for three-way OCR state divergence repair
2026-04-24 00:02:32 +08:00
Research Assistant
187af3b379
fix(cli): lazy pipeline import with idempotent guard; remove paperforge_lite deployment from wizard
...
Root cause: paperforge.exe pointed to vault's PaperForge/paperforge_lite/ (deployed by
wizard), which lacked the 'pipeline/' package, causing ModuleNotFoundError.
Fix:
- cli.py: deferred sys.path resolution + idempotent worker import (each global
is imported only once; tests can patch stubs and guards skip if already bound)
- wizard: remove paperforge_lite copytree deployment (pip install -e . handles it)
- .gitignore: add tests/sandbox/00_TestVault/
2026-04-23 21:31:51 +08:00
Research Assistant
1d8478ce9c
fix(wizard): auto-run pip install -e . and improve UX flow
...
- setup_wizard.py: _deploy() now calls pip install -e <repo_root> automatically
- DoneStep: removes manual 'pip install -e .' instruction (wizard handles it)
- README.md: removes separate pip install -r requirements.txt step
- docs/INSTALLATION.md: same pip install simplification
- pyproject.toml: add pytest ignore for nested sandbox vault
- tests/sandbox/: remove old vault/ (replaced by 00_TestVault/)
- tests/sandbox/README.md: update flow, wizard handles pip install
2026-04-23 20:49:10 +08:00
Research Assistant
e0acb64e8d
feat(01-03): deploy paperforge_lite package through setup wizard
...
- setup_wizard.py now copies the paperforge_lite/ package alongside
the worker and ld_deep scripts during deployment
- Two copy targets: <pf_path>/worker/paperforge_lite/ for
literature_pipeline.py and <skill_dir>/literature-qa/paperforge_lite/
for ld_deep.py
- Existing copy targets for literature_pipeline.py and ld_deep.py
remain unchanged
- Warning emitted if paperforge_lite source not found
2026-04-23 12:01:36 +08:00
Research Assistant
51d35d6999
feat(01-04): replace unresolved path-token commands with stable paperforge commands
...
- command/lp-*.md: replace python <system_dir>/... with paperforge status|selection-sync|index-refresh|ocr run; add fallback legacy command section
- command/ld-deep.md: update queue preflight to 'paperforge deep-reading'; add paperforge paths --json for variable resolution
- README.md: update core commands section to show paperforge first, legacy as fallback
- docs/INSTALLATION.md: add paperforge paths/status as primary verification
- docs/setup-guide.md: replace python pipeline/worker/... with paperforge selection-sync/index-refresh
- setup_wizard.py DoneStep: add pip install -e . and paperforge commands as primary next steps
All 15 tests in tests/test_command_docs.py pass.
2026-04-23 11:40:24 +08:00
Research Assistant
881457dd92
Fix configurable Lite setup paths
2026-04-23 01:44:13 +08:00
Research Assistant
e0881f7d2c
restore ASCII logo in WelcomeStep
2026-04-23 01:17:46 +08:00
Research Assistant
7517ead1a6
fix: deploy scripts and .env to 99_System/PaperForge/ instead of vault root
2026-04-23 01:05:44 +08:00
Research Assistant
fd7ccb53fc
fix: unify PaddleOCR env var names to match pipeline expectations (API_TOKEN/JOB_URL)
2026-04-23 00:57:48 +08:00
Research Assistant
270e1b8dc6
simplify: only check zotero.sqlite and storage exist; remove unnecessary path validation
2026-04-23 00:43:13 +08:00
Research Assistant
b6e59043b2
fix: skip junction creation if Zotero data dir is inside vault
2026-04-23 00:41:59 +08:00
Research Assistant
a4ede4303a
fix: add Zotero path validation to prevent vault path confusion; improve instructions
2026-04-23 00:40:08 +08:00
Research Assistant
e7312c1526
fix: support dict-format Better BibTeX JSON exports
2026-04-23 00:32:38 +08:00
Research Assistant
5605befcf0
feat: add PaddleOCR API Key input in DeployStep
2026-04-22 23:38:33 +08:00
Research Assistant
47b5661c2d
feat: add pre-deploy safety check - block if any prior step incomplete
2026-04-22 23:25:26 +08:00
Research Assistant
27134ba569
fix: Better BibTeX format and emphasize keep-updated requirement
2026-04-22 23:24:31 +08:00
Research Assistant
89374cb35f
remove: all 科研读图指南 and Template references from project
2026-04-22 23:20:49 +08:00
Research Assistant
29949395ef
prefill Zotero path with actual username and home directory
2026-04-22 23:09:01 +08:00
Research Assistant
6f1f451893
fix: hide absolute paths in wizard; auto-detect Zotero data directory
2026-04-22 23:06:55 +08:00
Research Assistant
7764b86b2e
feat: add vault path input with validation; improve directory tree display; hide absolute paths in ZoteroStep
2026-04-22 22:29:36 +08:00
Research Assistant
da80b8c781
fix: remove duplicate lines causing IndentationError
2026-04-22 22:13:59 +08:00
Research Assistant
c607dd0441
rename: LiteraturePipeline -> PaperForge in all paths and references
2026-04-22 22:10:16 +08:00
Research Assistant
19292e1eee
refactor: simplify VaultStep (custom dir names) and ZoteroStep (manual path input)
2026-04-22 21:59:32 +08:00
Research Assistant
6eff7f3e4b
fix: CSS color bright_cyan -> ansi_bright_cyan
2026-04-22 21:53:21 +08:00
Research Assistant
58f2e04c7c
feat: integrate all setup.py features into wizard
2026-04-22 21:47:34 +08:00
Research Assistant
067c24d834
fix: Tree checkmark logic, manual Zotero path, list all installed commands in DoneStep
2026-04-22 21:13:08 +08:00
Research Assistant
fdf854a62c
fix: 5 wizard issues - start button, dynamic paths, zotero detection, collection docs, scrolling
2026-04-22 21:04:03 +08:00
Research Assistant
cc6dd83433
fix: make StepPassed/RestartWizard proper Textual Message subclasses; fix ContentSwitcher child IDs
2026-04-22 20:41:45 +08:00
Research Assistant
c4de43e565
fix: set id on ContentSwitcher children for step navigation
2026-04-22 20:26:19 +08:00
Research Assistant
738eb4b1b7
fix: add missing argparse import
2026-04-22 20:23:53 +08:00
Research Assistant
cea8046c30
feat: rewrite setup wizard as step-by-step guide with screenshots
2026-04-22 20:20:45 +08:00
Research Assistant
eafbab7594
feat: add TUI setup wizard and setup guide
...
- Add setup_wizard.py: Textual TUI with checklist + guide
- Detects: Python, Vault structure, Zotero, Better BibTeX, JSON exports
- Blocked guide until all checks pass
- Open local docs/setup-guide.md from TUI
- Add docs/setup-guide.md: Detailed text-based setup instructions
- Menu path diagrams for Zotero/BBT configuration
- JSON-to-Base relationship explanation
- FAQ section
- Integrate 'wizard' command into literature_pipeline.py
2026-04-22 19:28:52 +08:00