PageIndex/pageindex/storage
Ray 0a78f1d85d fix: store status in SQLite, derive cloud doc_type from filename
- Add `status` column to the documents table (NOT NULL, no default for
  new databases; ALTER with DEFAULT 'completed' for migration).
  save_document requires an explicit status — no silent fallback.
  local.py passes "completed" at save time instead of hardcoding it at
  read time, aligning with the server's FilePageIndex schema.

- Derive doc_type from the document filename extension in the cloud
  backend instead of hardcoding "pdf" — the cloud API accepts DOCX,
  PPTX, TXT, MD and other formats.

- Fix incorrect comment claiming the cloud /docs/ endpoint caps limit
  at 100 (the server accepts up to 10000; 100 was a client-side
  restriction in the 0.2.x SDK).
2026-07-23 16:51:59 +08:00
..
__init__.py feat: add PageIndex SDK with local/cloud dual-mode support (#207) 2026-04-08 20:21:58 +08:00
protocol.py style: give Protocol stubs docstring bodies 2026-07-08 17:33:41 +08:00
sqlite.py fix: store status in SQLite, derive cloud doc_type from filename 2026-07-23 16:51:59 +08:00