@mastra/lance 0.0.0-tool-call-parts-20250630193309 → 0.0.0-workflow-deno-20250616115451

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,123 +1,20 @@
1
1
  # @mastra/lance
2
2
 
3
- ## 0.0.0-tool-call-parts-20250630193309
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [9dda1ac]
8
- - Updated dependencies [7e801dd]
9
- - Updated dependencies [7aa70a4]
10
- - Updated dependencies [764f86a]
11
- - Updated dependencies [1760a1c]
12
- - Updated dependencies [7dda16a]
13
- - Updated dependencies [d80069a]
14
- - Updated dependencies [57929df]
15
- - Updated dependencies [6320a61]
16
- - @mastra/core@0.0.0-tool-call-parts-20250630193309
17
-
18
- ## 0.2.0
19
-
20
- ### Minor Changes
21
-
22
- - 8a3bfd2: Update peerdeps to latest core
23
-
24
- ### Patch Changes
25
-
26
- - d8f2d19: Add updateMessages API to storage classes (only support for PG and LibSQL for now) and to memory class. Additionally allow for metadata to be saved in the content field of a message.
27
- - 0fb9d64: [MASTRA-4018] Update saveMessages in storage adapters to upsert messages
28
- - 2097952: [MASTRA-4021] Fix PG getMessages and update messageLimit for all storage adapters
29
- - 144eb0b: [MASTRA-3669] Metadata Filter Types
30
- - 0e17048: Throw mastra errors in storage packages
31
- - Updated dependencies [15e9d26]
32
- - Updated dependencies [d1baedb]
33
- - Updated dependencies [d8f2d19]
34
- - Updated dependencies [4d21bf2]
35
- - Updated dependencies [07d6d88]
36
- - Updated dependencies [9d52b17]
37
- - Updated dependencies [2097952]
38
- - Updated dependencies [792c4c0]
39
- - Updated dependencies [5d74aab]
40
- - Updated dependencies [a8b194f]
41
- - Updated dependencies [4fb0cc2]
42
- - Updated dependencies [d2a7a31]
43
- - Updated dependencies [502fe05]
44
- - Updated dependencies [144eb0b]
45
- - Updated dependencies [8ba1b51]
46
- - Updated dependencies [4efcfa0]
47
- - Updated dependencies [0e17048]
48
- - @mastra/core@0.10.7
49
-
50
- ## 0.2.0-alpha.3
51
-
52
- ### Minor Changes
53
-
54
- - 8a3bfd2: Update peerdeps to latest core
55
-
56
- ### Patch Changes
57
-
58
- - Updated dependencies [792c4c0]
59
- - Updated dependencies [502fe05]
60
- - Updated dependencies [4efcfa0]
61
- - @mastra/core@0.10.7-alpha.3
62
-
63
- ## 0.1.3-alpha.2
64
-
65
- ### Patch Changes
66
-
67
- - 0fb9d64: [MASTRA-4018] Update saveMessages in storage adapters to upsert messages
68
- - 144eb0b: [MASTRA-3669] Metadata Filter Types
69
- - Updated dependencies [15e9d26]
70
- - Updated dependencies [07d6d88]
71
- - Updated dependencies [5d74aab]
72
- - Updated dependencies [144eb0b]
73
- - @mastra/core@0.10.7-alpha.2
74
-
75
- ## 0.1.3-alpha.1
76
-
77
- ### Patch Changes
78
-
79
- - 2097952: [MASTRA-4021] Fix PG getMessages and update messageLimit for all storage adapters
80
- - 0e17048: Throw mastra errors in storage packages
81
- - Updated dependencies [d1baedb]
82
- - Updated dependencies [4d21bf2]
83
- - Updated dependencies [2097952]
84
- - Updated dependencies [4fb0cc2]
85
- - Updated dependencies [d2a7a31]
86
- - Updated dependencies [0e17048]
87
- - @mastra/core@0.10.7-alpha.1
88
-
89
- ## 0.1.3-alpha.0
90
-
91
- ### Patch Changes
92
-
93
- - d8f2d19: Add updateMessages API to storage classes (only support for PG and LibSQL for now) and to memory class. Additionally allow for metadata to be saved in the content field of a message.
94
- - Updated dependencies [d8f2d19]
95
- - Updated dependencies [9d52b17]
96
- - Updated dependencies [8ba1b51]
97
- - @mastra/core@0.10.7-alpha.0
98
-
99
- ## 0.1.2
3
+ ## 0.0.0-workflow-deno-20250616115451
100
4
 
101
5
  ### Patch Changes
102
6
 
103
7
  - 63f6b7d: dependencies updates:
104
8
  - Updated dependency [`@lancedb/lancedb@^0.18.2` ↗︎](https://www.npmjs.com/package/@lancedb/lancedb/v/0.18.2) (from `^0.18.1`, in `dependencies`)
105
9
  - Updated dependencies [63f6b7d]
106
- - Updated dependencies [12a95fc]
107
- - Updated dependencies [4b0f8a6]
108
- - Updated dependencies [51264a5]
109
- - Updated dependencies [8e6f677]
110
- - Updated dependencies [d70c420]
111
10
  - Updated dependencies [ee9af57]
112
11
  - Updated dependencies [36f1c36]
113
- - Updated dependencies [2a16996]
114
12
  - Updated dependencies [10d352e]
115
- - Updated dependencies [9589624]
13
+ - Updated dependencies [3ca9a67]
116
14
  - Updated dependencies [53d3c37]
117
- - Updated dependencies [751c894]
118
15
  - Updated dependencies [577ce3a]
119
16
  - Updated dependencies [9260b3a]
120
- - @mastra/core@0.10.6
17
+ - @mastra/core@0.0.0-workflow-deno-20250616115451
121
18
 
122
19
  ## 0.1.2-alpha.0
123
20
 
@@ -1,7 +1,6 @@
1
1
  import { ArrayOperator } from '@mastra/core/vector/filter';
2
2
  import { BaseFilterTranslator } from '@mastra/core/vector/filter';
3
3
  import { BasicOperator } from '@mastra/core/vector/filter';
4
- import type { BlacklistedRootOperators } from '@mastra/core/vector/filter';
5
4
  import type { ConnectionOptions } from '@lancedb/lancedb';
6
5
  import type { CreateIndexParams } from '@mastra/core';
7
6
  import type { CreateTableOptions } from '@lancedb/lancedb';
@@ -11,14 +10,11 @@ import type { DescribeIndexParams } from '@mastra/core';
11
10
  import type { EvalRow } from '@mastra/core/storage';
12
11
  import type { IndexStats } from '@mastra/core';
13
12
  import { LogicalOperator } from '@mastra/core/vector/filter';
14
- import type { LogicalOperatorValueMap } from '@mastra/core/vector/filter';
15
- import type { MastraMessageContentV2 } from '@mastra/core/agent';
16
13
  import type { MastraMessageV1 } from '@mastra/core/memory';
17
14
  import type { MastraMessageV2 } from '@mastra/core/memory';
18
15
  import { MastraStorage } from '@mastra/core/storage';
19
16
  import { MastraVector } from '@mastra/core/vector';
20
17
  import { NumericOperator } from '@mastra/core/vector/filter';
21
- import type { OperatorValueMap } from '@mastra/core/vector/filter';
22
18
  import type { PaginationInfo } from '@mastra/core/storage';
23
19
  import type { QueryResult } from '@mastra/core';
24
20
  import type { QueryVectorParams } from '@mastra/core';
@@ -56,15 +52,13 @@ declare interface IVFConfig {
56
52
  lists?: number;
57
53
  }
58
54
 
59
- declare type LanceBlacklisted = BlacklistedRootOperators | '$like' | '$notLike' | '$contains';
60
-
61
55
  declare interface LanceCreateIndexParams extends CreateIndexParams {
62
56
  indexConfig?: LanceIndexConfig;
63
57
  tableName?: string;
64
58
  }
65
59
 
66
- export declare class LanceFilterTranslator extends BaseFilterTranslator<LanceVectorFilter, string> {
67
- translate(filter: LanceVectorFilter): string;
60
+ export declare class LanceFilterTranslator extends BaseFilterTranslator {
61
+ translate(filter: VectorFilter): string;
68
62
  private processFilter;
69
63
  private processLogicalOperator;
70
64
  private processNestedObject;
@@ -99,13 +93,7 @@ declare interface LanceIndexConfig extends IndexConfig {
99
93
  numSubVectors?: number;
100
94
  }
101
95
 
102
- declare type LanceOperatorValueMap = OperatorValueMap & {
103
- $like: string;
104
- $notLike: string;
105
- $contains: string;
106
- };
107
-
108
- declare interface LanceQueryVectorParams extends QueryVectorParams<LanceVectorFilter> {
96
+ declare interface LanceQueryVectorParams extends QueryVectorParams {
109
97
  tableName: string;
110
98
  columns?: string[];
111
99
  includeAllColumns?: boolean;
@@ -136,7 +124,6 @@ declare class LanceStorage extends MastraStorage {
136
124
  * ```
137
125
  */
138
126
  static create(name: string, uri: string, options?: ConnectionOptions): Promise<LanceStorage>;
139
- private getPrimaryKeys;
140
127
  /**
141
128
  * @internal
142
129
  * Private constructor to enforce using the create factory method
@@ -322,15 +309,6 @@ declare class LanceStorage extends MastraStorage {
322
309
  getMessagesPaginated(_args: StorageGetMessagesArg): Promise<PaginationInfo & {
323
310
  messages: MastraMessageV1[] | MastraMessageV2[];
324
311
  }>;
325
- updateMessages(_args: {
326
- messages: Partial<Omit<MastraMessageV2, 'createdAt'>> & {
327
- id: string;
328
- content?: {
329
- metadata?: MastraMessageContentV2['metadata'];
330
- content?: MastraMessageContentV2['content'];
331
- };
332
- }[];
333
- }): Promise<MastraMessageV2[]>;
334
312
  }
335
313
  export { LanceStorage }
336
314
  export { LanceStorage as LanceStorage_alias_1 }
@@ -339,9 +317,7 @@ declare interface LanceUpsertVectorParams extends UpsertVectorParams {
339
317
  tableName: string;
340
318
  }
341
319
 
342
- export declare type LanceVectorFilter = VectorFilter<keyof LanceOperatorValueMap, LanceOperatorValueMap, LogicalOperatorValueMap, LanceBlacklisted>;
343
-
344
- declare class LanceVectorStore extends MastraVector<LanceVectorFilter> {
320
+ declare class LanceVectorStore extends MastraVector {
345
321
  private lanceClient;
346
322
  /**
347
323
  * Creates a new instance of LanceVectorStore
@@ -1,7 +1,6 @@
1
1
  import { ArrayOperator } from '@mastra/core/vector/filter';
2
2
  import { BaseFilterTranslator } from '@mastra/core/vector/filter';
3
3
  import { BasicOperator } from '@mastra/core/vector/filter';
4
- import type { BlacklistedRootOperators } from '@mastra/core/vector/filter';
5
4
  import type { ConnectionOptions } from '@lancedb/lancedb';
6
5
  import type { CreateIndexParams } from '@mastra/core';
7
6
  import type { CreateTableOptions } from '@lancedb/lancedb';
@@ -11,14 +10,11 @@ import type { DescribeIndexParams } from '@mastra/core';
11
10
  import type { EvalRow } from '@mastra/core/storage';
12
11
  import type { IndexStats } from '@mastra/core';
13
12
  import { LogicalOperator } from '@mastra/core/vector/filter';
14
- import type { LogicalOperatorValueMap } from '@mastra/core/vector/filter';
15
- import type { MastraMessageContentV2 } from '@mastra/core/agent';
16
13
  import type { MastraMessageV1 } from '@mastra/core/memory';
17
14
  import type { MastraMessageV2 } from '@mastra/core/memory';
18
15
  import { MastraStorage } from '@mastra/core/storage';
19
16
  import { MastraVector } from '@mastra/core/vector';
20
17
  import { NumericOperator } from '@mastra/core/vector/filter';
21
- import type { OperatorValueMap } from '@mastra/core/vector/filter';
22
18
  import type { PaginationInfo } from '@mastra/core/storage';
23
19
  import type { QueryResult } from '@mastra/core';
24
20
  import type { QueryVectorParams } from '@mastra/core';
@@ -56,15 +52,13 @@ declare interface IVFConfig {
56
52
  lists?: number;
57
53
  }
58
54
 
59
- declare type LanceBlacklisted = BlacklistedRootOperators | '$like' | '$notLike' | '$contains';
60
-
61
55
  declare interface LanceCreateIndexParams extends CreateIndexParams {
62
56
  indexConfig?: LanceIndexConfig;
63
57
  tableName?: string;
64
58
  }
65
59
 
66
- export declare class LanceFilterTranslator extends BaseFilterTranslator<LanceVectorFilter, string> {
67
- translate(filter: LanceVectorFilter): string;
60
+ export declare class LanceFilterTranslator extends BaseFilterTranslator {
61
+ translate(filter: VectorFilter): string;
68
62
  private processFilter;
69
63
  private processLogicalOperator;
70
64
  private processNestedObject;
@@ -99,13 +93,7 @@ declare interface LanceIndexConfig extends IndexConfig {
99
93
  numSubVectors?: number;
100
94
  }
101
95
 
102
- declare type LanceOperatorValueMap = OperatorValueMap & {
103
- $like: string;
104
- $notLike: string;
105
- $contains: string;
106
- };
107
-
108
- declare interface LanceQueryVectorParams extends QueryVectorParams<LanceVectorFilter> {
96
+ declare interface LanceQueryVectorParams extends QueryVectorParams {
109
97
  tableName: string;
110
98
  columns?: string[];
111
99
  includeAllColumns?: boolean;
@@ -136,7 +124,6 @@ declare class LanceStorage extends MastraStorage {
136
124
  * ```
137
125
  */
138
126
  static create(name: string, uri: string, options?: ConnectionOptions): Promise<LanceStorage>;
139
- private getPrimaryKeys;
140
127
  /**
141
128
  * @internal
142
129
  * Private constructor to enforce using the create factory method
@@ -322,15 +309,6 @@ declare class LanceStorage extends MastraStorage {
322
309
  getMessagesPaginated(_args: StorageGetMessagesArg): Promise<PaginationInfo & {
323
310
  messages: MastraMessageV1[] | MastraMessageV2[];
324
311
  }>;
325
- updateMessages(_args: {
326
- messages: Partial<Omit<MastraMessageV2, 'createdAt'>> & {
327
- id: string;
328
- content?: {
329
- metadata?: MastraMessageContentV2['metadata'];
330
- content?: MastraMessageContentV2['content'];
331
- };
332
- }[];
333
- }): Promise<MastraMessageV2[]>;
334
312
  }
335
313
  export { LanceStorage }
336
314
  export { LanceStorage as LanceStorage_alias_1 }
@@ -339,9 +317,7 @@ declare interface LanceUpsertVectorParams extends UpsertVectorParams {
339
317
  tableName: string;
340
318
  }
341
319
 
342
- export declare type LanceVectorFilter = VectorFilter<keyof LanceOperatorValueMap, LanceOperatorValueMap, LogicalOperatorValueMap, LanceBlacklisted>;
343
-
344
- declare class LanceVectorStore extends MastraVector<LanceVectorFilter> {
320
+ declare class LanceVectorStore extends MastraVector {
345
321
  private lanceClient;
346
322
  /**
347
323
  * Creates a new instance of LanceVectorStore