@mastra/server 1.27.0-alpha.2 → 1.27.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 +13 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @mastra/server
|
|
2
2
|
|
|
3
|
+
## 1.27.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Forward `requestContext` from the `/approve-tool-call`, `/decline-tool-call`, `/approve-tool-call-generate` and `/decline-tool-call-generate` REST handlers to `agent.approveToolCall(...)` / `declineToolCall(...)` / `approveToolCallGenerate(...)` / `declineToolCallGenerate(...)`. ([#15620](https://github.com/mastra-ai/mastra/pull/15620))
|
|
8
|
+
|
|
9
|
+
Previously `requestContext` was destructured from the handler arguments but never passed through. On resume, `dynamicInstructions` ran with `requestContext: undefined`, so any value placed on the per-request `RequestContext` by upstream middleware (or by `body.requestContext` auto-merge) was lost for the rest of the turn. Agents whose prompt assembly depends on request-scoped data (e.g. read-only state from the frontend) produced blank or placeholder responses after the user approved a HITL tool call. Other agent entry points (`stream`, `generate`) already forwarded `requestContext` correctly; this brings the approval routes in line.
|
|
10
|
+
|
|
11
|
+
- Fixed screencast panel staying "Live" after browser closes due to an error. The `ViewerRegistry` now broadcasts `browser_closed` status when a screencast stream emits an error, not just when it stops cleanly. ([#15415](https://github.com/mastra-ai/mastra/pull/15415))
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`f112db1`](https://github.com/mastra-ai/mastra/commit/f112db179557ae9b5a0f1d25dc47f928d7d61cd9), [`21d9706`](https://github.com/mastra-ai/mastra/commit/21d970604d89eee970cbf8013d26d7551aff6ea5), [`0a0aa94`](https://github.com/mastra-ai/mastra/commit/0a0aa94729592e99885af2efb90c56aaada62247), [`ed07df3`](https://github.com/mastra-ai/mastra/commit/ed07df32a9d539c8261e892fc1bade783f5b41a6), [`01a7d51`](https://github.com/mastra-ai/mastra/commit/01a7d513493d21562f677f98550f7ceb165ba78c)]:
|
|
14
|
+
- @mastra/core@1.27.0
|
|
15
|
+
|
|
3
16
|
## 1.27.0-alpha.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/docs/SKILL.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "1.27.0
|
|
3
|
+
"version": "1.27.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -112,14 +112,14 @@
|
|
|
112
112
|
"typescript": "^5.9.3",
|
|
113
113
|
"vitest": "4.1.4",
|
|
114
114
|
"zod": "^4.3.6",
|
|
115
|
-
"@internal/lint": "0.0.84",
|
|
116
115
|
"@internal/core": "0.0.0",
|
|
117
|
-
"@internal/
|
|
118
|
-
"@internal/
|
|
119
|
-
"@
|
|
120
|
-
"@mastra/
|
|
121
|
-
"@internal/
|
|
122
|
-
"@mastra/
|
|
116
|
+
"@internal/lint": "0.0.85",
|
|
117
|
+
"@internal/storage-test-utils": "0.0.81",
|
|
118
|
+
"@internal/test-utils": "0.0.21",
|
|
119
|
+
"@mastra/agent-builder": "1.0.28",
|
|
120
|
+
"@internal/types-builder": "0.0.60",
|
|
121
|
+
"@mastra/core": "1.27.0",
|
|
122
|
+
"@mastra/schema-compat": "1.2.9"
|
|
123
123
|
},
|
|
124
124
|
"homepage": "https://mastra.ai",
|
|
125
125
|
"repository": {
|