@mastra/pg 0.14.2-alpha.0 → 0.14.3-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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +18 -0
- package/dist/index.cjs +32 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/scores/index.d.ts +1 -1
- package/dist/storage/domains/scores/index.d.ts.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +19 -1
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +19 -1
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/storage/domains/scores/index.ts +1 -1
- package/src/storage/domains/workflows/index.ts +39 -2
- package/src/storage/index.ts +35 -1
- package/src/vector/index.test.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @mastra/pg
|
|
2
2
|
|
|
3
|
+
## 0.14.3-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#6994](https://github.com/mastra-ai/mastra/pull/6994) [`0594a70`](https://github.com/mastra-ai/mastra/commit/0594a70ac948d306c7f38765b171c9535e6c78d4) Thanks [@wardpeet](https://github.com/wardpeet)! - Improve type resolving for storage adapters
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56), [`be49354`](https://github.com/mastra-ai/mastra/commit/be493546dca540101923ec700feb31f9a13939f2), [`d591ab3`](https://github.com/mastra-ai/mastra/commit/d591ab3ecc985c1870c0db347f8d7a20f7360536), [`ba82abe`](https://github.com/mastra-ai/mastra/commit/ba82abe76e869316bb5a9c95e8ea3946f3436fae), [`727f7e5`](https://github.com/mastra-ai/mastra/commit/727f7e5086e62e0dfe3356fb6dcd8bcb420af246), [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95), [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1), [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01)]:
|
|
10
|
+
- @mastra/core@0.14.2-alpha.1
|
|
11
|
+
|
|
12
|
+
## 0.14.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#6700](https://github.com/mastra-ai/mastra/pull/6700) [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02) Thanks [@gpanakkal](https://github.com/gpanakkal)! - Add `getMessagesById` method to `MastraStorage` adapters
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`6e7e120`](https://github.com/mastra-ai/mastra/commit/6e7e1207d6e8d8b838f9024f90bd10df1181ba27), [`0f00e17`](https://github.com/mastra-ai/mastra/commit/0f00e172953ccdccadb35ed3d70f5e4d89115869), [`217cd7a`](https://github.com/mastra-ai/mastra/commit/217cd7a4ce171e9a575c41bb8c83300f4db03236), [`a5a23d9`](https://github.com/mastra-ai/mastra/commit/a5a23d981920d458dc6078919992a5338931ef02)]:
|
|
19
|
+
- @mastra/core@0.14.1
|
|
20
|
+
|
|
3
21
|
## 0.14.2-alpha.0
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -2761,6 +2761,22 @@ var WorkflowsPG = class extends storage.WorkflowsStorage {
|
|
|
2761
2761
|
this.operations = operations;
|
|
2762
2762
|
this.schema = schema;
|
|
2763
2763
|
}
|
|
2764
|
+
updateWorkflowResults({
|
|
2765
|
+
// workflowName,
|
|
2766
|
+
// runId,
|
|
2767
|
+
// stepId,
|
|
2768
|
+
// result,
|
|
2769
|
+
// runtimeContext,
|
|
2770
|
+
}) {
|
|
2771
|
+
throw new Error("Method not implemented.");
|
|
2772
|
+
}
|
|
2773
|
+
updateWorkflowState({
|
|
2774
|
+
// workflowName,
|
|
2775
|
+
// runId,
|
|
2776
|
+
// opts,
|
|
2777
|
+
}) {
|
|
2778
|
+
throw new Error("Method not implemented.");
|
|
2779
|
+
}
|
|
2764
2780
|
async persistWorkflowSnapshot({
|
|
2765
2781
|
workflowName,
|
|
2766
2782
|
runId,
|
|
@@ -3148,6 +3164,22 @@ var PostgresStore = class extends storage.MastraStorage {
|
|
|
3148
3164
|
/**
|
|
3149
3165
|
* Workflows
|
|
3150
3166
|
*/
|
|
3167
|
+
async updateWorkflowResults({
|
|
3168
|
+
workflowName,
|
|
3169
|
+
runId,
|
|
3170
|
+
stepId,
|
|
3171
|
+
result,
|
|
3172
|
+
runtimeContext
|
|
3173
|
+
}) {
|
|
3174
|
+
return this.stores.workflows.updateWorkflowResults({ workflowName, runId, stepId, result, runtimeContext });
|
|
3175
|
+
}
|
|
3176
|
+
async updateWorkflowState({
|
|
3177
|
+
workflowName,
|
|
3178
|
+
runId,
|
|
3179
|
+
opts
|
|
3180
|
+
}) {
|
|
3181
|
+
return this.stores.workflows.updateWorkflowState({ workflowName, runId, opts });
|
|
3182
|
+
}
|
|
3151
3183
|
async persistWorkflowSnapshot({
|
|
3152
3184
|
workflowName,
|
|
3153
3185
|
runId,
|