@mastra/lance 0.0.0-fix-tool-call-history-3-20250806004225 → 0.0.0-fix-zod-to-json-schema-ref-strategy-20250910193441

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 (37) hide show
  1. package/CHANGELOG.md +237 -3
  2. package/README.md +3 -3
  3. package/dist/index.cjs +128 -29
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.js +128 -29
  6. package/dist/index.js.map +1 -1
  7. package/dist/storage/domains/memory/index.d.ts +9 -0
  8. package/dist/storage/domains/memory/index.d.ts.map +1 -1
  9. package/dist/storage/domains/scores/index.d.ts +5 -2
  10. package/dist/storage/domains/scores/index.d.ts.map +1 -1
  11. package/dist/storage/domains/workflows/index.d.ts +19 -1
  12. package/dist/storage/domains/workflows/index.d.ts.map +1 -1
  13. package/dist/storage/index.d.ts +32 -3
  14. package/dist/storage/index.d.ts.map +1 -1
  15. package/dist/vector/index.d.ts +1 -1
  16. package/dist/vector/index.d.ts.map +1 -1
  17. package/package.json +20 -7
  18. package/eslint.config.js +0 -6
  19. package/src/index.ts +0 -2
  20. package/src/storage/domains/legacy-evals/index.ts +0 -156
  21. package/src/storage/domains/memory/index.ts +0 -947
  22. package/src/storage/domains/operations/index.ts +0 -489
  23. package/src/storage/domains/scores/index.ts +0 -221
  24. package/src/storage/domains/traces/index.ts +0 -212
  25. package/src/storage/domains/utils.ts +0 -158
  26. package/src/storage/domains/workflows/index.ts +0 -207
  27. package/src/storage/index.test.ts +0 -10
  28. package/src/storage/index.ts +0 -442
  29. package/src/vector/filter.test.ts +0 -295
  30. package/src/vector/filter.ts +0 -443
  31. package/src/vector/index.test.ts +0 -1493
  32. package/src/vector/index.ts +0 -941
  33. package/src/vector/types.ts +0 -16
  34. package/tsconfig.build.json +0 -9
  35. package/tsconfig.json +0 -5
  36. package/tsup.config.ts +0 -17
  37. 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
- });