@mastra/server 1.39.0-alpha.0 → 1.39.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,34 @@
1
1
  # @mastra/server
2
2
 
3
+ ## 1.39.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Added `GET /stored/agents/:storedAgentId/dependents` endpoint that lists agents ([#17183](https://github.com/mastra-ai/mastra/pull/17183))
8
+ referencing a stored agent as a sub-agent.
9
+
10
+ ```ts
11
+ const { dependents, hiddenCount } = await client.getStoredAgent(id).dependents();
12
+ // { dependents: [{ id: 'parent-1', name: 'Triager' }], hiddenCount: 2 }
13
+ ```
14
+
15
+ - `dependents` — caller-readable agents (public agents and the caller's own private
16
+ agents) with `id` + `name`.
17
+ - `hiddenCount` — cross-workspace dependents the caller cannot read, only surfaced
18
+ when the target agent is public.
19
+
20
+ Access mirrors `GET /stored/agents/:storedAgentId` — 404 when the caller cannot
21
+ read the target.
22
+
23
+ ### Patch Changes
24
+
25
+ - Fixed memory status incorrectly reporting memory as enabled for agents without memory configured. The /api/memory/status endpoint now returns false for a resolved agent that has no memory, even when the Mastra instance has storage configured. Previously, Studio would render memory UI for such agents. ([#17506](https://github.com/mastra-ai/mastra/pull/17506))
26
+
27
+ - 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))
28
+
29
+ - 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)]:
30
+ - @mastra/core@1.39.0
31
+
3
32
  ## 1.39.0-alpha.0
4
33
 
5
34
  ### Minor Changes
@@ -3,7 +3,7 @@ name: mastra-server
3
3
  description: Documentation for @mastra/server. Use when working with @mastra/server APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/server"
6
- version: "1.39.0-alpha.0"
6
+ version: "1.39.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.39.0-alpha.0",
2
+ "version": "1.39.0",
3
3
  "package": "@mastra/server",
4
4
  "exports": {},
5
5
  "modules": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "1.39.0-alpha.0",
3
+ "version": "1.39.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -115,14 +115,14 @@
115
115
  "zod": "^4.4.3",
116
116
  "zod-to-ts": "^2.0.0",
117
117
  "@internal/core": "0.0.0",
118
- "@internal/lint": "0.0.100",
119
- "@internal/storage-test-utils": "0.0.96",
120
- "@internal/test-utils": "0.0.36",
121
- "@internal/voice": "0.0.1",
122
- "@mastra/agent-builder": "1.0.40-alpha.0",
123
- "@internal/types-builder": "0.0.75",
124
- "@mastra/core": "1.39.0-alpha.0",
125
- "@mastra/schema-compat": "1.2.11"
118
+ "@internal/storage-test-utils": "0.0.97",
119
+ "@internal/lint": "0.0.101",
120
+ "@internal/test-utils": "0.0.37",
121
+ "@internal/voice": "0.0.2",
122
+ "@mastra/agent-builder": "1.0.40",
123
+ "@internal/types-builder": "0.0.76",
124
+ "@mastra/schema-compat": "1.2.11",
125
+ "@mastra/core": "1.39.0"
126
126
  },
127
127
  "homepage": "https://mastra.ai",
128
128
  "repository": {