@mastra/mcp-docs-server 1.1.41 → 1.1.42-alpha.4

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.
Files changed (33) hide show
  1. package/.docs/docs/agent-builder/access-control.md +97 -0
  2. package/.docs/docs/agent-builder/browser.md +61 -0
  3. package/.docs/docs/agent-builder/channels.md +76 -0
  4. package/.docs/docs/agent-builder/configuration.md +147 -0
  5. package/.docs/docs/agent-builder/deploying.md +121 -0
  6. package/.docs/docs/agent-builder/memory.md +65 -0
  7. package/.docs/docs/agent-builder/model-policy.md +48 -0
  8. package/.docs/docs/agent-builder/overview.md +97 -0
  9. package/.docs/docs/agent-builder/skill-registries.md +31 -0
  10. package/.docs/docs/agent-builder/workspace.md +60 -0
  11. package/.docs/docs/agents/channels.md +2 -0
  12. package/.docs/docs/memory/observational-memory.md +19 -0
  13. package/.docs/guides/deployment/inngest.md +69 -0
  14. package/.docs/reference/agents/channels.md +1 -1
  15. package/.docs/reference/client-js/agent-builder.md +161 -0
  16. package/.docs/reference/client-js/mastra-client.md +4 -0
  17. package/.docs/reference/editor/agent-builder/agent-builder-options.md +74 -0
  18. package/.docs/reference/editor/agent-builder/builder-agent-defaults.md +77 -0
  19. package/.docs/reference/editor/agent-builder/builder-models.md +64 -0
  20. package/.docs/reference/editor/blob-store-provider.md +59 -0
  21. package/.docs/reference/editor/browser-provider.md +75 -0
  22. package/.docs/reference/editor/filesystem-provider.md +62 -0
  23. package/.docs/reference/editor/mastra-editor.md +44 -0
  24. package/.docs/reference/editor/processor-provider.md +64 -0
  25. package/.docs/reference/editor/sandbox-provider.md +61 -0
  26. package/.docs/reference/editor/storage-browser-ref.md +80 -0
  27. package/.docs/reference/editor/storage-workspace-ref.md +93 -0
  28. package/.docs/reference/evals/create-scorer.md +2 -0
  29. package/.docs/reference/index.md +12 -0
  30. package/.docs/reference/memory/observational-memory.md +2 -0
  31. package/.docs/reference/memory/serialized-memory-config.md +72 -0
  32. package/CHANGELOG.md +21 -0
  33. package/package.json +4 -4
@@ -68,6 +68,8 @@ OM performs thresholding with fast local token estimation. Text uses `tokenx`, a
68
68
 
69
69
  **observation.bufferTokens** (`number | false`): Token interval for async background observation buffering. Can be an absolute token count (e.g. \`5000\`) or a fraction of \`messageTokens\` (e.g. \`0.25\` = buffer every 25% of threshold). When set, observations run in the background at this interval, storing results in a buffer. When the main \`messageTokens\` threshold is reached, buffered observations activate instantly without a blocking LLM call. Must resolve to less than \`messageTokens\`. Set to \`false\` to explicitly disable all async buffering (both observation and reflection).
70
70
 
71
+ **observation.bufferOnIdle** (`boolean`): Run background observation buffering when an agent turn ends and the agent becomes idle. This is separate from \`bufferTokens\`, which controls step-time async buffering. Set this to \`true\` to buffer short idle turns without waiting for the next turn or the \`messageTokens\` threshold.
72
+
71
73
  **observation.bufferActivation** (`number`): Controls how much of the message window to retain after activation. Accepts a ratio (0-1) or an absolute token count (≥ 1000). For example, \`0.8\` means: activate enough buffers to remove 80% of \`messageTokens\` and leave 20% as active message history. An absolute token count like \`4000\` targets a goal of keeping \~4k message tokens remaining after activation. Higher values remove more message history per activation when using a ratio. Higher values keep more message history when using a token count.
72
74
 
73
75
  **observation.activateAfterIdle** (`number | string | false | "auto"`): Time before buffered observations are forced to activate after inactivity. Accepts milliseconds, a duration string, \`"auto"\` for a provider-aware prompt cache TTL, or \`false\`. If unset, the top-level \`activateAfterIdle\` value is used for observations. Set \`false\` to disable the top-level idle setting for observations.
@@ -0,0 +1,72 @@
1
+ # SerializedMemoryConfig
2
+
3
+ `SerializedMemoryConfig` is the JSON-serializable subset of [`Memory`](https://mastra.ai/reference/memory/memory-class) configuration that lives on a stored agent record. The runtime hydrates it back into a `Memory` instance by resolving the vector and embedder IDs against the configured `Mastra` instance.
4
+
5
+ It is the type used by [`BuilderAgentDefaults.memory`](https://mastra.ai/reference/editor/agent-builder/builder-agent-defaults) and by `EditorAgentNamespace.create({ memory })`.
6
+
7
+ ## Usage example
8
+
9
+ ```typescript
10
+ import { MastraEditor } from '@mastra/editor'
11
+
12
+ new MastraEditor({
13
+ builder: {
14
+ enabled: true,
15
+ configuration: {
16
+ agent: {
17
+ memory: {
18
+ observationalMemory: true,
19
+ options: { lastMessages: 50 },
20
+ },
21
+ },
22
+ },
23
+ },
24
+ })
25
+ ```
26
+
27
+ ## Properties
28
+
29
+ **vector** (`string | false`): Vector store identifier. The vector instance must be registered with the Mastra instance to resolve from this ID. Set to \`false\` to disable vector search.
30
+
31
+ **embedder** (`string`): Embedding model ID in the format \`"provider/model"\` (for example, \`"openai/text-embedding-3-small"\`).
32
+
33
+ **embedderOptions** (`Omit<MastraEmbeddingOptions, 'telemetry'>`): Options passed to the embedder. Telemetry options are stripped.
34
+
35
+ **options** (`SerializedMemoryOptions`): Configuration for memory behaviors. Omits non-serializable fields like working memory and threads.
36
+
37
+ **options.readOnly** (`boolean`): Treat memory as read-only — no new messages are stored.
38
+
39
+ **options.lastMessages** (`number | false`): Number of recent messages to include in context, or \`false\` to disable.
40
+
41
+ **options.semanticRecall** (`boolean | SemanticRecall`): Semantic recall configuration. See the Memory class reference for the full shape.
42
+
43
+ **options.generateTitle** (`boolean | { model: ModelRouterModelId; instructions?: string }`): Title generation configuration. Pass an object with \`model\` (in \`"provider/model"\` form) and optional \`instructions\`.
44
+
45
+ **observationalMemory** (`boolean | SerializedObservationalMemoryConfig`): Long-lived fact extraction. Pass \`true\` to enable with defaults, or an object to override observer/reflector models, scope, and activation behavior.
46
+
47
+ ## `SerializedObservationalMemoryConfig`
48
+
49
+ **model** (`string`): Model ID used by both the Observer and Reflector (for example, \`"google/gemini-2.5-flash"\`).
50
+
51
+ **scope** (`'resource' | 'thread'`): Whether observations are scoped to a resource or a single thread.
52
+
53
+ **activateAfterIdle** (`ObservationalMemoryActivationTTL`): Inactivity TTL before forcing buffered observation activation.
54
+
55
+ **activateOnProviderChange** (`boolean`): Force-activate buffered observations when the actor model changes.
56
+
57
+ **shareTokenBudget** (`boolean`): Share the token budget between messages and observations.
58
+
59
+ **temporalMarkers** (`boolean`): Persist inline temporal gap markers for long pauses between messages.
60
+
61
+ **retrieval** (`boolean | { vector?: boolean; scope?: 'thread' | 'resource' }`): Experimental. Enable retrieval-mode observation groups as durable pointers to raw message history.
62
+
63
+ **observation** (`SerializedObservationalMemoryObservationConfig`): Observer-step configuration (model, token thresholds, buffering).
64
+
65
+ **reflection** (`SerializedObservationalMemoryReflectionConfig`): Reflector-step configuration (model, observation token thresholds, buffering).
66
+
67
+ ## Related
68
+
69
+ - [Memory class](https://mastra.ai/reference/memory/memory-class) — the runtime type this config hydrates into.
70
+ - [Observational memory](https://mastra.ai/reference/memory/observational-memory) — full observational memory reference.
71
+ - [BuilderAgentDefaults](https://mastra.ai/reference/editor/agent-builder/builder-agent-defaults) — where this type is pinned as the Builder default.
72
+ - [Agent Builder: Memory](https://mastra.ai/docs/agent-builder/memory) — concept and worked examples.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 1.1.42-alpha.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`d779de3`](https://github.com/mastra-ai/mastra/commit/d779de3cd9d2e7ed8110547190e2f15e786a0e41), [`1750c97`](https://github.com/mastra-ai/mastra/commit/1750c975d6179fbf6db2813b15229d4f8f23fc55), [`0e32507`](https://github.com/mastra-ai/mastra/commit/0e32507962cdfa5569b7bda5bc6fb3dd34e40b03), [`3a081c1`](https://github.com/mastra-ai/mastra/commit/3a081c1255c5ae8c99f6dad91cc612934ef6f2bd), [`fe9eacd`](https://github.com/mastra-ai/mastra/commit/fe9eacd9545a0a9d64aad31c9fa90294a425289e), [`db79c86`](https://github.com/mastra-ai/mastra/commit/db79c86c60723d57e02f9636ca2611bd4515f194)]:
8
+ - @mastra/core@1.38.0-alpha.2
9
+
10
+ ## 1.1.42-alpha.2
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`49f8abc`](https://github.com/mastra-ai/mastra/commit/49f8abce8258e4f2f87bd326acfbdb641264a47c)]:
15
+ - @mastra/core@1.37.2-alpha.1
16
+
17
+ ## 1.1.42-alpha.0
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [[`07c3de7`](https://github.com/mastra-ai/mastra/commit/07c3de7f7bc418beccaea3b5e6b7f7cdda79d492)]:
22
+ - @mastra/core@1.37.2-alpha.0
23
+
3
24
  ## 1.1.41
4
25
 
5
26
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.1.41",
3
+ "version": "1.1.42-alpha.4",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,8 +29,8 @@
29
29
  "jsdom": "^26.1.0",
30
30
  "local-pkg": "^1.1.2",
31
31
  "zod": "^4.4.3",
32
- "@mastra/mcp": "^1.8.1",
33
- "@mastra/core": "1.37.1"
32
+ "@mastra/core": "1.38.0-alpha.2",
33
+ "@mastra/mcp": "^1.8.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@hono/node-server": "^1.19.11",
@@ -48,7 +48,7 @@
48
48
  "vitest": "4.1.5",
49
49
  "@internal/types-builder": "0.0.74",
50
50
  "@internal/lint": "0.0.99",
51
- "@mastra/core": "1.37.1"
51
+ "@mastra/core": "1.38.0-alpha.2"
52
52
  },
53
53
  "homepage": "https://mastra.ai",
54
54
  "repository": {