@mastra/server 0.10.2-alpha.5 → 0.10.2-alpha.6
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.
|
@@ -28,6 +28,7 @@ import { Step } from '@mastra/core/workflows';
|
|
|
28
28
|
import { StepExecutionContext } from '@mastra/core/workflows/legacy';
|
|
29
29
|
import { StepGraph } from '@mastra/core/workflows/legacy';
|
|
30
30
|
import { StorageThreadType } from '@mastra/core/memory';
|
|
31
|
+
import { StreamEvent } from '@mastra/core/workflows';
|
|
31
32
|
import { Task } from '@mastra/core/a2a';
|
|
32
33
|
import { TaskAndHistory } from '@mastra/core/a2a';
|
|
33
34
|
import type { TaskContext } from '@mastra/core/a2a';
|
|
@@ -38,7 +39,6 @@ import type { TaskStatus } from '@mastra/core/a2a';
|
|
|
38
39
|
import type { ToolAction } from '@mastra/core/tools';
|
|
39
40
|
import { UIMessage } from 'ai';
|
|
40
41
|
import type { VercelTool } from '@mastra/core/tools';
|
|
41
|
-
import { WatchEvent } from '@mastra/core/workflows';
|
|
42
42
|
import type { Workflow } from '@mastra/core/workflows';
|
|
43
43
|
import { WorkflowContext as WorkflowContext_2 } from '@mastra/core/workflows/legacy';
|
|
44
44
|
import { WorkflowResult } from '@mastra/core/workflows';
|
|
@@ -694,7 +694,7 @@ export declare function streamWorkflowHandler({ mastra, runtimeContext, workflow
|
|
|
694
694
|
runtimeContext?: RuntimeContext_2;
|
|
695
695
|
runtimeContextFromRequest?: Record<string, unknown>;
|
|
696
696
|
}): {
|
|
697
|
-
stream: globalThis.ReadableStream<
|
|
697
|
+
stream: globalThis.ReadableStream<StreamEvent>;
|
|
698
698
|
getWorkflowState: () => Promise<WorkflowResult<ZodType<any, ZodTypeDef, any>, Step<string, any, any, any, any>[]>>;
|
|
699
699
|
};
|
|
700
700
|
|
|
@@ -28,6 +28,7 @@ import { Step } from '@mastra/core/workflows';
|
|
|
28
28
|
import { StepExecutionContext } from '@mastra/core/workflows/legacy';
|
|
29
29
|
import { StepGraph } from '@mastra/core/workflows/legacy';
|
|
30
30
|
import { StorageThreadType } from '@mastra/core/memory';
|
|
31
|
+
import { StreamEvent } from '@mastra/core/workflows';
|
|
31
32
|
import { Task } from '@mastra/core/a2a';
|
|
32
33
|
import { TaskAndHistory } from '@mastra/core/a2a';
|
|
33
34
|
import type { TaskContext } from '@mastra/core/a2a';
|
|
@@ -38,7 +39,6 @@ import type { TaskStatus } from '@mastra/core/a2a';
|
|
|
38
39
|
import type { ToolAction } from '@mastra/core/tools';
|
|
39
40
|
import { UIMessage } from 'ai';
|
|
40
41
|
import type { VercelTool } from '@mastra/core/tools';
|
|
41
|
-
import { WatchEvent } from '@mastra/core/workflows';
|
|
42
42
|
import type { Workflow } from '@mastra/core/workflows';
|
|
43
43
|
import { WorkflowContext as WorkflowContext_2 } from '@mastra/core/workflows/legacy';
|
|
44
44
|
import { WorkflowResult } from '@mastra/core/workflows';
|
|
@@ -694,7 +694,7 @@ export declare function streamWorkflowHandler({ mastra, runtimeContext, workflow
|
|
|
694
694
|
runtimeContext?: RuntimeContext_2;
|
|
695
695
|
runtimeContextFromRequest?: Record<string, unknown>;
|
|
696
696
|
}): {
|
|
697
|
-
stream: globalThis.ReadableStream<
|
|
697
|
+
stream: globalThis.ReadableStream<StreamEvent>;
|
|
698
698
|
getWorkflowState: () => Promise<WorkflowResult<ZodType<any, ZodTypeDef, any>, Step<string, any, any, any, any>[]>>;
|
|
699
699
|
};
|
|
700
700
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "0.10.2-alpha.
|
|
3
|
+
"version": "0.10.2-alpha.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"zod": "^3.24.3",
|
|
62
62
|
"zod-to-json-schema": "^3.24.5",
|
|
63
63
|
"@internal/lint": "0.0.7",
|
|
64
|
-
"@mastra/core": "0.10.2-alpha.
|
|
64
|
+
"@mastra/core": "0.10.2-alpha.6"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "tsup src/index.ts src/server/handlers.ts src/server/handlers/*.ts !src/server/handlers/*.test.ts --format esm,cjs --clean --experimental-dts --treeshake=smallest --splitting",
|