@mastra/lance 0.0.0-toolOptionTypes-20250917085558 → 0.0.0-top-level-fix-20251211103030

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/lance",
3
- "version": "0.0.0-toolOptionTypes-20250917085558",
3
+ "version": "0.0.0-top-level-fix-20251211103030",
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.21.2",
22
+ "@lancedb/lancedb": "^0.22.3",
23
23
  "apache-arrow": "^18.1.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@microsoft/api-extractor": "^7.52.8",
27
- "@types/node": "^20.19.0",
28
- "eslint": "^9.30.1",
27
+ "@types/node": "22.13.17",
28
+ "@vitest/coverage-v8": "4.0.12",
29
+ "@vitest/ui": "4.0.12",
30
+ "eslint": "^9.37.0",
29
31
  "tsup": "^8.5.0",
30
32
  "typescript": "^5.8.3",
31
- "vitest": "^3.2.4",
32
- "@internal/lint": "0.0.0-toolOptionTypes-20250917085558",
33
- "@internal/storage-test-utils": "0.0.35",
34
- "@mastra/core": "0.0.0-toolOptionTypes-20250917085558",
35
- "@internal/types-builder": "0.0.0-toolOptionTypes-20250917085558"
33
+ "vitest": "4.0.12",
34
+ "@internal/lint": "0.0.0-top-level-fix-20251211103030",
35
+ "@internal/storage-test-utils": "0.0.49",
36
+ "@internal/types-builder": "0.0.0-top-level-fix-20251211103030",
37
+ "@mastra/core": "0.0.0-top-level-fix-20251211103030"
36
38
  },
37
39
  "peerDependencies": {
38
- "@mastra/core": "0.0.0-toolOptionTypes-20250917085558"
40
+ "@mastra/core": "0.0.0-top-level-fix-20251211103030"
39
41
  },
40
42
  "files": [
41
43
  "dist",
@@ -50,6 +52,9 @@
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
59
  "build": "tsup --silent --config tsup.config.ts",
55
60
  "build:watch": "tsup --watch --silent --config tsup.config.ts",
@@ -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"}
@@ -1,34 +0,0 @@
1
- import type { Connection } from '@lancedb/lancedb';
2
- import type { TraceType } from '@mastra/core/memory';
3
- import { TracesStorage } from '@mastra/core/storage';
4
- import type { PaginationInfo, StorageGetTracesPaginatedArg } from '@mastra/core/storage';
5
- import type { Trace } from '@mastra/core/telemetry';
6
- import type { StoreOperationsLance } from '../operations/index.js';
7
- export declare class StoreTracesLance extends TracesStorage {
8
- private client;
9
- private operations;
10
- constructor({ client, operations }: {
11
- client: Connection;
12
- operations: StoreOperationsLance;
13
- });
14
- saveTrace({ trace }: {
15
- trace: TraceType;
16
- }): Promise<TraceType>;
17
- getTraceById({ traceId }: {
18
- traceId: string;
19
- }): Promise<TraceType>;
20
- getTraces({ name, scope, page, perPage, attributes, }: {
21
- name?: string;
22
- scope?: string;
23
- page: number;
24
- perPage: number;
25
- attributes?: Record<string, string>;
26
- }): Promise<Trace[]>;
27
- getTracesPaginated(args: StorageGetTracesPaginatedArg): Promise<PaginationInfo & {
28
- traces: Trace[];
29
- }>;
30
- batchTraceInsert({ records }: {
31
- records: Record<string, any>[];
32
- }): Promise<void>;
33
- }
34
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources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