@mastra/client-js 1.44.0 → 1.44.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/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.44.0"
|
|
6
|
+
version: "1.44.1-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -22,7 +22,7 @@ Use the Agent Controller when your application needs:
|
|
|
22
22
|
- Subagent orchestration to delegate focused subtasks with constrained tools
|
|
23
23
|
- Persistent threads and selected thread settings across restarts, with isolated live state for each Session
|
|
24
24
|
|
|
25
|
-
You could assemble all of this yourself on top of the [Agent class](https://mastra.ai/docs/agents/overview), which exposes the full agent loop, tools, and memory. The AgentController provides opinionated defaults for an ongoing session where the agent acts as a collaborator rather than a one-shot endpoint.
|
|
25
|
+
You could assemble all of this yourself on top of the [Agent class](https://mastra.ai/docs/agents/overview), which exposes the full agent loop, tools, and memory. The AgentController provides opinionated defaults for an ongoing session where the agent acts as a collaborator rather than a one-shot endpoint. Use the Agent class directly for full control or request-response calls. Choose AgentController for ongoing sessions without building your own session runtime.
|
|
26
26
|
|
|
27
27
|
## Quickstart
|
|
28
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/client-js",
|
|
3
|
-
"version": "1.44.0",
|
|
3
|
+
"version": "1.44.1-alpha.0",
|
|
4
4
|
"description": "The official TypeScript library for the Mastra Client API",
|
|
5
5
|
"author": "",
|
|
6
6
|
"type": "module",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"canonicalize": "^1.0.8",
|
|
39
39
|
"jose": "^6.2.1",
|
|
40
40
|
"json-schema": "^0.4.0",
|
|
41
|
-
"@mastra/
|
|
42
|
-
"@mastra/
|
|
41
|
+
"@mastra/core": "1.66.0-alpha.0",
|
|
42
|
+
"@mastra/schema-compat": "1.3.9"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"zod": "^3.25.0 || ^4.0.0"
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vitest": "4.1.10",
|
|
57
57
|
"zod": "^4.4.3",
|
|
58
58
|
"@internal/ai-sdk-v5": "0.0.78",
|
|
59
|
+
"@internal/ai-sdk-v4": "0.0.78",
|
|
59
60
|
"@internal/lint": "0.0.131",
|
|
60
|
-
"@internal/types-builder": "0.0.106"
|
|
61
|
-
"@internal/ai-sdk-v4": "0.0.78"
|
|
61
|
+
"@internal/types-builder": "0.0.106"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=22.13.0"
|