@mastra/convex 0.0.0-fix-zod4-schema-validation-20251212180638 → 0.0.0-fix-11329-windows-path-20251222155941

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +175 -5
  2. package/README.md +1 -1
  3. package/dist/{chunk-QKN2PWR2.cjs → chunk-BKVR7SL7.cjs} +2 -89
  4. package/dist/chunk-BKVR7SL7.cjs.map +1 -0
  5. package/dist/{chunk-NZCHEPNU.js → chunk-KSAPIIEJ.js} +5 -65
  6. package/dist/chunk-KSAPIIEJ.js.map +1 -0
  7. package/dist/chunk-PKUUSREO.js +76 -0
  8. package/dist/chunk-PKUUSREO.js.map +1 -0
  9. package/dist/chunk-ZBUP3DS6.cjs +93 -0
  10. package/dist/chunk-ZBUP3DS6.cjs.map +1 -0
  11. package/dist/index.cjs +177 -168
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.js +161 -152
  14. package/dist/index.js.map +1 -1
  15. package/dist/schema.cjs +72 -0
  16. package/dist/schema.cjs.map +1 -0
  17. package/dist/schema.d.ts +151 -0
  18. package/dist/schema.d.ts.map +1 -0
  19. package/dist/schema.js +3 -0
  20. package/dist/schema.js.map +1 -0
  21. package/dist/server/index.cjs +19 -18
  22. package/dist/server/index.d.ts +1 -1
  23. package/dist/server/index.d.ts.map +1 -1
  24. package/dist/server/index.js +2 -1
  25. package/dist/storage/db/index.d.ts +57 -0
  26. package/dist/storage/db/index.d.ts.map +1 -0
  27. package/dist/storage/domains/{memory.d.ts → memory/index.d.ts} +6 -4
  28. package/dist/storage/domains/memory/index.d.ts.map +1 -0
  29. package/dist/storage/domains/{scores.d.ts → scores/index.d.ts} +6 -4
  30. package/dist/storage/domains/scores/index.d.ts.map +1 -0
  31. package/dist/storage/domains/{workflows.d.ts → workflows/index.d.ts} +6 -4
  32. package/dist/storage/domains/workflows/index.d.ts.map +1 -0
  33. package/dist/storage/index.d.ts +30 -31
  34. package/dist/storage/index.d.ts.map +1 -1
  35. package/package.json +15 -6
  36. package/dist/chunk-NZCHEPNU.js.map +0 -1
  37. package/dist/chunk-QKN2PWR2.cjs.map +0 -1
  38. package/dist/storage/domains/memory.d.ts.map +0 -1
  39. package/dist/storage/domains/scores.d.ts.map +0 -1
  40. package/dist/storage/domains/workflows.d.ts.map +0 -1
  41. package/dist/storage/operations.d.ts +0 -40
  42. package/dist/storage/operations.d.ts.map +0 -1
@@ -0,0 +1,151 @@
1
+ export declare const mastraThreadsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
2
+ resourceId?: string;
3
+ metadata?: any;
4
+ id: string;
5
+ createdAt: string;
6
+ updatedAt: string;
7
+ }, {
8
+ id: import("convex/values").VString<string, "required">;
9
+ resourceId: import("convex/values").VString<string, "optional">;
10
+ metadata: import("convex/values").VAny<any, "optional", string>;
11
+ createdAt: import("convex/values").VString<string, "required">;
12
+ updatedAt: import("convex/values").VString<string, "required">;
13
+ }, "required", "id" | "createdAt" | "resourceId" | "metadata" | "updatedAt" | `metadata.${string}`>, {
14
+ by_record_id: ["id", "_creationTime"];
15
+ by_resource: ["resourceId", "_creationTime"];
16
+ by_created: ["createdAt", "_creationTime"];
17
+ by_updated: ["updatedAt", "_creationTime"];
18
+ }, {}, {}>;
19
+ export declare const mastraMessagesTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
20
+ resourceId?: string;
21
+ id: string;
22
+ createdAt: string;
23
+ role: string;
24
+ type: string;
25
+ content: string;
26
+ thread_id: string;
27
+ }, {
28
+ id: import("convex/values").VString<string, "required">;
29
+ thread_id: import("convex/values").VString<string, "required">;
30
+ content: import("convex/values").VString<string, "required">;
31
+ role: import("convex/values").VString<string, "required">;
32
+ type: import("convex/values").VString<string, "required">;
33
+ createdAt: import("convex/values").VString<string, "required">;
34
+ resourceId: import("convex/values").VString<string, "optional">;
35
+ }, "required", "id" | "createdAt" | "role" | "resourceId" | "type" | "content" | "thread_id">, {
36
+ by_record_id: ["id", "_creationTime"];
37
+ by_thread: ["thread_id", "_creationTime"];
38
+ by_thread_created: ["thread_id", "createdAt", "_creationTime"];
39
+ by_resource: ["resourceId", "_creationTime"];
40
+ }, {}, {}>;
41
+ export declare const mastraResourcesTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
42
+ id: string;
43
+ createdAt: string;
44
+ updatedAt: string;
45
+ data: any;
46
+ }, {
47
+ id: import("convex/values").VString<string, "required">;
48
+ data: import("convex/values").VAny<any, "required", string>;
49
+ createdAt: import("convex/values").VString<string, "required">;
50
+ updatedAt: import("convex/values").VString<string, "required">;
51
+ }, "required", "id" | "createdAt" | "updatedAt" | "data" | `data.${string}`>, {
52
+ by_record_id: ["id", "_creationTime"];
53
+ by_updated: ["updatedAt", "_creationTime"];
54
+ }, {}, {}>;
55
+ export declare const mastraWorkflowSnapshotsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
56
+ resourceId?: string;
57
+ id: string;
58
+ run_id: string;
59
+ workflow_name: string;
60
+ createdAt: string;
61
+ state: any;
62
+ }, {
63
+ id: import("convex/values").VString<string, "required">;
64
+ workflow_name: import("convex/values").VString<string, "required">;
65
+ run_id: import("convex/values").VString<string, "required">;
66
+ state: import("convex/values").VAny<any, "required", string>;
67
+ createdAt: import("convex/values").VString<string, "required">;
68
+ resourceId: import("convex/values").VString<string, "optional">;
69
+ }, "required", "id" | "run_id" | "workflow_name" | "createdAt" | "resourceId" | "state" | `state.${string}`>, {
70
+ by_record_id: ["id", "_creationTime"];
71
+ by_workflow_run: ["workflow_name", "run_id", "_creationTime"];
72
+ by_workflow: ["workflow_name", "_creationTime"];
73
+ by_resource: ["resourceId", "_creationTime"];
74
+ by_created: ["createdAt", "_creationTime"];
75
+ }, {}, {}>;
76
+ export declare const mastraScoresTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
77
+ runId?: string;
78
+ metadata?: any;
79
+ id: string;
80
+ createdAt: string;
81
+ score: number;
82
+ entityType: string;
83
+ entityId: string;
84
+ scorerId: string;
85
+ }, {
86
+ id: import("convex/values").VString<string, "required">;
87
+ scorerId: import("convex/values").VString<string, "required">;
88
+ entityId: import("convex/values").VString<string, "required">;
89
+ entityType: import("convex/values").VString<string, "required">;
90
+ score: import("convex/values").VFloat64<number, "required">;
91
+ runId: import("convex/values").VString<string, "optional">;
92
+ metadata: import("convex/values").VAny<any, "optional", string>;
93
+ createdAt: import("convex/values").VString<string, "required">;
94
+ }, "required", "id" | "runId" | "createdAt" | "metadata" | "score" | "entityType" | "entityId" | "scorerId" | `metadata.${string}`>, {
95
+ by_record_id: ["id", "_creationTime"];
96
+ by_scorer: ["scorerId", "_creationTime"];
97
+ by_entity: ["entityId", "entityType", "_creationTime"];
98
+ by_run: ["runId", "_creationTime"];
99
+ by_created: ["createdAt", "_creationTime"];
100
+ }, {}, {}>;
101
+ export declare const mastraVectorIndexesTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
102
+ id: string;
103
+ createdAt: string;
104
+ indexName: string;
105
+ dimension: number;
106
+ metric: string;
107
+ }, {
108
+ id: import("convex/values").VString<string, "required">;
109
+ indexName: import("convex/values").VString<string, "required">;
110
+ dimension: import("convex/values").VFloat64<number, "required">;
111
+ metric: import("convex/values").VString<string, "required">;
112
+ createdAt: import("convex/values").VString<string, "required">;
113
+ }, "required", "id" | "createdAt" | "indexName" | "dimension" | "metric">, {
114
+ by_record_id: ["id", "_creationTime"];
115
+ by_name: ["indexName", "_creationTime"];
116
+ }, {}, {}>;
117
+ export declare const mastraVectorsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
118
+ metadata?: any;
119
+ id: string;
120
+ indexName: string;
121
+ embedding: number[];
122
+ }, {
123
+ id: import("convex/values").VString<string, "required">;
124
+ indexName: import("convex/values").VString<string, "required">;
125
+ embedding: import("convex/values").VArray<number[], import("convex/values").VFloat64<number, "required">, "required">;
126
+ metadata: import("convex/values").VAny<any, "optional", string>;
127
+ }, "required", "id" | "metadata" | "indexName" | "embedding" | `metadata.${string}`>, {
128
+ by_index_id: ["indexName", "id", "_creationTime"];
129
+ by_index: ["indexName", "_creationTime"];
130
+ }, {}, {}>;
131
+ export declare const mastraDocumentsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
132
+ record: any;
133
+ table: string;
134
+ primaryKey: string;
135
+ }, {
136
+ table: import("convex/values").VString<string, "required">;
137
+ primaryKey: import("convex/values").VString<string, "required">;
138
+ record: import("convex/values").VAny<any, "required", string>;
139
+ }, "required", "record" | "table" | "primaryKey" | `record.${string}`>, {
140
+ by_table: ["table", "_creationTime"];
141
+ by_table_primary: ["table", "primaryKey", "_creationTime"];
142
+ }, {}, {}>;
143
+ export declare const TABLE_WORKFLOW_SNAPSHOT = "mastra_workflow_snapshots";
144
+ export declare const TABLE_MESSAGES = "mastra_messages";
145
+ export declare const TABLE_THREADS = "mastra_threads";
146
+ export declare const TABLE_RESOURCES = "mastra_resources";
147
+ export declare const TABLE_SCORERS = "mastra_scores";
148
+ export declare const TABLE_VECTOR_INDEXES = "mastra_vector_indexes";
149
+ export declare const TABLE_VECTORS = "mastra_vectors";
150
+ export declare const TABLE_DOCUMENTS = "mastra_documents";
151
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;UAUM,CAAC;AAEtC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;UAYO,CAAC;AAExC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;UAOI,CAAC;AAEtC,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;UAYJ,CAAC;AAEtC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;UAcO,CAAC;AAEtC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;UAQH,CAAC;AAEnC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;UAOI,CAAC;AAEpC,eAAO,MAAM,oBAAoB;;;;;;;;;;;UAMoB,CAAC;AAEtD,eAAO,MAAM,uBAAuB,8BAA8B,CAAC;AACnE,eAAO,MAAM,cAAc,oBAAoB,CAAC;AAChD,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,oBAAoB,0BAA0B,CAAC;AAC5D,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C,eAAO,MAAM,eAAe,qBAAqB,CAAC"}
package/dist/schema.js ADDED
@@ -0,0 +1,3 @@
1
+ export { TABLE_DOCUMENTS, TABLE_MESSAGES, TABLE_RESOURCES, TABLE_SCORERS, TABLE_THREADS, TABLE_VECTORS, TABLE_VECTOR_INDEXES, TABLE_WORKFLOW_SNAPSHOT, mastraDocumentsTable, mastraMessagesTable, mastraResourcesTable, mastraScoresTable, mastraThreadsTable, mastraVectorIndexesTable, mastraVectorsTable, mastraWorkflowSnapshotsTable } from './chunk-PKUUSREO.js';
2
+ //# sourceMappingURL=schema.js.map
3
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"schema.js"}
@@ -1,64 +1,65 @@
1
1
  'use strict';
2
2
 
3
- var chunkQKN2PWR2_cjs = require('../chunk-QKN2PWR2.cjs');
3
+ var chunkBKVR7SL7_cjs = require('../chunk-BKVR7SL7.cjs');
4
+ var chunkZBUP3DS6_cjs = require('../chunk-ZBUP3DS6.cjs');
4
5
 
5
6
 
6
7
 
8
+ Object.defineProperty(exports, "mastraStorage", {
9
+ enumerable: true,
10
+ get: function () { return chunkBKVR7SL7_cjs.mastraStorage; }
11
+ });
7
12
  Object.defineProperty(exports, "TABLE_MESSAGES", {
8
13
  enumerable: true,
9
- get: function () { return chunkQKN2PWR2_cjs.TABLE_MESSAGES; }
14
+ get: function () { return chunkZBUP3DS6_cjs.TABLE_MESSAGES; }
10
15
  });
11
16
  Object.defineProperty(exports, "TABLE_RESOURCES", {
12
17
  enumerable: true,
13
- get: function () { return chunkQKN2PWR2_cjs.TABLE_RESOURCES; }
18
+ get: function () { return chunkZBUP3DS6_cjs.TABLE_RESOURCES; }
14
19
  });
15
20
  Object.defineProperty(exports, "TABLE_SCORERS", {
16
21
  enumerable: true,
17
- get: function () { return chunkQKN2PWR2_cjs.TABLE_SCORERS; }
22
+ get: function () { return chunkZBUP3DS6_cjs.TABLE_SCORERS; }
18
23
  });
19
24
  Object.defineProperty(exports, "TABLE_THREADS", {
20
25
  enumerable: true,
21
- get: function () { return chunkQKN2PWR2_cjs.TABLE_THREADS; }
26
+ get: function () { return chunkZBUP3DS6_cjs.TABLE_THREADS; }
22
27
  });
23
28
  Object.defineProperty(exports, "TABLE_WORKFLOW_SNAPSHOT", {
24
29
  enumerable: true,
25
- get: function () { return chunkQKN2PWR2_cjs.TABLE_WORKFLOW_SNAPSHOT; }
30
+ get: function () { return chunkZBUP3DS6_cjs.TABLE_WORKFLOW_SNAPSHOT; }
26
31
  });
27
32
  Object.defineProperty(exports, "mastraDocumentsTable", {
28
33
  enumerable: true,
29
- get: function () { return chunkQKN2PWR2_cjs.mastraDocumentsTable; }
34
+ get: function () { return chunkZBUP3DS6_cjs.mastraDocumentsTable; }
30
35
  });
31
36
  Object.defineProperty(exports, "mastraMessagesTable", {
32
37
  enumerable: true,
33
- get: function () { return chunkQKN2PWR2_cjs.mastraMessagesTable; }
38
+ get: function () { return chunkZBUP3DS6_cjs.mastraMessagesTable; }
34
39
  });
35
40
  Object.defineProperty(exports, "mastraResourcesTable", {
36
41
  enumerable: true,
37
- get: function () { return chunkQKN2PWR2_cjs.mastraResourcesTable; }
42
+ get: function () { return chunkZBUP3DS6_cjs.mastraResourcesTable; }
38
43
  });
39
44
  Object.defineProperty(exports, "mastraScoresTable", {
40
45
  enumerable: true,
41
- get: function () { return chunkQKN2PWR2_cjs.mastraScoresTable; }
42
- });
43
- Object.defineProperty(exports, "mastraStorage", {
44
- enumerable: true,
45
- get: function () { return chunkQKN2PWR2_cjs.mastraStorage; }
46
+ get: function () { return chunkZBUP3DS6_cjs.mastraScoresTable; }
46
47
  });
47
48
  Object.defineProperty(exports, "mastraThreadsTable", {
48
49
  enumerable: true,
49
- get: function () { return chunkQKN2PWR2_cjs.mastraThreadsTable; }
50
+ get: function () { return chunkZBUP3DS6_cjs.mastraThreadsTable; }
50
51
  });
51
52
  Object.defineProperty(exports, "mastraVectorIndexesTable", {
52
53
  enumerable: true,
53
- get: function () { return chunkQKN2PWR2_cjs.mastraVectorIndexesTable; }
54
+ get: function () { return chunkZBUP3DS6_cjs.mastraVectorIndexesTable; }
54
55
  });
55
56
  Object.defineProperty(exports, "mastraVectorsTable", {
56
57
  enumerable: true,
57
- get: function () { return chunkQKN2PWR2_cjs.mastraVectorsTable; }
58
+ get: function () { return chunkZBUP3DS6_cjs.mastraVectorsTable; }
58
59
  });
59
60
  Object.defineProperty(exports, "mastraWorkflowSnapshotsTable", {
60
61
  enumerable: true,
61
- get: function () { return chunkQKN2PWR2_cjs.mastraWorkflowSnapshotsTable; }
62
+ get: function () { return chunkZBUP3DS6_cjs.mastraWorkflowSnapshotsTable; }
62
63
  });
63
64
  //# sourceMappingURL=index.cjs.map
64
65
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
1
  export { mastraStorage } from './storage.js';
2
- export { mastraThreadsTable, mastraMessagesTable, mastraResourcesTable, mastraWorkflowSnapshotsTable, mastraScoresTable, mastraVectorIndexesTable, mastraVectorsTable, mastraDocumentsTable, TABLE_WORKFLOW_SNAPSHOT, TABLE_MESSAGES, TABLE_THREADS, TABLE_RESOURCES, TABLE_SCORERS, } from './schema.js';
2
+ export { mastraThreadsTable, mastraMessagesTable, mastraResourcesTable, mastraWorkflowSnapshotsTable, mastraScoresTable, mastraVectorIndexesTable, mastraVectorsTable, mastraDocumentsTable, TABLE_WORKFLOW_SNAPSHOT, TABLE_MESSAGES, TABLE_THREADS, TABLE_RESOURCES, TABLE_SCORERS, } from '../schema.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAEL,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EAEpB,uBAAuB,EACvB,cAAc,EACd,aAAa,EACb,eAAe,EACf,aAAa,GACd,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAI1C,OAAO,EAEL,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EAEpB,uBAAuB,EACvB,cAAc,EACd,aAAa,EACb,eAAe,EACf,aAAa,GACd,MAAM,WAAW,CAAC"}
@@ -1,3 +1,4 @@
1
- export { TABLE_MESSAGES, TABLE_RESOURCES, TABLE_SCORERS, TABLE_THREADS, TABLE_WORKFLOW_SNAPSHOT, mastraDocumentsTable, mastraMessagesTable, mastraResourcesTable, mastraScoresTable, mastraStorage, mastraThreadsTable, mastraVectorIndexesTable, mastraVectorsTable, mastraWorkflowSnapshotsTable } from '../chunk-NZCHEPNU.js';
1
+ export { mastraStorage } from '../chunk-KSAPIIEJ.js';
2
+ export { TABLE_MESSAGES, TABLE_RESOURCES, TABLE_SCORERS, TABLE_THREADS, TABLE_WORKFLOW_SNAPSHOT, mastraDocumentsTable, mastraMessagesTable, mastraResourcesTable, mastraScoresTable, mastraThreadsTable, mastraVectorIndexesTable, mastraVectorsTable, mastraWorkflowSnapshotsTable } from '../chunk-PKUUSREO.js';
2
3
  //# sourceMappingURL=index.js.map
3
4
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,57 @@
1
+ import { MastraBase } from '@mastra/core/base';
2
+ import type { TABLE_NAMES } from '@mastra/core/storage';
3
+ import { ConvexAdminClient } from '../client.js';
4
+ import type { EqualityFilter } from '../types.js';
5
+ /**
6
+ * Configuration for standalone domain usage.
7
+ * Accepts either:
8
+ * 1. An existing ConvexAdminClient
9
+ * 2. Config to create a new client internally
10
+ */
11
+ export type ConvexDomainConfig = ConvexDomainClientConfig | ConvexDomainRestConfig;
12
+ /**
13
+ * Pass an existing ConvexAdminClient
14
+ */
15
+ export interface ConvexDomainClientConfig {
16
+ client: ConvexAdminClient;
17
+ }
18
+ /**
19
+ * Pass config to create a new ConvexAdminClient internally
20
+ */
21
+ export interface ConvexDomainRestConfig {
22
+ deploymentUrl: string;
23
+ adminAuthToken: string;
24
+ storageFunction?: string;
25
+ }
26
+ /**
27
+ * Resolves ConvexDomainConfig to a ConvexAdminClient.
28
+ * Handles creating a new client if config is provided.
29
+ */
30
+ export declare function resolveConvexConfig(config: ConvexDomainConfig): ConvexAdminClient;
31
+ export declare class ConvexDB extends MastraBase {
32
+ private readonly client;
33
+ constructor(client: ConvexAdminClient);
34
+ hasColumn(_table: string, _column: string): Promise<boolean>;
35
+ clearTable({ tableName }: {
36
+ tableName: TABLE_NAMES;
37
+ }): Promise<void>;
38
+ dropTable({ tableName }: {
39
+ tableName: TABLE_NAMES;
40
+ }): Promise<void>;
41
+ insert({ tableName, record }: {
42
+ tableName: TABLE_NAMES;
43
+ record: Record<string, any>;
44
+ }): Promise<void>;
45
+ batchInsert({ tableName, records }: {
46
+ tableName: TABLE_NAMES;
47
+ records: Record<string, any>[];
48
+ }): Promise<void>;
49
+ load<R>({ tableName, keys }: {
50
+ tableName: TABLE_NAMES;
51
+ keys: Record<string, any>;
52
+ }): Promise<R | null>;
53
+ queryTable<R>(tableName: TABLE_NAMES, filters?: EqualityFilter[]): Promise<R[]>;
54
+ deleteMany(tableName: TABLE_NAMES, ids: string[]): Promise<void>;
55
+ private normalizeRecord;
56
+ }
57
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/storage/db/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GAAG,sBAAsB,CAAC;AAEnF;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,kBAAkB,GAAG,iBAAiB,CAQjF;AAED,qBAAa,QAAS,SAAQ,UAAU;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,iBAAiB;IAIhD,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAI5D,UAAU,CAAC,EAAE,SAAS,EAAE,EAAE;QAAE,SAAS,EAAE,WAAW,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAapE,SAAS,CAAC,EAAE,SAAS,EAAE,EAAE;QAAE,SAAS,EAAE,WAAW,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAanE,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE;QAAE,SAAS,EAAE,WAAW,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAQrG,WAAW,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;QAAE,SAAS,EAAE,WAAW,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAU9G,IAAI,CAAC,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE;QAAE,SAAS,EAAE,WAAW,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAAE,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAU/F,UAAU,CAAC,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAQ/E,UAAU,CAAC,SAAS,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAS7E,OAAO,CAAC,eAAe;CAqBxB"}
@@ -2,10 +2,12 @@ import type { MastraMessageContentV2 } from '@mastra/core/agent';
2
2
  import type { MastraDBMessage, StorageThreadType } from '@mastra/core/memory';
3
3
  import { MemoryStorage } from '@mastra/core/storage';
4
4
  import type { StorageListMessagesInput, StorageListMessagesOutput, StorageListThreadsByResourceIdInput, StorageListThreadsByResourceIdOutput, StorageResourceType } from '@mastra/core/storage';
5
- import type { StoreOperationsConvex } from '../operations.js';
5
+ import type { ConvexDomainConfig } from '../../db/index.js';
6
6
  export declare class MemoryConvex extends MemoryStorage {
7
- private readonly operations;
8
- constructor(operations: StoreOperationsConvex);
7
+ #private;
8
+ constructor(config: ConvexDomainConfig);
9
+ init(): Promise<void>;
10
+ dangerouslyClearAll(): Promise<void>;
9
11
  getThreadById({ threadId }: {
10
12
  threadId: string;
11
13
  }): Promise<StorageThreadType | null>;
@@ -56,4 +58,4 @@ export declare class MemoryConvex extends MemoryStorage {
56
58
  private parseStoredMessage;
57
59
  private addContextMessages;
58
60
  }
59
- //# sourceMappingURL=memory.d.ts.map
61
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/memory/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EACL,aAAa,EAQd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,wBAAwB,EACxB,yBAAyB,EACzB,mCAAmC,EACnC,oCAAoC,EACpC,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAYnD,qBAAa,YAAa,SAAQ,aAAa;;gBAEjC,MAAM,EAAE,kBAAkB;IAMhC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC;IAMpC,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAkBpF,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE;QAAE,MAAM,EAAE,iBAAiB,CAAA;KAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAWjF,YAAY,CAAC,EACjB,EAAE,EACF,KAAK,EACL,QAAQ,GACT,EAAE;QACD,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;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CAAC;IAiB3F,eAAe,CAAC,EAAE,UAAU,EAAE,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,mBAAmB,GAAG,IAAI,CAAC;IAiB5F,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;IA4BhC,OAAO,CAAC,kBAAkB;YAaZ,kBAAkB;CA0CjC"}
@@ -1,10 +1,12 @@
1
1
  import type { SaveScorePayload, ScoreRowData, ScoringEntityType, ScoringSource } from '@mastra/core/evals';
2
2
  import { ScoresStorage } from '@mastra/core/storage';
3
3
  import type { PaginationInfo, StoragePagination } from '@mastra/core/storage';
4
- import type { StoreOperationsConvex } from '../operations.js';
4
+ import type { ConvexDomainConfig } from '../../db/index.js';
5
5
  export declare class ScoresConvex extends ScoresStorage {
6
- private readonly operations;
7
- constructor(operations: StoreOperationsConvex);
6
+ #private;
7
+ constructor(config: ConvexDomainConfig);
8
+ init(): Promise<void>;
9
+ dangerouslyClearAll(): Promise<void>;
8
10
  getScoreById({ id }: {
9
11
  id: string;
10
12
  }): Promise<ScoreRowData | null>;
@@ -39,4 +41,4 @@ export declare class ScoresConvex extends ScoresStorage {
39
41
  private listScores;
40
42
  private deserialize;
41
43
  }
42
- //# sourceMappingURL=scores.d.ts.map
44
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/scores/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EAAiB,aAAa,EAAwB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BAAiB,CAAC;QAC9B,UAAU,EAAE,iBAAiB,CAAC;KAC/B,GAAG,OAAO,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,MAAM,EAAE,YAAY,EAAE,CAAA;KAAE,CAAC;YAOrD,UAAU;IA4CxB,OAAO,CAAC,WAAW;CAOpB"}
@@ -1,10 +1,12 @@
1
1
  import { WorkflowsStorage } from '@mastra/core/storage';
2
2
  import type { StorageListWorkflowRunsInput, WorkflowRun, WorkflowRuns, UpdateWorkflowStateOptions } from '@mastra/core/storage';
3
3
  import type { StepResult, WorkflowRunState } from '@mastra/core/workflows';
4
- import type { StoreOperationsConvex } from '../operations.js';
4
+ import type { ConvexDomainConfig } from '../../db/index.js';
5
5
  export declare class WorkflowsConvex extends WorkflowsStorage {
6
- private readonly operations;
7
- constructor(operations: StoreOperationsConvex);
6
+ #private;
7
+ constructor(config: ConvexDomainConfig);
8
+ init(): Promise<void>;
9
+ dangerouslyClearAll(): Promise<void>;
8
10
  updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, }: {
9
11
  workflowName: string;
10
12
  runId: string;
@@ -39,4 +41,4 @@ export declare class WorkflowsConvex extends WorkflowsStorage {
39
41
  private getRun;
40
42
  private ensureSnapshot;
41
43
  }
42
- //# sourceMappingURL=workflows.d.ts.map
44
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/workflows/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACnG,OAAO,KAAK,EACV,4BAA4B,EAE5B,WAAW,EACX,YAAY,EACZ,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG3E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAQnD,qBAAa,eAAgB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4BAAiC,GAAG,OAAO,CAAC,YAAY,CAAC;IAqChF,kBAAkB,CAAC,EACvB,KAAK,EACL,YAAY,GACb,EAAE;QACD,KAAK,EAAE,MAAM,CAAC;QACd,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IAezB,qBAAqB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;YAI9F,MAAM;IAOpB,OAAO,CAAC,cAAc;CAuBvB"}
@@ -1,10 +1,18 @@
1
1
  import type { SaveScorePayload, ScoreRowData, ScoringEntityType, ScoringSource } from '@mastra/core/evals';
2
2
  import type { MastraDBMessage, StorageThreadType } from '@mastra/core/memory';
3
- import type { StorageColumn, StorageResourceType, PaginationInfo, StorageListMessagesInput, StorageListMessagesOutput, StorageListThreadsByResourceIdInput, StorageListThreadsByResourceIdOutput, StorageListWorkflowRunsInput, StoragePagination, WorkflowRun, WorkflowRuns, TABLE_NAMES, UpdateWorkflowStateOptions } from '@mastra/core/storage';
3
+ import type { StorageResourceType, PaginationInfo, StorageListMessagesInput, StorageListMessagesOutput, StorageListThreadsByResourceIdInput, StorageListThreadsByResourceIdOutput, StorageListWorkflowRunsInput, StoragePagination, WorkflowRun, WorkflowRuns, UpdateWorkflowStateOptions } from '@mastra/core/storage';
4
4
  import { MastraStorage } from '@mastra/core/storage';
5
5
  import type { StepResult, WorkflowRunState } from '@mastra/core/workflows';
6
6
  import type { ConvexAdminClientConfig } from './client.js';
7
- export type ConvexStoreConfig = ConvexAdminClientConfig & {
7
+ import { ConvexAdminClient } from './client.js';
8
+ /**
9
+ * Convex configuration type.
10
+ *
11
+ * Accepts either:
12
+ * - A pre-configured ConvexAdminClient: `{ id, client }`
13
+ * - Deployment config: `{ id, deploymentUrl, adminAuthToken, storageFunction? }`
14
+ */
15
+ export type ConvexStoreConfig = {
8
16
  id: string;
9
17
  name?: string;
10
18
  /**
@@ -27,9 +35,27 @@ export type ConvexStoreConfig = ConvexAdminClientConfig & {
27
35
  * // No auto-init, tables must already exist
28
36
  */
29
37
  disableInit?: boolean;
30
- };
38
+ } & ({
39
+ /**
40
+ * Pre-configured ConvexAdminClient.
41
+ * Use this when you need to configure the client before initialization.
42
+ *
43
+ * @example
44
+ * ```typescript
45
+ * import { ConvexAdminClient } from '@mastra/convex/storage/client';
46
+ *
47
+ * const client = new ConvexAdminClient({
48
+ * deploymentUrl: 'https://your-deployment.convex.cloud',
49
+ * adminAuthToken: 'your-token',
50
+ * storageFunction: 'custom/storage:handle',
51
+ * });
52
+ *
53
+ * const store = new ConvexStore({ id: 'my-store', client });
54
+ * ```
55
+ */
56
+ client: ConvexAdminClient;
57
+ } | ConvexAdminClientConfig);
31
58
  export declare class ConvexStore extends MastraStorage {
32
- private readonly operations;
33
59
  private readonly memory;
34
60
  private readonly workflows;
35
61
  private readonly scores;
@@ -43,33 +69,6 @@ export declare class ConvexStore extends MastraStorage {
43
69
  observabilityInstance: boolean;
44
70
  listScoresBySpan: boolean;
45
71
  };
46
- createTable(_args: {
47
- tableName: TABLE_NAMES;
48
- schema: Record<string, StorageColumn>;
49
- }): Promise<void>;
50
- clearTable({ tableName }: {
51
- tableName: TABLE_NAMES;
52
- }): Promise<void>;
53
- dropTable({ tableName }: {
54
- tableName: TABLE_NAMES;
55
- }): Promise<void>;
56
- alterTable(_args: {
57
- tableName: TABLE_NAMES;
58
- schema: Record<string, StorageColumn>;
59
- ifNotExists: string[];
60
- }): Promise<void>;
61
- insert({ tableName, record }: {
62
- tableName: TABLE_NAMES;
63
- record: Record<string, any>;
64
- }): Promise<void>;
65
- batchInsert({ tableName, records }: {
66
- tableName: TABLE_NAMES;
67
- records: Record<string, any>[];
68
- }): Promise<void>;
69
- load<R>({ tableName, keys }: {
70
- tableName: TABLE_NAMES;
71
- keys: Record<string, any>;
72
- }): Promise<R | null>;
73
72
  getThreadById({ threadId }: {
74
73
  threadId: string;
75
74
  }): Promise<StorageThreadType | null>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storage/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,yBAAyB,EACzB,mCAAmC,EACnC,oCAAoC,EACpC,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE3E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAOxD,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG;IACxD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;;;;;;;;;;;;;;OAkBG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,qBAAa,WAAY,SAAQ,aAAa;IAC5C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAwB;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IACtC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAkB;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;gBAE1B,MAAM,EAAE,iBAAiB;IAiBrC,IAAW,QAAQ;;;;;;;;MAUlB;IAEK,WAAW,CAAC,KAAK,EAAE;QAAE,S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;KAAE,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;IAIlE,SAAS,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,YAAY,CAAA;KAAE,CAAC;IAIpE,oBAAoB,CAAC,EACzB,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,UAAU,EACV,MAAM,GACP,EAAE;QACD,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,iBAAiB,CAAC;QAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC9B,UAAU,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;QAC3C,MAAM,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;KACpC,GAAG,OAAO,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,MAAM,EAAE,YAAY,EAAE,CAAA;KAAE,CAAC;IAI7D,iBAAiB,CAAC,EACtB,KAAK,EACL,UAAU,GACX,EAAE;QACD,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,iBAAiB,CAAC;KAC/B,GAAG,OAAO,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,MAAM,EAAE,YAAY,EAAE,CAAA;KAAE,CAAC;IAI7D,oBAAoB,CAAC,EACzB,QAAQ,EACR,UAAU,EACV,UAAU,GACX,EAAE;QACD,UAAU,EAAE,iBAAiB,CAAC;QAC9B,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,iBAAiB,CAAC;KAC/B,GAAG,OAAO,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,MAAM,EAAE,YAAY,EAAE,CAAA;KAAE,CAAC;CAGpE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/convex",
3
- "version": "0.0.0-fix-zod4-schema-validation-20251212180638",
3
+ "version": "0.0.0-fix-11329-windows-path-20251222155941",
4
4
  "description": "Convex provider for Mastra - includes both storage and vector adapters plus Convex server helpers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,6 +26,16 @@
26
26
  "default": "./dist/server/index.cjs"
27
27
  }
28
28
  },
29
+ "./schema": {
30
+ "import": {
31
+ "types": "./dist/schema.d.ts",
32
+ "default": "./dist/schema.js"
33
+ },
34
+ "require": {
35
+ "types": "./dist/schema.d.ts",
36
+ "default": "./dist/schema.cjs"
37
+ }
38
+ },
29
39
  "./package.json": "./package.json"
30
40
  },
31
41
  "license": "Apache-2.0",
@@ -33,7 +43,6 @@
33
43
  "convex": "^1.29.3"
34
44
  },
35
45
  "devDependencies": {
36
- "@microsoft/api-extractor": "^7.52.8",
37
46
  "@types/node": "22.13.17",
38
47
  "@vitest/coverage-v8": "4.0.12",
39
48
  "@vitest/ui": "4.0.12",
@@ -42,13 +51,13 @@
42
51
  "tsup": "^8.5.0",
43
52
  "typescript": "^5.8.3",
44
53
  "vitest": "4.0.12",
45
- "@internal/lint": "0.0.0-fix-zod4-schema-validation-20251212180638",
54
+ "@internal/lint": "0.0.0-fix-11329-windows-path-20251222155941",
46
55
  "@internal/storage-test-utils": "0.0.49",
47
- "@internal/types-builder": "0.0.0-fix-zod4-schema-validation-20251212180638",
48
- "@mastra/core": "0.0.0-fix-zod4-schema-validation-20251212180638"
56
+ "@internal/types-builder": "0.0.0-fix-11329-windows-path-20251222155941",
57
+ "@mastra/core": "0.0.0-fix-11329-windows-path-20251222155941"
49
58
  },
50
59
  "peerDependencies": {
51
- "@mastra/core": "0.0.0-fix-zod4-schema-validation-20251212180638"
60
+ "@mastra/core": "0.0.0-fix-11329-windows-path-20251222155941"
52
61
  },
53
62
  "files": [
54
63
  "dist",