feat(mobile): wire up AI-foundation Phase 1 (#122) #444
No reviewers
Labels
No labels
app/archiv
app/einkaufslisten
app/imap-client
app/wissensbasis
arch-answered
arch-question
area/api
area/auth
area/infra
area/mobile
area/shared
area/ui
area/web
portfolio-status
prio/high
prio/low
prio/medium
roadmap/public
size/l
size/m
size/s
size/xl
size/xs
status/blocked
status/needs-info
type/bug
type/chore
type/docs
type/feature
type/idea
type/refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
admin-mrrm/mrrmlabapp!444
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "wireup/ai-foundation-phase1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Composes the five Phase-1 feature branches (#439–#443) into one integration branch and wires the real native stack behind the Suche route. Native bindings (op-sqlite + onnxruntime) are constructed lazily at route render so vitest never touches them.
search-ports.ts: lazy singletongetOrInitSearchPorts(api)building EmbeddingService + VectorStore + DataSourceRegistry (Mail/ShoppingList/Note) + IndexingService, with sync→async adapters andindexingService.start()for incremental indexing. Initial-index enumeration is a no-op until #438 lands.vector-store: addsgetChunkTextsForSource(needed by IndexingService hash-dedup) + 3 spec tests.search.tsx: pullsApiClientviauseApiClient(), constructs ports insideuseMemowith try/catch so missing native bindings surface as an inline error.docs/ai-foundation-verification.md: on-device smoke-test checklist for Phase 1.Test plan
pnpm --filter @mrrmlab/mobile exec tsc --noEmit— cleanpnpm --filter @mrrmlab/mobile exec vitest run— 177/177 passingexpo prebuild --clean && expo run:androidvec_version()error)Käsereturns the matching list entryMozzarellareturns same list (semantic, no lexical hit)See
apps/mobile/docs/ai-foundation-verification.mdfor the full checklist.Closes #439, #440, #441, #442, #443. Refs #122.
multilingual-e5-smallon-device integrieren #439IDataSource-Interface + Adapter für Mails, Listen, Notizen #441