@mastra/lance 0.0.0-error-handler-fix-20251020202607 → 0.0.0-esbuild-bundle-worker-20260807182016
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 +1988 -3
- package/LICENSE.md +15 -0
- package/README.md +61 -4
- package/dist/docs/SKILL.md +27 -0
- package/dist/docs/assets/SOURCE_MAP.json +6 -0
- package/dist/docs/references/guides-rag-vector-databases.md +669 -0
- package/dist/docs/references/reference-storage-lance.md +133 -0
- package/dist/docs/references/reference-vectors-lance.md +230 -0
- package/dist/index.cjs +2993 -3346
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2986 -3342
- package/dist/index.js.map +1 -1
- package/dist/storage/db/index.d.ts +72 -0
- package/dist/storage/db/index.d.ts.map +1 -0
- package/dist/storage/db/utils.d.ts.map +1 -0
- package/dist/storage/domains/background-tasks/index.d.ts +19 -0
- package/dist/storage/domains/background-tasks/index.d.ts.map +1 -0
- package/dist/storage/domains/memory/index.d.ts +25 -47
- package/dist/storage/domains/memory/index.d.ts.map +1 -1
- package/dist/storage/domains/scores/index.d.ts +28 -27
- package/dist/storage/domains/scores/index.d.ts.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +21 -24
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +104 -246
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/vector/filter.d.ts +5 -5
- package/dist/vector/index.d.ts +61 -11
- package/dist/vector/index.d.ts.map +1 -1
- package/package.json +22 -16
- package/dist/storage/domains/legacy-evals/index.d.ts +0 -25
- package/dist/storage/domains/legacy-evals/index.d.ts.map +0 -1
- package/dist/storage/domains/operations/index.d.ts +0 -40
- package/dist/storage/domains/operations/index.d.ts.map +0 -1
- package/dist/storage/domains/traces/index.d.ts +0 -34
- package/dist/storage/domains/traces/index.d.ts.map +0 -1
- package/dist/storage/domains/utils.d.ts.map +0 -1
- /package/dist/storage/{domains → db}/utils.d.ts +0 -0
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,272 +1,130 @@
|
|
|
1
|
-
import type { ConnectionOptions } from '@lancedb/lancedb';
|
|
2
|
-
import
|
|
3
|
-
import type {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
export
|
|
1
|
+
import type { Connection, ConnectionOptions } from '@lancedb/lancedb';
|
|
2
|
+
import { MastraCompositeStore } from '@mastra/core/storage';
|
|
3
|
+
import type { StorageDomains } from '@mastra/core/storage';
|
|
4
|
+
import { StoreBackgroundTasksLance } from './domains/background-tasks/index.js';
|
|
5
|
+
import { StoreMemoryLance } from './domains/memory/index.js';
|
|
6
|
+
import { StoreScoresLance } from './domains/scores/index.js';
|
|
7
|
+
import { StoreWorkflowsLance } from './domains/workflows/index.js';
|
|
8
|
+
export { StoreBackgroundTasksLance, StoreMemoryLance, StoreScoresLance, StoreWorkflowsLance };
|
|
9
|
+
export type { LanceDomainConfig } from './db/index.js';
|
|
10
|
+
export interface LanceStorageOptions {
|
|
11
|
+
/**
|
|
12
|
+
* When true, automatic initialization (table creation/migrations) is disabled.
|
|
13
|
+
* This is useful for CI/CD pipelines where you want to:
|
|
14
|
+
* 1. Run migrations explicitly during deployment (not at runtime)
|
|
15
|
+
* 2. Use different credentials for schema changes vs runtime operations
|
|
16
|
+
*
|
|
17
|
+
* When disableInit is true:
|
|
18
|
+
* - The storage will not automatically create/alter tables on first use
|
|
19
|
+
* - You must call `storage.init()` explicitly in your CI/CD scripts
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* // In CI/CD script:
|
|
23
|
+
* const storage = await LanceStorage.create('id', 'name', '/path/to/db', undefined, { disableInit: false });
|
|
24
|
+
* await storage.init(); // Explicitly run migrations
|
|
25
|
+
*
|
|
26
|
+
* // In runtime application:
|
|
27
|
+
* const storage = await LanceStorage.create('id', 'name', '/path/to/db', undefined, { disableInit: true });
|
|
28
|
+
* // No auto-init, tables must already exist
|
|
29
|
+
*/
|
|
30
|
+
disableInit?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface LanceStorageClientOptions extends LanceStorageOptions {
|
|
33
|
+
/**
|
|
34
|
+
* Pre-configured LanceDB connection.
|
|
35
|
+
* Use this when you need to configure the connection before initialization.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import { connect } from '@lancedb/lancedb';
|
|
40
|
+
*
|
|
41
|
+
* const client = await connect('/path/to/db', {
|
|
42
|
+
* // Custom connection options
|
|
43
|
+
* });
|
|
44
|
+
*
|
|
45
|
+
* const store = await LanceStorage.fromClient('my-id', 'MyStorage', client);
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
client: Connection;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* LanceDB storage adapter for Mastra.
|
|
52
|
+
*
|
|
53
|
+
* Access domain-specific storage via `getStore()`:
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```typescript
|
|
57
|
+
* const storage = await LanceStorage.create('my-id', 'MyStorage', '/path/to/db');
|
|
58
|
+
*
|
|
59
|
+
* // Access memory domain
|
|
60
|
+
* const memory = await storage.getStore('memory');
|
|
61
|
+
* await memory?.saveThread({ thread });
|
|
62
|
+
*
|
|
63
|
+
* // Access workflows domain
|
|
64
|
+
* const workflows = await storage.getStore('workflows');
|
|
65
|
+
* await workflows?.persistWorkflowSnapshot({ workflowName, runId, snapshot });
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
export declare class LanceStorage extends MastraCompositeStore {
|
|
10
69
|
stores: StorageDomains;
|
|
11
70
|
private lanceClient;
|
|
12
71
|
/**
|
|
13
72
|
* Creates a new instance of LanceStorage
|
|
73
|
+
* @param id The unique identifier for this storage instance
|
|
74
|
+
* @param name The name for this storage instance
|
|
14
75
|
* @param uri The URI to connect to LanceDB
|
|
15
|
-
* @param
|
|
76
|
+
* @param connectionOptions connection options for LanceDB
|
|
77
|
+
* @param storageOptions storage options including disableInit
|
|
16
78
|
*
|
|
17
79
|
* Usage:
|
|
18
80
|
*
|
|
19
81
|
* Connect to a local database
|
|
20
82
|
* ```ts
|
|
21
|
-
* const store = await LanceStorage.create('/path/to/db');
|
|
83
|
+
* const store = await LanceStorage.create('my-storage-id', 'MyStorage', '/path/to/db');
|
|
22
84
|
* ```
|
|
23
85
|
*
|
|
24
86
|
* Connect to a LanceDB cloud database
|
|
25
87
|
* ```ts
|
|
26
|
-
* const store = await LanceStorage.create('db://host:port');
|
|
88
|
+
* const store = await LanceStorage.create('my-storage-id', 'MyStorage', 'db://host:port');
|
|
27
89
|
* ```
|
|
28
90
|
*
|
|
29
91
|
* Connect to a cloud database
|
|
30
92
|
* ```ts
|
|
31
|
-
* const store = await LanceStorage.create('s3://bucket/db', { storageOptions: { timeout: '60s' } });
|
|
93
|
+
* const store = await LanceStorage.create('my-storage-id', 'MyStorage', 's3://bucket/db', { storageOptions: { timeout: '60s' } });
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* Disable auto-init for runtime (after CI/CD has run migrations)
|
|
97
|
+
* ```ts
|
|
98
|
+
* const store = await LanceStorage.create('my-storage-id', 'MyStorage', '/path/to/db', undefined, { disableInit: true });
|
|
32
99
|
* ```
|
|
33
100
|
*/
|
|
34
|
-
static create(name: string, uri: string,
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
* Private constructor to enforce using the create factory method
|
|
38
|
-
*/
|
|
39
|
-
private constructor();
|
|
40
|
-
createTable({ tableName, schema, }: {
|
|
41
|
-
tableName: TABLE_NAMES;
|
|
42
|
-
schema: Record<string, StorageColumn>;
|
|
43
|
-
}): Promise<void>;
|
|
44
|
-
dropTable({ tableName }: {
|
|
45
|
-
tableName: TABLE_NAMES;
|
|
46
|
-
}): Promise<void>;
|
|
47
|
-
alterTable({ tableName, schema, ifNotExists, }: {
|
|
48
|
-
tableName: TABLE_NAMES;
|
|
49
|
-
schema: Record<string, StorageColumn>;
|
|
50
|
-
ifNotExists: string[];
|
|
51
|
-
}): Promise<void>;
|
|
52
|
-
clearTable({ tableName }: {
|
|
53
|
-
tableName: TABLE_NAMES;
|
|
54
|
-
}): Promise<void>;
|
|
55
|
-
insert({ tableName, record }: {
|
|
56
|
-
tableName: TABLE_NAMES;
|
|
57
|
-
record: Record<string, any>;
|
|
58
|
-
}): Promise<void>;
|
|
59
|
-
batchInsert({ tableName, records }: {
|
|
60
|
-
tableName: TABLE_NAMES;
|
|
61
|
-
records: Record<string, any>[];
|
|
62
|
-
}): Promise<void>;
|
|
63
|
-
load({ tableName, keys }: {
|
|
64
|
-
tableName: TABLE_NAMES;
|
|
65
|
-
keys: Record<string, any>;
|
|
66
|
-
}): Promise<any>;
|
|
67
|
-
getThreadById({ threadId }: {
|
|
68
|
-
threadId: string;
|
|
69
|
-
}): Promise<StorageThreadType | null>;
|
|
70
|
-
getThreadsByResourceId({ resourceId }: {
|
|
71
|
-
resourceId: string;
|
|
72
|
-
}): Promise<StorageThreadType[]>;
|
|
101
|
+
static create(id: string, name: string, uri: string, connectionOptions?: ConnectionOptions, storageOptions?: LanceStorageOptions): Promise<LanceStorage>;
|
|
73
102
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
103
|
+
* Creates a new instance of LanceStorage from a pre-configured LanceDB connection.
|
|
104
|
+
* Use this when you need to configure the connection before initialization.
|
|
105
|
+
*
|
|
106
|
+
* @param id The unique identifier for this storage instance
|
|
107
|
+
* @param name The name for this storage instance
|
|
108
|
+
* @param client Pre-configured LanceDB connection
|
|
109
|
+
* @param options Storage options including disableInit
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```typescript
|
|
113
|
+
* import { connect } from '@lancedb/lancedb';
|
|
114
|
+
*
|
|
115
|
+
* const client = await connect('/path/to/db', {
|
|
116
|
+
* // Custom connection options
|
|
117
|
+
* });
|
|
118
|
+
*
|
|
119
|
+
* const store = LanceStorage.fromClient('my-id', 'MyStorage', client);
|
|
120
|
+
* ```
|
|
77
121
|
*/
|
|
78
|
-
|
|
79
|
-
thread: StorageThreadType;
|
|
80
|
-
}): Promise<StorageThreadType>;
|
|
81
|
-
updateThread({ id, title, metadata, }: {
|
|
82
|
-
id: string;
|
|
83
|
-
title: string;
|
|
84
|
-
metadata: Record<string, unknown>;
|
|
85
|
-
}): Promise<StorageThreadType>;
|
|
86
|
-
deleteThread({ threadId }: {
|
|
87
|
-
threadId: string;
|
|
88
|
-
}): Promise<void>;
|
|
89
|
-
get supports(): {
|
|
90
|
-
selectByIncludeResourceScope: boolean;
|
|
91
|
-
resourceWorkingMemory: boolean;
|
|
92
|
-
hasColumn: boolean;
|
|
93
|
-
createTable: boolean;
|
|
94
|
-
deleteMessages: boolean;
|
|
95
|
-
getScoresBySpan: boolean;
|
|
96
|
-
};
|
|
97
|
-
getResourceById({ resourceId }: {
|
|
98
|
-
resourceId: string;
|
|
99
|
-
}): Promise<StorageResourceType | null>;
|
|
100
|
-
saveResource({ resource }: {
|
|
101
|
-
resource: StorageResourceType;
|
|
102
|
-
}): Promise<StorageResourceType>;
|
|
103
|
-
updateResource({ resourceId, workingMemory, metadata, }: {
|
|
104
|
-
resourceId: string;
|
|
105
|
-
workingMemory?: string;
|
|
106
|
-
metadata?: Record<string, unknown>;
|
|
107
|
-
}): Promise<StorageResourceType>;
|
|
122
|
+
static fromClient(id: string, name: string, client: Connection, options?: LanceStorageOptions): LanceStorage;
|
|
108
123
|
/**
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* @returns The processed array with context messages included
|
|
124
|
+
* @internal
|
|
125
|
+
* Private constructor to enforce using the create factory method.
|
|
126
|
+
* Note: stores is initialized in create() after the lanceClient is connected.
|
|
113
127
|
*/
|
|
114
|
-
private
|
|
115
|
-
getMessages(args: StorageGetMessagesArg & {
|
|
116
|
-
format?: 'v1';
|
|
117
|
-
}): Promise<MastraMessageV1[]>;
|
|
118
|
-
getMessages(args: StorageGetMessagesArg & {
|
|
119
|
-
format: 'v2';
|
|
120
|
-
}): Promise<MastraMessageV2[]>;
|
|
121
|
-
getMessagesById({ messageIds, format }: {
|
|
122
|
-
messageIds: string[];
|
|
123
|
-
format: 'v1';
|
|
124
|
-
}): Promise<MastraMessageV1[]>;
|
|
125
|
-
getMessagesById({ messageIds, format }: {
|
|
126
|
-
messageIds: string[];
|
|
127
|
-
format?: 'v2';
|
|
128
|
-
}): Promise<MastraMessageV2[]>;
|
|
129
|
-
saveMessages(args: {
|
|
130
|
-
messages: MastraMessageV1[];
|
|
131
|
-
format?: undefined | 'v1';
|
|
132
|
-
}): Promise<MastraMessageV1[]>;
|
|
133
|
-
saveMessages(args: {
|
|
134
|
-
messages: MastraMessageV2[];
|
|
135
|
-
format: 'v2';
|
|
136
|
-
}): Promise<MastraMessageV2[]>;
|
|
137
|
-
getThreadsByResourceIdPaginated(args: {
|
|
138
|
-
resourceId: string;
|
|
139
|
-
page: number;
|
|
140
|
-
perPage: number;
|
|
141
|
-
}): Promise<PaginationInfo & {
|
|
142
|
-
threads: StorageThreadType[];
|
|
143
|
-
}>;
|
|
144
|
-
getMessagesPaginated(args: StorageGetMessagesArg & {
|
|
145
|
-
format?: 'v1' | 'v2';
|
|
146
|
-
}): Promise<PaginationInfo & {
|
|
147
|
-
messages: MastraMessageV1[] | MastraMessageV2[];
|
|
148
|
-
}>;
|
|
149
|
-
updateMessages(_args: {
|
|
150
|
-
messages: Partial<Omit<MastraMessageV2, 'createdAt'>> & {
|
|
151
|
-
id: string;
|
|
152
|
-
content?: {
|
|
153
|
-
metadata?: MastraMessageContentV2['metadata'];
|
|
154
|
-
content?: MastraMessageContentV2['content'];
|
|
155
|
-
};
|
|
156
|
-
}[];
|
|
157
|
-
}): Promise<MastraMessageV2[]>;
|
|
158
|
-
getTraceById(args: {
|
|
159
|
-
traceId: string;
|
|
160
|
-
}): Promise<TraceType>;
|
|
161
|
-
getTraces(args: {
|
|
162
|
-
name?: string;
|
|
163
|
-
scope?: string;
|
|
164
|
-
page: number;
|
|
165
|
-
perPage: number;
|
|
166
|
-
attributes?: Record<string, string>;
|
|
167
|
-
}): Promise<Trace[]>;
|
|
168
|
-
getTracesPaginated(args: StorageGetTracesPaginatedArg): Promise<PaginationInfo & {
|
|
169
|
-
traces: Trace[];
|
|
170
|
-
}>;
|
|
171
|
-
getEvalsByAgentName(agentName: string, type?: 'test' | 'live'): Promise<EvalRow[]>;
|
|
172
|
-
getEvals(options: {
|
|
173
|
-
agentName?: string;
|
|
174
|
-
type?: 'test' | 'live';
|
|
175
|
-
page?: number;
|
|
176
|
-
perPage?: number;
|
|
177
|
-
fromDate?: Date;
|
|
178
|
-
toDate?: Date;
|
|
179
|
-
dateRange?: {
|
|
180
|
-
start?: Date;
|
|
181
|
-
end?: Date;
|
|
182
|
-
};
|
|
183
|
-
}): Promise<PaginationInfo & {
|
|
184
|
-
evals: EvalRow[];
|
|
185
|
-
}>;
|
|
186
|
-
getWorkflowRuns(args?: {
|
|
187
|
-
namespace?: string;
|
|
188
|
-
workflowName?: string;
|
|
189
|
-
fromDate?: Date;
|
|
190
|
-
toDate?: Date;
|
|
191
|
-
limit?: number;
|
|
192
|
-
offset?: number;
|
|
193
|
-
}): Promise<WorkflowRuns>;
|
|
194
|
-
getWorkflowRunById(args: {
|
|
195
|
-
runId: string;
|
|
196
|
-
workflowName?: string;
|
|
197
|
-
}): Promise<{
|
|
198
|
-
workflowName: string;
|
|
199
|
-
runId: string;
|
|
200
|
-
snapshot: any;
|
|
201
|
-
createdAt: Date;
|
|
202
|
-
updatedAt: Date;
|
|
203
|
-
} | null>;
|
|
204
|
-
updateWorkflowResults({ workflowName, runId, stepId, result, runtimeContext, }: {
|
|
205
|
-
workflowName: string;
|
|
206
|
-
runId: string;
|
|
207
|
-
stepId: string;
|
|
208
|
-
result: StepResult<any, any, any, any>;
|
|
209
|
-
runtimeContext: Record<string, any>;
|
|
210
|
-
}): Promise<Record<string, StepResult<any, any, any, any>>>;
|
|
211
|
-
updateWorkflowState({ workflowName, runId, opts, }: {
|
|
212
|
-
workflowName: string;
|
|
213
|
-
runId: string;
|
|
214
|
-
opts: {
|
|
215
|
-
status: string;
|
|
216
|
-
result?: StepResult<any, any, any, any>;
|
|
217
|
-
error?: string;
|
|
218
|
-
suspendedPaths?: Record<string, number[]>;
|
|
219
|
-
waitingPaths?: Record<string, number[]>;
|
|
220
|
-
};
|
|
221
|
-
}): Promise<WorkflowRunState | undefined>;
|
|
222
|
-
persistWorkflowSnapshot({ workflowName, runId, resourceId, snapshot, }: {
|
|
223
|
-
workflowName: string;
|
|
224
|
-
runId: string;
|
|
225
|
-
resourceId?: string;
|
|
226
|
-
snapshot: WorkflowRunState;
|
|
227
|
-
}): Promise<void>;
|
|
228
|
-
loadWorkflowSnapshot({ workflowName, runId, }: {
|
|
229
|
-
workflowName: string;
|
|
230
|
-
runId: string;
|
|
231
|
-
}): Promise<WorkflowRunState | null>;
|
|
232
|
-
getScoreById({ id: _id }: {
|
|
233
|
-
id: string;
|
|
234
|
-
}): Promise<ScoreRowData | null>;
|
|
235
|
-
getScoresByScorerId({ scorerId, source, entityId, entityType, pagination, }: {
|
|
236
|
-
scorerId: string;
|
|
237
|
-
pagination: StoragePagination;
|
|
238
|
-
source?: ScoringSource;
|
|
239
|
-
entityId?: string;
|
|
240
|
-
entityType?: string;
|
|
241
|
-
}): Promise<{
|
|
242
|
-
pagination: PaginationInfo;
|
|
243
|
-
scores: ScoreRowData[];
|
|
244
|
-
}>;
|
|
245
|
-
saveScore(_score: ScoreRowData): Promise<{
|
|
246
|
-
score: ScoreRowData;
|
|
247
|
-
}>;
|
|
248
|
-
getScoresByRunId({ runId, pagination, }: {
|
|
249
|
-
runId: string;
|
|
250
|
-
pagination: StoragePagination;
|
|
251
|
-
}): Promise<{
|
|
252
|
-
pagination: PaginationInfo;
|
|
253
|
-
scores: ScoreRowData[];
|
|
254
|
-
}>;
|
|
255
|
-
getScoresByEntityId({ entityId, entityType, pagination, }: {
|
|
256
|
-
pagination: StoragePagination;
|
|
257
|
-
entityId: string;
|
|
258
|
-
entityType: string;
|
|
259
|
-
}): Promise<{
|
|
260
|
-
pagination: PaginationInfo;
|
|
261
|
-
scores: ScoreRowData[];
|
|
262
|
-
}>;
|
|
263
|
-
getScoresBySpan({ traceId, spanId, pagination, }: {
|
|
264
|
-
traceId: string;
|
|
265
|
-
spanId: string;
|
|
266
|
-
pagination: StoragePagination;
|
|
267
|
-
}): Promise<{
|
|
268
|
-
pagination: PaginationInfo;
|
|
269
|
-
scores: ScoreRowData[];
|
|
270
|
-
}>;
|
|
128
|
+
private constructor();
|
|
271
129
|
}
|
|
272
130
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storage/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storage/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAwB,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAG1D,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAC;AAC9F,YAAY,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAE9C,MAAM,WAAW,mBAAmB;IAClC;;;;;;;;;;;;;;;;;;OAkBG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,yBAA0B,SAAQ,mBAAmB;IACpE;;;;;;;;;;;;;;OAcG;IACH,MAAM,EAAE,UAAU,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,YAAa,SAAQ,oBAAoB;IACpD,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,CAAC,WAAW,CAAc;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;WACiB,MAAM,CACxB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,EACX,iBAAiB,CAAC,EAAE,iBAAiB,EACrC,cAAc,CAAC,EAAE,mBAAmB,GACnC,OAAO,CAAC,YAAY,CAAC;IAyBxB;;;;;;;;;;;;;;;;;;;OAmBG;WACW,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,YAAY;IAYnH;;;;OAIG;IACH,OAAO;CAKR"}
|
package/dist/vector/filter.d.ts
CHANGED
|
@@ -29,12 +29,12 @@ export declare class LanceFilterTranslator extends BaseFilterTranslator<LanceVec
|
|
|
29
29
|
*/
|
|
30
30
|
protected getSupportedOperators(): {
|
|
31
31
|
custom: string[];
|
|
32
|
-
logical: import("@mastra/core/vector
|
|
33
|
-
basic: import("@mastra/core/vector
|
|
34
|
-
numeric: import("@mastra/core/vector
|
|
35
|
-
array: import("@mastra/core/vector
|
|
32
|
+
logical: import("@mastra/core/vector").LogicalOperator[];
|
|
33
|
+
basic: import("@mastra/core/vector").BasicOperator[];
|
|
34
|
+
numeric: import("@mastra/core/vector").NumericOperator[];
|
|
35
|
+
array: import("@mastra/core/vector").ArrayOperator[];
|
|
36
36
|
element: "$exists"[];
|
|
37
|
-
regex: import("@mastra/core/vector
|
|
37
|
+
regex: import("@mastra/core/vector").RegexOperator[];
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
export {};
|
package/dist/vector/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ConnectionOptions, CreateTableOptions, Table, TableLike } from '@lancedb/lancedb';
|
|
2
|
-
import type { CreateIndexParams, DeleteIndexParams, DeleteVectorParams, DescribeIndexParams, IndexStats, QueryResult, QueryVectorParams, UpdateVectorParams, UpsertVectorParams } from '@mastra/core/vector';
|
|
2
|
+
import type { CreateIndexParams, DeleteIndexParams, DeleteVectorParams, DescribeIndexParams, IndexStats, QueryResult, QueryVectorParams, UpdateVectorParams, UpsertVectorParams, DeleteVectorsParams } from '@mastra/core/vector';
|
|
3
3
|
import { MastraVector } from '@mastra/core/vector';
|
|
4
4
|
import type { LanceVectorFilter } from './filter.js';
|
|
5
5
|
import type { IndexConfig } from './types.js';
|
|
@@ -12,12 +12,18 @@ interface LanceIndexConfig extends IndexConfig {
|
|
|
12
12
|
numSubVectors?: number;
|
|
13
13
|
}
|
|
14
14
|
interface LanceUpsertVectorParams extends UpsertVectorParams {
|
|
15
|
-
tableName
|
|
15
|
+
tableName?: string;
|
|
16
16
|
}
|
|
17
17
|
interface LanceQueryVectorParams extends QueryVectorParams<LanceVectorFilter> {
|
|
18
|
-
tableName
|
|
18
|
+
tableName?: string;
|
|
19
19
|
columns?: string[];
|
|
20
20
|
includeAllColumns?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Distance metric used to compute `_distance` and convert it into a similarity `score`.
|
|
23
|
+
* Defaults to the table's vector index metric when one exists, otherwise 'cosine'
|
|
24
|
+
* (matching `createIndex`'s default and `@mastra/memory`'s usage).
|
|
25
|
+
*/
|
|
26
|
+
metric?: 'cosine' | 'euclidean' | 'dotproduct';
|
|
21
27
|
}
|
|
22
28
|
export declare class LanceVectorStore extends MastraVector<LanceVectorFilter> {
|
|
23
29
|
private lanceClient;
|
|
@@ -43,16 +49,44 @@ export declare class LanceVectorStore extends MastraVector<LanceVectorFilter> {
|
|
|
43
49
|
* const store = await LanceVectorStore.create('s3://bucket/db', { storageOptions: { timeout: '60s' } });
|
|
44
50
|
* ```
|
|
45
51
|
*/
|
|
46
|
-
static create(uri: string, options?: ConnectionOptions
|
|
52
|
+
static create(uri: string, options?: ConnectionOptions & {
|
|
53
|
+
id: string;
|
|
54
|
+
}): Promise<LanceVectorStore>;
|
|
47
55
|
/**
|
|
48
56
|
* @internal
|
|
49
57
|
* Private constructor to enforce using the create factory method
|
|
50
58
|
*/
|
|
51
59
|
private constructor();
|
|
52
60
|
close(): void;
|
|
53
|
-
query({ tableName, queryVector, filter, includeVector, topK, columns, includeAllColumns, }: LanceQueryVectorParams): Promise<QueryResult[]>;
|
|
61
|
+
query({ tableName, indexName, queryVector, filter, includeVector, topK, columns, includeAllColumns, metric, }: LanceQueryVectorParams): Promise<QueryResult[]>;
|
|
62
|
+
/**
|
|
63
|
+
* Maps a Mastra distance metric to the LanceDB distance type.
|
|
64
|
+
*/
|
|
65
|
+
private mastraMetricToLance;
|
|
66
|
+
/**
|
|
67
|
+
* Determines the distance metric to use for a query.
|
|
68
|
+
*
|
|
69
|
+
* Precedence: the table's vector index metric wins when an index exists because
|
|
70
|
+
* LanceDB requires indexed searches to use the same distance type the index was
|
|
71
|
+
* trained with; otherwise an explicitly provided metric is used; otherwise it
|
|
72
|
+
* defaults to 'cosine'.
|
|
73
|
+
*/
|
|
74
|
+
private resolveQueryMetric;
|
|
75
|
+
private lanceMetricToMastra;
|
|
76
|
+
/**
|
|
77
|
+
* Converts a LanceDB `_distance` (smaller = more similar) into a Mastra similarity
|
|
78
|
+
* `score` (larger = more similar), consistent with every other Mastra vector store.
|
|
79
|
+
*
|
|
80
|
+
* - cosine: LanceDB returns cosine distance (`1 - cosine_similarity`), so `1 - distance`
|
|
81
|
+
* recovers the cosine similarity.
|
|
82
|
+
* - dotproduct: LanceDB's dot distance is `1 - dot_product`, so `1 - distance` recovers
|
|
83
|
+
* the dot product (matching `@mastra/pg`).
|
|
84
|
+
* - euclidean: LanceDB returns squared L2 distance for `l2`, so use its square root
|
|
85
|
+
* before mapping into (0, 1] (matching `@mastra/pg`).
|
|
86
|
+
*/
|
|
87
|
+
private distanceToScore;
|
|
54
88
|
private filterTranslator;
|
|
55
|
-
upsert({ tableName, vectors, metadata, ids }: LanceUpsertVectorParams): Promise<string[]>;
|
|
89
|
+
upsert({ tableName, indexName, vectors, metadata, ids }: LanceUpsertVectorParams): Promise<string[]>;
|
|
56
90
|
/**
|
|
57
91
|
* Flattens a nested object, creating new keys with underscores for nested properties.
|
|
58
92
|
* Example: { metadata: { text: 'test' } } → { metadata_text: 'test' }
|
|
@@ -62,7 +96,17 @@ export declare class LanceVectorStore extends MastraVector<LanceVectorFilter> {
|
|
|
62
96
|
listTables(): Promise<string[]>;
|
|
63
97
|
getTableSchema(tableName: string): Promise<any>;
|
|
64
98
|
/**
|
|
65
|
-
*
|
|
99
|
+
* Creates a vector index on a table.
|
|
100
|
+
*
|
|
101
|
+
* The behavior of `indexName` depends on whether `tableName` is provided:
|
|
102
|
+
* - With `tableName`: `indexName` is the column to index (advanced use case)
|
|
103
|
+
* - Without `tableName`: `indexName` becomes the table name, and 'vector' is used as the column (Memory compatibility)
|
|
104
|
+
*
|
|
105
|
+
* @param tableName - Optional table name. If not provided, defaults to indexName.
|
|
106
|
+
* @param indexName - The index/column name, or table name if tableName is not provided.
|
|
107
|
+
* @param dimension - Vector dimension size.
|
|
108
|
+
* @param metric - Distance metric: 'cosine', 'euclidean', or 'dotproduct'.
|
|
109
|
+
* @param indexConfig - Optional index configuration.
|
|
66
110
|
*/
|
|
67
111
|
createIndex({ tableName, indexName, dimension, metric, indexConfig, }: LanceCreateIndexParams): Promise<void>;
|
|
68
112
|
listIndexes(): Promise<string[]>;
|
|
@@ -73,13 +117,19 @@ export declare class LanceVectorStore extends MastraVector<LanceVectorFilter> {
|
|
|
73
117
|
*/
|
|
74
118
|
deleteAllTables(): Promise<void>;
|
|
75
119
|
deleteTable(tableName: string): Promise<void>;
|
|
76
|
-
updateVector(
|
|
120
|
+
updateVector(params: UpdateVectorParams<LanceVectorFilter>): Promise<void>;
|
|
77
121
|
deleteVector({ indexName, id }: DeleteVectorParams): Promise<void>;
|
|
78
122
|
/**
|
|
79
|
-
*
|
|
80
|
-
*
|
|
123
|
+
* Extracts column names referenced in a SQL WHERE clause.
|
|
124
|
+
* Identifies metadata_* prefixed identifiers used in filter conditions.
|
|
125
|
+
*/
|
|
126
|
+
private extractFilterColumns;
|
|
127
|
+
/**
|
|
128
|
+
* Extracts metadata from flattened column names (legacy data without _metadata_json).
|
|
129
|
+
* Returns keys as-is after stripping the 'metadata_' prefix, without any unflattening.
|
|
81
130
|
*/
|
|
82
|
-
private
|
|
131
|
+
private extractFlatMetadata;
|
|
132
|
+
deleteVectors({ indexName, filter, ids }: DeleteVectorsParams<LanceVectorFilter>): Promise<void>;
|
|
83
133
|
}
|
|
84
134
|
export {};
|
|
85
135
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vector/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,iBAAiB,EAAE,kBAAkB,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vector/index.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/lance",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-esbuild-bundle-worker-20260807182016",
|
|
4
4
|
"description": "Lance provider for Mastra - includes both vector and db storage capabilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,23 +19,25 @@
|
|
|
19
19
|
"./package.json": "./package.json"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@lancedb/lancedb": "^0.
|
|
22
|
+
"@lancedb/lancedb": "^0.31.0",
|
|
23
23
|
"apache-arrow": "^18.1.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"@
|
|
35
|
-
"@internal/
|
|
26
|
+
"@types/node": "22.20.1",
|
|
27
|
+
"@vitest/coverage-v8": "4.1.10",
|
|
28
|
+
"@vitest/ui": "4.1.10",
|
|
29
|
+
"eslint": "^10.7.0",
|
|
30
|
+
"tsdown": "0.22.9",
|
|
31
|
+
"tsx": "^4.23.1",
|
|
32
|
+
"typescript": "^6.0.3",
|
|
33
|
+
"vitest": "4.1.10",
|
|
34
|
+
"@internal/lint": "0.0.0-esbuild-bundle-worker-20260807182016",
|
|
35
|
+
"@internal/storage-test-utils": "0.0.117",
|
|
36
|
+
"@mastra/core": "0.0.0-esbuild-bundle-worker-20260807182016",
|
|
37
|
+
"@internal/types-builder": "0.0.0-esbuild-bundle-worker-20260807182016"
|
|
36
38
|
},
|
|
37
39
|
"peerDependencies": {
|
|
38
|
-
"@mastra/core": "0.0.0-
|
|
40
|
+
"@mastra/core": "0.0.0-esbuild-bundle-worker-20260807182016"
|
|
39
41
|
},
|
|
40
42
|
"files": [
|
|
41
43
|
"dist",
|
|
@@ -50,11 +52,15 @@
|
|
|
50
52
|
"bugs": {
|
|
51
53
|
"url": "https://github.com/mastra-ai/mastra/issues"
|
|
52
54
|
},
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=22.13.0"
|
|
57
|
+
},
|
|
53
58
|
"scripts": {
|
|
54
|
-
"build": "
|
|
55
|
-
"build:watch": "
|
|
59
|
+
"build:lib": "tsdown --silent --config tsdown.config.ts",
|
|
60
|
+
"build:watch": "tsdown --watch --silent --config tsdown.config.ts",
|
|
56
61
|
"test": "vitest run",
|
|
57
62
|
"test:watch": "vitest watch",
|
|
58
|
-
"lint": "eslint ."
|
|
63
|
+
"lint": "oxlint . && eslint .",
|
|
64
|
+
"lint:fix": "oxlint --fix . && eslint --fix ."
|
|
59
65
|
}
|
|
60
66
|
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { Connection } from '@lancedb/lancedb';
|
|
2
|
-
import { LegacyEvalsStorage } from '@mastra/core/storage';
|
|
3
|
-
import type { EvalRow, PaginationInfo } from '@mastra/core/storage';
|
|
4
|
-
export declare class StoreLegacyEvalsLance extends LegacyEvalsStorage {
|
|
5
|
-
private client;
|
|
6
|
-
constructor({ client }: {
|
|
7
|
-
client: Connection;
|
|
8
|
-
});
|
|
9
|
-
getEvalsByAgentName(agentName: string, type?: 'test' | 'live'): Promise<EvalRow[]>;
|
|
10
|
-
getEvals(options: {
|
|
11
|
-
agentName?: string;
|
|
12
|
-
type?: 'test' | 'live';
|
|
13
|
-
page?: number;
|
|
14
|
-
perPage?: number;
|
|
15
|
-
fromDate?: Date;
|
|
16
|
-
toDate?: Date;
|
|
17
|
-
dateRange?: {
|
|
18
|
-
start?: Date;
|
|
19
|
-
end?: Date;
|
|
20
|
-
};
|
|
21
|
-
}): Promise<PaginationInfo & {
|
|
22
|
-
evals: EvalRow[];
|
|
23
|
-
}>;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/legacy-evals/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAe,MAAM,sBAAsB,CAAC;AACvE,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEpE,qBAAa,qBAAsB,SAAQ,kBAAkB;IAC3D,OAAO,CAAC,MAAM,CAAa;gBACf,EAAE,MAAM,EAAE,EAAE;QAAE,MAAM,EAAE,UAAU,CAAA;KAAE;IAKxC,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IA4ClF,QAAQ,CAAC,OAAO,EAAE;QACtB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACvB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,IAAI,CAAC;QAChB,MAAM,CAAC,EAAE,IAAI,CAAC;QACd,SAAS,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,IAAI,CAAC;YAAC,GAAG,CAAC,EAAE,IAAI,CAAA;SAAE,CAAC;KAC1C,GAAG,OAAO,CAAC,cAAc,GAAG;QAAE,KAAK,EAAE,OAAO,EAAE,CAAA;KAAE,CAAC;CA2FnD"}
|