PaperCLI v1.1.0 - Interactive Chat Interface
This major update introduces a powerful interactive chat interface for discussing papers with AI, along with significant performance and usability improvements.
β¨ New Features
π€ Interactive Chat Interface
- Local Chat Dialog: New
/chatcommand opens a real-time chat interface with OpenAI GPT - Configurable Models: Support for any OpenAI model (GPT-4o, GPT-4, etc.) via
OPENAI_MODELenv var - Automatic PDF Context: First 10 pages of PDFs are automatically included in chat context
- Auto-Summarization: Papers without notes get automatic AI-generated summaries
- Smart Navigation: Input history with up/down arrows, contextual scrolling
πΉ Enhanced Keyboard Shortcuts
- Chat Interface:
Enter- Send messageCtrl+J- Insert newlineCtrl+S- Send message (alternative)β/β- Navigate input history or scroll chatPageUp/PageDown- Scroll chat by pageEsc- Close chat
- Updated F-Keys: F4 now opens chat interface
π Browser Chat Integration
- Quick Access:
/chat [provider]opens Claude, ChatGPT, or Gemini web interfaces - Provider Options: claude, chatgpt, gemini
- Automatic PDF Opening: PDFs open alongside browser chat interfaces
π§ Technical Improvements
β‘ Performance Enhancements
- Multithreaded Processing: All LLM operations run in background threads
- Non-blocking UI: Interface remains responsive during AI processing
- Real-time Status Updates: π€ emoji indicates LLM operations in progress
π οΈ System Improvements
- Thread-safe UI Updates: Proper async handling with
call_soon_threadsafe - Enhanced Error Handling: More informative error messages
- StatusMessage System: Centralized emoji management for consistent UI
- Improved Window Sizing: Fixed chat dialog dimensions and scroll handling
π Documentation Updates
- Comprehensive Chat Guide: Detailed documentation of chat interface features
- Updated Keyboard Shortcuts: Complete reference for all shortcuts
- Simplified Configuration: Clear setup instructions for OpenAI integration
- Enhanced Help Text: In-app help includes chat interface shortcuts
π Breaking Changes
- F-Key Mapping: F4 now opens chat (previously F1 was help)
- Chat Command:
/chatnow opens local interface (use/chat [provider]for browser)
π Bug Fixes
- Fixed status bar updates during long-running operations
- Improved PDF content extraction and error handling
- Enhanced dialog focus management and keyboard navigation
π¦ Installation
# Install from GitHub
pip install git+https://github.com/SXKDZ/papercli.git
# Or using pipx (recommended)
pipx install git+https://github.com/SXKDZ/papercli.gitπ§ Configuration
Add to your .env file for chat functionality:
# Required for local chat interface and summarization
OPENAI_API_KEY=your_openai_api_key_here
# Optional: specify OpenAI model (defaults to gpt-4o)
OPENAI_MODEL=gpt-4oFull Changelog: v1.0.4...v1.1.0