@mastra/mcp-docs-server 1.3.2-alpha.13 → 1.3.2-alpha.16
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/.docs/docs/agents/code-mode.md +1 -1
- package/.docs/docs/agents/processors.md +3 -3
- package/.docs/docs/agents/tools.md +3 -1
- package/.docs/docs/connections/acp.md +3 -3
- package/.docs/docs/connections/mcp.md +1 -1
- package/.docs/docs/deployment/workers.md +7 -2
- package/.docs/docs/develop.md +4 -4
- package/.docs/docs/evals/datasets.md +1 -1
- package/.docs/docs/evals/experiments.md +4 -4
- package/.docs/docs/evals/multi-turn.md +2 -2
- package/.docs/docs/evals/vitest-integration.md +1 -1
- package/.docs/docs/harness/agent-controller.md +5 -3
- package/.docs/docs/harness/background-tasks.md +2 -2
- package/.docs/docs/harness/goals.md +27 -4
- package/.docs/docs/harness/schedules.md +28 -1
- package/.docs/docs/harness/signals.md +2 -2
- package/.docs/docs/mastra-platform/deploy.md +1 -1
- package/.docs/docs/mastra-platform/environments.md +1 -1
- package/.docs/docs/mastra-platform/observability.md +1 -1
- package/.docs/docs/mastra-platform/workspaces.md +1 -1
- package/.docs/docs/memory/observational-memory.md +3 -3
- package/.docs/docs/memory/overview.md +1 -1
- package/.docs/docs/sandbox/skills.md +1 -1
- package/.docs/docs/server/pubsub.md +1 -1
- package/.docs/docs/server/server-adapters.md +1 -1
- package/.docs/docs/studio/auth.md +1 -1
- package/.docs/docs/workflows/dynamic-workflows.md +1 -1
- package/.docs/docs/workflows/overview.md +1 -1
- package/.docs/docs/workflows/scheduled-workflows.md +11 -7
- package/.docs/integrations/frameworks/nestjs.md +34 -1
- package/.docs/models/gateways/netlify.md +1 -1
- package/.docs/models/gateways/openrouter.md +2 -1
- package/.docs/models/gateways/vercel.md +3 -1
- package/.docs/models/index.md +212 -2
- package/.docs/models/providers/cortecs.md +1 -1
- package/.docs/models/providers/crossmodel.md +2 -1
- package/.docs/models/providers/edenai.md +5 -3
- package/.docs/models/providers/kilo.md +12 -12
- package/.docs/models/providers/llmgateway-providers.md +1 -3
- package/.docs/models/providers/nano-gpt.md +1 -6
- package/.docs/models/providers/ofox.md +2 -1
- package/.docs/models/providers/openai.md +2 -1
- package/.docs/models/providers/pioneer.md +3 -1
- package/.docs/models/providers/requesty.md +3 -1
- package/.docs/models/providers/scaleway.md +2 -1
- package/.docs/models/providers/tempr.md +7 -1
- package/.docs/reference/agents/channels.md +3 -1
- package/.docs/reference/agents/durable-agent.md +1 -1
- package/.docs/reference/channels/teams-provider.md +189 -0
- package/.docs/reference/client-js/agent-controller.md +1 -1
- package/.docs/reference/datasets/finalizeExperiment.md +1 -1
- package/.docs/reference/file-based-agents/logger.md +1 -1
- package/.docs/reference/file-based-agents/schedules.md +3 -3
- package/.docs/reference/file-based-agents/workspace.md +1 -1
- package/.docs/reference/index.md +1 -0
- package/.docs/reference/migrations/mcp-v2.md +1 -1
- package/.docs/reference/observability/tracing/interfaces.md +1 -1
- package/.docs/reference/observability/tracing/trace-query.md +37 -16
- package/.docs/reference/processors/model-selection-processor.md +1 -1
- package/.docs/reference/processors/tool-search-processor.md +1 -1
- package/.docs/reference/pubsub/google-cloud-pubsub.md +1 -1
- package/.docs/reference/pubsub/redis-streams.md +3 -3
- package/.docs/reference/rag/graph-rag.md +1 -1
- package/.docs/reference/storage/retention.md +1 -1
- package/.docs/reference/workers/overview.md +3 -1
- package/.docs/reference/workflows/workflow.md +1 -1
- package/.docs/reference/workspace/platform-sandbox.md +1 -1
- package/.docs/reference/workspace/sandbox.md +1 -1
- package/.docs/reference/workspace/workspace-class.md +1 -1
- package/package.json +4 -4
|
@@ -103,7 +103,7 @@ export const testWorkflow = createWorkflow({
|
|
|
103
103
|
|
|
104
104
|
**requestContextSchema** (`StandardJSONSchemaV1`): Standard JSON Schema for validating request context values. When provided, the context is validated at the start of run.start(), throwing an error if validation fails.
|
|
105
105
|
|
|
106
|
-
**schedule** (`WorkflowScheduleConfig | WorkflowScheduleConfig[]`): Optional cron schedule for the workflow. Accepts a single config or an array of configs to fire on multiple cadences.
|
|
106
|
+
**schedule** (`WorkflowScheduleConfig | WorkflowScheduleConfig[]`): Optional cron schedule for the workflow. Accepts a single config or an array of configs to fire on multiple cadences. Declaring a schedule keeps the execution engine unchanged unless the MASTRA\_WORKERS environment variable is set, in which case the workflow runs on the evented engine. See the scheduled workflows guide for usage.
|
|
107
107
|
|
|
108
108
|
**schedule.id** (`string`): Stable identifier for the schedule. Required when passing an array of schedules. Defaults to the workflow id when passing a single schedule object.
|
|
109
109
|
|
|
@@ -227,7 +227,7 @@ await sandbox.snapshot()
|
|
|
227
227
|
|
|
228
228
|
Each `id` maps to one independent filesystem. Reusing the same `id` across unrelated sandboxes causes the platform to boot them from each other's checkpoint.
|
|
229
229
|
|
|
230
|
-
Set `seedCheckpointName` to provide a boot-only fallback when the checkpoint for `id` doesn't exist yet. The platform restores the checkpoint for `id` first when both exist. Later snapshots continue writing to the checkpoint for `id
|
|
230
|
+
Set `seedCheckpointName` to provide a boot-only fallback when the checkpoint for `id` doesn't exist yet. The platform restores the checkpoint for `id` first when both exist. Later snapshots continue writing to the checkpoint for `id`. The seed remains unchanged.
|
|
231
231
|
|
|
232
232
|
```typescript
|
|
233
233
|
const sandbox = new PlatformSandbox({
|
|
@@ -67,7 +67,7 @@ new E2BSandbox({
|
|
|
67
67
|
|
|
68
68
|
Semantics:
|
|
69
69
|
|
|
70
|
-
- A thrown error is fatal: `start()` rejects with the hook's error and the sandbox is marked `error
|
|
70
|
+
- A thrown error is fatal: `start()` rejects with the hook's error and the sandbox is marked `error`. A caller never observes a running sandbox whose setup hook failed. Nothing is latched, and the next `start()` (including the one triggered by the next lazy command) retries the hook. `onStop` and `onDestroy` remain non-fatal observers, because teardown proceeds best-effort.
|
|
71
71
|
- `outcome` distinguishes the branches: `'created'` means this start provisioned a fresh VM (run setup), `'connected'` means it reconnected or resumed (setup normally already ran, so probe when the hook must self-heal a crash between create and setup-complete). `undefined` means the provider doesn't report.
|
|
72
72
|
- Keep setup work idempotent. A hook re-runs whenever a probe decides it should, and a checkpoint-recovered fresh VM reports `outcome: 'created'`.
|
|
73
73
|
- The sandbox status flips to `running` before the hook executes (the hook runs commands through the sandbox's own command path), so commands issued concurrently through `ensureRunning()` can interleave with it. Callers awaiting the original `start()` always observe a sandbox whose hook finished.
|
|
@@ -253,7 +253,7 @@ await workspace.stop()
|
|
|
253
253
|
|
|
254
254
|
`stop()` shuts down language servers and the browser before stopping the sandbox provider. Remote providers suspend or pause the sandbox for later resumption, while `LocalSandbox` kills background processes and unmounts filesystems. Stopping isn't a teardown. The filesystem and search index remain available along with skills, and the next sandbox operation starts the sandbox again.
|
|
255
255
|
|
|
256
|
-
`mastra.shutdown()` calls `stop()` for registered workspaces
|
|
256
|
+
`mastra.shutdown()` calls `stop()` for registered workspaces. A process restart suspends remote sandboxes instead of deleting them. To fully tear a workspace down, call `destroy()` or `mastra.removeWorkspace(id, { destroy: true })` explicitly.
|
|
257
257
|
|
|
258
258
|
#### `destroy()`
|
|
259
259
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.3.2-alpha.
|
|
3
|
+
"version": "1.3.2-alpha.16",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"@mastra/mcp-legacy": "npm:@mastra/mcp@^1.18.0",
|
|
27
27
|
"local-pkg": "^1.1.2",
|
|
28
28
|
"zod": "^4.6.4",
|
|
29
|
-
"@mastra/
|
|
30
|
-
"@mastra/
|
|
29
|
+
"@mastra/core": "1.72.0-alpha.10",
|
|
30
|
+
"@mastra/mcp": "^2.1.1-alpha.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@hono/node-server": "^2.0.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"vitest": "4.1.11",
|
|
46
46
|
"@internal/lint": "0.0.137",
|
|
47
47
|
"@internal/types-builder": "0.0.112",
|
|
48
|
-
"@mastra/core": "1.72.0-alpha.
|
|
48
|
+
"@mastra/core": "1.72.0-alpha.10"
|
|
49
49
|
},
|
|
50
50
|
"homepage": "https://mastra.ai",
|
|
51
51
|
"repository": {
|