@mastra/lance 1.0.0-beta.7 → 1.0.0-beta.8
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 +194 -0
- package/dist/index.cjs +1087 -1125
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1088 -1126
- package/dist/index.js.map +1 -1
- package/dist/storage/{domains/operations → db}/index.d.ts +21 -2
- package/dist/storage/db/index.d.ts.map +1 -0
- package/dist/storage/db/utils.d.ts.map +1 -0
- package/dist/storage/domains/memory/index.d.ts +6 -7
- package/dist/storage/domains/memory/index.d.ts.map +1 -1
- package/dist/storage/domains/scores/index.d.ts +11 -22
- package/dist/storage/domains/scores/index.d.ts.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +10 -6
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +62 -174
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/storage/domains/operations/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
|
@@ -1,7 +1,26 @@
|
|
|
1
1
|
import type { Connection } from '@lancedb/lancedb';
|
|
2
|
-
import {
|
|
2
|
+
import { MastraBase } from '@mastra/core/base';
|
|
3
3
|
import type { TABLE_NAMES, StorageColumn } from '@mastra/core/storage';
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Configuration for standalone domain usage.
|
|
6
|
+
* Accepts an existing LanceDB Connection.
|
|
7
|
+
*
|
|
8
|
+
* Note: Creating a new LanceDB connection requires async `connect()`,
|
|
9
|
+
* so for standalone domain usage, you must create the connection first
|
|
10
|
+
* and pass it to the domain constructor.
|
|
11
|
+
*/
|
|
12
|
+
export type LanceDomainConfig = LanceDomainClientConfig;
|
|
13
|
+
/**
|
|
14
|
+
* Pass an existing LanceDB connection
|
|
15
|
+
*/
|
|
16
|
+
export interface LanceDomainClientConfig {
|
|
17
|
+
client: Connection;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Resolves LanceDomainConfig to a LanceDB Connection.
|
|
21
|
+
*/
|
|
22
|
+
export declare function resolveLanceConfig(config: LanceDomainConfig): Connection;
|
|
23
|
+
export declare class LanceDB extends MastraBase {
|
|
5
24
|
client: Connection;
|
|
6
25
|
constructor({ client }: {
|
|
7
26
|
client: Connection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/storage/db/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAKvE;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;AAExD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,UAAU,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,iBAAiB,GAAG,UAAU,CAExE;AAED,qBAAa,OAAQ,SAAQ,UAAU;IACrC,MAAM,EAAE,UAAU,CAAC;gBACP,EAAE,MAAM,EAAE,EAAE;QAAE,MAAM,EAAE,UAAU,CAAA;KAAE;IAK9C,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,MAAM;IAkBxD,SAAS,CAAC,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAM7E,OAAO,CAAC,eAAe;IAyCjB,WAAW,CAAC,EAChB,SAAS,EACT,MAAM,GACP,EAAE;QACD,SAAS,EAAE,WAAW,CAAC;QACvB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;KACvC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AAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,wBAAgB,cAAc,CAAC,SAAS,EAAE,WAAW,GAAG,MAAM,EAAE,CAO/D;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,WAAW,EAAE,UAAU,GAAG,IAAI,CA4BzF;AAED,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EACtD,WAAW,EAAE,UAAU,GACtB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAqD7C;AAED,wBAAsB,cAAc,CAAC,EACnC,SAAS,EACT,MAAM,GACP,EAAE;IACD,SAAS,EAAE,WAAW,CAAC;IACvB,MAAM,EAAE,UAAU,CAAC;CACpB,GAAG,OAAO,CAAC,UAAU,CAAC,CA6CtB"}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import type { Connection } from '@lancedb/lancedb';
|
|
2
1
|
import type { MastraMessageContentV2 } from '@mastra/core/agent';
|
|
3
2
|
import type { MastraDBMessage, StorageThreadType } from '@mastra/core/memory';
|
|
4
3
|
import { MemoryStorage } from '@mastra/core/storage';
|
|
5
4
|
import type { StorageResourceType, StorageListMessagesInput, StorageListMessagesOutput, StorageListThreadsByResourceIdInput, StorageListThreadsByResourceIdOutput } from '@mastra/core/storage';
|
|
6
|
-
import type {
|
|
5
|
+
import type { LanceDomainConfig } from '../../db/index.js';
|
|
7
6
|
export declare class StoreMemoryLance extends MemoryStorage {
|
|
7
|
+
#private;
|
|
8
8
|
private client;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
});
|
|
9
|
+
constructor(config: LanceDomainConfig);
|
|
10
|
+
init(): Promise<void>;
|
|
11
|
+
dangerouslyClearAll(): Promise<void>;
|
|
12
|
+
deleteMessages(messageIds: string[]): Promise<void>;
|
|
14
13
|
private escapeSql;
|
|
15
14
|
getThreadById({ threadId }: {
|
|
16
15
|
threadId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/memory/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/memory/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,OAAO,KAAK,EAAmB,eAAe,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC/F,OAAO,EAEL,aAAa,EAOd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EACzB,mCAAmC,EACnC,oCAAoC,EACrC,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,qBAAa,gBAAiB,SAAQ,aAAa;;IACjD,OAAO,CAAC,MAAM,CAAa;gBAGf,MAAM,EAAE,iBAAiB;IAO/B,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAYrB,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC;IAMpC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAuDzD,OAAO,CAAC,SAAS;IAIX,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAyB1F;;;;OAIG;IACG,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE;QAAE,MAAM,EAAE,iBAAiB,CAAA;KAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAmBjF,YAA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AAC;IAgGxB,eAAe,CAAC,EAAE,UAAU,EAAE,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,mBAAmB,GAAG,IAAI,CAAC;IAiG5F,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;QAAE,QAAQ,EAAE,mBAAmB,CAAA;KAAE,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAyB3F,cAAc,CAAC,EACnB,UAAU,EACV,aAAa,EACb,QAAQ,GACT,EAAE;QACD,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpC,GAAG,OAAO,CAAC,mBAAmB,CAAC;CA+DjC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { SaveScorePayload, ScoreRowData, ScoringSource } from '@mastra/core/evals';
|
|
1
|
+
import type { ListScoresResponse, SaveScorePayload, ScoreRowData, ScoringSource } from '@mastra/core/evals';
|
|
3
2
|
import { ScoresStorage } from '@mastra/core/storage';
|
|
4
|
-
import type {
|
|
3
|
+
import type { StoragePagination } from '@mastra/core/storage';
|
|
4
|
+
import type { LanceDomainConfig } from '../../db/index.js';
|
|
5
5
|
export declare class StoreScoresLance extends ScoresStorage {
|
|
6
|
+
#private;
|
|
6
7
|
private client;
|
|
7
|
-
constructor(
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
constructor(config: LanceDomainConfig);
|
|
9
|
+
init(): Promise<void>;
|
|
10
|
+
dangerouslyClearAll(): Promise<void>;
|
|
10
11
|
saveScore(score: SaveScorePayload): Promise<{
|
|
11
12
|
score: ScoreRowData;
|
|
12
13
|
}>;
|
|
@@ -27,32 +28,20 @@ export declare class StoreScoresLance extends ScoresStorage {
|
|
|
27
28
|
entityId?: string;
|
|
28
29
|
entityType?: string;
|
|
29
30
|
source?: ScoringSource;
|
|
30
|
-
}): Promise<
|
|
31
|
-
pagination: PaginationInfo;
|
|
32
|
-
scores: ScoreRowData[];
|
|
33
|
-
}>;
|
|
31
|
+
}): Promise<ListScoresResponse>;
|
|
34
32
|
listScoresByRunId({ runId, pagination, }: {
|
|
35
33
|
runId: string;
|
|
36
34
|
pagination: StoragePagination;
|
|
37
|
-
}): Promise<
|
|
38
|
-
pagination: PaginationInfo;
|
|
39
|
-
scores: ScoreRowData[];
|
|
40
|
-
}>;
|
|
35
|
+
}): Promise<ListScoresResponse>;
|
|
41
36
|
listScoresByEntityId({ entityId, entityType, pagination, }: {
|
|
42
37
|
pagination: StoragePagination;
|
|
43
38
|
entityId: string;
|
|
44
39
|
entityType: string;
|
|
45
|
-
}): Promise<
|
|
46
|
-
pagination: PaginationInfo;
|
|
47
|
-
scores: ScoreRowData[];
|
|
48
|
-
}>;
|
|
40
|
+
}): Promise<ListScoresResponse>;
|
|
49
41
|
listScoresBySpan({ traceId, spanId, pagination, }: {
|
|
50
42
|
traceId: string;
|
|
51
43
|
spanId: string;
|
|
52
44
|
pagination: StoragePagination;
|
|
53
|
-
}): Promise<
|
|
54
|
-
pagination: PaginationInfo;
|
|
55
|
-
scores: ScoreRowData[];
|
|
56
|
-
}>;
|
|
45
|
+
}): Promise<ListScoresResponse>;
|
|
57
46
|
}
|
|
58
47
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/scores/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/scores/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAE5G,OAAO,EAEL,aAAa,EAKd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MA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GACX,EAAE;QACD,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,UAAU,EAAE,iBAAiB,CAAC;KAC/B,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAgDhC"}
|
|
@@ -2,28 +2,32 @@ import type { Connection } from '@lancedb/lancedb';
|
|
|
2
2
|
import type { StorageListWorkflowRunsInput, WorkflowRuns, UpdateWorkflowStateOptions } from '@mastra/core/storage';
|
|
3
3
|
import { WorkflowsStorage } from '@mastra/core/storage';
|
|
4
4
|
import type { StepResult, WorkflowRunState } from '@mastra/core/workflows';
|
|
5
|
+
import type { LanceDomainConfig } from '../../db/index.js';
|
|
5
6
|
export declare class StoreWorkflowsLance extends WorkflowsStorage {
|
|
7
|
+
#private;
|
|
6
8
|
client: Connection;
|
|
7
|
-
constructor(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
updateWorkflowResults({}: {
|
|
9
|
+
constructor(config: LanceDomainConfig);
|
|
10
|
+
init(): Promise<void>;
|
|
11
|
+
dangerouslyClearAll(): Promise<void>;
|
|
12
|
+
updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, }: {
|
|
11
13
|
workflowName: string;
|
|
12
14
|
runId: string;
|
|
13
15
|
stepId: string;
|
|
14
16
|
result: StepResult<any, any, any, any>;
|
|
15
17
|
requestContext: Record<string, any>;
|
|
16
18
|
}): Promise<Record<string, StepResult<any, any, any, any>>>;
|
|
17
|
-
updateWorkflowState({}: {
|
|
19
|
+
updateWorkflowState({ workflowName, runId, opts, }: {
|
|
18
20
|
workflowName: string;
|
|
19
21
|
runId: string;
|
|
20
22
|
opts: UpdateWorkflowStateOptions;
|
|
21
23
|
}): Promise<WorkflowRunState | undefined>;
|
|
22
|
-
persistWorkflowSnapshot({ workflowName, runId, resourceId, snapshot, }: {
|
|
24
|
+
persistWorkflowSnapshot({ workflowName, runId, resourceId, snapshot, createdAt, updatedAt, }: {
|
|
23
25
|
workflowName: string;
|
|
24
26
|
runId: string;
|
|
25
27
|
resourceId?: string;
|
|
26
28
|
snapshot: WorkflowRunState;
|
|
29
|
+
createdAt?: Date;
|
|
30
|
+
updatedAt?: Date;
|
|
27
31
|
}): Promise<void>;
|
|
28
32
|
loadWorkflowSnapshot({ workflowName, runId, }: {
|
|
29
33
|
workflowName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/workflows/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,KAAK,EAEV,4BAA4B,EAC5B,YAAY,EACZ,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/workflows/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,KAAK,EAEV,4BAA4B,EAC5B,YAAY,EACZ,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAML,gBAAgB,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AA8BlD,qBAAa,mBAAoB,SAAQ,gBAAgB;;IACvD,MAAM,EAAE,UAAU,CAAC;gBAEP,MAAM,EAAE,iBAAiB;IAO/B,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAWrB,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC;IAIpC,qBAAqB,CAAC,EAC1B,YAAY,EACZ,KAAK,EACL,MAAM,EACN,MAAM,EACN,cAAc,GACf,EAAE;QACD,YAAY,EAAE,MAAM,CAAC;QACrB,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MA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QAChB,SAAS,EAAE,IAAI,CAAC;KACjB,GAAG,IAAI,CAAC;IAyBH,qBAAqB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBtG,gBAAgB,CAAC,IAAI,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,YAAY,CAAC;CAmFnF"}
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import type { ConnectionOptions } from '@lancedb/lancedb';
|
|
2
|
-
import type { MastraMessageContentV2 } from '@mastra/core/agent';
|
|
3
|
-
import type { SaveScorePayload, ScoreRowData, ScoringSource } from '@mastra/core/evals';
|
|
4
|
-
import type { MastraDBMessage, StorageThreadType } from '@mastra/core/memory';
|
|
1
|
+
import type { Connection, ConnectionOptions } from '@lancedb/lancedb';
|
|
5
2
|
import { MastraStorage } from '@mastra/core/storage';
|
|
6
|
-
import type {
|
|
7
|
-
import type { StepResult, WorkflowRunState } from '@mastra/core/workflows';
|
|
3
|
+
import type { StorageDomains, StorageSupports } from '@mastra/core/storage';
|
|
8
4
|
export interface LanceStorageOptions {
|
|
9
5
|
/**
|
|
10
6
|
* When true, automatic initialization (table creation/migrations) is disabled.
|
|
@@ -27,6 +23,42 @@ export interface LanceStorageOptions {
|
|
|
27
23
|
*/
|
|
28
24
|
disableInit?: boolean;
|
|
29
25
|
}
|
|
26
|
+
export interface LanceStorageClientOptions extends LanceStorageOptions {
|
|
27
|
+
/**
|
|
28
|
+
* Pre-configured LanceDB connection.
|
|
29
|
+
* Use this when you need to configure the connection before initialization.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import { connect } from '@lancedb/lancedb';
|
|
34
|
+
*
|
|
35
|
+
* const client = await connect('/path/to/db', {
|
|
36
|
+
* // Custom connection options
|
|
37
|
+
* });
|
|
38
|
+
*
|
|
39
|
+
* const store = await LanceStorage.fromClient('my-id', 'MyStorage', client);
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
client: Connection;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* LanceDB storage adapter for Mastra.
|
|
46
|
+
*
|
|
47
|
+
* Access domain-specific storage via `getStore()`:
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```typescript
|
|
51
|
+
* const storage = await LanceStorage.create('my-id', 'MyStorage', '/path/to/db');
|
|
52
|
+
*
|
|
53
|
+
* // Access memory domain
|
|
54
|
+
* const memory = await storage.getStore('memory');
|
|
55
|
+
* await memory?.saveThread({ thread });
|
|
56
|
+
*
|
|
57
|
+
* // Access workflows domain
|
|
58
|
+
* const workflows = await storage.getStore('workflows');
|
|
59
|
+
* await workflows?.persistWorkflowSnapshot({ workflowName, runId, snapshot });
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
30
62
|
export declare class LanceStorage extends MastraStorage {
|
|
31
63
|
stores: StorageDomains;
|
|
32
64
|
private lanceClient;
|
|
@@ -62,176 +94,32 @@ export declare class LanceStorage extends MastraStorage {
|
|
|
62
94
|
*/
|
|
63
95
|
static create(id: string, name: string, uri: string, connectionOptions?: ConnectionOptions, storageOptions?: LanceStorageOptions): Promise<LanceStorage>;
|
|
64
96
|
/**
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}): Promise<void>;
|
|
84
|
-
insert({ tableName, record }: {
|
|
85
|
-
tableName: TABLE_NAMES;
|
|
86
|
-
record: Record<string, any>;
|
|
87
|
-
}): Promise<void>;
|
|
88
|
-
batchInsert({ tableName, records }: {
|
|
89
|
-
tableName: TABLE_NAMES;
|
|
90
|
-
records: Record<string, any>[];
|
|
91
|
-
}): Promise<void>;
|
|
92
|
-
load({ tableName, keys }: {
|
|
93
|
-
tableName: TABLE_NAMES;
|
|
94
|
-
keys: Record<string, any>;
|
|
95
|
-
}): Promise<any>;
|
|
96
|
-
getThreadById({ threadId }: {
|
|
97
|
-
threadId: string;
|
|
98
|
-
}): Promise<StorageThreadType | null>;
|
|
99
|
-
/**
|
|
100
|
-
* Saves a thread to the database. This function doesn't overwrite existing threads.
|
|
101
|
-
* @param thread - The thread to save
|
|
102
|
-
* @returns The saved thread
|
|
97
|
+
* Creates a new instance of LanceStorage from a pre-configured LanceDB connection.
|
|
98
|
+
* Use this when you need to configure the connection before initialization.
|
|
99
|
+
*
|
|
100
|
+
* @param id The unique identifier for this storage instance
|
|
101
|
+
* @param name The name for this storage instance
|
|
102
|
+
* @param client Pre-configured LanceDB connection
|
|
103
|
+
* @param options Storage options including disableInit
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* ```typescript
|
|
107
|
+
* import { connect } from '@lancedb/lancedb';
|
|
108
|
+
*
|
|
109
|
+
* const client = await connect('/path/to/db', {
|
|
110
|
+
* // Custom connection options
|
|
111
|
+
* });
|
|
112
|
+
*
|
|
113
|
+
* const store = LanceStorage.fromClient('my-id', 'MyStorage', client);
|
|
114
|
+
* ```
|
|
103
115
|
*/
|
|
104
|
-
|
|
105
|
-
thread: StorageThreadType;
|
|
106
|
-
}): Promise<StorageThreadType>;
|
|
107
|
-
updateThread({ id, title, metadata, }: {
|
|
108
|
-
id: string;
|
|
109
|
-
title: string;
|
|
110
|
-
metadata: Record<string, unknown>;
|
|
111
|
-
}): Promise<StorageThreadType>;
|
|
112
|
-
deleteThread({ threadId }: {
|
|
113
|
-
threadId: string;
|
|
114
|
-
}): Promise<void>;
|
|
115
|
-
get supports(): {
|
|
116
|
-
selectByIncludeResourceScope: boolean;
|
|
117
|
-
resourceWorkingMemory: boolean;
|
|
118
|
-
hasColumn: boolean;
|
|
119
|
-
createTable: boolean;
|
|
120
|
-
deleteMessages: boolean;
|
|
121
|
-
listScoresBySpan: boolean;
|
|
122
|
-
};
|
|
123
|
-
getResourceById({ resourceId }: {
|
|
124
|
-
resourceId: string;
|
|
125
|
-
}): Promise<StorageResourceType | null>;
|
|
126
|
-
saveResource({ resource }: {
|
|
127
|
-
resource: StorageResourceType;
|
|
128
|
-
}): Promise<StorageResourceType>;
|
|
129
|
-
updateResource({ resourceId, workingMemory, metadata, }: {
|
|
130
|
-
resourceId: string;
|
|
131
|
-
workingMemory?: string;
|
|
132
|
-
metadata?: Record<string, unknown>;
|
|
133
|
-
}): Promise<StorageResourceType>;
|
|
116
|
+
static fromClient(id: string, name: string, client: Connection, options?: LanceStorageOptions): LanceStorage;
|
|
134
117
|
/**
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
* @returns The processed array with context messages included
|
|
118
|
+
* @internal
|
|
119
|
+
* Private constructor to enforce using the create factory method.
|
|
120
|
+
* Note: stores is initialized in create() after the lanceClient is connected.
|
|
139
121
|
*/
|
|
140
|
-
private
|
|
141
|
-
|
|
142
|
-
messageIds: string[];
|
|
143
|
-
}): Promise<{
|
|
144
|
-
messages: MastraDBMessage[];
|
|
145
|
-
}>;
|
|
146
|
-
saveMessages(args: {
|
|
147
|
-
messages: MastraDBMessage[];
|
|
148
|
-
}): Promise<{
|
|
149
|
-
messages: MastraDBMessage[];
|
|
150
|
-
}>;
|
|
151
|
-
updateMessages(_args: {
|
|
152
|
-
messages: (Partial<Omit<MastraDBMessage, 'createdAt'>> & {
|
|
153
|
-
id: string;
|
|
154
|
-
content?: {
|
|
155
|
-
metadata?: MastraMessageContentV2['metadata'];
|
|
156
|
-
content?: MastraMessageContentV2['content'];
|
|
157
|
-
};
|
|
158
|
-
})[];
|
|
159
|
-
}): Promise<MastraDBMessage[]>;
|
|
160
|
-
listWorkflowRuns(args?: StorageListWorkflowRunsInput): Promise<WorkflowRuns>;
|
|
161
|
-
getWorkflowRunById(args: {
|
|
162
|
-
runId: string;
|
|
163
|
-
workflowName?: string;
|
|
164
|
-
}): Promise<{
|
|
165
|
-
workflowName: string;
|
|
166
|
-
runId: string;
|
|
167
|
-
snapshot: any;
|
|
168
|
-
createdAt: Date;
|
|
169
|
-
updatedAt: Date;
|
|
170
|
-
} | null>;
|
|
171
|
-
deleteWorkflowRunById({ runId, workflowName }: {
|
|
172
|
-
runId: string;
|
|
173
|
-
workflowName: string;
|
|
174
|
-
}): Promise<void>;
|
|
175
|
-
updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, }: {
|
|
176
|
-
workflowName: string;
|
|
177
|
-
runId: string;
|
|
178
|
-
stepId: string;
|
|
179
|
-
result: StepResult<any, any, any, any>;
|
|
180
|
-
requestContext: Record<string, any>;
|
|
181
|
-
}): Promise<Record<string, StepResult<any, any, any, any>>>;
|
|
182
|
-
updateWorkflowState({ workflowName, runId, opts, }: {
|
|
183
|
-
workflowName: string;
|
|
184
|
-
runId: string;
|
|
185
|
-
opts: UpdateWorkflowStateOptions;
|
|
186
|
-
}): Promise<WorkflowRunState | undefined>;
|
|
187
|
-
persistWorkflowSnapshot({ workflowName, runId, resourceId, snapshot, }: {
|
|
188
|
-
workflowName: string;
|
|
189
|
-
runId: string;
|
|
190
|
-
resourceId?: string;
|
|
191
|
-
snapshot: WorkflowRunState;
|
|
192
|
-
}): Promise<void>;
|
|
193
|
-
loadWorkflowSnapshot({ workflowName, runId, }: {
|
|
194
|
-
workflowName: string;
|
|
195
|
-
runId: string;
|
|
196
|
-
}): Promise<WorkflowRunState | null>;
|
|
197
|
-
getScoreById({ id: _id }: {
|
|
198
|
-
id: string;
|
|
199
|
-
}): Promise<ScoreRowData | null>;
|
|
200
|
-
listScoresByScorerId({ scorerId, source, entityId, entityType, pagination, }: {
|
|
201
|
-
scorerId: string;
|
|
202
|
-
pagination: StoragePagination;
|
|
203
|
-
source?: ScoringSource;
|
|
204
|
-
entityId?: string;
|
|
205
|
-
entityType?: string;
|
|
206
|
-
}): Promise<{
|
|
207
|
-
pagination: PaginationInfo;
|
|
208
|
-
scores: ScoreRowData[];
|
|
209
|
-
}>;
|
|
210
|
-
saveScore(score: SaveScorePayload): Promise<{
|
|
211
|
-
score: ScoreRowData;
|
|
212
|
-
}>;
|
|
213
|
-
listScoresByRunId({ runId, pagination, }: {
|
|
214
|
-
runId: string;
|
|
215
|
-
pagination: StoragePagination;
|
|
216
|
-
}): Promise<{
|
|
217
|
-
pagination: PaginationInfo;
|
|
218
|
-
scores: ScoreRowData[];
|
|
219
|
-
}>;
|
|
220
|
-
listScoresByEntityId({ entityId, entityType, pagination, }: {
|
|
221
|
-
pagination: StoragePagination;
|
|
222
|
-
entityId: string;
|
|
223
|
-
entityType: string;
|
|
224
|
-
}): Promise<{
|
|
225
|
-
pagination: PaginationInfo;
|
|
226
|
-
scores: ScoreRowData[];
|
|
227
|
-
}>;
|
|
228
|
-
listScoresBySpan({ traceId, spanId, pagination, }: {
|
|
229
|
-
traceId: string;
|
|
230
|
-
spanId: string;
|
|
231
|
-
pagination: StoragePagination;
|
|
232
|
-
}): Promise<{
|
|
233
|
-
pagination: PaginationInfo;
|
|
234
|
-
scores: ScoreRowData[];
|
|
235
|
-
}>;
|
|
122
|
+
private constructor();
|
|
123
|
+
get supports(): StorageSupports;
|
|
236
124
|
}
|
|
237
125
|
//# 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,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAK5E,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,aAAa;IAC7C,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;IAwBxB;;;;;;;;;;;;;;;;;;;OAmBG;WACW,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,YAAY;IAWnH;;;;OAIG;IACH,OAAO;IAMP,IAAW,QAAQ,IAAI,eAAe,CAYrC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/lance",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.8",
|
|
4
4
|
"description": "Lance provider for Mastra - includes both vector and db storage capabilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@internal/lint": "0.0.53",
|
|
34
34
|
"@internal/storage-test-utils": "0.0.49",
|
|
35
35
|
"@internal/types-builder": "0.0.28",
|
|
36
|
-
"@mastra/core": "^1.0.0-beta.
|
|
36
|
+
"@mastra/core": "^1.0.0-beta.15"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@mastra/core": ">=1.0.0-0 <2.0.0-0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/operations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAwB,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAKvE,qBAAa,oBAAqB,SAAQ,eAAe;IACvD,MAAM,EAAE,UAAU,CAAC;gBACP,EAAE,MAAM,EAAE,EAAE;QAAE,MAAM,EAAE,UAAU,CAAA;KAAE;IAK9C,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,MAAM;IAkBxD,SAAS,CAAC,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAM7E,OAAO,CAAC,eAAe;IAyCjB,WAAW,CAAC,EAChB,SAAS,EACT,MAAM,GACP,EAAE;QACD,SAAS,EAAE,WAAW,CAAC;QACvB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;KACvC,GAAG,OAAO,CAAC,IAAI,CAAC;IA2CX,SAAS,CAAC,EAAE,SAAS,EAAE,EAAE;QAAE,SAAS,EAAE,WAAW,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAwCnE,UAAU,CAAC,EACf,SAAS,EACT,MAAM,EACN,WAAW,GACZ,EAAE;QACD,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;QACtC,WAAW,EAAE,MAAM,E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