Skip to content

Commit 5ce4be9

Browse files
prosdevclaude
andcommitted
feat(core): add AntflyVectorStore implementation
New vector store backed by Antfly, replacing LanceDB + @xenova/transformers: - Implements VectorStore interface with antfly SDK - searchText() for hybrid search (BM25 + vector + RRF) - Direct key lookup via tables.lookup() (replaces O(n) zero-vector hack) - Auto-embedding on insert via Termite (embeddings param ignored) - Batch insert in chunks of 500 - Model mismatch detection on initialize - getModelInfo() and getStorageSize() for VectorStats - searchByDocumentId() uses text-based similarity - Typed SDK boundary layer (no any leakage) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 49959bc commit 5ce4be9

3 files changed

Lines changed: 414 additions & 0 deletions

File tree

packages/core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"typescript": "^5.3.3"
3838
},
3939
"dependencies": {
40+
"@antfly/sdk": "0.0.14",
4041
"@lancedb/lancedb": "^0.22.3",
4142
"@prosdevlab/dev-agent-types": "workspace:*",
4243
"@prosdevlab/kero": "workspace:*",

0 commit comments

Comments
 (0)