@mastra/client-js 0.11.3-alpha.4 → 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 CHANGED
@@ -1,5 +1,21 @@
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
+
10
+ ## 0.11.3-alpha.5
11
+
12
+ ### Patch Changes
13
+
14
+ - [#7343](https://github.com/mastra-ai/mastra/pull/7343) [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e) Thanks [@LekoArts](https://github.com/LekoArts)! - Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
15
+
16
+ - Updated dependencies [[`85ef90b`](https://github.com/mastra-ai/mastra/commit/85ef90bb2cd4ae4df855c7ac175f7d392c55c1bf), [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e)]:
17
+ - @mastra/core@0.15.3-alpha.5
18
+
3
19
  ## 0.11.3-alpha.4
4
20
 
5
21
  ### 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.stream(params)`: Stream a response
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(parmas)`: Resume suspended workflow step async
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.4",
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",
@@ -25,10 +25,13 @@
25
25
  },
26
26
  "repository": {
27
27
  "type": "git",
28
- "url": "https://github.com/mastra-ai/mastra.git",
28
+ "url": "git+https://github.com/mastra-ai/mastra.git",
29
29
  "directory": "client-sdks/client-js"
30
30
  },
31
- "homepage": "https://github.com/mastra-ai/mastra/tree/main/client-sdks/client-js#readme",
31
+ "bugs": {
32
+ "url": "https://github.com/mastra-ai/mastra/issues"
33
+ },
34
+ "homepage": "https://mastra.ai",
32
35
  "license": "Apache-2.0",
33
36
  "dependencies": {
34
37
  "@ag-ui/client": "^0.0.35",
@@ -37,7 +40,7 @@
37
40
  "json-schema": "^0.4.0",
38
41
  "rxjs": "7.8.1",
39
42
  "zod-to-json-schema": "^3.24.6",
40
- "@mastra/core": "0.15.3-alpha.4"
43
+ "@mastra/core": "0.15.3-alpha.6"
41
44
  },
42
45
  "peerDependencies": {
43
46
  "zod": "^3.25.0 || ^4.0.0"