mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 17:00:23 +00:00
- DEFAULT_SETTINGS: vault_path, system_dir, resources_dir, literature_dir, control_dir, agent_config_dir, paddleocr_api_key, zotero_data_dir - Plugin.loadSettings() merges DEFAULT_SETTINGS with saved data via Object.assign - Plugin.saveSettings() persists via Obsidian Plugin.saveData() API - PaperForgeSettingTab with 3 sections: 基础路径 (6 fields), API 密钥 (1 password), Zotero 链接 (1 field) - Debounced 500ms save on field change via setTimeout/clearTimeout pattern - 8 settings text inputs: 7 regular + 1 password field for paddleocr_api_key - Settings survive tab switch (in-memory state) and Obsidian restart (data.json persistence) |
||
|---|---|---|
| .. | ||
| command_files | ||
| commands | ||
| plugin | ||
| skills | ||
| worker | ||
| __init__.py | ||
| __main__.py | ||
| cli.py | ||
| config.py | ||
| logging_config.py | ||
| ocr_diagnostics.py | ||
| pdf_resolver.py | ||
| setup_wizard.py | ||