@mastra/client-js 0.2.0-alpha.1 → 0.10.1-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 +5 -5
- package/CHANGELOG.md +46 -0
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +4 -4
- package/src/types.ts +3 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/client-js@0.
|
|
2
|
+
> @mastra/client-js@0.10.1-alpha.0 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[32m41.29 KB[39m
|
|
13
|
-
[32mCJS[39m ⚡️ Build success in 1179ms
|
|
14
12
|
[32mESM[39m [1mdist/index.js [22m[32m41.00 KB[39m
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 1666ms
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m41.29 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 1695ms
|
|
16
16
|
[34mDTS[39m Build start
|
|
17
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
+
[32mDTS[39m ⚡️ Build success in 16148ms
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m30.61 KB[39m
|
|
19
19
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m30.61 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 0.10.1-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f622cfa: Make some properties of CreateMemoryThreadParams optional
|
|
8
|
+
- Updated dependencies [6d16390]
|
|
9
|
+
- Updated dependencies [1e4a421]
|
|
10
|
+
- @mastra/core@0.10.1-alpha.0
|
|
11
|
+
|
|
12
|
+
## 0.10.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- 83da932: Move @mastra/core to peerdeps
|
|
17
|
+
- 5eb5a99: Remove pino from @mastra/core into @mastra/loggers
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- b3a3d63: BREAKING: Make vnext workflow the default worklow, and old workflow legacy_workflow
|
|
22
|
+
- 0215b0b: Add description to vnext workflow response
|
|
23
|
+
- f53a6ac: Add VNextWorkflowRuns type
|
|
24
|
+
- ccdabdc: Remove trailing / from mastraClient baseUrl
|
|
25
|
+
- a6e3881: Remove non serializable options from agent stream,generate
|
|
26
|
+
- fddae56: Add telemetry to cliend SDK streamParams
|
|
27
|
+
- 23f258c: Add new list and get routes for mcp servers. Changed route make-up for more consistency with existing API routes. Lastly, added in a lot of extra detail that can be optionally passed to the mcp server per the mcp spec.
|
|
28
|
+
- 5063646: Accept plain obects as runtimeContext
|
|
29
|
+
- 2672a05: Add MCP servers and tool call execution to playground
|
|
30
|
+
- Updated dependencies [b3a3d63]
|
|
31
|
+
- Updated dependencies [344f453]
|
|
32
|
+
- Updated dependencies [0a3ae6d]
|
|
33
|
+
- Updated dependencies [95911be]
|
|
34
|
+
- Updated dependencies [f53a6ac]
|
|
35
|
+
- Updated dependencies [5eb5a99]
|
|
36
|
+
- Updated dependencies [7e632c5]
|
|
37
|
+
- Updated dependencies [1e9fbfa]
|
|
38
|
+
- Updated dependencies [eabdcd9]
|
|
39
|
+
- Updated dependencies [90be034]
|
|
40
|
+
- Updated dependencies [99f050a]
|
|
41
|
+
- Updated dependencies [d0ee3c6]
|
|
42
|
+
- Updated dependencies [b2ae5aa]
|
|
43
|
+
- Updated dependencies [23f258c]
|
|
44
|
+
- Updated dependencies [a7292b0]
|
|
45
|
+
- Updated dependencies [0dcb9f0]
|
|
46
|
+
- Updated dependencies [2672a05]
|
|
47
|
+
- @mastra/core@0.10.0
|
|
48
|
+
|
|
3
49
|
## 0.2.0-alpha.1
|
|
4
50
|
|
|
5
51
|
### Minor Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -147,10 +147,10 @@ interface SaveMessageToMemoryParams {
|
|
|
147
147
|
}
|
|
148
148
|
type SaveMessageToMemoryResponse = MessageType[];
|
|
149
149
|
interface CreateMemoryThreadParams {
|
|
150
|
-
title
|
|
151
|
-
metadata
|
|
150
|
+
title?: string;
|
|
151
|
+
metadata?: Record<string, any>;
|
|
152
152
|
resourceId: string;
|
|
153
|
-
threadId
|
|
153
|
+
threadId?: string;
|
|
154
154
|
agentId: string;
|
|
155
155
|
}
|
|
156
156
|
type CreateMemoryThreadResponse = StorageThreadType;
|
package/dist/index.d.ts
CHANGED
|
@@ -147,10 +147,10 @@ interface SaveMessageToMemoryParams {
|
|
|
147
147
|
}
|
|
148
148
|
type SaveMessageToMemoryResponse = MessageType[];
|
|
149
149
|
interface CreateMemoryThreadParams {
|
|
150
|
-
title
|
|
151
|
-
metadata
|
|
150
|
+
title?: string;
|
|
151
|
+
metadata?: Record<string, any>;
|
|
152
152
|
resourceId: string;
|
|
153
|
-
threadId
|
|
153
|
+
threadId?: string;
|
|
154
154
|
agentId: string;
|
|
155
155
|
}
|
|
156
156
|
type CreateMemoryThreadResponse = StorageThreadType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/client-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.1-alpha.0",
|
|
4
4
|
"description": "The official TypeScript library for the Mastra Client API",
|
|
5
5
|
"author": "",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"zod": "^3.0.0",
|
|
34
|
-
"@mastra/core": "^0.
|
|
34
|
+
"@mastra/core": "^0.10.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@babel/preset-env": "^7.26.9",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"tsup": "^8.4.0",
|
|
43
43
|
"typescript": "^5.8.2",
|
|
44
44
|
"vitest": "^3.1.2",
|
|
45
|
-
"@internal/lint": "0.0.
|
|
46
|
-
"@mastra/core": "0.10.
|
|
45
|
+
"@internal/lint": "0.0.6",
|
|
46
|
+
"@mastra/core": "0.10.1-alpha.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting",
|
package/src/types.ts
CHANGED
|
@@ -177,10 +177,10 @@ export interface SaveMessageToMemoryParams {
|
|
|
177
177
|
export type SaveMessageToMemoryResponse = MessageType[];
|
|
178
178
|
|
|
179
179
|
export interface CreateMemoryThreadParams {
|
|
180
|
-
title
|
|
181
|
-
metadata
|
|
180
|
+
title?: string;
|
|
181
|
+
metadata?: Record<string, any>;
|
|
182
182
|
resourceId: string;
|
|
183
|
-
threadId
|
|
183
|
+
threadId?: string;
|
|
184
184
|
agentId: string;
|
|
185
185
|
}
|
|
186
186
|
|