PaperCLI v1.0.2 - PDF Processing Fix
What's Changed in v1.0.2
π Bug Fixes
- Fixed PDF processing error during edits - Resolved "are the same file" error when editing papers without changing the PDF path
- Added fallback database creation - Application now gracefully handles missing Alembic configuration by falling back to direct SQLAlchemy table creation
- Improved installation reliability - Better handling of different installation scenarios (pipx, pip, source)
π Documentation Updates
- Updated OpenAI API key documentation - Clarified that OpenAI API key is required (not optional) for AI features
- Added API key setup to Quick Start - Users are now guided to set up the OpenAI API key as the first step
- Fixed source installation instructions - Corrected README to use
python -m app.paperclifor running from source
π§ Technical Improvements
- Enhanced PDF file handling with duplicate path detection
- More robust database initialization with graceful Alembic fallback
- Better error handling for edge cases in paper editing workflow
π¦ Installation
# Recommended: Install via pipx
pipx install git+https://github.com/SXKDZ/papercli.git
# Alternative: Install via pip
pip install git+https://github.com/SXKDZ/papercli.git
# Run from source
git clone https://github.com/SXKDZ/papercli.git
cd papercli
pip install -r requirements.txt
python -m app.papercliπ Quick Start Reminder
- Set up your OpenAI API key:
echo "OPENAI_API_KEY=your_key_here" > .env - Launch PaperCLI:
papercli - Add your first paper:
/add arxiv 2307.10635
This release fixes the PDF processing bug that was preventing paper edits and improves overall stability across different installation methods.