@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 CHANGED
@@ -1935,6 +1935,22 @@ var WorkflowsStorageCloudflare = class extends storage.WorkflowsStorage {
1935
1935
  throw new Error("Invalid workflow snapshot parameters");
1936
1936
  }
1937
1937
  }
1938
+ updateWorkflowResults({
1939
+ // workflowName,
1940
+ // runId,
1941
+ // stepId,
1942
+ // result,
1943
+ // runtimeContext,
1944
+ }) {
1945
+ throw new Error("Method not implemented.");
1946
+ }
1947
+ updateWorkflowState({
1948
+ // workflowName,
1949
+ // runId,
1950
+ // opts,
1951
+ }) {
1952
+ throw new Error("Method not implemented.");
1953
+ }
1938
1954
  async persistWorkflowSnapshot(params) {
1939
1955
  try {
1940
1956
  const { workflowName, runId, snapshot } = params;
@@ -2286,6 +2302,22 @@ var CloudflareStore = class extends storage.MastraStorage {
2286
2302
  }) {
2287
2303
  return this.stores.memory.getMessages({ threadId, resourceId, selectBy, format });
2288
2304
  }
2305
+ async updateWorkflowResults({
2306
+ workflowName,
2307
+ runId,
2308
+ stepId,
2309
+ result,
2310
+ runtimeContext
2311
+ }) {
2312
+ return this.stores.workflows.updateWorkflowResults({ workflowName, runId, stepId, result, runtimeContext });
2313
+ }
2314
+ async updateWorkflowState({
2315
+ workflowName,
2316
+ runId,
2317
+ opts
2318
+ }) {
2319
+ return this.stores.workflows.updateWorkflowState({ workflowName, runId, opts });
2320
+ }
2289
2321
  async getMessagesById({
2290
2322
  messageIds,
2291
2323
  format