@mastra/client-js 0.11.3-alpha.5 → 0.11.3-alpha.6
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/CHANGELOG.md +7 -0
- package/README.md +5 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 0.11.3-alpha.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`c19bcf7`](https://github.com/mastra-ai/mastra/commit/c19bcf7b43542b02157b5e17303e519933a153ab), [`b42a961`](https://github.com/mastra-ai/mastra/commit/b42a961a5aefd19d6e938a7705fc0ecc90e8f756), [`45e4d39`](https://github.com/mastra-ai/mastra/commit/45e4d391a2a09fc70c48e4d60f505586ada1ba0e), [`0302f50`](https://github.com/mastra-ai/mastra/commit/0302f50861a53c66ff28801fc371b37c5f97e41e), [`74db265`](https://github.com/mastra-ai/mastra/commit/74db265b96aa01a72ffd91dcae0bc3b346cca0f2), [`7f3b8da`](https://github.com/mastra-ai/mastra/commit/7f3b8da6dd21c35d3672e44b4f5dd3502b8f8f92), [`905352b`](https://github.com/mastra-ai/mastra/commit/905352bcda134552400eb252bca1cb05a7975c14), [`f2cda47`](https://github.com/mastra-ai/mastra/commit/f2cda47ae911038c5d5489f54c36517d6f15bdcc), [`cfd377a`](https://github.com/mastra-ai/mastra/commit/cfd377a3a33a9c88b644f6540feed9cd9832db47)]:
|
|
8
|
+
- @mastra/core@0.15.3-alpha.6
|
|
9
|
+
|
|
3
10
|
## 0.11.3-alpha.5
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -53,8 +53,10 @@ const client = new MastraClient({
|
|
|
53
53
|
- `getAgents()`: Get all available agents
|
|
54
54
|
- `getAgent(agentId)`: Get a specific agent instance
|
|
55
55
|
- `agent.details()`: Get agent details
|
|
56
|
-
- `agent.generate(params)`: Generate a response
|
|
57
|
-
- `agent.
|
|
56
|
+
- `agent.generate(params)`: Generate a response (deprecated)
|
|
57
|
+
- `agent.generateVNext(params)`: Improved API for generating a response
|
|
58
|
+
- `agent.stream(params)`: Stream a response (deprecated)
|
|
59
|
+
- `agent.streamVNext(params)`: Improved API for streaming a response
|
|
58
60
|
- `agent.getTool(toolId)`: Get agent tool details
|
|
59
61
|
- `agent.evals()`: Get agent evaluations
|
|
60
62
|
- `agent.liveEvals()`: Get live evaluations
|
|
@@ -82,7 +84,7 @@ const client = new MastraClient({
|
|
|
82
84
|
- `workflow.createRun()`: Create workflow run
|
|
83
85
|
- `workflow.createRunAsync()`: Create workflow run (alias)
|
|
84
86
|
- `workflow.startAsync(params)`: Execute the workflow and wait for execution results
|
|
85
|
-
- `workflow.resumeAsync(
|
|
87
|
+
- `workflow.resumeAsync(params)`: Resume suspended workflow step async
|
|
86
88
|
- `workflow.watch({runId},(record)=>{})`: Watch the step transitions of the workflow run
|
|
87
89
|
- `workflow.start({runId, triggerData})`: Start a workflow run sync
|
|
88
90
|
- `workflow.resume(params)`: Resume the workflow run sync
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/client-js",
|
|
3
|
-
"version": "0.11.3-alpha.
|
|
3
|
+
"version": "0.11.3-alpha.6",
|
|
4
4
|
"description": "The official TypeScript library for the Mastra Client API",
|
|
5
5
|
"author": "",
|
|
6
6
|
"type": "module",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"json-schema": "^0.4.0",
|
|
41
41
|
"rxjs": "7.8.1",
|
|
42
42
|
"zod-to-json-schema": "^3.24.6",
|
|
43
|
-
"@mastra/core": "0.15.3-alpha.
|
|
43
|
+
"@mastra/core": "0.15.3-alpha.6"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"zod": "^3.25.0 || ^4.0.0"
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"tsup": "^8.5.0",
|
|
59
59
|
"typescript": "^5.8.3",
|
|
60
60
|
"vitest": "^3.2.4",
|
|
61
|
-
"@internal/
|
|
62
|
-
"@internal/
|
|
61
|
+
"@internal/types-builder": "0.0.9",
|
|
62
|
+
"@internal/lint": "0.0.34"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"lint": "eslint .",
|