@mastra/lance 0.3.0 → 0.3.1-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 +18 -0
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +2 -1
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +2 -1
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1816,6 +1816,7 @@ var StoreWorkflowsLance = class extends WorkflowsStorage {
|
|
|
1816
1816
|
async persistWorkflowSnapshot({
|
|
1817
1817
|
workflowName,
|
|
1818
1818
|
runId,
|
|
1819
|
+
resourceId,
|
|
1819
1820
|
snapshot
|
|
1820
1821
|
}) {
|
|
1821
1822
|
try {
|
|
@@ -1832,6 +1833,7 @@ var StoreWorkflowsLance = class extends WorkflowsStorage {
|
|
|
1832
1833
|
const record = {
|
|
1833
1834
|
workflow_name: workflowName,
|
|
1834
1835
|
run_id: runId,
|
|
1836
|
+
resourceId,
|
|
1835
1837
|
snapshot: JSON.stringify(snapshot),
|
|
1836
1838
|
createdAt,
|
|
1837
1839
|
updatedAt: now
|
|
@@ -2201,9 +2203,10 @@ var LanceStorage = class _LanceStorage extends MastraStorage {
|
|
|
2201
2203
|
async persistWorkflowSnapshot({
|
|
2202
2204
|
workflowName,
|
|
2203
2205
|
runId,
|
|
2206
|
+
resourceId,
|
|
2204
2207
|
snapshot
|
|
2205
2208
|
}) {
|
|
2206
|
-
return this.stores.workflows.persistWorkflowSnapshot({ workflowName, runId, snapshot });
|
|
2209
|
+
return this.stores.workflows.persistWorkflowSnapshot({ workflowName, runId, resourceId, snapshot });
|
|
2207
2210
|
}
|
|
2208
2211
|
async loadWorkflowSnapshot({
|
|
2209
2212
|
workflowName,
|