@mastra/libsql 0.14.2-alpha.0 → 0.14.2-alpha.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @mastra/libsql
2
2
 
3
+ ## 0.14.2-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
8
+
9
+ - Updated dependencies [[`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4)]:
10
+ - @mastra/core@0.16.4-alpha.1
11
+
3
12
  ## 0.14.2-alpha.0
4
13
 
5
14
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -3072,11 +3072,13 @@ var WorkflowsLibSQL = class extends storage.WorkflowsStorage {
3072
3072
  async persistWorkflowSnapshot({
3073
3073
  workflowName,
3074
3074
  runId,
3075
+ resourceId,
3075
3076
  snapshot
3076
3077
  }) {
3077
3078
  const data = {
3078
3079
  workflow_name: workflowName,
3079
3080
  run_id: runId,
3081
+ resourceId,
3080
3082
  snapshot,
3081
3083
  createdAt: /* @__PURE__ */ new Date(),
3082
3084
  updatedAt: /* @__PURE__ */ new Date()
@@ -3407,9 +3409,10 @@ var LibSQLStore = class extends storage.MastraStorage {
3407
3409
  async persistWorkflowSnapshot({
3408
3410
  workflowName,
3409
3411
  runId,
3412
+ resourceId,
3410
3413
  snapshot
3411
3414
  }) {
3412
- return this.stores.workflows.persistWorkflowSnapshot({ workflowName, runId, snapshot });
3415
+ return this.stores.workflows.persistWorkflowSnapshot({ workflowName, runId, resourceId, snapshot });
3413
3416
  }
3414
3417
  async loadWorkflowSnapshot({
3415
3418
  workflowName,