@mastra/lance 0.0.0-vector-query-tool-provider-options-20250828222356 → 0.0.0-vnext-20251104230439

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +392 -3
  2. package/dist/index.cjs +336 -553
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.js +337 -554
  5. package/dist/index.js.map +1 -1
  6. package/dist/storage/domains/memory/index.d.ts +18 -39
  7. package/dist/storage/domains/memory/index.d.ts.map +1 -1
  8. package/dist/storage/domains/operations/index.d.ts.map +1 -1
  9. package/dist/storage/domains/scores/index.d.ts +12 -4
  10. package/dist/storage/domains/scores/index.d.ts.map +1 -1
  11. package/dist/storage/domains/utils.d.ts.map +1 -1
  12. package/dist/storage/domains/workflows/index.d.ts +6 -12
  13. package/dist/storage/domains/workflows/index.d.ts.map +1 -1
  14. package/dist/storage/index.d.ts +33 -83
  15. package/dist/storage/index.d.ts.map +1 -1
  16. package/package.json +21 -8
  17. package/dist/storage/domains/legacy-evals/index.d.ts +0 -25
  18. package/dist/storage/domains/legacy-evals/index.d.ts.map +0 -1
  19. package/dist/storage/domains/traces/index.d.ts +0 -34
  20. package/dist/storage/domains/traces/index.d.ts.map +0 -1
  21. package/eslint.config.js +0 -6
  22. package/src/index.ts +0 -2
  23. package/src/storage/domains/legacy-evals/index.ts +0 -156
  24. package/src/storage/domains/memory/index.ts +0 -1000
  25. package/src/storage/domains/operations/index.ts +0 -489
  26. package/src/storage/domains/scores/index.ts +0 -243
  27. package/src/storage/domains/traces/index.ts +0 -212
  28. package/src/storage/domains/utils.ts +0 -158
  29. package/src/storage/domains/workflows/index.ts +0 -245
  30. package/src/storage/index.test.ts +0 -10
  31. package/src/storage/index.ts +0 -494
  32. package/src/vector/filter.test.ts +0 -295
  33. package/src/vector/filter.ts +0 -443
  34. package/src/vector/index.test.ts +0 -1493
  35. package/src/vector/index.ts +0 -941
  36. package/src/vector/types.ts +0 -16
  37. package/tsconfig.build.json +0 -9
  38. package/tsconfig.json +0 -5
  39. package/tsup.config.ts +0 -17
  40. package/vitest.config.ts +0 -11
@@ -1,16 +0,0 @@
1
- export type IndexType = 'ivfflat' | 'hnsw';
2
-
3
- interface IVFConfig {
4
- lists?: number;
5
- }
6
-
7
- interface HNSWConfig {
8
- m?: number; // Max number of connections (default: 16)
9
- efConstruction?: number; // Build-time complexity (default: 64)
10
- }
11
-
12
- export interface IndexConfig {
13
- type?: IndexType;
14
- ivf?: IVFConfig;
15
- hnsw?: HNSWConfig;
16
- }
@@ -1,9 +0,0 @@
1
- {
2
- "extends": ["./tsconfig.json", "../../tsconfig.build.json"],
3
- "compilerOptions": {
4
- "outDir": "./dist",
5
- "rootDir": "./src"
6
- },
7
- "include": ["src/**/*"],
8
- "exclude": ["node_modules", "**/*.test.ts", "src/**/*.mock.ts"]
9
- }
package/tsconfig.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.node.json",
3
- "include": ["src/**/*", "tsup.config.ts"],
4
- "exclude": ["node_modules", "**/*.test.ts"]
5
- }
package/tsup.config.ts DELETED
@@ -1,17 +0,0 @@
1
- import { generateTypes } from '@internal/types-builder';
2
- import { defineConfig } from 'tsup';
3
-
4
- export default defineConfig({
5
- entry: ['src/index.ts'],
6
- format: ['esm', 'cjs'],
7
- clean: true,
8
- dts: false,
9
- splitting: true,
10
- treeshake: {
11
- preset: 'smallest',
12
- },
13
- sourcemap: true,
14
- onSuccess: async () => {
15
- await generateTypes(process.cwd());
16
- },
17
- });
package/vitest.config.ts DELETED
@@ -1,11 +0,0 @@
1
- import { defineConfig } from 'vitest/config';
2
-
3
- export default defineConfig({
4
- test: {
5
- environment: 'node',
6
- include: ['src/**/*.test.ts'],
7
- coverage: {
8
- reporter: ['text', 'json', 'html'],
9
- },
10
- },
11
- });