@mastra/server 1.32.1 → 1.33.0-alpha.1
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 +32 -0
- package/dist/{chunk-ALUAG74N.js → chunk-3KIFZFY7.js} +575 -23
- package/dist/chunk-3KIFZFY7.js.map +1 -0
- package/dist/{chunk-F35U36E2.cjs → chunk-44K6EWHN.cjs} +20 -20
- package/dist/{chunk-F35U36E2.cjs.map → chunk-44K6EWHN.cjs.map} +1 -1
- package/dist/{chunk-ZW7DMFEG.cjs → chunk-BBX7Q7UG.cjs} +79 -4
- package/dist/chunk-BBX7Q7UG.cjs.map +1 -0
- package/dist/{chunk-3TFM333T.cjs → chunk-CJ2LC5EE.cjs} +578 -22
- package/dist/chunk-CJ2LC5EE.cjs.map +1 -0
- package/dist/{chunk-MQVBXOMA.js → chunk-DTCRA7JS.js} +5 -5
- package/dist/{chunk-MQVBXOMA.js.map → chunk-DTCRA7JS.js.map} +1 -1
- package/dist/{chunk-4HRTLLE6.js → chunk-S65AMBAF.js} +79 -4
- package/dist/chunk-S65AMBAF.js.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/{observational-memory-FBBKXNO5-I7J47ELO.js → observational-memory-KH7G7Y6B-QKEOJZME.js} +3 -3
- package/dist/{observational-memory-FBBKXNO5-I7J47ELO.js.map → observational-memory-KH7G7Y6B-QKEOJZME.js.map} +1 -1
- package/dist/{observational-memory-FBBKXNO5-3V6BP5K3.cjs → observational-memory-KH7G7Y6B-Y3XQXW3K.cjs} +26 -26
- package/dist/{observational-memory-FBBKXNO5-3V6BP5K3.cjs.map → observational-memory-KH7G7Y6B-Y3XQXW3K.cjs.map} +1 -1
- package/dist/server/a2a/push-notification-sender.d.ts +25 -0
- package/dist/server/a2a/push-notification-sender.d.ts.map +1 -0
- package/dist/server/a2a/push-notification-store.d.ts +22 -0
- package/dist/server/a2a/push-notification-store.d.ts.map +1 -0
- package/dist/server/handlers/a2a.cjs +26 -10
- package/dist/server/handlers/a2a.d.ts +44 -6
- package/dist/server/handlers/a2a.d.ts.map +1 -1
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +16 -16
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers.cjs +4 -4
- package/dist/server/handlers.js +2 -2
- package/dist/server/server-adapter/index.cjs +18 -18
- package/dist/server/server-adapter/index.js +2 -2
- package/package.json +8 -7
- package/dist/chunk-3TFM333T.cjs.map +0 -1
- package/dist/chunk-4HRTLLE6.js.map +0 -1
- package/dist/chunk-ALUAG74N.js.map +0 -1
- package/dist/chunk-ZW7DMFEG.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @mastra/server
|
|
2
2
|
|
|
3
|
+
## 1.33.0-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`dccd8f1`](https://github.com/mastra-ai/mastra/commit/dccd8f1f8b8f1ad203b77556207e5529567c616d)]:
|
|
8
|
+
- @mastra/core@1.33.0-alpha.1
|
|
9
|
+
|
|
10
|
+
## 1.33.0-alpha.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- Added in-memory A2A push notification support for task updates. ([#16175](https://github.com/mastra-ai/mastra/pull/16175))
|
|
15
|
+
|
|
16
|
+
Clients can now register push notification configs with `message/send`, `message/stream`, or the `tasks/pushNotificationConfig/*` methods. The server advertises push notification support in the agent card and sends the current task snapshot to registered webhooks when a task reaches `completed`, `failed`, `canceled`, or `input-required`.
|
|
17
|
+
|
|
18
|
+
Webhook delivery validates the configured URL and pins outbound delivery to the validated address to reduce DNS rebinding risk. This remains in-memory and best-effort; operators should still use normal egress controls and avoid exposing push delivery to networks with sensitive internal services unless they trust the configured webhook targets.
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
await a2a.setTaskPushNotificationConfig({
|
|
22
|
+
taskId: 'task-123',
|
|
23
|
+
pushNotificationConfig: {
|
|
24
|
+
url: 'https://example.com/a2a-webhook',
|
|
25
|
+
token: 'session-token',
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [[`ac47842`](https://github.com/mastra-ai/mastra/commit/ac478427aa7a5f5fdaed633a911218689b438c60)]:
|
|
33
|
+
- @mastra/core@1.33.0-alpha.0
|
|
34
|
+
|
|
3
35
|
## 1.32.1
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|