@mastra/libsql 0.13.2-alpha.1 → 0.13.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @mastra/libsql@0.13.2-alpha.1 build /home/runner/work/mastra/mastra/stores/libsql
2
+ > @mastra/libsql@0.13.3-alpha.0 build /home/runner/work/mastra/mastra/stores/libsql
3
3
  > tsup --silent --config tsup.config.ts
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @mastra/libsql
2
2
 
3
+ ## 0.13.3-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - d6e39da: Load most recent snapshot from storage
8
+ - Updated dependencies [6faaee5]
9
+ - Updated dependencies [4232b14]
10
+ - Updated dependencies [a89de7e]
11
+ - Updated dependencies [cf4f357]
12
+ - Updated dependencies [a722c0b]
13
+ - Updated dependencies [3b5fec7]
14
+ - @mastra/core@0.14.0-alpha.1
15
+
16
+ ## 0.13.2
17
+
18
+ ### Patch Changes
19
+
20
+ - b5cf2a3: make system message always available during agent calls
21
+ - b32c50d: Filter scores by source
22
+ - Updated dependencies [d5330bf]
23
+ - Updated dependencies [2e74797]
24
+ - Updated dependencies [8388649]
25
+ - Updated dependencies [a239d41]
26
+ - Updated dependencies [dd94a26]
27
+ - Updated dependencies [3ba6772]
28
+ - Updated dependencies [b5cf2a3]
29
+ - Updated dependencies [2fff911]
30
+ - Updated dependencies [b32c50d]
31
+ - Updated dependencies [63449d0]
32
+ - Updated dependencies [121a3f8]
33
+ - Updated dependencies [ec510e7]
34
+ - @mastra/core@0.13.2
35
+
3
36
  ## 0.13.2-alpha.1
4
37
 
5
38
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -2408,7 +2408,7 @@ var WorkflowsLibSQL = class extends storage.WorkflowsStorage {
2408
2408
  const whereClause = conditions.length > 0 ? `WHERE ${conditions.join(" AND ")}` : "";
2409
2409
  try {
2410
2410
  const result = await this.client.execute({
2411
- sql: `SELECT * FROM ${storage.TABLE_WORKFLOW_SNAPSHOT} ${whereClause}`,
2411
+ sql: `SELECT * FROM ${storage.TABLE_WORKFLOW_SNAPSHOT} ${whereClause} ORDER BY createdAt DESC LIMIT 1`,
2412
2412
  args
2413
2413
  });
2414
2414
  if (!result.rows?.[0]) {