Cloud-only receipt readout, drop on-device tiers #16

Merged
julian merged 1 commit from chore/remove-unused-readout into main 2026-06-23 22:03:30 +02:00
Owner

Receipt extraction is now cloud-only (Claude vision via the extract-receipt Edge Function). Removes the on-device / geometry / text readout tiers, the admin tier selector, and the extraction-source badge.

  • delete ocr/recognize, foundation, layout, and the text parser; cloud StructuredReceipt + structuredToOcr/merchantId move into ocr/extraction
  • delete the vision-ocr / foundation-receipt native modules and the OCR test
  • new.tsx calls extractReceiptCloud directly (no auto cascade); document scanner + AI line-tagging (both cloud) stay
  • drop extractionMode from the store, the ExtractionMode type, and the admin selector
  • remove the source badge / EXTRACTION_SOURCE_KEY / source.* strings; narrow ExtractionSource to 'cloud'
  • README updated from Expo boilerplate to a real overview

tsc clean · 52/52 booking tests · lint clean (pre-existing warnings only)

🤖 Generated with Claude Code

Receipt extraction is now cloud-only (Claude vision via the `extract-receipt` Edge Function). Removes the on-device / geometry / text readout tiers, the admin tier selector, and the extraction-source badge. - delete `ocr/recognize`, `foundation`, `layout`, and the text parser; cloud `StructuredReceipt` + `structuredToOcr`/`merchantId` move into `ocr/extraction` - delete the `vision-ocr` / `foundation-receipt` native modules and the OCR test - `new.tsx` calls `extractReceiptCloud` directly (no auto cascade); document scanner + AI line-tagging (both cloud) stay - drop `extractionMode` from the store, the `ExtractionMode` type, and the admin selector - remove the source badge / `EXTRACTION_SOURCE_KEY` / `source.*` strings; narrow `ExtractionSource` to `'cloud'` - README updated from Expo boilerplate to a real overview tsc clean · 52/52 booking tests · lint clean (pre-existing warnings only) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Receipt extraction is now cloud-only (Claude vision via the extract-receipt
Edge Function). Removed the on-device/geometry/text readout tiers, the
admin tier selector, and the extraction-source badge.

- delete ocr/recognize, foundation, layout, and the text parser; the cloud
  StructuredReceipt type + structuredToOcr/merchantId move into ocr/extraction
- delete the vision-ocr / foundation-receipt native modules and the OCR test
- new.tsx calls extractReceiptCloud directly (no auto cascade); blank fields
  on failure. Document scanner + AI line-tagging (both cloud-side) stay
- drop extractionMode/setExtractionMode from the store, ExtractionMode type,
  and the admin FilterSegment + on-device-AI availability readout
- remove the source badge, EXTRACTION_SOURCE_KEY, and source.* strings;
  narrow ExtractionSource to 'cloud' (kept as a GoBD snapshot field)
- update README from Expo boilerplate to a real project overview

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
julian merged commit 627a6fbd5b into main 2026-06-23 22:03:30 +02:00
julian deleted branch chore/remove-unused-readout 2026-06-23 22:03:37 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
julian/quickfin!16
No description provided.