@mastra/libsql 0.12.0-alpha.2 → 0.13.0-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 +2 -21
- package/CHANGELOG.md +63 -0
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +4 -6
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -0
- package/dist/storage/domains/legacy-evals/index.d.ts +18 -0
- package/dist/storage/domains/legacy-evals/index.d.ts.map +1 -0
- package/dist/storage/domains/memory/index.d.ts +87 -0
- package/dist/storage/domains/memory/index.d.ts.map +1 -0
- package/dist/storage/domains/operations/index.d.ts +61 -0
- package/dist/storage/domains/operations/index.d.ts.map +1 -0
- package/dist/storage/domains/scores/index.d.ts +45 -0
- package/dist/storage/domains/scores/index.d.ts.map +1 -0
- package/dist/storage/domains/traces/index.d.ts +21 -0
- package/dist/storage/domains/traces/index.d.ts.map +1 -0
- package/dist/storage/domains/utils.d.ts +16 -0
- package/dist/storage/domains/utils.d.ts.map +1 -0
- package/dist/storage/domains/workflows/index.d.ts +34 -0
- package/dist/storage/domains/workflows/index.d.ts.map +1 -0
- package/dist/storage/index.d.ts +221 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/vector/filter.d.ts +29 -0
- package/dist/vector/filter.d.ts.map +1 -0
- package/dist/vector/index.d.ts +72 -0
- package/dist/vector/index.d.ts.map +1 -0
- package/dist/vector/prompt.d.ts +6 -0
- package/dist/vector/prompt.d.ts.map +1 -0
- package/dist/vector/sql-builder.d.ts +9 -0
- package/dist/vector/sql-builder.d.ts.map +1 -0
- package/package.json +6 -6
- package/src/storage/domains/scores/index.ts +5 -3
- package/tsconfig.build.json +9 -0
- package/tsconfig.json +1 -1
- package/tsup.config.ts +22 -0
- package/dist/_tsup-dts-rollup.d.cts +0 -642
- package/dist/_tsup-dts-rollup.d.ts +0 -642
- package/dist/index.d.cts +0 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/libsql@0.
|
|
3
|
-
> tsup
|
|
2
|
+
> @mastra/libsql@0.13.0-alpha.0 build /home/runner/work/mastra/mastra/stores/libsql
|
|
3
|
+
> tsup --silent --config tsup.config.ts
|
|
4
4
|
|
|
5
|
-
[34mCLI[39m Building entry: src/index.ts
|
|
6
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
-
[34mCLI[39m tsup v8.5.0
|
|
8
|
-
[34mTSC[39m Build start
|
|
9
|
-
[32mTSC[39m ⚡️ Build success in 10851ms
|
|
10
|
-
[34mDTS[39m Build start
|
|
11
|
-
[34mCLI[39m Target: es2022
|
|
12
|
-
Analysis will use the bundled TypeScript version 5.8.3
|
|
13
|
-
[36mWriting package typings: /home/runner/work/mastra/mastra/stores/libsql/dist/_tsup-dts-rollup.d.ts[39m
|
|
14
|
-
Analysis will use the bundled TypeScript version 5.8.3
|
|
15
|
-
[36mWriting package typings: /home/runner/work/mastra/mastra/stores/libsql/dist/_tsup-dts-rollup.d.cts[39m
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in 13922ms
|
|
17
|
-
[34mCLI[39m Cleaning output folder
|
|
18
|
-
[34mESM[39m Build start
|
|
19
|
-
[34mCJS[39m Build start
|
|
20
|
-
[32mESM[39m [1mdist/index.js [22m[32m89.73 KB[39m
|
|
21
|
-
[32mESM[39m ⚡️ Build success in 2396ms
|
|
22
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m90.83 KB[39m
|
|
23
|
-
[32mCJS[39m ⚡️ Build success in 2397ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
# @mastra/libsql
|
|
2
2
|
|
|
3
|
+
## 0.13.0-alpha.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ea0c5f2: Add store support to new score api
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [ea0c5f2]
|
|
12
|
+
- Updated dependencies [b0e43c1]
|
|
13
|
+
- Updated dependencies [1fb812e]
|
|
14
|
+
- Updated dependencies [35c5798]
|
|
15
|
+
- @mastra/core@0.13.0-alpha.1
|
|
16
|
+
|
|
17
|
+
## 0.12.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- f42c4c2: update peer deps for packages to latest core range
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 24ac5ff: dependencies updates:
|
|
26
|
+
- Updated dependency [`@libsql/client@^0.15.10` ↗︎](https://www.npmjs.com/package/@libsql/client/v/0.15.10) (from `^0.15.9`, in `dependencies`)
|
|
27
|
+
- ff9c125: enhance thread retrieval with sorting options in libsql and pg
|
|
28
|
+
- a3ca14c: `LibSQLVector.doUpsert`: check if transaction is open before attempting rollback
|
|
29
|
+
- b8efbb9: feat: add flexible deleteMessages method to memory API
|
|
30
|
+
- Added `memory.deleteMessages(input)` method that accepts multiple input types:
|
|
31
|
+
- Single message ID as string: `deleteMessages('msg-123')`
|
|
32
|
+
- Array of message IDs: `deleteMessages(['msg-1', 'msg-2'])`
|
|
33
|
+
- Message object with id property: `deleteMessages({ id: 'msg-123' })`
|
|
34
|
+
- Array of message objects: `deleteMessages([{ id: 'msg-1' }, { id: 'msg-2' }])`
|
|
35
|
+
- Implemented in all storage adapters (LibSQL, PostgreSQL, Upstash, InMemory)
|
|
36
|
+
- Added REST API endpoint: `POST /api/memory/messages/delete`
|
|
37
|
+
- Updated client SDK: `thread.deleteMessages()` accepts all input types
|
|
38
|
+
- Updates thread timestamps when messages are deleted
|
|
39
|
+
- Added comprehensive test coverage and documentation
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [510e2c8]
|
|
42
|
+
- Updated dependencies [2f72fb2]
|
|
43
|
+
- Updated dependencies [27cc97a]
|
|
44
|
+
- Updated dependencies [3f89307]
|
|
45
|
+
- Updated dependencies [9eda7d4]
|
|
46
|
+
- Updated dependencies [9d49408]
|
|
47
|
+
- Updated dependencies [41daa63]
|
|
48
|
+
- Updated dependencies [ad0a58b]
|
|
49
|
+
- Updated dependencies [254a36b]
|
|
50
|
+
- Updated dependencies [2ecf658]
|
|
51
|
+
- Updated dependencies [7a7754f]
|
|
52
|
+
- Updated dependencies [fc92d80]
|
|
53
|
+
- Updated dependencies [e0f73c6]
|
|
54
|
+
- Updated dependencies [0b89602]
|
|
55
|
+
- Updated dependencies [4d37822]
|
|
56
|
+
- Updated dependencies [23a6a7c]
|
|
57
|
+
- Updated dependencies [cda801d]
|
|
58
|
+
- Updated dependencies [a77c823]
|
|
59
|
+
- Updated dependencies [ff9c125]
|
|
60
|
+
- Updated dependencies [09bca64]
|
|
61
|
+
- Updated dependencies [b8efbb9]
|
|
62
|
+
- Updated dependencies [71466e7]
|
|
63
|
+
- Updated dependencies [0c99fbe]
|
|
64
|
+
- @mastra/core@0.12.0
|
|
65
|
+
|
|
3
66
|
## 0.12.0-alpha.2
|
|
4
67
|
|
|
5
68
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
|
@@ -2097,7 +2097,7 @@ var ScoresLibSQL = class extends storage.ScoresStorage {
|
|
|
2097
2097
|
const runtimeContextValue = row.runtimeContext ? JSON.parse(row.runtimeContext) : null;
|
|
2098
2098
|
const metadataValue = row.metadata ? JSON.parse(row.metadata) : null;
|
|
2099
2099
|
const entityValue = row.entity ? JSON.parse(row.entity) : null;
|
|
2100
|
-
const
|
|
2100
|
+
const preprocessStepResultValue = row.preprocessStepResult ? JSON.parse(row.preprocessStepResult) : null;
|
|
2101
2101
|
const analyzeStepResultValue = row.analyzeStepResult ? JSON.parse(row.analyzeStepResult) : null;
|
|
2102
2102
|
return {
|
|
2103
2103
|
id: row.id,
|
|
@@ -2106,10 +2106,12 @@ var ScoresLibSQL = class extends storage.ScoresStorage {
|
|
|
2106
2106
|
scorer: scorerValue,
|
|
2107
2107
|
score: row.score,
|
|
2108
2108
|
reason: row.reason,
|
|
2109
|
-
|
|
2109
|
+
preprocessStepResult: preprocessStepResultValue,
|
|
2110
2110
|
analyzeStepResult: analyzeStepResultValue,
|
|
2111
2111
|
analyzePrompt: row.analyzePrompt,
|
|
2112
|
-
|
|
2112
|
+
preprocessPrompt: row.preprocessPrompt,
|
|
2113
|
+
generateScorePrompt: row.generateScorePrompt,
|
|
2114
|
+
generateReasonPrompt: row.generateReasonPrompt,
|
|
2113
2115
|
metadata: metadataValue,
|
|
2114
2116
|
input: inputValue,
|
|
2115
2117
|
output: outputValue,
|
|
@@ -2799,3 +2801,5 @@ exports.DefaultStorage = LibSQLStore;
|
|
|
2799
2801
|
exports.LIBSQL_PROMPT = LIBSQL_PROMPT;
|
|
2800
2802
|
exports.LibSQLStore = LibSQLStore;
|
|
2801
2803
|
exports.LibSQLVector = LibSQLVector;
|
|
2804
|
+
//# sourceMappingURL=index.cjs.map
|
|
2805
|
+
//# sourceMappingURL=index.cjs.map
|