@mastra/ai-sdk 1.4.3 → 1.4.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.
@@ -1,5 +1,5 @@
1
- import type { UIMessageStreamOptions as UIMessageStreamOptionsV5 } from './_types/@internal_ai-sdk-v5/dist/index.js';
2
- import type { UIMessageStreamOptions as UIMessageStreamOptionsV6 } from './_types/@internal_ai-v6/dist/index.js';
1
+ import type { UIMessageStreamOptions as UIMessageStreamOptionsV5 } from './_types/@internal_ai-sdk-v5/dist/index.d.ts';
2
+ import type { UIMessageStreamOptions as UIMessageStreamOptionsV6 } from './_types/@internal_ai-v6/dist/index.d.ts';
3
3
  import type { AgentExecutionOptions } from '@mastra/core/agent';
4
4
  import type { Mastra } from '@mastra/core/mastra';
5
5
  import { registerApiRoute } from '@mastra/core/server';
@@ -1,5 +1,5 @@
1
- import type { InferUIMessageChunk as InferUIMessageChunkV5, UIMessage as UIMessageV5, UIMessageStreamOptions as UIMessageStreamOptionsV5 } from './_types/@internal_ai-sdk-v5/dist/index.js';
2
- import type { UIMessage as UIMessageV6, UIMessageStreamOptions as UIMessageStreamOptionsV6 } from './_types/@internal_ai-v6/dist/index.js';
1
+ import type { InferUIMessageChunk as InferUIMessageChunkV5, UIMessage as UIMessageV5, UIMessageStreamOptions as UIMessageStreamOptionsV5 } from './_types/@internal_ai-sdk-v5/dist/index.d.ts';
2
+ import type { UIMessage as UIMessageV6, UIMessageStreamOptions as UIMessageStreamOptionsV6 } from './_types/@internal_ai-v6/dist/index.d.ts';
3
3
  import type { MastraModelOutput, MastraAgentNetworkStream, WorkflowRunOutput } from '@mastra/core/stream';
4
4
  import type { MastraWorkflowStream, Step, WorkflowResult } from '@mastra/core/workflows';
5
5
  import type { ZodObject, ZodType } from 'zod/v4';
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/dist/index.js';
2
- import type { FinishReason as FinishReasonV6, InferUIMessageChunk as InferUIMessageChunkV6, ToolApprovalRequest, UIMessage as UIMessageV6 } from './_types/@internal_ai-v6/dist/index.js';
1
+ import type { InferUIMessageChunk, ObjectStreamPart, TextStreamPart, ToolSet, UIMessage, FinishReason } from './_types/@internal_ai-sdk-v5/dist/index.d.ts';
2
+ import type { FinishReason as FinishReasonV6, InferUIMessageChunk as InferUIMessageChunkV6, ToolApprovalRequest, UIMessage as UIMessageV6 } from './_types/@internal_ai-v6/dist/index.d.ts';
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
@@ -30,7 +30,7 @@ function _interopNamespace(e) {
30
30
 
31
31
  var z4__namespace = /*#__PURE__*/_interopNamespace(z4);
32
32
 
33
- // ../../packages/_vendored/ai_v5/dist/chunk-TJMMQ5MY.js
33
+ // ../../packages/_vendored/ai_v5/dist/chunk-TQ7JQ3AX.js
34
34
  var marker = "vercel.ai.error";
35
35
  var symbol = Symbol.for(marker);
36
36
  var _a;
@@ -14667,7 +14667,7 @@ function createProcessorMiddleware(options) {
14667
14667
  try {
14668
14668
  await processor.processInput({
14669
14669
  messages: messageList.get.input.db(),
14670
- systemMessages: messageList.getAllSystemMessages(),
14670
+ systemMessages: messageList.getSystemMessages(),
14671
14671
  messageList,
14672
14672
  requestContext,
14673
14673
  abort: (reason) => {