@mastra/server 1.56.0 → 1.57.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/_types/@internal_voice/dist/_types/@internal_core/dist/request-context/index.d.ts +16 -6
- package/dist/_types/@mastra_schema-compat/dist/provider-compats/anthropic.d.ts +1 -0
- package/dist/{dist-Epz-mpJn.js → dist-DRyzA92e.js} +10 -3
- package/dist/dist-DRyzA92e.js.map +1 -0
- package/dist/{dist-CpDWlJbf.cjs → dist-DhFw0bEW.cjs} +10 -3
- package/dist/dist-DhFw0bEW.cjs.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-agents-a2a.md +1 -1
- package/dist/route-builder-CIk5k35M.js.map +1 -1
- package/dist/route-builder-CgLVYL1c.cjs.map +1 -1
- package/dist/server/handlers/agent-builder.cjs +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/error.cjs +9 -0
- package/dist/server/handlers/error.cjs.map +1 -1
- package/dist/server/handlers/error.d.ts.map +1 -1
- package/dist/server/handlers/error.js +9 -0
- package/dist/server/handlers/error.js.map +1 -1
- package/dist/server/handlers/workflows.cjs +14 -0
- package/dist/server/handlers/workflows.cjs.map +1 -1
- package/dist/server/handlers/workflows.d.ts.map +1 -1
- package/dist/server/handlers/workflows.js +14 -0
- package/dist/server/handlers/workflows.js.map +1 -1
- package/dist/server/server-adapter/index.cjs +16 -0
- package/dist/server/server-adapter/index.cjs.map +1 -1
- package/dist/server/server-adapter/index.d.ts +2 -0
- package/dist/server/server-adapter/index.d.ts.map +1 -1
- package/dist/server/server-adapter/index.js +17 -1
- package/dist/server/server-adapter/index.js.map +1 -1
- package/package.json +7 -7
- package/dist/dist-CpDWlJbf.cjs.map +0 -1
- package/dist/dist-Epz-mpJn.js.map +0 -1
package/dist/docs/SKILL.md
CHANGED
|
@@ -68,7 +68,7 @@ Use `A2AAgent` when another Mastra agent should delegate work to a remote agent.
|
|
|
68
68
|
|
|
69
69
|
## Consume A2A agents as subagents
|
|
70
70
|
|
|
71
|
-
Use `A2AAgent` to wrap a remote A2A agent, then add it to a parent agent with the [supervisor agents](https://mastra.ai/docs/
|
|
71
|
+
Use `A2AAgent` to wrap a remote A2A agent, then add it to a parent agent with the [supervisor agents](https://mastra.ai/docs/capabilities/subagents) pattern. Pass an explicit agent card URL when the remote server hosts multiple agents or uses a custom well-known path.
|
|
72
72
|
|
|
73
73
|
```typescript
|
|
74
74
|
import { Agent } from '@mastra/core/agent'
|