lllin000_PaperForge/paperforge/plugin
LLLin000 06fec04651 feat: Phase 0, 1, 3a — legacy OCR fix, ChromaDB migration, search bar UI
Phase 0 (#35): _needs_derived_rebuild returns (False, 'legacy_ocr') for
papers without structured blocks and derived_version. _can_rebuild adds
has_structured check. No misleading rebuild suggestions for legacy users.

Phase 1 (#36): migrate_chroma_to_vec0() copies existing ChromaDB vectors
to vec0 tables with zero API calls. Idempotent (skips by paper_id).
delete_paper_vectors() cleans both ChromaDB and vec0. CLI: embed migrate.
5 new tests.

Phase 3a (#39): Search bar in collection panel — two-mode input
(M metadata / @ deep) with card results display. JSON output parsed
from search/retrieve CLI. 289 lines TypeScript, 175 lines CSS.
Build passes clean.

Co-authored-by: Phase0LegacyOcr <agent>
Co-authored-by: ChromaMigration <agent>
Co-authored-by: SearchBarUI <agent>
2026-07-10 00:02:02 +08:00
..
.husky A2: check table ownership (consumed_table_block_keys) before _SKIPPED_BODY_ROLES in render loop 2026-06-25 22:27:35 +08:00
docs/design Merge branch 'ocr-v2' 2026-06-29 02:03:23 +08:00
src feat: Phase 0, 1, 3a — legacy OCR fix, ChromaDB migration, search bar UI 2026-07-10 00:02:02 +08:00
tests feat: surface drift state and invalidate maintenance cache 2026-07-05 16:52:17 +08:00
.lintstagedrc Add pre-commit hooks (husky + lint-staged + prettier) 2026-06-25 16:42:34 +08:00
.prettierrc Add pre-commit hooks (husky + lint-staged + prettier) 2026-06-25 16:42:34 +08:00
esbuild.config.mjs chore(plugin): add esbuild.config.mjs 2026-05-24 16:53:21 +08:00
main.js feat: Phase 0, 1, 3a — legacy OCR fix, ChromaDB migration, search bar UI 2026-07-10 00:02:02 +08:00
manifest.json bump: 1.5.14 -> 1.5.15 2026-06-01 19:46:46 +08:00
package-lock.json Add pre-commit hooks (husky + lint-staged + prettier) 2026-06-25 16:42:34 +08:00
package.json Add pre-commit hooks (husky + lint-staged + prettier) 2026-06-25 16:42:34 +08:00
styles.css feat: Phase 0, 1, 3a — legacy OCR fix, ChromaDB migration, search bar UI 2026-07-10 00:02:02 +08:00
tsconfig.json chore(plugin): finalize TS migration -- delete legacy testable.js 2026-05-24 17:33:22 +08:00
versions.json chore: add 1.5.13 to versions.json 2026-05-25 12:25:30 +08:00
vitest.config.ts test(plugin): switch vitest config to .ts test files 2026-05-24 17:29:06 +08:00