@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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @mastra/lance@0.2.7-alpha.0 build /home/runner/work/mastra/mastra/stores/lance
2
+ > @mastra/lance@0.2.8 build /home/runner/work/mastra/mastra/stores/lance
3
3
  > tsup --silent --config tsup.config.ts
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @mastra/lance
2
2
 
3
+ ## 0.2.8
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 [[`0778757`](https://github.com/mastra-ai/mastra/commit/07787570e4addbd501522037bd2542c3d9e26822), [`943a7f3`](https://github.com/mastra-ai/mastra/commit/943a7f3dbc6a8ab3f9b7bc7c8a1c5b319c3d7f56), [`bf504a8`](https://github.com/mastra-ai/mastra/commit/bf504a833051f6f321d832cc7d631f3cb86d657b), [`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), [`e6f5046`](https://github.com/mastra-ai/mastra/commit/e6f50467aff317e67e8bd74c485c3fbe2a5a6db1), [`82d9f64`](https://github.com/mastra-ai/mastra/commit/82d9f647fbe4f0177320e7c05073fce88599aa95), [`2e58325`](https://github.com/mastra-ai/mastra/commit/2e58325beb170f5b92f856e27d915cd26917e5e6), [`1191ce9`](https://github.com/mastra-ai/mastra/commit/1191ce946b40ed291e7877a349f8388e3cff7e5c), [`4189486`](https://github.com/mastra-ai/mastra/commit/4189486c6718fda78347bdf4ce4d3fc33b2236e1), [`ca8ec2f`](https://github.com/mastra-ai/mastra/commit/ca8ec2f61884b9dfec5fc0d5f4f29d281ad13c01), [`9613558`](https://github.com/mastra-ai/mastra/commit/9613558e6475f4710e05d1be7553a32ee7bddc20)]:
10
+ - @mastra/core@0.15.0
11
+
12
+ ## 0.2.8-alpha.0
13
+
14
+ ### Patch Changes
15
+
16
+ - [#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
17
+
18
+ - 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)]:
19
+ - @mastra/core@0.14.2-alpha.1
20
+
3
21
  ## 0.2.7
4
22
 
5
23
  ### Patch Changes
package/README.md CHANGED
@@ -124,7 +124,7 @@ const messages = await storage.getMessages({
124
124
  ### Creating Threads
125
125
 
126
126
  ```typescript
127
- import type { StorageThreadType } from '@mastra/core';
127
+ import type { StorageThreadType } from '@mastra/core/storage';
128
128
 
129
129
  // Create a new thread
130
130
  const thread: StorageThreadType = {
@@ -142,7 +142,7 @@ const savedThread = await storage.saveThread({ thread });
142
142
  ### Working with Messages
143
143
 
144
144
  ```typescript
145
- import type { MessageType } from '@mastra/core';
145
+ import type { MessageType } from '@mastra/core/memory';
146
146
 
147
147
  // Create messages
148
148
  const messages: MessageType[] = [
@@ -193,7 +193,7 @@ const retrievedMessages = await storage.getMessages({
193
193
  Mastra's workflow system uses LanceDB to persist workflow state for continuity across runs:
194
194
 
195
195
  ```typescript
196
- import type { WorkflowRunState } from '@mastra/core';
196
+ import type { WorkflowRunState } from '@mastra/core/storage';
197
197
 
198
198
  // Persist a workflow snapshot
199
199
  await storage.persistWorkflowSnapshot({
package/dist/index.cjs CHANGED
@@ -1789,6 +1789,22 @@ var StoreWorkflowsLance = class extends storage.WorkflowsStorage {
1789
1789
  super();
1790
1790
  this.client = client;
1791
1791
  }
1792
+ updateWorkflowResults({
1793
+ // workflowName,
1794
+ // runId,
1795
+ // stepId,
1796
+ // result,
1797
+ // runtimeContext,
1798
+ }) {
1799
+ throw new Error("Method not implemented.");
1800
+ }
1801
+ updateWorkflowState({
1802
+ // workflowName,
1803
+ // runId,
1804
+ // opts,
1805
+ }) {
1806
+ throw new Error("Method not implemented.");
1807
+ }
1792
1808
  async persistWorkflowSnapshot({
1793
1809
  workflowName,
1794
1810
  runId,
@@ -2158,6 +2174,22 @@ var LanceStorage = class _LanceStorage extends storage.MastraStorage {
2158
2174
  async getWorkflowRunById(args) {
2159
2175
  return this.stores.workflows.getWorkflowRunById(args);
2160
2176
  }
2177
+ async updateWorkflowResults({
2178
+ workflowName,
2179
+ runId,
2180
+ stepId,
2181
+ result,
2182
+ runtimeContext
2183
+ }) {
2184
+ return this.stores.workflows.updateWorkflowResults({ workflowName, runId, stepId, result, runtimeContext });
2185
+ }
2186
+ async updateWorkflowState({
2187
+ workflowName,
2188
+ runId,
2189
+ opts
2190
+ }) {
2191
+ return this.stores.workflows.updateWorkflowState({ workflowName, runId, opts });
2192
+ }
2161
2193
  async persistWorkflowSnapshot({
2162
2194
  workflowName,
2163
2195
  runId,