@mastra/mcp-docs-server 1.3.2-alpha.10 → 1.3.2-alpha.12
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/human-in-the-loop.md +4 -2
- package/.docs/docs/evals/evals-with-memory.md +7 -6
- package/.docs/docs/harness/agent-controller.md +1 -1
- package/.docs/docs/workflows/control-flow.md +4 -1
- package/.docs/models/environment-variables.md +2 -0
- package/.docs/models/gateways/netlify.md +2 -5
- package/.docs/models/gateways/openrouter.md +2 -2
- package/.docs/models/gateways/vercel.md +3 -3
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/302ai.md +5 -1
- package/.docs/models/providers/alibaba-cn.md +2 -1
- package/.docs/models/providers/alibaba-coding-plan-cn.md +1 -3
- package/.docs/models/providers/alibaba-coding-plan.md +1 -3
- package/.docs/models/providers/alibaba.md +5 -2
- package/.docs/models/providers/ambient.md +3 -1
- package/.docs/models/providers/bee.md +82 -0
- package/.docs/models/providers/coralbricks.md +2 -3
- package/.docs/models/providers/deepinfra.md +2 -1
- package/.docs/models/providers/edenai.md +2 -1
- package/.docs/models/providers/kilo.md +14 -14
- package/.docs/models/providers/llmgateway-providers.md +23 -11
- package/.docs/models/providers/llmgateway.md +15 -8
- package/.docs/models/providers/minimax-cn-coding-plan.md +12 -11
- package/.docs/models/providers/minimax-coding-plan.md +12 -11
- package/.docs/models/providers/nan.md +3 -2
- package/.docs/models/providers/nano-gpt.md +3 -1
- package/.docs/models/providers/nvidia.md +0 -46
- package/.docs/models/providers/openai.md +43 -41
- package/.docs/models/providers/opencode-go.md +1 -5
- package/.docs/models/providers/opencode.md +1 -1
- package/.docs/models/providers/pareto.md +77 -0
- package/.docs/models/providers/privatemode-ai.md +2 -2
- package/.docs/models/providers/requesty.md +3 -1
- package/.docs/models/providers/tempr.md +20 -2
- package/.docs/models/providers/umans-ai-coding-plan.md +1 -1
- package/.docs/models/providers/umans-ai.md +1 -1
- package/.docs/models/providers.md +2 -0
- package/.docs/reference/agent-controller/session.md +5 -5
- package/.docs/reference/classifier/classifier.md +47 -5
- package/.docs/reference/code-sdk/acp-server.md +101 -0
- package/.docs/reference/configuration.md +4 -1
- package/.docs/reference/evals/create-classifier-scorer.md +4 -1
- package/.docs/reference/index.md +1 -0
- package/.docs/reference/processors/classifier-processor.md +14 -4
- package/.docs/reference/processors/model-selection-processor.md +14 -5
- package/.docs/reference/workflows/step.md +4 -1
- package/package.json +4 -4
|
@@ -155,11 +155,14 @@ Pass a [`Classifier`](https://mastra.ai/reference/classifier/classifier) with co
|
|
|
155
155
|
|
|
156
156
|
```typescript
|
|
157
157
|
import { Classifier } from '@mastra/core/classifier'
|
|
158
|
+
import { createTypeSafeAi } from '@ai-sdk/typesafe-ai'
|
|
158
159
|
import { createStep } from '@mastra/core/workflows'
|
|
159
160
|
|
|
160
161
|
const router = new Classifier({
|
|
161
162
|
id: 'ticket-router',
|
|
162
|
-
model
|
|
163
|
+
model: createTypeSafeAi({ apiKey: process.env.TYPESAFE_AI_API_KEY }).evaluationModel(
|
|
164
|
+
'jev-latest',
|
|
165
|
+
),
|
|
163
166
|
questions: {
|
|
164
167
|
route: {
|
|
165
168
|
type: 'choice',
|
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.12",
|
|
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/mcp": "^2.1.0",
|
|
30
|
-
"@mastra/core": "1.72.0-alpha.
|
|
29
|
+
"@mastra/mcp": "^2.1.1-alpha.0",
|
|
30
|
+
"@mastra/core": "1.72.0-alpha.7"
|
|
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/types-builder": "0.0.112",
|
|
47
47
|
"@internal/lint": "0.0.137",
|
|
48
|
-
"@mastra/core": "1.72.0-alpha.
|
|
48
|
+
"@mastra/core": "1.72.0-alpha.7"
|
|
49
49
|
},
|
|
50
50
|
"homepage": "https://mastra.ai",
|
|
51
51
|
"repository": {
|