@mastra/lance 0.0.0-fix-tool-call-history-20250731222019 → 0.0.0-fix-tool-call-history-3-20250806004225

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/CHANGELOG.md CHANGED
@@ -1,11 +1,45 @@
1
1
  # @mastra/lance
2
2
 
3
- ## 0.0.0-fix-tool-call-history-20250731222019
3
+ ## 0.0.0-fix-tool-call-history-3-20250806004225
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [bd0471e]
8
- - @mastra/core@0.0.0-fix-tool-call-history-20250731222019
7
+ - Updated dependencies [d82ba9f]
8
+ - @mastra/core@0.0.0-fix-tool-call-history-3-20250806004225
9
+
10
+ ## 0.2.4
11
+
12
+ ### Patch Changes
13
+
14
+ - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
15
+ - Updated dependencies [cb36de0]
16
+ - Updated dependencies [d0496e6]
17
+ - Updated dependencies [a82b851]
18
+ - Updated dependencies [ea0c5f2]
19
+ - Updated dependencies [41a0a0e]
20
+ - Updated dependencies [2871020]
21
+ - Updated dependencies [94f4812]
22
+ - Updated dependencies [e202b82]
23
+ - Updated dependencies [e00f6a0]
24
+ - Updated dependencies [4a406ec]
25
+ - Updated dependencies [b0e43c1]
26
+ - Updated dependencies [5d377e5]
27
+ - Updated dependencies [1fb812e]
28
+ - Updated dependencies [35c5798]
29
+ - @mastra/core@0.13.0
30
+
31
+ ## 0.2.4-alpha.0
32
+
33
+ ### Patch Changes
34
+
35
+ - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
36
+ - Updated dependencies [cb36de0]
37
+ - Updated dependencies [a82b851]
38
+ - Updated dependencies [41a0a0e]
39
+ - Updated dependencies [2871020]
40
+ - Updated dependencies [4a406ec]
41
+ - Updated dependencies [5d377e5]
42
+ - @mastra/core@0.13.0-alpha.2
9
43
 
10
44
  ## 0.2.3
11
45
 
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from './storage';
2
- export * from './vector';
1
+ export * from './storage/index.js';
2
+ export * from './vector/index.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -3,7 +3,7 @@ import type { MastraMessageContentV2 } from '@mastra/core/agent';
3
3
  import type { MastraMessageV1, MastraMessageV2, StorageThreadType } from '@mastra/core/memory';
4
4
  import { MemoryStorage } from '@mastra/core/storage';
5
5
  import type { PaginationInfo, StorageGetMessagesArg, StorageResourceType } from '@mastra/core/storage';
6
- import type { StoreOperationsLance } from '../operations';
6
+ import type { StoreOperationsLance } from '../operations/index.js';
7
7
  export declare class StoreMemoryLance extends MemoryStorage {
8
8
  private client;
9
9
  private operations;
@@ -3,7 +3,7 @@ import type { TraceType } from '@mastra/core/memory';
3
3
  import { TracesStorage } from '@mastra/core/storage';
4
4
  import type { PaginationInfo, StorageGetTracesPaginatedArg } from '@mastra/core/storage';
5
5
  import type { Trace } from '@mastra/core/telemetry';
6
- import type { StoreOperationsLance } from '../operations';
6
+ import type { StoreOperationsLance } from '../operations/index.js';
7
7
  export declare class StoreTracesLance extends TracesStorage {
8
8
  private client;
9
9
  private operations;
@@ -1,8 +1,8 @@
1
1
  import type { ConnectionOptions, CreateTableOptions, Table, TableLike } from '@lancedb/lancedb';
2
2
  import type { CreateIndexParams, DeleteIndexParams, DeleteVectorParams, DescribeIndexParams, IndexStats, QueryResult, QueryVectorParams, UpdateVectorParams, UpsertVectorParams } from '@mastra/core';
3
3
  import { MastraVector } from '@mastra/core/vector';
4
- import type { LanceVectorFilter } from './filter';
5
- import type { IndexConfig } from './types';
4
+ import type { LanceVectorFilter } from './filter.js';
5
+ import type { IndexConfig } from './types.js';
6
6
  interface LanceCreateIndexParams extends CreateIndexParams {
7
7
  indexConfig?: LanceIndexConfig;
8
8
  tableName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/lance",
3
- "version": "0.0.0-fix-tool-call-history-20250731222019",
3
+ "version": "0.0.0-fix-tool-call-history-3-20250806004225",
4
4
  "description": "Lance provider for Mastra - includes both vector and db storage capabilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -12,7 +12,7 @@
12
12
  "default": "./dist/index.js"
13
13
  },
14
14
  "require": {
15
- "types": "./dist/index.d.cts",
15
+ "types": "./dist/index.d.ts",
16
16
  "default": "./dist/index.cjs"
17
17
  }
18
18
  },
@@ -29,12 +29,13 @@
29
29
  "tsup": "^8.5.0",
30
30
  "typescript": "^5.8.3",
31
31
  "vitest": "^3.2.4",
32
- "@internal/lint": "0.0.0-fix-tool-call-history-20250731222019",
33
- "@mastra/core": "0.0.0-fix-tool-call-history-20250731222019",
34
- "@internal/storage-test-utils": "0.0.22"
32
+ "@internal/storage-test-utils": "0.0.23",
33
+ "@internal/lint": "0.0.0-fix-tool-call-history-3-20250806004225",
34
+ "@internal/types-builder": "0.0.0-fix-tool-call-history-3-20250806004225",
35
+ "@mastra/core": "0.0.0-fix-tool-call-history-3-20250806004225"
35
36
  },
36
37
  "peerDependencies": {
37
- "@mastra/core": "0.0.0-fix-tool-call-history-20250731222019"
38
+ "@mastra/core": "0.0.0-fix-tool-call-history-3-20250806004225"
38
39
  },
39
40
  "scripts": {
40
41
  "build": "tsup --silent --config tsup.config.ts",
package/tsup.config.ts CHANGED
@@ -1,9 +1,6 @@
1
- import { spawn } from 'child_process';
2
- import { promisify } from 'util';
1
+ import { generateTypes } from '@internal/types-builder';
3
2
  import { defineConfig } from 'tsup';
4
3
 
5
- const exec = promisify(spawn);
6
-
7
4
  export default defineConfig({
8
5
  entry: ['src/index.ts'],
9
6
  format: ['esm', 'cjs'],
@@ -15,8 +12,6 @@ export default defineConfig({
15
12
  },
16
13
  sourcemap: true,
17
14
  onSuccess: async () => {
18
- await exec('pnpm', ['tsc', '-p', 'tsconfig.build.json'], {
19
- stdio: 'inherit',
20
- });
15
+ await generateTypes(process.cwd());
21
16
  },
22
17
  });