@mastra/convex 1.5.5 → 1.5.6-alpha.0
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/LICENSE.md +6 -4
- package/dist/cache/client.d.ts.map +1 -1
- package/dist/cache/index.d.ts.map +1 -1
- package/dist/docs/SKILL.md +3 -3
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/integrations-databases-convex.md +2 -0
- package/dist/docs/references/reference-vectors-convex.md +2 -0
- package/dist/schema.d.ts +121 -115
- package/dist/schema.d.ts.map +1 -1
- package/dist/storage/client.d.ts.map +1 -1
- package/dist/storage/db/index.d.ts.map +1 -1
- package/dist/storage/domains/background-tasks/index.d.ts.map +1 -1
- package/dist/storage/domains/channels/index.d.ts.map +1 -1
- package/dist/storage/domains/memory/index.d.ts.map +1 -1
- package/dist/storage/domains/schedules/index.d.ts.map +1 -1
- package/dist/storage/domains/scores/index.d.ts.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/vector/index.d.ts.map +1 -1
- package/dist/vector/native.d.ts.map +1 -1
- package/package.json +7 -8
- package/CHANGELOG.md +0 -2013
package/LICENSE.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
Portions of this software are licensed as follows:
|
|
2
2
|
|
|
3
|
-
- All content that resides under any directory named
|
|
3
|
+
- All content that resides under any directory named `ee/` within this
|
|
4
4
|
repository, including but not limited to:
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
|
|
5
|
+
- `@mastra/core/auth/ee`
|
|
6
|
+
- `@mastra/core/agent-builder/ee`
|
|
7
|
+
- `@mastra/editor/ee`
|
|
8
|
+
|
|
9
|
+
is licensed under the license defined in [`ee/LICENSE`](https://github.com/mastra-ai/mastra/blob/main/ee/LICENSE).
|
|
8
10
|
|
|
9
11
|
- All third-party components incorporated into the Mastra Software are
|
|
10
12
|
licensed under the original license provided by the owner of the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/cache/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,SAAS,CAAC;AAE3D,MAAM,MAAM,uBAAuB,GAAG;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,OAAO,IAAI;IACxC,MAAM,EAAE,CAAC,CAAC;IACV,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAaF,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAS;IACxC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAS;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/cache/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,SAAS,CAAC;AAE3D,MAAM,MAAM,uBAAuB,GAAG;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,OAAO,IAAI;IACxC,MAAM,EAAE,CAAC,CAAC;IACV,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAaF,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAS;IACxC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAS;IAE1C,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAE,EAAE,uBAAuB,EAqBtG;IAEK,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CA8DjF;IAEK,SAAS,CAAC,CAAC,GAAG,OAAO,EAAE,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,CAAC,CAAC,CAG9D;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cache/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,CAAC;IAAE,MAAM,EAAE,iBAAiB,CAAA;CAAE,GAAG,uBAAuB,CAAC,CAAC;AAU9D,qBAAa,iBAAkB,SAAQ,iBAAiB;IACtD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cache/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,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;CACF;AAED,OAAO,EAAE,iBAAiB,EAAE,KAAK,uBAAuB,EAAE,CAAC"}
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-convex
|
|
|
3
3
|
description: Documentation for @mastra/convex. Use when working with @mastra/convex APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/convex"
|
|
6
|
-
version: "1.5.
|
|
6
|
+
version: "1.5.6-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -16,11 +16,11 @@ Read the individual reference documents for detailed explanations and code examp
|
|
|
16
16
|
|
|
17
17
|
### Integrations
|
|
18
18
|
|
|
19
|
-
- [Convex](references/integrations-databases-convex.md) -
|
|
19
|
+
- [Convex](references/integrations-databases-convex.md) - Store Mastra application data in Convex by defining schemas, deploying storage handlers, configuring the client, and enabling real-time serverless persistence.
|
|
20
20
|
|
|
21
21
|
### Reference
|
|
22
22
|
|
|
23
|
-
- [Reference: Convex vector store](references/reference-vectors-convex.md) -
|
|
23
|
+
- [Reference: Convex vector store](references/reference-vectors-convex.md) - The ConvexVector class provides vector storage and similarity search using Convex. It stores embeddings inside Convex and performs cosine similarity search in the Mastra adapter.
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
Read [assets/SOURCE_MAP.json](assets/SOURCE_MAP.json) for source code references.
|
package/dist/schema.d.ts
CHANGED
|
@@ -16,9 +16,9 @@ import { TABLE_WORKFLOW_SNAPSHOT, TABLE_MESSAGES, TABLE_THREADS, TABLE_RESOURCES
|
|
|
16
16
|
export declare const mastraThreadsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
17
17
|
[x: string]: any;
|
|
18
18
|
}, Record<string, any>, "required", string>, {
|
|
19
|
+
by_created: ["createdAt", "_creationTime"];
|
|
19
20
|
by_record_id: ["id", "_creationTime"];
|
|
20
21
|
by_resource: ["resourceId", "_creationTime"];
|
|
21
|
-
by_created: ["createdAt", "_creationTime"];
|
|
22
22
|
by_updated: ["updatedAt", "_creationTime"];
|
|
23
23
|
}, {}, {}>;
|
|
24
24
|
/**
|
|
@@ -29,9 +29,9 @@ export declare const mastraMessagesTable: import("convex/server").TableDefinitio
|
|
|
29
29
|
[x: string]: any;
|
|
30
30
|
}, Record<string, any>, "required", string>, {
|
|
31
31
|
by_record_id: ["id", "_creationTime"];
|
|
32
|
+
by_resource: ["resourceId", "_creationTime"];
|
|
32
33
|
by_thread: ["thread_id", "_creationTime"];
|
|
33
34
|
by_thread_created: ["thread_id", "createdAt", "_creationTime"];
|
|
34
|
-
by_resource: ["resourceId", "_creationTime"];
|
|
35
35
|
}, {}, {}>;
|
|
36
36
|
/**
|
|
37
37
|
* Resources table - stores resource/user working memory
|
|
@@ -56,13 +56,13 @@ export declare const mastraResourcesTable: import("convex/server").TableDefiniti
|
|
|
56
56
|
* type inference doesn't work well with spread operators in Convex's defineTable.
|
|
57
57
|
*/
|
|
58
58
|
export declare const mastraWorkflowSnapshotsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
59
|
+
createdAt: string;
|
|
59
60
|
id?: string | undefined;
|
|
60
61
|
resourceId?: string | undefined;
|
|
61
|
-
updatedAt: string;
|
|
62
|
-
createdAt: string;
|
|
63
62
|
run_id: string;
|
|
64
|
-
workflow_name: string;
|
|
65
63
|
snapshot: any;
|
|
64
|
+
updatedAt: string;
|
|
65
|
+
workflow_name: string;
|
|
66
66
|
}, {
|
|
67
67
|
id: import("convex/values").VString<string | undefined, "optional">;
|
|
68
68
|
workflow_name: import("convex/values").VString<string, "required">;
|
|
@@ -71,12 +71,12 @@ export declare const mastraWorkflowSnapshotsTable: import("convex/server").Table
|
|
|
71
71
|
snapshot: import("convex/values").VAny<any, "required", string>;
|
|
72
72
|
createdAt: import("convex/values").VString<string, "required">;
|
|
73
73
|
updatedAt: import("convex/values").VString<string, "required">;
|
|
74
|
-
}, "required", "
|
|
74
|
+
}, "required", "createdAt" | "id" | "resourceId" | "run_id" | "snapshot" | "updatedAt" | "workflow_name" | `snapshot.${string}`>, {
|
|
75
|
+
by_created: ["createdAt", "_creationTime"];
|
|
75
76
|
by_record_id: ["id", "_creationTime"];
|
|
76
|
-
by_workflow_run: ["workflow_name", "run_id", "_creationTime"];
|
|
77
|
-
by_workflow: ["workflow_name", "_creationTime"];
|
|
78
77
|
by_resource: ["resourceId", "_creationTime"];
|
|
79
|
-
|
|
78
|
+
by_workflow: ["workflow_name", "_creationTime"];
|
|
79
|
+
by_workflow_run: ["workflow_name", "run_id", "_creationTime"];
|
|
80
80
|
}, {}, {}>;
|
|
81
81
|
/**
|
|
82
82
|
* Scores table - stores evaluation scores
|
|
@@ -85,11 +85,11 @@ export declare const mastraWorkflowSnapshotsTable: import("convex/server").Table
|
|
|
85
85
|
export declare const mastraScoresTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
86
86
|
[x: string]: any;
|
|
87
87
|
}, Record<string, any>, "required", string>, {
|
|
88
|
-
|
|
89
|
-
by_scorer: ["scorerId", "_creationTime"];
|
|
88
|
+
by_created: ["createdAt", "_creationTime"];
|
|
90
89
|
by_entity: ["entityId", "entityType", "_creationTime"];
|
|
90
|
+
by_record_id: ["id", "_creationTime"];
|
|
91
91
|
by_run: ["runId", "_creationTime"];
|
|
92
|
-
|
|
92
|
+
by_scorer: ["scorerId", "_creationTime"];
|
|
93
93
|
}, {}, {}>;
|
|
94
94
|
/**
|
|
95
95
|
* Schedules table - stores workflow scheduler state.
|
|
@@ -99,20 +99,20 @@ export declare const mastraScoresTable: import("convex/server").TableDefinition<
|
|
|
99
99
|
* can contain Convex-reserved field names such as `$schema`.
|
|
100
100
|
*/
|
|
101
101
|
export declare const mastraSchedulesTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
owner_id?: string | null | undefined;
|
|
106
|
-
workflow_id?: string | null | undefined;
|
|
102
|
+
created_at: number;
|
|
103
|
+
cron: string;
|
|
104
|
+
id: string;
|
|
107
105
|
last_fire_at?: number | null | undefined;
|
|
108
106
|
last_run_id?: string | null | undefined;
|
|
109
|
-
|
|
107
|
+
metadata?: string | null | undefined;
|
|
108
|
+
next_fire_at: number;
|
|
109
|
+
owner_id?: string | null | undefined;
|
|
110
|
+
owner_type?: string | null | undefined;
|
|
110
111
|
status: string;
|
|
111
|
-
cron: string;
|
|
112
112
|
target: string;
|
|
113
|
-
|
|
113
|
+
timezone?: string | null | undefined;
|
|
114
114
|
updated_at: number;
|
|
115
|
-
|
|
115
|
+
workflow_id?: string | null | undefined;
|
|
116
116
|
}, {
|
|
117
117
|
id: import("convex/values").VString<string, "required">;
|
|
118
118
|
target: import("convex/values").VString<string, "required">;
|
|
@@ -128,27 +128,27 @@ export declare const mastraSchedulesTable: import("convex/server").TableDefiniti
|
|
|
128
128
|
owner_type: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "optional", never>;
|
|
129
129
|
owner_id: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "optional", never>;
|
|
130
130
|
workflow_id: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "optional", never>;
|
|
131
|
-
}, "required", "
|
|
131
|
+
}, "required", "created_at" | "cron" | "id" | "last_fire_at" | "last_run_id" | "metadata" | "next_fire_at" | "owner_id" | "owner_type" | "status" | "target" | "timezone" | "updated_at" | "workflow_id">, {
|
|
132
|
+
by_created: ["created_at", "_creationTime"];
|
|
133
|
+
by_owner: ["owner_type", "owner_id", "_creationTime"];
|
|
134
|
+
by_owner_id: ["owner_id", "_creationTime"];
|
|
132
135
|
by_record_id: ["id", "_creationTime"];
|
|
133
136
|
by_status_next_fire_at: ["status", "next_fire_at", "_creationTime"];
|
|
134
|
-
by_workflow_status: ["workflow_id", "status", "_creationTime"];
|
|
135
137
|
by_workflow_id: ["workflow_id", "_creationTime"];
|
|
136
|
-
|
|
137
|
-
by_owner_id: ["owner_id", "_creationTime"];
|
|
138
|
-
by_created: ["created_at", "_creationTime"];
|
|
138
|
+
by_workflow_status: ["workflow_id", "status", "_creationTime"];
|
|
139
139
|
}, {}, {}>;
|
|
140
140
|
/**
|
|
141
141
|
* Schedule trigger table - stores scheduler trigger history.
|
|
142
142
|
*/
|
|
143
143
|
export declare const mastraScheduleTriggersTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
144
|
+
actual_fire_at: number;
|
|
144
145
|
error?: string | null | undefined;
|
|
145
|
-
metadata?: string | null | undefined;
|
|
146
|
-
run_id?: string | null | undefined;
|
|
147
|
-
parent_trigger_id?: string | null | undefined;
|
|
148
146
|
id: string;
|
|
147
|
+
metadata?: string | null | undefined;
|
|
149
148
|
outcome: string;
|
|
149
|
+
parent_trigger_id?: string | null | undefined;
|
|
150
|
+
run_id?: string | null | undefined;
|
|
150
151
|
schedule_id: string;
|
|
151
|
-
actual_fire_at: number;
|
|
152
152
|
scheduled_fire_at: number;
|
|
153
153
|
trigger_kind: string;
|
|
154
154
|
}, {
|
|
@@ -162,10 +162,10 @@ export declare const mastraScheduleTriggersTable: import("convex/server").TableD
|
|
|
162
162
|
trigger_kind: import("convex/values").VString<string, "required">;
|
|
163
163
|
parent_trigger_id: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "optional", never>;
|
|
164
164
|
metadata: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "optional", never>;
|
|
165
|
-
}, "required", "
|
|
165
|
+
}, "required", "actual_fire_at" | "error" | "id" | "metadata" | "outcome" | "parent_trigger_id" | "run_id" | "schedule_id" | "scheduled_fire_at" | "trigger_kind">, {
|
|
166
|
+
by_parent_trigger: ["parent_trigger_id", "_creationTime"];
|
|
166
167
|
by_record_id: ["id", "_creationTime"];
|
|
167
168
|
by_schedule_actual: ["schedule_id", "actual_fire_at", "_creationTime"];
|
|
168
|
-
by_parent_trigger: ["parent_trigger_id", "_creationTime"];
|
|
169
169
|
}, {}, {}>;
|
|
170
170
|
/**
|
|
171
171
|
* Channel installations table - stores platform app installations for agents.
|
|
@@ -174,16 +174,16 @@ export declare const mastraScheduleTriggersTable: import("convex/server").TableD
|
|
|
174
174
|
* can contain Convex-reserved field names such as `$schema`.
|
|
175
175
|
*/
|
|
176
176
|
export declare const mastraChannelInstallationsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
177
|
-
|
|
178
|
-
webhookId?: string | null | undefined;
|
|
177
|
+
agentId: string;
|
|
179
178
|
configHash?: string | null | undefined;
|
|
180
|
-
id: string;
|
|
181
|
-
updatedAt: string;
|
|
182
179
|
createdAt: string;
|
|
183
|
-
status: string;
|
|
184
|
-
agentId: string;
|
|
185
180
|
data: string;
|
|
181
|
+
error?: string | null | undefined;
|
|
182
|
+
id: string;
|
|
186
183
|
platform: string;
|
|
184
|
+
status: string;
|
|
185
|
+
updatedAt: string;
|
|
186
|
+
webhookId?: string | null | undefined;
|
|
187
187
|
}, {
|
|
188
188
|
id: import("convex/values").VString<string, "required">;
|
|
189
189
|
platform: import("convex/values").VString<string, "required">;
|
|
@@ -195,11 +195,11 @@ export declare const mastraChannelInstallationsTable: import("convex/server").Ta
|
|
|
195
195
|
error: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "optional", never>;
|
|
196
196
|
createdAt: import("convex/values").VString<string, "required">;
|
|
197
197
|
updatedAt: import("convex/values").VString<string, "required">;
|
|
198
|
-
}, "required", "
|
|
198
|
+
}, "required", "agentId" | "configHash" | "createdAt" | "data" | "error" | "id" | "platform" | "status" | "updatedAt" | "webhookId">, {
|
|
199
|
+
by_platform: ["platform", "_creationTime"];
|
|
200
|
+
by_platform_agent: ["platform", "agentId", "_creationTime"];
|
|
199
201
|
by_record_id: ["id", "_creationTime"];
|
|
200
202
|
by_webhook: ["webhookId", "_creationTime"];
|
|
201
|
-
by_platform_agent: ["platform", "agentId", "_creationTime"];
|
|
202
|
-
by_platform: ["platform", "_creationTime"];
|
|
203
203
|
}, {}, {}>;
|
|
204
204
|
/**
|
|
205
205
|
* Channel config table - stores platform-level channel configuration.
|
|
@@ -208,18 +208,18 @@ export declare const mastraChannelInstallationsTable: import("convex/server").Ta
|
|
|
208
208
|
* can use their existing by-record-id lookup path.
|
|
209
209
|
*/
|
|
210
210
|
export declare const mastraChannelConfigTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
211
|
-
id: string;
|
|
212
|
-
updatedAt: string;
|
|
213
211
|
data: string;
|
|
212
|
+
id: string;
|
|
214
213
|
platform: string;
|
|
214
|
+
updatedAt: string;
|
|
215
215
|
}, {
|
|
216
216
|
id: import("convex/values").VString<string, "required">;
|
|
217
217
|
platform: import("convex/values").VString<string, "required">;
|
|
218
218
|
data: import("convex/values").VString<string, "required">;
|
|
219
219
|
updatedAt: import("convex/values").VString<string, "required">;
|
|
220
|
-
}, "required", "
|
|
221
|
-
by_record_id: ["id", "_creationTime"];
|
|
220
|
+
}, "required", "data" | "id" | "platform" | "updatedAt">, {
|
|
222
221
|
by_platform: ["platform", "_creationTime"];
|
|
222
|
+
by_record_id: ["id", "_creationTime"];
|
|
223
223
|
}, {}, {}>;
|
|
224
224
|
/**
|
|
225
225
|
* Background tasks table - stores durable background task state.
|
|
@@ -231,25 +231,25 @@ export declare const mastraChannelConfigTable: import("convex/server").TableDefi
|
|
|
231
231
|
* preserve the existing task row while explicitly removing suspended state.
|
|
232
232
|
*/
|
|
233
233
|
export declare const mastraBackgroundTasksTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
234
|
+
agent_id: string;
|
|
235
|
+
args: string;
|
|
236
|
+
completedAt: string | null;
|
|
237
|
+
createdAt: string;
|
|
234
238
|
error: string | null;
|
|
235
|
-
result: string | null;
|
|
236
239
|
id: string;
|
|
237
|
-
|
|
238
|
-
run_id: string;
|
|
239
|
-
status: "pending" | "running" | "suspended" | "completed" | "failed" | "cancelled" | "timed_out";
|
|
240
|
-
tool_call_id: string;
|
|
241
|
-
tool_name: string;
|
|
242
|
-
agent_id: string;
|
|
243
|
-
thread_id: string | null;
|
|
240
|
+
max_retries: number;
|
|
244
241
|
resource_id: string | null;
|
|
245
|
-
|
|
246
|
-
suspend_payload: string | null;
|
|
242
|
+
result: string | null;
|
|
247
243
|
retry_count: number;
|
|
248
|
-
|
|
249
|
-
timeout_ms: number;
|
|
244
|
+
run_id: string;
|
|
250
245
|
startedAt: string | null;
|
|
246
|
+
status: "cancelled" | "completed" | "failed" | "pending" | "running" | "suspended" | "timed_out";
|
|
247
|
+
suspend_payload: string | null;
|
|
251
248
|
suspendedAt: string | null;
|
|
252
|
-
|
|
249
|
+
thread_id: string | null;
|
|
250
|
+
timeout_ms: number;
|
|
251
|
+
tool_call_id: string;
|
|
252
|
+
tool_name: string;
|
|
253
253
|
}, {
|
|
254
254
|
id: import("convex/values").VString<string, "required">;
|
|
255
255
|
tool_call_id: import("convex/values").VString<string, "required">;
|
|
@@ -258,7 +258,7 @@ export declare const mastraBackgroundTasksTable: import("convex/server").TableDe
|
|
|
258
258
|
run_id: import("convex/values").VString<string, "required">;
|
|
259
259
|
thread_id: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
260
260
|
resource_id: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
261
|
-
status: import("convex/values").VUnion<"
|
|
261
|
+
status: import("convex/values").VUnion<"cancelled" | "completed" | "failed" | "pending" | "running" | "suspended" | "timed_out", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"suspended", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"cancelled", "required">, import("convex/values").VLiteral<"timed_out", "required">], "required", never>;
|
|
262
262
|
args: import("convex/values").VString<string, "required">;
|
|
263
263
|
result: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
264
264
|
error: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
@@ -270,16 +270,16 @@ export declare const mastraBackgroundTasksTable: import("convex/server").TableDe
|
|
|
270
270
|
startedAt: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
271
271
|
suspendedAt: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
272
272
|
completedAt: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
273
|
-
}, "required", "
|
|
274
|
-
by_record_id: ["id", "_creationTime"];
|
|
275
|
-
by_status_created: ["status", "createdAt", "_creationTime"];
|
|
273
|
+
}, "required", "agent_id" | "args" | "completedAt" | "createdAt" | "error" | "id" | "max_retries" | "resource_id" | "result" | "retry_count" | "run_id" | "startedAt" | "status" | "suspend_payload" | "suspendedAt" | "thread_id" | "timeout_ms" | "tool_call_id" | "tool_name">, {
|
|
276
274
|
by_agent_status: ["agent_id", "status", "_creationTime"];
|
|
275
|
+
by_created: ["createdAt", "_creationTime"];
|
|
276
|
+
by_record_id: ["id", "_creationTime"];
|
|
277
|
+
by_resource: ["resource_id", "_creationTime"];
|
|
277
278
|
by_run: ["run_id", "_creationTime"];
|
|
278
|
-
|
|
279
|
+
by_status_created: ["status", "createdAt", "_creationTime"];
|
|
279
280
|
by_thread: ["thread_id", "_creationTime"];
|
|
280
|
-
by_resource: ["resource_id", "_creationTime"];
|
|
281
281
|
by_tool: ["tool_name", "_creationTime"];
|
|
282
|
-
|
|
282
|
+
by_tool_call: ["tool_call_id", "_creationTime"];
|
|
283
283
|
}, {}, {}>;
|
|
284
284
|
/**
|
|
285
285
|
* Observational memory table - stores observational memory generations.
|
|
@@ -301,40 +301,40 @@ export declare const mastraBackgroundTasksTable: import("convex/server").TableDe
|
|
|
301
301
|
* the by_lookup_key index in descending order.
|
|
302
302
|
*/
|
|
303
303
|
export declare const mastraObservationalMemoryTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
304
|
-
|
|
305
|
-
resourceId?: string | null | undefined;
|
|
306
|
-
threadId?: string | null | undefined;
|
|
304
|
+
activeObservations: string;
|
|
307
305
|
activeObservationsPendingUpdate?: string | null | undefined;
|
|
308
|
-
|
|
309
|
-
lastReflectionAt?: string | null | undefined;
|
|
310
|
-
lastBufferedAtTime?: string | null | undefined;
|
|
311
|
-
observedTimezone?: string | null | undefined;
|
|
312
|
-
observedMessageIds?: string[] | null | undefined;
|
|
306
|
+
bufferedMessageIds?: string[] | null | undefined;
|
|
313
307
|
bufferedObservationChunks?: string | null | undefined;
|
|
308
|
+
bufferedObservationTokens?: number | null | undefined;
|
|
309
|
+
bufferedObservations?: string | null | undefined;
|
|
314
310
|
bufferedReflection?: string | null | undefined;
|
|
315
|
-
bufferedReflectionTokens?: number | null | undefined;
|
|
316
311
|
bufferedReflectionInputTokens?: number | null | undefined;
|
|
317
|
-
|
|
318
|
-
bufferedObservations?: string | null | undefined;
|
|
319
|
-
bufferedObservationTokens?: number | null | undefined;
|
|
320
|
-
bufferedMessageIds?: string[] | null | undefined;
|
|
321
|
-
id: string;
|
|
322
|
-
updatedAt: string;
|
|
323
|
-
createdAt: string;
|
|
324
|
-
scope: string;
|
|
325
|
-
originType: string;
|
|
326
|
-
lookupKey: string;
|
|
327
|
-
activeObservations: string;
|
|
312
|
+
bufferedReflectionTokens?: number | null | undefined;
|
|
328
313
|
config: string;
|
|
314
|
+
createdAt: string;
|
|
329
315
|
generationCount: number;
|
|
330
|
-
|
|
331
|
-
totalTokensObserved: number;
|
|
332
|
-
observationTokenCount: number;
|
|
333
|
-
isObserving: boolean;
|
|
334
|
-
isReflecting: boolean;
|
|
316
|
+
id: string;
|
|
335
317
|
isBufferingObservation: boolean;
|
|
336
318
|
isBufferingReflection: boolean;
|
|
319
|
+
isObserving: boolean;
|
|
320
|
+
isReflecting: boolean;
|
|
321
|
+
lastBufferedAtTime?: string | null | undefined;
|
|
337
322
|
lastBufferedAtTokens: number;
|
|
323
|
+
lastObservedAt?: string | null | undefined;
|
|
324
|
+
lastReflectionAt?: string | null | undefined;
|
|
325
|
+
lookupKey: string;
|
|
326
|
+
metadata?: string | null | undefined;
|
|
327
|
+
observationTokenCount: number;
|
|
328
|
+
observedMessageIds?: string[] | null | undefined;
|
|
329
|
+
observedTimezone?: string | null | undefined;
|
|
330
|
+
originType: string;
|
|
331
|
+
pendingMessageTokens: number;
|
|
332
|
+
reflectedObservationLineCount?: number | null | undefined;
|
|
333
|
+
resourceId?: string | null | undefined;
|
|
334
|
+
scope: string;
|
|
335
|
+
threadId?: string | null | undefined;
|
|
336
|
+
totalTokensObserved: number;
|
|
337
|
+
updatedAt: string;
|
|
338
338
|
}, {
|
|
339
339
|
id: import("convex/values").VString<string, "required">;
|
|
340
340
|
lookupKey: import("convex/values").VString<string, "required">;
|
|
@@ -370,18 +370,18 @@ export declare const mastraObservationalMemoryTable: import("convex/server").Tab
|
|
|
370
370
|
metadata: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "optional", never>;
|
|
371
371
|
createdAt: import("convex/values").VString<string, "required">;
|
|
372
372
|
updatedAt: import("convex/values").VString<string, "required">;
|
|
373
|
-
}, "required", "
|
|
374
|
-
by_record_id: ["id", "_creationTime"];
|
|
373
|
+
}, "required", "activeObservations" | "activeObservationsPendingUpdate" | "bufferedMessageIds" | "bufferedObservationChunks" | "bufferedObservationTokens" | "bufferedObservations" | "bufferedReflection" | "bufferedReflectionInputTokens" | "bufferedReflectionTokens" | "config" | "createdAt" | "generationCount" | "id" | "isBufferingObservation" | "isBufferingReflection" | "isObserving" | "isReflecting" | "lastBufferedAtTime" | "lastBufferedAtTokens" | "lastObservedAt" | "lastReflectionAt" | "lookupKey" | "metadata" | "observationTokenCount" | "observedMessageIds" | "observedTimezone" | "originType" | "pendingMessageTokens" | "reflectedObservationLineCount" | "resourceId" | "scope" | "threadId" | "totalTokensObserved" | "updatedAt">, {
|
|
375
374
|
by_lookup_key: ["lookupKey", "generationCount", "_creationTime"];
|
|
375
|
+
by_record_id: ["id", "_creationTime"];
|
|
376
376
|
}, {}, {}>;
|
|
377
377
|
/**
|
|
378
378
|
* Vector indexes table - stores metadata about vector indexes
|
|
379
379
|
*/
|
|
380
380
|
export declare const mastraVectorIndexesTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
381
|
-
id: string;
|
|
382
381
|
createdAt: string;
|
|
383
|
-
indexName: string;
|
|
384
382
|
dimension: number;
|
|
383
|
+
id: string;
|
|
384
|
+
indexName: string;
|
|
385
385
|
metric: string;
|
|
386
386
|
}, {
|
|
387
387
|
id: import("convex/values").VString<string, "required">;
|
|
@@ -389,27 +389,27 @@ export declare const mastraVectorIndexesTable: import("convex/server").TableDefi
|
|
|
389
389
|
dimension: import("convex/values").VFloat64<number, "required">;
|
|
390
390
|
metric: import("convex/values").VString<string, "required">;
|
|
391
391
|
createdAt: import("convex/values").VString<string, "required">;
|
|
392
|
-
}, "required", "
|
|
393
|
-
by_record_id: ["id", "_creationTime"];
|
|
392
|
+
}, "required", "createdAt" | "dimension" | "id" | "indexName" | "metric">, {
|
|
394
393
|
by_name: ["indexName", "_creationTime"];
|
|
394
|
+
by_record_id: ["id", "_creationTime"];
|
|
395
395
|
}, {}, {}>;
|
|
396
396
|
/**
|
|
397
397
|
* Vectors table - stores vector embeddings
|
|
398
398
|
* Uses indexName field to support multiple indexes with different dimensions
|
|
399
399
|
*/
|
|
400
400
|
export declare const mastraVectorsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
401
|
-
|
|
401
|
+
embedding: number[];
|
|
402
402
|
id: string;
|
|
403
403
|
indexName: string;
|
|
404
|
-
|
|
404
|
+
metadata?: any;
|
|
405
405
|
}, {
|
|
406
406
|
id: import("convex/values").VString<string, "required">;
|
|
407
407
|
indexName: import("convex/values").VString<string, "required">;
|
|
408
408
|
embedding: import("convex/values").VArray<number[], import("convex/values").VFloat64<number, "required">, "required">;
|
|
409
409
|
metadata: import("convex/values").VAny<any, "optional", string>;
|
|
410
|
-
}, "required", "
|
|
411
|
-
by_index_id: ["indexName", "id", "_creationTime"];
|
|
410
|
+
}, "required", "embedding" | "id" | "indexName" | "metadata" | `metadata.${string}`>, {
|
|
412
411
|
by_index: ["indexName", "_creationTime"];
|
|
412
|
+
by_index_id: ["indexName", "id", "_creationTime"];
|
|
413
413
|
}, {}, {}>;
|
|
414
414
|
export type MastraNativeVectorTableConfig = {
|
|
415
415
|
/**
|
|
@@ -437,35 +437,41 @@ export type MastraNativeVectorTableConfig = {
|
|
|
437
437
|
* because filter fields must also be declared in the table schema.
|
|
438
438
|
*/
|
|
439
439
|
export declare function defineMastraNativeVectorTable({ dimensions, vectorIndexName, staged, }: MastraNativeVectorTableConfig): import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
440
|
-
metadata?: any;
|
|
441
|
-
id: string;
|
|
442
440
|
embedding: number[];
|
|
441
|
+
id: string;
|
|
442
|
+
metadata?: any;
|
|
443
443
|
}, {
|
|
444
444
|
id: import("convex/values").VString<string, "required">;
|
|
445
445
|
embedding: import("convex/values").VArray<number[], import("convex/values").VFloat64<number, "required">, "required">;
|
|
446
446
|
metadata: import("convex/values").VAny<any, "optional", string>;
|
|
447
|
-
}, "required", "
|
|
447
|
+
}, "required", "embedding" | "id" | "metadata" | `metadata.${string}`>, {
|
|
448
448
|
by_record_id: ["id", "_creationTime"];
|
|
449
|
-
}, {}, {
|
|
449
|
+
}, {}, {
|
|
450
|
+
[x: string]: {
|
|
451
|
+
vectorField: "embedding";
|
|
452
|
+
dimensions: number;
|
|
453
|
+
filterFields: never;
|
|
454
|
+
};
|
|
455
|
+
}>;
|
|
450
456
|
/**
|
|
451
457
|
* Cache metadata table - stores scalar cache values, list counters, and numeric
|
|
452
458
|
* counters used by ConvexServerCache.
|
|
453
459
|
*/
|
|
454
460
|
export declare const mastraCacheTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
455
|
-
value?: string | undefined;
|
|
456
461
|
counter?: number | undefined;
|
|
462
|
+
expiresAt: number | null;
|
|
457
463
|
key: string;
|
|
458
|
-
kind: "value" | "list" | "counter" | "deleted";
|
|
459
464
|
keyPrefix: string;
|
|
460
|
-
|
|
465
|
+
kind: "counter" | "deleted" | "list" | "value";
|
|
466
|
+
value?: string | undefined;
|
|
461
467
|
}, {
|
|
462
468
|
key: import("convex/values").VString<string, "required">;
|
|
463
469
|
keyPrefix: import("convex/values").VString<string, "required">;
|
|
464
|
-
kind: import("convex/values").VUnion<"
|
|
470
|
+
kind: import("convex/values").VUnion<"counter" | "deleted" | "list" | "value", [import("convex/values").VLiteral<"value", "required">, import("convex/values").VLiteral<"list", "required">, import("convex/values").VLiteral<"counter", "required">, import("convex/values").VLiteral<"deleted", "required">], "required", never>;
|
|
465
471
|
value: import("convex/values").VString<string | undefined, "optional">;
|
|
466
472
|
counter: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
467
473
|
expiresAt: import("convex/values").VUnion<number | null, [import("convex/values").VFloat64<number, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
468
|
-
}, "required", "
|
|
474
|
+
}, "required", "counter" | "expiresAt" | "key" | "keyPrefix" | "kind" | "value">, {
|
|
469
475
|
by_key: ["key", "_creationTime"];
|
|
470
476
|
by_key_prefix: ["keyPrefix", "_creationTime"];
|
|
471
477
|
}, {}, {}>;
|
|
@@ -474,31 +480,31 @@ export declare const mastraCacheTable: import("convex/server").TableDefinition<i
|
|
|
474
480
|
* history does not grow into a single large Convex document.
|
|
475
481
|
*/
|
|
476
482
|
export declare const mastraCacheListItemsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
477
|
-
key: string;
|
|
478
|
-
value: string;
|
|
479
483
|
index: number;
|
|
484
|
+
key: string;
|
|
480
485
|
keyPrefix: string;
|
|
486
|
+
value: string;
|
|
481
487
|
}, {
|
|
482
488
|
key: import("convex/values").VString<string, "required">;
|
|
483
489
|
keyPrefix: import("convex/values").VString<string, "required">;
|
|
484
490
|
index: import("convex/values").VFloat64<number, "required">;
|
|
485
491
|
value: import("convex/values").VString<string, "required">;
|
|
486
|
-
}, "required", "
|
|
487
|
-
by_key_prefix: ["keyPrefix", "_creationTime"];
|
|
492
|
+
}, "required", "index" | "key" | "keyPrefix" | "value">, {
|
|
488
493
|
by_key_index: ["key", "index", "_creationTime"];
|
|
494
|
+
by_key_prefix: ["keyPrefix", "_creationTime"];
|
|
489
495
|
}, {}, {}>;
|
|
490
496
|
/**
|
|
491
497
|
* Generic documents table - fallback for unknown table types
|
|
492
498
|
*/
|
|
493
499
|
export declare const mastraDocumentsTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
500
|
+
primaryKey: string;
|
|
494
501
|
record: any;
|
|
495
502
|
table: string;
|
|
496
|
-
primaryKey: string;
|
|
497
503
|
}, {
|
|
498
504
|
table: import("convex/values").VString<string, "required">;
|
|
499
505
|
primaryKey: import("convex/values").VString<string, "required">;
|
|
500
506
|
record: import("convex/values").VAny<any, "required", string>;
|
|
501
|
-
}, "required", "
|
|
507
|
+
}, "required", "primaryKey" | "record" | "table" | `record.${string}`>, {
|
|
502
508
|
by_table: ["table", "_creationTime"];
|
|
503
509
|
by_table_primary: ["table", "primaryKey", "_creationTime"];
|
|
504
510
|
}, {}, {}>;
|
package/dist/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAEL,uBAAuB,EACvB,cAAc,EACd,aAAa,EACb,eAAe,EACf,aAAa,EACb,eAAe,EACf,uBAAu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sources":["../../src/storage/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAmB,MAAM,SAAS,CAAC;AAE/D,MAAM,MAAM,uBAAuB,GAAG;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,4DAA4D;AAC5D,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,GAAG,IAAI;IACtC,MAAM,EAAE,CAAC,CAAC;IACV,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC,CAAC;AAyBF,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAS;IACxC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAS;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/storage/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAmB,MAAM,SAAS,CAAC;AAE/D,MAAM,MAAM,uBAAuB,GAAG;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,4DAA4D;AAC5D,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,GAAG,IAAI;IACtC,MAAM,EAAE,CAAC,CAAC;IACV,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC,CAAC;AAyBF,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAS;IACxC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAS;IAEzC,YAAY,EA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