mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 06:50:53 +00:00
- New asset_index.py module with build_index(), get_index_path(), atomic_write_index() - build_envelope() wraps items in versioned envelope (schema_version, generated_at, paper_count, items) - atomic_write_index() uses tempfile.NamedTemporaryFile + os.replace for Windows-safe atomic writes - Cross-process locking via filelock.FileLock with 10-second timeout - build_index() extracted from sync.py run_index_refresh loop (lines 1686-1746) - sync.py run_index_refresh() delegates to asset_index.build_index() - Orphaned-record cleanup stays in sync.py |
||
|---|---|---|
| .. | ||
| 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 | ||