@mastra/lance 0.2.7 → 0.2.8
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/README.md +3 -3
- 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/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/dist/vector/index.d.ts +1 -1
- package/dist/vector/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/storage/domains/workflows/index.ts +39 -1
- package/src/storage/index.ts +35 -1
- package/src/vector/index.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -1787,6 +1787,22 @@ var StoreWorkflowsLance = class extends WorkflowsStorage {
|
|
|
1787
1787
|
super();
|
|
1788
1788
|
this.client = client;
|
|
1789
1789
|
}
|
|
1790
|
+
updateWorkflowResults({
|
|
1791
|
+
// workflowName,
|
|
1792
|
+
// runId,
|
|
1793
|
+
// stepId,
|
|
1794
|
+
// result,
|
|
1795
|
+
// runtimeContext,
|
|
1796
|
+
}) {
|
|
1797
|
+
throw new Error("Method not implemented.");
|
|
1798
|
+
}
|
|
1799
|
+
updateWorkflowState({
|
|
1800
|
+
// workflowName,
|
|
1801
|
+
// runId,
|
|
1802
|
+
// opts,
|
|
1803
|
+
}) {
|
|
1804
|
+
throw new Error("Method not implemented.");
|
|
1805
|
+
}
|
|
1790
1806
|
async persistWorkflowSnapshot({
|
|
1791
1807
|
workflowName,
|
|
1792
1808
|
runId,
|
|
@@ -2156,6 +2172,22 @@ var LanceStorage = class _LanceStorage extends MastraStorage {
|
|
|
2156
2172
|
async getWorkflowRunById(args) {
|
|
2157
2173
|
return this.stores.workflows.getWorkflowRunById(args);
|
|
2158
2174
|
}
|
|
2175
|
+
async updateWorkflowResults({
|
|
2176
|
+
workflowName,
|
|
2177
|
+
runId,
|
|
2178
|
+
stepId,
|
|
2179
|
+
result,
|
|
2180
|
+
runtimeContext
|
|
2181
|
+
}) {
|
|
2182
|
+
return this.stores.workflows.updateWorkflowResults({ workflowName, runId, stepId, result, runtimeContext });
|
|
2183
|
+
}
|
|
2184
|
+
async updateWorkflowState({
|
|
2185
|
+
workflowName,
|
|
2186
|
+
runId,
|
|
2187
|
+
opts
|
|
2188
|
+
}) {
|
|
2189
|
+
return this.stores.workflows.updateWorkflowState({ workflowName, runId, opts });
|
|
2190
|
+
}
|
|
2159
2191
|
async persistWorkflowSnapshot({
|
|
2160
2192
|
workflowName,
|
|
2161
2193
|
runId,
|