@mastra/ai-sdk 1.12.0 → 1.12.1-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/dist/_types/{@internal_ai-sdk-v5@0.0.96 → @internal_ai-sdk-v5@0.0.98}/dist/index.d.ts +61 -2
- package/dist/_types/{@internal_ai-v6@0.0.96 → @internal_ai-v6@0.0.98}/dist/index.d.ts +9 -1
- package/dist/_types/{@internal_ai-v7@0.0.96 → @internal_ai-v7@0.0.98}/dist/index.d.ts +260 -37
- package/dist/chat-route.d.ts +3 -3
- package/dist/convert-streams.d.ts +3 -3
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +15 -15
- package/dist/docs/references/docs-memory-message-history.md +1 -1
- package/dist/docs/references/docs-server-custom-api-routes.md +1 -1
- package/dist/docs/references/integrations-agentic-ui-ai-sdk-ui.md +3 -3
- package/dist/docs/references/reference-ai-sdk-overview.md +2 -2
- package/dist/docs/references/reference-memory-recall.md +1 -1
- package/dist/docs/references/reference-streaming-agents-stream.md +5 -5
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +10 -9
- package/dist/index.js +10 -10
- package/dist/middleware.d.ts +1 -1
- package/dist/public-types.d.ts +3 -3
- package/dist/transformers.d.ts +23 -23
- package/dist/ui.cjs +0 -2
- package/dist/ui.js +0 -2
- package/package.json +13 -12
- package/dist/__tests__/__fixtures__/network.stream.d.ts.map +0 -1
- package/dist/__tests__/v7-ui-message-types.test-d.d.ts.map +0 -1
- package/dist/chat-route.d.ts.map +0 -1
- package/dist/convert-messages.d.ts.map +0 -1
- package/dist/convert-snapshot.d.ts.map +0 -1
- package/dist/convert-streams.d.ts.map +0 -1
- package/dist/helpers.d.ts.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/middleware.d.ts.map +0 -1
- package/dist/network-route.d.ts.map +0 -1
- package/dist/public-types.d.ts.map +0 -1
- package/dist/smooth-stream.d.ts.map +0 -1
- package/dist/sse-heartbeat.d.ts.map +0 -1
- package/dist/to-ai-sdk-format.d.ts.map +0 -1
- package/dist/transformers.d.ts.map +0 -1
- package/dist/ui.cjs.map +0 -1
- package/dist/ui.d.ts.map +0 -1
- package/dist/ui.js.map +0 -1
- package/dist/utils.d.ts.map +0 -1
- package/dist/workflow-route.d.ts.map +0 -1
- /package/dist/_types/{@internal_ai-sdk-v5@0.0.96 → @internal_ai-sdk-v5@0.0.98}/package.json +0 -0
- /package/dist/_types/{@internal_ai-v6@0.0.96 → @internal_ai-v6@0.0.98}/package.json +0 -0
- /package/dist/_types/{@internal_ai-v7@0.0.96 → @internal_ai-v7@0.0.98}/package.json +0 -0
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.12.0",
|
|
2
|
+
"version": "1.12.1-alpha.0",
|
|
3
3
|
"package": "@mastra/ai-sdk",
|
|
4
4
|
"exports": {
|
|
5
5
|
"assertValidHeartbeatMs": {
|
|
6
6
|
"types": "dist/sse-heartbeat.d.ts",
|
|
7
7
|
"implementation": "dist/index.js",
|
|
8
|
-
"line":
|
|
8
|
+
"line": 11770
|
|
9
9
|
},
|
|
10
10
|
"chatRoute": {
|
|
11
11
|
"types": "dist/chat-route.d.ts",
|
|
12
12
|
"implementation": "dist/index.js",
|
|
13
|
-
"line":
|
|
13
|
+
"line": 12178
|
|
14
14
|
},
|
|
15
15
|
"handleChatStream": {
|
|
16
16
|
"types": "dist/chat-route.d.ts",
|
|
17
17
|
"implementation": "dist/index.js",
|
|
18
|
-
"line":
|
|
18
|
+
"line": 12099
|
|
19
19
|
},
|
|
20
20
|
"handleNetworkStream": {
|
|
21
21
|
"types": "dist/network-route.d.ts",
|
|
22
22
|
"implementation": "dist/index.js",
|
|
23
|
-
"line":
|
|
23
|
+
"line": 12573
|
|
24
24
|
},
|
|
25
25
|
"handleWorkflowStream": {
|
|
26
26
|
"types": "dist/workflow-route.d.ts",
|
|
27
27
|
"implementation": "dist/index.js",
|
|
28
|
-
"line":
|
|
28
|
+
"line": 12421
|
|
29
29
|
},
|
|
30
30
|
"networkRoute": {
|
|
31
31
|
"types": "dist/network-route.d.ts",
|
|
32
32
|
"implementation": "dist/index.js",
|
|
33
|
-
"line":
|
|
33
|
+
"line": 12644
|
|
34
34
|
},
|
|
35
35
|
"smoothStream": {
|
|
36
36
|
"types": "dist/smooth-stream.d.ts",
|
|
37
37
|
"implementation": "dist/index.js",
|
|
38
|
-
"line":
|
|
38
|
+
"line": 9930
|
|
39
39
|
},
|
|
40
40
|
"toAISdkFormat": {
|
|
41
41
|
"types": "dist/to-ai-sdk-format.d.ts",
|
|
42
42
|
"implementation": "dist/index.js",
|
|
43
|
-
"line":
|
|
43
|
+
"line": 13498
|
|
44
44
|
},
|
|
45
45
|
"toAISdkStream": {
|
|
46
46
|
"types": "dist/convert-streams.d.ts",
|
|
47
47
|
"implementation": "dist/index.js",
|
|
48
|
-
"line":
|
|
48
|
+
"line": 11717
|
|
49
49
|
},
|
|
50
50
|
"toAISdkV5Stream": {
|
|
51
51
|
"types": "dist/convert-streams.d.ts",
|
|
52
52
|
"implementation": "dist/index.js",
|
|
53
|
-
"line":
|
|
53
|
+
"line": 11691
|
|
54
54
|
},
|
|
55
55
|
"withMastra": {
|
|
56
56
|
"types": "dist/middleware.d.ts",
|
|
57
57
|
"implementation": "dist/index.js",
|
|
58
|
-
"line":
|
|
58
|
+
"line": 12841
|
|
59
59
|
},
|
|
60
60
|
"withSseHeartbeat": {
|
|
61
61
|
"types": "dist/sse-heartbeat.d.ts",
|
|
62
62
|
"implementation": "dist/index.js",
|
|
63
|
-
"line":
|
|
63
|
+
"line": 11783
|
|
64
64
|
},
|
|
65
65
|
"workflowRoute": {
|
|
66
66
|
"types": "dist/workflow-route.d.ts",
|
|
67
67
|
"implementation": "dist/index.js",
|
|
68
|
-
"line":
|
|
68
|
+
"line": 12491
|
|
69
69
|
},
|
|
70
70
|
"workflowSnapshotToStream": {
|
|
71
71
|
"types": "dist/convert-snapshot.d.ts",
|
|
72
72
|
"implementation": "dist/index.js",
|
|
73
|
-
"line":
|
|
73
|
+
"line": 12786
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"modules": {}
|
|
@@ -404,7 +404,7 @@ Message queries return `MastraDBMessage[]` format. To display messages in a fron
|
|
|
404
404
|
|
|
405
405
|
## Thread cloning
|
|
406
406
|
|
|
407
|
-
Thread cloning creates a copy of an existing thread with its messages. This is useful for branching conversations or creating checkpoints before a
|
|
407
|
+
Thread cloning creates a copy of an existing thread with its messages. This is useful for branching conversations or creating checkpoints before a destructive operation, or alternatively testing variations of a conversation.
|
|
408
408
|
|
|
409
409
|
```typescript
|
|
410
410
|
const { thread, clonedMessages } = await memory.cloneThread({
|
|
@@ -355,7 +355,7 @@ When the tool runs inside a [subagent](https://mastra.ai/docs/agents/human-in-th
|
|
|
355
355
|
|
|
356
356
|
When your agent has [memory](https://mastra.ai/docs/memory/overview) configured, Mastra loads conversation history from storage on the server. Send only the new message from the client instead of the full conversation history.
|
|
357
357
|
|
|
358
|
-
Sending the full history is redundant and can cause message-ordering bugs because client-side timestamps can conflict with the timestamps stored in your database. Mastra filters echoed history before loading stored messages and keeps the stored copy as the base when message IDs match
|
|
358
|
+
Sending the full history is redundant and can cause message-ordering bugs because client-side timestamps can conflict with the timestamps stored in your database. Mastra filters echoed history before loading stored messages and keeps the stored copy as the base when message IDs match. The stored timestamps, provider metadata, and reasoning are preserved, and only new tool results are layered on top.
|
|
359
359
|
|
|
360
360
|
```typescript
|
|
361
361
|
import { useChat } from '@ai-sdk/react'
|
|
@@ -701,7 +701,7 @@ export const mastra = new Mastra({
|
|
|
701
701
|
|
|
702
702
|
**Frontend**:
|
|
703
703
|
|
|
704
|
-
Check for `data-workflow` parts to render workflow status snapshots. If you need the full payload for the step that
|
|
704
|
+
Check for `data-workflow` parts to render workflow status snapshots. If you need the full payload for the step that changed last, also read `data-workflow-step` parts.
|
|
705
705
|
|
|
706
706
|
```typescript
|
|
707
707
|
import { useChat } from '@ai-sdk/react'
|
|
@@ -1512,7 +1512,7 @@ Key points:
|
|
|
1512
1512
|
- Read `data-tool-agent-step` when you need the full payload for the nested step that finished
|
|
1513
1513
|
- `AgentDataPart` and `AgentStepDataPart` include the same `ancestry`, `depth`, and optional `parentAgentId` fields
|
|
1514
1514
|
- The `AgentDataPart` has `id` (on the part) and `data.text` (the current nested-agent text snapshot)
|
|
1515
|
-
- A tool that throws inside the nested agent is reported in `data.toolErrors`, each entry `{ toolCallId, toolName, args?, errorText, providerExecuted? }`. `errorText` is a JSON-safe string,
|
|
1515
|
+
- A tool that throws inside the nested agent is reported in `data.toolErrors`, each entry `{ toolCallId, toolName, args?, errorText, providerExecuted? }`. `errorText` is a JSON-safe string, which means the failure survives serialization to the client instead of arriving as `{}`
|
|
1516
1516
|
- `toolErrors` resets at each nested step boundary, like `toolCalls` and `toolResults`. For a finished step, read it from `data-tool-agent-step` (`data.step.toolErrors`) or from `data.steps[]` on the final snapshot
|
|
1517
1517
|
- The tool still returns its own output after the stream completes
|
|
1518
1518
|
|
|
@@ -38,7 +38,7 @@ bun add @mastra/ai-sdk@latest
|
|
|
38
38
|
|
|
39
39
|
## Examples
|
|
40
40
|
|
|
41
|
-
### With
|
|
41
|
+
### With processors
|
|
42
42
|
|
|
43
43
|
Processors let you transform messages before they're sent to the model (`processInput`) and after responses are received (`processOutputResult`). This example creates a logging processor that logs message counts at each stage, then wraps an OpenAI model with it.
|
|
44
44
|
|
|
@@ -104,7 +104,7 @@ const { text } = await generateText({
|
|
|
104
104
|
})
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
### With
|
|
107
|
+
### With processors & Memory
|
|
108
108
|
|
|
109
109
|
You can combine processors and memory together. Input processors run after memory loads historical messages, and output processors run before memory saves the response.
|
|
110
110
|
|
|
@@ -41,7 +41,7 @@ const { messages } = await memory.recall({
|
|
|
41
41
|
|
|
42
42
|
**threadConfig.lastMessages** (`number | false`): Number of most recent messages to retrieve. Set to false to disable. When perPage is not explicitly provided, this value is used as the default.
|
|
43
43
|
|
|
44
|
-
**threadConfig.semanticRecall** (`boolean | { topK: number; messageRange: number | { before: number; after: number }; scope?: 'thread' | 'resource' }`): Enable semantic search in message history. Can be a boolean or an object with configuration options. When enabled, requires
|
|
44
|
+
**threadConfig.semanticRecall** (`boolean | { topK: number; messageRange: number | { before: number; after: number }; scope?: 'thread' | 'resource' }`): Enable semantic search in message history. Can be a boolean or an object with configuration options. When enabled, requires a vector store, and an embedder unless the vector store embeds text itself, such as MongoDB with Automated Embedding.
|
|
45
45
|
|
|
46
46
|
**threadConfig.workingMemory** (`WorkingMemory`): Configuration for working memory feature. Can be { enabled: boolean; template?: string; schema?: ZodObject\<any> | JSONSchema7; scope?: 'thread' | 'resource' } or { enabled: boolean } to disable.
|
|
47
47
|
|
|
@@ -305,7 +305,7 @@ To abort a run you no longer hold a handle to, use the `runId` with [`durableAge
|
|
|
305
305
|
|
|
306
306
|
## Extended usage example
|
|
307
307
|
|
|
308
|
-
### Mastra
|
|
308
|
+
### Mastra format (default)
|
|
309
309
|
|
|
310
310
|
```ts
|
|
311
311
|
import { stepCountIs } from 'ai-v5'
|
|
@@ -355,9 +355,9 @@ Exceeding a budget fails with a `MastraTimeoutError`, which carries a `timeoutTy
|
|
|
355
355
|
|
|
356
356
|
Nested `timeout` settings are merged per key across call-time and per-model `modelSettings`, so a per-model `stepMs` override keeps a call-time `firstChunkMs`.
|
|
357
357
|
|
|
358
|
-
### AI SDK v5+
|
|
358
|
+
### AI SDK v5+ format
|
|
359
359
|
|
|
360
|
-
To use the stream with AI SDK v5 (and later), you can convert it using
|
|
360
|
+
To use the stream with AI SDK v5 (and later), you can convert it using the `toAISdkStream` utility.
|
|
361
361
|
|
|
362
362
|
```ts
|
|
363
363
|
import { stepCountIs, createUIMessageStreamResponse } from 'ai'
|
|
@@ -376,7 +376,7 @@ return createUIMessageStreamResponse({
|
|
|
376
376
|
})
|
|
377
377
|
```
|
|
378
378
|
|
|
379
|
-
### Using
|
|
379
|
+
### Using callbacks
|
|
380
380
|
|
|
381
381
|
All callback functions are now available as top-level properties for a cleaner API experience.
|
|
382
382
|
|
|
@@ -406,7 +406,7 @@ for await (const chunk of stream.textStream) {
|
|
|
406
406
|
}
|
|
407
407
|
```
|
|
408
408
|
|
|
409
|
-
### Advanced example with
|
|
409
|
+
### Advanced example with options
|
|
410
410
|
|
|
411
411
|
```ts
|
|
412
412
|
import { z } from 'zod'
|
package/dist/helpers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { InferUIMessageChunk, ObjectStreamPart, TextStreamPart, ToolSet, UIMessage, FinishReason } from './_types/@internal_ai-sdk-v5@0.0.
|
|
2
|
-
import type { FinishReason as FinishReasonV6, InferUIMessageChunk as InferUIMessageChunkV6, ToolApprovalRequest, UIMessage as UIMessageV6 } from './_types/@internal_ai-v6@0.0.
|
|
1
|
+
import type { InferUIMessageChunk, ObjectStreamPart, TextStreamPart, ToolSet, UIMessage, FinishReason } from './_types/@internal_ai-sdk-v5@0.0.98/dist/index.js';
|
|
2
|
+
import type { FinishReason as FinishReasonV6, InferUIMessageChunk as InferUIMessageChunkV6, ToolApprovalRequest, UIMessage as UIMessageV6 } from './_types/@internal_ai-v6@0.0.98/dist/index.js';
|
|
3
3
|
import type { DataChunkType, ChunkType, MastraFinishReason } from '@mastra/core/stream';
|
|
4
4
|
/**
|
|
5
5
|
* Separator used to encode both runId and toolCallId into a single approvalId string.
|
package/dist/index.cjs
CHANGED
|
@@ -24,6 +24,8 @@ let zod_v4 = require("zod/v4");
|
|
|
24
24
|
zod_v4 = __toESM(zod_v4, 1);
|
|
25
25
|
let zod_v3 = require("zod/v3");
|
|
26
26
|
let zod_v4_core = require("zod/v4/core");
|
|
27
|
+
let zod_v4_locales_en_js = require("zod/v4/locales/en.js");
|
|
28
|
+
zod_v4_locales_en_js = __toESM(zod_v4_locales_en_js, 1);
|
|
27
29
|
let _mastra_core_memory = require("@mastra/core/memory");
|
|
28
30
|
let _mastra_core_request_context = require("@mastra/core/request-context");
|
|
29
31
|
let _mastra_core_server = require("@mastra/core/server");
|
|
@@ -32,7 +34,7 @@ let stream_web = require("stream/web");
|
|
|
32
34
|
let _mastra_core_agent = require("@mastra/core/agent");
|
|
33
35
|
let _mastra_core_di = require("@mastra/core/di");
|
|
34
36
|
let _mastra_core_processors = require("@mastra/core/processors");
|
|
35
|
-
// ../../packages/_vendored/ai_v5/dist/dist-
|
|
37
|
+
// ../../packages/_vendored/ai_v5/dist/dist-DIfsHMRS.js
|
|
36
38
|
var marker$1$4 = "vercel.ai.error";
|
|
37
39
|
var symbol$1$4 = Symbol.for(marker$1$4);
|
|
38
40
|
var _a$1$4;
|
|
@@ -3281,7 +3283,7 @@ function createUIMessageStream$2({ execute, onError = () => "An error occurred."
|
|
|
3281
3283
|
getOutcome: () => outcome
|
|
3282
3284
|
});
|
|
3283
3285
|
}
|
|
3284
|
-
// ../../packages/_vendored/ai_v6/dist/dist-
|
|
3286
|
+
// ../../packages/_vendored/ai_v6/dist/dist-BoOIE3nE.js
|
|
3285
3287
|
var marker$1$2 = "vercel.ai.error";
|
|
3286
3288
|
var symbol$1$2 = Symbol.for(marker$1$2);
|
|
3287
3289
|
var _a$1;
|
|
@@ -6972,13 +6974,13 @@ var doWrap = ({ model, middleware: { transformParams, wrapGenerate, wrapStream,
|
|
|
6972
6974
|
}
|
|
6973
6975
|
};
|
|
6974
6976
|
};
|
|
6975
|
-
// ../../packages/_vendored/ai_v7/dist/dist-
|
|
6977
|
+
// ../../packages/_vendored/ai_v7/dist/dist-C-C3A1Ts.js
|
|
6976
6978
|
/**
|
|
6977
6979
|
* Symbol used for identifying AI SDK Error instances.
|
|
6978
6980
|
* Enables checking if an error is an instance of AISDKError across package versions.
|
|
6979
6981
|
*/
|
|
6980
|
-
const marker$
|
|
6981
|
-
const symbol$
|
|
6982
|
+
const marker$18 = "vercel.ai.error";
|
|
6983
|
+
const symbol$18 = Symbol.for(marker$18);
|
|
6982
6984
|
/**
|
|
6983
6985
|
* Custom error class for AI SDK related errors.
|
|
6984
6986
|
* @extends Error
|
|
@@ -6994,7 +6996,7 @@ var AISDKError = class AISDKError extends Error {
|
|
|
6994
6996
|
*/
|
|
6995
6997
|
constructor({ name, message, cause }) {
|
|
6996
6998
|
super(message);
|
|
6997
|
-
this[symbol$
|
|
6999
|
+
this[symbol$18] = true;
|
|
6998
7000
|
this.name = name;
|
|
6999
7001
|
this.cause = cause;
|
|
7000
7002
|
}
|
|
@@ -7004,7 +7006,7 @@ var AISDKError = class AISDKError extends Error {
|
|
|
7004
7006
|
* @returns {boolean} True if the error is an AI SDK Error, false otherwise.
|
|
7005
7007
|
*/
|
|
7006
7008
|
static isInstance(error) {
|
|
7007
|
-
return AISDKError.hasMarker(error, marker$
|
|
7009
|
+
return AISDKError.hasMarker(error, marker$18);
|
|
7008
7010
|
}
|
|
7009
7011
|
static hasMarker(error, marker) {
|
|
7010
7012
|
const markerSymbol = Symbol.for(marker);
|
|
@@ -8147,6 +8149,7 @@ function zod3Schema(zodSchema, options) {
|
|
|
8147
8149
|
} });
|
|
8148
8150
|
}
|
|
8149
8151
|
function zod4Schema(zodSchema, options) {
|
|
8152
|
+
if (!(0, zod_v4_core.config)().localeError) (0, zod_v4_core.config)((0, zod_v4_locales_en_js.default)());
|
|
8150
8153
|
const useReferences = options?.useReferences ?? false;
|
|
8151
8154
|
return jsonSchema(() => addAdditionalPropertiesToJsonSchema((0, zod_v4_core.toJSONSchema)(zodSchema, {
|
|
8152
8155
|
target: "draft-7",
|
|
@@ -13532,5 +13535,3 @@ exports.withMastra = withMastra;
|
|
|
13532
13535
|
exports.withSseHeartbeat = withSseHeartbeat;
|
|
13533
13536
|
exports.workflowRoute = workflowRoute;
|
|
13534
13537
|
exports.workflowSnapshotToStream = workflowSnapshotToStream;
|
|
13535
|
-
|
|
13536
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as z4 from "zod/v4";
|
|
2
2
|
import { array, boolean, custom, discriminatedUnion, enum as enum$1, instanceof as instanceof$1, lazy, literal, looseObject, never, null as null$1, number, object, record, safeParseAsync, string, union, unknown, z } from "zod/v4";
|
|
3
3
|
import { ZodFirstPartyTypeKind } from "zod/v3";
|
|
4
|
-
import { toJSONSchema } from "zod/v4/core";
|
|
4
|
+
import { config, toJSONSchema } from "zod/v4/core";
|
|
5
|
+
import en from "zod/v4/locales/en.js";
|
|
5
6
|
import { MastraMemory } from "@mastra/core/memory";
|
|
6
7
|
import { MASTRA_RESOURCE_ID_KEY, MASTRA_THREAD_ID_KEY, RequestContext } from "@mastra/core/request-context";
|
|
7
8
|
import { registerApiRoute } from "@mastra/core/server";
|
|
@@ -10,7 +11,7 @@ import { ReadableStream as ReadableStream$1, TransformStream as TransformStream$
|
|
|
10
11
|
import { MessageList, TripWire, aiV5ModelMessageToV2PromptMessage } from "@mastra/core/agent";
|
|
11
12
|
import { RequestContext as RequestContext$1 } from "@mastra/core/di";
|
|
12
13
|
import { MessageHistory, SemanticRecall, WorkingMemory } from "@mastra/core/processors";
|
|
13
|
-
// ../../packages/_vendored/ai_v5/dist/dist-
|
|
14
|
+
// ../../packages/_vendored/ai_v5/dist/dist-DIfsHMRS.js
|
|
14
15
|
var marker$1$4 = "vercel.ai.error";
|
|
15
16
|
var symbol$1$4 = Symbol.for(marker$1$4);
|
|
16
17
|
var _a$1$4;
|
|
@@ -3259,7 +3260,7 @@ function createUIMessageStream$2({ execute, onError = () => "An error occurred."
|
|
|
3259
3260
|
getOutcome: () => outcome
|
|
3260
3261
|
});
|
|
3261
3262
|
}
|
|
3262
|
-
// ../../packages/_vendored/ai_v6/dist/dist-
|
|
3263
|
+
// ../../packages/_vendored/ai_v6/dist/dist-BoOIE3nE.js
|
|
3263
3264
|
var marker$1$2 = "vercel.ai.error";
|
|
3264
3265
|
var symbol$1$2 = Symbol.for(marker$1$2);
|
|
3265
3266
|
var _a$1;
|
|
@@ -6950,13 +6951,13 @@ var doWrap = ({ model, middleware: { transformParams, wrapGenerate, wrapStream,
|
|
|
6950
6951
|
}
|
|
6951
6952
|
};
|
|
6952
6953
|
};
|
|
6953
|
-
// ../../packages/_vendored/ai_v7/dist/dist-
|
|
6954
|
+
// ../../packages/_vendored/ai_v7/dist/dist-C-C3A1Ts.js
|
|
6954
6955
|
/**
|
|
6955
6956
|
* Symbol used for identifying AI SDK Error instances.
|
|
6956
6957
|
* Enables checking if an error is an instance of AISDKError across package versions.
|
|
6957
6958
|
*/
|
|
6958
|
-
const marker$
|
|
6959
|
-
const symbol$
|
|
6959
|
+
const marker$18 = "vercel.ai.error";
|
|
6960
|
+
const symbol$18 = Symbol.for(marker$18);
|
|
6960
6961
|
/**
|
|
6961
6962
|
* Custom error class for AI SDK related errors.
|
|
6962
6963
|
* @extends Error
|
|
@@ -6972,7 +6973,7 @@ var AISDKError = class AISDKError extends Error {
|
|
|
6972
6973
|
*/
|
|
6973
6974
|
constructor({ name, message, cause }) {
|
|
6974
6975
|
super(message);
|
|
6975
|
-
this[symbol$
|
|
6976
|
+
this[symbol$18] = true;
|
|
6976
6977
|
this.name = name;
|
|
6977
6978
|
this.cause = cause;
|
|
6978
6979
|
}
|
|
@@ -6982,7 +6983,7 @@ var AISDKError = class AISDKError extends Error {
|
|
|
6982
6983
|
* @returns {boolean} True if the error is an AI SDK Error, false otherwise.
|
|
6983
6984
|
*/
|
|
6984
6985
|
static isInstance(error) {
|
|
6985
|
-
return AISDKError.hasMarker(error, marker$
|
|
6986
|
+
return AISDKError.hasMarker(error, marker$18);
|
|
6986
6987
|
}
|
|
6987
6988
|
static hasMarker(error, marker) {
|
|
6988
6989
|
const markerSymbol = Symbol.for(marker);
|
|
@@ -8125,6 +8126,7 @@ function zod3Schema(zodSchema, options) {
|
|
|
8125
8126
|
} });
|
|
8126
8127
|
}
|
|
8127
8128
|
function zod4Schema(zodSchema, options) {
|
|
8129
|
+
if (!config().localeError) config(en());
|
|
8128
8130
|
const useReferences = options?.useReferences ?? false;
|
|
8129
8131
|
return jsonSchema(() => addAdditionalPropertiesToJsonSchema(toJSONSchema(zodSchema, {
|
|
8130
8132
|
target: "draft-7",
|
|
@@ -13497,5 +13499,3 @@ function toAISdkFormat() {
|
|
|
13497
13499
|
throw new Error("toAISdkFormat() has been deprecated. Please use toAISdkStream() instead.\n\nMigration:\n import { toAISdkFormat } from \"@mastra/ai-sdk\";\n // Change to:\n import { toAISdkStream } from \"@mastra/ai-sdk\";\n\nThe function signature remains the same.");
|
|
13498
13500
|
}
|
|
13499
13501
|
export { assertValidHeartbeatMs, chatRoute, handleChatStream, handleNetworkStream, handleWorkflowStream, networkRoute, smoothStream, toAISdkFormat, toAISdkStream, toAISdkV5Stream, withMastra, withSseHeartbeat, workflowRoute, workflowSnapshotToStream };
|
|
13500
|
-
|
|
13501
|
-
//# sourceMappingURL=index.js.map
|
package/dist/middleware.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LanguageModelV2, LanguageModelV2Middleware } from './_types/@ai-sdk_provider@2.0.5/dist/index.js';
|
|
2
|
-
import type { LanguageModelV3 } from './_types/@internal_ai-v6@0.0.
|
|
2
|
+
import type { LanguageModelV3 } from './_types/@internal_ai-v6@0.0.98/dist/index.js';
|
|
3
3
|
import type { MemoryConfig, SemanticRecall as SemanticRecallConfig } from '@mastra/core/memory';
|
|
4
4
|
import type { InputProcessor, OutputProcessor } from '@mastra/core/processors';
|
|
5
5
|
import type { MemoryStorage } from '@mastra/core/storage';
|
package/dist/public-types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { InferUIMessageChunk as InferUIMessageChunkV5, UIMessage as UIMessageV5 } from './_types/@internal_ai-sdk-v5@0.0.
|
|
2
|
-
import type { InferUIMessageChunk as InferUIMessageChunkV6, UIMessage as UIMessageV6 } from './_types/@internal_ai-v6@0.0.
|
|
3
|
-
import type { InferUIMessageChunk as InferUIMessageChunkV7, UIMessage as UIMessageV7 } from './_types/@internal_ai-v7@0.0.
|
|
1
|
+
import type { InferUIMessageChunk as InferUIMessageChunkV5, UIMessage as UIMessageV5 } from './_types/@internal_ai-sdk-v5@0.0.98/dist/index.js';
|
|
2
|
+
import type { InferUIMessageChunk as InferUIMessageChunkV6, UIMessage as UIMessageV6 } from './_types/@internal_ai-v6@0.0.98/dist/index.js';
|
|
3
|
+
import type { InferUIMessageChunk as InferUIMessageChunkV7, UIMessage as UIMessageV7 } from './_types/@internal_ai-v7@0.0.98/dist/index.js';
|
|
4
4
|
/**
|
|
5
5
|
* Adds the run's `traceId` to the options an AI SDK `messageMetadata` callback receives, so the callback can put it
|
|
6
6
|
* in message metadata (e.g. `({ part, traceId }) => (part.type === 'start' ? { traceId } : undefined)`).
|
package/dist/transformers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TransformStream } from 'node:stream/web';
|
|
2
|
-
import type { InferUIMessageChunk, UIMessage, UIMessageStreamOptions } from './_types/@internal_ai-sdk-v5@0.0.
|
|
3
|
-
import type { InferUIMessageChunk as InferUIMessageChunkV6, UIMessage as UIMessageV6, UIMessageStreamOptions as UIMessageStreamOptionsV6 } from './_types/@internal_ai-v6@0.0.
|
|
2
|
+
import type { InferUIMessageChunk, UIMessage, UIMessageStreamOptions } from './_types/@internal_ai-sdk-v5@0.0.98/dist/index.js';
|
|
3
|
+
import type { InferUIMessageChunk as InferUIMessageChunkV6, UIMessage as UIMessageV6, UIMessageStreamOptions as UIMessageStreamOptionsV6 } from './_types/@internal_ai-v6@0.0.98/dist/index.js';
|
|
4
4
|
import type { LLMStepResult } from '@mastra/core/agent';
|
|
5
5
|
import type { ChunkType, DataChunkType, NetworkChunkType } from '@mastra/core/stream';
|
|
6
6
|
import type { WorkflowRunStatus, WorkflowStepStatus } from '@mastra/core/workflows';
|
|
@@ -164,7 +164,7 @@ export declare function WorkflowStreamToAISDKTransformer({ includeTextStreamPart
|
|
|
164
164
|
}): TransformStream<ChunkType<any>, ToolAgentChunkType | ToolNetworkChunkType | ToolWorkflowChunkType | WorkflowDataPart | WorkflowStepDataPart | {
|
|
165
165
|
data?: string;
|
|
166
166
|
type?: 'start' | 'finish';
|
|
167
|
-
} | ChunkType | InferUIMessageChunk<UIMessage<unknown, import("./_types/@internal_ai-sdk-v5@0.0.
|
|
167
|
+
} | ChunkType | InferUIMessageChunk<UIMessage<unknown, import("./_types/@internal_ai-sdk-v5@0.0.98/dist/index.js").UIDataTypes, import("./_types/@internal_ai-sdk-v5@0.0.98/dist/index.js").UITools>>>;
|
|
168
168
|
export declare function WorkflowStreamToAISDKV6Transformer({ includeTextStreamParts, sendReasoning, sendSources, }?: {
|
|
169
169
|
includeTextStreamParts?: boolean;
|
|
170
170
|
sendReasoning?: boolean;
|
|
@@ -172,7 +172,7 @@ export declare function WorkflowStreamToAISDKV6Transformer({ includeTextStreamPa
|
|
|
172
172
|
}): TransformStream<ChunkType<any>, ToolAgentChunkType | ToolNetworkChunkType | ToolWorkflowChunkType | WorkflowDataPart | WorkflowStepDataPart | {
|
|
173
173
|
data?: string;
|
|
174
174
|
type?: 'start' | 'finish';
|
|
175
|
-
} | ChunkType | InferUIMessageChunkV6<UIMessageV6<unknown, import("./_types/@internal_ai-v6@0.0.
|
|
175
|
+
} | ChunkType | InferUIMessageChunkV6<UIMessageV6<unknown, import("./_types/@internal_ai-v6@0.0.98/dist/index.js").UIDataTypes, import("./_types/@internal_ai-v6@0.0.98/dist/index.js").UITools>>>;
|
|
176
176
|
export declare function createAgentNetworkToAISDKTransformer<UI_CHUNK>(): TransformStream<NetworkChunkType, UI_CHUNK | DataChunkType | NetworkDataPart | {
|
|
177
177
|
data?: string;
|
|
178
178
|
type?: 'start' | 'finish';
|
|
@@ -180,11 +180,11 @@ export declare function createAgentNetworkToAISDKTransformer<UI_CHUNK>(): Transf
|
|
|
180
180
|
export declare function AgentNetworkToAISDKTransformer(): TransformStream<NetworkChunkType, DataChunkType | NetworkDataPart | {
|
|
181
181
|
data?: string;
|
|
182
182
|
type?: 'start' | 'finish';
|
|
183
|
-
} | InferUIMessageChunk<UIMessage<unknown, import("./_types/@internal_ai-sdk-v5@0.0.
|
|
183
|
+
} | InferUIMessageChunk<UIMessage<unknown, import("./_types/@internal_ai-sdk-v5@0.0.98/dist/index.js").UIDataTypes, import("./_types/@internal_ai-sdk-v5@0.0.98/dist/index.js").UITools>>>;
|
|
184
184
|
export declare function AgentNetworkToAISDKV6Transformer(): TransformStream<NetworkChunkType, DataChunkType | NetworkDataPart | {
|
|
185
185
|
data?: string;
|
|
186
186
|
type?: 'start' | 'finish';
|
|
187
|
-
} | InferUIMessageChunkV6<UIMessageV6<unknown, import("./_types/@internal_ai-v6@0.0.
|
|
187
|
+
} | InferUIMessageChunkV6<UIMessageV6<unknown, import("./_types/@internal_ai-v6@0.0.98/dist/index.js").UIDataTypes, import("./_types/@internal_ai-v6@0.0.98/dist/index.js").UITools>>>;
|
|
188
188
|
export declare function createAgentStreamToAISDKTransformer<OUTPUT>(convertMastraChunkToAISDK: ConvertMastraChunkToAISDK, { lastMessageId, sendStart, sendFinish, sendReasoning, sendSources, messageMetadata, onError, includeSubAgentMetadata, }: {
|
|
189
189
|
lastMessageId?: string;
|
|
190
190
|
sendStart?: boolean;
|
|
@@ -222,7 +222,7 @@ export declare function transformAgent<OUTPUT>(payload: ChunkType<OUTPUT>, buffe
|
|
|
222
222
|
export declare function transformWorkflow<OUTPUT>(payload: ChunkType<OUTPUT>, bufferedWorkflows: Map<string, BufferedWorkflowState>, isNested?: boolean, includeTextStreamParts?: boolean, streamOptions?: {
|
|
223
223
|
sendReasoning?: boolean;
|
|
224
224
|
sendSources?: boolean;
|
|
225
|
-
}, convertMastraChunkToAISDK?: ConvertMastraChunkToAISDK): (ToolAgentChunkType | ToolNetworkChunkType | ToolWorkflowChunkType | InferUIMessageChunk<UIMessage<unknown, import("./_types/@internal_ai-sdk-v5@0.0.
|
|
225
|
+
}, convertMastraChunkToAISDK?: ConvertMastraChunkToAISDK): (ToolAgentChunkType | ToolNetworkChunkType | ToolWorkflowChunkType | InferUIMessageChunk<UIMessage<unknown, import("./_types/@internal_ai-sdk-v5@0.0.98/dist/index.js").UIDataTypes, import("./_types/@internal_ai-sdk-v5@0.0.98/dist/index.js").UITools>> | InferUIMessageChunkV6<UIMessageV6<unknown, import("./_types/@internal_ai-v6@0.0.98/dist/index.js").UIDataTypes, import("./_types/@internal_ai-v6@0.0.98/dist/index.js").UITools>> | undefined)[] | DataChunkType | ToolAgentChunkType | ToolNetworkChunkType | ToolWorkflowChunkType | WorkflowDataPart | {
|
|
226
226
|
type: `data-${string}`;
|
|
227
227
|
id?: string;
|
|
228
228
|
data: unknown;
|
|
@@ -236,7 +236,7 @@ export declare function transformWorkflow<OUTPUT>(payload: ChunkType<OUTPUT>, bu
|
|
|
236
236
|
toolName: string;
|
|
237
237
|
input: unknown;
|
|
238
238
|
providerExecuted?: boolean;
|
|
239
|
-
providerMetadata?: import("./_types/@internal_ai-sdk-v5@0.0.
|
|
239
|
+
providerMetadata?: import("./_types/@internal_ai-sdk-v5@0.0.98/dist/index.js").ProviderMetadata;
|
|
240
240
|
dynamic?: boolean;
|
|
241
241
|
} | {
|
|
242
242
|
type: 'tool-input-error';
|
|
@@ -244,7 +244,7 @@ export declare function transformWorkflow<OUTPUT>(payload: ChunkType<OUTPUT>, bu
|
|
|
244
244
|
toolName: string;
|
|
245
245
|
input: unknown;
|
|
246
246
|
providerExecuted?: boolean;
|
|
247
|
-
providerMetadata?: import("./_types/@internal_ai-sdk-v5@0.0.
|
|
247
|
+
providerMetadata?: import("./_types/@internal_ai-sdk-v5@0.0.98/dist/index.js").ProviderMetadata;
|
|
248
248
|
dynamic?: boolean;
|
|
249
249
|
errorText: string;
|
|
250
250
|
} | {
|
|
@@ -280,7 +280,7 @@ export declare function transformWorkflow<OUTPUT>(payload: ChunkType<OUTPUT>, bu
|
|
|
280
280
|
messageMetadata?: unknown;
|
|
281
281
|
} | {
|
|
282
282
|
type: 'finish';
|
|
283
|
-
finishReason?: import("./_types/@internal_ai-sdk-v5@0.0.
|
|
283
|
+
finishReason?: import("./_types/@internal_ai-sdk-v5@0.0.98/dist/index.js").FinishReason;
|
|
284
284
|
messageMetadata?: unknown;
|
|
285
285
|
} | {
|
|
286
286
|
type: 'abort';
|
|
@@ -290,37 +290,37 @@ export declare function transformWorkflow<OUTPUT>(payload: ChunkType<OUTPUT>, bu
|
|
|
290
290
|
} | {
|
|
291
291
|
type: 'text-start';
|
|
292
292
|
id: string;
|
|
293
|
-
providerMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
293
|
+
providerMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").ProviderMetadata;
|
|
294
294
|
} | {
|
|
295
295
|
type: 'text-delta';
|
|
296
296
|
delta: string;
|
|
297
297
|
id: string;
|
|
298
|
-
providerMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
298
|
+
providerMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").ProviderMetadata;
|
|
299
299
|
} | {
|
|
300
300
|
type: 'text-end';
|
|
301
301
|
id: string;
|
|
302
|
-
providerMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
302
|
+
providerMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").ProviderMetadata;
|
|
303
303
|
} | {
|
|
304
304
|
type: 'reasoning-start';
|
|
305
305
|
id: string;
|
|
306
|
-
providerMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
306
|
+
providerMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").ProviderMetadata;
|
|
307
307
|
} | {
|
|
308
308
|
type: 'reasoning-delta';
|
|
309
309
|
id: string;
|
|
310
310
|
delta: string;
|
|
311
|
-
providerMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
311
|
+
providerMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").ProviderMetadata;
|
|
312
312
|
} | {
|
|
313
313
|
type: 'reasoning-end';
|
|
314
314
|
id: string;
|
|
315
|
-
providerMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
315
|
+
providerMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").ProviderMetadata;
|
|
316
316
|
} | {
|
|
317
317
|
type: 'tool-input-available';
|
|
318
318
|
toolCallId: string;
|
|
319
319
|
toolName: string;
|
|
320
320
|
input: unknown;
|
|
321
321
|
providerExecuted?: boolean;
|
|
322
|
-
providerMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
323
|
-
toolMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
322
|
+
providerMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").ProviderMetadata;
|
|
323
|
+
toolMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").JSONObject;
|
|
324
324
|
dynamic?: boolean;
|
|
325
325
|
title?: string;
|
|
326
326
|
} | {
|
|
@@ -329,8 +329,8 @@ export declare function transformWorkflow<OUTPUT>(payload: ChunkType<OUTPUT>, bu
|
|
|
329
329
|
toolName: string;
|
|
330
330
|
input: unknown;
|
|
331
331
|
providerExecuted?: boolean;
|
|
332
|
-
providerMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
333
|
-
toolMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
332
|
+
providerMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").ProviderMetadata;
|
|
333
|
+
toolMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").JSONObject;
|
|
334
334
|
dynamic?: boolean;
|
|
335
335
|
errorText: string;
|
|
336
336
|
title?: string;
|
|
@@ -349,19 +349,19 @@ export declare function transformWorkflow<OUTPUT>(payload: ChunkType<OUTPUT>, bu
|
|
|
349
349
|
sourceId: string;
|
|
350
350
|
url: string;
|
|
351
351
|
title?: string;
|
|
352
|
-
providerMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
352
|
+
providerMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").ProviderMetadata;
|
|
353
353
|
} | {
|
|
354
354
|
type: 'source-document';
|
|
355
355
|
sourceId: string;
|
|
356
356
|
mediaType: string;
|
|
357
357
|
title: string;
|
|
358
358
|
filename?: string;
|
|
359
|
-
providerMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
359
|
+
providerMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").ProviderMetadata;
|
|
360
360
|
} | {
|
|
361
361
|
type: 'file';
|
|
362
362
|
url: string;
|
|
363
363
|
mediaType: string;
|
|
364
|
-
providerMetadata?: import("./_types/@internal_ai-v6@0.0.
|
|
364
|
+
providerMetadata?: import("./_types/@internal_ai-v6@0.0.98/dist/index.js").ProviderMetadata;
|
|
365
365
|
} | readonly [WorkflowDataPart, WorkflowStepDataPart] | null | undefined;
|
|
366
366
|
type TransformNetworkResult = InferUIMessageChunk<UIMessage> | NetworkDataPart | DataChunkType | WorkflowStepDataPart;
|
|
367
367
|
export declare function transformNetwork(payload: NetworkChunkType, bufferedNetworks: Map<string, {
|
package/dist/ui.cjs
CHANGED
package/dist/ui.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/ai-sdk",
|
|
3
|
-
"version": "1.12.0",
|
|
3
|
+
"version": "1.12.1-alpha.0",
|
|
4
4
|
"description": "Adds custom API routes to be compatible with the AI SDK UI parts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist",
|
|
32
|
+
"!dist/**/*.d.*ts.map",
|
|
32
33
|
"./**/*.d.ts"
|
|
33
34
|
],
|
|
34
35
|
"peerDependencies": {
|
|
@@ -47,17 +48,17 @@
|
|
|
47
48
|
"typescript": "^7.0.2",
|
|
48
49
|
"vitest": "5.1.0",
|
|
49
50
|
"zod": "^4.6.7",
|
|
50
|
-
"@internal/ai-sdk-v4": "0.0.
|
|
51
|
-
"@internal/ai-sdk-v5": "0.0.
|
|
52
|
-
"@internal/ai-v6": "0.0.
|
|
53
|
-
"@internal/ai-v7": "0.0.
|
|
54
|
-
"@internal/
|
|
55
|
-
"@internal/
|
|
56
|
-
"@internal/
|
|
57
|
-
"@internal/
|
|
58
|
-
"@mastra/core": "1.
|
|
59
|
-
"@mastra/libsql": "1.
|
|
60
|
-
"@mastra/memory": "1.41.
|
|
51
|
+
"@internal/ai-sdk-v4": "0.0.98",
|
|
52
|
+
"@internal/ai-sdk-v5": "0.0.98",
|
|
53
|
+
"@internal/ai-v6": "0.0.98",
|
|
54
|
+
"@internal/ai-v7": "0.0.98",
|
|
55
|
+
"@internal/lint": "0.0.151",
|
|
56
|
+
"@internal/llm-recorder": "0.0.87",
|
|
57
|
+
"@internal/test-utils": "0.0.87",
|
|
58
|
+
"@internal/types-builder": "0.0.126",
|
|
59
|
+
"@mastra/core": "1.86.0-alpha.6",
|
|
60
|
+
"@mastra/libsql": "1.32.0-alpha.0",
|
|
61
|
+
"@mastra/memory": "1.41.3-alpha.2"
|
|
61
62
|
},
|
|
62
63
|
"keywords": [
|
|
63
64
|
"mastra",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"network.stream.d.ts","sourceRoot":"","sources":["../../../src/__tests__/__fixtures__/network.stream.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAmCzB,WAAW;YACX,YAAY;YACZ,WAAW;YACX,eAAe;YACf,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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