@mastra/client-js 1.12.0-alpha.0 → 1.12.0-alpha.1
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,12 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 1.12.0-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`13f4327`](https://github.com/mastra-ai/mastra/commit/13f4327f052faebe199cefbe906d33bf90238767)]:
|
|
8
|
+
- @mastra/core@1.21.0-alpha.1
|
|
9
|
+
|
|
3
10
|
## 1.12.0-alpha.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-client-js
|
|
|
3
3
|
description: Documentation for @mastra/client-js. Use when working with @mastra/client-js APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/client-js"
|
|
6
|
-
version: "1.12.0-alpha.
|
|
6
|
+
version: "1.12.0-alpha.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -137,7 +137,7 @@ Use `text.format` when you want JSON output.
|
|
|
137
137
|
- `json_object` enables JSON mode.
|
|
138
138
|
- `json_schema` enables schema-constrained structured output.
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
Both formats return JSON in the assistant message content. Use `json_schema` when you need strict schema enforcement. Use `json_object` when you only need valid JSON output.
|
|
141
141
|
|
|
142
142
|
```typescript
|
|
143
143
|
const response = await client.responses.create({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/client-js",
|
|
3
|
-
"version": "1.12.0-alpha.
|
|
3
|
+
"version": "1.12.0-alpha.1",
|
|
4
4
|
"description": "The official TypeScript library for the Mastra Client API",
|
|
5
5
|
"author": "",
|
|
6
6
|
"type": "module",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@ai-sdk/ui-utils": "^1.2.11",
|
|
38
38
|
"@lukeed/uuid": "^2.0.1",
|
|
39
39
|
"json-schema": "^0.4.0",
|
|
40
|
-
"@mastra/
|
|
41
|
-
"@mastra/
|
|
40
|
+
"@mastra/core": "1.21.0-alpha.1",
|
|
41
|
+
"@mastra/schema-compat": "1.2.7"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"zod": "^3.25.0 || ^4.0.0"
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"vitest": "4.0.18",
|
|
55
55
|
"zod": "^4.3.6",
|
|
56
56
|
"@internal/ai-sdk-v4": "0.0.24",
|
|
57
|
+
"@internal/lint": "0.0.77",
|
|
57
58
|
"@internal/ai-sdk-v5": "0.0.24",
|
|
58
|
-
"@internal/types-builder": "0.0.52"
|
|
59
|
-
"@internal/lint": "0.0.77"
|
|
59
|
+
"@internal/types-builder": "0.0.52"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=22.13.0"
|