@mastra/lance 0.3.0 → 0.3.1-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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @mastra/lance
2
2
 
3
+ ## 0.3.1-alpha.0
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.3.0
4
13
 
5
14
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -1818,6 +1818,7 @@ var StoreWorkflowsLance = class extends storage.WorkflowsStorage {
1818
1818
  async persistWorkflowSnapshot({
1819
1819
  workflowName,
1820
1820
  runId,
1821
+ resourceId,
1821
1822
  snapshot
1822
1823
  }) {
1823
1824
  try {
@@ -1834,6 +1835,7 @@ var StoreWorkflowsLance = class extends storage.WorkflowsStorage {
1834
1835
  const record = {
1835
1836
  workflow_name: workflowName,
1836
1837
  run_id: runId,
1838
+ resourceId,
1837
1839
  snapshot: JSON.stringify(snapshot),
1838
1840
  createdAt,
1839
1841
  updatedAt: now
@@ -2203,9 +2205,10 @@ var LanceStorage = class _LanceStorage extends storage.MastraStorage {
2203
2205
  async persistWorkflowSnapshot({
2204
2206
  workflowName,
2205
2207
  runId,
2208
+ resourceId,
2206
2209
  snapshot
2207
2210
  }) {
2208
- return this.stores.workflows.persistWorkflowSnapshot({ workflowName, runId, snapshot });
2211
+ return this.stores.workflows.persistWorkflowSnapshot({ workflowName, runId, resourceId, snapshot });
2209
2212
  }
2210
2213
  async loadWorkflowSnapshot({
2211
2214
  workflowName,