@mastra/client-js 1.13.3-alpha.1 → 1.13.4-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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 1.13.4-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`87df955`](https://github.com/mastra-ai/mastra/commit/87df955c028660c075873fd5d74af28233ce32eb), [`075e91a`](https://github.com/mastra-ai/mastra/commit/075e91a4549baf46ad7a42a6a8ac8dfa78cc09e6)]:
|
|
8
|
+
- @mastra/core@1.24.2-alpha.0
|
|
9
|
+
|
|
10
|
+
## 1.13.3
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`ef94400`](https://github.com/mastra-ai/mastra/commit/ef9440049402596b31f2ab976c5e4508f6cb6c91), [`3db852b`](https://github.com/mastra-ai/mastra/commit/3db852bff74e29f60d415a7b0f1583d6ce2bad92)]:
|
|
15
|
+
- @mastra/core@1.24.1
|
|
16
|
+
|
|
3
17
|
## 1.13.3-alpha.1
|
|
4
18
|
|
|
5
19
|
### Patch 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.13.
|
|
6
|
+
version: "1.13.4-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -445,20 +445,6 @@ console.log(result.success) // true
|
|
|
445
445
|
|
|
446
446
|
Both `Agent` (code-defined) and `StoredAgent` instances have methods for managing configuration versions. See the [Editor overview](https://mastra.ai/docs/editor/overview) for an introduction to version management.
|
|
447
447
|
|
|
448
|
-
### Server endpoints
|
|
449
|
-
|
|
450
|
-
Version management is also available through the stored agents REST API:
|
|
451
|
-
|
|
452
|
-
| Method | Endpoint | Description |
|
|
453
|
-
| -------- | ------------------------------------------------------------ | --------------------------------------- |
|
|
454
|
-
| `GET` | `/stored/agents/:agentId/versions` | List all versions. |
|
|
455
|
-
| `POST` | `/stored/agents/:agentId/versions` | Create a new version. |
|
|
456
|
-
| `GET` | `/stored/agents/:agentId/versions/:versionId` | Get a specific version. |
|
|
457
|
-
| `POST` | `/stored/agents/:agentId/versions/:versionId/activate` | Set the active version. |
|
|
458
|
-
| `POST` | `/stored/agents/:agentId/versions/:versionId/restore` | Restore a version (creates a new copy). |
|
|
459
|
-
| `DELETE` | `/stored/agents/:agentId/versions/:versionId` | Delete a version. |
|
|
460
|
-
| `GET` | `/stored/agents/:agentId/versions/compare?from=<id>&to=<id>` | Compare two versions. |
|
|
461
|
-
|
|
462
448
|
### Getting an agent with a specific version
|
|
463
449
|
|
|
464
450
|
Pass a version identifier when getting an agent:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/client-js",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.4-alpha.0",
|
|
4
4
|
"description": "The official TypeScript library for the Mastra Client API",
|
|
5
5
|
"author": "",
|
|
6
6
|
"type": "module",
|
|
@@ -37,7 +37,7 @@
|
|
|
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/core": "1.24.
|
|
40
|
+
"@mastra/core": "1.24.2-alpha.0",
|
|
41
41
|
"@mastra/schema-compat": "1.2.7"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"typescript": "^5.9.3",
|
|
54
54
|
"vitest": "4.0.18",
|
|
55
55
|
"zod": "^4.3.6",
|
|
56
|
-
"@internal/ai-sdk-v5": "0.0.
|
|
57
|
-
"@internal/ai-sdk-v4": "0.0.
|
|
58
|
-
"@internal/lint": "0.0.
|
|
59
|
-
"@internal/types-builder": "0.0.
|
|
56
|
+
"@internal/ai-sdk-v5": "0.0.29",
|
|
57
|
+
"@internal/ai-sdk-v4": "0.0.29",
|
|
58
|
+
"@internal/lint": "0.0.82",
|
|
59
|
+
"@internal/types-builder": "0.0.57"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=22.13.0"
|