@mastra/cloudflare 0.11.7 → 0.11.10
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/dist/index.cjs +32 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/memory/index.d.ts +2 -1
- package/dist/storage/domains/memory/index.d.ts.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +19 -1
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +19 -1
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/test-utils.d.ts +1 -1
- package/dist/storage/test-utils.d.ts.map +1 -1
- package/dist/storage/types.d.ts +2 -1
- package/dist/storage/types.d.ts.map +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -1929,6 +1929,22 @@ var WorkflowsStorageCloudflare = class extends WorkflowsStorage {
|
|
|
1929
1929
|
throw new Error("Invalid workflow snapshot parameters");
|
|
1930
1930
|
}
|
|
1931
1931
|
}
|
|
1932
|
+
updateWorkflowResults({
|
|
1933
|
+
// workflowName,
|
|
1934
|
+
// runId,
|
|
1935
|
+
// stepId,
|
|
1936
|
+
// result,
|
|
1937
|
+
// runtimeContext,
|
|
1938
|
+
}) {
|
|
1939
|
+
throw new Error("Method not implemented.");
|
|
1940
|
+
}
|
|
1941
|
+
updateWorkflowState({
|
|
1942
|
+
// workflowName,
|
|
1943
|
+
// runId,
|
|
1944
|
+
// opts,
|
|
1945
|
+
}) {
|
|
1946
|
+
throw new Error("Method not implemented.");
|
|
1947
|
+
}
|
|
1932
1948
|
async persistWorkflowSnapshot(params) {
|
|
1933
1949
|
try {
|
|
1934
1950
|
const { workflowName, runId, snapshot } = params;
|
|
@@ -2280,6 +2296,22 @@ var CloudflareStore = class extends MastraStorage {
|
|
|
2280
2296
|
}) {
|
|
2281
2297
|
return this.stores.memory.getMessages({ threadId, resourceId, selectBy, format });
|
|
2282
2298
|
}
|
|
2299
|
+
async updateWorkflowResults({
|
|
2300
|
+
workflowName,
|
|
2301
|
+
runId,
|
|
2302
|
+
stepId,
|
|
2303
|
+
result,
|
|
2304
|
+
runtimeContext
|
|
2305
|
+
}) {
|
|
2306
|
+
return this.stores.workflows.updateWorkflowResults({ workflowName, runId, stepId, result, runtimeContext });
|
|
2307
|
+
}
|
|
2308
|
+
async updateWorkflowState({
|
|
2309
|
+
workflowName,
|
|
2310
|
+
runId,
|
|
2311
|
+
opts
|
|
2312
|
+
}) {
|
|
2313
|
+
return this.stores.workflows.updateWorkflowState({ workflowName, runId, opts });
|
|
2314
|
+
}
|
|
2283
2315
|
async getMessagesById({
|
|
2284
2316
|
messageIds,
|
|
2285
2317
|
format
|