@mastra/client-js 0.10.17-alpha.4 → 0.10.17
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 +5 -5
- package/CHANGELOG.md +53 -0
- package/package.json +3 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/client-js@0.10.17-alpha.
|
|
2
|
+
> @mastra/client-js@0.10.17-alpha.5 build /home/runner/work/mastra/mastra/client-sdks/client-js
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
[34mCLI[39m Cleaning output folder
|
|
10
10
|
[34mESM[39m Build start
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m75.52 KB[39m
|
|
13
|
-
[32mCJS[39m ⚡️ Build success in 2034ms
|
|
14
12
|
[32mESM[39m [1mdist/index.js [22m[32m75.21 KB[39m
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 1942ms
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m75.52 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 1943ms
|
|
16
16
|
[34mDTS[39m Build start
|
|
17
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
+
[32mDTS[39m ⚡️ Build success in 17022ms
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m47.19 KB[39m
|
|
19
19
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m47.19 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 0.10.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- aa2715b: process stream response error handling
|
|
8
|
+
- 6bd354c: Should not send content type if body instance of FormData
|
|
9
|
+
- cda801d: Added the ability to pass in metadata for UIMessage and MastraMessageV2 in client-js and agent.stream/generate
|
|
10
|
+
- b641ba3: fix: save score params
|
|
11
|
+
- 9802f42: Added types and tests to ensure client-js and hono endpoints can save memory messages where the input is either a v1 or v2 mastra message
|
|
12
|
+
- 1ac8f6b: deduplicate message
|
|
13
|
+
- b8efbb9: feat: add flexible deleteMessages method to memory API
|
|
14
|
+
- Added `memory.deleteMessages(input)` method that accepts multiple input types:
|
|
15
|
+
- Single message ID as string: `deleteMessages('msg-123')`
|
|
16
|
+
- Array of message IDs: `deleteMessages(['msg-1', 'msg-2'])`
|
|
17
|
+
- Message object with id property: `deleteMessages({ id: 'msg-123' })`
|
|
18
|
+
- Array of message objects: `deleteMessages([{ id: 'msg-1' }, { id: 'msg-2' }])`
|
|
19
|
+
- Implemented in all storage adapters (LibSQL, PostgreSQL, Upstash, InMemory)
|
|
20
|
+
- Added REST API endpoint: `POST /api/memory/messages/delete`
|
|
21
|
+
- Updated client SDK: `thread.deleteMessages()` accepts all input types
|
|
22
|
+
- Updates thread timestamps when messages are deleted
|
|
23
|
+
- Added comprehensive test coverage and documentation
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [510e2c8]
|
|
26
|
+
- Updated dependencies [2f72fb2]
|
|
27
|
+
- Updated dependencies [27cc97a]
|
|
28
|
+
- Updated dependencies [3f89307]
|
|
29
|
+
- Updated dependencies [9eda7d4]
|
|
30
|
+
- Updated dependencies [9d49408]
|
|
31
|
+
- Updated dependencies [41daa63]
|
|
32
|
+
- Updated dependencies [ad0a58b]
|
|
33
|
+
- Updated dependencies [254a36b]
|
|
34
|
+
- Updated dependencies [2ecf658]
|
|
35
|
+
- Updated dependencies [7a7754f]
|
|
36
|
+
- Updated dependencies [fc92d80]
|
|
37
|
+
- Updated dependencies [e0f73c6]
|
|
38
|
+
- Updated dependencies [0b89602]
|
|
39
|
+
- Updated dependencies [4d37822]
|
|
40
|
+
- Updated dependencies [23a6a7c]
|
|
41
|
+
- Updated dependencies [cda801d]
|
|
42
|
+
- Updated dependencies [a77c823]
|
|
43
|
+
- Updated dependencies [ff9c125]
|
|
44
|
+
- Updated dependencies [09bca64]
|
|
45
|
+
- Updated dependencies [b8efbb9]
|
|
46
|
+
- Updated dependencies [71466e7]
|
|
47
|
+
- Updated dependencies [0c99fbe]
|
|
48
|
+
- @mastra/core@0.12.0
|
|
49
|
+
|
|
50
|
+
## 0.10.17-alpha.5
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- @mastra/core@0.12.0-alpha.5
|
|
55
|
+
|
|
3
56
|
## 0.10.17-alpha.4
|
|
4
57
|
|
|
5
58
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/client-js",
|
|
3
|
-
"version": "0.10.17
|
|
3
|
+
"version": "0.10.17",
|
|
4
4
|
"description": "The official TypeScript library for the Mastra Client API",
|
|
5
5
|
"author": "",
|
|
6
6
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"rxjs": "7.8.1",
|
|
35
35
|
"zod": "^3.25.67",
|
|
36
36
|
"zod-to-json-schema": "^3.24.5",
|
|
37
|
-
"@mastra/core": "0.12.0
|
|
37
|
+
"@mastra/core": "0.12.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"zod": "^3.0.0"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"tsup": "^8.5.0",
|
|
49
49
|
"typescript": "^5.8.3",
|
|
50
50
|
"vitest": "^3.2.4",
|
|
51
|
-
"@internal/lint": "0.0.
|
|
51
|
+
"@internal/lint": "0.0.24"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting",
|