@mastra/client-js 1.23.0-alpha.0 → 1.23.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/CHANGELOG.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # @mastra/client-js
2
2
 
3
+ ## 1.23.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`ae1fa3a`](https://github.com/mastra-ai/mastra/commit/ae1fa3a9c40510f1e068ffc2345cf09f9ee32b26)]:
8
+ - @mastra/core@1.40.0-alpha.0
9
+
10
+ ## 1.23.0
11
+
12
+ ### Minor Changes
13
+
14
+ - Added `GET /stored/agents/:storedAgentId/dependents` endpoint that lists agents ([#17183](https://github.com/mastra-ai/mastra/pull/17183))
15
+ referencing a stored agent as a sub-agent.
16
+
17
+ ```ts
18
+ const { dependents, hiddenCount } = await client.getStoredAgent(id).dependents();
19
+ // { dependents: [{ id: 'parent-1', name: 'Triager' }], hiddenCount: 2 }
20
+ ```
21
+
22
+ - `dependents` — caller-readable agents (public agents and the caller's own private
23
+ agents) with `id` + `name`.
24
+ - `hiddenCount` — cross-workspace dependents the caller cannot read, only surfaced
25
+ when the target agent is public.
26
+
27
+ Access mirrors `GET /stored/agents/:storedAgentId` — 404 when the caller cannot
28
+ read the target.
29
+
30
+ - Add experimental `agent.sendMessage()` and `agent.queueMessage()` helpers for the new message-first server routes. ([#17238](https://github.com/mastra-ai/mastra/pull/17238))
31
+
32
+ ### Patch Changes
33
+
34
+ - Improved agent message, stream, and observational-memory type handling across the client SDKs and playground UI. ([#17208](https://github.com/mastra-ai/mastra/pull/17208))
35
+
36
+ - Fixed subscribed client tools so browser-executed tool results continue through the existing thread subscription instead of opening and canceling a second stream. This prevents closed-stream errors in apps like Agent Builder when multiple client tools run during one response. ([#17532](https://github.com/mastra-ai/mastra/pull/17532))
37
+
38
+ - Updated dependencies [[`c973db4`](https://github.com/mastra-ai/mastra/commit/c973db428df1b564ff0c35d4b2a90e8f4f1e13fd), [`552285e`](https://github.com/mastra-ai/mastra/commit/552285e5af43cfc680a0972032cab8de8776c6a0), [`77e686c`](https://github.com/mastra-ai/mastra/commit/77e686c264e493e99ae5024e4dfe3ea5d5a09718), [`ece8dba`](https://github.com/mastra-ai/mastra/commit/ece8dba7ec1a5089eee8c33167cd762bfa91e509), [`e751af2`](https://github.com/mastra-ai/mastra/commit/e751af219433fbf4c7035b2d771b4c9ec8813b05), [`e2a8380`](https://github.com/mastra-ai/mastra/commit/e2a838017a7657850404c1e94c70d79ffdc6f14a), [`be3f1cd`](https://github.com/mastra-ai/mastra/commit/be3f1cd81f0e2a649e8eac15a024d542d814aef8), [`a34d9db`](https://github.com/mastra-ai/mastra/commit/a34d9dbc39fedb722f271318e9355ecee70489ab)]:
39
+ - @mastra/core@1.39.0
40
+
3
41
  ## 1.23.0-alpha.0
4
42
 
5
43
  ### Minor Changes
@@ -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.23.0-alpha.0"
6
+ version: "1.23.1-alpha.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.23.0-alpha.0",
2
+ "version": "1.23.1-alpha.0",
3
3
  "package": "@mastra/client-js",
4
4
  "exports": {
5
5
  "RequestContext": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/client-js",
3
- "version": "1.23.0-alpha.0",
3
+ "version": "1.23.1-alpha.0",
4
4
  "description": "The official TypeScript library for the Mastra Client API",
5
5
  "author": "",
6
6
  "type": "module",
@@ -39,7 +39,7 @@
39
39
  "canonicalize": "^1.0.8",
40
40
  "jose": "^6.2.1",
41
41
  "json-schema": "^0.4.0",
42
- "@mastra/core": "1.39.0-alpha.0",
42
+ "@mastra/core": "1.40.0-alpha.0",
43
43
  "@mastra/schema-compat": "1.2.11"
44
44
  },
45
45
  "peerDependencies": {
@@ -55,10 +55,10 @@
55
55
  "typescript": "^6.0.3",
56
56
  "vitest": "4.1.5",
57
57
  "zod": "^4.4.3",
58
- "@internal/ai-sdk-v5": "0.0.47",
59
- "@internal/ai-sdk-v4": "0.0.47",
60
- "@internal/lint": "0.0.100",
61
- "@internal/types-builder": "0.0.75"
58
+ "@internal/ai-sdk-v4": "0.0.48",
59
+ "@internal/ai-sdk-v5": "0.0.48",
60
+ "@internal/types-builder": "0.0.76",
61
+ "@internal/lint": "0.0.101"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=22.13.0"