@mastra/libsql 0.14.1 → 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 +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 +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
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
|
+
|
|
12
|
+
## 0.14.2-alpha.0
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- dependencies updates: ([#7742](https://github.com/mastra-ai/mastra/pull/7742))
|
|
17
|
+
- Updated dependency [`@libsql/client@^0.15.15` ↗︎](https://www.npmjs.com/package/@libsql/client/v/0.15.15) (from `^0.15.14`, in `dependencies`)
|
|
18
|
+
- Updated dependencies [[`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11)]:
|
|
19
|
+
- @mastra/core@0.16.4-alpha.0
|
|
20
|
+
|
|
3
21
|
## 0.14.1
|
|
4
22
|
|
|
5
23
|
### 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,
|