@mastra/core 1.20.0-alpha.0 → 1.21.0-alpha.0
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 +49 -0
- package/dist/agent/agent-legacy.d.ts +2 -1
- package/dist/agent/agent-legacy.d.ts.map +1 -1
- package/dist/agent/agent.d.ts +30 -0
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-I6P4ZMZR.cjs → chunk-3CEO7364.cjs} +15 -15
- package/dist/{chunk-I6P4ZMZR.cjs.map → chunk-3CEO7364.cjs.map} +1 -1
- package/dist/{chunk-EUACZBJQ.js → chunk-4VNX7DR6.js} +4 -4
- package/dist/{chunk-EUACZBJQ.js.map → chunk-4VNX7DR6.js.map} +1 -1
- package/dist/{chunk-6PIICTDQ.js → chunk-6QHS7ULS.js} +3 -3
- package/dist/{chunk-6PIICTDQ.js.map → chunk-6QHS7ULS.js.map} +1 -1
- package/dist/{chunk-ML643Q3Q.cjs → chunk-BJH5SHX3.cjs} +28 -18
- package/dist/chunk-BJH5SHX3.cjs.map +1 -0
- package/dist/{chunk-HVDHMRDP.cjs → chunk-D27Q6R5E.cjs} +5 -5
- package/dist/{chunk-HVDHMRDP.cjs.map → chunk-D27Q6R5E.cjs.map} +1 -1
- package/dist/{chunk-JWPGGVYM.js → chunk-DIGGYQAF.js} +3 -3
- package/dist/{chunk-JWPGGVYM.js.map → chunk-DIGGYQAF.js.map} +1 -1
- package/dist/{chunk-UKZAGP3S.js → chunk-DNSWGNZW.js} +19 -9
- package/dist/chunk-DNSWGNZW.js.map +1 -0
- package/dist/{chunk-FAHX46V5.cjs → chunk-E6GHYTTI.cjs} +9 -9
- package/dist/{chunk-FAHX46V5.cjs.map → chunk-E6GHYTTI.cjs.map} +1 -1
- package/dist/{chunk-RTAUE6GT.js → chunk-G6AGIGL4.js} +6 -6
- package/dist/{chunk-RTAUE6GT.js.map → chunk-G6AGIGL4.js.map} +1 -1
- package/dist/{chunk-K6BGA6VT.cjs → chunk-IGBP52Y5.cjs} +9 -7
- package/dist/chunk-IGBP52Y5.cjs.map +1 -0
- package/dist/{chunk-OBP4NK5A.js → chunk-NHKURALS.js} +3 -3
- package/dist/{chunk-OBP4NK5A.js.map → chunk-NHKURALS.js.map} +1 -1
- package/dist/{chunk-FSCEKOV2.js → chunk-P22E5RS2.js} +4 -4
- package/dist/{chunk-FSCEKOV2.js.map → chunk-P22E5RS2.js.map} +1 -1
- package/dist/{chunk-UXAM4V4V.cjs → chunk-PAJDCXP4.cjs} +6 -6
- package/dist/{chunk-UXAM4V4V.cjs.map → chunk-PAJDCXP4.cjs.map} +1 -1
- package/dist/{chunk-HVEPQYIA.cjs → chunk-QM6V2G4N.cjs} +185 -185
- package/dist/{chunk-HVEPQYIA.cjs.map → chunk-QM6V2G4N.cjs.map} +1 -1
- package/dist/{chunk-Z6RH6FVZ.js → chunk-RLWBOWTH.js} +8 -6
- package/dist/chunk-RLWBOWTH.js.map +1 -0
- package/dist/{chunk-Q3PALUCS.js → chunk-SNNRWDHR.js} +3 -3
- package/dist/{chunk-Q3PALUCS.js.map → chunk-SNNRWDHR.js.map} +1 -1
- package/dist/{chunk-HKUABNPR.cjs → chunk-SP6HMNXJ.cjs} +3 -3
- package/dist/{chunk-HKUABNPR.cjs.map → chunk-SP6HMNXJ.cjs.map} +1 -1
- package/dist/{chunk-VXFKAXPG.cjs → chunk-SUTSYKYL.cjs} +75 -75
- package/dist/{chunk-VXFKAXPG.cjs.map → chunk-SUTSYKYL.cjs.map} +1 -1
- package/dist/{chunk-4D5OKNI6.js → chunk-UP4JBYON.js} +8 -8
- package/dist/{chunk-4D5OKNI6.js.map → chunk-UP4JBYON.js.map} +1 -1
- package/dist/{chunk-TZ6QKXAX.cjs → chunk-VJ2I6NB5.cjs} +48 -48
- package/dist/{chunk-TZ6QKXAX.cjs.map → chunk-VJ2I6NB5.cjs.map} +1 -1
- package/dist/{chunk-KB7PLSUK.js → chunk-W6TU23LC.js} +3 -3
- package/dist/{chunk-KB7PLSUK.js.map → chunk-W6TU23LC.js.map} +1 -1
- package/dist/{chunk-UH3RKNFA.cjs → chunk-WV75DCGC.cjs} +7 -7
- package/dist/{chunk-UH3RKNFA.cjs.map → chunk-WV75DCGC.cjs.map} +1 -1
- package/dist/datasets/index.cjs +11 -11
- package/dist/datasets/index.js +1 -1
- package/dist/docs/SKILL.md +2 -2
- package/dist/docs/assets/SOURCE_MAP.json +146 -146
- package/dist/docs/references/docs-server-mastra-client.md +12 -10
- package/dist/docs/references/docs-server-mastra-server.md +13 -1
- package/dist/docs/references/reference-agents-getLLM.md +9 -3
- package/dist/docs/references/reference.md +2 -0
- package/dist/evals/index.cjs +5 -5
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +3 -3
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/harness/index.cjs +7 -7
- package/dist/harness/index.js +5 -5
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +1 -0
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-FGUL4P5N.js +3 -0
- package/dist/{models-dev-3P3IAKKM.js.map → models-dev-FGUL4P5N.js.map} +1 -1
- package/dist/models-dev-SQKUCQPB.cjs +12 -0
- package/dist/{models-dev-OSJ3DXHK.cjs.map → models-dev-SQKUCQPB.cjs.map} +1 -1
- package/dist/netlify-3WID3IMG.cjs +12 -0
- package/dist/{netlify-R4Q3C263.cjs.map → netlify-3WID3IMG.cjs.map} +1 -1
- package/dist/netlify-6VLZ7U7Y.js +3 -0
- package/dist/{netlify-3WGJ3X2J.js.map → netlify-6VLZ7U7Y.js.map} +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +44 -44
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-XZ5AT4KC.cjs +40 -0
- package/dist/{provider-registry-D5RMTQJP.cjs.map → provider-registry-XZ5AT4KC.cjs.map} +1 -1
- package/dist/provider-registry-ZQPKRDCE.js +3 -0
- package/dist/{provider-registry-4HZEFIEW.js.map → provider-registry-ZQPKRDCE.js.map} +1 -1
- package/dist/provider-registry.json +4 -2
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/package.json +9 -9
- package/src/llm/model/provider-types.generated.d.ts +1 -0
- package/dist/chunk-K6BGA6VT.cjs.map +0 -1
- package/dist/chunk-ML643Q3Q.cjs.map +0 -1
- package/dist/chunk-UKZAGP3S.js.map +0 -1
- package/dist/chunk-Z6RH6FVZ.js.map +0 -1
- package/dist/models-dev-3P3IAKKM.js +0 -3
- package/dist/models-dev-OSJ3DXHK.cjs +0 -12
- package/dist/netlify-3WGJ3X2J.js +0 -3
- package/dist/netlify-R4Q3C263.cjs +0 -12
- package/dist/provider-registry-4HZEFIEW.js +0 -3
- package/dist/provider-registry-D5RMTQJP.cjs +0 -40
|
@@ -4,7 +4,7 @@ The Mastra Client SDK provides a concise and type-safe interface for interacting
|
|
|
4
4
|
|
|
5
5
|
## Prerequisites
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Before you start local development, have:
|
|
8
8
|
|
|
9
9
|
- Node.js `v22.13.0` or later
|
|
10
10
|
- TypeScript `v4.7` or higher (if using TypeScript)
|
|
@@ -54,15 +54,17 @@ export const mastraClient = new MastraClient({
|
|
|
54
54
|
|
|
55
55
|
## Core APIs
|
|
56
56
|
|
|
57
|
-
The Mastra Client SDK exposes all resources served by the Mastra Server
|
|
57
|
+
The Mastra Client SDK exposes all resources served by the Mastra Server.
|
|
58
58
|
|
|
59
59
|
- **[Agents](https://mastra.ai/reference/client-js/agents)**: Generate responses and stream conversations.
|
|
60
60
|
- **[Memory](https://mastra.ai/reference/client-js/memory)**: Manage conversation threads and message history.
|
|
61
61
|
- **[Tools](https://mastra.ai/reference/client-js/tools)**: Executed and managed tools.
|
|
62
62
|
- **[Workflows](https://mastra.ai/reference/client-js/workflows)**: Trigger workflows and track their execution.
|
|
63
63
|
- **[Vectors](https://mastra.ai/reference/client-js/vectors)**: Use vector embeddings for semantic search.
|
|
64
|
+
- **[Responses](https://mastra.ai/reference/client-js/responses)**: Call the OpenAI Responses API through Mastra agents. This API is currently experimental.
|
|
65
|
+
- **[Conversations](https://mastra.ai/reference/client-js/conversations)**: Work with OpenAI Responses API conversations and their stored item history. This API is currently experimental.
|
|
64
66
|
- **[Logs](https://mastra.ai/reference/client-js/logs)**: View logs and debug system behavior.
|
|
65
|
-
- **[Telemetry](https://mastra.ai/reference/client-js/telemetry)**:
|
|
67
|
+
- **[Telemetry](https://mastra.ai/reference/client-js/telemetry)**: View app performance and trace activity.
|
|
66
68
|
|
|
67
69
|
## Generating responses
|
|
68
70
|
|
|
@@ -133,7 +135,7 @@ export const mastraClient = new MastraClient({
|
|
|
133
135
|
|
|
134
136
|
## Credentials and session cookies
|
|
135
137
|
|
|
136
|
-
**Authenticate Mastra API calls with session cookies** when your UI and Mastra API
|
|
138
|
+
**Authenticate Mastra API calls with session cookies** when your UI and Mastra API aren't on the same origin—different host, subdomain, or port (for example Mastra Studio on one port and a custom server on another). Add **`credentials: 'include'`** to `MastraClient` so each request carries the cookies the user already has after sign-in. Skip this and you will often get **`401`** responses from Mastra even though login succeeded in the browser.
|
|
137
139
|
|
|
138
140
|
```typescript
|
|
139
141
|
import { MastraClient } from '@mastra/client-js'
|
|
@@ -146,7 +148,7 @@ export const mastraClient = new MastraClient({
|
|
|
146
148
|
|
|
147
149
|
**Allow credentialed cross-origin requests on your server**—see [CORS: requests with credentials](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS#requests_with_credentials). You need a concrete `Access-Control-Allow-Origin` (not `*`) and `Access-Control-Allow-Credentials: true`, or the browser will block the call before it reaches Mastra.
|
|
148
150
|
|
|
149
|
-
**Using `@mastra/react`?** Wrap your app with `MastraReactProvider`, set `baseUrl` and `apiPrefix` to match your server, and rely on the default `credentials: 'include'`. Change `credentials` only when you
|
|
151
|
+
**Using `@mastra/react`?** Wrap your app with `MastraReactProvider`, set `baseUrl` and `apiPrefix` to match your server, and rely on the default `credentials: 'include'`. Change `credentials` only when you want `same-origin` or `omit` behavior.
|
|
150
152
|
|
|
151
153
|
## Adding request cancelling
|
|
152
154
|
|
|
@@ -219,7 +221,7 @@ const handleClientTool = async () => {
|
|
|
219
221
|
}
|
|
220
222
|
```
|
|
221
223
|
|
|
222
|
-
### Client tool
|
|
224
|
+
### Client tool agent
|
|
223
225
|
|
|
224
226
|
This is a standard Mastra [agent](https://mastra.ai/docs/agents/overview) configured to return hex color codes, intended to work with the browser-based client tool defined above.
|
|
225
227
|
|
|
@@ -236,9 +238,9 @@ export const colorAgent = new Agent({
|
|
|
236
238
|
})
|
|
237
239
|
```
|
|
238
240
|
|
|
239
|
-
##
|
|
241
|
+
## Use MastraClient on the server
|
|
240
242
|
|
|
241
|
-
You can also use `MastraClient` in server-side environments such as API routes, serverless functions or actions. The usage
|
|
243
|
+
You can also use `MastraClient` in server-side environments such as API routes, serverless functions, or actions. The usage remains the same, but you may need to recreate the response for your client:
|
|
242
244
|
|
|
243
245
|
```typescript
|
|
244
246
|
export async function action() {
|
|
@@ -252,7 +254,7 @@ export async function action() {
|
|
|
252
254
|
|
|
253
255
|
## Best practices
|
|
254
256
|
|
|
255
|
-
1. **Error Handling**:
|
|
257
|
+
1. **Error Handling**: Use [error handling](https://mastra.ai/reference/client-js/error-handling) for development scenarios.
|
|
256
258
|
2. **Environment Variables**: Use environment variables for configuration.
|
|
257
259
|
3. **Debugging**: Enable detailed [logging](https://mastra.ai/reference/client-js/logs) when needed.
|
|
258
|
-
4. **Performance**:
|
|
260
|
+
4. **Performance**: Track application performance, [telemetry](https://mastra.ai/reference/client-js/telemetry), and traces.
|
|
@@ -12,7 +12,7 @@ The server provides:
|
|
|
12
12
|
|
|
13
13
|
- API endpoints for all registered agents and workflows
|
|
14
14
|
- Custom API routes and middleware
|
|
15
|
-
- Authentication
|
|
15
|
+
- Authentication across providers
|
|
16
16
|
- Request context for dynamic configuration
|
|
17
17
|
- Stream data redaction for secure responses
|
|
18
18
|
|
|
@@ -51,6 +51,18 @@ To explore the API interactively, visit the Swagger UI at <http://localhost:4111
|
|
|
51
51
|
|
|
52
52
|
> **Note:** The OpenAPI and Swagger endpoints are disabled in production by default. To enable them, set [`server.build.openAPIDocs`](https://mastra.ai/reference/configuration) and [`server.build.swaggerUI`](https://mastra.ai/reference/configuration) to `true` respectively.
|
|
53
53
|
|
|
54
|
+
## OpenAI Responses API
|
|
55
|
+
|
|
56
|
+
Mastra exposes OpenAI-compatible Responses and Conversations routes. These routes are agent-backed adapters over Mastra agents, memory, and storage, so requests run through the selected Mastra agent instead of acting as a raw provider proxy.
|
|
57
|
+
|
|
58
|
+
These APIs are currently experimental.
|
|
59
|
+
|
|
60
|
+
Use `agent_id` to select the Mastra agent that should handle the request. Initial requests target an agent directly, and stored follow-up turns can continue with `previous_response_id`. You can also pass `model` to override the agent's configured model for a single request. If you omit `model`, Mastra uses the model already configured on the agent.
|
|
61
|
+
|
|
62
|
+
The Responses routes support streaming, function calling (tools), stored continuations with `previous_response_id`, conversation threads through `conversation_id`, provider-specific passthrough with `providerOptions`, and JSON output through `text.format`.
|
|
63
|
+
|
|
64
|
+
For the full request and response contract, see the [Responses API reference](https://mastra.ai/reference/client-js/responses) and [Conversations API reference](https://mastra.ai/reference/client-js/conversations). For the complete list of HTTP routes, see [server routes](https://mastra.ai/reference/server/routes).
|
|
65
|
+
|
|
54
66
|
## Stream data redaction
|
|
55
67
|
|
|
56
68
|
When streaming agent responses, the HTTP layer redacts system prompts, tool definitions, API keys, and similar data from each chunk before sending it to clients. This is enabled by default.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agent.getLLM()
|
|
2
2
|
|
|
3
|
-
The `.getLLM()` method retrieves the language model instance configured for an agent, resolving it if it's a function.
|
|
3
|
+
The `.getLLM()` method retrieves the language model instance configured for an agent, resolving it if it's a function. You can also pass a request-scoped `model` override without mutating the agent's configured model.
|
|
4
4
|
|
|
5
5
|
## Usage example
|
|
6
6
|
|
|
@@ -8,13 +8,19 @@ The `.getLLM()` method retrieves the language model instance configured for an a
|
|
|
8
8
|
await agent.getLLM()
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
```typescript
|
|
12
|
+
await agent.getLLM({
|
|
13
|
+
model: 'openai/gpt-5.4',
|
|
14
|
+
})
|
|
15
|
+
```
|
|
16
|
+
|
|
11
17
|
## Parameters
|
|
12
18
|
|
|
13
|
-
**options** (`{ requestContext?: RequestContext; model?:
|
|
19
|
+
**options** (`{ requestContext?: RequestContext; model?: MastraModelConfig | DynamicArgument<MastraModelConfig> }`): Optional configuration object containing request context and an optional request-scoped model override. (Default: `{}`)
|
|
14
20
|
|
|
15
21
|
**options.requestContext** (`RequestContext`): Request Context for dependency injection and contextual information.
|
|
16
22
|
|
|
17
|
-
**options.model** (`
|
|
23
|
+
**options.model** (`MastraModelConfig | DynamicArgument<MastraModelConfig>`): Optional request-scoped model override. The agent's configured model is not mutated.
|
|
18
24
|
|
|
19
25
|
## Returns
|
|
20
26
|
|
|
@@ -41,11 +41,13 @@ The Reference section provides documentation of Mastra's API, including paramete
|
|
|
41
41
|
- [create-mastra](https://mastra.ai/reference/cli/create-mastra)
|
|
42
42
|
- [mastra](https://mastra.ai/reference/cli/mastra)
|
|
43
43
|
- [Agents API](https://mastra.ai/reference/client-js/agents)
|
|
44
|
+
- [Conversations API](https://mastra.ai/reference/client-js/conversations)
|
|
44
45
|
- [Error Handling](https://mastra.ai/reference/client-js/error-handling)
|
|
45
46
|
- [Logs API](https://mastra.ai/reference/client-js/logs)
|
|
46
47
|
- [Mastra Client SDK](https://mastra.ai/reference/client-js/mastra-client)
|
|
47
48
|
- [Memory API](https://mastra.ai/reference/client-js/memory)
|
|
48
49
|
- [Observability API](https://mastra.ai/reference/client-js/observability)
|
|
50
|
+
- [Responses API](https://mastra.ai/reference/client-js/responses)
|
|
49
51
|
- [Telemetry API](https://mastra.ai/reference/client-js/telemetry)
|
|
50
52
|
- [Tools API](https://mastra.ai/reference/client-js/tools)
|
|
51
53
|
- [Vectors API](https://mastra.ai/reference/client-js/vectors)
|
package/dist/evals/index.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkD27Q6R5E_cjs = require('../chunk-D27Q6R5E.cjs');
|
|
4
|
+
var chunkBJH5SHX3_cjs = require('../chunk-BJH5SHX3.cjs');
|
|
5
5
|
var chunkF3OO446O_cjs = require('../chunk-F3OO446O.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "runEvals", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkD27Q6R5E_cjs.runEvals; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "MastraScorer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkBJH5SHX3_cjs.MastraScorer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "createScorer", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkBJH5SHX3_cjs.createScorer; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "extractTrajectory", {
|
|
22
22
|
enumerable: true,
|
package/dist/evals/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { runEvals } from '../chunk-
|
|
2
|
-
export { MastraScorer, createScorer } from '../chunk-
|
|
1
|
+
export { runEvals } from '../chunk-SNNRWDHR.js';
|
|
2
|
+
export { MastraScorer, createScorer } from '../chunk-DNSWGNZW.js';
|
|
3
3
|
export { extractTrajectory, extractTrajectoryFromTrace, extractWorkflowTrajectory, listScoresResponseSchema, saveScorePayloadSchema, scoreResultSchema, scoreRowDataSchema, scoringEntityTypeSchema, scoringExtractStepResultSchema, scoringHookInputSchema, scoringInputSchema, scoringInputWithExtractStepResultAndAnalyzeStepResultSchema, scoringInputWithExtractStepResultAndScoreAndReasonSchema, scoringInputWithExtractStepResultSchema, scoringPromptsSchema, scoringSourceSchema, scoringValueSchema } from '../chunk-Q4YIRO5A.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVJ2I6NB5_cjs = require('../../chunk-VJ2I6NB5.cjs');
|
|
4
4
|
var chunkF3OO446O_cjs = require('../../chunk-F3OO446O.cjs');
|
|
5
5
|
var chunk57OYWNNV_cjs = require('../../chunk-57OYWNNV.cjs');
|
|
6
6
|
var chunk4U7ZLI36_cjs = require('../../chunk-4U7ZLI36.cjs');
|
|
@@ -234,7 +234,7 @@ function transformTraceToScorerInputAndOutput(trace) {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
// src/evals/scoreTraces/scoreTracesWorkflow.ts
|
|
237
|
-
var getTraceStep =
|
|
237
|
+
var getTraceStep = chunkVJ2I6NB5_cjs.createStep({
|
|
238
238
|
id: "__process-trace-scoring",
|
|
239
239
|
inputSchema: v4.z.object({
|
|
240
240
|
targets: v4.z.array(
|
|
@@ -442,7 +442,7 @@ async function attachScoreToSpan({
|
|
|
442
442
|
} catch {
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
|
-
var scoreTracesWorkflow =
|
|
445
|
+
var scoreTracesWorkflow = chunkVJ2I6NB5_cjs.createWorkflow({
|
|
446
446
|
id: "__batch-scoring-traces",
|
|
447
447
|
inputSchema: v4.z.object({
|
|
448
448
|
targets: v4.z.array(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createStep, createWorkflow } from '../../chunk-
|
|
1
|
+
import { createStep, createWorkflow } from '../../chunk-DIGGYQAF.js';
|
|
2
2
|
import { saveScorePayloadSchema } from '../../chunk-Q4YIRO5A.js';
|
|
3
3
|
import { resolveObservabilityContext } from '../../chunk-2NISBCML.js';
|
|
4
4
|
import { MastraError } from '../../chunk-FJEVLHJT.js';
|
package/dist/harness/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk3CEO7364_cjs = require('../chunk-3CEO7364.cjs');
|
|
4
|
+
var chunkBJH5SHX3_cjs = require('../chunk-BJH5SHX3.cjs');
|
|
5
5
|
var chunkSAAJ6W3X_cjs = require('../chunk-SAAJ6W3X.cjs');
|
|
6
6
|
var chunkQG7NJ3JU_cjs = require('../chunk-QG7NJ3JU.cjs');
|
|
7
7
|
var chunk2OYWVA6F_cjs = require('../chunk-2OYWVA6F.cjs');
|
|
@@ -313,7 +313,7 @@ Use this tool when:
|
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
315
|
const workspace = context?.workspace;
|
|
316
|
-
const subagent = new
|
|
316
|
+
const subagent = new chunkBJH5SHX3_cjs.Agent({
|
|
317
317
|
id: `subagent-${definition.id}`,
|
|
318
318
|
name: `${definition.name} Subagent`,
|
|
319
319
|
instructions: definition.instructions,
|
|
@@ -562,7 +562,7 @@ var Harness = class {
|
|
|
562
562
|
*/
|
|
563
563
|
async init() {
|
|
564
564
|
if (this.config.storage) {
|
|
565
|
-
this.#internalMastra = new
|
|
565
|
+
this.#internalMastra = new chunk3CEO7364_cjs.Mastra({ logger: false, storage: this.config.storage });
|
|
566
566
|
await this.#internalMastra.getStorage().init();
|
|
567
567
|
}
|
|
568
568
|
if (this.config.workspace && !this.workspaceInitialized && !this.workspaceFn) {
|
|
@@ -814,7 +814,7 @@ var Harness = class {
|
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
try {
|
|
817
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
817
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-XZ5AT4KC.cjs');
|
|
818
818
|
const registry = PROVIDER_REGISTRY;
|
|
819
819
|
const providerConfig = registry[provider];
|
|
820
820
|
const envVars = providerConfig?.apiKeyEnvVar;
|
|
@@ -834,7 +834,7 @@ var Harness = class {
|
|
|
834
834
|
*/
|
|
835
835
|
async listAvailableModels() {
|
|
836
836
|
try {
|
|
837
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
837
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-XZ5AT4KC.cjs');
|
|
838
838
|
if (!PROVIDER_REGISTRY) return [];
|
|
839
839
|
const registry = PROVIDER_REGISTRY;
|
|
840
840
|
const providers = Object.keys(registry);
|
|
@@ -893,7 +893,7 @@ var Harness = class {
|
|
|
893
893
|
}
|
|
894
894
|
async getProviderApiKeyEnvVar(provider) {
|
|
895
895
|
try {
|
|
896
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
896
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-XZ5AT4KC.cjs');
|
|
897
897
|
const registry = PROVIDER_REGISTRY;
|
|
898
898
|
const envVars = registry[provider]?.apiKeyEnvVar;
|
|
899
899
|
return Array.isArray(envVars) ? envVars[0] : envVars;
|
package/dist/harness/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Mastra } from '../chunk-
|
|
2
|
-
import { Agent } from '../chunk-
|
|
1
|
+
import { Mastra } from '../chunk-UP4JBYON.js';
|
|
2
|
+
import { Agent } from '../chunk-DNSWGNZW.js';
|
|
3
3
|
import { Workspace, createWorkspaceTools } from '../chunk-5TG6LPAB.js';
|
|
4
4
|
import { safeStringify } from '../chunk-2H6WEHWI.js';
|
|
5
5
|
import { createTool } from '../chunk-EWPUWV33.js';
|
|
@@ -812,7 +812,7 @@ var Harness = class {
|
|
|
812
812
|
}
|
|
813
813
|
}
|
|
814
814
|
try {
|
|
815
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
815
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-ZQPKRDCE.js');
|
|
816
816
|
const registry = PROVIDER_REGISTRY;
|
|
817
817
|
const providerConfig = registry[provider];
|
|
818
818
|
const envVars = providerConfig?.apiKeyEnvVar;
|
|
@@ -832,7 +832,7 @@ var Harness = class {
|
|
|
832
832
|
*/
|
|
833
833
|
async listAvailableModels() {
|
|
834
834
|
try {
|
|
835
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
835
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-ZQPKRDCE.js');
|
|
836
836
|
if (!PROVIDER_REGISTRY) return [];
|
|
837
837
|
const registry = PROVIDER_REGISTRY;
|
|
838
838
|
const providers = Object.keys(registry);
|
|
@@ -891,7 +891,7 @@ var Harness = class {
|
|
|
891
891
|
}
|
|
892
892
|
async getProviderApiKeyEnvVar(provider) {
|
|
893
893
|
try {
|
|
894
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
894
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-ZQPKRDCE.js');
|
|
895
895
|
const registry = PROVIDER_REGISTRY;
|
|
896
896
|
const envVars = registry[provider]?.apiKeyEnvVar;
|
|
897
897
|
return Array.isArray(envVars) ? envVars[0] : envVars;
|
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3CEO7364_cjs = require('./chunk-3CEO7364.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Mastra", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk3CEO7364_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
package/dist/llm/index.cjs
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
3
|
+
var chunkSUTSYKYL_cjs = require('../chunk-SUTSYKYL.cjs');
|
|
4
|
+
var chunkQM6V2G4N_cjs = require('../chunk-QM6V2G4N.cjs');
|
|
5
|
+
var chunkE6GHYTTI_cjs = require('../chunk-E6GHYTTI.cjs');
|
|
6
|
+
var chunkSP6HMNXJ_cjs = require('../chunk-SP6HMNXJ.cjs');
|
|
7
|
+
var chunkIGBP52Y5_cjs = require('../chunk-IGBP52Y5.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AzureOpenAIGateway", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkSUTSYKYL_cjs.AzureOpenAIGateway; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EMBEDDING_MODELS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkSUTSYKYL_cjs.EMBEDDING_MODELS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ModelRouterEmbeddingModel", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkSUTSYKYL_cjs.ModelRouterEmbeddingModel; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ModelRouterLanguageModel", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkSUTSYKYL_cjs.ModelRouterLanguageModel; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "resolveModelConfig", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkSUTSYKYL_cjs.resolveModelConfig; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "ModelsDevGateway", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkQM6V2G4N_cjs.ModelsDevGateway; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "NetlifyGateway", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkE6GHYTTI_cjs.NetlifyGateway; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MastraModelGateway", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkSP6HMNXJ_cjs.MastraModelGateway; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkIGBP52Y5_cjs.PROVIDER_REGISTRY; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getProviderConfig", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkIGBP52Y5_cjs.getProviderConfig; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "parseModelString", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkIGBP52Y5_cjs.parseModelString; }
|
|
54
54
|
});
|
|
55
55
|
//# sourceMappingURL=index.cjs.map
|
|
56
56
|
//# sourceMappingURL=index.cjs.map
|
package/dist/llm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, resolveModelConfig } from '../chunk-
|
|
2
|
-
export { ModelsDevGateway } from '../chunk-
|
|
3
|
-
export { NetlifyGateway } from '../chunk-
|
|
4
|
-
export { MastraModelGateway } from '../chunk-
|
|
5
|
-
export { PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-
|
|
1
|
+
export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, resolveModelConfig } from '../chunk-G6AGIGL4.js';
|
|
2
|
+
export { ModelsDevGateway } from '../chunk-W6TU23LC.js';
|
|
3
|
+
export { NetlifyGateway } from '../chunk-6QHS7ULS.js';
|
|
4
|
+
export { MastraModelGateway } from '../chunk-NHKURALS.js';
|
|
5
|
+
export { PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-RLWBOWTH.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/loop/index.cjs
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBJH5SHX3_cjs = require('../chunk-BJH5SHX3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createScorer", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkBJH5SHX3_cjs.createScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "formatCheckFeedback", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBJH5SHX3_cjs.formatCheckFeedback; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "formatCompletionFeedback", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBJH5SHX3_cjs.formatCompletionFeedback; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "formatStreamCompletionFeedback", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkBJH5SHX3_cjs.formatStreamCompletionFeedback; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "formatValidationFeedback", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkBJH5SHX3_cjs.formatValidationFeedback; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "generateFinalResult", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkBJH5SHX3_cjs.generateFinalResult; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "generateStructuredFinalResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkBJH5SHX3_cjs.generateStructuredFinalResult; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "loop", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkBJH5SHX3_cjs.loop; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "runChecks", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkBJH5SHX3_cjs.runChecks; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "runCompletionScorers", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkBJH5SHX3_cjs.runCompletionScorers; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "runDefaultCompletionCheck", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkBJH5SHX3_cjs.runDefaultCompletionCheck; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "runStreamCompletionScorers", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkBJH5SHX3_cjs.runStreamCompletionScorers; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "runValidation", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkBJH5SHX3_cjs.runValidation; }
|
|
58
58
|
});
|
|
59
59
|
//# sourceMappingURL=index.cjs.map
|
|
60
60
|
//# sourceMappingURL=index.cjs.map
|
package/dist/loop/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatStreamCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runStreamCompletionScorers, runValidation } from '../chunk-
|
|
1
|
+
export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatStreamCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runStreamCompletionScorers, runValidation } from '../chunk-DNSWGNZW.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3CEO7364_cjs = require('../chunk-3CEO7364.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Mastra", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk3CEO7364_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/mastra/index.js
CHANGED
package/dist/memory/index.cjs
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBJH5SHX3_cjs = require('../chunk-BJH5SHX3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MastraMemory", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkBJH5SHX3_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBJH5SHX3_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "MockMemory", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBJH5SHX3_cjs.MockMemory; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "WORKING_MEMORY_END_TAG", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkBJH5SHX3_cjs.WORKING_MEMORY_END_TAG; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WORKING_MEMORY_START_TAG", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkBJH5SHX3_cjs.WORKING_MEMORY_START_TAG; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "extractWorkingMemoryContent", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkBJH5SHX3_cjs.extractWorkingMemoryContent; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "extractWorkingMemoryTags", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkBJH5SHX3_cjs.extractWorkingMemoryTags; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getThreadOMMetadata", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkBJH5SHX3_cjs.getThreadOMMetadata; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isObservationalMemoryEnabled", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkBJH5SHX3_cjs.isObservationalMemoryEnabled; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkBJH5SHX3_cjs.memoryDefaultOptions; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "parseMemoryRequestContext", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkBJH5SHX3_cjs.parseMemoryRequestContext; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "removeWorkingMemoryTags", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkBJH5SHX3_cjs.removeWorkingMemoryTags; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "setThreadOMMetadata", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkBJH5SHX3_cjs.setThreadOMMetadata; }
|
|
58
58
|
});
|
|
59
59
|
//# sourceMappingURL=index.cjs.map
|
|
60
60
|
//# sourceMappingURL=index.cjs.map
|
package/dist/memory/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MastraMemory, MemoryProcessor, MockMemory, WORKING_MEMORY_END_TAG, WORKING_MEMORY_START_TAG, extractWorkingMemoryContent, extractWorkingMemoryTags, getThreadOMMetadata, isObservationalMemoryEnabled, memoryDefaultOptions, parseMemoryRequestContext, removeWorkingMemoryTags, setThreadOMMetadata } from '../chunk-
|
|
1
|
+
export { MastraMemory, MemoryProcessor, MockMemory, WORKING_MEMORY_END_TAG, WORKING_MEMORY_START_TAG, extractWorkingMemoryContent, extractWorkingMemoryTags, getThreadOMMetadata, isObservationalMemoryEnabled, memoryDefaultOptions, parseMemoryRequestContext, removeWorkingMemoryTags, setThreadOMMetadata } from '../chunk-DNSWGNZW.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-FGUL4P5N.js"}
|