@mastra/lance 0.1.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +23 -0
- package/CHANGELOG.md +13 -0
- package/LICENSE.md +46 -0
- package/README.md +263 -0
- package/dist/_tsup-dts-rollup.d.cts +369 -0
- package/dist/_tsup-dts-rollup.d.ts +369 -0
- package/dist/index.cjs +1564 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1561 -0
- package/eslint.config.js +6 -0
- package/package.json +45 -0
- package/src/index.ts +2 -0
- package/src/storage/index.test.ts +1269 -0
- package/src/storage/index.ts +999 -0
- package/src/vector/filter.test.ts +295 -0
- package/src/vector/filter.ts +423 -0
- package/src/vector/index.test.ts +1493 -0
- package/src/vector/index.ts +700 -0
- package/src/vector/types.ts +16 -0
- package/tsconfig.json +5 -0
- package/vitest.config.ts +11 -0
package/eslint.config.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mastra/lance",
|
|
3
|
+
"version": "0.1.1-alpha.0",
|
|
4
|
+
"description": "Lance provider for Mastra - includes both vector and db storage capabilities",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/index.d.cts",
|
|
16
|
+
"default": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@lancedb/lancedb": "^0.18.1",
|
|
23
|
+
"apache-arrow": "^18.1.0"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@microsoft/api-extractor": "^7.52.1",
|
|
27
|
+
"@types/node": "^22.13.10",
|
|
28
|
+
"eslint": "^9.28.0",
|
|
29
|
+
"tsup": "^8.4.0",
|
|
30
|
+
"typescript": "^5.8.2",
|
|
31
|
+
"vitest": "^3.2.2",
|
|
32
|
+
"@internal/lint": "0.0.10",
|
|
33
|
+
"@mastra/core": "^0.10.4-alpha.1"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@mastra/core": "^0.10.2-alpha.0"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",
|
|
40
|
+
"build:watch": "pnpm build --watch",
|
|
41
|
+
"test": "vitest run",
|
|
42
|
+
"test:watch": "vitest watch",
|
|
43
|
+
"lint": "eslint ."
|
|
44
|
+
}
|
|
45
|
+
}
|
package/src/index.ts
ADDED